{:error, {:producer_down, {:reached_max_retries, :no_leader_connection}}}

Getting this error while trying to send message after long time inactivity.
23:32:47.349 [error] GenServer #PID<0.188.0> terminating
** (stop) {:reached_max_retries, :no_leader_connection}
    (brod) /Users/sakib/ElixirProjects/kafka_test/deps/brod/src/brod_producer_buffer.erl:304: :brod_producer_buffer.rebuffer_or_crash/3
    (brod) /Users/sakib/ElixirProjects/kafka_test/deps/brod/src/brod_producer_buffer.erl:293: :brod_producer_buffer.do_send/4
    (brod) /Users/sakib/ElixirProjects/kafka_test/deps/brod/src/brod_producer.erl:470: :brod_producer.maybe_produce/1
    (brod) /Users/sakib/ElixirProjects/kafka_test/deps/brod/src/brod_producer.erl:308: :brod_producer.handle_info/2
    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: :retry

Hi! Could you provide the following information:

Brod version
OTP version
Kafka version

@k32
brod version : 3.8.1
OTP version : 21
Kafka version : 5.2.1

I think I have met the same problem. I have checked kafka log and there's no error log.
brod version:   3.7.5
Erlang/OTP verion: 21
kafka version:  2.12-<IP_ADDRESS>
2019-07-31 00:32:58.571 [error] brod_client_1 (re)connect to <IP_ADDRESS>:9194 aborted.
last failure: {shutdown,tcp_closed}
2019-07-31 00:32:58.571 [warning] Failed to (re)init connection, reason:
{shutdown,tcp_closed}
2019-07-31 00:32:58.571 [error] ** Generic server <0.10187.2> terminating
** Last message in was retry
** When Server state == {state,<0.1651.0>,<<"client_status">>,1,undefined,
                            undefined,
                                                    {connected_at,
                                                     {1564,547578,118333}},
                                                    {conn_mod,
                                                     connnection}]
2019-07-31 00:32:58.571 [error] brod_client_1 (re)connect to <IP_ADDRESS>:9194 aborted.
last failure: {shutdown,tcp_closed}
2019-07-31 00:32:58.571 [warning] Failed to (re)init connection, reason:
{shutdown,tcp_closed}
2019-07-31 00:32:58.571 [error] ** Generic server <0.10187.2> terminating
** Last message in was retry
** When Server state == {state,<0.1651.0>,<<"client_status">>,1,undefined,
                            undefined,
                            {buf,512,1,1048576,3,0,0,
                                #Fun<brod_producer.1.34067087>,1,0,
                                {[],[]},
                                {[],
                                 [{req,#Fun<brod_producer.2.34067087>,
                                      #Fun<brod_producer_buffer.0.104280521>,
                                      74,1,1564547577065,3}]},
                                []},
                            500,#Ref<0.2235401881.2540437505.134498>,
                            undefined,
                            {resolved,0}}
** Reason for termination ==
** {{reached_max_retries,no_leader_connection},
    [{brod_producer_buffer,rebuffer_or_crash,3,
                           [{file,"src/brod_producer_buffer.erl"},{line,304}]},
     {brod_producer_buffer,do_send,4,
                           [{file,"src/brod_producer_buffer.erl"},{line,293}]},
     {brod_producer,maybe_produce,1,
                    [{file,"src/brod_producer.erl"},{line,460}]},
     {brod_producer,handle_info,2,[{file,"src/brod_producer.erl"},{line,307}]},
     {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,637}]},
     {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,711}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
2019-07-31 00:32:58.575 [error] crasher:
    initial call: brod_producer:init/1
    pid: <0.10187.2>
    registered_name: []
    exception exit: {reached_max_retries,no_leader_connection}
      in function  brod_producer_buffer:rebuffer_or_crash/3 (src/brod_producer_buffer.erl, line 304)
      in call from brod_producer_buffer:do_send/4 (src/brod_producer_buffer.erl, line 293)
      in call from brod_producer:maybe_produce/1 (src/brod_producer.erl, line 460)
      in call from brod_producer:handle_info/2 (src/brod_producer.erl, line 307)
      in call from gen_server:try_dispatch/4 (gen_server.erl, line 637)
      in call from gen_server:handle_msg/6 (gen_server.erl, line 711)
    ancestors: [<0.1655.0>,<0.1653.0>,brod_client_1,brod_sup,<0.1644.0>]
    message_queue_len: 0
    messages: []
    links: [<0.1655.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 6772
    stack_size: 27
    reductions: 717358
  neighbours:
2019-07-31 00:32:58.576 [notice] Alarm report: set {supervisor_report,
                      [{supervisor,{<0.1655.0>,brod_producers_sup}},
                       {errorContext,child_terminated},
                       {reason,{reached_max_retries,no_leader_connection}}]}
2019-07-31 00:32:58.576 [error] supervisor: {<0.1655.0>,brod_producers_sup}
    errorContext: child_terminated
    reason: {reached_max_retries,no_leader_connection}
    offender: [{pid,<0.10187.2>},
               {id,1},
               {mfargs,{brod_producer,start_link,
                                      [<0.1651.0>,<<"client_status">>,1,[]]}},
               {restart_type,{permanent,5}},
               {shutdown,5000},
               {child_type,worker}]

Reaching max retry limit and restart is sort of an 'intended' behaviour,
i.e. it is to be restarted by the supervisor.
nonetheless there are configs (as well as defaults maybe) can be tuned.
brod_producer configs: max_retries (by default 3) can be bumped to tolerate more failures; retry_backoff_ms (default 500 ms) can be increased to give some more time for kafka to recover.
There is also a brod_client config reconnect_cool_down_seconds. It is by default 1 second, meaning if a connection towards a certain host:port was closed (or failed) less than 1 second ago, brod_client will not try to re-establish the connection but return error immediately.
This can be configured with 0 to allow more aggressive retries towards kafka.

@zmstone @k32 Opened an issue a few days ago. I believe I am seeing similar behavior with Group Consumers when connecting to Confluent.

brod assumes producers will retry if error returned in synced calls, and error messages will be handled in async calls.
So the restart and abort strategy was a bit aggressive.
If the goal is to hide the errors from callers,
you may change the configs to allow producers to perform more retries and/or with increased interval.
If you are looking for a even more resilient producer e.g. going beyond memory limit for message buffering and survive restarts. maybe https://github.com/kafka4beam/wolff is a better choice.


Feat/56 bump version up rn

Description
Bump react-native version up to 0.76 and enable new architecture.
Preview

iOS
Android

TBD

Known Issue

Comment
Waiting for https://github.com/software-mansion/react-native-reanimated/pull/6499

Linked issue

warn app Codegen didn't run for XXX


I cant find GPU on the webpanel

No GPU is shown on miners
Just desktop name

Oh right, I might have forgot to add it into the release version. The miners does send the GPU and CPU data to the panel but it might not be accepting it.

Oh right, I might have forgot to add it into the release version. The miners does send the GPU and CPU data to the panel but it might not be writing it into the database.

Alright when will you add it to the database?

I've added it now but I'm thinking if there is anything else I've missed or have to add since I don't want to spam small releases all the time.

I couldn't really find anything I could add quickly so I just released a version with only the GPU and CPU fields added. You will have to replace the database (or add the two fields into a current one though that can be difficult unless you know what you're doing).

Have you made any "Configuration" or anything else like that? If not then you can just replace the .db file with the one from the new version. The miners will simply be added back when they connect to the panel.

Have you made any "Configuration" or anything else like that? If not then you can just replace the .db file with the one from the new version. The miners will simply be added back when they connect to the panel.

alright done thanks for help

No problem


How to destroy?

jeelizFaceFilter have 'native' destroy method, how to do it correctly for jeelizWeboji?

There is no destroy() method for weboji

JEEFACETRANSFERAPI.destroy() should make the job now

It is not working as expected for me:

it is not stoping webcam stream
it is not removing 'display:none;' style from canvas (when using JEEFACETRANSFERAPI.switch_displayVideo(false);)
it is not possible to reinit api - it returns ALREADY_INITIALIZED error code, when I try to init api again


Default constructor params don't work with @ScalaJSDefined classes

This code compiles with no errors:
@ScalaJsDefined
class TestClass(val a: Int = 5) extends js.Object

But then it throws this runtime error when you try to instantiate TestClass without arguments:
Uncaught scala.scalajs.runtime.UndefinedBehaviorError: An undefined behavior was detected: undefined is not an instance of java.lang.Integer

Hi,
Thanks for the report. I discovered that a few hours earlier. I have a PR where it doesn't compile anymore. We'll make it compile and do the right thing in a future version.

Ok, thanks!


Live merge to live-nometavalidation

Version(s) of document impacted

[ ] Impacts 6.next document
[ ] Impacts 6 document
[ ] Impacts 5.1 document
[ ] Impacts 5.0 document
[ ] Impacts 4.0 document
[ ] Impacts 3.0 document

Reason(s) for not updating all version of documents

[ ] The documented feature was introduced in version (list version here) of PowerShell
[ ] This issue only shows up in version (list version(s) here) of the document
[ ] This PR partially fixes the issue, and issue # tracks the remaining work

Docs Build status updates of commit 97c2d8e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch live-nometavalidation has been deleted or has been force pushed: fatal: Could not parse object 'ab874c17b971a8cb2a033a190a2a1d5944247d8d'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 8e35b20:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch live-nometavalidation has been deleted or has been force pushed: fatal: Could not parse object 'ab874c17b971a8cb2a033a190a2a1d5944247d8d'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 8fa9800:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch live-nometavalidation has been deleted or has been force pushed: fatal: Could not parse object 'ab874c17b971a8cb2a033a190a2a1d5944247d8d'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Feature Request: Difficulty Curve

Didn't RTFM so I didn't realize you could rotate the pieces at first. Once I realized that I played until I got bored and spiked myself at 100k.
The fall-rate doesn't seem to increase at all as tetris does. Without this or some other way of ramping the difficulty there is very little challenge once you figure out the basics.
I realize that speeding up may be impractical with the limit of the short vertical space but some other difficulty increasing element is needed. Maybe trying the sideways layout?

