Configuration Help

Hi, I have 3 Riing Plus fans hooked up to a standard controller. I would like to replicate the "Aurora" effect found in the original software (which keeps freezing the animation and fan sensors in the stock program). From what I understand I would have to fade between different preset RGB color sets to achieve this, correct? (The effect smoothly flows between colors like the Aurora Borealis).
If so, it seems as though it has to be done via a schedule trigger?
I cannot seem to figure out a way to program fades between color sets based on time intervals (if this is the best approach).
Additionally, it would be nice to fade the brightness of the whole set between two preset system times. I don't see any options for layering modifiers, correct? Can you please provide some direction for this. Thanks in advance!

I think the default effect is just a WaveEffect with rainbow colors. So you would have to set the Colors list with rainbow colors for 12 leds. Unless you are talking about something different.
The develop build also has a nicer way of specifying colors with a gradient instead of one color per led but that is not documented yet.
There is no way to smoothly transition between different effects, its just instant for now.
If you add one effect that has dim colors with a ScheduleTrigger, and then add another with normal colors with AlwaysTrigger it will work like you want. If the ScheduleTrigger is not enabled it will fall back to the next effect.
So:
"Effects": [
	{
	    "Type": "WaveEffect",
	    "Config": {
	        ...
	        "Trigger": {
	        	"Type": "ScheduleTrigger",
	        	"Config": {
	        		...
	        	}
	        }
	    }
	},
	{
	    "Type": "WaveEffect",
	    "Config": {
	        ...
	        "Trigger": {
	        	"Type": "AlwaysTrigger"
	        }
	    }
	}
]

