Error: Error building site: failed to render pages: render of "page" failed

After adding theme, I am getting following error.
I have tried with brand new site, without any content, facing the same issue.
➜  quickstart git:(master) ✗ hugo server -D
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:3:4: executing "_default/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: _internal/opengraph.html:41:17: executing "_internal/opengraph.html" at <index $siteSeries $name>: error calling index: index of untyped nil
➜  quickstart git:(master) ✗ hugo version
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z
➜  quickstart git:(master) ✗ cat config.toml
baseURL = "https://example.com"
languageCode = "en"
DefaultContentLanguage = "en"
title = "My Website"
theme = "anatole"

@Dicky1 Thanks for bringing this to my attention. The error comes from the Opengraph implementation, which expects a series configured in the config.toml. Simply add:
## Taxanomies for Opengraph
[taxonomies]
  series = "series"

I will update the example config accordingly.


Support countryCodes optional parameter

Plaid Canadian support for Canada came a years back (https://blog.plaid.com/plaid-in-canada/), but you need to specify a countryCode optional parameter to choose, and leaving it empty or not used will result in using the US by default.

Just released v1.4.1 with countryCodes + language support!


Creating Incoming Webhook and outgoing webhook

The information is incomplete. What I would like a full working example step by step how I can use this. Just now I do not have all the information here.  Ideally you can say if in curl the webhook can be invoked this way this how you will configure it in teams.

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

ID: 90ff2a84-a8bc-9259-d37d-622b102df75b
Version Independent ID: e3b53e27-2946-189c-623b-9df704ea8f12
Content: Post external requests to Microsoft Teams with incoming webhooks - Teams
Content Source: msteams-platform/webhooks-and-connectors/how-to/add-incoming-webhook.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: laujan

@mdhruv1 Could you please check this document to see how to configure an incoming webhook to Team?

Thanks for sharing. What I am missing is an example of the post or get of the webhook url
The document shows us the steps but not an example content .
That is my challenge
Thanks
Dhruv
from my iPad

On May 18, 2020, at 12:29 AM, Gousia-MSFT<EMAIL_ADDRESS>wrote:
@mdhruv1 Could you please check this document to see how to configure an incoming webhook to Team?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@mdhruv1 Once you have the webhook url, you could use Fiddler/Postman to make a post inside Team. Could you please try Sending messages to connectors and webhooks

Please re-open if you still have any queries.


Can you add multiple servers support

ie. more than on server to monitor...
at least what I'd like to have in an app :) maybe it is already planned and done... I was looking at the app store version...
Best

You are looking to create your own custom servers presets to switch between?

I have more then one server I'd like to monitor/ if its up and running (node).
Ie. Delegate node and other nodes, the view can be the same, just add one step before - to select server (ip, port) from list of saved servers and then view the stats... you

@kristjank #5 PR adds this functionality. Not sure when it will be merged and pushed to the store. If you have a mac and Xcode, you can try it out yourself

I will review the #5 PR in the next few hours, if everything is ok, I will generate a new version and send it to appstore. Thanks guys.

awesome, looking forward to it.

resolved in #5 PR

The new version will probably be available next week in the appstore.


New Multiple delimiter symbols

close #10

Coverage increased (+0.003%) to 99.089% when pulling 2a4d88554f3c2b3057cf5355e4d79aa40a8240a4 on dota17:ISSUE#10 into 208d3082cd5cdab39da8873cf741f8b672d1af5b on super-csv:master.

Maybe it would be worth to use Strategy pattern so that there will be on strategy when just a char is used and will not introduce performance penalty and another strategy which will work with a String as delimiter. Does it make sense?

Ok, thank you. It is a very good suggestion, I will carefully consider it.


Thanks for the earlier answer. Do you have any previous model test results of training directly in ADE20K without using classification pre-training?

I'm using your model directly, with the configuration unchanged, just setting the pre-trained model to None. Do you think the 80000iter training is reasonable?


What you think about merging statusline with commandline in some way?

Usually I have enough of space to see -- INSERT -- in the statusline.
I was looking for the solution and found only this question.

That is already partly possible. In your statusline, you can put the mode into it by making use of a function. Then you can disable 'showmode'

But set noshowmode do not hide the empty line - this is the purpose to merge them.

the empty line is for entering commands. There is 'cmdheight' setting, but it does not allow to be set to zero. Duplicate of #940


Include AZKS storage get error message in read only mode

Will help with debugging any errors thrown from the Storage layer.

g.dev/techdigital

Regards> g.dev/techdigital


scaffold doesn't show default boilerplate variables

Describe the bug
This could be a feature request instead.
If I define default variables in the boilerplate.yml they don't show up in the scaffold output when entering in variables.
When I run terragrunt scaffold /<module-location>//<module-name> I get the following output:

When I run ./boilerplate_linux_amd64 --template-url /module-name/.boilerplate/ --output-folder /output I get the following output:

I may misunderstand as I thought scaffold was supposed to have similar features to boilerplate, but maybe I don't understand the intent.
Steps To Reproduce
These steps are using a local module in a monorepo.

Create /.boilerplate/boilerplate.yml with variables that have defaults
Run terragrunt scaffold <module-location>//<module-name>
Provide variable input

Example boilerplate.yml used
# boilerplate.yml
  - name: Region
    description: The region for where to deploy this infrastucture.
    type: string
    default: us-gov-west-1
  - name: Tenant
    description: The region for where to deploy this infrastucture.
    type: string
    default: common
  - name: Resource
    description: The region for where to deploy this infrastucture.
    type: string

Expected behavior
I expect terragrunt scaffold to have similar behavior as boilerplate as the usage is similar.
Versions

Terragrunt version: terragrunt version v0.56.2
OpenTofu/Terraform version: Terraform v1.8.1
Environment details (Ubuntu 20.04, Windows 10, etc.): Running in devcontainer with the following:

cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Additional context
I am hoping terragrunt scaffold to be similar to boilerplate, but if that is not the intent then maybe I should use boilerplate instead as it has more features.

Hey @platymatt ,
Scaffold is an opinionated command that runs Boilerplate in a way that is considered optimal for most users trying to leverage code generation via Terragrunt.
That isn't to say it can't expand in functionality, though!
If you're familiar with Golang, I'd really like to welcome you to become a contributor to help make scaffold the kind of tool you're hoping to have. I'm happy to support you on the process of adjusting the functionality, as long as there are still good defaults, and smart controls.
You can see here how scaffold sets up Boilerplate usage, and you can see here the options that Boilerplate exposes.
You can also see an example here of me proposing an adjustment to how Scaffold works by introducing a new flag.
If you're interested in getting involved, I recommend joining the Discord too, so you can reach out to us if you need any guidance on best practices, etc. I think that will be the fastest way to get this issue and #3652 resolved to your satisfaction.

Thank you for your response. I am not familiar or experienced in Golang yet, but desiring to get started. I would be willing to contribute.


Named fun not parsable

Although we refer to funs as anonymous functions, Erlang (unlike Elixir) actually supports named funs since Erlang 17 to support self-recursion, such as
fun F({A,_,_},{B,_,_}) ->
                       F(A,B);
                   F(A,B) ->
                       A =< B
               end

Affects the following files in OTP:

lib/kernel/src/code.erl
lib/kernel/src/logger_simple_h.erl
lib/runtime_tools/src/msacc.erl

This should be fixed by https://github.com/eirproject/eir/commit/ef2c1c968aef80f3ccdf375972bc056f66730306

Confirmed.  code.erl, logger_simple_h.erl and msacc.erl no longer show this error.


[SPARK-32140][ML][PySpark] Add training summary to FMClassificationModel

What changes were proposed in this pull request?
Add training summary for FMClassificationModel...
Why are the changes needed?
so that user can get the training process status, such as loss value of each iteration and total iteration number.
Does this PR introduce any user-facing change?
Yes
FMClassificationModel.summary
FMClassificationModel.evaluate
How was this patch tested?
new tests

Test build #124694 has started for PR 28960 at commit 0fac436.

Merged build finished. Test PASSed.

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

Test build #124694 has finished for PR 28960 at commit 0fac436.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #124695 has started for PR 28960 at commit 0a43c5f.

Merged build finished. Test PASSed.

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

Test build #124695 has finished for PR 28960 at commit 0a43c5f.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #124696 has started for PR 28960 at commit 35edf01.

Merged build finished. Test PASSed.

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

Test build #124696 has finished for PR 28960 at commit 35edf01.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #124711 has started for PR 28960 at commit ba3384d.

Merged build finished. Test PASSed.

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

Test build #124711 has finished for PR 28960 at commit ba3384d.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Looks like it needs a rebase after I merged your other commit

Test build #124830 has started for PR 28960 at commit 5b6ecb9.

Merged build finished. Test PASSed.

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

Test build #124830 has finished for PR 28960 at commit 5b6ecb9.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Weird, a Python 2 failure?
======================================================================
FAIL: test_fm_classification_summary (pyspark.ml.tests.test_training_summary.TrainingSummaryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 345, in test_fm_classification_summary
    self.assertAlmostEqual(s.weightedTruePositiveRate, 0.5, 2)
AssertionError: 1.0 != 0.5 within 2 places

This is a python 2 failure only, python 3 is OK. I think I can simply change test data to get around this, but I found one more problem that I didn't have time to fix yet.
I will be extremely slow in these couple of weeks. Taking some time off :)

Test build #125718 has started for PR 28960 at commit 77aefd8.

Merged build finished. Test PASSed.

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

Test build #125718 has finished for PR 28960 at commit 77aefd8.

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

Merged build finished. Test PASSed.

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

Test build #125809 has started for PR 28960 at commit 0767117.

Build finished. Test PASSed.

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

Merged build finished. Test PASSed.

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

Test build #125809 has finished for PR 28960 at commit 0767117.

This patch fails due to an unknown error code, -9.
This patch does not merge cleanly.
This patch adds no public classes.

Test build #125810 has started for PR 28960 at commit 9a58603.

Build finished. Test FAILed.

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

Test build #125810 has finished for PR 28960 at commit 9a58603.

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

Merged build finished. Test PASSed.

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

I think you can go ahead and merge this

Merged to master. Thanks @srowen @zhengruifeng for reviewing!


[Bug] temporary memory of job increases massive when using CLOB/JSON field in SQL-request

Describe the bug
While using "DB2 for i" nodes in Node-RED for a REST-API-application we discovered a massive usage of temporary memory of QP0ZSPWT-job.
It increases the value by 1 MB for 10 requests.
Analysis showed that the behaviour occurs in the idb-connector as well as in the odbc package.
Finally the usage of a clob-field in a sql view with DB2-JSON-aggregate functions is the root of the problem.
All other connection-properties can be neglected.
See further description here:
https://github.com/IBM/nodejs-idb-connector/issues/156

Meanwhile there was a proposal for a workaround in the referenced thread.
In our project we casted the clob-fields in the SQL-statements to varchar.
This solved the issue but we are limited to a small number of characters.
Unfortunately I haven't got time to check the other workaround.

Since this issue occurs in both idb-connector and node-odbc, it is likely an issue in the database. For performance reasons, LOBs are left open up to a certain threshold so this could be using more memory in the server jobs though I don't know for sure (you'd have to talk to a database expert). See QAQQINI option LOB_LOCATOR_THRESHOLD for more info.