Mmm it should increase, I'll look into this issue too when back from vacation in August :)

Fixed in version 1.8 https://github.com/TEAMarg/ID-28-Blob-Attack/releases/tag/v1.8


Evaluate to update FakeXMLHttpRequestUpload.js and make it work with latest sinon library

While trying to include only latest version of the packages used by flowjs i tried to update sinon to 1.17.2 but i've found out that FakeXMLHttpRequestUpload.js is tightly built atop of sinon 1.7.3.
I'm opening this ticket to keep track that whenever we will have to update sinon for some reasons we would have to deal with the update of FakeXMLHttpRequestUpload.js

FakeXMLHttpRequestUpload was written by the time, then Sinonjs wasn't supporting mocking upload requests. It does now, so FakeXMLHttpRequestUpload should be removed.

@AidasK with commit https://github.com/flowjs/flow.js/commit/c3397895ea96f41e3b383218c4212bdcb0c6b782 i've updated all the libraries to the latest taking care that all properly works.
I've still to fix the missing dependencies that i found missing in package.json when i tried to build the packaed (grunt build).
In the meantime i've prepared a branch (https://github.com/flowjs/flow.js/tree/issue/141) fof fixing this issue.
I would like that you take a look to it as for me it still to much in the internals :)
i think that by simply doing grunt karma:coverage you will be able to fix it readly!!! come one!

https://travis-ci.org/flowjs/flow.js/builds/97909948


Validate modules NSV format

Validate module NSV format to comply to NAME:STREAM[:VERSION] for quick
feedback.
OSBS-6446
Signed-off-by: Athos Ribeiro<EMAIL_ADDRESS>

in ModuleSpec fromtext
reuse code from : atomic-reactor -> util.py -> split_module_spec
new method will also accept 'flatpak' param
and based on that it will do either check for flatpak or non-flatpak
in api.py after 631 line (call of _check_labels) call new split_module_spec to validate modules for non-flatpak scenario

@rcerven, I pulled in some extra bits from atomic_reactor.util. Once this is merged, we can remove the duplications from atomic_reactor and rely on the module validations in this patch.

looks good

Thanks @owtaylor
@lkolacek mentioned that the time to get the feedback for an invalid module name can get quite long. In this case, it would be nice to have the validations here.

Rebasing on master before merge

Release notes added:

Always validate module NSVC format for faster feedback


Mantine select group

add checking mantine version

Hey, thanks for this. I didn't realize the structure of optgroups had changed in v7. I couldn't find  anything about it in the release notes except a vague note about using the new Combobox component instead of Select.
I can help out with this PR if you're struggling with TypeScript types. They're a little weird in this library, especially the upcoming v7 stuff.

One more thing: you don't need the version detection code or the code to support the old structure. RQB v7 will already require Mantine >= 7, so it's implicit that it should use the new structure.

Thank you very much, I am actually trying to fix the mantine V6 select group issue. I have a project that is using mantine V6, and trying to group the select options.

I've fixed this for v7 in b70b21358c8683e2fe8db49858e049a1408d370c, which will be merged as part of #595.

Closing since this is fixed in v7.


Search client can't be initialized without explicitly passing in protocol

We don't explicitly pass protocol in when initializing our search client - this has worked up until now, but is now throwing an error, causing all search on our site to not work.
Looks specifically related to this commit

Hi @adriennedomingus this should be solved right now we pushed updates to solve that, can you provide me the line you are using to add the JavaScript client on your website? Thanks

Hi @vvo When we saw the issue we were using <script src="//cdn.jsdelivr.net/algoliasearch/3/algoliasearch.min.js"></script>, but just pushed out a change to use <script src="//cdn.jsdelivr.net/algoliasearch/3.24.7/algoliasearch.min.js"></script>, since we've had issues before and that's a known safe version for us - so we're currently working again, but not on the most recent version

Hi @adriennedomingus
we published a bad fix on our JavaScript client (that you are using) that triggered this issue on your side. Sorry about that.

We have published a new version but it takes time to propagate to Algolia scripts inserted like ,
it is currently being propagated and your website should be working again in the coming minutes.

In the meantime, as a better fix, can you update your website scripts so that you change:
- https://cdn.jsdelivr.net/algoliasearch/3/algoliasearch.min.js
to
- https://cdn.jsdelivr.net/algoliasearch/3.25.1/algoliasearch.min.js

By doing so you will ensure that if it's working right now it will always be working because there won't be anymore any
auto update to your website.

On behalf of Algolia I apologise for this current issue and hope you can update your code accordingly for this
to never happen again.

Let me know if you have further questions.

This is now resolved, if you have more questions @adriennedomingus send them over to<EMAIL_ADDRESS>


Question: Initialise NorthwindDbContext with DI (second ctor)

In Northwind.Persistence.NorthwindDbContext.cs, we've implemented a constructor that takes one argument (options) and a second that takes 3, (options, currentUserService and dateTime). How/where do I initialise the NorthwindDbContext so that the currentUserService and dateTime dependencies are available?
The reason I ask is because one of the entities I'm trying to seed is an AuditableEntity, and when I do x.SaveChangesAsync(ct), it throws a null reference exception. After tracking it down, it's because the _currentUserService is null (and I assume _dateTIme is too).
I'm pretty new to all this, so apologies if this is dull question.
Keep up the great work!
Cheers,
Morgan

Turns out I missed a line when recreating this file when moving these ideas to my own project:
https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Persistence/DependencyInjection.cs
I didn't have this line:
services.AddScoped<INorthwindDbContext>(provider => provider.GetService<NorthwindDbContext>());

Silly me.


Fix minor typo in Debian installation docs

Signed-off-by: Chander G<EMAIL_ADDRESS>

Oh! LGTM, thanks!

LGTM


Feature request: include Zotero URI in export

I have extracted this from #7 as you have now implemented BBT's Citekey.
Given that the Zotero unique id is - I assume? - part of the standard metadata, would it be relatively easy to include that in your metadata record? This links Roam and Zotero without the need to install any Zotero extensions (and BBT is a pretty heavyweight extension!).
The key can be used from within Roam with, e.g. zotero://select/library/items/9PFEWRDE if Zotero is installed, or https://www.zotero.org/users/<userid>/items/9PFEWRDE via the web.
This link back to the original, full, record in Zotero would be very useful to make use of Zotero's functions re formatting for citations and bibliographies, exploring related items, checking on metadata not in the Roam record, etc.).
(In the Zotero record I put the link back to the relevant page in Roam for easy round-tripping).
If you need more information please let me know.

