Freeze generated requirements aren't properly formatted for git and local dependencies

I have a project with dependencies installed from github and from local disk.
uv pip freeze > requirements.txt

generates a requirements.txt with lines such as
cutie==1.0.0 (from file:///home/jovyan/clips-labeler/Cutie)
segment-anything==1.0 (from git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588)

I try to install from this requirements.txt
uv pip install -r requirements.txt

and it seems the requirements.txt is not in the right format for these types of dependencies.
error: Couldn't parse requirement in `requirements.txt` at position 250
  Caused by: Trailing `(from file:///home/jovyan/clips-labeler/Cutie)` is not allowed
cutie==1.0.0 (from file:///home/jovyan/clips-labeler/Cutie)

and
error: Couldn't parse requirement in `requirements.txt` at position 1848
  Caused by: Trailing `(from git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588)` is not allowed
segment-anything==1.0 (from git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588)

I can manually modify these lines to use the '@' for uv, but I feel like this should be the default.

Thanks for the report!

Do you know what uv version you're on? This was fixed long ago.

See:

https://github.com/astral-sh/uv/issues/1931
https://github.com/astral-sh/uv/pull/1936

Indeed I was on an older version. You guys are moving so fast you think 3 weeks is a long time!

Thanks so much for following up :)


Fix for #16

The crash in #16 is caused by an unguarded map access. The error is easy to reproduce by removing all delays in gomatrix and let it run for a few seconds.
This PR is tested by running with no delays for hours.

Thanks @abrander  (And sorry for the late merge..)


WhatsApp link generation broken?

First off - love the plugin - this is the first issue I've run across on the newer version.
I've tried the Whatsapp link from a webpage on a desktop in chrome, or on my ipad in safari - neither link works.
In safari I get a popup "Safari cannot open the page because the address is invalid".
If I try the whatsapp link from http://js-socials.com/ - in firefox it errors "The address wasn't understood" and this is in the addressbar whatsapp://send?text=http%3A%2F%2Fjs-socials.com%2F%20Simple%20Social%20Network%20Sharing%20Plugin
Any ideas for a quick patch? Will this even work from a desktop browser?
Thanks!

Thank you for the feedback and the report.
You are right, whatsapp sharing works only on mobile. So it makes sense to show it only for mobile. You could use some device definition code and condition not to add for non-mobile devices (e.g. checkout this one http://stackoverflow.com/questions/7928200/using-modernizr-to-test-for-tablet-and-mobile-opinions-wanted).
This indeed should be fixed for the project site (not sure it's a good idea to put this in the plugin's code).


github-runner: workspace doesn't persist between reboots/service restarts

I hit an issue today where tar wasn't working? I wondered if it had something to do with a new generation I'd deployed or something. I restarted the github-runner-... service which seems to have unstuck it... but...
I noticed that it's taking forever to do it's early git steps, which of course is because one of the things it does is clone nixpkgs. Which, it shouldn't need to do, since it was there previously.
However, I think it's putting the actions workspace under /run/github-runner/.... and it's getting cleaned up on reboots and service restarts.
This seems... over-zealous to me. Is this intentional or a bug?

This is related to the fact that the runner workspace is allocated under /run which also has issues with workspace/free space, since it's usually a tmpfs.


"Hello World" application starts with a black box and errors are logged in the console

Describe the bug
Trying to run "hello world" from the master branch.
To Reproduce
Steps to reproduce the behavior:

Clone master and cd to hello world in the examples folder.
cargo run
The application starts with a black box.
Several of the following errors are logged in the console:

[2023-07-02T04:01:00Z ERROR egui_glow] GL error, at crates/egui_glow/src/painter.rs:284 (FRAMEBUFFER_SRGB): GL_INVALID_ENUM (0x500)

Expected behavior
The hello world program works as expected.
Screenshots
None.
Desktop (please complete the following information):

OS: Parabola
Browser: N/A
Version: N/A

Additional context
My window manager is DWM as my window manager with X as my display server on a Thinkpad T400.

I've tried this in Rust 1.70 and the bug still persists. I cannot run hello_world. It just gives me a black screen.

I am no longer having this issue after installing the proper driver for my Arch linux computer, mesa-amber. Sorry for the confusion which was on my end.

See also https://github.com/servo/servo/issues/30782


Add more translatify

More strings should be outsourced to the config to be translated.

+1

Started to work in branch https://github.com/BanManagement/BanManager-WebUI

.

Thanks, this seems works greatly. Alot of string duplication though.

@Kakifrucht Yeah, kinda true. However I wanted to allow the translation/adjustment of all possible strings. Since they appear at different places, I decided to keep it that "redundant". So you are still able to  translate the first "this is a string" into "Here's a string" and the second "this is a string" maybe into "Here's a string once again".

A bit more work at translation but more customizable. Like

Yeah its fine, I like it.
Thanks alot!

Todo's

[x] Find a way to make uniform JS and PHP translations (JSON file?)
[x] Make sure JS also makes use of the translation strings
[x] Translate viewplayer action
[ ] Translate viewip ...
[ ] ... and firstrun action

Important information: Since I've adjusted the settings.php structure in commit a37abde0b4e59696256b374557cb0af6dd2b0151, you need to make sure you apply the changed array structure in order to make your translation strings work. Otherwise you'll see tons of errors in the web interface. However, since I also plan to rewrite the $settings storage, I'll hold new releases until this is implemented as well. So you only need to "rewrite" your settings.php only once and not several times because of further adjustments.


Add lz4 compression

This patch may cause issues with kafka < 0.10.0 as it doesn't handle "broken" framing.
It should thus only be used with 0.10+.

config.Validate checks for versions < V0_10 and errs if LZ4 is enabled. Will add a message test later today.

@eapache encode / decode test, config check + tests.

Hm, the failed test looks like a false positive to me.

Ya, I've rerun it. Sometimes the broker just doesn't start properly on CI for some reason.

Thanks!


Fix upload of composited scene with non-zero offsets

We weren't correctly offsetting the clips when uploading composited scenes. Now
we apply the proper offsets.

lgtm


ERROR: LoadError: Cannot convert CounterfactualData to series data for plotting

I am trying to follow the tutorial and run into problems. This is the error I get for the first code snippet on the page:
ERROR: LoadError: Cannot convert CounterfactualData to series data for plotting
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] _prepare_series_data(x::CounterfactualData)
    @ RecipesPipeline ~/.julia/packages/RecipesPipeline/BGM3l/src/series.jl:8
  [3] _series_data_vector(x::CounterfactualData, plotattributes::Dict{Symbol, Any})
    @ RecipesPipeline ~/.julia/packages/RecipesPipeline/BGM3l/src/series.jl:36
  [4] macro expansion
    @ ~/.julia/packages/RecipesPipeline/BGM3l/src/series.jl:129 [inlined]
  [5] apply_recipe(plotattributes::AbstractDict{Symbol, Any}, ::Type{RecipesPipeline.SliceIt}, x::Any, y::Any, z::Any)
    @ RecipesPipeline ~/.julia/packages/RecipesBase/BRe07/src/RecipesBase.jl:300
  [6] _process_userrecipes!(plt::Any, plotattributes::Any, args::Any)
    @ RecipesPipeline ~/.julia/packages/RecipesPipeline/BGM3l/src/user_recipe.jl:38
  [7] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any)
    @ RecipesPipeline ~/.julia/packages/RecipesPipeline/BGM3l/src/RecipesPipeline.jl:72
  [8] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any)
    @ Plots ~/.julia/packages/Plots/du2dt/src/plot.jl:223
  [9] plot!(plt::Plots.Plot, args::Any; kw...)
    @ Plots ~/.julia/packages/Plots/du2dt/src/plot.jl:213
 [10] plot!(args::Any; kw...)
    @ Plots ~/.julia/packages/Plots/du2dt/src/plot.jl:202
 [11] scatter!(args::Any; kw...)
    @ Plots ~/.julia/packages/RecipesBase/BRe07/src/RecipesBase.jl:429
 [12] top-level scope
    @ /usr/src/app/script.jl:9
in expression starting at /usr/src/app/script.jl:9

Seems like some sort of binding is missing to the plotting library to support the library specific structs. Do I need additional dependencies or loaded modules? I created a Dockerfile and a script for reproducibility:
FROM julia:rc-bookworm

# Set the working directory
WORKDIR /usr/src/app

# Install required Julia packages
RUN julia -e 'using Pkg; Pkg.add(url="https://github.com/JuliaTrustworthyAI/TaijaData.jl")'
RUN julia -e 'using Pkg; Pkg.add(url="https://github.com/JuliaTrustworthyAI/CounterfactualExplanations.jl")'
RUN julia -e 'using Pkg; Pkg.add("Plots")'

# Copy the Julia script into the container
COPY script.jl .

# Command to run the script
CMD ["julia", "script.jl"]

For completeness, here is the code from script.jl:
using CounterfactualExplanations, TaijaData, Plots

n = 500
data = TaijaData.load_moons(n)
counterfactual_data = CounterfactualExplanations.DataPreprocessing.CounterfactualData(data...)
X = counterfactual_data.X
y = counterfactual_data.y
plt = plot()
scatter!(counterfactual_data)

Best Regards
Felix

Hi Felix, the piece that's missing here is using TaijaPlotting. That part of the code is omitted in the tutorial although it probably shouldn't be. Sorry about this and thanks for flagging. I'll keep this issue open as a reminder to update the docs.


Music Downloader

Is your feature request related to a problem? Please describe.
An Extension Used to Download music from the website like jiosavan
Describe the solution you'd like.
.
Describe alternatives you've considered.
.
Add any other context or screenshots about the feature request here.
No response

@DragonUncaged is it allowed? legally?

@DragonUncaged is it allowed? legally?

No


Too many calls 429 in Auzre App Configuration, how to solve it?