Thank you for the advice. The effect I was hoping to re-create is shown here:
https://youtu.be/TDPuM56G7to?t=716
Which smoothly transitions between different colors in wide gradients within the individual fans. Even if there was a way to combine the LEDColorGradiant effect with multiple colors like PerLedColorEffect? Then use a 30,60,120s loop timer as the sensor to change between them?
The other effect I was hoping to re-create was the "party" mode, but I haven't found a good way to do that:
https://youtu.be/TDPuM56G7to?t=555
Is this the proper way to configure the schedule trigger to work from 8pm to 7am? (Can't test on my computer at the moment.)
{
"Type": "ScheduleTrigger",
"Config": {
"Scope": "Hour",
"Schedule": "20:00" -> "07:00"
}
}
Thanks again for your work on this, it's a life saver.

Like I said there is no way to smoothly transition between effects, only instant.
You can kinda cheat that effect by specifying more colors that you have leds in WaveEffect and creating a custom device (in Plugins\Devices) and finally setting all ports to use that new device type. More colors will create a smooth gradient and WaveEffect will rotate them (and the fan will only show first 12).
Nice that its doable without a separate effect but I will just add AuroraEffect.
There is no way to create party mode other than writing a new effect from scratch. There is SoundEffect but that works as a simple audio spectrum visualizer (each led responds to a specific audio frequency).
The time schedule cant cross days, but you can specify time from 7am to 8pm and invert it:
{
    "Type": "ScheduleTrigger",
    "Config": {
        "Scope": "Day",
        "Schedule": [
            "07:00 -> 20:00"
        ],
        "Value": false
    }
}

So it will return false (and the next effect will be enabled) when time is between 07:00 and 20:00, otherwise returns true (and enable current effect).

Pushed a build with AuroraEffect, you can download it here.
Defaults:
        {
          "Type": "AuroraEffect",
          "Config": {
            "TickInterval": 1,
            "Length": 64,
            "ColorGenerationMethod": "PerPort",
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
        }

TickInterval changes a frame delay between advancing the gradient, values from 0 and up.
Length length/precision of the gradient, higher values means smoother colors
You can also try changing ColorGenerationMethod to "SpanPorts", it will extend the effect to all of the fans. You might need to reorder them in the profile to get correct transitions from one fan to another.
On the develop branch all effects were updated to LedColorProvider to streamline color configurations so your old config might not work.
Using StaticColorEffect as example:
{
    "Type": "StaticColorEffect",
    "Config": {
        "Color": {
            "Full": [255, 0, 0],
            "PerLed": [
                [255, 0, 0],
                [0, 255, 0],
                [0, 0, 255],
                ...
            ],
            "Gradient": [
                [0.0, [255, 0, 0]],
                [0.5, [0, 255, 0]],
                [1.0, [0, 0, 255]]
            ]
        },
        "Trigger": {
            "Type": "AlwaysTrigger"
        }
    }
},

Only one of "Full", "PerLed", "Gradient" can be used.
This allows to only have one color config property that can be used as Full, PerLed or Gradient type where before you had to had each as a separate property.

Thank you for the quick reply and development of the Aurora effect! I have tried it and it works very well. The SpanPorts feature is fantastic. Your support is much appreciated on this.
I have a couple thoughts on it to make it more accurate to the default effect.
For reference, I took a recording of the above effect:
https://youtu.be/wHy3KloLvPQ
Here is the default TT RGB Plus software Aurora:
https://youtu.be/MaXGlprFkWg
(Hopefully it is visible... it's crazy how easily LEDs blow out the sensor to capture color well)
The main difference with the default effect is that it wraps in both directions instead of 1, creating a smoother gradient. There particularly jarring transition is from the purple to red, then yellow. Wrapping in both directions would help alleviate that. That specific color transition is actually jarring in the default software's Aurora effect too, the red and yellow is extremely short lived. (It would be wonderful to pass in custom colors)
Also I tried a TickInterval of less than "1" and it crashed the app. Ideally it would be nice to have it a good deal slower, perhaps even the ability to make it 10 times slower.

Semi unrelated, I feel like this software is very helpful to lots of people, especially those who cannot work with the default software, yet people seem to get hung up on the setup. Is it okay with you if I make a basic setup video guide for YouTube?

Thanks again!

The main difference with the default effect is that it wraps in both directions instead of 1, creating a smoother gradient. There particularly jarring transition is from the purple to red, then yellow. Wrapping in both directions would help alleviate that.

Sure I'll add that.

That specific color transition is actually jarring in the default software's Aurora effect too, the red and yellow is extremely short lived. (It would be wonderful to pass in custom colors).

You can.
The config for aurora effect accepts a custom led color gradient. If its not configured it generates the default one.
Location is from 0-1.
        {
          "Type": "AuroraEffect",
          "Config": {
            "Gradient": [
                [0.0, [255, 0, 0]],
                [0.5, [0, 255, 0]],
                [1.0, [0, 0, 255]]
            ],
            ...
          }
        }

I think its jarring because the leds have a problem with red colors, the default generated rainbow is a perfectly smooth loop.

Also I tried a TickInterval of less than "1" and it crashed the app.

How did it crash? Do you have logs? It should be fine to set it to 0.

Ideally it would be nice to have it a good deal slower, perhaps even the ability to make it 10 times slower.

You can make it slower by setting TickInterval higher but that will also make it choppy, or by setting Length to a higher number like 100-200.

Pushed some updates. Develop build here.
Sample config:
        {
          "Type": "AuroraEffect",
          "Config": {
            "Step": 0.003,
            "Length": 36,
            "Mirror": true,
            "Brightness": 0.5,
            "Saturation": 0.75,
            "ColorGenerationMethod": "SpanPorts",
            "Trigger": {
              "Type": "AlwaysTrigger"
            }
          }
        }

Step now allows for fine tuning of the speed.
Added global Brightness and Saturation for colors.
Mirror will mirror the colors on both sides.
Tweaked color generation so now red should be a little less jarring.

Awesome! I've tested it and it works perfectly - absolutely love it. Thanks so much again!
This way I'll be able to pass in a huge custom gradient that will let me control brightness and saturation in the animation as well. I'm trying to make one as lively and full of variation as possible.
How did it crash? Do you have logs? It should be fine to set it to 0.
I set tick to 0.5 originally but the step interval will take care of that.
I've run into an issue where the animation suddenly freezes randomly, sometimes it takes 2 min, sometimes it takes an hour to freeze. I believe this could be an issue with my device connection? Since I was experiencing the same issue with the default program.
Then I am unable to stop the service, as it just hangs. Then attempting to uninstall it at this point gives me this error:

I then have to wait a good amount of time (several minutes) until the connection seems to get re-established. Then I am able to start the service once again.
Does this indicate physical connectivity/ controller issues to you? Should I RMA my controller?

I set tick to 0.5 originally but the step interval will take care of that.

Oh, well it can only be set to a whole number so I guess the JSON parser did not like that

I've run into an issue where the animation suddenly freezes randomly, sometimes it takes 2 min, sometimes it takes an hour to freeze. I believe this could be an issue with my device connection? Since I was experiencing the same issue with the default program.

Can you post log file when that happens? It should be in the Logs folder.

Seems like it's the same as any other log file I have. Considering that it happened in both apps, I suspect it's something with my controller. I'll RMA it and see how a new one does.

Try editing TTController.Service.exe.Config file and changing
<logger name="*" minLevel="Info" writeTo="file" enabled="true" />
to
<logger name="*" minLevel="Trace" writeTo="file" enabled="true" />
But dont keep it running for TOO long because there will be a lot of stuff in the logs.
Then post/upload when it freezes.

 There is a 1000ms timeout so this does not happen but maybe there is a problem with the hidlibrary.
I actually just switched to the newer and more performant HidSharp library so you can try this  build.
HidSharp might also provide better errors so its worth a try. If it also hangs or crashes there might be something wrong with the controller or the connection to the motherboard.

So far so good on the new library, haven't run into any freezing issues since I got it and have been running all day. Great timing. Thank you!
I'm setting up scheduling, and perhaps I misunderstood the way to configure multiple effects with a schedule?
`{
"Profiles": [
{
"Name": "Default",
"Ports": [
[9802, 8101, 1],
[9802, 8101, 2],
[9802, 8101, 3]
],
"SpeedControllers": [
{
"Type": "PwmSpeedController",
"Config": {
"CurvePoints": [
[30, 30],
[45, 50],
[55, 60],
[65, 75],
[80, 100]
],
"Sensors": ["/gpu/0/temperature/0"],
"Trigger": {
"Type": "AlwaysTrigger"
}
}
}
],
"Effects": [
{
"Type": "AuroraEffect",
"Config": {
"Gradient": [
[0.0, [220, 0, 0]],
[0.1, [215, 5, 0]],
[0.2, [200, 10, 0]],
[0.3, [140, 80, 0]],
[0.4, [20, 255, 30]],
[0.5, [0, 140, 170]],
[0.6, [0, 80, 200]],
[0.7, [55, 60, 160]],
[0.8, [180, 30, 60]],
[0.9, [200, 2, 4]],
[1.00, [220, 0, 1]]
        ],
        "Step": 0.002,
        "Length": 36,
        "Mirror": true,
        "Brightness": 1,
        "Saturation": 1,
        "ColorGenerationMethod": "SpanPorts",
        "Trigger": {
          "Type": "ScheduleTrigger",
          "Config": {
              "Scope": "Day",
              "Schedule": [
                  "07:00 -> 20:00"
              ],
              "Value": true
          }
        }
      }
    },
    {
        "Type": "SensorEffect",
        "Config": {
          "ColorGradient": [
              [47, [255, 0, 0]],
              [65, [255, 20, 0]],
              [75, [256, 0, 255]]
          ]
            "Sensors": ["/gpu/0/temperature/0"],
            "Trigger": {
                "Type": "AlwaysTrigger"
            }
        }
    }
  ]
}

],
"ComputerStateProfiles": [
{
"StateType": "Shutdown",
"Ports": [
[9802, 8101, 1],
[9802, 8101, 2],
[9802, 8101, 3]
],
"Speed": 65,
"EffectType": "Full",
"EffectColors": [
[128, 0, 0]
]
}
],
"PortConfigs": [
{
"Ports": [[9802, 8101, 1]],
"Config": {
"Name": "Top Fan"
}
}
],
"SensorConfigs": [
{
"Sensors": ["/gpu/0/temperature/0"],
"Config": {
"CriticalValue": 90
}
}
]
}
`
I would like the sensor effect to be active when not in the schedule window, yet it produces an error.
Unrelated - is there a way to bind hotkeys to an effect? It would be handy to have a way to turn the lights off with a keystroke.

I assume it produces an error because you json is not valid. You are missing a comma in SensorEffect config.
You can use https://jsoneditoronline.org to check if your json is valid.

Unrelated - is there a way to bind hotkeys to an effect? It would be handy to have a way to turn the lights off with a keystroke.

No there is no way to do that for now. It was designed to be configure once and forget type of service.

Thanks for the site, I'll be sure to use that. I got the scheduling working for my use case. Two things I noticed.
https://moshimoshi0.github.io/TTController/triggers/scheduletrigger
On this page, it has this in the example:
"Schedule": [
"00:10" -> "00:20",
"00:30" -> "00:40"
]
Yet above it, it has a conflicting syntax of:
List of schedule entries in " -> " format.
The other thing I noticed, setting a start time had no effect in my config. I would assume that my always trigger SensorEffect is on unless it is within the Aurora scheduled window. However, in my testing, the effect only disables after the end time window, but is on before that (regardless of the start time occurring or not). It doesn't matter for my use case but I wanted to point it out in case it is a bug. My now working config:
`{
"Profiles": [
{
"Name": "Default",
"Ports": [
[9802, 8101, 1],
[9802, 8101, 2],
[9802, 8101, 3]
],
"SpeedControllers": [
{
"Type": "PwmSpeedController",
"Config": {
"CurvePoints": [
[30, 30],
[45, 50],
[55, 60],
[65, 80],
[80, 100]
],
"Sensors": ["/gpu/0/temperature/0"],
"Trigger": {
"Type": "AlwaysTrigger"
}
}
}
],
"Effects": [
{
"Type": "AuroraEffect",
"Config": {
"Gradient": [
[0.0, [220, 0, 0]],
[0.1, [215, 5, 0]],
[0.2, [200, 10, 0]],
[0.3, [140, 80, 0]],
[0.4, [20, 255, 30]],
[0.5, [0, 140, 170]],
[0.6, [0, 80, 200]],
[0.7, [55, 60, 160]],
[0.8, [180, 30, 60]],
[0.9, [200, 2, 4]],
[1.00, [220, 0, 1]]
        ],
        "Step": 0.002,
        "Length": 36,
        "Mirror": true,
        "Brightness": 1,
        "Saturation": 1,
        "ColorGenerationMethod": "SpanPorts",
        "Trigger": {
          "Type": "ScheduleTrigger",
          "Config": {
              "Scope": "Day",
              "Schedule": [
                  "00:00 -> 20:30"
              ]
          }
        }
      }
    },
    {
      "Type": "SensorEffect",
      "Config": {
        "Sensors": ["/gpu/0/temperature/0"],
        "ColorGradient": [
          [47, [20, 0, 0]],
          [60, [125, 0, 0]],
          [75, [255, 0, 0]]
        ],
        "Trigger": {
          "Type": "AlwaysTrigger"
        }
      }
    }
  ]
}

],
"ComputerStateProfiles": [
{
"StateType": "Shutdown",
"Ports": [
[9802, 8101, 1],
[9802, 8101, 2],
[9802, 8101, 3]
],
"Speed": 65,
"EffectType": "Full",
"EffectColors": [
[128, 0, 0]
]
}
],
"PortConfigs": [
{
"Ports": [[9802, 8101, 1]],
"Config": {
"Name": "Top Fan"
}
}
],
"SensorConfigs": [
{
"Sensors": ["/gpu/0/temperature/0"],
"Config": {
"CriticalValue": 90
}
}
]
}
`

On this page, it has this in the example:
"Schedule": [
"00:10" -> "00:20",
"00:30" -> "00:40"
]
Yet above it, it has a conflicting syntax of:>
List of schedule entries in " -> " format.

Thanks fixed.

The other thing I noticed, setting a start time had no effect in my config. I would assume that my always trigger SensorEffect is on unless it is within the Aurora scheduled window. However, in my testing, the effect only disables after the end time window, but is on before that (regardless of the start time occurring or not). It doesn't matter for my use case but I wanted to point it out in case it is a bug.

When a trigger returns a true value, the effect that it is configured on will be enabled. ScheduleTrigger returns true value when the current time is within the specified range/ranges.
If you want to invert it (return false when withing range), you have to set the "Value" parameter to false. It is described on the docs. I also described this in one of the first replies here.

Apologies, I mistook a configuration error in my JSON as an issue with the scheduling setup. I have it all sorted now. Thanks again for your help on everything, and thank you for making this software to begin with.


Python print statement/function

Some of the Python code examples show print used as a statement (e.g. print 'foo'), and some examples show it used as a function (e.g. print('foo')).
With the movement to the print function in Python 3, I think it might be good to change all usages to the function version.
Side note: This can already be enforced by adding a from __future__ import print_function.

I don't have any plans to switch to Python3 :-)


API returns outdated sell order

I'm getting an error when trying to buy this asset
https://www.reservoir.market/0x8b82367b242eaa8f5c5fe35bd7d29d16a981f2a0/7
The error also happens when buying directly on the reservoir site
After investigation noticed that the API route returns the wrong Ask data from foundation
https://api.reservoir.tools/orders/asks/v3?token=0x8b82367b242eaa8f5c5fe35bd7d29d16a981f2a0%3A7&includePrivate=false&includeMetadata=false&includeRawData=false&normalizeRoyalties=false&sortBy=createdAt&limit=50
The api returns a 0.5 eth price while in the foundation website, the current price is 2.04
https://foundation.app/@ashten/ngnm/7

Hi, I forwarded this to the Reservoir backend team that works on order ingestion. We revalidated the order you mentioned and everything there should be ok. We're going to investigate a bit more and revalidate orders that were impacted. Thanks for reporting this, closing for now.


[BUG]: Error when update "Center of Excellence - Core Components"

Describe the bug
When we import the lastest version of the starter kit, we get the following error :

Component (please tell us which flow or app you are experiencing issues with):

Solution Center of Excellence - Core Components
Version 1.71.7 update to 1.73

To Reproduce
Steps to reproduce the behavior:

Solution Center of Excellence - Core Components Version 1.71.7 installed
ImportCenterofExcellenceCoreComponents_1_73_managed.zip
Error
2 solutions "Center of Excellence - Core Components"  installed on the environment

Could you try and first upgrade the Governance components solution to the latest version? https://github.com/microsoft/powerapps-tools/raw/master/Administration/CoEStarterKit/Individual Components/CenterofExcellenceAuditComponents_1_28_managed.zip

Could you try and first upgrade the Governance components solution to the latest version? https://github.com/microsoft/powerapps-tools/raw/master/Administration/CoEStarterKit/Individual Components/CenterofExcellenceAuditComponents_1_28_managed.zip

Sorry, but to correct my problem I deleted the "Governance components solution" and then I deleted the old version v1.71.7 of the core components solution.

Sorry, but to correct my problem I deleted the "Governance components solution" and then I deleted the old version v1.71.7 of the core components solution.

I see, did you try upgrading the Governance components first and that failed as well?

I see, did you try upgrading the Governance components first and that failed as well?

New version with this fixed is now live. Thanks for using CoE

New version with this fixed is now live. Thanks for using CoE


Update README.md

the example was improved to mount shared folder inside container from host

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Hi, thanks for the pull.
It looks like the formatting is off here (probably you want the "or" not indented); can you also expand the language to "or, if your container already exists"?
Also, can you sign off your commit? (git commit --amend -s) Thanks!

It still looks a bit funny,
https://github.com/lastranikos/lxd/blob/512aec74a311f4fd808474edfb670f84d9992049/README.md#can-i-bind-mount-my-home-directory-in-a-container

Hi @tych0 and now?

Looks good, I think you still need the signed-off-by line, though.

Oh wow, this branch is a mess :)
Looks like it's been signed-off but is in serious need of a rebase!

Left one comment in-line. Can you fix this, then rebase your branch to just contain one commit that's properly signed-off?
Thanks!


Release version 0.1.0

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

Project coverage is 100.00%. Comparing base (896c807) to head (5bc5d26).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #188   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           35        35
  Lines          787       787
  Branches        26        26
=========================================
  Hits           787       787

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


Feature Request: Support for tokenizers requiring trust_remote_code=True

🚀 Feature Request
Support for custom tokenizers that require trust_remote_code=True (e.g., the Replit tokenizer).
Motivation
Currently, when using a tokenizer that requires trust_remote_code=True, the scripts train.py and convert_composer_to_hf.py fail (see https://github.com/mosaicml/llm-foundry/issues/163, https://github.com/mosaicml/llm-foundry/issues/176) and manual adaptations are necessary to make them work. It would be nice if these things just worked out of the box and a corresponding trust_remote_code option for tokenizers would exist in the config.

Hi, I believe train.py and any other script that uses the build_tokenizer builder will provide the opportunity to set trust_remote_code=True via the YAML.
For example, you would add this as a kwarg in the tokenizer section of the training YAML.
tokenizer:
  name: mosaicml/mpt-7b
  kwargs:
    model_max_length: 2048
    trust_remote_code: true

Admittedly, I am less sure about whether this will solve any problems related to convert_composer_to_hf.py, but the linked issues seemed to suggest that conversion itself was working but the problem occurred when trying to use AutoTokenizer.from_pretrained(...) to build from the model that was uploaded to the HF hub when running the conversion script. Building from custom code uploaded to the HF hub requires allowing for remote code: AutoTokenizer.from_pretrained(..., trust_remote_code=True), but that requirement comes from the transformers package, so we're forced to follow that convention.
Please let me know if this sounds reasonable or if I've misunderstood your feature request.

Hey, thanks for the response. I think my issue description and the issue references might have been a bit misleading in relation to the problem that I was actually encountering.
More concretely, my issue was that for finetuning the Replit Code model, there are some manual steps to be taken care of:

convert_dataset_hf.py: Need to manually edit the file to set trust_remote_code=True when loading the tokenizer. (See also https://github.com/replit/replitLM#1-convert-and-save-your-dataset.)
train.py: Need to manually edit the file to set model.tokenizer = None to avoid an issue with storing checkpoints. (See also https://github.com/replit/replitLM#3-running-training-with-llm-foundry-and-composer.)
convert_composer_to_hf.py: This is basically the same issue as with convert_dataset_hf.py. We need to manually edit the file to set trust_remote_code=True when loading the tokenizer.

It would be nice if these scripts could be used for training the Replit model without any manual edits.

Thanks for clarifying the ask! Points 1 and 3 should be pretty straightforward, but addressing point 2 might be trickier.

I believe this has been resolved for a while. Please feel free to open a new issue if still encountering issues!


Add static_assert to ensure floating point adheres to IEEE 754 (IEC 559)

We have a couple of places were it's more convenient to possibly divide
by 0.f or 0.0 instead of checking. This is fine as long as floating
point computations adhere to IEEE 754, o/w it's undefined behavior. We
add static_assert's to check for this. The asserts are added in all
(known) places where we may divide by 0.0 or 0.f to ensure we still have
the assert when some of the places are changed or removed.
Test: Compiled.
Bug: N/A

@dpallotti and @dimitry- What do you think about handling the floating point divide by zero case like suggested here?


Add first sparsity support

Core

Remove prepare.jl file, add preparation methods to each corresponding file instead
Make prepare_derivative, prepare_gradient and prepare_jacobian rely on prepare_pushforward and prepare_pullback

Tests

Add tests for sparsity

Extensions

Add in-place operator for Tapir
Implement sparse jacobian with high level interface of SparseDiffTools

Codecov Report
Attention: Patch coverage is 89.90826% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 93.76%. Comparing base (50e2a52) to head (8110c7a).

Files
Patch %
Lines

...DifferentiationInterfaceTest/src/tests/sparsity.jl
83.33%
6 Missing :warning:

src/hessian.jl
33.33%
2 Missing :warning:

src/jacobian.jl
85.71%
2 Missing :warning:

src/second_derivative.jl
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
- Coverage   93.94%   93.76%   -0.18%
==========================================
  Files          56       59       +3
  Lines        1733     1828      +95
==========================================
+ Hits         1628     1714      +86
- Misses        105      114       +9

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


TextEdit is not exposing a way to set completion items

Godot 3.2 beta2
TextEdit exposes all sorts of properties about completion and a signal to trigger it, but nothing to actually set which items will be proposed in such completion. In C++ there are several public methods dealing with that, but they are not exposed. Should they be exposed? How can it be scripted otherwise?

I've just found about this, any news or discussion about this feature? Should a proposal be created?

I've just found about this, any news or discussion about this feature? Should a proposal be created?


Docker image can't build

The image name used here contains uppercase letters -SNAPSHOT which is not allowed by fabric8.
https://github.com/PacktPublishing/Spring-5.0-By-Example/blob/d82593ea3e74768f19f085a37f95c81cc9cd9b1c/Chapter07/gateway/pom.xml#L99
Maybe you need to transform it using the build-helper-maven plugin:
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>3.0.0</version>
                <executions>
                    <execution>
                        <id>format-docker-image-name</id>
                        <phase>install</phase>
                        <goals>
                            <goal>regex-property</goal>
                        </goals>
                        <configuration>
                            <name>project.build.finalName.lowercase</name>
                            <value>${project.build.finalName}</value>
                            <regex>^${project.build.finalName}$</regex>
                            <replacement>${project.build.finalName}</replacement>
                            <toLowerCase>true</toLow${project.build.finalName.lowercase}erCase>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

and use project.build.finalName.lowercase in fabric8 plugin
or just use the app name with ${project.artifactId} instead of ${project.build.finalName}

It's is true. If you define project.build.finalName should be ok, the maven will generate the artifact with this tag value but you propose a good solution. Thank you for the proposal.


Cloudwatch alerts

How do you guys configure cloudwatch alerts without Cloudformation config drift?  Right now my plan is to fork the repo and add things to NextStandaloneStack, but is there something you do instead?  I'm trying to get alerts when there are HTTP errors over a certain threshold, for both Next routes and image optimisation.

I see that AWS does not automatically include linked resources in the Cloudformation stack so I can bolt these on.  As long as I don't edit resources created as part of the stack itself, there is no drift.

Hey! Feel free to create your CDK stack from lib/cdk/stack.ts. I would deem alerts to be over the basic configuration so I don't plan to add them to the repository.


fix: private sku sync and delete

这个 PR 实现什么功能/修复什么问题:

私有云套餐同步及删除优化

是否需要 backport 到之前的 release 分支:

release/2.11

/area region
/cc @swordqiu @yousong

Codecov Report

Merging #2198 into master will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2198      +/-   ##
=========================================
+ Coverage    7.06%   7.09%   +0.02%
=========================================
  Files         451     451
  Lines       71090   70812     -278
=========================================
  Hits         5026    5026
+ Misses      65651   65373     -278
  Partials      413     413

Flag
Coverage Δ

#aFlag
7.09% <0%> (+0.02%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/purge.go
0% <ø> (ø)
:arrow_up:

pkg/compute/guestdrivers/openstack.go
7.46% <0%> (-0.12%)
:arrow_down:

pkg/compute/guestdrivers/zstack.go
7.14% <0%> (-0.11%)
:arrow_down:

pkg/compute/models/skus.go
1.36% <0%> (-0.05%)
:arrow_down:

pkg/compute/models/loadbalancercachedacls.go
2.75% <0%> (-0.05%)
:arrow_down:

pkg/compute/models/loadbalanceracls.go
3.94% <0%> (-0.04%)
:arrow_down:

pkg/cloudcommon/db/project_resources.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/ucloud/ufile.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/ucloud/host.go
0% <0%> (ø)
:arrow_up:

pkg/util/influxdb/influxdb.go
0% <0%> (ø)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23a59f3...dc03bcb. Read the comment docs.

/lgtm

/approve


Code snippets in responses are truncated in output

In recent weeks, I'm regularly seeing code snippets in responses truncated in the output.
You can see this is happening when you copy a (often suspiciously incomplete-looking) code snippets and paste it somewhere. Then you can see the output has truncated the snippets.
Check out this screenshot in which I copied the snippet and pasted it into the prompt buffer, so you can see for yourself.

P.S. When you click reload, the code snippet is (often, or always; not sure) no longer truncated, as show here:

Thanks for this. I was able to repro. My guess is something to do with how Prompta handles markdown using the custom CodeBlock component.


Overlapping method route on routes that should not overlap

I'm using utoipa with the axum integration, and I have two routes, with path macros like this:
/// Get a player by ID
#[utoipa::path(
    method(get),
    path = "/{id}",
    params(
        ("id" = i32, Path, description = "ID of player to get"),
    ),
    responses( ... )
)]

/// Get the player that is currently logged in
#[utoipa::path(
    method(get),
    path = "/self",
    responses( ... )
)]

I add these routes to my router like this:
pub fn routes() -> OpenApiRouter<AppState> {
    OpenApiRouter::new()
        .routes(routes!(get_player, get_self))
}

At runtime, it panics with this error message:
thread 'main' panicked at src/api/players.rs:21:17:
Overlapping method route. Cannot add two method routes that both handle `GET`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The methods shouldn't overlap though, since they have different paths, which should work according to the example in the docs of the routes! macro.
This workaround seems to fix it, though:
pub fn routes() -> OpenApiRouter<AppState> {
    OpenApiRouter::new()
        .routes(routes!(get_player)).routes(routes!(get_self))
}

What could be causing this?

Thank you and sorry for wasting your time, I don't know how I missed that... probably should have slept more lol

Anytime :slightly_smiling_face:


https://submarine.apache.org/ should not show the master branch documentation?

I see that https://submarine.apache.org/ is showing the documentation of the previous version (0.6),
the slack information in the 0.6 documentation is wrong（https://submarine.apache.org/docs/community/README/）,
and the master branch doc is correct（https://submarine.apache.org/docs/next/community/README/#communicating）.
So, should I show the master branch documentation?

I think we should update 0.6.0 docs. we should show stable documentation for users.


500 during staff members search

What are you trying to achieve?
I want to search staff member by name on https://v314.staging.saleor.cloud/dashboard/
Steps to reproduce the problem

Go to staff members
In search type 'marcin'
As a result I am getting Test Test user and 500

Video:
https://watch.screencastify.com/v/UU0BdDSuCP1rdgPXofUD
Request URL: https://v314.staging.saleor.cloud/thumbnail/VXNlcjo2MjUyNzdiZS1jNzZiLTRhZTUtOGQ3OC05Njk5ZTk0OTA0MTg=/128/

Additionaly when I am looking for someone else who is in the list, the results are empty

What did you expect to happen?
I expect to have w working search
Logs
In attachments
Environment
Saleor version: …
dashboard 3.14-58069c9
core v3.14.7
OS and version: …13.4.1

Thread with some more context.

This should be resolved by now, there were problems with Celery on this env.


OAK-10149: Rebase may be expensive with many siblings

oak-pojosr failure looks unrelated to this change.


RSA/ECB/OAEPWithSHA-256AndMGF1Padding

please help me
i have string public key like this :
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxB6yO278INXCCq3ejro0o9zTfoAqerp9MIX9EbLmzQHu+386VaqEzJIg3cwO1WpIh+14VkG6Caxepqi7M+YCysuX7YlZnsSnt2zOEFdlS/LCjtoiDkuJt6Z+i5+Rdi4/Xf+UYoBCDvjlSzidjBHvPJnEmjf4+iNBnk+/jbKVhd+8kODiyoI+jux+w67zCnAOqNntohPc3IKikInP39t1UVRluoNa74bzoL8VRcPJCURXu57/qnV9/B2J9284iAgTzBK9S0UXU5TU1K3klg67GevTNgoIyDH4EbioLayGojOIbBs6ULyT/klKoAQ4jhdqSE3+WSDT55osbYRSoQVqjwIDAQAB
i want to encrypt some string with public key,
any example code to do RSA/ECB/OAEPWithSHA-256AndMGF1Padding in C#?

@cipherboy i just want to convert Java Code to C#,
` public static final String encryptRSA(String str, String key) {
    PublicKey generatePublicKey = generatePublicKey(key);
    Cipher cipher = Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
    cipher.init(1, generatePublicKey);
    Charset UTF_8 = StandardCharsets.UTF_8;

    byte[] bytes = str.getBytes(UTF_8);

    return Base64.encodeToString(cipher.doFinal(bytes), 0);
}

public static final PublicKey generatePublicKey(String str) {
byte[] decode = Base64.decode(str, 0);
    PublicKey generatePublic = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(decode));

    return generatePublic;
}`

this code run in android devices.

@SapiZonk Aha, I see. I think you can just use the BC C# algorithm specifier RSA/None/OAEPWithSHA-256AndMGF1Padding here :-)
See this note in the JDK:
/**
 * RSA cipher implementation. Supports RSA en/decryption and signing/verifying
 * using both PKCS#1 v1.5 and OAEP (v2.2) paddings and without padding (raw RSA).
 * Note that raw RSA is supported mostly for completeness and should only be
 * used in rare cases.
 *
 * Objects should be instantiated by calling Cipher.getInstance() using the
 * following algorithm names:
 *  . "RSA/ECB/PKCS1Padding" (or "RSA") for PKCS#1 v1.5 padding.
 *  . "RSA/ECB/OAEPwith<hash>andMGF1Padding" (or "RSA/ECB/OAEPPadding") for
 *    PKCS#1 v2.2 padding.
 *  . "RSA/ECB/NoPadding" for rsa RSA.
 *
 * We only do one RSA operation per doFinal() call. If the application passes
 * more data via calls to update() or doFinal(), we throw an
 * IllegalBlockSizeException when doFinal() is called (see JCE API spec).
 * Bulk encryption using RSA does not make sense and is not standardized.
 *
 * Note: RSA keys should be at least 512 bits long
 *
 * @since   1.5
 * @author  Andreas Sterbenz
 */

IOW, it is not really doing ECB mode and the ECB mode is a misnomer, and the above BC identifier should suffice. Let me know if you have problems!


Update cache file location to support awscli 1.14+

As described in #1 awscli has change the internal cache file names and is using a sha1 hash of the serialized arguments used to assume the role. Since we're always using the same sts call to generate the session we can recreate the JSON string to derive the hash used in the cache file name.

Ok, so this only works on macos's old 0.9.8 openssl. All other openssls I can find print an output hash prefixed with (stdin)= .

Should be fixable by piping it through cut -d " " -f 2 I guess. Will hack that up when I get some time.


Setup Bungeecord

[21:16:24 INFO]: [Skungee] [Skungee] Severe Error: [ServerSocket couldn't be created on port: 25584]
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] Something went wrong within Skungee.
[21:16:24 INFO]: [Skungee] Please report this error to the developers of Skungee so we can fix this from happening in the future.
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] Report this at https://github.com/TheLimeGlass/Skungee/issues. You can also message one of the Skungee developers.
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] Stack trace:
[21:16:24 INFO]: [Skungee] java.net.BindException: Cannot assign requested address (Bind failed)
[21:16:24 INFO]: [Skungee] at java.net.PlainSocketImpl.socketBind(Native Method)
[21:16:24 INFO]: [Skungee] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
[21:16:24 INFO]: [Skungee] at java.net.ServerSocket.bind(ServerSocket.java:390)
[21:16:24 INFO]: [Skungee] at java.net.ServerSocket.(ServerSocket.java:252)
[21:16:24 INFO]: [Skungee] at me.limeglass.skungee.bungeecord.Skungee.connect(Skungee.java:162)
[21:16:24 INFO]: [Skungee] at me.limeglass.skungee.bungeecord.Skungee.onEnable(Skungee.java:124)
[21:16:24 INFO]: [Skungee] at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:300)
[21:16:24 INFO]: [Skungee] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:289)
[21:16:24 INFO]: [Skungee] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
[21:16:24 INFO]: [Skungee] at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] Information:
[21:16:24 INFO]: [Skungee] Skungee: 1.0.15
[21:16:24 INFO]: [Skungee] Bungee: git:Waterfall-Bootstrap:1.16-R0.4-SNAPSHOT:c1ac7d5:377
[21:16:24 INFO]: [Skungee] Game version: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x
[21:16:24 INFO]: [Skungee] Protocol version: 753
[21:16:24 INFO]: [Skungee] Java: 1.8.0_262 (OpenJDK 64-Bit Server VM 25.262-b10)
[21:16:24 INFO]: [Skungee] OS: Linux amd64 5.4.0-48-generic
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] Thread: Thread[main,5,main]
[21:16:24 INFO]: [Skungee] Cause: [ServerSocket couldn't be created on port: 25584]
[21:16:24 INFO]:
[21:16:24 INFO]: [Skungee] End of Error.
Getting this error. The port is open btw.

@RealCalumPlays It seems that much is still broke with the issues being reported, but the 2.0.0 version did fix this and has no errors connecting.

Duplicate of #200


Angle coding suggestion

var data = [[x,α], [y,β], [z,γ]]; // as in the picture

data.sort(function(a,b){return a[0]-b[0]});
data.push(data[0]); // ensure the angle from z to x is handled correctly

/* This finds the size of the free angle between blobs i and i+1. First
    compute the angle between the vector and then subtract the blob
    angle sizes (half for each). This can be negative when two blobs are
    close to each other and too fat. */
var getFreeAngle = function(i) {
  return (data[i+1][0] - data[i][0]).mod(2*Math.PI)
              - data[i][1] / 2 - data[i+1][1] / 2;
}

// find the largest free angle
var I = 0;
for (var i = 1; i < data.length - 1; ++i)
  if (getFreeAngle(i) > getFreeAngle(I))
    I = i;

// this is the direction we want to go in
var direction = (data[I][0] + data[I][1] / 2 +
                                    getFreeAngle(I) / 2).mod(2*Math.PI);

In the end, I went with a list based angle merging algorithm.


refactor: upgrade examples to release 2.0

We want to know how examples will run with Jina 2.0.
The following tasks should be finished for each of them:

Use Jina 2.0 interface
C&P Executors from Hub and adopt to new Executor base class
Adopt Readme according to the Example Template #518
Add comments to YAML files to make them better understandable #445

Examples to be updated:

[ ] wikipedia-sentences #619
[ ] pokedex
[ ] cross-modal
[ ] multires-lyrics

We might continue with more afterwards.

As discussed in meeting today, I'd recommend merging these uni-modal (mono-modal?) examples into pokedex, and possibly renaming the example to "image/audio/video search" or similar:

audio search
tumblr gif search

Also, if we can get a decent metadata-heavy text dataset with good chunkability and searchability, we could look at merging the text-based examples (wikipedia-*, multires-lyrics) in future

Might also be good to rename 'wikipedia-sentences' to plain old 'text-search'. Makes it more google-able, and if/when we change the dataset we can retain the old URL

Who can handle that @nan-wang ? I might have some capacity today to get started

Do we have a list somewhere of

what we're updating?
what we're merging?
what we're deleting?

If not, I'll create a table in this thread and we can discuss
@nan-wang

I share the same view with @alexcg1, we need to rename it just example-audio-search, example-video-search, example-text-search. As we are moving to 2.0, I suggest pushing the proposal we had before that we should split the examples into separated repos.

I suggest we wait until all other example work is finished before doing this. If we change names mid-stream people are going to have a nightmare properly merging

I will take on the multi-modal-pdf @nan-wang

@alexcg1 @nan-wang @theUnkownName  updated the ticket with some tasks from the meeting

@nan-wang @CatStark @florian-hoenicke Some of these examples have been upgraded on an older version of jina2.0. We should use hub executors in all examples and update all of them to the latest jina version. Do you agree?

I really like the idea of using Hub Executors - many folks learn Jina by adapting the examples, so if Hub is baked in then they'll keep using Hub stuff (except for when they need to build their own Executors, which they can then push to Hub :smile: )

We should use hub executors in all examples and update all of them to the latest jina version. Do you agree?

Sure, let's do it.


Euler Finance QA (Ethereum) Schema Version 1.2.1 Subgraph Version 1.0.2 Methodology Version 1.0.0

Main issues:

Failing to index after Block 14,626,899 (around May 2022).
Pool level data not loading in validation dashboard.
dailySupplySideRevenueUSD, dailyProtocolSideRevenueUSD, dailyTotalRevenueUSD off by ~30% compared to TokenTerminal (but this might be fine and due to small methodology issues).

Otherwise looks good!
Evidence: https://docs.google.com/spreadsheets/d/1Httg8DA9JRk-v77CtVb5qG2erKbCXA6G/edit?usp=sharing&ouid=117022469384251277944&rtpof=true&sd=true

A new version has been made, but still waiting to index: https://thegraph.com/hosted-service/subgraph/hboisselle/messari-euler-debug?selected=logs

New version looks good, closing it out


WarpAffine.lesson.tar.gz download failed

Try to copy the url to your browser and enter to download.
http://zifuture.com:1000/fs/25.shared/warpaffine.lesson.tar.gz

@shouxieai also failed

无法下载

Try to copy the url to your browser and enter to download. http://zifuture.com:1000/fs/25.shared/warpaffine.lesson.tar.gz

同样是无法下载


Update sp_serveroption procedure to ignore trailing spaces in name arguments

Description
In sp_serveroption procedure, trailing spaces in @server, @optname and @optvalue arguments need to be ignored. Leading spaces in @optvalue also need to be ignored. Currently we are not ignoring it.
This PR includes the following changes :

Ignores trailing spaces in @server, @optname, @optvalue arguments
Ignores leading spaces in @optvalue parameter
Updates error message when the @optname is invalid

Issues Resolved
BABEL-3730
Test Scenarios Covered

Use case based - Yes

Boundary conditions - N/A

Arbitrary inputs - N/A

Negative test cases - Yes

Minor version upgrade tests - N/A

Major version upgrade tests - N/A

Performance tests - N/A

Tooling impact - N/A

Client tests - N/A

Check List

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

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Approved.


Allow filtering absolute paths

Before, the restorer called the filter function with a relative path, this prevented anchoring absolute patterns (which just never matched). Now call the restore function with an absolute virtual path, starting at the filepath separator.
Closes #834
Closes #374

Codecov Report

Merging #835 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #835   +/-   ##
=======================================
  Coverage   53.27%   53.27%
=======================================
  Files          92       92
  Lines        7502     7502
=======================================
  Hits         3997     3997
  Misses       2910     2910
  Partials      595      595

Impacted Files
Coverage Δ

src/restic/restorer.go
0% <0%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f5e9e9...7c92994. Read the comment docs.


Mw/publisher detail

 Status Page: Add feed listing to status page

If someone passes an ID that doesn't exist they will get back dummy data and not a clear 404 error, but I don't think we care for this use and this stage?


Grafana Tempo

Project: https://grafana.com/oss/tempo
1⃣ Like this project? Upvote the issue with a 👍 reaction
2⃣ Have you used it before? Add a comment on this issue with your review. The first line must include between 1 and 5 ⭐ emojis, the other lines are free text.
3⃣ Found something out-of-date? Change grafanatempo.json and send us a PR!
Changes may take up to 24 hours to reflect on kubedir.com.
☸

⭐⭐⭐⭐⭐
Very good, I love this service!

⭐⭐⭐⭐⭐
Excelent!


Change deprecated imports for Python 3.8 compat

This changes a number of imports so that mapproxy can be used with Python 3.8.
Amongst others, this handles the removal of deprecated cgi methods: https://bugs.python.org/issue33843

Thanks!


Provide hostid

Motivation
The local node identifier was hard-coded to use the IP address, which does not work as well in some situations.
The nodeIdentifier passed into the postgresql connection manager should be the same type of thing returned from the selected ServiceChecker implementation.
I considered putting this all in the ServiceChecker side of things, but that is not passed around to where the identifier was used, and I didn't want to change the API drastically.

The benchmarks do not compile, as they seem to not be part of the standard build.  I can't seem to make the jar build in a way the benchmarks want, as it requires the jar to be signed.
I wonder if the signing should be part of the final step, that of uploading...

Hey,
Thank you for the PR! This seems like an acceptable balance for where the API is right now. The one thing missing out of this that I'd really like to see is a documentation page documenting how to setup custom node identifiers (and maybe even a few examples of when you would want to override them(?)).
As for actually running the benchmarks, there's no need for you to run them, but if you do want to you can follow the steps in build.yml as CI does (which does not have signing): https://github.com/SecurityInsanity/Coworker/blob/master/.ci/steps/ubuntu/build.yml . The key thing being running: mvn package as opposed to mvn verify/mvn install for the top level package.

The benchmarks do build locally, but they don't seem to be building in your test instance.  I'm not sure why...

The building seems to actually be failing on the End To End test suite (which is another module), that you should be able to test by looking at that build.yml file, or the test.yml file in the same directory.

Everything should be building again.

Let me think about this a bit and see what I can do.  I also disliked using the connection manager as it felt that it was passing info in two different locations without any reason to tie them together.
I generally dislike singletons though, and prefer to inject stuff into the methods that need them, making testing easier.  That said, I could see having that object owned by the CoworkerManager, as from what I can tell it will only be used after .Start() is called on the manager object.
Does that seem fair, to make the hostId an optional argument to the CoworkerManager creation, where configuring the object will be its responsibility?

If you feel it can be easy to pass from CoworkerManager creation to the job (so it can properly "failWork still passing it's id"). Than yeah I think I'm okay with that.
I generally dislike singletons as well, just trying to figure out how best to pass this information through.

OK, I think I've implemented something that feels a bit cleaner.  I decided not to add the nodeIdentifier to the end of the CoworkerManager() creation as the last argument is somewhat complex, and led to strange formatting oddness where it was very easy to add it incorrectly.
I could also be convinced that this should be an argument to Start() instead of a creation-time argument.  I could also be convinced that this should be part of the ServiceChecker and still have it default to the IPv4 address if no checker is used, as I do not feel they would ever really be used independently in practice.

In fact, let me add this as an argument to Start().  I think that's even cleaner.

Sorry this took me a couple days to get back to this! Thank you for writing the documentation, and doing all the work to get this across!


interfaces inferred from JSON files are not updated on file update

When you import a json file and use it or just the type, volar won't refresh the type on json changes.
Example of usage: https://pikax.me/vue-composable/composable/i18n/i18n.html#typescript
Repro:

open the zip
run yarn
on the App.vue  try test. and you should see the available keys for the json
open the test.json and add a new key
Go back to the App.vue and see if the key is there.
If you do the same on main.ts, you will notice that the typescript server will actually gets the new key.

src-vite-json.zip

Fixed in 0.22.13, thanks for the report!

Seem not working for windows.

Should be fixed in 0.22.16.


GraphiQL is having trouble with custom scalars

I defined a few custom scalar types, a Point type for example, to represent GPS coordinates.
It's defined as a GraphQLScalarType and a few verifications are made (we're supposed to get an array of 2 floats, values must be within a certain range, etc).
It works fine, but GraphiQL is complaining about the type being incorrect :