Yes this is pretty straightforward. I could add, say, a link to both the local library and the web-based library (as you've included them). That would cover situations where you're using Roam on a machine that doesn't have Zotero installed/your library synced.
I'll investigate 👍

@richardlm

(In the Zotero record I put the link back to the relevant page in Roam for easy round-tripping).

Out of interest, where do you put this, in a note?

Yes. I considered using the URL field in the metadata block but that is often populated with a link to the publisher's site so I use Notes for other URLs: primarily the library catalogue permalink, but now also the Roam page.

Would something like this make sense?
Zotero items: local, web, PDF

Do you mean that's a suggested layout for the field in the metadata record for attachments?
I'm not sure what the 'PDF' entry is for as in my case the local and web links are generally to PDFs. For example, I store the main copy in WebDav storage, but also have a local (harddisk, backed up with OneDrive) copy for security / in case of no web access. Do you use 'PDF' for another reason?
The terminology that Zotero (and other apps) uses is not consistent but the general consensus seems to be 'attachment' for the stored copy - in either Zotero's filestore or, say, WebDav - and 'Linked' for a link to a locally-held file. I find your use of 'web' for the former and 'local' for the latter is perfectly clear, but may not be 'standard'.

Do you mean that's a suggested layout for the field in the metadata record for attachments?
I'm not sure what the 'PDF' entry is for as in my case the local and web links are generally to PDFs. For example, I store the main copy in WebDav storage, but also have a local (harddisk, backed up with OneDrive) copy for security / in case of no web access. Do you use 'PDF' for another reason?
The terminology that Zotero (and other apps) uses is not consistent but the general consensus seems to be 'attachment' for the stored copy - in either Zotero's filestore or, say, WebDav - and 'Linked' for a link to a locally-held file. I find your use of 'web' for the former and 'local' for the latter is perfectly clear, but may not be 'standard'.

The PDF link directly opens the file (if locally available and Zotero is running) -- focus switches to Zotero, and the PDF is automatically opened in your default PDF viewer.
The type of link you provided -- zotero://select/library/items/9PFEWRDE and https://www.zotero.org/users/<userid>/items/9PFEWRDE -- simply select the item in Zotero/the web library. This is useful for a different reason (say you want to check metadata not included in the Roam export, or want to do something else Zotero-specific). Note how the URL handler is different for the PDF link -- zotero://open-pdf/... instead of zotero://select/....
How about this:
Zotero item: local library, web library, PDF attachment
The first link would open the Zotero client and focuses the item, the second opens the web library and focuses the item, and the third automatically opens the local PDF (if the client is running locally).
Happy to consider other labels if they make more sense!

Ok, there is more this than I first thought - I'm clearly not a power user!
The three labels make good sense to me and the functionality will be very useful.
I may have mistunderstood, but I see the first two links get you to the record in standalone and web Zotero - which is exactly what I want - but with the focus on the attachment. Is it possible to go to the record with the focus on the metadata page? This would be more useful for me, and would cover the cases where there are no attachments, but is that possible?
If it is possible, then having the links to local metadata page, web metadata page, PDF attachment would be perfect.
Thanks,
Richard

@richardlm
This has been added, and I'll create a release tomorrow.

I'm not sure why the local and web links focus the attachment for you; for me they focus only the parent item (as expected). Assuming that's some kind of bug for you (sorry!) I've proceeded.

Implemented in v1.8 https://github.com/melat0nin/zotero-roam-export/releases/tag/v1.8

I'm adding this comment to #11 even though it is closed, as it concerns the implementation - happy to transfer to new issue if you prefer.
Firstly, I really like the way that zotero-roam-export enhances the workflow between Zotero and Roam without the need to use any add-ons - it is immensely useful!
My comment is on the 'Zotero links'. The three types of link work as expected for me:

Local library: open item record in local Zotero at the item's 'Info' tab
Web library: open item record in web Zotero at the item's 'Info' tab
"file name of PDF attachment.pdf": opens the PDF file in the default PDF reader

However, in my case, I often have the same PDF stored in two places:

Zotero-controlled storage (which in my case is webdav, but could be Zotero storage) - an attachment that Zotero calls "Stored copy of file" and is the primary copy.
Local storage, as a backup / failsafe if no internet - what Zotero calls "Link to file".

zotero-roam-export provides links to both, which is good and expected behaviour, but they look identical so I don't know which is the main (Zotero-controlled) copy.
Is it possible to differentiate these in the metadata presentation?  If not, I could go through renaming one set but I would rather not.
Thanks again for this very helpful tool.


Fixed missing event-kit dependency in package.json

The package activation fails (#9) because of missing event-kit module

Thanks.

You're welcome :)


cannot iterate over dynatrace_entities.entities

Describe the bug
This appears to be a regression 1.47.2.
When using the dynatrace_entities data source, Terraform returns an error during apply when using "count" or "for_each" on the entities field.
For instance:
data "dynatrace_entities" "process_groups" {
  entity_selector = "type(\"PROCESS_GROUP\"),entityName(\"${var.name}\"),mzId(\"${var.owner.legacy_id}\")"
}

resource "dynatrace_pg_alerting" "alerting" {
  count = length(coalesce(data.dynatrace_entities.process_groups.entities, []))
...

Will fail with:
09:57:04  │ Error: Invalid count argument
09:57:04  │
09:57:04  │   on ../../src/modules/blueprints/Processus/main.tf line 35, in resource "dynatrace_pg_alerting" "alerting":
09:57:04  │   35:   count = length(coalesce(data.dynatrace_entities.process_groups.entities, []))
09:57:04  │
09:57:04  │ The "count" value depends on resource attributes that cannot be determined
09:57:04  │ until apply, so Terraform cannot predict how many instances will be
09:57:04  │ created. To work around this, use the -target argument to first apply only
09:57:04  │ the resources that the count depends on.

I am fairly certain this was corrected in the past, and it used to pass without error.
Expected behavior
It should be possible to recover dynatrace_entities.entities and use the result in a subsequent "count" or "for_each", otherwise this data source is useless.

Hello @mattBaumBeneva,
I just tried out this exact configuration with v1.47.2
variable "name" {
  type = string
  default = "go.exe"
}

variable "owner" {
  type = object({
    legacy_id = string
  })
  default = {
    legacy_id = "-3815199542646129164"
  }
}

data "dynatrace_entities" "process_groups" {
  entity_selector = "type(\"PROCESS_GROUP\"),entityName(\"${var.name}\"),mzId(\"${var.owner.legacy_id}\")"
}

resource "dynatrace_alerting" "alerting" {
  count = length(coalesce(data.dynatrace_entities.process_groups.entities, []))
  name            = "alerting-${count.index}"
  rules {
    rule {
      include_mode     = "INCLUDE_ALL"
      tags             = ["EnvironmentA:production", "Team:test"]
      delay_in_minutes = 0
      severity_level   = "AVAILABILITY"
    }
  }
}

and that worked out well.
Based on the error message it looks like the values of your variables name and owner have dependencies on resources that haven't gotten applied yet. My assumption here is, that it's a dynatrace_management_zone_v2 - whichs legacy_id is indeed not available before the resource has gotten created.
Are saying the error doesn't manifest with v1.47.1?

In fact, our situation is a bit complicated. Ideally, the ID comes from a management_zone_v2, which was created with Terraform (should be fine).
But we also have a case where the MZ already exists in Terraform and its ID is recovered by:
data "dynatrace_management_zone" "mz" {
  name = var.owner.name
}

We then have a local that either has values from one source or the other, depending on the case.
We have run hundreds of builds with this logic, but it is failing since upgrading this morning.

@Dynatrace-Reinhard-Pilz , I have rolled back to 1.47.1 and we still have the issue. No idea why this started this morning. I will attempt to debug.

In our test, the MZ v2 is planned to be created, and its details (name, id, legacy_id) are passed to other modules in an output name "info", like so:
module "pg01" {
  source = "../../src/modules/blueprints/Processus"

  proprietaire = module.Equipe-test-01.info
  nom          = "cloudwatch-agent"
}

That data is then used in the entity selector (for ex.: mxId() ).
This has worked for a long time, with the MZ being created first, as its a dependency of the second module. I'm not sure why it isnt working any longer.

@Dynatrace-Reinhard-Pilz , your understanding seems right. Is there any reason MZ v2 would not be created first in this case?
This has pretty much always worked for us.

I've been doing some research since your last message - even was able to reproduce your error message. There's not even a need for submodules. The only thing needed is dynatrace_entities having a dependency on a not yet created resource.
The error message is a fairly common topic - both within the Hashicorp forums and on StackOverflow. None of the posts I've read through are showing EXACTLY the same situation like here. Therefore I'm also a bit lost when it comes to a solution.
One way you could approach this maybe:

Define your management zone resources (likely based on a list of names)
Define data sources for the management zones with these names
Within dynatrace_entities refer exclusively to the DATA SOURCES - never to the resources

The tradeoff here is, of course, that you'll require multiple (at least 2) executions of terraform apply until everything has been created. Management Zones that don't exist yet during the first execution won't be covered by the management zone data sources during the first execution. But they will during the second one.
But I'm assuming a lot into the blue here - not knowing exactly what your whole configuration looks like. It's just an idea based on this statement within the error text:
To work around this, use the -target argument to first apply only the resources that the count depends on


Add contributor

https://github.com/biogo/hts/pull/1#issuecomment-96276242

Looks like the development branch hasn't been used in a few months. I'll reopen this on the master branch.


Modify logic to only check the dynamic maxQueueSize property on creation of a threadPool

Fixes #817

NetflixOSS » Hystrix » Hystrix-pull-requests #136 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » Hystrix » Hystrix-pull-requests #137 SUCCESS
This pull request looks good


rackspace-private-cloud url change to rpc

Updates related to this:
https://github.com/rackerlabs/rackspace-howto-dev/pull/4/files

Thanks!


Add intro text to dashboard

https://huggingface.co/spaces/macrocosm-os/pretraining-leaderboard

Done.


hack/release.sh: Add a guard against -dev suffixes for argv[2]

Because it's easier to recover from that if we fail early instead of going through and creating a "Bump to v1.2.3-dev-dev" commit, etc.
cc @rhatdan.

LGTM

@rh-atomic-bot r+


Move all TODOs from code comments into Issues

This will have the added benefit of better illustrating where some functions are still incomplete, etc.

IMO it's good to have them in code comments when more detail is needed in context.

I've changed my mind in that most TODOs seem to be little adjustments that aren't worth a feature branch on their own, or are tiny, etc. Now that the code is more complete, we can disregard this issue.


Click-here Pointer in Tutorial

The Click-here Pointer is shown in

Step 4 after user buys their own coin -
At the end of Step 2 even after user sells others coin

Hence the proposed change after which the click here pointer will be shown only in the beginning of Step 2 for the user to sell others coin
Reference - @tijno quick PR Challenge #1 - https://bitclout.com/posts/c055d0046ef8f02ca129b8fd7137c603a858564a657507cc7d1e331954e7dead?feedTab=Following

Thanks for the fix!


Request: Virtualbox

Assuming it's trivial, can you please add virtualbox support?
Thanks.

@TomAshley303 do you mean "detect that we're in a hypervisor, and tell me which one?"
cos I'm adding cpuid.CPU.HypervisorName afm for something I need.

ah, darn, #14 adds some support, but VirtualBox and qemu need DMI support, not just cpuid - so it might not make sense to add the complexity here.


Not seeing extra information in timeline

If I browse to the accounts full profile I can see the new badges, but not in the Twitter timeline. Is this supposed to happen or should you see the "actually verified" or "paid for verification" in the timeline for 'verified' accounts? I tested in both Chrome and Edge and see the same.

Is timeline not working for anyone else.  I'll leave this open incase we hear of anyone else with similar issues.

yeah, I don't see it on my timeline, only when I click on a user's profile

This is fixed in 1.2. Thanks! This extension is great :)


Add new command for removing assignment

Closes #198

After #199 is merged, we need to add removeGrade to the help page as well.


how to ingest bundles from mongodb？

Hi,
I am trying to ingest data from mongodb, but got confuse to rewrite The new bundles... pls give me some ideas. thanks

You just need to write a module in 'zipline/data/bundles/' like quandl.py , and implement the ingest function


fix(api): default evalution options on getArNSReservedNames api

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

Project coverage is 78.58%. Comparing base (4481129) to head (0a1f22e).

Additional details and impacted files
@@            Coverage Diff             @@
##            alpha     #116      +/-   ##
==========================================
- Coverage   78.70%   78.58%   -0.13%
==========================================
  Files          22       22
  Lines         648      649       +1
  Branches      120      128       +8
==========================================
  Hits          510      510
- Misses        138      139       +1

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

:tada: This PR is included in version 1.1.1-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cmocka - the successor of cmockery

Hello,
as cmockey is unmaintained I've forked the project some years ago and created a successor called cmocka. You can find the project website here:
https://cmocka.org/
It would be great if you could point to cmocka which fixes a lot of bugs and has much more features than cmockery in the meantime.
Thanks,
Andreas

It would be great if you proposed merges from your fork back into the
mainline TBH.  I vaguely remember a few years ago getting some pull
requests to improve the library which required quite a bit of clean up
before we were happy about merging the patches.  If you're willing to go
through some review we would be happy to cross the streams again.
Cheers,
Stewart
On Mon, Oct 3, 2016 at 2:28 AM, Andreas Schneider<EMAIL_ADDRESS>wrote:

Hello,
as cmockey is unmaintained I've forked the project some years ago and
created a successor called cmocka. You can find the project website here:
https://cmocka.org/
It would be great if you could point to cmocka which fixes a lot of bugs
and has much more features than cmockery in the meantime.
Thanks,
Andreas
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/cmockery/issues/33, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFw1ROaZgAYmw6b1UiKZjokDUFLB4w0Gks5qwMrKgaJpZM4KMY2n
.

I'm sorry but a few years ago, I created a git tree with all the patches from your bugtracker applied and with cmake as the build system. You ignored that pull request for more than a year, so I forked the project. Now cmocka is ~300 patches ahead of your tree and we added a lot of new features. You had the chance that I merge back patches 5 years ago. I'm sorry but it is too late now. However maybe you want to give cmocka a try ...

Well I'm glad you've found it useful, if you don't want to contribute back to the original project or credit the original authors .. neat.


fix(postgres): ensure that the connection pool is reused across queries

PR Checklist

[X] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable (n.a.)
[X] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency. (n.a.)

What are you changing?
Our testing environment for OACT uses small postgres instances with a connection limit of 25. While testing the features in sample-web-ui, we noticed that mps-router started failing to connect to the database while logging a lot of remaining connection slots are reserved for non-replication superuser connections errors. This resulted in the service being unreliable and features like power state discovery became unreliable.
The error message indicates that mps-router exhausts the connection limit of the postgres instance. Without this PR, mps-router will create a new connection pool in every Connect() call which is also disposed again due to Close() calls right after a single query. Since power state discovery in sample-web-ui triggers quite a lot of requests depending on page size, this quickly opens too many connections to the database.
This PR changes postgres.go so that it only creates a connection pool once which will then reuse the connections it opens for later queries. It also introduces a new optional environment variable MPS_DB_MAX_OPEN_CONNS which can be used to set the maximum number of connections in the connection pool. By default (and if the variable is unset), the pool does not use any limits. This configuration option enables the administrator to tune the pool to the available database resources.
These changes eliminated the error messages in our testing environment and made power state discovery much more reliable.

Should I add more test cases?

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

GitHub release
v2.3.9

Your semantic-release bot :package::rocket:


🐞[Android] execution of the workmanager destroys in_app_webview library's platform channel

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[ ] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.3.3

Plugin version
5.4.4+2

Android version
33.0.0

iOS version
11.0

Xcode version
13.4.1

Output of flutter doctor -v
[✓] Flutter (Channel stable, 3.3.3, on macOS 12.5.1 21G83 darwin-arm, locale ru-KG)
• Flutter version 3.3.3 on channel stable at /Users/eldiiar/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18a827f393 (7 days ago), 2022-09-28 10:03:14 -0700
• Engine revision 5c984c26eb
• Dart version 2.18.2
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/eldiiar/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F100
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.71.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-arm64   • macOS 12.5.1 21G83 darwin-arm
• Chrome (web)    • chrome • web-javascript • Google Chrome 106.0.5249.91
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Description
Platform channel of  in_app_webview library is destroyed when workmanager executes a periodic task. It happens on Android  system.
E/flutter (17528): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_1214122967374174233124163190134233129107185174)
E/flutter (17528): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)
E/flutter (17528): <asynchronous suspension>
E/flutter (17528): #1      InAppWebViewController.evaluateJavascript (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1420:16)
E/flutter (17528): <asynchronous suspension>
E/flutter (17528):