Talked to Scott Forstie (IBM i, DB2 Expert) this week at
Common-Conference in Germany. He experienced a similar situation and
might have a solution for this. Maybe you can verify that?!?


Add several animation button by experimenting #GSSoc'23

This is a(n):

[ ] Update to an existing Animated Button
[ ] Any Error
[x] Proposal to the Repository
[ ] Documentation / README.md changes

Details:

Want to add new animation buttons by experimenting with Html, CSS and Javascript.

i would like to work on this issue.
Kindly assign it to me

@demonigod I apologise, if I understand correctly, you want to work on the issue as well. Please create an identical issue, I will assign it to you

@Poorvi i have raised the PR  and  created the  animated button under
public>Buttons THE name of my folder is (shreyal0007). Kindly see it.
On Tue, 23 May 2023 at 00:01, Poorvi @.***> wrote:

@demonigod https://github.com/demonigod I apologise, if I understand
correctly, you want to work on the issue as well. Please create an
identical issue, I will assign it to you
—
Reply to this email directly, view it on GitHub
https://github.com/Spyware007/Animating-Buttons/issues/354#issuecomment-1557703146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYXNY2RXEC6RMCDPQK3DCDDXHOWIHANCNFSM6AAAAAAYJM5SLU
.
You are receiving this because you were assigned.Message ID:
@.***>

@PoorviShetty I am not able to understand please help, i issue i have created but you assigned this to someone else?!! Do i have to make a issue now ?

Yeah sorry, just create a similar issue, I will assign it to you @demonigod

sure, i have created the issue.

Hi, are you still working on this issue? If you've already made a PR with the changes that have been merged then please close the issue. If you have an open PR, please mention this issue number in your PR in order to link them. @shreyal0007


fix: remove Fragments and switch statement from File System Route API approach on README

Fixed content at File System Route API section:

[x] Remove Fragments as it won't work with sbEditable
[x] Change slug query into full_slug query to dynamically create pages with folder nested layout
[x] Remove switch statement for allowing to create of more numbers of components in a clean structure
[x] Add DynamicComponent & sbEditable in FIle System Route API, rendering Storyblok content

As I (we) tested and we made sure the above PR works, I grant to merge this PR. There has been a communication internally that this PR can be merged by me.


fixcheck functionBuilders is not null before using it

Proposed changes
pick from master https://github.com/apache/doris/pull/38457

run buildall

run feut


Invalid memory access (signal 11) when invoking a stored Proc from a C callback

After issue #1973 has been fixed, I have updated my code and kept working on it a bit.
This time, I have managed to utilize a C callback, avoiding Closures, using Box etc. etc. But invoking a Proc that I have stored in an instance variable crashes. Even though it looks like I'm successfully unboxing my instance. Might be my mistake, but couldn't figure out yet.
Full Code: (2 files) https://gist.github.com/furkanmustafa/4e07a7216716c0a78d6d
Partial Code: (the part that it invokes the error below)
  class Timer
    def initialize(_loop : UV::Loop)
      _loop = Loop.default unless _loop
      @timer = LibUV::UvTimerS.new
      LibUV.timer_init(_loop._underlyingloop, pointerof(@timer))
      @timer.data = Box.box(self)
      puts "Boxed our timer<EMAIL_ADDRESS>into UvTimer(#{pointerof(@timer).to_s})"
    end

    def run_action
      puts "Calling the! action"
      if action = @action
        action.call # <<< POINT OF CRASH
      end
    end

    def start(timeout, repeat, &action)
      puts "Starting timer"
      @action = action
      proc = ->(_handle : LibUV::UvTimerS*, status : LibC::Int) {
        puts "Reviving underlying timer from #{_handle.to_s}"
        _uv_timer = _handle.value
        puts "Reviving our timer: #{_uv_timer.to_s}.data = #{_uv_timer.data.to_s}"
        timer_instance = Box(UV::Timer).unbox(_uv_timer.data)
        puts "Calling run_action"
        timer_instance.run_action
      }
      LibUV.timer_start(pointerof(@timer), proc, timeout, repeat)
    end

    def stop
      LibUV.timer_start(pointerof(@timer))
    end

    def again
      LibUV.timer_again(pointerof(@timer))
    end
  end

Output:
$ crystal main.cr
Will quit in a bit
Boxed our timer: Pointer(Void)@0x1113f20 into UvTimer(Pointer(LibUV::UvTimerS)@0x111df08)
Starting timer
(waits 5 seconds here)
Reviving underlying timer from Pointer(LibUV::UvTimerS)@0x111df08
Reviving our timer: LibUV::UvTimerS(@data=Pointer(Void)@0x1113f20, @loop=Pointer(LibUV::UvLoopT)@0x7f2baa1bc900, @type=UvTimer, @close_cb=#<(Pointer(LibUV::UvHandleT) -> Void):0x0>, @handle_queue=LibUV::NgxQueueT(), @flags=0, @next_closing=Pointer(LibUV::UvHandleT).null, @tree_entry=LibUV::UvTimerSTreeEntry(@rbe_left=Pointer(LibUV::UvTimerS).null, @rbe_right=Pointer(LibUV::UvTimerS).null, @rbe_parent=Pointer(LibUV::UvTimerS).null, @rbe_color=24576), @timer_cb=#<(Pointer(LibUV::UvTimerS), Int32 -> Void):0x41d500>, @timeout=0, @repeat=0, @start_id=0).data = Pointer(Void)@0x1113f20
Calling run_action
Calling the! action
Invalid memory access (signal 11) at address 0x13e910b2
[4321573] *CallStack::print_backtrace:Int32 +117
[4306376] __crystal_sigfault_handler +56
Program exited because of a segmentation fault (11)

Crystal 0.17.3 (Fri May 20 19:28:36 UTC 2016), on Arch Linux, Linux 4.6.0

Just confirmed that problem occurs at 0.17.4 [032ab91] too.

That does in fact look like a codegen bug, the following diff works around:
diff --git a/libuv.cr b/libuv.cr
index e269438..3567a07 100644
--- a/libuv.cr
+++ b/libuv.cr
@@ -664,7 +664,9 @@ module UV
   end

   class Timer
+    @action : ->
     def initialize(_loop : UV::Loop)
+      @action = -> { Pointer(Void).null.value }
       _loop = Loop.default unless _loop
       @timer = LibUV::UvTimerS.new
       LibUV.timer_init(_loop._underlyingloop, pointerof(@timer))

Perhaps related, doing just @action = -> { } throws
in ./libuv.cr:669: instance variable '@action' of UV::Timer must be ( -> Void), not ( -> Nil)

      @action = -> { }

and that with @action : -> Void? throws
in ./libuv.cr:669: instance variable '@action' of UV::Timer must be ( -> Void?), not ( -> Nil)

      @action = -> { }

On another note, you are aware that Crystal already includes libevent and uses it for all stdlib IO operations? For example to port your example
spawn do
  loop do
    sleep 5
    puts "Wow timer"
  end
end

sleep

The local proc variable is passed to C but never retained in Crystal code: the GC will collect it. No?

My first thought too, but no. the proc literal generates a function and merely a pointer to that function is passed, the local var is eliminated.

Whenever you get a segfault, one first has to check that the bindings are correct. A wrong binding for a struct, for example missing to map some fields, will result in some parts of the stack being corrupted.
Compiling a C program and checking sizeof(struct uv_timer_s) gives 152, but then sizeof(LibUV::UvTimerS) gives 128. I added this:
    more : Int8[24]

to the struct definition and it started working well.
Why are you binding to libuv? Crystal already has non-blocking IO. It uses libevent, but that could change in the future.

Oh, I forgot to mention that if you print @action inside Timer#run_action for me it said:
#<( -> Void):0x4b12676:closure>

but printing @action after it was set I got:
#<( -> Void):0x106d67480>

so it seems @action changed. That almost always means the stack got corrupted, somehow. It could mean a compiler bug too, but that wasn't the case here :-)

Ouch. @asterite thanks! Then it's probably my libuv version has changed drastically since when I have prepared that binding file. Or I've messed up badly when generating it.
I can confirm that segfault doesn't occur anymore. There is an issue of callback getting called infinitely when the timer fires, but that's another issue that I need to study and understand first.
Btw, for the reason I'm messing with libuv ; I'm just trying to play with crystal, bindings, and also trying to get libuv's event loop running here.
For the issue; libuv.cr:669: instance variable '@action' of UV::Timer must be ( -> Void?), not ( -> Nil) that doesn't happen for me at the moment, but happened a few times on several other places. It's probably a different issue.
Closing the issue, thanks, and sorry for my mistake there.

@asterite did I miss something in the new type inference rules that still allows this to compile?
class Foo
  def bar(&block)
    @action = block
  end

  def baz
    if action = @action
      action.call
    end
  end
end

foo = Foo.new
foo.bar do
  puts "hi"
end
foo.baz

https://carc.in/#/r/103l
Also what about the other (two) issue(s) I mentioned?
https://carc.in/#/r/103m and https://carc.in/#/r/103n, shouldn't Void vanish/accept everything?

@jhass The last snippet is fine, I added that rule in the last version. The compiler knows block doesn't have arguments and returns void, so it infers that.
Then, https://carc.in/#/r/103m should compile, and I actually faced this a couple of times. I guess merging proc types where one returns void and the other doesn't, with the same argument types, should give a proc that returns void.
For https://carc.in/#/r/103n, not sure. Void? looks strange.

Oh, the Void? shouldn't compile, the correct type would be (-> Void) | (-> Nil).
Another idea I had these days is to remove Void from the language. Nil would take that meaning. We could use alias Void = Nil for the upgrade process.
Basically, Void is a type that behaves different than other types: you can't inspect it, you can't use it, it's not very intuitive. Methods retuning nil, in the codegen, would generate functions that return void. lib calls returning Void would now return Nil, meaning "nothing is returned", but you can print it. For example, right now you can't do:
lib LibFoo
  fun foo
end

def print_something(obj)
  puts obj
end

print_something 1 # ok
print_something LibFoo.foo # error, undefined method 'to_s' for Void

you have to use an if is_a?(Void) as a special case.
Basically, Void belongs to C. In a language where there are no statements and everything is an expression and everything has a value, maybe Void shouldn't be a type.
But I'm still not 100% convinced about this.

I actually like that idea very much, Void always felt "not right" to me. If the method it returns something, it's clear that nil is a null pointer, if it's a void method, well, what do you care what nil means here.

@jhass Exactly! nil basically means I don't care about this value.
I'm thinking, what bothers me about having Proc(Void) and then having ->{ ... } not be compatible is that there's no way to easily produce a void value. I can't do ->{ void }. However, if Void disappears and is replaced with Nil, I can simply do ->{ ... ; nil }, and it's pretty explicit that I don't care about the return value. However, I'd still like to consider #2672 in this, because it's obvious that the instance variable has a proc that doesn't care about the return type, so assigning a proc that does care about the return type should be implicitly convertible.

I'll open a separate RFC for this. I think it can simplify the language and the compiler too.

@furkanmustafa No worries, binding to big libraries like this is always a headache. We'd like to improve this in Crystal, we still don't know how.

for example missing to map some fields, will result in some parts of the stack being corrupted.

This just helped me a lot heh. So much for being lazy


Second iteration hub plasmids not marked in visualisation

Hub plasmids get marked with a black star in the visualisation, and there's a toggle button that removes them, but any hub plasmids found in later iterations are black circles and don't get removed in the toggle. It also doesn't count them as present in the visualisation (even though they do get listed in hub_plasmids.csv).

@leoisl is this a hard or easy fix?

Easy if you could send me an example where this happens. Then I can easily reproduce it and fix!


Consider replacing eXpress with Salmon

eXpress has been very good to us, but perhaps it's time to move on.
Reasons:

Salmon is super, uber, mega fast while eXpress is only quite fast
eXpress is limited to 3 threads, Salmon has no limit
Salmon is actively developed by someone unlikely to abandon it any time soon (@rob-p), while eXpress developer has left academia

In order to make the switch we have to confirm they are doing basically the same thing when probabilistically assigning reads, and that there's not too much of a loss in accuracy for the transrate score (there may of course be a gain).

implemented in v1.0.0.beta2 :)