I am seeing lot of occurrences of 429 when bounded context (microservice) is trying to get app config. I have some feature in featuremanager.
I am interested to know more about the process I can troubleshoot this issue. Is there any way I can solve it. I try to debug the code locally. By reducing the cache expiration to 1 seconds, my thought was to make it more calls to configuration so I can see them in logs.
Currently I am not seeing the configuration related logs in Azure app insights. Are there any hints on what can cause 429.
I have lot of assumption in my head regarding 429. Either there are too many pods which is calling the Azure app config at same time so that might cause, might be some E2E tests which is starting app and those start is flooding the Azure app config call.
Here is the implementation which look very normal. Any clue to find the root cause of the issue.
        return builder.AddAzureAppConfiguration(options => connectFunc(options)
            .UseFeatureFlags()
            .ConfigureRefresh(refresh =>
            {
                const string keyPrefix = ".appconfig.featureflag/";
                var featureFlags = //Method to get all features from Enums
                foreach (var featureFlag in featureFlags)
                {
                    refresh
                        .Register(keyPrefix + featureFlag, true);
                }

                if (cacheTime >= 1)
                {
                    refresh
                        .SetCacheExpiration(TimeSpan.FromSeconds(cacheTime));
                }
            }), true);

Hi @anirugu, the first thing I want to clarify about your implementation is that you may not need to call ConfigureRefresh this way, because calling UseFeatureFlags already selects all of the flags with no label, adding them to your configuration and setting their refresh time to 30 seconds by default. You can change that time by changing the FeatureFlagOptions.CacheExpirationInterval value.
Your requests may be getting throttled for one of a few reasons that are outlined in this document. You can also use the link about monitoring at the bottom of that page to check your request quota usage. Let me know if this helps or if you have any more questions.

Hi @anirugu, the first thing I want to clarify about your implementation is that you shouldn't need to call ConfigureRefresh this way, because calling UseFeatureFlags already selects all of the flags with no label, adding them to your configuration and setting their refresh time to 30 seconds by default. You can change that time by changing the FeatureFlagOptions.CacheExpirationInterval value.
Besides these additional requests, it also depends what your cache expiration is normally, as a shorter time can potentially mean more requests to App Configuration depending on your application and how often you trigger a refresh.
You can check the descriptions of your 429 exceptions and reference this document to learn more about why you got them. You can also use the link about monitoring at the bottom of that page to check your request quota usage. Let me know if this helps or if you have any more questions.

Thanks @amerjusupovic for reply.
Setting FeatureFlagOptions.CacheExpirationInterval in UseFeatureFlags looking good. I will try it.
I am also thinking to try using App Configuration Kubernetes Provider https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-azure-kubernetes-service
Will it help reducing traffic to Azure?

It will help since your app does not have to talk to App Configuration directly, just need to refer to the ConfigMap that generated by the Kubernetes Provider.
But currently  Kubernetes Provider does not support Feature Management yet, we are working on rolling out a new version to support it. It will come very soon


Different split_condition in dumped model with same data if input is sparse

Environment info
Operating System: OS X
Compiler: g++-7
Package used (python/R/jvm/C++): Python
xgboost version used: c09204fa70c665ad8c1e265b391847e8bc6e1dc0
If you are using python package, please provide

The python version and distribution: Python 3.6.2
The command to install xgboost if you are not installing from source: pip install -e

Steps to reproduce

Train booster on dense one hot encoded features. booster_dense = xgb.train({'objective':'binary:logistic'}, xgb.DMatrix(x_train_dense, y_train), num_boost_round=10)
Call get_dump(dump_format='json') and look at split decision. All split_condition should be .5.
Train booster on sparse CSR matrix of same OHE features.
Call get_dump(dump_format='json') now all split_conditions are -9.53674e-07, which is a value that doesn't exist in features. All features are either 0 or 1 so this would cause every split to take the no path.

Here is a minimal example that demonstrates the issue https://gist.github.com/volker48/268e1c4cdb220c5c94f750f11ea07e1d

see #2285


Request Ajax for load evenets when change month

Is it possible to make an ajax request to fetch some events from a database and then reload the calendar, when the dates are changed? for example when the month changes in the calendar in all views, an ajax request is made and then the calendar is reloaded.

I hope I can close this issue.


WSL 2.4.x is not showing which is the default distro (Regression)

Windows Version
Microsoft Windows [Version 10.0.26100.2033]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
PS > wsl echo '$WSL_DISTRO_NAME'
MyPengwin
PS > wsl --set-default WLinux
The operation completed successfully.
PS > wsl echo '$WSL_DISTRO_NAME'
WLinux

PS > wsl --list --verbose
  NAME                      STATE           VERSION
  MyPengwin                 Running         2
  WLinux                    Running         2
  docker-desktop            Stopped         2
  docker-desktop-data       Stopped         2
PS > wsl --status
Default Version: 1

Expected Behavior
wsl --list --verbose should show an asterisk next the name of the default distro
wsl --status should say the name of the default distro
Actual Behavior
The default distro does not show neither --list or --status commands
Diagnostic Logs
No response

Fixed with https://github.com/microsoft/WSL/releases/tag/2.4.5.


'api_response' event handler failed - when using createTask

Hi
I have pasted my code below. I am able to "console.log(newTask);" and get a result, however I receive an API_response error when agent.createTask is invoked. Can you please advise where I am going wrong?
Thanks
	connect.agent(function(agent) {

	var queuesARNs = agent.getAllQueueARNs();
	agent.getEndpoints(
	   queuesARNs,
	   {
	      success: function(data) {
	         var endpoints = data.endpoints; // or data.addresses
	          console.log(endpoints[3]);

	          const newTask = {
	            name: "Test task from taskJS", //required, max len: 512
	            description: "N/A", //optional, max len: 4096
	            endpoint: endpoints[3],
	            references: { //optional
	                  "reference name": { // string, max len: 4096
	                    type: "URL", //required, currently only "URL" is supported as a reference type,
	                    value: "https://www.amazon.com" //required, string, max len: 4096
	                  }
	                }
	        };//ends newTask
		console.log(newTask);
	        agent.createTask(newTask, {
	          success: function(data) { console.log("Created a task with contact id: ", data.contactId) },
	          failure: function(err) {console.log("error has occured");}
	        });//ends createTask

	      },//end success

	      failure: function(err) {
	      }

	   }//ends QueueARN
	);// ends agent.getEndpoints
});//ends connect.agent

I was able to create task with almost identical snippet:
`connect.agent(function(agent) {
var queuesARNs = agent.getAllQueueARNs();
agent.getEndpoints(
   queuesARNs,
   {
      success: function(data) {
         var endpoints = data.endpoints; // or data.addresses
          console.log(endpoints);

          const newTask = {
            name: "Test task from taskJS", //required, max len: 512
            description: "N/A", //optional, max len: 4096
            endpoint: endpoints[0],
            references: { //optional
                  "reference name": { // string, max len: 4096
                    type: "URL", //required, currently only "URL" is supported as a reference type,
                    value: "https://www.amazon.com" //required, string, max len: 4096
                  }
                }
        };//ends newTask
	console.log(newTask);
        agent.createTask(newTask, {
          success: function(data) { console.log("Created a task with contact id: ", data.contactId) },
          failure: function(err) {console.log("error has occurred");}
        });//ends createTask

      },//end success

      failure: function(err) {
      }

   }//ends QueueARN
);// ends agent.getEndpoints

});//ends connect.agent`
Please make sure when you referencing endpoints[3], that you do have at least 3 endpoints in array. In my snippet I had only one endpoint, so I used endpoints[0] and it successfully created a task.


Extension Manager not fully visible

I've docked the brackets window to the right side of my screen, but as I tried to open the extension manager it wasn't fully visible:

Duplicate of #10728

Closing as it looks like a duplicate. Please reopen if your problem is different


Cherry-pick of PRs from release-1.0 branch

This PR consists of a few related cherry-picks from the release-1.0 branch. All
cherry-picked PRs were related to the introduction of metrics expiry in the
Prometheus adapter.
All of the code in this PR has been fully-reviewed and should require no further vetting.
Source PRs:

#8035
#8079
#8144

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: douglas-reid
If they are not already assigned, you can assign the PR to them by writing /assign @douglas-reid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS
pkg/OWNERS

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

Friendly Ping.

Ping.

@rshriram @mandarjog any thoughts here? This is important to have in master.

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
466786f027a93077c899f839319a5e49aee77e02
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

FYI @costinm , When we merge cherry pick PRs, we need to do a merge commit. Not a squash and merge. Otherwise, the history of whoever contributed that code is completely lost. To do a merge commit, you have to go to settings, enable merge commit, then merge this PR as a merge commit. And then make sure to disable the merge commit setting. Otherwise, every PR will become a merge commit and that is not good.


Add instructions on replacing the sqlite3 module

This came in very handy for me when I needed to use sqlalchemy (where I cannot change the code). This trick works because import sqlite3 will first look in sys.modules["sqlite3"], meaning we can replace that instance with pysqlite3.

I'm going to pass -- I'm also not sure that is correct because you probably need to set the sqlite3 to pysqlite3.dbapi2...

I’ve been using this for the past month with sqlalchemy without any problems…


feat: allow to run extra clickhouse sql

Description
This PR defines a tutor patch to allow to run extra clickhouse sql commands at startup

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Capture the return value of Fiber.yield via C; ref #5261

Please note that this pull request contains #5272.
The argument of the second mrb_fiber_resume() is not the return value of Fiber.yield, so it will be corrected.
I will post the result of trying with a slightly modified code of #5261.
#include <mruby.h>
#include <mruby/compile.h>
#include <mruby/string.h>
#include <stdio.h>

mrb_state* mrb;

void p(mrb_value value) {
    printf("--> %s\n", mrb_str_to_cstr(mrb, mrb_inspect(mrb, value)));
}

int main() {
    mrb = mrb_open();

    mrb_value fiber_class = mrb_obj_value(mrb_class_get(mrb, "Fiber"));

    mrb_value proc = mrb_load_string(mrb,
        "proc do |a| Fiber.yield(a + 1); end");
                  // ^~~~~~~~~~~~~~~~~~ ❓❓❓ What is this value?

    mrb_sym new = mrb_intern_cstr(mrb, "new");
    mrb_value fiber = mrb_funcall_with_block(mrb, fiber_class, new, 0, NULL, proc);

    mrb_value start_arg = mrb_fixnum_value(123);
    p(mrb_fiber_resume(mrb, fiber, 1, &start_arg));

    // ☕ ☕ ☕ Modify here ☕ ☕ ☕
    mrb_value second_arg = mrb_float_value(mrb, 1.41421356);
    p(mrb_fiber_resume(mrb, fiber, 1, &second_arg));
    // => 1.41421356 (expect)
    // => Fiber (when reported by #5261)
    // => nil (after commit a0c1e075e)
    // => 1.41421356 (patched this PR)

    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
    p(mrb_fiber_resume(mrb, fiber, 0, NULL));
}