Fixed with release 5.5.0+5


/pkg/repo/chartrepo_test.go: fix failed unit test

Signed-off-by: Song Shukun<EMAIL_ADDRESS>The test failed just because the expected error message is a little wrong.

Sorry, I made a mistake in git user name. Close this PR.


Support for long-form synthesis.

The gradio app displays that
"MetaVoice-1B is a 1.2B parameter base model for TTS (text-to-speech). It has been built with the following priorities:
 **Support for long-form synthesis.

and on the main page:

Is there some way to do it now which is probably not documented?

سلام

@computersrmyfriends
Long-form support is still in the works, see #53

Is there some way to do it now which is probably not documented?

No, model is built in a way to handle this, but extra code is needed to make it work... we'll release it along with other upcoming features

For now, is it possible to split text and generate it?

Still waiting for your long form support. Please let me know if you have any updates

Thanks for the enthusiasm & patience @computersrmyfriends, we'll post an update here once we have more 👍

I'm excited for this feature too!

Hi, is there any update on when this feature will be released? cc @vatsalaggarwal


Use ad-hock container

To speed up the build, an ad-hoc container is suitable.
It can be created from fabrizio2210/docker_light-default_container adding the 3 dependencies (i.e. hugo, nfs and samba).
The container can be created in a separated project.

Created https://github.com/fabrizio2210/docker_light-hugo and used it.


Test is PASS for RestJsonQueryTimestampDefaultRejectsDifferent8601Formats_case13

Motivation and Context
The test will pass when this change is merged: https://github.com/awslabs/smithy/pull/1319
Testing
In the generated code, change the URI with the one in https://github.com/awslabs/smithy/pull/1319
Checklist

[ ] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[ ] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The test will pass when this change is merged: awslabs/smithy#1319

When that change is merged, Smithy still has to publish a new version to Maven, and then we will need to make a PR updating smithy-rs to that new Smithy version. In said PR is when these lines will have to be removed from the list of failing tests, because the test will start passing, and our CI will fail because it currently expects it to fail.

Ok, I can update this PR then

Closing, superseded by https://github.com/awslabs/smithy-rs/pull/1623.


Correct spellings in tutorials

Summary
I've found some spelling errors in the tutorials, this PR corrects them.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.128%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3377

Relevant Lines:
5266

💛  - Coveralls


Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c') error

The following error occurs when using vue3.
After installation, there is no development other than basic usage.
please check.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c')

Second this using Vite, vue3.

I used vue-cli for my vue project.
So, it seems that the above error occurs.
thank you.

Error in Vue Cli with Vue 3

With this error there are several warns:

Property "$createElement" was accessed during render but is not defined on instance.
Property "_self" was accessed during render but is not defined on instance.
Unhandled error during execution of render function
using Inertia-vue3

I'm having the same issue and as a result the carousel is never loaded.

PLease help !! same issue, i thinks is render function, because change in vue3 ...

I remember that I was solved putting the CDN of jQuery in the index.html of the proyect before until any script. In the

same issue in Vue CLI and Vite