formatNumber  does not support custom  decimal?

source:
var formatNumber = lib.formatNumber = lib.format = function(number, precision, thousand, decimal) {
.......................
number = unformat(number);
.......................
}
Why don't unformat passing parameters to a decimal?   unformat(number, decimal) ?
decimal  Is not equal to  .  。There will be a problem

@tofdragon If you want to use a different decimal value, use settings:
accounting.settings = { number: { decimal: "*"}}

and then, when you do
accounting.unformat(123*456) = 123.456

Use the accouting.js file instead of the accounting.min.js
There seems to be some issue with the accounting.min.js, it does not handle this correctly

@Lakshmi-Sharma    Thank you for your advice
I have to modify the source code  to
var formatNumber = lib.formatNumber = lib.format = function(number, precision, thousand, decimal) {
....................... //add decimal parameter
number = unformat(number, decimal);
.......................
}
The basic test is normal。But don't know how the author's intention, don't know is a bug, or the authors have other meanings

@tofdragon If you change it in the settings, you shouldn't have to add it as a parameter.

@Lakshmi-Sharma   This is a global, in a page will have multiple influence each other

https://github.com/openexchangerates/accounting.js/pull/183


Running Avalonia apps in Windows 11 ARM64 running in Parallels Desktop on Mac M1 gives AccessViolationException

Describe the bug
Using dotnet 7 command line runner under a Windows 11 ARM64 running in Parallels Desktop on a Mac M1 to run .NET 6 or .NET 7 Avalonia dlls fails with an AccessViolationException. That seems to happen with any kind of Avalonia desktop app, I have tried MVVM and non MVVM apps.
Detailed stack trace is e.g.
 dotnet \\Mac\Home\Library\CloudStorage\OneDrive-Persönlich\Documents\AvaloniaNet7MVVMApp2\AvaloniaNet7MVVMApp2.dll
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Avalonia.Win32.WinRT.Impl.__MicroComICompositionGraphicsDeviceProxy.CreateDrawingSurface(SIZE, Avalonia.Win32.WinRT.DirectXPixelFormat, Avalonia.Win32.WinRT.DirectXAlphaMode)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection.CreateWindow(IntPtr)
   at Avalonia.Win32.WinRT.Composition.WinUiCompositedWindowSurface.CreateGlRenderTarget()
   at Avalonia.Skia.GlRenderTarget..ctor(SkiaSharp.GRContext, Avalonia.OpenGL.Surfaces.IGlPlatformSurface)
   at Avalonia.Skia.GlSkiaGpu.TryCreateRenderTarget(System.Collections.Generic.IEnumerable`1<System.Object>)
   at Avalonia.Skia.PlatformRenderInterface.CreateRenderTarget(System.Collections.Generic.IEnumerable`1<System.Object>)
   at Avalonia.Controls.TopLevel.CreateRenderTarget()
   at Avalonia.Controls.TopLevel.Avalonia.Rendering.IRenderRoot.CreateRenderTarget()
   at Avalonia.Rendering.DeferredRenderer.EnsureDrawingContext(Avalonia.Platform.IDrawingContextImpl ByRef)
   at Avalonia.Rendering.DeferredRenderer.UpdateRenderLayersAndConsumeSceneIfNeeded(Avalonia.Platform.IDrawingContextImpl ByRef, Boolean)
   at Avalonia.Rendering.DeferredRenderer.Render(Boolean)
   at Avalonia.Rendering.DeferredRenderer.Avalonia.Rendering.IRenderLoopTask.Render()
   at Avalonia.Rendering.RenderLoop.TimerTick(System.TimeSpan)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection+RunLoopHandler.Invoke(Avalonia.Win32.WinRT.IAsyncAction, Avalonia.Win32.WinRT.AsyncStatus)
   at Avalonia.Win32.WinRT.Impl.__MicroComIAsyncActionCompletedHandlerVTable.Invoke(Void*, Void*, Avalonia.Win32.WinRT.AsyncStatus)
   at Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
   at Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection.RunLoop()
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection+<>c__DisplayClass16_0.<TryCreateAndRegisterCore>b__0()

Output of dotnet --info is
.NET SDK:
 Version:   7.0.102
 Commit:    4bbdd14480

Laufzeitumgebung:
 OS Name:     Windows
 OS Version:  10.0.22621
 OS Platform: Windows
 RID:         win10-arm64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.102\

Host:
  Version:      7.0.2
  Architecture: arm64
  Commit:       d037e070eb

.NET SDKs installed:
  7.0.102 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x64   [C:\Program Files\dotnet\x64]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

To Reproduce
Steps to reproduce the behavior:

compile  and publish Avalonia desktop app with settings any platform , framework dependent into folder with dlls
try to run it with dotnet app.dll under Windows 11 ARM64 running in Parallels Desktop on Apple M1
see error as shown above: it appears the app window comes up shortly but then (on drawing in the window?) the crash occurs

Expected behavior
I expect the app to run i.e. the app window to appear and its content to be drawn.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows, Mac, Linux (State distribution)]
Version [e.g. 0.10.0-rc1 or 0.9.12]
Windows 11 Home ARM64 Version 10.0.22621 Build 22621 running in Parallels 18.1.1 ARM Virtual Machine under Apple M1 Ventura 13.2
Avalonia:

        <PackageReference Include="Avalonia" Version="0.10.18"/>
        <PackageReference Include="Avalonia.Desktop" Version="0.10.18"/>
        <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
        <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.18"/>
        <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.18"/>
        <PackageReference Include="XamlNameReferenceGenerator" Version="1.5.1"/>

Additional context
The same app/dll run directly with dotnet of the MacOS runs fine e.g. dotnet /Users/martin/OneDrive/Documents/AvaloniaNet7MVVMApp2/AvaloniaNet7MVVMApp2.dll brings up the app window and its content fine.
That dotnet is also the ARM64 version:
 OS Name:     Mac OS X
 OS Version:  13.2
 OS Platform: Darwin
 RID:         osx.13-arm64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.102/

The app also runs fine, however, with the Windows x64 dotnet e.g. 'C:\Program Files\dotnet\x64\dotnet.exe' \\Mac\Home\Library\CloudStorage\OneDrive-Persönlich\Documents\AvaloniaNet7MVVMApp2\AvaloniaNet7MVVMApp2.dll.
The crash seems to occur with any app I tried, the stack above is one where I did nothing but change the view model of the created template to e.g.
public class MainWindowViewModel : ViewModelBase
{
    public string Greeting => $"Welcome to Avalonia! {Environment.Version} {Environment.OSVersion} {Environment.ProcessPath}";
}