I think this PR is mixed with #5272. Each PR should be independent as much as possible.

I think this PR is mixed with #5272. Each PR should be independent as much as possible.

I will check if it can be separated from #5272.

I will check if it can be separated from #5272.

I mistakenly thought that the C function was always called with CI_ACC_DIRECT.

I mistakenly thought that the C function was always called with CI_ACC_DIRECT.

I will fix #5272 later as well.

I will fix #5272 later as well.

#5272 was merged earlier, so I fixed this. :smiley_cat:

#5272 was merged earlier, so I fixed this. :smiley_cat:


Tell users whether unread messages (RM) are above or below their current reading point

We used to assume that RMs occurred chronologically before whatever the user is currently reading. This may not be true if they are on a permalink however, so we changed the "jump to unread messages" bar to not have an upwards pointing button as a workaround.
Surely the server does know whether the RM is above or below our current read point however, and we should actually label the "jump to unread" bar correctly. This could be done by the server providing an API to let clients compare the chronologicity of two event ids.
cc @lukebarnard1

uh, wrong repo :(

dup vector-im/riot-web#3587


Added Euler Totient- Number Theory

Added the  Filename as
Euler_Totient_Function.cpp
Changes Proposed  in the PR. Describe
Added Code
I am assuring that the file is not redundant and making the Pull Request

[x] Yes

Read {% include Contributing.md %}

@KoulickS


Back button doesn't navigate backwards in script editor's help

Godot version:
3.2.1 stable
OS/device including version:
Windows 10
Issue description:
Reading help from the script editor, I clicked an internal link. Clicking the back button brought me back to the code window I was in before searching. I would've expected to be brought back to where he was before following the link.
I suppose the current behavior makes sense and is consistent. I wish there was a way to navigate backwards in the help though.
Couldn't find a discussion about the current behavior. Proposal?
Steps to reproduce:

Search the script editor's offline help.
Click a link.
Press the backwards-pointing arrow in the top right corner of script editor.

Minimal reproduction project:
None needed.

Duplicate of https://github.com/godotengine/godot-proposals/issues/954.

Oh jeez, thanks. Apologies.
Kind of a pain to search two repos but I'll try to remember.


Update luis-language-support.md

Added english british for language

@BaherAbdullah : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


cleanup few more env vars

This PR cleans up the following legacy env vars

TERMINATION_DRAIN_DURATION_SECONDS (available in ProxyConfig)
PILOT_HTTP10 (available in Proxy Metadata)
PILOT_ENABLE_LOOP_BLOCKER (Not needed should be enabled by default)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ X] Does not have any changes that may affect Istio users.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
da3c16b3f608842fb6aa9a6ac77c4e9df1b755f8
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
da3c16b3f608842fb6aa9a6ac77c4e9df1b755f8
link
/test release-notes_istio

lint_istio
da3c16b3f608842fb6aa9a6ac77c4e9df1b755f8
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
da3c16b3f608842fb6aa9a6ac77c4e9df1b755f8
link
/test lint_istio

release-notes_istio
419cdd5aecfff2ff3ffe7f62fe1fc4c367abe301
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio

put a hold so you can give opinion on envoyfilter

@rtmie the expected way to configure this is https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#ProxyConfig.
if you want to expose that option to all users then you would do it as defaultConfig. If you want to set it on a per-workload basis, then there is an annotation for that.
if you want to provide custom validation for the annotation you would need custom logic for your use case I think. Note this is the same as with your template above - they could have always specified that directly in their pod spec.


CUDA out of memory

So when i try generation image using hires.fix i cant generate image over 1500 x 1500
This the error :
OutOfMemoryError: CUDA out of memory. Tried to allocate 5.96 GiB (GPU 0; 14.75 GiB total capacity; 8.63 GiB already allocated; 3.79 GiB free; 9.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Can someone help me? (I am using colab)

xformers was disabled because it caused NANsexception error, so for now, it is limited memory-wise

xformers was disabled because it caused NANsexception error, so for now, it is limited memory-wise, I'll try to add a temporary fix

Ah i see, btw thanks for your hard work ben😁


Added Visual Studio Code workspace configuration

For editing with Visual Studio Code

Why close?
I am starting to use it as well.
For what is worth, here is my launch.json:
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "basic.html",
			"type": "chrome",
			"request": "launch",
			"url": "http://localhost:8080/test/demo/basic.html",
			"sourceMaps": false,
			"webRoot": "${workspaceRoot}",
			"runtimeExecutable": "chromium"
		},
		{
			"name": "coordinates.html",
			"type": "chrome",
			"request": "launch",
			"url": "http://localhost:8080/test/demo/coordinates.html",
			"sourceMaps": false,
			"webRoot": "${workspaceRoot}",
			"runtimeExecutable": "chromium"
		}
	]
}

It is not perfect though because I start a http-server myself and I modify demo.html and coordinates.html to manually include each source file.
I do that because my computer is dead slow to concat + generate source maps when using grunt connect watch.


Private Schemas are visibile in the schema list when user not logged in

The schema is listed in the schema list;

There is an issue with the way the schema list is updated, this will be fixed in : https://github.com/Hyperfoil/Horreum/issues/899

On Hold due to https://github.com/Hyperfoil/Horreum/discussions/1603


Command not available; unresolved specs

$ bundle exec jekyll post
Invalid command. Use --help for more information

$ jekyll post
WARN: Unresolved specs during Gem::Specification.reset:
      pygments.rb (~> 0.6.0)
      redcarpet (~> 3.1)
      listen (~> 2.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/ndarville/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/jekyll-2.5.3/bin/jekyll:21:in `block in <top (required)>': cannot load such file -- jekyll/version (LoadError)
    from /Users/ndarville/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/mercenary-0.3.5/lib/mercenary.rb:18:in `program'
    from /Users/ndarville/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>'
    from /Users/ndarville/.rbenv/versions/2.2.0-dev/bin/jekyll:23:in `load'
    from /Users/ndarville/.rbenv/versions/2.2.0-dev/bin/jekyll:23:in `<main>’

I’ve tried both using jekyll-compose in my Gemfile as well as a gem in _config.yml with the same result.

Did you try Jekyll 3?

Ah, I thought github-pages 39 was already Jekyll 3.

Hi, stumbled upon the same error, did an upgrade to 3.0.pre.beta8 and now i still have this error
>> bundle exec jekyll draft
Invalid command. Use --help for more information

>> jekyll draft "IoT Compass with IndianaJS"
WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 2.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Invalid command. Use --help for more information

Gemfile:
gem 'github-pages', versions['github-pages']
gem 'jekyll-compose'

group :jekyll_plugins do
  gem 'jekyll-compose'
end

Sorry, my mistake.
I had both 2.4.0 and 2.5.3 installed and was using the gh-pages gem.
It seems that version 39 of gh-pages still uses 2.4.0 so that was installed as my main version.

I was trying to get this working as well. What's the final verdict here? GitHub pages does indeed run jekyll 2.4.0, but why is that even an issue with this plugin I don't understand.
Feedback kindly requested. :wink:

@exalted The feature to add automatic plugin loading for plugins with commands wasn't added until 2.5.0: jekyll/jekyll#2865.

@parkr Oh, that makes sense!
What was the old way of doind things back then please? :wine_glass:

What was the old way of doind things back then please?

The old way was to generate your own command, like jekyll-compose or jekyll-draft and calling it directly. This plugin doesn't support that, sadly.

@parkr thanks for the feedback. I guess I will cross my fingers for GitHub to update to at least 2.5.0

@parkr thanks for the feedback. I guess I will cross my fingers for GitHub to update to at least 2.5.0

We're releasing 3.0 this week and they should be able to upgrade sometime soon. I have heard that they are taking a look at it as we speak. I'll work with any contacts I have there to try to make 3.0 a reality on Pages as soon as we can.
In the meantime, you can use 2.5.3 locally as it's very similar to 2.4.0.

@parkr great! :clap:

I just got caught out by this :disappointed:
@parkr Do you think we could add this to the readme so that newcomers know that they need Jekyll >=2.5.0 for this gem to actually do anything?

:+1:
--
Ali
On Sun, Nov 1, 2015 at 5:36 AM -0800, "Joe Nyland"<EMAIL_ADDRESS>wrote:
I just got caught out by this
@parkr Do you think we could add this to the readme so that newcomers know that they need Jekyll >=2.5.0 for this gem to actually do anything?
—
Reply to this email directly or view it on GitHub.

@parkr Do you think we could add this to the readme so that newcomers know that they need Jekyll >=2.5.0 for this gem to actually do anything?

Great idea, sorry that's so confusing.

More on this: would it be too crazy to specify this gem to depend on jekyll at least >= 2.5.0 rather than current >= 2.0?

@exalted great idea!


Additional user variables

Ability to disable Notepad++ and enable Sublime

what about an option for VSCode? 😀


Gradle Build Instructions don't work anymore

Since 895c74d095348e028b726587cb7b1761f8d1d9bf removed the .gitmodules file, the build instructions at https://github.com/microg/android_packages_apps_GmsCore/wiki/Building are invalid.
After running
git clone https://github.com/microg/android_packages_apps_GmsCore.git
cd android_packages_apps_GmsCore/
git submodule update --recursive --init

git complains
fatal: No url found for submodule path 'extern/RemoteDroidGuard' in .gitmodules

Adding the .gitmodules file back as it was fixes this.
However, the build still does not succeed, this time while running gradle:
Could not execute [class org.jetbrains.kotlin.gradle.plugin.statistics.DefaultKotlinBuildStatsService.buildFinished]

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':play-services-core'.
> kotlin.KotlinNullPointerException (no error message)

A checkout of tag v<IP_ADDRESS>20 builds great however.

You don't need to do anything with git submodules any more, Gradle does it for you.
Just add a local.properties file and run ./gradlew build. (I had memory issues too but allocating more with JAVA_OPTS env var fixed it.)

The build succeeds for me when I add this line to the gradle.properties file:
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError

on Tuesday, 2020-07-21 09:37 -0700, M4G13<EMAIL_ADDRESS>wrote:

You don't need to do anything with git submodules any more, Gradle does it for you.
Just add a local.properties file and run ./gradlew build. (I had memory issues too but allocating more with JAVA_OPTS env var fixed it.)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/microg/android_packages_apps_GmsCore/issues/1091#issuecomment-661969943

Uummmm...
@drrossum
So I added this in the wiki in the script: https://github.com/microg/android_packages_apps_GmsCore/wiki/Building

echo "org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
I thought there was going to be some "Fork->edit on my fork->PR" while editing the wiki, but turns out it is directly saved

Anyway, this should help :)