same issue vue-cli with vue3 :(

Yes, I faced this problem
Just enter as below to use.
import carousel from 'vue-owl-carousel/src/Carousel'

I'm using import import { Carousel3d, Slide } from 'vue-carousel-3d' for this. i am getting vue-router.mjs:3471 TypeError: Cannot read properties of undefined (reading '_c') this eeror. there is any another solution.


Remove mapperService from CollectorContext

Some LuceneCollectorExpressions used the mapperService in startCollect
to retrieve the MappedFieldType. But the MappedFieldType is already
available when the expressions are created so this indirection through
the CollectorContext & startCollect can be removed.

Current coverage is 81.55% (diff: 100%)

Merging #4753 into master will decrease coverage by <.01%

@@             master      #4753   diff @@
==========================================
  Files          1314       1314
  Lines         45081      45080     -1
  Methods           0          0
  Messages          0          0
  Branches       7062       7062
==========================================
- Hits          36771      36767     -4
- Misses         5635       5637     +2
- Partials       2675       2676     +1

Powered by Codecov. Last update e02883a...6122d5f


Cluster disappears when markers at the same position

If I have a couple markers at the same location, clicking on the cluster zooms in, and a second click makes the cluster disappear.
To reproduce, you can use the simple_example.html, and just change:
var markers = [];
for (var i = 0; i < 100; i++) {
  var dataPhoto = data.photos[i];
  var latLng = new google.maps.LatLng(dataPhoto.latitude,
      dataPhoto.longitude);
  var marker = new google.maps.Marker({
    position: latLng
  });
  markers.push(marker);
}

To:
var markers = [];
var dataPhoto = data.photos[0];
for (var i = 0; i < 100; i++) {
  var latLng = new google.maps.LatLng(dataPhoto.latitude,
      dataPhoto.longitude);
  var marker = new google.maps.Marker({
    position: latLng
  });
  markers.push(marker);
}

Result
Before click:

After click:

I've same issues. It returns visible when you change zoom level since it is computed every time.
In addition to this, however, the info window placed on the marker is not correct. It shows some information related to Google Map position, instead of the information that I am providing.

Having the same issue. Did you find any solution to this?

Not yet

Hi!
Are you using the "markerclusterer" or "markerclustererplus"?
If is the first one, here there is a 1.0.1 version that seems work (I tested and it worked for me):
https://github.com/googlemaps/v3-utility-library/blob/master/markerclusterer/src/markerclusterer.js
If is the plus version (https://github.com/googlemaps/v3-utility-library/blob/master/markerclustererplus/src/markerclusterer.js), this seems to have the same issue, but here there is a workaround that worked for me:
https://github.com/googlemaps/v3-utility-library/issues/252#issuecomment-129694261
I hope this helps!

Just define a "maxZoom" for your Google Map and place the following Code before the "clusterclick" (function: ClusterIcon.prototype.triggerClusterClick) trigger:
if (markerClusterer.isZoomOnClick()) {     if (markerClusterer.getMap().getZoom() === markerClusterer.getMap().maxZoom) {       return;     }   }

I had the same issue, when the markercluster option maxZoom was not set. Adding maxZoom worked for me without any other workarounds with version 1.0.1

The update didn't worked for me (the event object in triggerClusterClick as been deleted in the updated version and I need it...).
So if someone is looking for another solution with version 1.0, this worked for me :
google.maps.event.addListener(markerCluster, "clusterclick", function(cluster, e) {
					setTimeout(function() { markerCluster.redraw(); }, 100);
				});

we can use:-
https://jawj.github.io/OverlappingMarkerSpiderfier/demo-1.html
https://github.com/jawj/OverlappingMarkerSpiderfier
https://stackoverflow.com/questions/20471417/multi-markers-same-location-google-maps?rq=1

Hi I just added a small random offset to all my markers
$scale = 10000;
$delta_lat = (mt_rand (0,100) - 50)/$scale;
$delta_long = (mt_rand (0,100) - 50)/$scale;
$post_latitude = $lat + $delta_lat;
$post_longitude = $long  + $delta_long;

https://github.com/jawj/OverlappingMarkerSpiderfier

hello guys,
I seen your comment and I feel interesting. How I can do like this at ios swift?

Hi I just added a small random offset to all my markers
$scale = 10000;
$delta_lat = (mt_rand (0,100) - 50)/$scale;
$delta_long = (mt_rand (0,100) - 50)/$scale;
$post_latitude = $lat + $delta_lat;
$post_longitude = $long + $delta_long;

Helpful!!

Best solution: Random lat lng for same location. I tried and success


Implement individual page feedback storage in Google Analytics

Removed the free-text input control from the feedback form, and altered the form handling to send the "page useful" data to google analytics as a custom event.

:tada: This PR is included in version 3.3.0-next.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


old docker images

why are the older docker images being removed. They worked perfectly fine.

Would really appreciate it if the old docker images like 1.1.2 are restored since they worked for me.

Sorry i can't,
v1.1.2 dependencies didn't work anymore and i'm unable to rebuild the image. (cfssl link are dead)
Sorry for the inconveniance but i had too many issues from old image version.
I will keep old images anyway from now thanks.


[CHA-187] Added chat template pages (features/protocol)

Added placeholders for new chat features and protocols.
CHA-187

@splindsay-92 @AndyTWF do we need separate protocol version for Chat SDK? I have concerns, that it will add additional level of complexity.

@ttypic Our aim is to keep chat versioned separately to the rest of the Ably API because we didn't want to tie it in to the realtime protocol. Doing so would mean that we'd technically have to bump the protocol version used by all the channels SDKs whenever we deliver new features to chat.
So we'll have a versioning scheme for both the backend endpoints, as well as the SDK itself. The reasons for this are discussed in CHARFC-007 on Confluence :)


Spotify-Alexa Resume song issue

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
I am using avs-device-sdk-1.18 Spotify ESDK Adapter-3.122.67 and Adapter v.1.8. Alexa. Spotify resumes from where it was left paused but Alexa says “What do you want me to Play?”.
What is the expected behavior?
Spotify resumes the song from where it was left paused 8 hours ago.
What behavior are you observing?
Instead of playing the paused song, Alexa says “What do you want me to Play?”
Provide the steps to reproduce the issue, if applicable:

Alexa play Spotify
Alexa pause
After 8 to 10 hours Alexa resume

Tell us about your environment:
avs-device-sdk-1.18
Spotify ESDK-3.122.67
Adapter v1.8
What version of the AVS Device SDK are you using?
  avs-device-sdk-1.18

Tell us what hardware you're using:
Linux-Ubuntu 16.04
Tell us about your OS (Type & version):

[x] Linux
Resume_issue.zip

Hi @Alexa-AUH,
Due to the nature of the issue, can you please reach out through your Amazon Business Representative and we can debug this using a separate communication channel.  Thanks!


Private Key for Certificates in the Central SSL Store

Version 1.8.8-testing
Server 2012 R2
IIS 8.5
Is there a way to specify the "password" or "private key" that's used in the Central SSL Store?
At the moment, using central SSL is ineffective as the generated certificate does not contain the correct private key and IIS shows a red "X" next to the cert.
The only way around is to generate it normally for one server and export the certificate to the centralized SSL store.

Version 1.8 added in a PFXPassword setting in the letsencrypt.exe.config.
See it in the WIki.


move wallet to topbar

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #713
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

For any UI changes, please help to add the screenshot of each change in both desktop and mobile resolutions.

For any UI changes, please help to add the screenshot of each change in both desktop and mobile resolutions.

+1


Suggested Edit for other release note

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @xtineledlie,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Information about VGGFace models is missing: can you add it?

Hello,
I have two requests:

Can you provide the code you used to reverse-engineer the VGG-Face models? It would be great if you add this code to this repo.

Can you provide the information you used to apply the pruning method over the two models: GTSRB-based model and VGG-Face model? That is, which neurons did you remove and how did you select them? The results I am getting are lower than the ones reported in the paper.

Thanks for your interests in your paper.
Request 1: We are slowly release our code for different datasets. In the meantime, you can easily obtain the VGGFace model. There are many pretrained VGGFace model exist online, and we use PubFig as the transfer learning dataset.
Request 2: I might misunderstand your question, but we prune the neurons that are most related to reverse engineered triggers. We measure relatedness by the value of neuron activation. Also make sure to not optimize the pruned neurons during the fine tuning, which might be the reason that leads to poor performance.
Let me know if I answer your questions.

@Shawn-Shan I have the same request. Could you please release a small example pruning script which prunes one of your models.

You mention "second to last layer" but I am confused about what activations to consider? e.g. for GTSRB model (512 layer) should I consider pre-ReLU/after-ReLU activation values?
For ranking the neurons, how do you average the activations across images? Do you take the mean directly? Or the mean of the absolute value? Also, while taking the difference of activations between clean and backdoored data do you take the absolute difference?

It would be great if you could provide some help.

Sorry for the late response
Our layer definition includes activation, so it's always after ReLu.
For ranking neurons, we took the mean of absolute difference.


Changed max to argmax

Changed max() to argmax() to make code easier to read.

Sorry, I was late at getting to this, and now there is a conflict; can you fix?

Updated PR in #481


[nitro-protocol] Replace TSLint with ESlint in Nitro Protocol

Description
This PR replaces TSLint with ESlint in Nitro Protocol.
TSLint is deprecated.
The rules can be changed.
What does everyone this?
Related issues
Closes #35

I think enforcing return types on functions might be a nice rule to enforce (https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-function-return-type.md)
However I'm not sure of the effort to implement this rule right now. Might be worth a look if people agree?

I think enforcing return types on functions might be a nice rule to enforce (https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-function-return-type.md)
However I'm not sure of the effort to implement this rule right now. Might be worth a look if people agree?

I agree. This was out of the scope of this PR. We can create an issue once this PR is merged


use ObjectId instead adding created_at field in Timestamps module

What do you think about subject?
And there will be an aliases:
where :created_at.gt => 3.days.ago

instead of:
where :id.gt => BSON::ObjectId.from_time(3.days.ago)

Due to ObjectId has default ascending order and indexes I suppose It will be awesome improvement.
Any thoughts?

I'm game for it - probably as a configuration or different module though... Object ids would not make much sense to external systems so I can see people still wanting normal timestamps. (Like JSON exports, etc.)

I think an export also can be implement through aliases because we have already had serialization methods. The main problem here are the apps which needs accuracy to millis.


Upgrade Authentication

🚀 Feature Request
Currently, during the POC phase, we've been using a JWT saved in local storage. Which has been great for development. As Haztrak leaves the POC phase, it would be good to update this to cookie based authentication.
Some of the alternatives include storing the token in memory, however that be erased every time the page is refreshed (not desirable). Session storage is just as insecure.
depends on #245
This will involve modifications to backend and front end.
Ping me here if interested in taking this issue Before

marking as wont fix for now as further complicating the authentication process would only delay the project goal


Add a custom SVGO plugins ?

It is possible to add a custom SVGO plugins to the script. ?
Best,

It might be possible, but it won't be easy. I'll think about it : )

Any news about this issue ? Lots of issues can be indirectly resolved by this one. Isn't it ?

For now, there is no way except forking the plugin and changing https://github.com/BohemianCoding/svgo-compressor/blob/develop/scripts/build-plugins.js to include the custom plugin.
That being said, Sketch now supports running a script with require so I can imagine a way for the svgo.json to specify custom plugin path and the script to require them dynamically. It's just not done yet


compressor: simplify logic

This confused me the first time I read it, so make it simpler
for the next reader -- there's no need to handle not_compressed_.inc()
from the two different places. Delay it until encodeHeaders() and
do it once.
Signed-off-by: Raul Gutierrez Segales<EMAIL_ADDRESS>

@mattklein123 @dio take 2 :-)

Hmm, failed test passes locally for me:
//test/extensions/filters/http/cache:cache_filter_integration_test       PASSED in 4.3s

So guessing transient:
test/extensions/filters/http/cache/cache_filter_integration_test.cc:68
Value of: request->headers()
Expected: is a superset of headers:
':status', '200'
'date', 'Thu, 01 Jan 1970 01:00:01 GMT'
'cache-control', 'public,max-age=3600'
'content-length', '42'

  Actual: 16-byte object <E0-AB 68-01 00-00 00-00 B0-B3 68-01 00-00 00-00> (of type Envoy::Http::ResponseHeaderMap), where the following matchers don't match any elements:
matcher #1: is equal to ("date", "Thu, 01 Jan 1970 01:00:01 GMT")
Stack trace:
  0x84d18c: Envoy::Extensions::HttpFilters::Cache::CacheIntegrationTest_MissInsertHit_Test::TestBody()
  0x15f1028: testing::internal::HandleExceptionsInMethodIfSupported<>()
  0x15f0f55: testing::Test::Run()
  0x15f1e20: testing::TestInfo::Run()
... Google Test internal frames ...

cc: @toddmgreer

/azp run envoy-linux

@rojkov could you help to take a look at this? Thanks!


Update 20230613

Updates the containers for

fastp to 0.23.4
minimap2 to 2.25
freyja to 1.4.3-20230613

Closes https://github.com/UPHL-BioNGS/Cecret/issues/186

Closes https://github.com/UPHL-BioNGS/Cecret/issues/182

Adds wastewater to README for https://github.com/UPHL-BioNGS/Cecret/issues/183


Duplicate mappings

Version 1.0.0-RC3
[trace] Stack trace suppressed: run last elastic-beanstalk:stage for the full output. [error] (elastic-beanstalk:stage) Duplicate mappings: [error] 	/home/MYHOME/PROJECT_PATH/target/docker/stage/opt/docker/lib/jaxen.jaxen-1.1.6.jar [error] from [error] 	/home/MYHOME/.coursier/cache/v1/https/repo1.maven.org/maven2/jaxen/jaxen/1.1.6/jaxen-1.1.6.bundle [error] 		/home/MYHOME/.coursier/cache/v1/https/repo1.maven.org/maven2/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar
The culprit seem to be "com.google.code.findbugs" % "findbugs" % "3.0.1"
It works going back to Ivy resolver.