Also now tried installing Ubuntu 22 ARM64 into a Parallels Desktops virtual machine and running Avalonia desktop apps with the Ubuntu dotnet, apps (so far only .NET 6 as that seems to be the one that is part of Ubuntu's packages) come up and run fine although the terminal window shows some error (libGL error: pci id for fd 79: 1ab8:0010, driver (null)), but at least it is not a complete crash like with Windows. And that probably shows that it is not my app creation/compilation/publishing that is somehow wrong and responsible for the crash in the Windows ARM dotnet, the dlls run fine on the ARM64 MacOS dotnet and the Linux one, only with the Windows one, at least inside of the VM, they crash.

I have now simply used the dotnet ARM windows tool to create and run an app with e.g.
dotnet new avalonia.app -o AvaloniaARM64WinApp1
cd AvaloniaARM64WinApp1
dotnet run

the app window frame appears, then the app window disappears, the terminal window is not showing any error message. If I use dotnet .\bin\Debug\net6.0\AvaloniaARM64WinApp1.dll instead I get the crash stack trace
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Avalonia.Win32.WinRT.Impl.__MicroComICompositionGraphicsDeviceProxy.CreateDrawingSurface(SIZE, Avalonia.Win32.WinRT.DirectXPixelFormat, Avalonia.Win32.WinRT.DirectXAlphaMode)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection.CreateWindow(IntPtr)
   at Avalonia.Win32.WinRT.Composition.WinUiCompositedWindowSurface.CreateGlRenderTarget()
   at Avalonia.Skia.GlSkiaGpu.TryCreateRenderTarget(System.Collections.Generic.IEnumerable`1<System.Object>)
   at Avalonia.Skia.PlatformRenderInterface.CreateRenderTarget(System.Collections.Generic.IEnumerable`1<System.Object>)
   at Avalonia.Controls.TopLevel.CreateRenderTarget()
   at Avalonia.Controls.TopLevel.Avalonia.Rendering.IRenderRoot.CreateRenderTarget()
   at Avalonia.Rendering.DeferredRenderer.EnsureDrawingContext(Avalonia.Platform.IDrawingContextImpl ByRef)
   at Avalonia.Rendering.DeferredRenderer.UpdateRenderLayersAndConsumeSceneIfNeeded(Avalonia.Platform.IDrawingContextImpl ByRef, Boolean)
   at Avalonia.Rendering.DeferredRenderer.Render(Boolean)
   at Avalonia.Rendering.DeferredRenderer.Avalonia.Rendering.IRenderLoopTask.Render()
   at Avalonia.Rendering.RenderLoop.TimerTick(System.TimeSpan)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection+RunLoopHandler.Invoke(Avalonia.Win32.WinRT.IAsyncAction, Avalonia.Win32.WinRT.AsyncStatus)
   at Avalonia.Win32.WinRT.Impl.__MicroComIAsyncActionCompletedHandlerVTable.Invoke(Void*, Void*, Avalonia.Win32.WinRT.AsyncStatus)
   at Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
   at Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection.RunLoop()
   at Avalonia.Win32.WinRT.Composition.WinUICompositorConnection+<>c__DisplayClass16_0.<TryCreateAndRegisterCore>b__0()
   at System.Threading.Thread.StartCallback()

Same exception was fixed in the 11 preview https://github.com/AvaloniaUI/Avalonia/issues/8776

Same exception was fixed in the 11 preview #8776

Hi,
This isn't resolved in Windows Insider Dev Channel builds 25295 and 25300. Same issue on both my Surface Pro X and Volterra.

@snickler is it the latest preview build? It seems you are not using the latest one.
CreateDrawingSurface(SIZE) isn't used anymore, which hints your stack trace is out of dated.
This issue was solved by using CreateDrawingSurface(SIZE_F) instead.

@snickler is it the latest preview build? It seems you are not using the latest one. CreateDrawingSurface(SIZE) isn't used anymore, which hints your stack trace is out of dated. This issue was solved by using CreateDrawingSurface(SIZE_F) instead.

After upgrading to 11.00-preview5

Actually, the build didn't work properly because it errored out with changes needed to FluentTheme? I took the style out and now it just simply shows the transparent window without errors.

@snickler can you open a new issue for the transparent window?
But first, do you build app with "win7-x64" runtime identifier?
Like: "dotnet publish -c Release -r win7-x64" and then check bin/Release/win7-x64/publish folder.
Or try latest master nightly.

@snickler can you open a new issue for the transparent window?
But first, do you build app with "win7-x64" runtime identifier? Like: "dotnet publish -c Release -r win7-x64" and then check bin/Release/win7-x64/publish folder. Or try latest master nightly.

I'm publishing using win10-arm64

Ah, right, important part was to include win10 or win7. Regardless of the arch.

Ah, right, important part was to include win10 or win7. Regardless of the arch.

https://github.com/AvaloniaUI/Avalonia/issues/10405 Created a new issue to track this. Thanks!


Project with path ':react-native-google-sign-in' could not be found in project ':app'.

Hi,
I am getting project not found. I have a try to run but getting error could not be found in project ':app'.
Please help me.
`FAILURE: Build failed with an exception.

Where:
Build file 'C:\Users\Vijay\lavisducagou\android\app\build.gradle' line: 159

What went wrong:
A problem occurred evaluating project ':app'.

Project with path ':react-native-google-sign-in' could not be found in project ':app'.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED`
Thanks.

no solution to this yet?


Python 2 support

The commits makes some minor changes that enable using sphinxcontrib-jupyter with Python 2.
This probably is not a priority for sphinxcontrib-jupyter, as Python 2 is being phased out, and this prevents using Python 3 goodies. However this would be helpful for the SageMath project: we are working hard on Python 3 support, but it will still take months (years?) to get there, and we would like to use sphinxcontrib-jupyter. So we would appreciate if you could accept them.
I ran the tests with Python 2 and just the super fix. With this branch, they pass up to a failure that I also get with Python 3:
[FAIL] _build/jupyter/equation_labels.ipynb and ipynb/equation_labels.ipynb are different:
[{'diff': [{'diff': [{'diff': [{'diff': [{'valuelist': u'-', 'key': 18, 'op': u'addrange'}, {'length': 1, 'key': 18, 'op': u'removerange'}], 'key': 11, 'op': u'patch'}, {'diff': [{'valuelist': u'-', 'key': 27, 'op': u'addrange'}, {'length': 1, 'key': 27, 'op': u'removerange'}], 'key': 24, 'op': u'patch'}, {'diff': [{'valuelist': u'-', 'key': 18, 'op': u'addrange'}, {'length': 1, 'key': 18, 'op': u'removerange'}], 'key': 55, 'op': u'patch'}, {'diff': [{'valuelist': u'-', 'key': 34, 'op': u'addrange'}, {'length': 1, 'key': 34, 'op': u'removerange'}], 'key': 82, 'op': u'patch'}], 'key': u'source', 'op': u'patch'}], 'key': 0, 'op': u'patch'}], 'key': u'cells', 'op': u'patch'}]

The unicode fixes are not exercised by the current tests; I just added them one by one until all our documentation compiled (note: compiling our doc also required some other upcoming patches by @ocayrol).
Thanks in advance!

thanks @nthiery. I don't see this being an issue. I will take a closer look at this tomorrow morning and then I should be able to merge.

and this prevents using Python 3 goodies

@nthiery do you happen to know of a good resource that tracks what can't be used in python3 to enable this to be python2 and python3 compatible? I will add python2 to travis to ensure compatibility for future PR's

Thanks @nthiery I think its a great idea to add imports from __future__. Thanks for the links - I had not come across the second link before - that is really handy. I haven't maintained cross version projects so this is a bit new to me. If you can review my changes and let me know if that is what you had in mind that would be great. Thanks.

That's exactly what I had in mind; thanks!
Looking forward the happy time when we won't have to worry about Python 2 anymore :-)

Thanks @nthiery. Indeed.


Automation workflows

Added request to workflow API to pull down workflow templates
Added radio buttons for choosing between template types
Changes some function names to "*Template" to avoid using the, now more meaningful "Job", keyword...

WIP:

Cluster curator currently provides the status url link we surface to the console when running automation. The URL for workflow jobs is bad.

Example:

lastTransitionTime: "2022-11-23T20:34:22Z"
message: https://ansible-tower-web-svc-tower.apps.collective.aws.red-chesterfield.com/#/jobs/workflow/74928
reason: ansiblejob_url
status: "True"
type: prehookjob-78949

URL should not contain "/Jobs"
I've updated the Jira epic with this issue, hopefully CLC squad can get it squared away.

Testing

Still need to apply changes to our function names and doc strings more broadly to avoid misunderstanding with the "Job" vs "Workflow" keywords

See screenshots:

/lgtm


OCPBUGS-5938: backport cert rotation fix

Problem: There was a bug in fixed in 4.11 where the operator service certificates were not being rotated properly. The current bug asks use to backport those fixed to 4.9
The backported commits are:

https://github.com/openshift/operator-framework-olm/pull/300/commits/8b6a36b4c771be2d247b7b3167f4c477e1301471
https://github.com/openshift/operator-framework-olm/pull/306

Failed, details: https://issues.redhat.com/browse/OCPBUGS-5938
/hold

/retest

/retest

/retest

/retest

Test passed, details: https://issues.redhat.com/browse/OCPBUGS-5938
/unhold
/lgtm
/label cherry-pick-approved
/label qe-approved

/label backport-risk-assessed

/approved

/approved


Can't find app.scss

Since upgrading to ember cli 0.2.0 beta 1 i get this error
<myappname>/tmp/compass_compiler-tmp_dest_dir-OGIul1BP.tmp/app/styles/app.[scss|sass] does not exist

When i look in finder i find this:

How can i fix this?

Have you seen this #35? I had similar problem, but in my case removing all broccoli-... from package.json (except broccoli-asset-rev) helped, also had to remove custom "broccoli" stuff from Brocfile.js of course.

It was indeed removing all the broccoli stuff, thanks!

@mkalita  did you remove
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
It seems important that all my bootstrap depends on the imported ember-app in the broccoli file?


python3Packages.msldap: 0.3.26 -> 0.3.27

Motivation for this change
Update to latest upstream release 0.3.27
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 115250 at cefbc882 run on aarch64-linux 1

6 packages built:

python37Packages.lsassy
python37Packages.msldap
python37Packages.pypykatz
python38Packages.lsassy
python38Packages.msldap
python38Packages.pypykatz


Historical emissions visualization

Problem Statement
It is hard to gauge the progress of an actor, this should be easy to map with current historic data we have for people to make quick evaluations.
Who is affected by this problem
Funders, researchers, advocates, that want to see who should be encouraged to improve their track record, or looking for cases to highlight for best practices.
What is the problem
It is hard to see the progress (or lack of it) of an actor without looking at the historic evolution of their emissions.
Where does the problem occur
This occurs in the actor explore page
When does the problem this occur
This occurs when users are looking for emissions and progress data in the actor explore page
Why does the problem occur
This occurs because currently only year data is shown one at a time, and it is hard to understand the progress of that actor (although there is a YoY trend)
Feature Description
Build an independent widget that shows how emissions have evolved for an actor based on a selected data source, and allow users see different sources (link to guidelines: <>)
Goal: What do we want to achieve with this
Make it very straightforward for users to understand the historic emissions of an actor based on selected source
Benchmarks
https://www.climatewatchdata.org/countries/CAN?end_year=2019&source=CAIT&start_year=1990 see historical chart

In our case we don't expect breakdown by sector, scope, etc, just total emissions.
Evidence of problem
User interviews and comments from partners

i'm interested in working on this feature. are there any preferences from the core contributors on which visualization library to use?

oh it looks like there is already a trends widget that was added recently. is there an improvement to that widget i could work on for this issue?


Call to undefined function Stepanenko3\NovaCards\Http\Controllers\readableMemory()

@ttungbmt,
Thanks for your issue
Its fixed in v1.6.5


Question for delete function

Hello. Will there be any function like:
layer.on('pm:delete', function() {
});
I want to fire some events when a polygon layer is deleted.
thanks.

@leekosal that is already built into leaflet itself
map.on('layerremove', function() { /* ... */ });

API Reference:
http://leafletjs.com/reference-1.0.3.html#map-layerremove


Fixes Carthage Support

Addressing #16 posted by my alter-ego, this adds the needed bits for Carthage support with an additional xcodeproj. @pjh68 had already added the needed Info.plist in https://github.com/plu/JPSimulatorHacks/pull/6 so this was actually quite trivial. I verified it on a test project on my local and everything seemed to work correctly.

Awesome! Thank you!


[e2e]: nodejs tag main unscoped slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5698916646
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Jul 29 06:08:15 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5704650143
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Jul 30 06:08:18 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/v41.0.23
Run: https://github.com/slsa-framework/example-package/actions/runs/5709841594
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
Trigger: push
Branch: v41.0.23
Date: Mon Jul 31 02:20:39 UTC 2023
Tests are passing now. Closing this issue.


Attempts to access a locked editor feed results in inconsistent behavior

 Issue by landonreed
Thursday Apr 26, 2018 at 17:07 GMT
Originally opened as https://github.com/catalogueglobal/datatools-ui/issues/73

The new "locking" mechanism to prevent multiple users from editing a single feed in the editor is causing unexpected results. The Must provide valid feedId parameter error message is sometimes shown when attempting a re-lock.

 Comment by landonreed
Tuesday May 01, 2018 at 12:59 GMT

The specific error appears to be Cannot read property 'json' of null, which is being thrown in editor.js.


Usage info for siad + siac

This is low priority since I don't expect many people to use siac, but at the moment it has almost zero usage documentation.

progress?

Much improved by #248


implement interfaces from consensus module for QuorumCertificate, AggregatedBLSSignature, TimeoutAggregateQuorumCertificate, and ValidatorEntry

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #712   👈

PR #705

PR #706

PR #707

PR #708

This comment was auto-generated by Graphite.


Implement trailing_semicolon = "Preserve"

Implement trailing_semicolon = "Preserve" to preserve existing semicolons but also don't add new ones even if, e.g., we break a block.
I discovered some bugs in the formatting of return REALLY_LONG_EXPR; where the expression itself would fit onto one line, but due to double counting (subtracting the size of the semicolon in both format_stmt AND in format_expr) we end up breaking up the statement at LIMIT - 1 rather than LIMIT.
See the comment on semicolon_for_expr_extra_hacky_double_counted_spacing. Bikeshed that name if you want.

AFAIK we're still blocked on the next sync (upstream issue in a dependency) so this will be on-hold for a short period.

@calebcartwright I think you might have missed this https://github.com/rust-lang/rustfmt/pull/6140#issuecomment-2067503838, but we're not blocked on dependencies anymore.


chore(parameters): also ignore unknown parameters

closes #138

@historus Which parameter does S3Proxy not support?

Closed after months of lack of response.


Add SSL to mongo

It can be set in the URL but add config options for the trust/key store to make it easier to Kubernetes

Is this covered here?
https://github.com/Landoop/kafka-helm-charts/blob/c4805035413338b047b531e3fb25e7563c448e5d/charts/kafka-connect-mongo-sink/templates/deployment.yaml#L262-L278

@chrisfjones You can set ssl via the URL and set the jvm properties http://mongodb.github.io/mongo-java-driver/3.0/driver/reference/connecting/ssl/. I don't know why the chart has these options for the connector, they have never been implemented. If you want to use this in via Helm we'd have to update the charts to allow the user to set extra java opts and handle mounting the jks files (via secrets due to base64 encoding) @spirosoik


WebView process is never unloaded while push service is running

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.202
Where did you get the app from?
Google Play
Android version
Android 12 / LineageOS 19.1
Device model
No response
Steps to reproduce

Observe the push service is running after boot or whatever.
Open the app, read some mail and close the app (swipe it out of tasks to be sure).
Observe that extra WebView process keep running forever along with the service.

Expected behavior
WebView process should exit when the app is closed.
Actual behavior
Starting as usual the service is fine.

When I open the app and view some mail, WebView process is started. But it never unloads after the app was closed, just keeps hanging along with the push service and wasting memory no matter what. Also there is no dedicated exit button in the app to properly close it.

I found two ways to kill it without stopping the service:
Force stop WebView app from its info page.

Or kill the process using some process viewer (requires root).

Only after that we return back to expected state.

My thoughts: Android obviously treats WebView process as part of the service and never kills it. Foreground services have high priority and never being unloaded even under low memory conditions. There should be some way to avoid such behavior or at least make an "exit" button in the app, which properly shuts down all its processes, but keeps the push service running.
Logs
No response

Android automatically kills processes when a foreground app requires more memory. Micro-managing apps via "exit" button is not something Android was designed for. We won't add such a button.
As far as I know it's not possible to programmatically unload the WebView process. We could run the Push service in a separate process, so K-9 Mail's UI process can be more easily killed by the OS when it is not needed. However, this requires quite substantial architectural changes. I don't see us doing this anytime soon.

This is more relevant than ever because WebView recently has become really fat. We're talking about over 350MB of RAM consumption for displaying a text email.

@cketti I've been thinking about this issue and I think I've found a wonderful very simple workaround/solution.
Once K9Mail is sent to background you simply restart it. That's it. That will kill the web renderer while leaving the app running.
https://stackoverflow.com/questions/6609414/how-do-i-programmatically-restart-an-android-app


Workflow graph dimensions are reset when passing a modified workflow to the designer

Describe the Bug with repro steps
Right now, when a workflow is present in the designer and a slightly modified workflow gets passed, the designer resets the current workflow graph object and resets the node dimensions. This is a problem for at least two scenarios:

The host Saved the workflow in the backend and passes the same workflow to the designer but with additional metadata.
The host has the capability to create new workflows or modify the existing workflow.

The reason this happens is because the logic to set the graph dimensions is called as part of workflow deserialization, ideally, this logic should be separated so that any calls to deserialization do not reset the dimensions.
For now, a workaround was created by flattening the previous workflow and traversing the new workflow looking for matches in the previous workflow; see https://github.com/Azure/LogicAppsUX/pull/2239. This solution is not perfect since there might be situations where an action "Send an email" from Outlook connector gets replaced by an action with the same name example "Send an email" from Mail connector.
Here are examples of how the flow layout was messed up before the workaround was implemented:
Before

After

Before

After

What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
No response
Screenshots or Videos
No response
Browser
All
Additional context
No response

@jaimereyesmx - when you call deserialization for a workflow it is supposed to recalculate the entire workflow since new nodes could be added or deleted since you are calling complete deserialization it means something in workflow need to be reloaded.
We should not separate the concept of node deserialization, calculation and populating metadata from here.
If the host has capability of updating metadata in existing nodes, then please have separate methods exposed from the designer which will only update the metadata and does not require repopulation of metadata for all operations like inputs, outputs, settings and so on.

@preetriti1 node recalculation is not happening when passing a workflow, that is the issue. The deserialization resets the node dimensions to the default state.


Update Composer dependencies (2023-07-13-00-10)

Visual regression test passed!
View the visual regression test report


"do not match its signature"

Hi,
I've mirrored a packagist repo sucessfully
$php webysthe-packagist-mirror/bin/mirror create -vvv
Loading providers from https://packagist.hesse.im/
packages.json updated

My private NGINX server shows me on https://private.repo.lan/packages.json :
{     "packages": [],     "notify-batch": "https:\/\/packagist.org\/downloads\/",     "providers-url": "\/p\/%package%$%hash%.json",     "search": "https:\/\/packagist.org\/search.json?q=%query%&type=%type%",     "list": "https:\/\/packagist.org\/packages\/list.json",     "providers-api": "https:\/\/packagist.org\/providers\/%package%.json",     "warning": "You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https:\/\/getcomposer.org\/2",     "warning-versions": "<1.99",     "provider-includes": {         "p\/provider-2013$%hash%.json": {             "sha256": "d0dc77fd03e5732f1bdb80037c61df42ed94764bddb5f24774761c59739791cc"         },         "p\/provider-2014$%hash%.json": {             "sha256": "ab43f689a426163c7bd97eee1359d66270cf969532a976b03d4d4e608395b25c"         },         "p\/provider-2015$%hash%.json": {             "sha256": "5dd99e47c377393321c91a2b7cede7c1dff20f23728c89dd551c20543750cf5e"         },         "p\/provider-2016$%hash%.json": {             "sha256": "7b8f1749c41d2c755e25992d763588fa527308b20f53fb15523c5a938d960bc4"         },         "p\/provider-2017$%hash%.json": {             "sha256": "62c94621ae4a052b1d7e00cb9398703ef09bc8f69fe8fce22e309a831b6011f9"         },         "p\/provider-2018$%hash%.json": {             "sha256": "df4e171e392f024639a924670d6c2a243a645277d43fb3b141cef9efe7b9df12"         },         "p\/provider-2019$%hash%.json": {             "sha256": "166db562306e9fd8967eb173a9dbf601c65ce4a2e67bf3d18c132730f1f1f6f9"         },         "p\/provider-2020$%hash%.json": {             "sha256": "ff7e5318ac974ec8ce64a1d0232f038f9fbac3d987a2146719ff31c6fc578d40"         },         "p\/provider-2020-07$%hash%.json": {             "sha256": "22517059027c992f913d337d6b79f67b1f3305c1d969e99bfd8ec859e54d9866"         },         "p\/provider-2020-10$%hash%.json": {             "sha256": "9d48effa58bf64e0764d894494902ffdee59924ad8f63fe1126b315601a2cb9b"         },         "p\/provider-2021-01$%hash%.json": {             "sha256": "0d37334fff077049a79655aa7f4ecd4ad7a4c01b66a4fe4b24c8aa6170ae5789"         },         "p\/provider-2021-04$%hash%.json": {             "sha256": "070fc16ec215d0422e7791c4fb0e1279d00704fecaac221863b56f0d68bb3514"         },         "p\/provider-archived$%hash%.json": {             "sha256": "60d5f896e444581ddd4baae5eaf7f04b63ec618d00f1d8ddf3af1fcf41264015"         },         "p\/provider-latest$%hash%.json": {             "sha256": "be8f9b5a0f6e46b14e976d6f56ae297509644bbd11916bd90d6894aea4946d27"         }     } }
But when requiring diffferent libs, I got each time an error ; example with drush
$ composer require drush/drush

Using version ^10.5 for drush/drush
./composer.json has been created
Running composer update drush/drush
Loading composer repositories with package information
Installation failed, deleting ./composer.json.
[Composer\Repository\RepositorySecurityException]
The contents of https://private.repo.lan/p/consolidation/site-process%24f510087614b0f459ed763ade5338c9bbade5e69b1b574df465e4e13105e11643.json do not match its signature. This could indicate a man-in-the-middle attack or e.g. antivirus software corrupting files. Try running composer again and report this if you think it is a mistake.
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

What's wrong with my mirror ??
Thanks a lot :)