Here's a gist with the custom type: https://gist.github.com/kamek-pf/759835d64ff26511d992
Is this a weakness from GraphiQL or am I doing something wrong ?

I think we just never expected the use of a custom scalar to represent non scalar literal values such as Lists.
GraphiQL currently only allows the scalar value literals int/float/string/boolean to be used for scalar types including custom scalar types.
I think the broader question here is whether or not custom scalars should support non-scalar literals or not.

Reading your comment makes me realize this is probably a bad idea.
It's a nice way to perform validations though.

Closing this since this is obviously not how scalar types were intended to be used. I also ran into some other issues in Relay when composing fragments because of this.
I ended up implementing 2 scalars (latitude and longitude), and a GraphQLObjectType on top of them.
Much better.


Cast to bool only if Argument noValue is true

Hi @ElGigi, what's the purpose of this change? Does it fix some bug?

Any news? Thx

Hi @ElGigi sorry for the delay, I've merged this in b06b9b096f2ac5166ed35ef339697d30ede81481 and it will be released shortly


Entities of mmgg.pet_waterer.wi11 unavailable

Device model / 设备型号
mmgg.pet_waterer.wi11
Component version / 插件版本
1.0.5
HA core version / HA版本
2024.12.4
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
For the past week or so various entities of the mmgg.pet_waterer.wi11 are constantly unavailable. I already tried to uninstall the integration and install it again, reload the configuration, force renew device, customise device but without results.
Entity attributes / 实体属性
device_class: update
model: mmgg.pet_waterer.wi11
did: 467551316
app_link: mihome://device?uid=8204553151&did=467551316
miot_type: urn:miot-spec-v2:device:pet-drinking-fountain:0000A067:mmgg-wi11:1
available: true
updater: none
updated_at:
converters: info, pet_drinking_fountain.on, indicator_light.on, filter.filter_left_time, pet_drinking_fountain.fault, remain_clean_time, no_water_flag.no_water_time, no_water_flag, no_water_flag.pump_block_flag, no_water_flag.lid_up_flag, pet_drinking_fountain.mode, filter.reset_filter_life, remain_clean_time.reset_clean_time
customizes:
binary_sensor_properties: no_water_flag,pump_block_flag,lid_up_flag
button_actions: reset_filter_life,reset_clean_time
sensor_properties: remain_clean_time,fault,filter_left_time,no_water_time
select_properties: mode
interval_seconds: '60'
chunk_properties: '1'