Closing for now. "com.google.code.findbugs" % "findbugs" % "3.0.1" seems to be resolved fine with recent sbt-coursier versions (1.1.0-M13-2 is fine in particular).


haml-lint version

Hello,
haml-lint is now at version 0.7.0 but pronto-haml require 'haml-lint', '~> 0.6.0', '>= 0.6.0'
Is it possible to remove  '~> 0.6.0' from pronto-haml.gemspec to get the latest version of haml-lint working ?
What is the problem with the newer version of haml-lint ?

Ping, it got outdated again. A less strict requirement or at least a quick check if the tests still pass with each haml_lint release would be nice. Here's an RSS feed of haml_lint releases

@jhass updated and released as v0.4.4.
I'm in progress of creating integration specs for pronto- runners. pronto-haml doesn't have those yet, so I do a quick manual check instead. Terrible, I know :smile:
As the API pronto-haml uses is not officially meant to be used like this, I can't depend on it not breaking. I've been burned by having a less strict requirement with another runner. Of course, I'd listen to an argument to change my ways :smile:

Thanks. I guess some integration tests are the way to go then.

Outdated again - I see you commited the update but didn't release it to rubygems yet. Can you release the new version or is anything broken?

@doits done, released :bow:


How to return values from query->then()

I created a database helper class to handle quires from all over from app but the problem is that I can't return the result from then callback function to my main function. It stock and never close the connection. and my code never stops.
please provide me some examples on this architecture to how return the values?
PS: it was only echo examples on the documentation.
 public function query($query)
    {
        $factory = new React\MySQL\Factory();
        $factory->createLazyConnection("database@auth")->query("Select * FROM Carts Where 1")
            ->then(
            function (QueryResult $command) {
                if (isset($command->resultRows)) {
                    return ['result' => true, 'details' => ['fields' => $command->resultFields, 'rows' => $command->resultRows]];
                } else {
                    if ($command->insertId !== 0) {
                        return ['result' => true, 'details' => ['insertId' => $command->insertId, 'effectedRows' => $command->affectedRows]];
                    }
                    return ['result' => true, 'details' => ['effectedRows' => $command->affectedRows]];
                }
            },
            function (Exception $error) {
                return ['result' => false, 'error' => $error->getMessage()];
            }
        );
    }

I see that you establish a long-lived connection for each request. It is more correct to build a connection to the base once.
To help you call a simple echo code, you need to see how you use the query function. Where is the main event loop process located?

Good reason may be keep single connection instead of creating new for every query. But with multiple connections code may works like this.
public function query($query)
{
    $factory = new \React\MySQL\Factory();

    return $factory->createConnection('database@auth')
        ->then(function (\React\MySQL\ConnectionInterface $connection) use ($query) {
            return $connection->query($query)
                ->then(function (\React\MySQL\QueryResult $result) {
                    // TODO: Process result and return required data here.
                })
                ->always(function () use (&$connection) {
                    // Close opened connection and unset variable value on any reason to prevent memory leeks.
                    $connection->close();
                    $connection = null;
                })
            ;
        })
    ;
}

Later this method may be called to collect processed data as
$foo->query('SELECT * FROM Carts')->then(function ($value) {
    // TODO: Work with provided data here.
});

@Parsoolak I'm a bit late to the party, but excellent question indeed!
I understand that working with an async database adapter can be harder than traditional synchronous code, so definitely takes some time to get used to. It looks like the last snippet is an excellent step!
On top of this, we're also currently in the process of integrating full support for fibers and coroutines into ReactPHP, so this should definitely make this much easier in the future: https://github.com/reactphp/async
For future reference, I've also written up everything that is required to use async database requests in an HTTP context here:
https://framework-x.org/docs/integrations/database/
I hope this helps :+1:


Move VariationalParams from Model to DeterministicVI

Also, FreeVariationalParams.