I can confirm it is building with the updated instructions.
I have modified them further to mention local.propterties not only in the second bash script and have removed any mention of submodules.

FYI, I came across the same error:
 FAILURE: Build failed with an exception.

 * What went wrong:
 A problem occurred configuring project ':play-services-core'.
 > kotlin.KotlinNullPointerException (no error message)

And solved it not only by adding those JAVA settings to gradle.properties as mentioned here and on the Wiki, but I also had to do the following, which is mentioned further down in the bash script build instructions:
echo "sdk.dir=$ANDROID_SDK_HOME" > local.properties
echo "sdk-location=$ANDROID_SDK_HOME" >> local.properties


Add PB.importRoot setting and implementation

We've got a protobuf repo at work we need to pull in called protobufs, and the general structure of it looks like:
protobufs/
  - android/
  - ios/
  - protos/
    - shared
      - foo.proto
      - bar.proto
      - baz.proto
    - servicename1/
      - svc1_schema.proto
      - .
      - .
      - .
    - servicename2/
      - svc2_schema.proto
        - .
        - .
        - .

And the important thing to note, here, is that this has been arranged for the convenience of Bazel. Our microservices are all written in Go with Bazel as a build tool, while our data engineering department uses Scala. We've been using Bazel and Scala so far, but I'm working on migrating away from Bazel to SBT for JVM builds.
protos/servicename2/svc2_schema.proto will import things this way:
import protos/shared/foo.proto
import protos/shared/bar.proto
import protos/servicename1/svc1_schema.proto

and so forth. The already-existing sbt-protoc approach produced only protobuf errors about enum values already being defined, so I gave myself a way to directly control where to look for imports.

@thesamet: Hey! What do I need to do to get this reviewed and merged?

Trying to understand why the new setting is necessary - wouldn't it be possible to override PB.includePaths within your project?

@thesamet: Yes, it's possible for me to replace PB.includePaths, but the problem is that because I'm replacing it, I need to duplicate the contents of sbt-protoc lines 314-319 into my config. This is generally a pretty big warning sign that I'm doing something wrong. It'll also be harder for whoever comes after me to maintain.
On the other hand, adding it as a new setting sidesteps those problems.

Sorry for the delay. Can you add to the PR a test under sbt-test/settings that demonstrates the usage of the new setting? I'd also like to validate the concern about duplicating code from sbt-protoc. If indeed duplication (or non-trivial sbt trickery) is necessary to get it to work, then I'll accept the PR which introduces this new setting.


Site switcher, site ordering

Inspired by the work in https://github.com/wagtail/wagtail/pull/5891
Sites do not have a default order. Sites do not have a consistent string representation (site name if given, else hostname). That makes selecting sites in the sites list view and site switcher hard. Especially with many sites.
This PR adds:

ordering to sites.
displays the hostnames in site switcher (not the site name).

The ordering of sites in site list view and site switcher are now consistent.

Do the tests still pass? YES
Does the code comply with the style guide? YES
For Python changes: Have you added tests to cover the new/fixed behaviour? YES
For front-end changes: Did you test on all of Wagtail’s supported browsers? N/A
For new features: Has the documentation been updated accordingly? N/A

Before

After

Thanks heaps @allcaps & @tleguijt for your initial work on this - merged in via 758ebce865c2ac5eb10d1be57d5503d8b3906740

Thanks @lb- for picking this up and @allcaps for finalising this!


Update @babel/preset-env

Was assigned a synk PR but there are conflicts not so just making the change on top of main.
Fixed Issues
$ GH_LINK
Tests

What unit/integration tests cover your change? What autoQA tests cover your change?
What tests did you perform that validates your changed worked?

Use this SO to link app and make sure everything works.
QA

What does QA need to do to validate your changes?
What areas to they need to test for regressions?

N/A

Left a comment here to find the best way to test this


[Code style] Improve code and implement spm package

Improve code style
adapt to swift package manager

Can anyone merge this change? I would like to use the library with SPM.


Feature request: Migrate to null safety [flutter 2.0]

I really like your package and I hope you can update so that it will support flutter 2.0

For now you can use this:
flutter_search_bar:     git:       url: git://github.com/urmatt/flutter-search-bar.git       path:

For now you can use this:
flutter_search_bar:
    git:
      url: git://github.com/urmatt/flutter-search-bar.git
      path:

This will be closed as of #46 . Sorry for the delay, finally finished the semester (:

This is now live with 3.0.0-dev.1 (dart recommends we publish as a pre-release first)


ls.rec handle inaccessible files

Attempt to fix https://github.com/lihaoyi/Ammonite/issues/679
For now without tests, but I'll try to figure our reliable way to verify it on travis.

Bare minimum would be to check if directory with no access doesn't throw Exception and we get empty LsSeq
Better would be to have directory with at least file inaccessible file and check if we get non empty LsSeq

Maybe we can use /tmp

Looks like the right direction; if you can figure out how to get a test for this that would be very valuable. If not, let me know and I'll be happy to merge it as is (after rebasing)

@lihaoyi for now I don't see straightforward way to test it on both appveyor and travis. Even with travis to do it properly we would need to use sudo and it would increase build time in general.

Could we test it on travis only? I don't mind leaving it untested on appveyor

If not say the word and I'll merge it as is

@lihaoyi I've added test based on /var/run. Hopefully it won't be flaky.

Thanks!


Support aarch64 architecture

Presto currently requires amd64 or ppc64le on Linux and explicitly has the limitation about this requirement in PrestoSystemRequirements.
failRequirement("Presto requires amd64 or ppc64le on Linux (found %s)", osArch);

The error is thrown when I tried to use the A1 instance of AWS.

Version: Presto 326
Machine: A1 instance with Graviton Processor
OS: Amazon Linux

We want to use Presto on the machine running with the aarch64 architecture machine.

Is Arm architecture officially supported since 330?
https://github.com/prestosql/presto/pull/2809

Yes, let's close this issue.

🎉


New pre_handler() method for the View class

Sometimes we need to override the dispatch() method if we want to share some behaviour between different handler methods in a Class-Based View, being quite error-prone.
This patch adds a new method to achieve the same without having to override dispatch().
django-developers discussion

If I understand correctly, the benefit of this change is to write:
class MyView:
    def pre_handler(self, request, *args, **kwargs):
        # do stuff
        ...

instead of:
class MyView:

    def dispatch(self, request, *args, **kwargs):
        # do stuff
        ...
        return super().dispatch(request, *args, **kwargs)

The GCBV API is already widely criticized for being too complicated. I think that adding one method to save one line of code is a bad trade-off. I'm -1.

Also this API can trivially be added as a mixin in projects that want it.

Thanks for the feedback.
Yes, this can be trivially added as a mixin in projects, but that would make the hierarchy more complicated (which is something criticize as well).
I see where you are coming from, but I personally don't think adding an extra method hurts that's much, however overriding dispatch it's more error-prone for developer (like forgetting to call super())
Cheers

I'm afraid someone who doesn't understand super() is going to have a rough time with the generic CBVs anyway :-) I'm not swayed by this argument.
The trade-offs of inheritance as an API are well documented. For better or worse, that's how the generic CBVs are designed. There's no doubt that beats the previous design of generic FBVs.
Compromising this design in the name of convenience will make GCBVs more complicated (albeit a bit easier for one specific use case, but that does a disservice to developers when they reach the limits of that use case, on the contrary).
Thinking by analogy, I'm not comfortable with the prospect of adding a dedicated, no-op-by-default method at each point where a developer may want to hook. That would just push the problem one level down the inheritance tree (in grand-children of Django's GCBVs instead of its children).
Also "there should preferrably be only one way to do it"...

I agree with Aymeric.

Too bad this is closed already, I just noticed the discussion.
We've been using a similar idea, only naming it the init() method. Most of the time I've been able to work around it, with dispatch() as Aymeric mentioned, but with complex inheritance strategies it becomes harder or even impossible without such prepare(), setup() or init() method.
The main problem with dispatch() is:

you always need to call super() at the end, meaning your base class (that sets up all extra environment) comes last, and your current class initializes first.
In large web applications (not sites), I notice the project benefit from base views that handle a lot of common things; e.g. class AppDetailView(BaseViewMixin, generic.DetailView). In such project the class inheritance chain becomes a struggle as for example, a LoginRequiredMixin comes last in the chain because it was part of the project base view class.
When a base class performs some common setup, you can't use that setup at all in your child class.
Duplication between get() and post() as dispatch() becomes a no-go area since permission checks and common setup happen at the bottom of the inheritance chain.

In contrast, with an init() or prepare() method, you can call the super() first, and then enjoy any base initialization that the parent class did.
I don't expect it would complicate the GCBV's, but rather simplify it. Complex projects have extra self.foo = .. assignments in get_object(), get_queryset() or get_context_data() because hey, there is no other place to setup things beforehand.
Combining something like ProcessFormView with a formset view would be way easier, as you can first have a shared setup(), and then handle the form/formset creation, and then flow into the get/post differences.
I understand this seems like an edge case from a moderate inheritance diagram. With complex inheritance, it becomes a different story.

I don't think reusing Django's generic class based views is a viable approach for such problems.
Figuring out a workable inheritance scheme is vastly more complicated that reproducing and maintaining the ~20 lines of code you need to achieve this yourself.


Busybox Binary Updates

With relation to https://github.com/ARM-software/devlib/pull/540
Update the arm32 and add i368 v1.32.1 busybox binaries statically linked
with uclibc rather than the previous version with glibc which
caused segfaults on some devices.
Update ppc64le to v1.32.1 however linked with musl as uclib does not appear
to be a supported build configuration.

As uClibc-ng doesn't support 64-bit PowerPC architecture, should we put a note somewhere that users should always expect hostid = 0 on these platforms?


📝 Make README.md also the crate documentation

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

Project coverage is 27.39%. Comparing base (7d09422) to head (5a4e971).

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   27.39%   27.39%
=======================================
  Files          22       22
  Lines         865      865
  Branches      865      865
=======================================
  Hits          237      237
  Misses        578      578
  Partials       50       50

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


Unable to load integration with 2024.6 beta

Hardware and versions