It seems that signature is not valid for original Composer mirror.
You may sync local mirror from original mirror again.
If it's not worked, I think you should consider using the composer/mirror.

I have the same problem. I dig into it and i found that some json.gz files are double-gzipped.
gunzipping it twice produces the original json.
I am looking into this. Maybee it has something to do with Gzip.php and this code:

    public function isGzip(string $gzip):bool
    {
        if (mb_strpos($gzip, "\x1f"."\x8b"."\x08") === 0) {
            return true;
        }

        return false;
    }

When i find the issue i will report back.

I have the same problem. I dig into it and i found that some json.gz files are double-gzipped.
gunzipping it twice produces the original json.
I am looking into this. Maybee it has something to do with Gzip.php and this code:

    public function isGzip(string $gzip):bool
    {
        if (mb_strpos($gzip, "\x1f"."\x8b"."\x08") === 0) {
            return true;
        }

        return false;
    }

When i find the issue i will report back.

I tested it with the specific double gzipped package.json file, in my case polyfill-php54$f9df1f5a1df7b1d216477f306bbeb226f4afb19b380cac394cf8456fea97127f.json.gz.
I gunzipped it once, then ran this test script:
$gzip = file_get_contents("php54$f9df1f5a1df7b1d216477f306bbeb226f4afb19b380cac394cf8456fea97127f.json");
if (mb_strpos($gzip, "\x1f"."\x8b"."\x08") === 0) {
    echo "gzip";
}else {
    echo "no gzip";
}