@andymiller -- Rather than creating a GalShape type to call load_bvn_mixtures , could you reuse the LatentState type (or whatever it's call now)? That contains all the galaxy shape parameters, as well as some extra ones.

That sounds good, @jeff-regier.  In param_set.jl there seem to be GalaxyPosParams that has all the fields I need.  What are these used for?  Also, it looks like fields are all Ints of some type --- is there a way to reuse this code, or should I just define my own types?

I suggest defining a new ParamSet in param_set.jl, something like
immutable LatentStateIndexes <: ParamSet
    u::Vector{Int}
    e_dev::Int
    e_axis::Int
    e_angle::Int
    e_scale::Int
    r::Vector{Int}
    c::Matrix{Int}
    a::Matrix{Int}
    k::Matrix{Int}

    LatentStateIndexes() =
        new([1, 2], 3, 4, 5, 6,
            collect(7:(7+Ia-1)),  # r
            reshape((7+Ia):(7+Ia+(B-1)*Ia-1), (B-1, Ia)),  # c
            reshape((7+Ia+(B-1)*Ia):(7+2Ia+(B-1)*Ia-1), (Ia, 1)),  # a
            reshape((7+2Ia+(B-1)*Ia):(7+2Ia+(B-1)*Ia+D*Ia-1), (D, Ia))) # k
end

You could use an instance of this type throughout Model, just as we're using ids (and instance of CanonicalParams) currently.  A better name for CanonicalParams, now that we're merging MCMC and VI, might be VariationalParamIndexes.

Oh --- I see how these are being used.
Is this kind of indexing faster than using a vector of typed objects, where the type with named fields?

You could also reused GalaxyPosParams if you just need u and the e_... indexes. But it probably makes more sense to pass the full latent state (a vector of length 22) for each source to every function in Model rather than just the galaxy state (a vector of length 6).
Yes -- This is approach is for speed. Keeping all the params in a vector keeps them together in memory. With a compose it type, each field is a pointer to a vector, so a single source has its parameters all over the place.

Great --- I'll create a LatentStateIndexes object for this.  Thanks!

@jeff-regier - it looks like VariationalParams and FreeVariationalParams are used in Transform.jl, which is imported by DeterministicVI.jl.  As Transform.jl sits at a higher level, moving these types in there seems to work and pass tests.  Can you think of a better spot for them?

No, that's a fine spot. We should really either make Transform part of
DeterministicVI or else get the VI stuff out of Transform. But that's for
another time, and not a really high priority.
On Wed, Oct 19, 2016, 5:38 PM Andy Miller<EMAIL_ADDRESS>wrote:

@jeff-regier https://github.com/jeff-regier - it looks like
VariationalParams and FreeVariationalParams are used in Transform.jl,
which is imported by DeterministicVI.jl. As Transform.jl sits at a higher
level, moving these types in there seems to work and pass tests. Can you
think of a better spot for them?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/327#issuecomment-254979593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIieC7oTo4-4yjTcf_JOnP2AtaZ5qotKks5q1rf4gaJpZM4KKYxT
.


Update module_size example's clap dependency

closes #1692

tests failed again because of that weird wasmer problem


Test: Portable Mode

[ ] macOS @octref
[ ] linux @mjbvz
[ ] windows @alexandrudima

Complexity: 3

Go through the preview documentation: https://github.com/Microsoft/vscode-docs/blob/vnext/docs/editor/portable.md
Give it a good smoke test
Also provide issues for improving the documentation

USB Drive
It would be pretty cool to test this setup on a USB Drive. I suggest using something reasonably fast, at least USB 3.0. Give it a smaller perf test around that setup and provide feedback on it.

@joaomoreno I'm having trouble getting this working on macos or linux. After creating the code-portable-data folder, the downloaded insiders instance still picks up my global state/config
Do I need to uninstall my existing insiders build before trying to setup a portable instance? Any other steps required to get this working?

@joaomoreno On macOS, when I run the App, nothing happens. No files created in code-insiders-portable-data. All my settings / keybindings are the ones in the installed Insiders.
Did I do something wrong?
@mjbvz Notice that you need to use code-insiders-portable-data.

@joaomoreno I'm guessing that's because when macOS is running each app in another location? See the AppTranslocation:

When I run it through cli like this, it works fine:
./Visual\ Studio\ Code\ -\ Insiders.app/Contents/MacOS/Electron

@joaomoreno I'm having trouble getting this working on macos or linux. After creating the code-portable-data folder, the downloaded insiders instance still picks up my global state/config
Do I need to uninstall my existing insiders build before trying to setup a portable instance? Any other steps required to get this working?

Not at all... this should just work independently of what you have installed. Did you create the insiders folder? code-insiders-portable-data

@octref Yeah that's pretty rough. I already have an issue for it: https://github.com/Microsoft/vscode/issues/52224

Thanks @joaomoreno. Working now on linux using code-insiders-portable-data instead of code-portable-data

@joaomoreno By giving it smoketest, do you mean I should run the automated smoketest with this?
yarn smoketest --build ~/Desktop/test/Visual\ Studio\ Code\ -\ Insiders.app

When I run this, the Insider build is opened but no smoketest is performed.
Other than #52224, I was directly launching Electron with ./Visual\ Studio\ Code\ -\ Insiders.app/Contents/MacOS/Electron and it has been working fine.

I'm closing this, as #52224 is tracked in another issue.


Initial feedback

Altogether this looks really good to me! I'm glad to see you were able to keep almost all of it very simple and direct. It doesn't feel conceptually any harder than our earlier web frameworks despite scaling up to so much richer functionality.
File layout
In terms of file layout, what you have is very conventional for ASP.NET historically so will definitely be OK as-is. My personal preference would be to try to reduce the "spread out all the files based on their type" a bit if possible and try to group more by app feature area, but the only opportunity for that here is perhaps combining the Data, Models, and Migrations folders into a single top-level folder, e.g.:

Data/

AppDbContext.cs
Movie.cs
Migrations/

20230701025650_BlahBlahBlah.cs
etc

... however if this would force more nonstandard config options then it's not worth it, and what you have is already perfectly fine.
CRUD pages
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Create.razor#L48
Is the = new() useful here? I thought it would get overwritten with null if it's not currently handling a form post. But I guess you must have tried it out.
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Create.razor#L2
BlazorScaffoldingContext  is an odd name. How about AppDbContext? I faintly remember the older scaffolders used a name like that.
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Create.razor#L42
In all URLs, make sure to use base-relative paths and not root-relative ones. For example, in this case it should be movies and not /movies. Otherwise it will break if people add a nonempty pathbase.
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Delete.razor#L48-L49
Did you try this approach? https://github.com/dotnet/aspnetcore/issues/45654#issuecomment-1742627238 I'd be interested to know if that doesn't work.
My guess is that the HTTP status code can easily be set to 404 this way, but perhaps the wider issue is you then have to put in some UI logic like if (notFound) {
Not found
 } else { ... } and that's cumbersome and makes the whole thing feel less ergonomic. Is that the concern?
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Index.razor#L13
Do you think it's worth enabling pagination? Otherwise if people wire this up to a DB table with a large number rows, the page will appear to be broken, or at least will have very poor perf since it will actually retrieve all the rows from the DB.
https://github.com/danroth27/BlazorScaffolding/blob/9a6cc450c4dbb144523a1081d9f987ecf668a87a/Components/Pages/Movies/Details.razor#L27
Do you know for sure that id values will always be numeric/GUIDs? If it's possible for them to be other strings, you'd need to URL-encode the ID parameter in URLs like this. One fairly clean option would be to add a static method to some of the pages to return their URL, e.g., in Details.razor, add:
public static string Url(Movie movie) => $"movies/details/{UrlEncode(movie.id)}";

And then elsewhere you can write Details.Url(movie). That's the sort of direct, non-magic approach I used to find more effective than framework-based URL generation.
I notice there's no streaming rendering in here. That's totally fine and I wouldn't necessarily suggest introducing that unless you can observe a UX benefit. I don't know how well it would work or not with the particular QuickGrid usage pattern you're using. But curious to know if you tried it.

Thanks @SteveSandersonMS for all this feedback!

The only opportunity for that here is perhaps combining the Data, Models, and Migrations folders into a single top-level folder

The location of the model type isn't determined by the scaffolder - it's user defined. The existing tutorials instruct the user to put the model type in the Models folder, but it could just as easily go anywhere else. The DbContext is generated by the scaffolder in the Data folder (which oddly doesn't appear to be configurable). The migrations are also user generated by manually running the EF Core tooling after running the scaffolder. The EF Core tools will by default add migrations to the Migrations folder, but the user can customize this using command-line options.

Is the = new() useful here? I thought it would get overwritten with null

If I don't have this, then I get an exception when loading the Create page: "InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter". I have verified that it does work with RC2. Wasn't this enabled by the work you did to support using the from form parameter as the form model? Let me know if I need to initialize in OnInitialized instead.

BlazorScaffoldingContext  is an odd name

The default DbContext name generated by the existing scaffolders is based on the project name. I'm trying to stay consistent with the existing scaffolders as much as possible. The user can always choose whatever name they want when running the scaffolder.

In all URLs, make sure to use base-relative paths and not root-relative ones

Fixed: https://github.com/danroth27/BlazorScaffolding/commit/3394f609cc37861bb4d8ba8e25d8baea94d4ed16

My guess is that the HTTP status code can easily be set to 404 this way, but perhaps the wider issue is you then have to put in some UI logic

Right. Adding UI logic to each page seems clunky. As a short-term solution, what do you think about using NavigationManager.NavigateTo("notfound") to force a 404 response?

Do you think it's worth enabling pagination? Otherwise if people wire this up to a DB table with a large number rows, the page will appear to be broken, or at least will have very poor perf since it will actually retrieve all the rows from the DB.

Seems like a reasonable idea, so I added it: https://github.com/danroth27/BlazorScaffolding/commit/3d2b5bbed036684286fa30c2180e58647402db2c. But pagination currently requires interactivity. Are we ok with requiring that? One potential issue is that now I think we might now be hitting the database twice (once during prerendering and once for the interactive render). Normally you mitigate that by persisting component state, but I'm not sure how to do that with QuickGrid doing the DB query. Alternatively, should we consider updating QuickGrid pagination to not require interactivity?

Do you know for sure that id values will always be numeric/GUIDs? If it's possible for them to be other strings, you'd need to URL-encode the ID parameter in URLs

Nice catch! It looks like EF Core supports any primitive type as the key. I updated the link generation to do URL encoding by adding static link generation methods on each page: https://github.com/danroth27/BlazorScaffolding/commit/a4607adf18198b60dd8c01fd0a276f681d5a23b1. Let me know if the Url method name would pass an API review 😄.

I notice there's no streaming rendering in here. That's totally fine and I wouldn't necessarily suggest introducing that unless you can observe a UX benefit.

I tried out enabling streaming rendering and it seems to be working as expected: I see the table render initially with no rows and then fill in with data. In the page source I also see the streamed batches. Seems like a good addition but let me know if you foresee issues with it.

If I don't have this, then I get an exception when loading the Create page: "InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter

Understood. The team discussed this yesterday and ideally we'd like to change this so that even on GET requests, [SupplyParameterFromForm] would null out any nonmatching parameters. But I don't know if that work is actually scheduled and tracked. cc @MkArtakMSFT

Right. Adding UI logic to each page seems clunky. As a short-term solution, what do you think about using NavigationManager.NavigateTo("notfound") to force a 404 response?

Very reasonable.

But pagination currently requires interactivity

It shouldn't require that. It may be necessary to implement a custom pagination UI that emits the required querystring params so it works in non-interactive mode. Is that something you tried? TBH longer term we should update QuickGrid to do that automatically.

Alternatively, should we consider updating QuickGrid pagination to not require interactivity?

Yes but I suspect that would have to be post-.NET 8

Let me know if the Url method name would pass an API review 😄.

It would definitely pass my API review, but then I tend to prefer things that are aesthetically good, with less emphasis on arbitrary rules. This is aesthetically good. Let's say it passes review.

I tried out enabling streaming rendering and it seems to be working as expected

Sounds like a good thing then!


YAML containers spec spelling error

spec:
containers:
- mane:
"- mane" should be "- name"

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

ID: 95aa8619-2154-00fb-5994-09b7a9673e03
Version Independent ID: 112420c9-17f7-eeb4-4418-001a7f8526c0
Content: Build ASP.NET Core 2.1 applications deployed as Linux containers into AKS/Kubernetes clusters
Content Source: docs/standard/containerized-lifecycle-architecture/design-develop-containerized-apps/build-aspnet-core-applications-linux-containers-aks-kubernetes.md
Product: dotnet
Technology: dotnet-ebooks
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Thank you for opening this issue. Community member @anichin has fixed this.
Thanks again!


Next.js SSR Hydration error with Modal component

Describe the bug
With Next.js alongside flowbite-react, using Modals in the DOM causes errors with Next.js's builtin SSR.
To Reproduce
Steps to reproduce the behavior:

Initialize Next.js project (create-next-app)
Setup tailwind, Flowbite, and flowbite-react library
Import and use Modal component
Open development page and see error

Simple repository to replicate the error:
https://github.com/AhmedA1559/modal-example
Expected behavior
Using modals should render properly with Next.js's SSR, producing no errors.
Screenshots

System information:

Device: macOS M1 Pro (2021)
Resolution: 3024×1964
OS: macOS
Browser: Safari
Version: Version 15.4 (176<IP_ADDRESS>.13)

Project information:
npm list --depth=0 ├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

I also got similar errors and got it fixed in multiple ways:
One would be by wrapping the Modal component in a Suspense component, which was introduced in React 18 without being experimental anymore.
Another solution is by using useEffect and states.
useEffect (in my example) will be triggered when the HTML was fully rendered.
You could do something like this to have your Modal shown after the site was rendered.
// ...
const [isLoading, setIsLoading] = useState(false)

useEffect(() => {
        setIsLoading(true)
}, [])

// ....

return (
   // ...
   {
     isLoading ? <Modal></Modal> : null
   }
)

An example how I use this fix currently would be this (and the following) line(s) in my component.
Possible explanations why this might happen in Next.js as well as further fixes can be found

in this answer here by juliomalves on StackOverflow
and in this endless discussion at the repo of Next.js: https://github.com/vercel/next.js/discussions/35773

I've tried to play around with this but I'm honestly stumped. My understanding is that this happening because the Modal is created in a React.Portal. There's no HTML delivered to the spot where the Modal is actually declared. But I don't know how to help next understand/deal with that.

Fixed.


themekit.cat needs ownership transferred over to Shopify

@chrisbutcher @ilikeorangutans could one of you get in contact with someone on the operations team so I can get the domain transferred over to Shopify? It's going to renew on the 26th of February. I won't let the renewal lapse, but it would be good if I didn't have to worry about paying for it :)

Sure thing!

FYI @fredryk @cshold @m-ux

@chrisbutcher was this ever taken care of?

@tanema Not sure. The last this was discussed is here: https://github.com/Shopify/traffic/issues/571

Looks like it still needs to be transferred

Yeah this still needs to get taken care of. I've never really done domain transfers, so whoever from ops should reach out and let me know what needs to happen.
I think I bought this domain with Hover, so this should be fairly easy I think.

Just a reminder that this domain expires on 2017-02-26T16:27:46.758Z so hopefully this can be addressed soon.

Thanks @csaunders hopefully I can expedite this then.

Shopify now has management of this domain.


Unable to find installer for the UWP_IL2CPP component on 2019 installs

running on a 2019 build with latest develop version:
PS> Install-Module UnitySetup -Scope CurrentUser -RequiredVersion 5.1.125-develop -AllowPrerelease
PS> Find-UnitySetupInstaller -Version '2019.1.0f2' | Format-Table
WARNING: Unable to find installer for the StandardAssets component.
WARNING: Unable to find installer for the UWP_IL2CPP component.
WARNING: Unable to find installer for the Mac_IL2CPP component.
ComponentType Version       Length LastModified         DownloadUrl

   Windows 2019.1.0f2 765004664 4/10/2019 9:31:08 PM https://download.unity3d.com/download_unity/292b93d75a2c/Wi...
     Linux 2019.1.0f2 176670984 4/10/2019 9:29:21 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
       Mac 2019.1.0f2  81021088 4/10/2019 9:29:20 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...

Documentation 2019.1.0f2 302884184 4/10/2019 9:30:31 PM https://download.unity3d.com/download_unity/292b93d75a2c/Wi...
Windows_IL2CPP 2019.1.0f2  59137256 4/10/2019 9:29:42 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
UWP 2019.1.0f2 273275800 4/10/2019 9:29:50 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
Android 2019.1.0f2 481429688 4/10/2019 9:29:03 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
iOS 2019.1.0f2 895919584 4/10/2019 9:31:12 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
AppleTV 2019.1.0f2 328364240 4/10/2019 9:29:11 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
Facebook 2019.1.0f2  36121584 4/10/2019 9:29:03 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
Vuforia 2019.1.0f2 101001032 4/10/2019 9:29:35 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
WebGL 2019.1.0f2 235860856 4/10/2019 9:29:52 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
Lumin 2019.1.0f2 145120904 4/10/2019 9:29:23 PM https://download.unity3d.com/download_unity/292b93d75a2c/Ta...
However, if i run it with a 2018 version it finds it just fine:
Find-UnitySetupInstaller -Version '2018.4.4f1' | Format-Table
WARNING: Unable to find installer for the Lumin component.
WARNING: Unable to find installer for the StandardAssets component.
WARNING: Unable to find installer for the Mac_IL2CPP component.
ComponentType Version       Length LastModified         DownloadUrl

   Windows 2018.4.4f1 580584400 7/12/2019 7:47:25 AM https://download.unity3d.com/download_unity/5440768ff61c/Wi...
     Linux 2018.4.4f1 170563344 7/12/2019 8:07:39 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
       Mac 2018.4.4f1  56130088 7/12/2019 8:07:36 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...

Documentation 2018.4.4f1 314761544 7/12/2019 8:08:06 AM https://download.unity3d.com/download_unity/5440768ff61c/Wi...
Windows_IL2CPP 2018.4.4f1  56826832 7/12/2019 8:07:51 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
UWP 2018.4.4f1 203710992 7/12/2019 8:07:46 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
UWP_IL2CPP 2018.4.4f1 192902432 7/12/2019 8:07:48 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
Android 2018.4.4f1 469961640 7/12/2019 8:07:21 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
iOS 2018.4.4f1 751158760 7/12/2019 8:08:24 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
AppleTV 2018.4.4f1 257149768 7/12/2019 8:07:33 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
Facebook 2018.4.4f1  69161376 7/12/2019 8:07:32 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
Vuforia 2018.4.4f1 107805624 7/12/2019 8:07:47 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...
WebGL 2018.4.4f1 174537704 7/12/2019 8:07:54 AM https://download.unity3d.com/download_unity/5440768ff61c/Ta...

dupe of issue #128

If I recall correctly, the Unity 2019 UWP package is forced to IL2CPP. There's no option as a .NET back end here.

Okay, but is it possible to use UnitySetup to install the Additional Downloads? https://unity3d.com/unity/whats-new/2019.1.8  After i put Windows (IL2CPP) Target Support and Windows Store (.Net) Target Support on the agent manually the build was unblocked.

In 2019 UWP IL2CPP is installed by default so the warning is a bit of a red herring as you'll have it whether you wanted it or not. I'm thinking we can expand on our logic for these warnings to not print them for components that aren't expected for a specified version if the All component flag is passed.

If you used the installers from your query above @nickhorvath I'm curious why you didn't have Windows Store .NET Target Support or Windows IL2CPP Target Support as both of those to be getting properly discovered for me. =(


Build on windows successfully

When npm runs on windows (even from git bash) it executes scripts as CMD
scripts. Using $var in these scripts causes issues on Windows.
Bash can be invoked however, so moving these scripts into shell files in
the bin directory allows the scripts to be completely bash while still
working on windows.

Hi Justin, thanks for this! Happy to make the changes required to get this stuff working on Windows.

@pdubroy Fixed!

Thanks! Merged.


Release v0.12.0

New release when the following PR are merged:

[x] https://github.com/control-toolbox/CTBase.jl/pull/218
[x] https://github.com/control-toolbox/CTBase.jl/pull/217
[x] https://github.com/control-toolbox/CTBase.jl/pull/214
[x] https://github.com/control-toolbox/CTBase.jl/pull/219

and this issue is closed: https://github.com/control-toolbox/OptimalControl.jl/issues/169.
Note that in CTDirect.jl, there are also some default values that can be transferred into CTBase.jl:
https://github.com/control-toolbox/CTDirect.jl/blob/a9ae483a57382d44dba0612af914d78275fd6d7a/src/CTDirect.jl#L13

Go to v0.12.0.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/112606
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.12.0 -m "<description of version>" 162054738d8a2fc8d5eb9c2b7faedec8ef38510e
git push origin v0.12.0


[Python] usability improvements for a "minimal" pyarrow

Describe the enhancement requested
Providing slimmer variants of arrow has been a topic for quite a while, but got more urgent with pandas plan to depend on pyarrow, which would bring quite a substantial installation size increase, due to the way pyarrow gets packaged (this is true even more so in conda-forge, where we package a "maximal" version of arrow -- since it's so hard to build from source -- that generally contains more in terms of transitive dependencies than the wheels).
Through work on the feedstock, the conda-forge side of arrow is now ready to split up libarrow 14.0 into several pieces (currently libarrow-{acero,dataset,flight,flight-sql,gandiva,substrait} + libparquet), but we're still having pyarrow depend on the entirety of libarrow, not least because the python bindings link to everything but libarrow-flight-sql directly:
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_acero.cpython-312-x86_64-linux-gnu.so):           Needed DSO lib/libarrow_acero.so.1400     found in libarrow-acero-14.0.0-h59595ed_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_dataset.cpython-312-x86_64-linux-gnu.so):         Needed DSO lib/libarrow_dataset.so.1400   found in libarrow-dataset-14.0.0-h59595ed_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_dataset_orc.cpython-312-x86_64-linux-gnu.so):     Needed DSO lib/libarrow_dataset.so.1400   found in libarrow-dataset-14.0.0-h59595ed_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_dataset_parquet.cpython-312-x86_64-linux-gnu.so): Needed DSO lib/libarrow_dataset.so.1400   found in libarrow-dataset-14.0.0-h59595ed_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_flight.cpython-312-x86_64-linux-gnu.so):          Needed DSO lib/libarrow_flight.so.1400    found in libarrow-flight-14.0.0-h35bba4a_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/_substrait.cpython-312-x86_64-linux-gnu.so):       Needed DSO lib/libarrow_substrait.so.1400 found in libarrow-substrait-14.0.0-hab2db56_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/gandiva.cpython-312-x86_64-linux-gnu.so):          Needed DSO lib/libgandiva.so.1400         found in libarrow-gandiva-14.0.0-hacb8726_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/libarrow_python_flight.so):                        Needed DSO lib/libarrow_flight.so.1400    found in libarrow-flight-14.0.0-h35bba4a_0_cpu
INFO (pyarrow,lib/python3.12/site-packages/pyarrow/libarrow_python.so):                               Needed DSO lib/libparquet.so.1400         found in libparquet-14.0.0-h352af49_0_cpu