Inverter model & generation: AC Coupled
Inverter firmware version: D0.535-A0.535
Battery firmware version: 3015
Home Assistant integration version: 2.0.3

Describe the bug
I've just installed the new HA  beta and now the integration fails to load due to an 'Invalid config' error. Log is below.
Update: Manually downgrading pydantic within the home assistant virtual environment gets the integration working again: pip install pydantic==1.10.12 . It appears version 1.10.15 is being used by default in HA and therefore this is where the conflict arises?
Debug log

Logger: homeassistant.util.package
Source: util/package.py:123
First occurred: 22:48:14 (3 occurrences)
Last logged: 22:48:31

Unable to install package pydantic==1.10.12: ERROR: Cannot install pydantic==1.10.12 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Same error but with general release 2024.06 of HA
Inverter Model: GIV-HY5.0
Software Version: D0.450-A0.451
Battery Firmware Version: 3015
Home Assistant integration version: 2.0.3

Same here on the 2024.06 HA release.
Source: setup.py:269
First occurred: 00:10:40 (1 occurrences)
Last logged: 00:10:40

Setup failed for custom integration 'givenergy_local': Requirements for givenergy_local not found: ['pydantic==1.10.12'].```

Same issue for me on 2024.6;
Core 2024.6.0
Supervisor 2024.06.0
Operating System 12.3
Frontend 20240605.0
`Logger: homeassistant.util.package
Source: util/package.py:123
First occurred: 06:48:17 (3 occurrences)
Last logged: 06:48:53
Unable to install package pydantic==1.10.12: ERROR: Cannot install pydantic==1.10.12 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts`

I've opened #85 to address this, but haven't been able to test that it won't break things for pre-2024.6 users. Don't suppose anyone has a test setup of HA that they haven't upgraded?
@cdpuk I've never ventured into HA plugin development. Is there a reason why everyone seems to pin their pip packages down to the build (pydantic==1.10.12)? Would pydantic >=1.10,<1.11 be acceptable?

Same problem here with pydantic==1.10.12 with conflicting dependencies on 2024.6.0
Had to revert back to 2024.5.* as the GiveEnergy Local plugin is very critical.
But thanks @cdpuk for this amazing integration. Hopefully this can be fixed quickly.

I've opened #85 to address this, but haven't been able to test that it won't break things for pre-2024.6 users. Don't suppose anyone has a test setup of HA that they haven't upgraded?
@cdpuk I've never ventured into HA plugin development. Is there a reason why everyone seems to pin their pip packages down to the build (pydantic==1.10.12)? Would pydantic >=1.10,<1.11 be acceptable?

... and to answer that. The reason for pinning the dependencies was original to stay closely aligned with the original givenergy_modbus project. Clearly this may no longer be the right thing to do, so perhaps needs revisiting. But thanks for sorting this one out 👍

Thanks for sorting!

Thanks from me as well.

Thanks so much for the speedy fix 👍

Hi. Im on 2024.5.1 and getting the "Setup failed for custom integration 'givenergy_local': Requirements for givenergy_local not found: ['pydantic==1.10.15']." error when updating to 2.0.4.
I can see this issue is marked as fixed but it's not working for me, any ideas?

Hi. Im on 2024.5.1 and getting the "Setup failed for custom integration 'givenergy_local': Requirements for givenergy_local not found: ['pydantic==1.10.15']." error when updating to 2.0.4.
I can see this issue is marked as fixed but it's not working for me, any ideas?

Are you on a container based install? There seems to be some combination of HA/HACS installs that don't handle dependency upgrades well. The release notes for 2.0.4 contain a couple of suggestions. Please feed back if these or any other approach works.

Hi. Im on 2024.5.1 and getting the "Setup failed for custom integration 'givenergy_local': Requirements for givenergy_local not found: ['pydantic==1.10.15']." error when updating to 2.0.4.
I can see this issue is marked as fixed but it's not working for me, any ideas?

Are you on a container based install? There seems to be some combination of HA/HACS installs that don't handle dependency upgrades well. The release notes for 2.0.4 contain a couple of suggestions. Please feed back if these or any other approach works.

thanks for fast reply.
I'm running HA OS with HACS.
I managed to SSH into the HA and ran "pip list " I get the below
~ # pip list
Package    Version

awake      1.0
packaging  24.0
pathspec   0.12.1
pip        24.0
pulsemixer 1.5.1
pyparsing  3.1.2
PyYAML     6.0.1
setuptools 69.5.1
yamllint   1.35.1
Im not HA or ssh wizard, so I'm a bit lost here. Would updating to 2023.6 resolve this?

looks like my HA OS 2023.5 didnt have pydantic at all which failed to start 2.0.4.
When I updated to 2023.6 it worked, didnt need to do anyhing else.

looks like my HA OS 2023.5 didnt have pydantic at all which failed to start 2.0.4. When I updated to 2023.6 it worked, didnt need to do anyhing else.

I was the same - running 2023.5.5 and getting this pydantic error, upgrading to 2023.6.1 and installing v2.0.4 worked for me


Minimum level depth

Hi,
I'm struggling with one small problem. In some cases Simmer generates selector only with tag name. For example, if I have only one "strong" tag in the DOM tree Simmer generates "strong" selector without any additional selectors. Is there any way to specify minimum level depth of the selector? I know that "strong" is unique selector but would be nice if Simmer could generate more detailed selectors. I tried to set specificity threshold but without expected effect.

Hey,
The specificity should do it, but if not I'll definitely take a closer look.
Can you provide a reproducible example?
Specifically it'll help me if you provide:

The DOM you're querying on
The selector you're expecting
The selector Simmer is returning

Thanks

Hello,
I was just going to post almost the issue, so instead of creating a new one I add it here.
I was going the call my issue Forced depth
In my situation I am creating a WYSIWYG editor and i'm using SimmerJs to create style sheet rules instead of having inline styles.
Say I have the following structue:

Hello there

When the user clicks on the
 and I run Simmer I get the selector h1.
Then the user append a new heading to the container:

Hello there

Goodbye

When the user clicks on the new
 this selector is the same as the the previous one h1.
(Note: That subsequent clicks on the first
 return div > h1 as the selector, so the depth is only taken into consideration when the element name is not unqiue.)
In my real world case I am using Scope.
What I would ideally want is to force the depth to be taken into consideration, up to and including the Scope element.
So, if I scope to #container, the selectors for my two headings will be:

div#container > div > h1
div#container > h1

Does this make sence to you?
What do you think?


Deanonymize Operator Mask

Can i Deanonymize text other than decrypt operator such as mask and custom?

Hi, once masking is done, it's impossible to reverse the process (as we are not maintaining the original after masking). Another use case for de-anonmization could be pseudonymization, where we use a dictionary to map original and new, and be able to return the text to its original form.

thankyou


feat/ EntityStores

I have created some tools to ease the use of ReSub by reducing the boilerplate code.
This PR basically adds 3 types of convenience stores.
EntityStore:
A simple store, that holds one type of objects.
Creating a store works with the method createEntityStore<EntityType, idType>.
Creation looks as follows:
class SampleObject {
    id: number;
    value: string;
}

const SampleStore = createEntityStore<SampleObject, number>({selectId: (so: SampleObject) => so.id});

You now can add objects via SampleStore.addOrUpdateOne({id: 1, value: 'Hello World!'}).
And you can get an Object via SampleStore.getOne(1).
SelectEntityStore:
The same as the EntityStore, but you can select one item per ID with SampleStore.setSelected(ID).
DynamicLoadingStore:
The DynamicLoadingStore is a SelectEntityStore, but with the option to load an object asynchonously, if it does not exist in the store.
This is usefull for example for loading values from a service.
Creation of the DynamicLoadingStore looks as follows:
class SampleObject {
    id: number;
    value: string;
}

const sampleObjects: Map<number, SampleObject> = new Map<string, string>([[1, {id: 1, value: 'Hello'}], [2, {id: 1, value: 'Hello'}]]);

const SampleStore = createEntityStore<SampleObject, number>({
    selectId: (so: SampleObject) => so.id,
    loadFunction: (id: number) => sampleObjects[id]
});

SampleStore.getOne(1) now loads the Object {id: 1, value: 'Hello'} from the sampleObjects map.
Carefull:
As it loads values asynchronously, the returnvalue of the getOne function will be undefined on the first call!
If this will be accepted, then I will follow up with an update of the documentation.

This is actually pretty awesome!  However, in the interest of separation of concerns, I would actually suggest simply making it an external package "resub-entitystores".  As we remove things like manual subscriptions, we're trying to keep the core resub module lean-and-mean to the main value prop.  I'm thinking about taking some of my other boilerplate resub store code for streaming client-server data and making a separate resub-streamingstores module as well, so this fits well into the extension pattern.  @berickson1 what are your thoughts?

I think this is a good Idea with the extensions.
Maybe there could be a list of all extensions in the Readme then?
The other question:
Should I Create the Repo myself, or would you like it to be a microsoft repo?

Probably makes sense for you to make a separate repo/npm package for it outside of MS.  Once it's up and published, then yes, let's add a list to the readme!

Fixing this PR here. I will create a seperate library instead.


macOS screenshots and/or demonstration

There aren't any screenshots or gifs of souvlaki working on macOS yet 🥲

I'm on it!


Correctly handle associations in validations

Resolves #18.

@trptcolin Any comment on this? I'm happy to make changes if there are any issues.

@nbouscal great work here, thanks! :heart: merged to master as a3b8fadb72277b61398e5b3ae124fbc65b1a9588


Improve logging

Description
Improving logging by adding a prefix to the log containing the file, function and line number

LGTM! except for the already given suggestions.

Closing in favor of https://github.com/cloud-bulldozer/kube-burner/pull/295


'Meta:0' missing from JSON "Scenes" properties

voyager-scene (1).zip
The JSON file does not automatically add "meta:0" to the scenes properties. Even when downloading a base json file from the standalone voyager editor, this "meta:0" is missing (see Zip file attached). Was able to manually enter it in the JSON file to get the audio Icon to display in the menu.

Hi @kgschoueri , this issue should be fixed in the v0.23.0 release. The meta object/index should be added any time metadata is included and saved in the SVX file (including audio references). If there is no meta info, the object/index will not be created, which seems correct.


Localization support for walkthrough SVGs

Is it possible to add localization support for text within Getting Started walkthrough SVG illustrations?
Adding @jureid for this request.

This is not supported. Best bet for text-heavy content is markdown, which does support localization.

Tosha Wade
On Mon, Dec 6, 2021, 5:30 PM Jackson Kearl @.***> wrote:

This is not supported. Best bet for text-heavy content is markdown, which
does support localization.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/138553#issuecomment-987300196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWV7YF57NOFLWBOIWCFMGVLUPU2PHANCNFSM5JPTB5RQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


k8s.gcr.io still referenced as kubeadm default in v1.24 and older

This is a Bug Report

Problem:
The imageRepository field for kubeadm config (v1beta2 and v1beta3) still reference k8s.gcr.io as the default registry used. Though that's true for initial versions of 1.22-1.24, it changed in the most recent patch versions to be registry.k8s.io.
Proposed Solution:
I guess the question comes down to whether the documentation is supposed to be accurate to the latest patch release or the initial release and users are expected to find patch specific updates in the CHANGELOG. If it's the former then I believe the documentation should be updated to reflect registry.k8s.io.
Page to Update:
https://v1-24.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta2/#kubeadm-k8s-io-v1beta2-ClusterConfiguration
https://v1-24.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/#kubeadm-k8s-io-v1beta3-ClusterConfiguration
https://v1-23.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta2/#kubeadm-k8s-io-v1beta2-ClusterConfiguration
https://v1-23.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/#kubeadm-k8s-io-v1beta3-ClusterConfiguration
https://v1-22.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta2/#kubeadm-k8s-io-v1beta2-ClusterConfiguration
https://v1-22.docs.kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/#kubeadm-k8s-io-v1beta3-ClusterConfiguration

Kubernetes Version:
1.22, 1.23, 1.24
Additional Information:
Kubeadm issues to update default imageRepository
https://github.com/kubernetes/kubernetes/pull/113395
https://github.com/kubernetes/kubernetes/pull/113393
https://github.com/kubernetes/kubernetes/pull/113388

Those reference were generated using the then current code base. However, this change of registry applies to all people running those old releases as well. So I'd suggest we manually update the reference instead of regenerating them.

thanks for the api docs updates @tengqm
@rsadowsk looks like we only need to update the registry  mention here for the k/website branches in support
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#custom-images
you can help us by sending prs if you'd like?
also, only for /en as the other languages are maintained / forked by dedicated teams.

@neolit123 Sounds good! I'll get in a pr early this week.

From https://github.com/kubernetes/website/pull/38423 / https://github.com/kubernetes/website/pull/38424 / https://github.com/kubernetes/website/pull/38425:

I suppose we could try to make that clear to the reader, though I'm not sure how to structure that since the docs are only for minor versions and not specific patches. Typically is the documentation supposed to be accurate to the latest patch version or the initial release and users are expected to find patch specific updates in the CHANGELOG? If we add specific references we'll need @tengqm to update some merges he did on Satuday for #38359

https://github.com/kubernetes/website/pull/38423#discussion_r1045973244 is a sketch about how I'd do this. Please use the actual correct release information for each minor release.
I don't think you'd need to liaise with @tengqm here before we merge this. For the reference information, we don't customize the text away from what the Kubernetes code (and its comments) lets us produce.

/triage accepted
/priority backlog
/sig release

This case is a little bit special. Clarifying which version of kubeadm changes its behavior would be ideal. Otherwise, we have to manually fix this. This behavior change is not something reflected accurately in the upstream source code (comments).

Done
/close
Thanks @rjsadow


Performance issue: process.env.NODE_ENV='test' in release package lib/index.js

Version: 3.0.0-2
Description: ./lib/index.js, line 78, 79 is as the following:
exports.isDev = "test" !== 'production';
exports.isTest = "test" === 'test';

So no matter what NODE_ENV I set, glamor is always running under dev mode which causes a very serious performance issue.
Please help look into this issue and seems it's not fixed in 3.0.0-3.

V3 was deprecated, please use latest version in 2.x

Thanks for the quick reply.
I downgraded to v2.20.40 and ran into the server render issue (link).
If anyone else got a flash screen when server rendering and empty css and ids, you could have a look at your server wepback.config.js and add glamor/server to externals as the previous post mentions.
Besides this, everything else works well. :)


no matching function for call zax_to_json_ issue

Describe the bug
I am having issue no matching function for call zax_to_json_.
ZaxJsonParser.h:894:17: error: no matching function for call to ‘zax_to_json_(std::ostream&, const char*&, int&, std::tuple<>, bool, int)’
894 |     zax_to_json_(arg_json, _json_buffer_end, _result, std::make_tuple(VA_ARGS), insert_trails, a_deep);\
Provide  some solution for this particular problem.
Regards,
Sateesh

I can't provide solution without having more info. Please send me exactly what you wanted to compile and how.


Unattended installation

I tried installing TaskbarX in an unattended manner - I used the switches /quiet /norestart but it still opens the GUI installer waiting for the user to prompt. Can you add support for silent installation in future releases of TaskbarX? If so, I would be able to create a PR in winget repository to merge TaskbarX's manifest.
Thanks.

@pratyakshm That's very nice! however i'm not sure if i will include an msi installer yet.

okay, thank you.

An new installer would be great. On my work machine Windows store is locked and smart screen prevents me using the zip. A local installation which doesn't require admin privileges would be great.

@watermarkhu If the portable zip gets blocked then an installer with the same files will be blocked too :/

Does TaskbarX require admin privileges to run? If not, an installer which installs to AppData in stead of Program Files would allow it to run.

the input at https://github.com/ChrisAnd1998/TaskbarX/issues/441#issuecomment-716104630 says slightly different thing. which one's right 🤔 ?

anyways, coming from "Modernize ...." ; just wanted to thank you. i have been searching for a way to fully transparent the taskbar for yearrrs (since 2013-14 i guess) and just found it. What more, it can also center them. Awesommme. If the installer were there, then that would be next awesome thing. Thanks a tonne for providing this great thing :) <3 <3 <3


Add suggestions for the "Any additional info" box on the claim a facility form

Overview
Add suggestions for the "Any additional info" box on the claim a facility form: these should be suggestions for what kinds of info to submit in order to be verified: LinkedIn or other contact pages, etc.
Describe the solution you'd like
Add suggestions for the "Any additional info" box on the claim a facility form: these should be suggestions for what kinds of info to submit in order to be verified: LinkedIn or other contact pages, etc.

Superseded by #607


Ledger refactoring changes

Summary
Ledger refactoring changes.
Closes https://github.com/algorand/go-algorand-internal/issues/1867.
Test Plan
Relying on existing tests. Some of them were changed. There are also tests for the migration.
The import validator caught up to the latest round on mainnet, testnet and betanet successfully.

Codecov Report

Merging #870 (3b1dda1) into develop (455ef3e) will increase coverage by 0.52%.
The diff coverage is 75.24%.

@@             Coverage Diff             @@
##           develop     #870      +/-   ##
===========================================
+ Coverage    58.93%   59.46%   +0.52%
===========================================
  Files           36       37       +1
  Lines         4374     4594     +220
===========================================
+ Hits          2578     2732     +154
- Misses        1483     1550      +67
+ Partials       313      312       -1

Impacted Files
Coverage Δ

cmd/block-generator/generator/generate.go
58.92% <ø> (+0.16%)
:arrow_up:

idb/postgres/internal/encoding/types.go
66.66% <ø> (ø)

idb/postgres/postgres_migrations.go
29.56% <4.76%> (-5.55%)
:arrow_down:

idb/postgres/postgres.go
50.31% <67.62%> (+1.06%)
:arrow_up:

...ernal/ledger_for_evaluator/ledger_for_evaluator.go
76.28% <81.48%> (+9.14%)
:arrow_up:

idb/postgres/internal/encoding/encoding.go
78.91% <87.50%> (+3.35%)
:arrow_up:

idb/postgres/internal/writer/writer.go
75.40% <100.00%> (+0.20%)
:arrow_up:

util/util.go
57.14% <0.00%> (-1.20%)
:arrow_down:

util/diff.go
0.00% <0.00%> (ø)

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 455ef3e...3b1dda1. Read the comment docs.

I haven't reviewed the migration code yet, but wanted to share my first round of comments.
Overall it seems to make sense, but I wasn't expecting the data structures to be so complicated. In a way, it feels like we're going to have the same sort of issues we had with the "apply" functions, but now it's complexity for running "eval".
I did have some specific requests in the comments.

Thanks for the review! What complexity exactly are you referring to?

I haven't reviewed the migration code yet, but wanted to share my first round of comments.
Overall it seems to make sense, but I wasn't expecting the data structures to be so complicated. In a way, it feels like we're going to have the same sort of issues we had with the "apply" functions, but now it's complexity for running "eval".
I did have some specific requests in the comments.

Thanks for the review! What complexity exactly are you referring to?

Working with the map[addr]map[creatable]struct{} data structures. I can see how the existing patterns were applied pretty directly to the new data structures, but it's complicated.


There is no red border for the 'Expired in/Visibility timeout' field if typing an invalid value for one of the two fields

Storage Explorer Version: 1.33.0-dev (96)
Build Number: 20240115.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.2(Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.32.1)
Steps to Reproduce

Expand one storage account -> Queues.
Create a queue -> Click 'Add' -> Empty the 'Expire in' field.
Check whether there is a red border for the field.

Expected Experience
There is a red border for the field.

Actual Experience
There is no red border for the field.

Verified this issue on the main build 20240117.7. Fixed.


utils-changes

Hey @bhondgesanket768, we need to discuss this once.

The naming conventions need to be corrected. .js files always use lower camel case syntax whereas .jsx files use upper camel case.
Also, the naming logic doesn't make sense. For examples actions/dbActions.js. We already know that the file is in actions folder, so it will have actions. Thus no need to put actions keyword in the filename. The file names in the actions folder just need to represent the modules they correspond to.
Also, why is the pages/database/dbActions still present and even being used in some of the pages. The core purpose of this task was to have a central place for all the actions. If we are still not using the actions from the actions folder everywhere, then reviewing this code doesn' make sense. So closing it for now.


Maintain pending request list

This pull request introduces a mechanism to maintain a set of pending requests. A pending request is a request that was processed, but not yet accepted for execution. The pending request set will be used to restart consensus after view change is completed. All replicas will restart timers for all pending requests. In addition, the new primary will prepare any pending request that does not appear in the new-view certificate.

Summary of changes:

Rebase with conflict resolution and some required small adjustments

Sorry, I seem to have mistakenly closed this issue...

After merging this commit, I received CI failure report which is a known issue #110, so I don't think this pull request is responsible for it.

After merging this commit, I received CI failure report which is a known issue #110, so I don't think this pull request is responsible for it.

Yes, that was the same issue which I'm currently working on...


GUI cut off

Issue description:
Crafting overview and crafting monitor GUI are cut off on the right side Pic below
What happens:
What you expected to happen:
To be center
Steps to reproduce:

Open Crafting Monitor screen or craft overview

...
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: <IP_ADDRESS>15
Refined Storage: 1.6.4

Does this issue occur on a server? [yes/no]
No
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]
https://imgur.com/a/LSZ94We

It seems to be an issue from your Resource pack that you are using.

oh, ok. Thanks for the info.


Prioritize down tracks based on max layer(s)

Use max layer subscription of down tracks to
prioritize bandwidth allocation. The ordering is

Highest spatial layer
Highest temporal layer, if spatial layer matches
Down track id if both layers match (this is to
prevent unnecessary re-ordering)

Testing:
(Really need to make a DownTrack interface so that
we can mock it and use it in tests)
For now, just a sanity check.

looks good!

Merging this. @cnderrauber please add any comments you may have and I will look at it in a subsequent PR.


⚠ Bofrost.nl has degraded performance

In d9dda18, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 2266 ms

Resolved: Bofrost.nl performance has improved in fa225c4.


when viewing scan results for a single control on reporting profile details page, filter by profile+control

User Story
This was suggested by @tmonk42

Ohai! If I’m looking at a compliance report, and navigate to results for a specific control, and then click to see results for just that control, the status icon for individual nodes reflects their overall status, not their status for the control. I would expect when I have some that passed and some that failed a control that I’d be able to visually tell the difference when viewing results.
Here I’m looking at control 1.1 Latest LTS OS Version and 4 failed and 3 passed, but when looking at the results for control, all seven nodes show the failed icon. If I expand results, I can see who failed and passed one by one, so it’s possible to get the info, and I feel like this could be better/clearer

We can solve this by applying the profile and control filters when a user selects the scan results for a control:
'{"filters":[
{"type":"profile_id","values":["1de944869a847da87d3774feaacb41829935a2f46b558f7fc34b4da21586ae27"]},{"type":"control","values":["/etc/group must exist"]}
]}'

This should also be removed from the filters when the scan results window is closed.
Relevant code: https://github.com/chef/automate/blob/master/components/automate-ui/src/app/pages/+compliance/+reporting/+reporting-profile/reporting-profile.component.ts#L119-L129
Definition of Done
profile/control filter is applied when viewing scan results for a control from profile details view.

@vjeffrey @scottopherson @tarablack01 - Would be nice to get a second set of eyes on this.  When I started digging into it, it seems like this might be an issue with the API endpoint.
After the first call is made, every subsequent call to reporting/nodes/search returns a status: failed, regardless of which node its on.  Specifically referring to the getNodes() function in stats.service.ts
The html in reporting-profile.component.html is then reading this status: failed and showing the correct icon for what is coming back from the API.

@SEAjamieD even after applying a profile and control filter for a passed or skipped control?

i'll do some api calls locally

If I'm reading this correctly, we're already adding filters for profile and control in the getNodes() function here: https://github.com/chef/automate/blob/e9e2056f523b0725401203e56fa3875aefdf5ad7/components/automate-ui/src/app/pages/%2Bcompliance/%2Breporting/%2Breporting-profile/reporting-profile.component.ts#L131-L133

oh, i had not noticed that!
ok, so given that, i went to acceptance to test. i see the network call:

but it looks like a control id is getting added every time we open the scan results, without ever removing any -- so maybe the card is actually just about removing that filter on scan results window close?

Awesome!  I'll give that a shot now...stay tuned...

That did the trick!  🎉  Thanks for the help @vjeffrey!


Undefined behavior outside of sRGB gamut: JCh and Jab colors return displayable RGB values

Some Jab and JCh colors that are far outside of displayable RGB end up registering as defined, and I don't know why. For example:
d3.jch(12,90,90).displayable(); // === true
d3.jch(12,90,90).rgb(); // "rgb(65, 30, 5)"

This is consistent with the Colorspacious Python library as well as Billy Bigg's C implementation. It looks like this may not be the case with the Colour Python package, but their implementation differs so much I haven't had time to do a comprehensive comparison.

This could be related to https://pdfs.semanticscholar.org/b5a9/0215ad9a1fb6b01f310b3d64305f7c9feb3a.pdf It seems like the CAT02, which is typically packaged with CIECAM02 can result in negative tristimulus values, which might explain why invalid colors are magically appearing.
"The Problem with CAT02 and Its Correction" Changjun Li, Esther Perales, M Ronnier Luo, and Francisco Martínez-Verdú.
Abstract:
It was reported that the CAT02 imbedded in the CIECAM02 suffers from predicting
the corresponding colours with negative tristimulus values. To overcome this problem,
a mathematical approach is proposed for modifying the CAT02. This approach
combines the non-negativity constraint for the corresponding colours’ tristimulus
values with the minimisation of the colour differences between the tristimulus values
of the corresponding colours obtained by visual observations and tristimulus values of
the corresponding colours predicted by the model, which resulted in a constrained
non-linear optimisation problem. A revised matrix is established using the MATLAB
routine “ fmincon ”.
The performances of the CAT02 with various matrices including the original CAT02
matrix and the new matrix are tested using the visual data sets and the optimum
colours. Test results show that the CAT02 with the new matrix successfully predicted
corresponding colours’ tristimulus vales without negative values for all optimum
colours and colour matching functions of two standard observers under the test
illuminants considered. However, accuracy with the new matrix for predicting the
visual data becomes about 1 CIELAB colour difference unit worse compared with the
original CAT02. It seems that the accuracy has to be sacrificed in order to ensure the
non-negativity constraint for the tristimulus values of the corresponding colours.


Implement search

Search doesn't seem to work with github-pages 206 version

Search doesn't work since the site is hosted on GitHub Pages

Search doesn't work since the site is hosted on GitHub Pages


Running Error

Hi, it's quite a nice work you have made.  So I tried to re-implement it based on the code and command you published. However, when I directly runs your code on the synthetic data, following your commands. The generated testing images are all white, here is my running command:
nohup python -u train_nerd.py --datadir /home/ma-user/work/zhl/nerd_pro/nerd_data/synthetic/Car --basedir /home/ma-user/work/zhl/nerd_pro/nerd --expname car --gpu 0,1,2,3 --spherify --config configs/nerd/blender.txt > logs/car4.out 2>&1 &
Where the 'basedir' is the directory that contains 'train_nerd.py'. I tried both to add or not add the 'spherify' option, but the generated testing images are all white. Could you give me some suggestions?

I meet the same problem. Did you find any solution?


[Feature request] develop branch support

Idea
Latest release was in May 2, 2022 (v2.3), but since then the developer fulfilled a lot of the feature requests in the develop branch: https://github.com/yaser01/mkv-muxing-batch-gui/compare/main...develop
Is it possible to add support of this branch via a separate docker image tag?

Do you know when the next version will be officially released ?

No, I could not find any info on that

Version 2.4 has been integrated into the latest Docker image.  I think we can close this issue.


Helm chart fails to install with TLS and Auth enabled - failed to sync secret cache: timed out waiting for the condition

Describe the bug
After enabling TLS and Authentication, the helm chart fails to install. (The pods hang in an invalid state.)
The issue preventing the pods from starting appears to be this:

MountVolume.SetUp failed for volume "zookeeper-certs" : failed to sync secret cache: timed out waiting for the condition

It is not clear why the secret cache is timing out.
To Reproduce
Here are the exact steps to reproduce this issue:
$ git clone https://github.com/apache/pulsar-helm-chart
$ cd pulsar-helm-chart
$ cat > ./examples/values-minikube.yaml
volumes:
  persistence: false
affinity:
  anti_affinity: false
components:
  autorecovery: false
zookeeper:
  replicaCount: 1
bookkeeper:
  replicaCount: 1
broker:
  replicaCount: 1
  configData:
    autoSkipNonRecoverableData: "true"
    managedLedgerDefaultEnsembleSize: "1"
    managedLedgerDefaultWriteQuorum: "1"
    managedLedgerDefaultAckQuorum: "1"
proxy:
  replicaCount: 1
tls:
  enabled: true
  bookie:
    enabled: true
  autorecovery:
    enabled: true
  toolset:
    enabled: true
  proxy:
    enabled: true
  broker:
    enabled: true
  zookeeper:
    enabled: true
auth:
  authentication:
    enabled: false
    provider: "jwt"
    jwt:
      usingSecretKey: false
  authorization:
    enabled: true
  superUsers:
    broker: "broker-admin"
    proxy: "proxy-admin"
    client: "client-admin"

(ctrl + c)
$ minikube start --memory=8192 --cpus=4
$ ./scripts/pulsar/prepare_helm_release.sh -n pulsar -k pulsar-mini -c --pulsar-superusers superadmin,proxy-admin,broker-admin,client-admin
$ ./scripts/pulsar/upload_tls.sh -k pulsar-mini -d ./.ci/tls
$ helm install --values examples/values-minikube.yaml pulsar-mini apache/pulsar

$ kubectl get pods -n pulsar
shows them hanging in incomplete state
$ kubectl describe pods -n pulsar
shows this issue:

Warning  FailedMount  7m11s  kubelet            MountVolume.SetUp failed for volume "zookeeper-certs" : failed to sync secret cache: timed out waiting for the condition

Here is some additional context provided when running describe on the zookeeper pod:

Name:           pulsar-mini-zookeeper-0
Namespace:      pulsar
Priority:       0
Node:           minikube/<IP_ADDRESS>
Start Time:     Mon, 09 Nov 2020 23:45:21 -0700
Labels:         app=pulsar
cluster=pulsar-mini
component=zookeeper
controller-revision-hash=pulsar-mini-zookeeper-59c4465569
release=pulsar-mini
statefulset.kubernetes.io/pod-name=pulsar-mini-zookeeper-0
Annotations:    prometheus.io/port: 8000
prometheus.io/scrape: true
Status:         Pending
IP:
IPs:
Controlled By:  StatefulSet/pulsar-mini-zookeeper
Containers:
pulsar-mini-zookeeper:
Container ID:
Image:         apachepulsar/pulsar-all:2.6.0
Image ID:
Ports:         2181/TCP, 2888/TCP, 3888/TCP, 2281/TCP
Host Ports:    0/TCP, 0/TCP, 0/TCP, 0/TCP
Command:
sh
-c
Args:
bin/apply-config-from-env.py conf/zookeeper.conf;
/pulsar/keytool/keytool.sh zookeeper ${HOSTNAME}.pulsar-mini-zookeeper.pulsar.svc.cluster.local false; bin/generate-zookeeper-config.sh conf/zookeeper.conf; bin/pulsar zookeeper;
State:          Waiting
  Reason:       ContainerCreating
Ready:          False
Restart Count:  0
Requests:
  cpu:      100m
  memory:   256Mi
Liveness:   exec [bin/pulsar-zookeeper-ruok.sh] delay=10s timeout=1s period=30s #success=1 #failure=10
Readiness:  exec [bin/pulsar-zookeeper-ruok.sh] delay=10s timeout=1s period=30s #success=1 #failure=10
Environment Variables from:
  pulsar-mini-zookeeper  ConfigMap  Optional: false
Environment:
  ZOOKEEPER_SERVERS:  pulsar-mini-zookeeper-0
Mounts:
  /pulsar/certs/ca from ca (ro)
  /pulsar/certs/zookeeper from zookeeper-certs (ro)
  /pulsar/data from pulsar-mini-zookeeper-data (rw)
  /pulsar/keytool/keytool.sh from keytool (rw,path="keytool.sh")
  /var/run/secrets/kubernetes.io/serviceaccount from default-token-vtl5l (ro)

Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
pulsar-mini-zookeeper-data:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
zookeeper-certs:
Type:        Secret (a volume populated by a Secret)
SecretName:  pulsar-mini-tls-zookeeper
Optional:    false
ca:
Type:        Secret (a volume populated by a Secret)
SecretName:  pulsar-mini-ca-tls
Optional:    false
keytool:
Type:      ConfigMap (a volume populated by a ConfigMap)
Name:      pulsar-mini-keytool-configmap
Optional:  false
default-token-vtl5l:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-vtl5l
Optional:    false
QoS Class:       Burstable
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type     Reason       Age    From               Message

Normal   Scheduled    7m12s  default-scheduler  Successfully assigned pulsar/pulsar-mini-zookeeper-0 to minikube
Warning  FailedMount  7m11s  kubelet            MountVolume.SetUp failed for volume "zookeeper-certs" : failed to sync secret cache: timed out waiting for the condition
Normal   Pulling      7m9s   kubelet            Pulling image "apachepulsar/pulsar-all:2.6.0"

Expected behavior
Installing the helm chart with the provided values should start the Pulsar cluster in minikube with TLS and authentication enabled.
Environment:
😄  minikube v1.14.2 on Darwin 10.15.7
✨  Using the docker driver based on existing profile
🐳  Preparing Kubernetes v1.19.2 on Docker 19.03.8 ...
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  kubectl is configured to use "minikube" by default

This error is misleading. The problem was actually that the TLS certificate names didn't match. Closing this.


Create TrappingRainwater(42.)

Great work @Patel7Manav please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


Support for $ref in JSON schemas

Currently json schemas might not be found with the $ref. Have a way to make it work

https://opis.io/json-schema/2.x/php-loader.html

Addressed in Release v1.2.2


feat(client): ✨ Add Sign-in Page

Users are able to sign-in with Google, Microsoft or email and password.

Closing because changes are in pull request #76


Responsive staticCss not generated when completely overriding presets

Description
Not sure if this is expected behavior or not.
With this config:
  staticCss: {
    css: [
      {
        properties: {
          margin: ["*"],
        },
        responsive: true,
      },
    ],
  },

I get this css:
@layer utilities{

  .m_auto {
    margin: auto;
}

  @media screen and (min-width: 40em) {
    .sm\:m_auto {
      margin: auto;
}
}

  @media screen and (min-width: 48em) {
    .md\:m_auto {
      margin: auto;
}
}

  @media screen and (min-width: 64em) {
    .lg\:m_auto {
      margin: auto;
}
}

  @media screen and (min-width: 80em) {
    .xl\:m_auto {
      margin: auto;
}
}

  @media screen and (min-width: 96em) {
    .\32xl\:m_auto {
      margin: auto;
}
}
}

With this config:
  presets: [],
  staticCss: {
    css: [
      {
        properties: {
          margin: ["*"],
        },
        responsive: true,
      },
    ],
  },

I get this css:
@layer utilities{

  .m_auto {
    margin: auto;
}
}

Link to Reproduction
https://play.panda-css.com/8ATd83Lt2U
Steps to reproduce
Run panda on a project with a config file containing the following:
  presets: [],
  staticCss: {
    css: [
      {
        properties: {
          margin: ["*"],
        },
        responsive: true,
      },
    ],
  },

JS Framework
No response
Panda CSS Version
0.30.2
Browser
No response
Operating System

[ ] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Hi @adbutterfield,
This is by design. Adding presets: [] effectively means knocking off Panda's default theme.
With all the tokens removed, there's nothing to generate on Panda's side. You need to provide spacing tokens in the theme to see some results in static CSS.
The default Panda theme is located at @pandacss/dev/presets. To include that in your preset, add it like so:
presets: ['@pandacss/dev/presets']

Ah! Sorry. I think I should have provided a better reproduction. I should have also put my token classes in the issue description...
Please check out this StackBlitz:
https://stackblitz.com/edit/vitejs-vite-s1kvrb?file=panda.config.ts
If you change presets and run npm run build and then check the styled-system/styles.css you can see what I mean.

@segunadebayo should I raise a new issue? Or can someone reopen an investigate if it's indeed a bug?


fix: dont use __dirname

as requested in https://github.com/onramper/fast-geoip/issues/17

any update on this?

@veloii Merged, sorry for the huge delay 😔


Web UI: support custom data types in drop-down and multiple-choice lists

From<EMAIL_ADDRESS>on June 20, 2013 16:02:54
We have discussed custom XSD datatypes, and they are becoming more relevant as we start implementing support for TTS.
The Web UI should be ready for this.
Custom XSD Datatypes: http://code.google.com/p/daisy-pipeline/wiki/ScriptMetadataCleanup#Custom_XSD_Data_Types
Original issue: http://code.google.com/p/daisy-pipeline/issues/detail?id=331

see https://github.com/daisy/pipeline-framework/pull/84

This issue was moved to daisy/pipeline-webui#42


fixed issue with window.opener check

#132

@rohitnarula7176,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Set up the development environment

As a software developer
I need to set up the development environment
So that I can efficiently work on the project
Details and Assumptions

The development environment includes the necessary tools, libraries, and configurations.

Acceptance Criteria
Given I am starting work on the project
When I follow the setup instructions
Then my development environment is ready for use


Non-leading @jsxImportSource pragma is emitted as import

Using Deno with --no-check.
Input code
console.log(1);
/** @jsxImportSource foo */
console.log(

);

Expected
In tsc, the pragma comment is ignored because there is code before it, and it must be a leading comment.
console.log(1);
console.log(/*#__PURE__*/ React.createElement("div", null));

Actual
import { jsx as _jsx } from "https://esm.sh/preact/jsx-runtime";
console.log(1);
console.log(/*#__PURE__*/ _jsx("div", {}));

Version
swc_ecma_transforms_react 0.53.0

This is intended, as mdx-loader emits non-leading /** @jsxImportSource foo */

This is intended, as mdx-loader emits non-leading /** @jsxImportSource foo */

I think this should be an extended compatibility option, since it doesn't comply with tsc. Or it's just an mdx-loader bug. In Deno this case can lead to something like a panic because these aren't picked up at the static "prepare module load" step but the import is emitted.

But babel supports this by default.

@kdy1 It doesn't look like it: https://www.typescriptlang.org/play?#code/MYewdgziA2CmB00QHMAUBGAlAbgFAHoAqQgAgAEArCADwEkBbABxACcAXAZRAFcXhYSAMxAgShfLlCQYCJGgA8AEwCWANwB88-Co04gA whereas when the pragma is on top, React.createElement() is replaced with _jsx() showing the pragma is respected only when leading.
One thing I couldn't figure out is that swc does seem to be scanning leading comments only: https://github.com/swc-project/swc/blob/017392aa5b681e4a8240259e7e26709b7160d623/crates/swc_ecma_transforms_react/src/jsx/mod.rs#L929-L934 so I don't know how this is the current behaviour.

Why are you linking to the typescript playground?

FYI, https://github.com/swc-project/swc/blob/017392aa5b681e4a8240259e7e26709b7160d623/crates/swc_ecma_transforms_react/src/jsx/mod.rs#L1038-L1045
This is the reason.

Why are you linking to the typescript playground?

Oops :P I searched "babel TS playground" and used the first link without looking. Babel does indeed match current swc behaviour. I guess we'll keep the current work around...

I think patch will be quite simple.


Repo sync for protected CLA branch

The pull request is created from main638036136408455923sync_temp to main to fix git push error for protected CLA branch

Learn Build status updates of commit 61e5835:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Implement STM part 8

Codecov Report

Merging #43 (1bb6473) into main (45b21b2) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   72.12%   72.08%   -0.05%
==========================================
  Files           1        1
  Lines         940      942       +2
  Branches      261      263       +2
==========================================
+ Hits          678      679       +1
+ Misses         31       28       -3
- Partials      231      235       +4

Impacted Files
Coverage Δ

include/hspp.h
72.08% <100.00%> (-0.05%)
:arrow_down:

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 45b21b2...1bb6473. Read the comment docs.


Idk what im supposed to do when it says this:

I get this whenever i compile the game:
C:\Users\user\Desktop\Marinluvcat's Animations and Videos\some stuff\Kade-Engine-0.2.0>lime test windows
source/PlayState.hx:99: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
Sys_error("export/release/windows/obj/Options.txt: Permission denied")
C:\Users\user\Desktop\Marinluvcat's Animations and Videos\some stuff\Kade-Engine-0.2.0>
My ver is 0.2.0 and im using this ver bc polymod has errors for me lik when i compile the game in earlier ver it doesnt work and it says that polymod in the code is not the right thing to use for some reason
if anyone knows how to fix this then please reply to this.

Edit: The same thing happenes even in the newest ver

it's ok how i think
i building kade engine with the same warnings but nothing terrible happens