The output is "gzip", so it correctly detects whether a file is downloaded as gzip from the source mirror.
I will dig deeper to see if there is any reason i can find in the code a file is double gzipped.

I have the same problem. I dig into it and i found that some json.gz files are double-gzipped.
gunzipping it twice produces the original json.
I am looking into this. Maybee it has something to do with Gzip.php and this code:

    public function isGzip(string $gzip):bool
    {
        if (mb_strpos($gzip, "\x1f"."\x8b"."\x08") === 0) {
            return true;
        }

        return false;
    }

When i find the issue i will report back.

I tested it with the specific double gzipped package.json file, in my case polyfill-php54$f9df1f5a1df7b1d216477f306bbeb226f4afb19b380cac394cf8456fea97127f.json.gz.
I gunzipped it once, then ran this test script:
$gzip = file_get_contents("php54$f9df1f5a1df7b1d216477f306bbeb226f4afb19b380cac394cf8456fea97127f.json");
if (mb_strpos($gzip, "\x1f"."\x8b"."\x08") === 0) {
    echo "gzip";
}else {
    echo "no gzip";
}

The output is "gzip", so it correctly detects whether a file is downloaded as gzip from the source mirror.
I will dig deeper to see if there is any reason i can find in the code a file is double gzipped.

Strange thing was that half an hour later  php54$f9df1f5a1df7b1d216477f306bbeb226f4afb19b380cac394cf8456fea97127f.json.gz was nog longer available and replaced with another hash after the $ sign. Maybe files are double gzipped at the source?

Hey @Stef-33560  you found the problem here? I will test the drush and tell you soon.