Home Assistant Logs / 系统日志
nothing in the logs

Try master branch
wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

Try master branch
wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

Do I need to delete the devices and uninstall the previous version? Or just overwrite with this? I also have a couple of questions regarding the customizes.

What's the difference between auto-cloud and miot cloud?
What's Check LAN?
What settings do you recommend for a pet feeder and a pet fountain?
is there a way to remove the customisation and revert back to original settings?

thanks

Upgrade to v1.0.6
miot_cloud: Always use cloud, auto_cloud: Use cloud when local connection fails
check_lan: Xiaomi server will cache the last status of the device after the device is powered off. After enabling this option, the device's online status will be confirmed by detecting the local connection.
None

Ok. It works. Though, one entity is still unavailable (indicator_light.on). This is happening both on the pet waterer and pet feeder.

Attributes of info entity.

Attributes of info entity.

Sorry, i don’t understand if you are telling me to check them or if you want me to share them?


Add the attribute "FromGitRepo" and add first version for the .rosinstall generator for ROS1

@ipa-rwu I have added a first version for the rosinstall generator you need. I added a new field to the Package called "FromGitRepo" and if the user defined for a Ros Package this attribute then I add the repo to the .rosinstall file. I have also redefined the attribute "Dependencies" to allow that the user can use that this to define the dependencies of my package that are not released. In other words, see this example:
PackageSet {
	CatkinPackage ur_msgs {
		FromGitRepo "https://github.com/ros-industrial/universal_robot"
	},
	CatkinPackage ur_robot_driver{
		FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver"
		Dependencies { ur_msgs }
		Artifact  ur_robot_driver_node {
		Node { name ur_hardware_interface
		.....
}}

for this example if you add the ur_hardware_interface node to a system, the following .rosinstall file will be auto-generated:
- git: {local-name: Universal_Robots_ROS_Driver, uri: 'https://github.com/UniversalRobots/Universal_Robots_ROS_Driver'}
- git: {local-name: universal_robot, uri: 'https://github.com/ros-industrial/universal_robot'}

See: https://github.com/ipa-nhg/ros-model-examples/commit/3d00d0db038e2ea073a93d1b3b7e1ebdcc9ee80c
@ipa-rwu what do you think? is this a good start point?
The definition of the branches in missed and probably we need to generate another docker file to deal with this .rosinstall file.
From all the changes probably the only part relevant to you is: https://github.com/ipa-nhg/ros-model/blob/422976308b273bcec84f4399f1ec9d58ecb6ce22/plugins/de.fraunhofer.ipa.rossystem.xtext/src/de/fraunhofer/ipa/rossystem/generator/RosInstallCompiler.xtend

@ipa-hsd FYI

Should we follow the rosinstall format and add the version (tag, commit hash or branch) as well?

I think it is a good starting point.

As Harshed said, I also need the branch name, e.g.
- git: {local-name: fmauch_universal_robot, uri: 'https://github.com/fmauch/universal_robot.git', version: calibration_devel}
local-name == repo_name?
Universal_Robots_ROS_Driver needs several dependencies from fmauch/universal_robot. But user only needs to define one of the dependencies, right?

@ipa-rwu says:

local-name == repo_name?

For the Universal_Robots_ROS_Driver example,
# clone fork of the description. This is currently necessary, until the changes are merged upstream.
$ git clone -b calibration_devel https://github.com/fmauch/universal_robot.git src/fmauch_universal_robot

fmauch_universal_robot would be the local name.

Universal_Robots_ROS_Driver needs several dependencies from fmauch/universal_robot.

This should be added in the .rosinstall file which you already mentioned in your 1st point (did I understand that correctly?)

@ipa-rwu says:

local-name == repo_name?

For the Universal_Robots_ROS_Driver example,
# clone fork of the description. This is currently necessary, until the changes are merged upstream.
$ git clone -b calibration_devel https://github.com/fmauch/universal_robot.git src/fmauch_universal_robot

fmauch_universal_robot would be the local name.

Universal_Robots_ROS_Driver needs several dependencies from fmauch/universal_robot.

This should be added in the .rosinstall file which you already mentioned in your 1st point (did I understand that correctly?)

As you show in the rosinstall format, it needs local_name, uri and version.
For local_name, it is the folder name or folder path. In the example from Nadia, local_name is repo name. But the example from you,  local_name was redefined as a custom name.
And version is branch name

@ipa-hsd  @ipa-rwu  Thanks for your comments.
Yes, you are right from the format of a rosinstall file I am missing local-name and version:

for local-name  I decided to just use the name of the repository, for simplification. I think that in the 99% of the cases we all use the name of the repo. If you think this is a relevant point we can add it as an optional attribute. And if not defined then we take the name of the repo by default.
the version (=branch, =commit tag) is missed and needed, I wrote it also on my initial comment. According to the rest of my grammar and for consistency we should have something like:

FromGitRepo { url https://github.com/UniversalRobots/Universal_Robots_ROS_Driver version WhatEver}
But I am not sure if I like it, I was thinking on a single string that we can interpret (obviously we will have to add some help to show the people how to set the branch), for example:
FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver:WhatEver"
or
FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/WhatEver"
what do you think?

@ipa-hsd @ipa-rwu Thanks for your comments.
Yes, you are right from the format of a rosinstall file I am missing local-name and version:

for local-name  I decided to just use the name of the repository, for simplification. I think that in the 99% of the cases we all use the name of the repo. If you think this is a relevant point we can add it as an optional attribute. And if not defined then we take the name of the repo by default.
the version (=branch, =commit tag) is missed and needed, I wrote it also on my initial comment. According to the rest of my grammar and for consistency we should have something like:

FromGitRepo { url https://github.com/UniversalRobots/Universal_Robots_ROS_Driver version WhatEver}
But I am not sure if I like it, I was thinking on a single string that we can interpret (obviously we will have to add some help to show the people how to set the branch), for example:
FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver:WhatEver"
or
FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/WhatEver"
what do you think?

How can we define the branch?

FromGitRepo "https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/WhatEver"

is a bit confusing. I would prefer the 1st option.

@ipa-nhg nice! Could you please change the PR to https://github.com/ipa-nhg/ros-model/tree/rosinstallGenerator

@ipa-rwu nice! Could you please change the PR to https://github.com/ipa-nhg/ros-model/tree/rosinstallGenerator

Done, then I will close this PR


KAFKA-14774 the removed listeners should not be reconfigurable

Users can alter broker configuration to remove specify listeners. However, the removed listeners are NOT removed from reconfigurables list. It can result in the idle processors if users increases the network threads subsequently.
the following screenshot show a example of increasing network thread from 8 to 10, and we still create threads for the removed listener (PLAINTEXT2)

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@showuon @mumrah Could you take a look?

@mimaison thanks for feedback. Have better naming in latest commit.

Nice find @chia7712 , I think we should back-port this to 3.4 branch. WDYT?

I think we should back-port this to 3.4 branch. WDYT?

Will copy that


Flag to mark TextNode as "special"

Some text nodes should be treated specially, such as inline <script> and <style> tags. To prevent mangling them, the TextNode class needs a new flag that can be read and set throughout the pipeline to skip text processing or utilize special logic.

To be clear, this is an internal flag not something exposed to the user.

Done with daafb71851ecfdefc4194ffb1dc73ed59df0f418


Submit button does not submit on all versions of IE

I created a tool based on the form and when I do a submit in IE, I see that it is not submitting. Clicking enter works. It does not log any error to console.
It would be great if you can help in root causing the issue.

@andrewhathaway  I tried running the exampale provided by you, and faced the same issue on it for IE. the submit button doesn't work and it doesnt log any error in the console also
It would be great if you can help in root causing the issue.

@andrewhathaway we also noticed that the issue occurs with 0.14 version of react. It works fine with 0.13.3

Hi @shobhit-suman and @gantir.
This is actually an issue with React v0.14.1. If you look in the changelog here, you'll see that a lot of issues with events not firing in IE due to that issue. That issue has now been fixed in v0.14.2, so please upgrade.
Thanks.


[SPARK-28416][SQL] Use java.time API in timestampAddInterval

What changes were proposed in this pull request?
The DateTimeUtils.timestampAddInterval method was rewritten by using Java 8 time API. To add months and microseconds, I used the plusMonths() and plus() methods of ZonedDateTime. Also the signature of timestampAddInterval() was changed to accept an ZoneId instance instead of TimeZone. Using ZoneId allows to avoid the conversion TimeZone -> ZoneId on every invoke of timestampAddInterval().
How was this patch tested?
By existing test suites DateExpressionsSuite, TypeCoercionSuite and CollectionExpressionsSuite.

Can one of the admins verify this patch?

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/12880/
Test PASSed.

Test build #107758 has started for PR 25173 at commit 9eaffa7.

Test build #107758 has finished for PR 25173 at commit 9eaffa7.

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/107758/
Test PASSed.

Merged to master


Wrong configuration in the document

[The section Configure a JWT validation policy to pre-authorize requests has the wrong configuration. This config never worked.
Look at Microsoft ticket<PHONE_NUMBER>00312  for more info. We ended up configuring the following section with the correct audience from the actual output. Please change {Application ID of backend-app} with the correct detail.

{Application ID of backend-app}

A video on how to do this will be most helpful]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 823eb96f-e5f1-0832-b175-0b31009be92f
Version Independent ID: 330085ae-dcf6-e930-86a8-0e4a60ab1314
Content: Protect an API by using OAuth 2.0 with AAD and API Management - Azure API Management
Content Source: articles/api-management/api-management-howto-protect-backend-with-aad.md
Service: api-management
GitHub Login: @miaojiang
Microsoft Alias: apimpm

Hello @binubk, Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

This issue has been resolved. Thank you for your feedback! #please-close


Issue #52: work-around for new Packer format

Hi!
I'm not saying this is a solid solution for issue #52 , but at least it's a work-around to get Vagrant imports to work again.
I have tested the changes using generic/alma9 and generic/alpine318, while also testing with perk/ubuntu-2204-arm64 which still uses the old Packer format. All three boxes can be imported without errors.
tsluijter@tess-M2 Vagrant % vagrant init generic/alpine318

tsluijter@tess-M2 Vagrant % vagrant up
Bringing machine 'default' up with 'qemu' provider...
==> default: Box 'generic/alpine318' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Loading metadata for box 'generic/alpine318'
    default: URL: https://vagrantcloud.com/api/v2/vagrant/generic/alpine318
==> default: Adding box 'generic/alpine318' (v4.3.12) for provider: libvirt (arm64)
    default: Downloading: https://vagrantcloud.com/generic/boxes/alpine318/versions/4.3.12/providers/libvirt/arm64/vagrant.box
    default: Calculating and comparing box checksum...
==> default: Successfully added box 'generic/alpine318' (v4.3.12) for 'libvirt (arm64)'!
==> default: Checking if box 'generic/alpine318' version '4.3.12' is up to date...
==> default: Importing a QEMU instance
    default: Creating and registering the VM...
    default: Successfully imported VM
...
...
==> default: Machine booted and ready!

tsluijter@tess-M2 Vagrant % find ~/.vagrant.d/boxes/ -name "box*.img"
...
/Users/tsluijter/.vagrant.d/boxes//generic-VAGRANTSLASH-alpine318/4.3.12/arm64/libvirt/box_0.img

Thanks, the v0.3.6 try to support libvirt box v2 format with multiple disks

I can confirm that your version 0.3.6 seems to be working for me.


DestinationRule exportTo does not work when there are multiple destination rules with different subsets and exportTo

Bug Description
Configuration is defined as follow:
Basically there are two destinationRules with identical namespace(default) and host,
with different exportTo, one is foo and another is bar, and different subset:  v1 and v2.
 apiVersion: networking.istio.io/v1alpha3
 kind: DestinationRule
 metadata:
   name: d1
   namespace: default
 spec:
   host: "helloworld.default.svc.cluster.local"
   exportTo: ["foo"]
   subsets:
   - name: v1
     labels:
       version: v1
       app: helloworld
 ---
 apiVersion: networking.istio.io/v1alpha3
 kind: DestinationRule
 metadata:
   name: d2
   namespace: default
 spec:
   host: "helloworld.default.svc.cluster.local"
   exportTo: ["bar"]
   subsets:
   - name: v2
     labels:
       version: v2
       app: `helloworld`
 ---
 apiVersion: v1
 kind: Service
 metadata:
   name: helloworld
   labels:
     app: helloworld
     service: helloworld
 spec:
   ports:
   - port: 5000
     name: http
   selector:
     app: helloworld

Ideally, the proxy on namespace foo should only see subset v1 for cluster helloworld, however it seems like proxy on namespace foo is able to see both subset v1 and v2:
helloworld git:(main) ✗ istioctl proxy-config clusters helloworld-v1-77489ccb5f-t7r7d  -n foo
SERVICE FQDN                                            PORT      SUBSET     DIRECTION     TYPE             DESTINATION RULE
                                                        5000      -          inbound       ORIGINAL_DST
BlackHoleCluster                                        -         -          -             STATIC
InboundPassthroughClusterIpv4                           -         -          -             ORIGINAL_DST
PassthroughCluster                                      -         -          -             ORIGINAL_DST
agent                                                   -         -          -             STATIC
helloworld.default.svc.cluster.local                    5000      -          outbound      EDS              d1.default
helloworld.default.svc.cluster.local                    5000      v1         outbound      EDS              d1.default
helloworld.default.svc.cluster.local                    5000      v2         outbound      EDS              d1.default

I did some investigation on the code base and here is the root cause:
https://github.com/istio/istio/blob/master/pilot/pkg/model/push_context.go#L1766
in this function, we will merge subsets from multiple destination rules with same namespace and same host, while for exportTo, we always take the oldest DR from the merged DR list.
Not sure if it is expected behavior?
Version
$istioctl version
client version: 1.15.0
control plane version: 1.15.0
data plane version: 1.15.0 (5 proxies)

Additional Information
No response
Affected product area

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

The merging logic was implemented very long before, would like to see improve on it


Address accessibility

Per https://github.com/carawarner/pantheon-demo/issues/42

Note: I used wave, a web accessibility tool, to identify some of the issues (contrast, skipped heading level, orphaned labels, inputs without labels).


Stormblessed: Blacklist sonja\Wbakker

Stormblessed requests the blacklist of the keyword sonja\Wbakker. See the MS search here and the Stack Exchange search here.

sonja\Wbakker has been seen in 4 true positives, 0 false positives, and 0 NAAs.

Given that this is a person's name, I'd really prefer to see it on the watchlist first. OTOH, it is close to qualifying for the blacklist.


hi i am having issue with youtube-dl is up-to-date (2018.12.03) on cbs.com

hi i am having issue with youtube-dl is up-to-date (2018.12.03) and i don't know if nobody send this issue to you before and i don't understand how to send you the right way the issue on the here GitHub so i will try to explain it best i can i have windows 10 and i can't download anything from cbs.com i did before but now and after i update to (2018.12.03) i to-date (2018.12.03) can't download anything on cbs.com

Hi how are you I hope didn’t did something wrong but why was it
Closed #18420. Please e mail me back and tell me please see I am disabled. I have Cerebral palsy (CP) and and with my disability I can’t read good I have a hard time  understanding GitHub I don’t understand where to go ask questions for YouTube-dl I don’t what to make no body mad on GitHub Please somebody e mail me
On Wednesday, December 5, 2018, 10:20 PM, Sergey M<EMAIL_ADDRESS>wrote:
Closed #18420.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I mail you I didn’t remember tell my name it Jeff please e me back
Sent from Yahoo Mail for iPhone
On Wednesday, December 5, 2018, 10:20 PM, Sergey M<EMAIL_ADDRESS>wrote:
Closed #18420.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Associations

Hello, dear code reviewer.

In this branch, I've implemented the following:

Divided the code of the decorator file into separate files for each class as suggested in my last code review.
Added new classes (book, classroom, rental).
Added associations between classes as required.

Let me know if there is anything to be changed.
Thank you!

Thank you so much @HAMMAS-SALEEM :100: :+1:


feat: First pass at prettier release notes

These are used in both the version histories and the GitHub release
pages.
This currently assumes that every line in a production code commit
message is a feature/fix/etc. In reality, we'll need to handle
comments like the one on this commit, which are longer - but that
should be reasonably rare, and easily done by hand.
"Chore" commits are discarded, but any other commits with unknown
(or missing) conventional commit types end up in a section of the
history document which prevents ReleaseManager from committing until
it's cleaned up.

cc @bcoe


Deal with transient features

Some features in CHyF are transient - they only exist in a particular version of the database.  This is the case for small streams that may or may not exist to complete the network (?) or move and split in different segments.  Assigning a persistent URI to those feature is an issue because it might not exists in a future iteration.  But we still need them because they might be referred to (my a monitoring station, or by another segment).
Maybe one way to address this would be to use HTTP 301 (moved permanently)  to tell client that the segment (the real feature) does not exist anymore (this means the system will need to keep track of them for a certain time).
Another solution is that we don't create Non-Information Resource (NIR) for transient features and only allow access to non transient representation through a persistent one.  This means we need another kind of     NIR -> IR link .  The only one we support right now is "seeAlso", linking a NIR to a IR.

In the current GSIP demo we have about 20 HUC-12 equivalent watersheds with identifiers that are treated as persistent. We could certainly add immutable identifiers to CHyF for flowpaths or catchments. We prefer not to because of the substantial maintenance implications over the long term. Also, as has been demonstrated, we don't need immutability for navigation purposes. How do we balance the LOD requirements with the desire to keep maintenance requirements low?  If this is what you folks are driving it, that would be really useful. If we could make use of an arbitrary "... lat/lon or CHyF-indexed feature like a gage and a query like "upstream"" that would be great.

@msondheim -- My proposal (that I'll be preparing more formally sooner than later) is that we should consider creating persistent identifiers for "mainstem rivers" (HY_Flowpath) and their associated "total upstream" catchments (HY_Catchment with zero inflows -- commonly called drainage basins) down to some arbitrary drainage area and upstream mainstem selection criteria.
I'll describe the concept stepwise.

start with all outlets to the ocean or terminal sinks that have drainage area > X
select the flowpath from headwater (divide) contributing to each outlet using upstream mainstem selection criteria Y.
select all outlets that contribute to each flowpath with drainage area > X.
repeat 2-3 until no flowpaths with drainage area > X remain.

One potential selection of X would be the minimum size of a HUC12. Y could be "follow previously ID'd / named rivers or maximum drainage area." Noting that once this is run once, you would more or less always follow the ID'd river
This is something that will require more deliberation and is probably beyond the scope of this issue, but I wanted to write it down for your reference in the context of this issue anyways as it is the strategy I think we (the US and Canada) should pursue for multi-scale catchment/flowpath identity persistence.

We have a couple of different issues at play here. One is level of granularity. What we did previously with GSIP was to mimic HUC12 watersheds using boundaries taken from work by the Quebec government. CHyF already calculates Strahler, Horton, and Hack orders, with the latter two using names (where available), upstream lengths, and connectivity – all based on available data. So we could ask for Horton Order > 4 for example to get an initial approximation of important streams and drainages. We could then amalgamate smaller areas together or into larger neighbors, taking into account pour point considerations. What would come out of this would be simply another algorithm for generating HUC like areas at different levels of granularity. As with the current case, we could give these drainage areas persistent identifiers that would be unlikely to change.
The second issue centers on identifiers, and potentially on how manage them over time. CHyF in fact does make use of identifiers, as they are required to make the graph structure. We don’t want to treat them as immutable, with the possibility that people will establish links using them for arbitrary features or events. For that we would recommend that they use (long, lat) coordinates and then services to determine where the features/events are on a traversable network. If an update to the hydrography is carried out, new identifiers are created; we can then regenerate the links and the graph very quickly. From that perspective, the identifiers, even feature existence, might best be considered as transient. Now if we restrict our interests to a closed world that might involve waterbodies, flowpaths, catchments, water wells, hydrographic gauges, and a limited number of other entities, then we could do the following. Make use of the CHyF identifiers and be prepared to reconstitute the set of links from time to time, whenever updates occur within a given drainage area.  I would not call these dynamic links, as they are not continually changing, but they clearly have a life span. They are not necessarily replaced on a one-to-one basis either. One stream complex (e.g., set of braided channels) may be replaced by another.


Limit user status characters count to 100 #394

Fixes #394 .

@syedjahangirpeeran Will the user be able to type more than 100 characters?


ReferenceError: Cannot access 'latest' before initialization

Run<EMAIL_ADDRESS>ReferenceError: Cannot access 'latest' before initialization
    at /home/runner/work/_actions/mihails-strasuns/setup-dlang/v0.4.1/lib/compiler.js:150:87
    at Array.map (<anonymous>)
    at /home/runner/work/_actions/mihails-strasuns/setup-dlang/v0.4.1/lib/compiler.js:147:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/mihails-strasuns/setup-dlang/v0.4.1/lib/compiler.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
##[error]Cannot access 'latest' before initialization
##[error]Node run failed with exit code 1

https://github.com/mihails-strasuns/setup-dlang/blob/66261c5d1256f65ab63b0003e0bcd58def8750ef/lib/compiler.js#L150
@mihails-strasuns : ldc-latest-ci seems broken again, but this error is hiding the real error.

Thanks! Can you make a release?

https://github.com/mihails-strasuns/setup-dlang/releases/tag/v0.5.0

Thanks!


Homepage is very outdated

I assume https://www.openblas.net is for the same project, and that you do not want to have it too misleading.
The changelog linked from there also states at the same old version. And the wiki also linked there with OpenBLAS 0.2.0.
Possibly you want to link to github and just not have version numers and dates in the other places?

Homepage updated now that xianyi has kindly given me write access to it.


🎉 4.0.1

ℹ About this release

Version: 4.0.1
Type: patch
Last Release: 4.0.0 (6/14/2023, 7:15:23 PM) [?]
Commits to merge: 16 [?]

📦 Dependencies

Update ical-generator from ^4.1.0 to ^5.0.0

📦 Development Dependencies

Update @sebbo2002/semantic-release-docker from ^3.0.0 to ^4.0.0
Update @semantic-release/npm from ^10.0.3 to ^10.0.4
Update @types/node from ^20.2.5 to ^20.4.2
Update @typescript-eslint/eslint-plugin from ^5.59.2 to ^5.60.1
Update @typescript-eslint/parser from ^5.59.2 to ^5.60.1
Update c8 from ^7.14.0 to ^8.0.0
Update eslint from ^8.41.0 to ^8.43.0
Update eslint-plugin-jsonc from ^2.8.0 to ^2.9.0
Update tsup from ^6.7.0 to ^7.1.0
Update typedoc from ^0.24.7 to ^0.24.8
Update typescript from ^5.0.4 to ^5.1.5

:tada: This PR is included in version 4.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
Docker container (sebbo2002/fitness-first-ical-proxy:4.0.1)
v4.0.1

Your semantic-release bot :package::rocket:


Add new test case: Download from a helm repo with a secret

New test case: Download from a helm repo with a reference to a secret that has “user” and “password” defined for basic authentication GET request

Basic authentication requires username and password to get access to http or https. I tried with below public websites, but they don't support basic authentication. So I created a Apache server enabling the basic authentication, then put the chart file into it. Below is the steps.
Public website not support basic auth:
1.Bugzilla: didn't found related function
2.Github: didn't support basic auth, refer to https://docs.github.com/en/free-pro-team@latest/rest/overview/other-authentication-methods
3.Google drive : didn't find related function
Steps to create Apache server to enable basic auth:

Install httpd

sudo yum install -y httpd
sudo systemctl start httpd

Put the chart file to below

sudo mkdir /var/www/html/helmreleaseAPItest/

Create user&password file

htpasswd -cm /var/www/html/helmreleaseAPItest/.htpasswd user
New password: (redhat)
Re-type new password:(redhat)
Adding password for user helmreleaseapi-user
ls /var/www/html/helmreleaseAPItest/.htpasswd
/var/www/html/helmreleaseAPItest/.htpasswd
cat /var/www/html/helmreleaseAPItest/.htpasswd
user:$apr1$47XP0iTk$DvQJHkXDE/9I8hE/1.SIX1

Add/Change access config files

ll /var/www/html/helmreleaseAPItest/.htaccess
-rw-r--r--. 1 root root 114 Dec 21 11:19 /var/www/html/helmreleaseAPItest/.htaccess
cat /var/www/html/helmreleaseAPItest/.htaccess
AuthName "Who are you?"
AuthType basic
AuthUserFile /var/www/html/helmreleaseAPItest/.htpasswd
Require valid-user
ll /etc/httpd/conf.d/helm.conf
-rw-r--r--. 1 root root 157 Dec 21 11:18 /etc/httpd/conf.d/helm.conf
cat /etc/httpd/conf.d/helm.conf
Alias /helm/ "/var/www/html/helmreleaseAPItest/"
<Directory /var/www/html/helmreleaseAPItest>
AllowOverride AuthConfig
Require all granted

<Files "helmreleaseAPItest/gbapp-0.1.0.tgz">
AuthName "Who are you?"
AuthType basic
AuthUserFile /var/www/html/helmreleaseAPItest/.htpasswd
Require valid-user

Restart httpd

systemctl restart httpd

Hi @pezhang
Thanks for the PR, everything looks great!
However, in a long term, we might need to find a private chart that host by ACM
team for this test... otherwise, you or us will have to maintain the Http
server for this test, what do you say?

@ianzhang366  I agree with you. It's better we deploy the chart to a fixed ACM server. And set the basic auto for the Apache server as above.
Does ACM team have such a server? Maybe I can help deploy the Apache and chart on this server or VM on this server.

@pezhang
while checking another issue, I saw this,
https://github.com/open-cluster-management/app-ui-e2e-private-helm/tree/master/mychart
basically, they used a private github repo as a private chart. I guess, we can
do the same, what be do you think? If you like the idea, I can help you set up
the private chart. Then you can change your PR a bit...
Let me know what do you think

Due to patch conflicts, and I would prefer to open a new PR to re-send this test case. Close this one.

Due to patch conflicts, and I would prefer to open a new PR to re-send this test case. Close this one.


Rlp decode and verify account data

The biggest issue in this PR was that account data is tightly packed.
If a nonce is small - it takes 1 byte, but if it's bigger - it takes more. This is problematic in Noir with it's const length loops. I've solved it with a new array util that just runs for the max possible length of the field, but discards the inequalities after the value end.
Other than that:

Changed the return type of main to return just the Account without the proof
Made my code constrained even though the merkle proof is still not
Split tests into separate test files as they take a lot of space and impair readability
Switched to using consistent snake_case in Noir (linter, where are you?)
Changes the return types from oracles to be constrained instead of fields

Some issues that popped up:

Can't install a dependency if it has dashes in it's name noir-u2b

I'm still working on fixing solidity tests, but this PR is in a good enough form to take a first look

As discussed over the call - will merge this for now in the current state and will add the changes that convert nonce and balance to arrays in the next PR


The problem of giving up a fixed number of tokens during the inference stage.

Thank you for your contribution.
In the code, the ratio of abandoning tokens is 0.7, 0.7^2，0.7^3.
Is this hyperparameter obtained by repeated experiments.
Because the inference stage directly discards fixed tokens, it is different from the training stage.If it is not set well enough to be consistent with the training, the effect will be very poor.
Is there any better way to set the hyperparameter.
Thank you for your reply.

Hi @MooresS,  we use a ratio loss during training to make sure the model is suitable for the target sparsification ratio (see Eq. 15 in our conference paper). Therefore,  different DynamicViT models will have different optimal rho, and we usually directly use the rho during inference.


Confusion over settings

Not sure if this is StyleCop specific or a more general Roslyn question/issue. I have a solution that uses StyleCop.Analyzers, and the projects are configured to use a ruleset file based on our company's coding standards. One example is SA1101, which is unchecked as we don't want warnings telling us to use the "this." prefix. The ruleset works as expected on my PC.
Another dev has just started working on the same solution, but he is seeing hundreds of warnings for SA1101 (and others). The path to the ruleset file is correct, displayed near the bottom of the project "Code Analysis" tab, and we've confirmed that the rules are correct, via the "Configure" button (e.g. SA1101 is unchecked). So why is VS ignoring the ruleset file on his PC?
In my Solution Explorer window, if I expand References -> Analyzers -> StyleCop.Analyzers (which I assume is just a different view of the same ruleset file?), I can see that SA1101 has a severity of "None", but the other dev sees "Default". Why is this?
Also, the ruleset file on both PCs is read-only - if I try to change a rule I get "access denied", but the other dev can make changes (and setting SA1101 to "None" suppresses those hundreds of warnings). His VS is obviously not updating the ruleset file, but we've noticed that a .editorconfig file appears instead.
What's going on here? Why is the ruleset file working on my PC but ignored on the other dev's? And why, when he modifies any rules, are they being saved to a .editorconfig file rather than the ruleset file?

This is a bug with Roslyn. Can you collect a binlog by passing the /bl argument to msbuild, and submit the resulting issue to https://developercommunity.visualstudio.com/? Feel free to mention me in the report to make sure it gets to me.


MatrixPortal : solution to refresh the clock every second

I have a clock that needs to be updated every second on a first line and a second line that displays scrolling text.
currently the clock is only updated at the end of line 2 scrolling.
I am looking for a solution to refresh the clock every second independently of line 2
i have set the matrix :
<
# Matrix setup
print('Matrix Setup')
matrixportal = MatrixPortal(
    url = URL,
    json_path=FORECAST_TYPE,
    status_neopixel = board.NEOPIXEL,
    debug=True,
)

print('Text Setup')
matrixportal.add_text(
    text_font=terminalio.FONT,
    text_position=(10, 5),
    text_color=0xFF8080
)
matrixportal.add_text(
    text_font=terminalio.FONT,
    text_position=(0, 20),
    text_color=0x3ABCBC,
    scrolling=True
)

and for display :
<
matrixportal.set_text(curtime, 0)
matrixportal.set_text(next_station_in, 1)
matrixportal.scroll_text(SCROLL_DELAY)
time.sleep(0.03)

I could get the clock update every second when using matrix.scroll() but get an issue
File "adafruit_matrixportal/matrixportal.py", line 231, in scroll
AttributeError: 'NoneType' object has no attribute 'x'
<
```
matrixportal.set_text(curtime, 0)
matrixportal.scroll()
matrixportal.set_text(next_station_in, 1)
matrixportal.scroll_text(SCROLL_DELAY)
time.sleep(0.03)
>

I'm pretty sure that's not possible with how it's currently coded. Now that asyncio is working in CircuitPython, this part could be rewritten.

@makermelissa
thanks for these informations. I have practically no asyncio experience, on your side do you have an example how to do it.

Did you ever find an implementation solution? @kabcasa


fix(portal): Only show one icon next to client name and make it match the style of heroicons

Merging to deploy better UX to a customer, we can address feedback in a separate PR.


Add a plugin for QoL with the wiki button

I was thinking of maybe some code that would be able to read the wiki page (since all pages are laid out identically) and it would then format the page onto the sidebar for use
possible features could be:

drop down menus for each subject to organize the subjects, but not crowd the area
-checklists if the topic searched was a quest
if not too OP, a simplistic overlay system to aid the user in the completion of these quests, whether it be direct guidance or general direction

Wouldn't it be easier to just use a browser?

Duplicate of #3038
The quest helper is a duplicate of #5042


Think of API for extension messages / peers

We need an API for listing peer metadata as well as sending extension messages to peers.
I propose something like
PEERS / -> [{id, remotePublicKey, remoteAddress}]

EXTENSION-REGISTER /{extension name in the path} -> text/event-stream

EXTENSION-SEND /{extension name in the path}?peer={optional peer id} {extension data in body -> 200 OK

The PEER method will list the metadata about the peers you're connected with. Maybe there should be something here for filtering peers by which ones have a certain extension? Maybe we could list which extensions peers are registered on too?
The EXTENSION-REGISTER will register an extension message handler if one doesn't exist. It will then start an event source stream and send new events down the wire. This should be used with the EventSource API in browsers. We need to figure out a way to specify which peer an event has come from. Maybe in the message name? Maybe in the lastMessageId?
Lastly, EXTENSION-SEND will send out an extension message. The body will be used as the extension message contents. You can optionally specify a peer's id in the querystring to send to a specific peer (or multiple specific peers), or leave the querystring blank to broadcast to everyone. This is similar to a POST.
How does that sound? I'm mostly iffy about the peer info.
cc @DeltaF1 @calm-rad

Do extension messages work similarly for most protocols?

I don't know if extension messages are a feature of all protocols.
I know that BitTorrent has then and I think they're sent at the torrent-replication layer. hypercore-protocol actually has two layers of extension messages, one at the top level of the protocol, and one that's per hypercore replication channel that's multiplexed over the connection.
I was thinking this's be the hypercore channel extension messages to start.
I don't think IPFS has extension messages because they expect you to use libp2p directly.
Similarly, I don't think EarthStar has extension messages since it's replication seems to be based on HTTP requests.


make timeout a optional parameter for dispatch event

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

What's the use case for adding a timeout to dispatching an event?

@nporter-adbe if an API relies on network request, 1 sec normally is not enough when counting both the latency of network and event hub.


Image compression (Reduce quality/file dimension keeping the same resolution)

Description of the new feature / enhancement
A tool similar to image resize but instead of changing resolution, it will only change compression (my idea is mainly useful for JPEGs)
Scenario when this would be used?
When shooting photos with smartphone I always use maximum quality, but when I transfer them to PC I only need high quality on some of them. The remaining photos do not need to be in high quality and are perhaps only for reference. So it will be very nice to have a tool that doesn't change resolution but only image quality
Supporting information
No response

Sounds very vague, can you explain further how would change their sizes without loosing quality. JPEG itself pretty much does this, keeping quality high enough (both by better and intelligent compression).

Who said without loosing quality?

/dup https://github.com/microsoft/PowerToys/issues/7374