While it would be theoretically possible to also build various pyarrow-* variants, that's quite unappealing IMO from a packaging perspective, and it would be nicer if pyarrow just depended on the (core) libarrow, but provided helpful error messages where any missing libarrow-* libraries actually get used. In such a scenario (c.f. discussion in https://github.com/conda-forge/arrow-cpp-feedstock/issues/1035),

@h-vetinari: [...] I think in terms of user-friendliness, we need to provide a better message than:
ImportError: libarrow_dataset.so.1400: cannot open shared object file: No such file or directory

I think it would make sense for arrow to define which libraries can be removed while still expecting core functionality to work, which dependencies each remaining artefact has, and provide some error message upon not finding the respective library (which we can then patch on the feedstock to add messages like "install this additional package to get it"; alternatively, arrow could of course integrate that into the messages directly in this repo, à la "if you're using arrow from conda-forge, just install libarrow-dataset").

Such an approach would presumably also make it easier for the wheel side of things (i.e. not having N pyarrow-* variants), though of course, providing the equivalent of the libarrow-* outputs from conda-forge through wheels would be quite a headache. It's possible that the best solution for wheels looks different (or ends up being sliced differently, like e.g. having two wheels pyarrow and pyarrow-minimal, or pyarrow and pyarrow[full]).
Note also that (from https://github.com/conda-forge/arrow-cpp-feedstock/pull/1175):

@h-vetinari: [...] the new libarrow core library still depends on some of the most heavy-weight libraries at runtime (e.g. libgoogle-cloud, which is around ~30MB). I think it would make sense to separate out the pieces that depend on cloud-provider bindings into a separate output. Not sure how much work that is...

This is now being tracked in https://github.com/apache/arrow/issues/38309.
Component(s)
Packaging, Python

it would be nicer if pyarrow just depended on the (core) libarrow, but provided helpful error messages where any missing libarrow-* libraries actually get used

That should already have been tackled (although there might be some libs that were missed): https://github.com/apache/arrow/issues/36553 / https://github.com/apache/arrow/pull/36554.
Of course, that's still a generic message, while in theory for conda-forge we could give a more useful error message pointing to the additional package they have to install. But I am not sure that's something we want to bake into pyarrow.

Ah, nice! I guess we can patch that, though it would be nice to have a template that we only need to patch once[^1], rather than have to chase every import that's potentially affected by a missing DSO.
[^1]: assuming pyarrow would not be willing to detect e.g. that the interpreter is from conda, and adapting the message

Hi @h-vetinari!
Do you know if the package split introduced for conda-forge is coming to PyPi?
BTW, should this issue still be opened?

Do you know if the package split introduced for conda-forge is coming to PyPi?

There's some discussions in order to split the wheels and do something "similar" but apart from some exploration there hasn't been anything concrete done yet. I plan to work on it but I have to schedule it along with other priorities

Thanks for all your hard work, guys! 👍