Hi @webysther
Still broken with your mirror script, same issue as@bertploeger  :(
git clone https://github.com/webysther/packagist-mirror
cat .env|grep -v '^$'|grep -v '^#'

APP_NAME='Packagist Mirror'
APP_COUNTRY_NAME='France'
APP_COUNTRY_CODE='fr'
PUBLIC_DIR=./public
SLEEP=300
MAINTAINER_MIRROR='Webysther'
MAINTAINER_PROFILE='https://github.com/Webysther'
MAINTAINER_REPO='https://github.com/Webysther/packagist-mirror'
MAINTAINER_LICENSE='MIT License'
MAIN_MIRROR=https://repo.packagist.org
URI_PATTERN='p/%s$%s.json'
TZ='Europe/Paris'
DATA_MIRROR=https://packagist.fr/,https://packagist.co.za,https://mirrors.aliyun.com/composer,https://packagist.mirrors.sjtug.sjtu.edu.cn,https://php.cnpkg.org,https://mirrors.cloud.tencent.com/composer,https://packagist.jp,https://packagist.kr,https://packagist.com.br,https://packagist.phpindonesia.id,https://repo-eu-uk-1.packagist.org
URL=packagist.lan
SINCE="Q2'21"
MAX_CONNECTIONS=15
GOOGLE_ANALYTICS_ID=
GOOGLE_ANALYTICS_MAIN_ID='UA-58875124-2'

php bin/mirror create -vvv

some 404 but it seems going well, serving public dir is OK
mkdir test
composer init
composer config -g repos.packagist composer https://packagist.lan
composer require phpunit/phpunit

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[Composer\Repository\RepositorySecurityException]
The contents of https://packagist.lan/p/doctrine/instantiator%2443f853a801f01284cb5b4bb83b105da84bc535029cad74afa4690b6b9719088c.json do not match its signature.
This could indicate a man-in-the-middle attack or e.g. antivirus software corrupting files.
Try running composer again and report this if you think it is a mistake.

wget --quiet -O - --no-check-certificate https://packagist.lan/p/doctrine/instantiator%2443f853a801f01284cb5b4bb83b105da84bc535029cad74afa4690b6b9719088c.json|file -

dev/stdin: gzip compressed data

In fact signature is KO because JSON file is a GZIP file !!

RFC 1952 suggests testing only 2 first fields

These have the fixed values ID1 = 31 (0x1f, \037), ID2 = 139 (0x8b, \213), to identify the file as being in gzip format.
But that does not change a lot of things.

I've launched again a new sync
composer require phpunit/phpunit

gives :(

The contents of https://packagist.siae.intradef.gouv.fr/p/phpunit/php-timer%24ed59f9ff1b99c0f19b427ff838c7a1bb3f5935ceb34d33f04a72e5cda97d40f5.json


Job submission demo

Design doc: https://github.com/microsoft/openpaimarketplace/issues/206

Coverage remained the same at 34.237% when pulling b694f80ba1c6b31611e9fab7c8740e92bed6be9b on Morningssir:job-submission-demo into 2c605389abb5d7fb63fa54fa1e1bc0f47afef612 on microsoft:master.

close since duplicated with #5303


Git Source with SSH Key

Feature Suggestion - Permit:
gem 'my-fancy-gem',
  :git => 'https://github.com/my-account/my-fancy-gem',
  :key => 'keys/my-fancy-gem-deploy' # relative path to the private key

This makes developing a private application easier because we can split up the components into difference repositories, and have bundler manage it all. This permits us to write a private application which makes use of private libraries, without forcing us to vendor the private libraries in the application. Instead, we can give bundler the keys to the private libraries, and bundler would use those keys (setting up temp scripts and setting the GIT_SSH env var when doing the git magic) to download the libraries.

It would be great to see this feature added - I run a CI server and a large percentage of my customers repos use this pattern. Currently, their options are limited, and they end up adding a username/password to the https url, which is less than ideal.

... and 5 years later google brings me to the same place!   internal gems in a Gemfile hosted on Atlassian's Stash  - the CI server has a key, but this runs on the agent, and teamcity doesn't seem to pick up the default .ssh path.
Has anyone hacked this to work in the last 64 months? 😃

Sadly I was brought here again even now......


Array creation construct

Moving issue about possibly adding a Fuse construct from fuse-benchmarks here. Old issue: cucapra/fuse-benchmarks#40

I'm working on views right now, but if @tedbauer you want to take a crack at this, I can provide help with it.
The high level changes needed are:

Add AST node for array literals like records
Change the parser to accept array literals.
Add a CLet(x, typ, init@EArrayLiteral(_)) rule that simply recursively emits the array.
Add codegeneration for array literals in the CppLike backend.

OK, I'll work on this.


Ensure the row count is preserved when coalescing over empty records

Which issue does this PR close?

Closes #3283.
Rationale for this change

The row count information is required for the validation happening during the RecordBatch construction. Luckily we already calculate it and propagate it in the stream handler code, but just don't preserve it when creating the final record.
This PR also changes the SQL test code to never double-optimize logical plans (as it used to) since that would hide this problem (and maybe different ones in the future).
What changes are included in this PR?

This PR now creates the final record with the propagated row_count for the cases like #3283 where the schema might not contain any fields at all and the validation logic in arrow-rs would fail.
Are there any user-facing changes?

This is a bug fix in general. It also includes a change in our internal tooling to never double-optimize logical plans, which the reasoning is provided inn #3283.

Codecov Report

Merging #3439 (8b2b1e4) into master (4d22076) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3439      +/-   ##
==========================================
- Coverage   85.61%   85.60%   -0.01%
==========================================
  Files         297      297
  Lines       54490    54492       +2
==========================================
- Hits        46650    46647       -3
- Misses       7840     7845       +5

Impacted Files
Coverage Δ

...afusion/core/src/physical_plan/coalesce_batches.rs
93.38% <100.00%> (+0.09%)
:arrow_up:

datafusion/core/tests/sql/mod.rs
97.77% <100.00%> (ø)

...fusion/optimizer/src/pre_cast_lit_in_comparison.rs
94.00% <0.00%> (-0.38%)
:arrow_down:

datafusion/expr/src/logical_plan/plan.rs
77.02% <0.00%> (-0.34%)
:arrow_down:

datafusion/common/src/scalar.rs
84.93% <0.00%> (-0.14%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Switch SplitView.IsPaneOpen to a StyledProperty

What does the pull request do?
Switches the SplitView.IsPaneOpen property to a StyledProperty. This follows the Expander control changes (SplitView was originally based on Expander for this property https://github.com/AvaloniaUI/Avalonia/issues/9944#issuecomment-1376633369).
cc @amwx (original author)
What is the current behavior?
IsPaneOpen is a DirectProperty and cannot be styled.
What is the updated/expected behavior with this PR?

IsPaneOpen is now a full StyledProperty and usable in the styling system.
Modernized some code to follow latest conventions

Removed sender parameter from OnClosing/OnOpening/etc. protected virtual methods. These are not usually provided and are redundant (OnPropertyChanged itself is an example).
Reformatted some property definitions to span multiple lines and reduce code width
TBD (planning to use OnPropertyChanged for all)

How was the solution implemented (if it's not obvious)?
See code.
Checklist

~[ ] Added unit tests (if possible)?~
~[ ] Added XML documentation to any related classes?~
~[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation~

Breaking changes
Yes, StyledProperty instead of DirectProperty but functionality is largely only expanded for app developers.
Obsoletions / Deprecations
None
Fixed issues
Fixes https://github.com/AvaloniaUI/Avalonia/issues/9800
Part of #9944

You can test this PR using the following package version. 11.0.999-cibuild0029299-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

@amwx For the PaneClosing event you made it a CLR (non-routed) event. I'm assuming that was for API compatibility with UWP. You also copied over the SplitViewPaneClosingEventArgs which supports cancellation instead of using CancelEventArgs already built-in to .NET.
@tomenscape In your StyledProperty branch you switched this control to using routed events and this would switch to CancelRoutedEventArgs (a breaking change). And also support cancellation in opening.
Is everyone OK with using @tomenscape approach? This standardizes with Expander:

Breaking change removing the SplitViewPaneClosingEventArgs and using the CancelRoutedEventArgs instead
Binary breaking change using routed events instead of CLR events
Breaking change to support cancellation in the Opening event as well.

You can test this PR using the following package version. 11.0.999-cibuild0030251-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0030256-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

These breaking changes don't seem critical and are quite easy to fix in the user code. Keeping in mind we are in preview stage still.

You can test this PR using the following package version. 11.0.999-cibuild0030416-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0030436-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Downloads broken, Classes missing.

Hi,
no download link you`ve posted works. All i get as a response is {"message":"Specified cloud file not found."}..
When i try build from source its missing files :
Error 1 Source file 'Commands\AssemblyTypeToSwaggerCommand.cs' could not be found.

Should be working now... try again

Thank you, can build the solution now. Downloads work too.
Cheers,
Norman


Feat: Open-SCD-Next add Dedupe mixin

Feature request:
Add the https://open-wc.org/docs/development/dedupe-mixin/ to each mixin to make sure they are not applied more than once to the final class.

@pascalwilbrink can you give an update on this?


IGMP support on Marvell soho switch

Hello,
I would like to modify pimd to support a Marvell Soho switch (88E6097 with DSA tag support).
I already made a driver to create 'virtual' network interfaces to isolate IGMP packets.
My Linux kernel version is <IP_ADDRESS> and I can't update it.
My interfaces are :

eth0 : cpu interface 0 (the whole traffic)
eth0.cpu : normal interface for all traffic except management (BDPU, LLDP, IGMP, 802.1X)
eth0.lan1, eth0.lan2 ... : interfaces for management traffic
br0 : bridge with all eth0.lanX interface to support STP and RSTP
I already set my switch to forward IGMP packet to management interface. I also blocked unknown multicast packets. I'm able to add a static multicast mac address in my switch to allow the data.
How can I configure and modify pimd to support my hardware switch ?
It seems that pimd need a multicast address on each interface. Do I need to set bridge (br0) with a multicast address ?
Currently, my IP address is only set on eth0.cpu interface.
Best Regards

The DSA tag support in the kernel is for enabling a Linux interface per switchcore port. What you want is to use the Linux bridge to handle layer 2, using Marvell switch's support for IGMP snooping and the IGMP snooping support in the bridge. Then on the bridge set up layer 3 interfaces per VLAN (or however you partition the switch) which pimd then runs on.
With that setup you can let the bridge IGMP snooping handle per-port multicast distribution, and pimd to handle handle the routing per LAN segment.
So no, you should not need to modify pimd to support your case, but rather modify your setup to match a regular Linux router.

In fact I use the DSA tag to support management packets like BPDUs. So I have eth0.cpu interface for 'normal' traffic and eth0.lanX for special packets like BPDUs and IGMP. So it avoids the switch to broadcast BDPUs or IGMP packets to all ports.
My linux bridge only handles BPDUs.
I believed that I need to handle adding/removing multicast MAC address in switch hardware MAC table to allow multicast stream.
I tried this configuration for pimd but it doesn't start :
default-route-distance 101
default-route-metric   1024
phyint usb0 disable
phyint br0 disable
#phyint eth0 disable
phyint eth0.cpu disable
phyint eth0.lan1 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan2 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan3 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan4 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan5 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan6 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan7 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.lan8 enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.dsla enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8
phyint eth0.dslb enable igmpv2 dr-priority 10 scoped <IP_ADDRESS> masklen 8

bsr-candidate eth0.lan2
rp-candidate eth0.lan2
group-prefix <IP_ADDRESS> masklen 8
spt-threshold packets 0 interval 100

I start pimd with :
pimd -c /etc/pimd.conf -f --disable-vifs --debug=igmp_proto,igmp,interfaces,pim_jp,kernel,pim_register -sdebug
The result is
debug level 0x18c70 (igmp_proto,igmp_timers,igmp_members,interfaces,kernel,pim_register,pim_join_prune)
17:14:11.653 pimd version 2.3.2 starting ...
17:14:11.660 Got 262144 byte send buffer size in 0 iterations
17:14:11.661 Got 262144 byte recv buffer size in 0 iterations
17:14:11.661 Got 262144 byte send buffer size in 0 iterations
17:14:11.662 Got 262144 byte recv buffer size in 0 iterations
17:14:11.664 Getting vifs from kernel
17:14:11.665 Installing eth0.cpu (<IP_ADDRESS> on subnet 10.22/16) as vif #0-13 - rate 0
17:14:11.666 Installing usb0 (<IP_ADDRESS> on subnet 192.168) as vif #1-15 - rate 0
17:14:11.666 Disabling all vifs from kernel
17:14:11.667 Getting vifs from /etc/pimd.conf
17:14:11.668 default-route-distance is 101
17:14:11.668 default-route-metric is 1024
17:14:11.669 /etc/pimd.conf:20 - Invalid phyint address 'br0'
17:14:11.669 /etc/pimd.conf:23 - Invalid phyint address 'eth0.lan1'
17:14:11.670 /etc/pimd.conf:24 - Invalid phyint address 'eth0.lan2'
17:14:11.670 /etc/pimd.conf:25 - Invalid phyint address 'eth0.lan3'
17:14:11.671 /etc/pimd.conf:26 - Invalid phyint address 'eth0.lan4'
17:14:11.671 /etc/pimd.conf:27 - Invalid phyint address 'eth0.lan5'
17:14:11.672 /etc/pimd.conf:28 - Invalid phyint address 'eth0.lan6'
17:14:11.672 /etc/pimd.conf:29 - Invalid phyint address 'eth0.lan7'
17:14:11.673 /etc/pimd.conf:30 - Invalid phyint address 'eth0.lan8'
17:14:11.673 /etc/pimd.conf:31 - Invalid phyint address 'eth0.dsla'
17:14:11.674 /etc/pimd.conf:32 - Invalid phyint address 'eth0.dslb'
17:14:11.675 /etc/pimd.conf:49 - Invalid Cand-BSR address 'eth0.lan2', defaulting to <IP_ADDRESS>
17:14:11.675 Local Cand-BSR address <IP_ADDRESS>, priority 0
17:14:11.676 /etc/pimd.conf:52 - Invalid Cand-RP address 'eth0.lan2', defaulting to <IP_ADDRESS>
17:14:11.676 Local Cand-RP address <IP_ADDRESS>, priority 0, interval 60 sec
17:14:11.677 Adding Cand-RP group prefix <IP_ADDRESS>/8
17:14:11.677 spt-threshold packets 0 interval 100
17:14:11.685 Local static RP: <IP_ADDRESS>, group <IP_ADDRESS>/8
17:14:11.686 IGMP query interval  : 12 sec
17:14:11.686 IGMP querier timeout : 41 sec
17:14:11.687 Cannot forward: no enabled vifs

[root@ /root]# ifconfig
br0       Link encap:Ethernet  HWaddr 00:1B:7D:82:05:21
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4408 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:243928 (238.2 KiB)  TX bytes:468 (468.0 B)

eth0      Link encap:Ethernet  HWaddr 00:1B:7D:82:05:20
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:409904 (400.2 KiB)  TX bytes:16050 (15.6 KiB)
          Base address:0x6000

eth0.cpu  Link encap:Ethernet  HWaddr 00:1B:7D:82:05:20
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13316 (13.0 KiB)  TX bytes:1006 (1006.0 B)

eth0.dsla Link encap:Ethernet  HWaddr 00:1B:7D:82:05:21
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.dslb Link encap:Ethernet  HWaddr 00:1B:7D:82:05:22
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan1 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:23
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:4408 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:243928 (238.2 KiB)  TX bytes:29228 (28.5 KiB)

eth0.lan2 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:24
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan3 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:25
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan4 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:26
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan5 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:27
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan6 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:28
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan7 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:29
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.lan8 Link encap:Ethernet  HWaddr 00:1B:7D:82:05:2A
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr 00:1B:7D:82:05:2E
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15168 (14.8 KiB)  TX bytes:1136 (1.1 KiB)

What's wrong with my configuration ?
Regards.

So, you just want to run pimd on your eth0.lanX interfaces, which are layer-2 ports on the switch (in the same VLAN?) with no IP address?  How do you expect pimd to peer with other PIM routers?
I think you need to sit down and read up on routing protocols, maybe try running pimd on a simple PC with two NICs or something, to first build an understanding of what it is you are trying to achieve.
pimd works on layer-3, regular interfaces with IP addresses set. It's essentially an "automated" way of setting multicast routes you would otherwise have to set manually using, e.g. SMCRoute.

Yes, that's it.
I understand that I need to set an IP address on my eth0.lanX interfaces. But I don't understand if I need to configure my bridge or my eth0.lanX ports.
Do you have some links about routing to help me ?
Regards.

What you need to do is to conceptually take a step back and build a model that possible looks something like this:
      Layer-2          Layer-3              Layer-2
      -------          -------              -------
      RSTP             smcroute             RSTP
      LLDP               pimd               LLDP
P1---.                                           .---P4
P2----(br0)--(br0.1)---[routing]---(br0.2)--(br0)----P5
P3---'                                           `---P6
      IGMP-            OSPF/RIP             IGMP-
      snooping         ip route             snooping
      802.1X           iptables             802.1X

Notice the keyword model here. Because that drawing is not what your physical setup looks like, but you need to create that abstraction to solve problems later on.
In this example I've partitioned the switch into two separate LAN segments using VLANs 1 and 2. To keep things simple in the beginning you may want to use a single ATU db for both VLANs. The br0 on the left and right side is actually the same bridge, it's just conceptually easier, from a layer-3 perspective, to imagine them as separate.  (In my setups I usually rename br0.1 and br0.2 to vlan1 and vlan2, respectively. To me it's just easier on the eyes.)
As you see, layer-2 protocols like LLDP, RSTP (mstpd) and IGMP snooping runs on top of the bridge ports.  The kernel takes care of IGMP snooping, so multicast distribution on each LAN works as expected.
Layer-3 "protocols" or functions like static unicast/multicast routing (ip route, smcroute) and dynamic unicast/multicast protocols (OSPF/RIP and pimd) need interfaces with IP addresses (br0.1 and br0.2). They don't care so much about what happens on layer-2.
There are several sources of information online about this, but I'd definitely recommend an advanced 3-day routing course with an institute or something, it's really worth it.

Thanks for your advices.
If I want to stay at L2 level only, which software should I use to act as an IGMP proxy ?

No problem, a proxy is only needed if you need to "switch" multicast between VLANs, if you only have one VLAN all you need is the IGMP snooping in the kernel bridge.  Also, the Marvell SOHO family support VLAN tunneling of multicast, which may be worth checking out as well.
The old igmpproxy or the newer mcproxy may be useful for such a scenario.
Good Luck!

Ok, it should be easier.
I'm not sure if my old kernel <IP_ADDRESS> will work correctly. I read that CONFIG_BRIDGE_IGMP_SNOOPING is only available from kernel 2.6.32.
Maybe I need to backport it.

Why are you running such an old kernel?  If you upgrade to Linux 4.4+ you can focus on writing a native Marvel DSA driver on top of the kernel switchdev support, like the existing DSA drivers, much improved bridge features, and more.  At work we're currently running 4.4 and have our own 6097-driver and extended 6352 drivers. I cannot overstate the importance it has had in our simplifying the work we do in userspace.
Sometimes it is easier to forward port the BSP rather than backport all features and bugfixes ...

Because we started with the chip manufacturer BSP and we have no updates.
If I need to upgrade, I will have to modify all my custom drivers and I'm not sure if all manufacturers patches will be present.

Yeah, that's always a bit of an issue. We had the fortune of having the source for most of our drivers, as well as time and an understanding from mgmt, so we ported most stuff forward.  Turned out much of what we needed was available as upstream drivers in newer kernels.  Maybe we got lucky, dunno.
Anyway, with such an old kernel you will likely run into more problems the more advanced features you add to your userspace. And I suspect it will be a pain to maintain as well ...


MetaMask Integration

Users may face issues with connecting MetaMask or signing transactions.

Hi @Akshat111111 , I'd like to contribute to this issue. I have experience with MetaMask integration and transaction handling, and I'm confident I can help resolve the challenges.


Rare error in solid-app-router that I am seeing in Sentry

There is this relatively rare error I am seeing pop up in Sentry and was wondering if you could take a look:
TypeError
N.composedPath is not a function
../../node_modules/solid-app-router/dist/routing.js in D at line 286:23
                evt.metaKey ||
                evt.altKey ||
                evt.ctrlKey ||
                evt.shiftKey)
                return;
            const a = evt
                .composedPath()
                .find(el => el instanceof Node && el.nodeName.toUpperCase() === "A");
            if (!a)
                return;
            const isSvg = a instanceof SVGAElement;

Hmm, composedPath is a widely supported property of the Event interface so this feels like Sentry is interfering. They replace addEventListener on the various event target prototypes with their own. Since you indicated it doesn't always happen, I wonder if there is a race condition between the router and Sentry and somehow the router's event handler gets the event object destined for their wrapper.
Does this come up in a development build with HMR or production-type builds?

Closing as stale.


add function REGEXP

add function REGEXP for sqlite3 which can support regex search.
When using such sql
SELECT word FROM words WHERE word REGEXP ".*go"

the following error will happen
sqlite3.OperationalError: no such function: REGEXP

and this PR can fix the error.
References:
https://www.sqlite.org/lang_expr.html#regexp
https://stackoverflow.com/questions/5365451/problem-with-regexp-python-and-sqlite

This is my first PR in GitHub. And it seems only the black style fails.
Can someone help me with this?
Thank you.

Thanks, however this doesn't seem to be relevant to the tutorial. You're welcome to add this to your own project if you need it.

Thanks, however this doesn't seem to be relevant to the tutorial. You're welcome to add this to your own project if you need it.

Thanks for your reply. Sqlite supports regex search but flask sqlite does't, by default, as I know. Maybe this will be helpful. Or if there were other simpler way for regex search，please tell me. Thank you.

Flask has nothing to do with SQLite beyond the fact that you can use it as a database. The fact that you're using Flask has nothing to do with not having a regex function registered with SQLite. Regex search is not part of the Flask tutorial.


Leaving and creating another room with same name, validation isn't done

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Create a restricted room (Name it 'Room1')
Leave the room
Create another restricted room with same name ie. Room1

Expected Result:
User shouldn't be able to create two rooms with same name
Actual Result:
User is taken to room's page, but an error is shown and user can't properly access the room
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.36-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://github.com/Expensify/App/assets/43996225/08e5d6d2-46df-4375-8564-9afceee08fe5
Expensify/Expensify Issue URL:
Issue reported by: @nishancx
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688406299088519
View all open jobs on GitHub

https://expensify.slack.com/archives/C049HHMV9SM/p1687680050819699 it's a dupe


fix: handle include/revInclude correctly

Issue #, if available: #83
Description of changes:

Moving the logic of dealing with non-root resourceTypes returned from a search-type operation from filterOutUnusableScope to authorizeAndFilterReadResponse
Make hasSystemAccess more explicit
Improve test coverage

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Other than the unit tests, were there any other tests run to verify functionality?

Other than the unit tests, were there any other tests run to verify functionality?

I was able to deploy and test locally