tables with __call metamethods should be memoizable

Not only that: if their __call metamethod changes, memoize should "intelligently" discard the old memoizations.
Edge cases:
When memoized_f = memoize(f)

memoize(f) should throw an error if f is a table and it doesn't have a __call metamethod.
memoized_f(...) should throw en error if f doesn't have a __call method any more.

It should be noted that callable table objects with __call metamethods CANNOT be used as a __call metamethod for another table. This means that the value of a __call key MUST be a lua function and not another callable table object.
I noticed you the code here tests for the wrong conditions and the tests also do not have an appropriate case for this.


Correction in README.pt-BR.md

Thanks for taking the time to contribute this localization pull request. However, we are not able to accept contributions to this historical reference repository at this time.


Add LTW013 Hue white ambiance GU10

Fixes #559

Thanks. Btw no need to modify supported models file next time. Will be done automatically by a github action


add school

i was add my school for education licencie

@mayudhas First stage of verification passed, official domain for SMK GARUDA MAHADHIKA is smkgama.sch.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

isdb-bisew.txt
I am newbie in python, have knowledge in java. want to learn python and need a free license. Kindly Add the school.

@mayudhas Thank you for your patience while waiting for a review and processing your request. Pull request merged.
@iftekhar395 Please submit a separate pull request or apply for GitHub Student Developer Pack and then request free JetBrains license with your GitHub account.


Set parameters directly in airframe config files instead of setting script variables.

Hi,
This PR begins work in the airframe config files to directly set parameters rather than setting startup script variables.  The param set lines are also moved into the if [AUTOCNF == yes ] logic blocks, and some alphabetization/ordering of the lists is performed.
You will notice that in 1002_standard_vtol.hil and 3036_pigeon there are/were duplicate parameters.  In those instances I have deleted the first occurrence in favor of the last value set.
Additional PRs will follow this PR to continue with the other airframe config files in groups if this PR is accepted.  When this work is complete is will allow a few of the startup script parameters to be deprecated.
Please let me know if you have any questions or feedback on this PR.
-Mark

I would love to fix what went wrong with this build, but it is completely unintelligible. :/

Can you rebase on master?

Thanks @dagar!

@dagar , @bkueng , what are your thoughts?

Thanks @bkueng.  I've removed the additional spaces in rcS after confirming what @davids5 pointed out, the genromfs file was indeed carrying those extra spaces and not removing them as I had anticipated.  Let me know if I need to address anything else in this PR.  Thanks again for your review!
-Mark


Mesos role priorities

In mesos-user (http://www.mail-archive.com/user@mesos.apache.org/msg03574.html), there was a great post by Alex Gaudio on setting weights and roles to give priorities to different frameworks.
We should investigate setting these as part of the build.
To let a particular mesos framework receive more offers than other
frameworks, we assign our frameworks weights.  The higher the weight, the
more frequently the framework will receive an offer.  See the '--weights'
and '--roles' options in the config:
http://mesos.apache.org/documentation/latest/configuration/.  Basically, a
higher weight > 1 means more offers get sent to your framework.  The mesos
source code for how weighting works is shown here:
https://github.com/apache/mesos/blob/9e7b890a917fcf0ac4cd1738f060ba97af847b65/src/master/allocator/sorter/drf/sorter.cpp#L306
and
https://github.com/apache/mesos/blob/9e7b890a917fcf0ac4cd1738f060ba97af847b65/src/master/allocator/sorter/drf/sorter.cpp#L41
.

What you may want to do is create a "role" called "development_mode" and
then assign the role a high weight (like 40).  You would then assign your
framework to the "development_mode" role.  What we've actually done is
created roles named the numbers 1,2,3,4,5,10,20,30,40, where each role maps
to a weight of that number ... and we then we allow frameworks to choose
which role they start up as.  At Mesoscon, I will be speaking about why we
do this and how we are solving some general issues with the DRF algorithm,
if you're interested!

Alex

I imagine that this would need to be specified on an individual deployment basis, is it really something we should prescribe overall?
(for example, I would think that in some environments Spark jobs should be the highest priority, and in some the lowest, just depending on what the framework is being used for.)

I don't think it's viable to specify this in general in mantl... the setup with roles, allocations, priorities etc. are too deployment-specific.
Even things like "database role", with specialised machines provisioned for database operations, is difficult to achieve with Mantl, and I'm not sure how it should be solved.

I'm going to close this, since there doesn't seem to be much interest. Please reopen if anybody thinks this should be implemented!


README.md

README.md
Originally posted by @Ghamz0727 in https://github.com/trimstray/the-book-of-secret-knowledge/pull/400#discussion_r1285138119

Escape d
Originally posted by @deecdub in https://github.com/deecdub/github-slideshow/issues/2#issuecomment-1760602771

Free


passing nprogress.stats();

Hi,
Im calling Nprogress.start with this when a user clicks a link, and forcing Nprogress.done after the page loads.
$(window).load(function() {
    NProgress.done(true);
});
$(window).bind('beforeunload', function() {
    NProgress.start();
});

but, this shows the progressbar loading(how i want it to show), and then the done progress full screen, instead of where start() was left, is there anyway to pass nprogress.status() or something?

no i didn't, used something totally different then this for my site.


Running dotnet pack keeps failing because of missing PackageTags

Error message:

Even though
<PropertyGroup>
  <PackageTags>fable-javascript;fable-python;fable-dotnet</PackageTags>
</PropertyGroup>

Looking at this without any idea and just testing around in a regex tester:

Are the brackets around the fable targets too much?

I find that the issue is caused by the line:
<PackageTags>ARC F# FSharp dotnet .Net bioinformatics biology fable-library datascience dataplant nfdi metadata</PackageTags>

But I am not able to reproduce it in an isolated project.

Hmm, commenting out the line does not fix the problem.

Nevermind, it does!
Just had the line duplicated in the fsproj and the props file


⚠ Bofrost.be has degraded performance

In ad691d2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1713 ms

Resolved: Bofrost.be performance has improved in 1c64f2d after 22 minutes.


kmean for mac

hello sir i want Kmean for mac

php-kmeans is platform independent. Just grab a PHP package for your system here and you're good to go.


merge package template from Kronos-Tools/npm-package-template

Updated standard to latest version

Codecov Report

Merging #143 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #143   +/-   ##
=======================================
  Coverage   83.53%   83.53%
=======================================
  Files           1        1
  Lines         164      164
=======================================
  Hits          137      137
  Misses         27       27

Continue to review full report at Codecov.

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


archive documentation improvement

https://www.benthos.dev/docs/components/processors/archive states

For types that aren't file based (such as binary) the file field is ignored.

However, the example uses format: binary with path. How about updating the example to use something that requires path?

Hey @JensRantil, unfortunately I can't alter the config example as that shows the default values that are set, and therefore changing it would break backwards compatibility. However, I've added an examples section at the bottom which demonstrates tar archiving with path: https://www.benthos.dev/docs/components/processors/archive#examples


Misc improvements

The only improvement from the user point of view is the last commit. When no prewindow or pretab commands are defined, nothing is run instead of empty commands. This results in more available space in the screen by default.
I also added some other minor changes. Feel free to cherry pick the ones you like!
Regards.

Coverage increased (+0.13%) to 97.27% when pulling 9af79bcf2cc8b63838d3fdc76ae9879e117a915e on deivid-rodriguez:misc_improvements into 3ebbf06a851d8d58ecc3215d6841e1e587552a80 on tmuxinator:master.

Coverage increased (+0.01%) to 97.14% when pulling 16d6c6020cd169a7e4467683d0c9f3c3ad1afc12 on deivid-rodriguez:misc_improvements into 3ebbf06a851d8d58ecc3215d6841e1e587552a80 on tmuxinator:master.

Thanks all this looks great.

You are welcome @Soliah, thanks to you for tmuxinator, it's great.


Reduce UInt256 in EVMOperations

PR description
Improve the performance of the EVM by reducing the usage of UInt256 in almost all operations and moving the main switch to a Java 17 expression switch
Fixed Issue(s)

Benchmark results - https://docs.google.com/spreadsheets/d/1qbvlAveoLCiWbhbxouHgcpFeDVjws7UD0dgZghJZ6oU/edit?usp=sharing
Macbook Pro M1 MAX
Top line result - 10-15% "all in"
Target opcodes - 100-500% improvement.  Most notably in JumpDest& SDIV

@shemnon should this get a changelog entry?

Before I press Merge I was going to give it a day or so on Marius's fuzzer.  It found the other corner cases fairly quickly.

How did it go? @shemnon

Fuzz testing was useful.


DriveLM-CARLA dataset

I saw the VQA results you tested in CARLA, which is very pleasing. But I couldn't find the DriveLM-CARLA dataset you mentioned in the paper. Can you provide it to us? So that we can use the CARLA dataset for training fine-tuning. Thank you

Hi, did you checkout the branch DriveLM-Carla?


Fix ignored config params

closes LNP-BP/rgb-sdk#19 and #102
the solution is not very elegant, but since @dr-orlovsky said:

Shared parts can be moved into a separate shared config like I did in LNP Node, but this is not a big priority for now and will be done anyway when I will be refactoring RGB Node to the best practices I used in LNP Node (there is a lot of other stuff which can be improved/made more efficient in this regard)

I tried to avoid changing the existing structure as much as possible

FYI I've added a commit (i9n config: add fungible|stash pub endpoints) which is needed in order to fix the rgb-node side of issue LNP-BP/rgb-sdk#14 (problem n.2). Given the commit is related to other ignored config params, I though this was the proper place to insert it

Randomly passing by and looking at that change, I should probably try to improve configure_me so that it can be used instead. If you're interested, let me know which features of clap you need that are not in configure_me yet.

@Kixunil we need multiple binaries support and sectioned configuration (that allows storing multiple daemon configs under the same file)

Multiple binaries are already supported, do you mean some specific feature related to multiple binaries?
I will try to think about a sane approach to solve sectioned configuration.

Yes, I meant multiple sections related to multiple binaries

What's the advantage of this approach over having the files separately? I see at least one disadvantage: will be harder to atomate in deployments like my Deb repository.

Which files? Config or binaries?

Having a single config file for all binaries vs having a separate config file for each binary. Note that sharing common options in a single config and different options in a different config is already possible. (A clean approach IMO. Similar to include statement but without the complicated logic of include statements.)

From a maintainability prespective single config covering all binaries is more efficient. In fact very few options are binary-specific, most of them are shared, so it will be strange to have a six config files most of which will have a single or two lines of configuraiton

Yeah, this seems to be true for manual maintenance. Automated is easier with multiple files as changes to one could only affect one binary and restarting all binaries may be excessive. Multiple files avoid this problem as well as writing complicated logic to detect such situations.
Ideally we would support both. I think it can be done by each binary parsing a config and also a section of appropriate name, ignoring the rest. It would also make sure for the section to override global settings. This way this will be possible:
foo = 42

[binary1]
# overrides foo above for this binary
foo = 47

[binary2]
bar = "satoshi"

nginx works very similarly with location sections. I think this is a nice feature and (perhaps surprisingly) easier to implement it than to not implement it. There's only one obvious limitation with this approach: binary and option/switch can't share a name, but I don't think it's a huge problem. (Maybe a feature, actually?)
What do you think?

I think this will work. But can we have secion names matching binary names?

I think at least first version will make section names matching binary names mandatory. :)
The question is what if someone renames the binary after building - should the name change too or shouldn't? (I think it shouldn't but if you have arguments for why it should please let me know.)

I agree that it should not


Bring your own bitcode

This adds a --iree-llvmcpu-link-bitcode= flag allowing the user to pass a .bc file.
To generate such a .bc file, users are encouraged to use/copy the iree_bitcode_library CMake function, or otherwise replicate a similar clang command line.
For users using binaries for iree-compile and/or clang (as opposed to building both from source from the IREE repo, which ensures they talk the exact same version of LLVM bitcode): Maybe use llvm-dis to disassemble the bitcode back to text IR as a more stable interchange format.

@hcindyl @lundong
I am working on some sample/test for this. Maybe as an implementation of existing ukernels for rv32 or some such.

OKay, seeing as Ben already approved it and this seems not too risky, and this could unblock some initial usage by Cindy's team, I'm going to merge this now, but I'll still add a test/sample asap next week.


can dkim be made optional when using smtp relay?

I have installed power-mailinabox using amazon ses as an smtp relay (to improve email deliverability).
I don't believe I need the dkim configuration feature in power-mailinabox, but the 'System-SMTP Relay' page requires dkim details.  I put some fake dkim details in the dkim configuration details - because I needed to enter something for poewr-mailinabox to create the smtp relay.
Emails send OK. SPF, DMARC and DKIM all pass. But in the details of the email header there are three dkim checks. The first two are consistent with Amazon SES. While the third is fails (s=mail) and I believe it is due to power-mailinabox not having a real dkim set.
If DKIM were optional when using and SMTP relay (eg a check-box) then we could work around this glitch.

Hi!

Amazon SES seems to be signing the emails with DKIM - the problem is that by not publishing their public DKIM key, whoever is receiving cannot be sure that you actually are using Amazon SES to send the emails (for all they know it could be a spammer).
I'm not familiar on how it works, but by reading the documentation, you should be able to setup DKIM on Amazon SES and it should provide you with two things - the public key and the DKIM selector - that's what you need to copy into the relay setup page.

thanks for taking the time to look at this and to respond.
I read the Amazon SES documentation and attempted to setup as required. Maybe if I try to express the 'issue' differently.
I have power-miab setup for this domain  exchange.mydomain.net with amazon ses as an smtp relay. When I email a gmail user from<EMAIL_ADDRESS>the recipient sees this included in the header of the received email:
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass<EMAIL_ADDRESS>header.s=mail header.b=e6ArnJJI;
       dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=BC9PwMCu;
       dkim=fail<EMAIL_ADDRESS>header.s=mail header.b=lPShKeKV;
       spf=pass

It is the third dkim check which I cannot stop being added to outgoing emails. I have setup my one domain verification with Amazon SES, rather than use their easy DKIM, so that I can attempt to match the dkim setup on my power-miab server. But that makes no difference.
A new observation I have made is that this third dkim check does not occur for subsequent domains added to my power-miab server.
I have added a second domain/email to my power-miab server -<EMAIL_ADDRESS>and if I email a gmail user from this secondary email/domain at the recipient only sees two dkim checks in the email header
     ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass<EMAIL_ADDRESS>header.s=ulflxcj3m4tyvi4dgjw22q3kc6oev6qx header.b=AN2Ur4E6;
       dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=TCvtJAHy;
       spf=pass ...

Notice there are only two dkim checks... as desired.

Alright, I understand what's the issue now. I'm assuming you're using Amazon SES' Easy DKIM feature.
Amazon SES' Easy DKIM asks you to upload CNAME records instead of TXT records. That way, they can rotate their DKIM keys all they want with no deliverability downtime for you. When I designed the interface I didn't keep in mind that such a thing could happen.
I'll still make the DKIM part mandatory - but I'll refactor the interface to allow CNAME's and support your use case.

Thanks for looking closer.
I initially did use Easy DKIM, but when I noticed the third dkim/fail in outgoing messages I setup BYODKIM in Amazon SES and used those values in the SMTP really in power-miab. I thought that would be aa work-around. But that did now work either. Power miab seems to want to create its own header=b for outgoing messages on the primary domain. However, with a secondary domain in power-miab I do not see a third dkim.

Hmmmmm, I'll need to dig deeper on this. So one of the two is happening here:

The box is signing mail coming from @exchange.example.com twice;
Amazon SES is signing mail as @exchange.exmaple.com when it should not.

Could you export a sample mail reproducing this issue in .eml format and send it here? Feel free to redact any private information.

sure. here's an email from the primary domain with personal details changed
`Delivered-To<EMAIL_ADDRESS>Received: by 2002:adf:d0c3:0:0:0:0:0 with SMTP id z3csp1380150wrh;
Sun, 17 Jul 2022 17:46:09 -0700 (PDT)
X-Google-Smtp-Source: AGRyM1uZg4SVhgRt8LS6iBj1vGp1ZOJgE7JXK4acpKXNWlXIB0enxZCDrsiPsUAj5fU75V8xwR1Q
X-Received: by 2002:a05:6a00:244f:b0:528:be6f:3935 with SMTP id d15-20020a056a00244f00b00528be6f3935mr26200629pfj.4.1658105168978;
Sun, 17 Jul 2022 17:46:08 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1658105168; cv=none;
d=google.com; s=arc-20160816;
b=JqkLWqcBgTuatQYHM+ullnKv+cTsKU2cQXRgmVcBCchLoo60FX/6pgXPNVAaWhTL9J
shSHFve/XYeUFVF/HP+EqHbc342YxwfrKPn3qPWqQJE7MUlidsrp4ulZRIDDFylkxNAi
zbQ+DGlfEQFKRzhg6t25IjzYyDQ2rDD2tDDeguhMNp4fr6uaiBcSUHEogoBGEaMOe/ZR
tTa/LVZZE7RgiYuEpNaw0LLS5dwBj2UwALSJlmSCiLspikjZl0S29C5y+v8rmN/BaLST
93yGgGuStjWJFr6IvXqNn/TywmIa+wEGUThutOpPbFPqx5AfwCkWAvDmqsPB4rKr16ir
rCUg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=feedback-id:message-id:subject:to:from:date:mime-version
:dkim-signature:dkim-signature:dkim-signature;
bh=jGs6Pj5u4w2FFvnN6KBTSJk0eZW25khljpGiDfprIb4=;
b=mImNoSAHl6BxanwcHudo0vrOUHG+RF3/kY4QWvvJl4jX68NtKCovBut9/Rzv2MIKgT
dIlTkVthn/B90CI5ZtxaW6w54j46P7qE5BC/XRWLnT0zE/spKoUkOX3v7A4/P3BLZH0D
ceO6FEF8XH109Vmp6YJXWJUhf3mzet1DgmAdjlN0m7BSDaplzArH4fJTE0iNu0tIV2jM
cmrhKHhh6gytWaTeFOj+GxOd6ABxYHGgfVqZMQygC5IlfaeOhl03v/ZDAMzkz3FYL/3E
3TjwvwQQWmYcTJmVn8UzuTlX1t61x8YaF4uSHH2Huv75CIa2VVmp7N9r7v+O3eVIIR2F
Y8Sg==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=mail header.b=aLMdAMOa;
dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=KVQbPoG8;
dkim=fail<EMAIL_ADDRESS>header.s=mail header.b=NGs6Bnlo;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=exchange.domain.net
Return-Path<EMAIL_ADDRESS>Received: from b232-17.smtp-out.ap-southeast-2.amazonses.com (b232-17.smtp-out.ap-southeast-2.amazonses.com. [<IP_ADDRESS>])
by mx.google.com with ESMTPS id j12-20020a170903028c00b0016cbc101c10si9091323plr.329.2<IP_ADDRESS>.46.07
for<EMAIL_ADDRESS>(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sun, 17 Jul 2022 17:46:08 -0700 (PDT)
Received-SPF: pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS>;
Authentication-Results: mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=mail header.b=aLMdAMOa;
dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=KVQbPoG8;
dkim=fail<EMAIL_ADDRESS>header.s=mail header.b=NGs6Bnlo;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=exchange.domain.net
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=mail;
d=exchange.domain.net; t=1658105167;
h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type;
bh=jGs6Pj5u4w2FFvnN6KBTSJk0eZW25khljpGiDfprIb4=;
b=aLMdAMOam0jJVS4qUHFFRrGMFhqy4srfFzQecxzW9fS6uc3vmCC7vLhMkmUnFmyc
YsuDw4YReo+0QMW3gh2faPHfHPpWDwNSx1XxMxVxLUPE/WwQJ9rYYIZzccw8zpeO1Cn
D5wQ/e+D3f4lloZF1S7EwN3KMMgtKCsaMOFmixpF0iJnt9dcYTNnEJIEbTI191MxS3U
DkunvmPzr6Ft56mqsIvthqiCk9PKpeI0hC7opAa3aiYzKRaRVpe9+7mcQbEMi29AcTr
N89WNIyIvfliqmxq0HWepSg5b/TQaLpBlxkyyt06o1QN1oC9B790XwNLbdf4k/B22Xo
/kzxqlXnNA==
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=o6ptibvfbllhpdhtxr7klizy2riobquz; d=amazonses.com; t=1658105167;
h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:Feedback-ID;
bh=jGs6Pj5u4w2FFvnN6KBTSJk0eZW25khljpGiDfprIb4=;
b=KVQbPoG85XVOw2ysfo/mTrbPsuoJJ0hTyOC/Rt+pTynzIMh4MPFES9EXFAHyH8YN
WLUrxdwbCqdfEJ5zyZiaIVayilajeJAb3Ebu98cBvRZm0/dgSJowPN7QLm9c89/i714
gEtdH/TURI3KETYOaBj5lMn95UaHg9PGSs+PdwPQ=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=exchange.domain.net; s=mail; t=1658105166;
bh=jGs6Pj5u4w2FFvnN6KBTSJk0eZW25khljpGiDfprIb4=;
h=Date:From:To:Subject:From;
b=NGs6BnloXayx0RfpfFx6oThcjCfPqS4PGV021dppYb+ScOlT7JRzX7tWJfACcwdyK
2dgWYc+BFNx0NQHp5mSNMJETFAaINCcpBm39yN+TrjQo1uMEDGtiK7oJf5ME0cm1/Y
rHmhztuShd1IaMUrpzjcMR9MBlegkNxAew8g7dTYNJxcSMs4NEMF8a7cWKzKyqSFQf
l89fkB0f7yKQX+BQ331fy/uBHIrUpRtGnKbsqkQqrnJy1QQH37Pfb21gsZhtYv+WRL
mhxwXtZMlv4A9MMNnAyZXQxKKWauldFpGwhPZjPyiX0vNe7/guSwaUOkXYVZQS+Osq
eOS4k4dVTAIVg==
MIME-Version: 1.0
Date: Mon, 18 Jul 2022 00:46:07 +0000
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: test from primary domain
Message-ID<EMAIL_ADDRESS>X-Sender<EMAIL_ADDRESS>Content-Type: multipart/alternative;
boundary="=_e0ea6ce10de02aaeea5e81198c8ff903"
Feedback-ID: 1.ap-southeast-2.w0B3yqJoCfyWkK28KRcI7Ge9CW7axa55rH8AB2MCMrU=:AmazonSES
X-SES-Outgoing: 2022.07.18-<IP_ADDRESS>
--=_e0ea6ce10de02aaeea5e81198c8ff903
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
format=flowed
This is an email sent from the primary domain.
It will have three dkim signatures.
--=_e0ea6ce10de02aaeea5e81198c8ff903
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

This is an email sent from the primary domain.
It will have three dkim signatures.

--=_e0ea6ce10de02aaeea5e81198c8ff903--
and one from a secondary domain.Delivered-To<EMAIL_ADDRESS>Received: by 2002:adf:d0c3:0:0:0:0:0 with SMTP id z3csp1380388wrh;
Sun, 17 Jul 2022 17:47:09 -0700 (PDT)
X-Google-Smtp-Source: AGRyM1uw7gbH/IAB2MSL6bg1ZrLiBAzjcEp3J2XOV/+egIarUhQgXp2nbdS8hMOlkje3eIDDggDW
X-Received: by 2002:a17:90b:3c0c:b0:1ef:e647:ff48 with SMTP id pb12-20020a17090b3c0c00b001efe647ff48mr35316834pjb.173.1658105229436;
Sun, 17 Jul 2022 17:47:09 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1658105229; cv=none;
d=google.com; s=arc-20160816;
b=dvn1hFgrsiTbWJrhoe4hok8O5GM3QW6daM9/w8LlRZVcD8y1P9bPeRrXjXyrdMm8ue
Ct87iuNSbAmD555oTJI3g8mPo5Odr9QxfobYzQ1ZLqCSB70335NZfCdgwD/U3WIVH3ph
/81N/i/Tq63fPjwtWO8UhpDIfFBy6tHBZexkeuN7VKqSc8BEwbv59WF/TUo9dlVe6UT7
exlgHuTLAxCcqnJ9e9w5KdJ/w2+sBMSxrT9cjHVJ4dimV9rH1xZ7pS1Xq+n0NXZhuCxf
KIfOdg8wLUQjvxV5UJ05aTbLJkbRzELXTkrF57lviVFuxffrUHW0vcx1YbCgQyIQ7rBj
HXeQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=feedback-id:message-id:subject:to:from:date:mime-version
:dkim-signature:dkim-signature;
bh=5t/M39Ay3Gn3DnxYYq6D/LC2U9iwWEhds+kKR5gzJpA=;
b=pPVUBUJ6x2fhOkGMfAp30bQW6OaL9zKsuXL7yidZ3C8nVYbOYsRDrYn6JQ+x9mNYDB
kSWxrAR7PMRBPxerkfkWPZVZi3lJCB+22KYs3saiKVHlrZI7yveOIyhZrFw/QW0IuTka
3eEjfxEzU/C4Cy3EoxWlVEZAVG0qIiUFOjFx+MMyGOclIXWVw5Eigr5XKEW7+kqlmwMA
ldync8Xr4YAR047f5/7OpfnTLo8F74ePGdbJYMHpexlnQzWqrzrR6nA8RcvR04TWmeNx
xDabT/yhEFIkZq8xfr9Ko1zvvhQZF43qL7lOLupDOMZUg02th8FBVEt1mlAXPSwSKTVQ
OoQg==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=ulflxcj3m4tyvi4dgjw22q3kc6oev6qx header.b="NQ/9Ci1G";
dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=JCSNjxMi;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mail.domain.net
Return-Path<EMAIL_ADDRESS>Received: from b232-17.smtp-out.ap-southeast-2.amazonses.com (b232-17.smtp-out.ap-southeast-2.amazonses.com. [<IP_ADDRESS>])
by mx.google.com with ESMTPS id u18-20020a63f652000000b00415c21b18e6si12932122pgj.553.2<IP_ADDRESS>.47.08
for<EMAIL_ADDRESS>(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sun, 17 Jul 2022 17:47:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS>;
Authentication-Results: mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=ulflxcj3m4tyvi4dgjw22q3kc6oev6qx header.b="NQ/9Ci1G";
dkim=pass<EMAIL_ADDRESS>header.s=o6ptibvfbllhpdhtxr7klizy2riobquz header.b=JCSNjxMi;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mail.domain.net
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=ulflxcj3m4tyvi4dgjw22q3kc6oev6qx; d=mail.domain.net;
t=1658105227;
h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type;
bh=5t/M39Ay3Gn3DnxYYq6D/LC2U9iwWEhds+kKR5gzJpA=;
b=NQ/9Ci1Gabv3lgWL+c2chn9SY5FLX4TDKqcUGLRxx3XLdKTMPw3b7Z6NJR1MUx3M
ZiKuM0k3GUZdPdQpchtYAA9dDOMNq31O4PpQFYPh5RL8exBffWtuY3sViqNnt+CEVHK
gU++2q2HN3hitd/0aJMxrI+72YGu5lhGBp/BT/yA01fNDHOI8Z+2dGW99bRsvDMEWxp
/HGlBJn7hQzK4+OUtBmBnzfXP9fpGd4izprzVGdHKyQIMD2xP6kOIOlRdfqplhruGEn
EveO7TN9EuhPzkFzedH+oQkxNz4Q3p35im0kxDBfN0RyPsf15HL0o0zCVnJTfrUwaFU
dsAzXZgBkQ==
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=o6ptibvfbllhpdhtxr7klizy2riobquz; d=amazonses.com; t=1658105227;
h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:Feedback-ID;
bh=5t/M39Ay3Gn3DnxYYq6D/LC2U9iwWEhds+kKR5gzJpA=;
b=JCSNjxMiijXDhSezm6khIi/Zg4ILxSYkBA2aAOwA1KrZnHBMjtK4gyQwrChlpSbo
lSH+D7B+K5GhrYCoWbbC1552hxUzq8BKL3b770gm+2/wtSysTdEsYStt+1fcqft5qLh
IJTs334uNTYmCW7nAkFnAY34jbIKHAv/r0E7jygE=
Authentication-Results: mx.exchange.domain.net; dkim=none;
dkim-atps=neutral
MIME-Version: 1.0
Date: Mon, 18 Jul 2022 00:47:07 +0000
From: Steve Blencowe<EMAIL_ADDRESS>To: Steve Blencowe<EMAIL_ADDRESS>Subject: this is an email from a secondary domain
Message-ID<EMAIL_ADDRESS>X-Sender<EMAIL_ADDRESS>Content-Type: multipart/alternative;
boundary="=_b0cd6692a2ff8169fc0ac944fd10c03d"
Feedback-ID: 1.ap-southeast-2.w0B3yqJoCfyWkK28KRcI7Ge9CW7axa55rH8AB2MCMrU=:AmazonSES
X-SES-Outgoing: 2022.07.18-<IP_ADDRESS>
--=_b0cd6692a2ff8169fc0ac944fd10c03d
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
format=flowed
and It will only be signed once.
--
--=_b0cd6692a2ff8169fc0ac944fd10c03d
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

and It will only be signed once.
--

--=_b0cd6692a2ff8169fc0ac944fd10c03d--
`

Awesome - could you also post the public DKIM key published by the box? Aka the TXT record of mail._domainkey.exchange.example.com?

sorry for the delay - I was in meetings.
Here we go:
v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyXyAW1ZG2keNNt8DIVddjCUxXpPeNwEHPul6ZYUj/O54ALFhfEKFaXzaF8hCeRLqJE7d3YVAvYPNuJMP3tnTlRnCWNNKogODw5MiXPUe2EIzQJfh0rPzkWCFtujlnNpRzlqWR8GdvmdLQxR+f4pJ6R2OJK5+lqHSMS1Nx8zwz/nSWqN2BgiZPSBUx8nBplPWuVSSgx2EU8ePCnBoFSqigUZ5EqUiLILeSaFSp4tB+TUaHYj9zhBplLoKuJ/1Cu5xj2WYYyOOGwm1LVq7xXlCHaDYKtLO9MfUZizZbZZdNW2CkI0Kpwu/7CshR3x5zY9Ds6zsRYMTqSEllHOi/OGBbwIDAQAB

"v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxfwpCGS49KUjbpx8h3smUn5120e5gouCE0mYc7stZyJCa5tejDgnF0YndW/lotL9J7SlKn0Hu8KvAZ+uH8u54BqIN9GQxTpQkSXboFNojRiX96HOPyUwUpv4exrpO7oX0ccB4IupDny9pcjX2TL9M3WXCs9WpMiHadCXzWwt1fbbOJ" "pyhxmUf1Shrt9rwawxvJ4p8AzwcP4azPyLeR3SxetmngmuRcPg88hH2JjoVt0baKwOOfoD+Co3EJeEvlS+21xolV3yTQNysvM4hVSuiWHk4dmbqWZ5JrYd/8bq2Ti4Ki1HRrbS770bhKxsZVr4+5IQWr8Ct2C3RgSm+EfFlQIDAQAB"

It is my experience that MiaB DKIM signs messages when they are sent.  I have created AnyMXRelay and I do not sign messages as they are already signed by the mail server.
My suggestion for an easy fix to this issue is to place a check-box on the GUI to allow for no DKIM key to be added when adding a SMTP relay.

I'd agree with @alento-group to have a tick box to make this optional as I have the AnyMXRelay service and need power miab to sign the emails

Fine, seems that apparently different SMTP relays handle DKIM differently from eachother. Some are fine with the origin server doing it, others (such as those I've tested with) would rather sign the mail themselves.
Instead of a toggle, I'll just make the system not publish an external DKIM key if you don't put it (instead of complaining).


Amplify application is  not working properly with Chrome set as default browser but it works on the mozilla firefox browser

Amplify CLI Version
latest
Question
when i run the my amplify application on the chrome it not running and its works properly on the mozila ?

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue


API Key Parameter

This would be a nice change.

Thanks @YeritsyanTigran for taking the time to open this PR 😄
It looks great! 👍
Once I get some spare time (hopefully in the next days), I'll merge it and push an update to npm!

Thank you very much for looking into it)

Thank you for developing such a cool project.
Looking forward to merging this PR 🤹♂


SASL Handshake for AzureEventHub should be V0

Versions
regularly.*
Sarama Version: 0dbba7e497a97213061bcce923a8a9ab28e7a4e8
Kafka Version: 1.x
Go Version: 1.12
Configuration
Kafka is from Azure EventHub and is opaque. It is using kafka protobol > 1.0
Sarama is setup as producer using :
	config := sarama.NewConfig()
	config.ClientID = "eventhub-exporter"

	config.Producer.RequiredAcks = sarama.WaitForAll
	config.Producer.Retry.Max = 3
	config.Producer.Return.Successes = true

	config.Version = sarama.V1_1_0_0
	config.Net.TLS.Enable = true
	config.Net.TLS.Config = &tls.Config{
		InsecureSkipVerify: true,
		ClientAuth:         0,
	}

	config.Net.SASL.Enable = true
	config.Net.SASL.Handshake = true
	config.Net.SASL.User = "$ConnectionString"
	config.Net.SASL.Mechanism = "PLAIN"
config.Net.SASL.Password = "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessKeyName=OnlySend;SharedAccessKey=xxx;EntityPath=eh_test"

Logs
{"level":"info","msg":"starting...","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[Initializing new client]","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[xxx.servicebus.windows.net:9093]","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[xxx.servicebus.windows.net:9093 read tcp <IP_ADDRESS>:58886-\u003exxx:9093: read: connection reset by peer]","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[xxx.servicebus.windows.net:9093 write tcp <IP_ADDRESS>:58886-\u003exxx:9093: write: broken pipe]","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[-1 read tcp <IP_ADDRESS>:58886-\u003exxx:9093: read: connection reset by peer]","time":"2019-06-20T14:36:19+02:00"}
{"level":"debug","logger":"sarama","msg":"[client/metadata no available broker to send metadata request to]","time":"2019-06-20T14:36:19+02:00"}

Problem Description
Azure Eventhub is using old SASL V0 with Kafka > 1.0.
Sarama, since https://github.com/Shopify/sarama/pull/1354/files is forcing SASL V1 when using Kafka > 1.0, which leads to connexion closed during SASL authentication.
Someone cloned and patch Sarama but I think it was never PRed : https://github.com/evandigby/sarama/commit/6509b6f9a616196089617e28f70ea2e21e8406ae
Maybe the SASL version should be set in a config.Net.SASL.Version parameter  ?
I'm sure it's Azure which is not right here, but the fact is that we can't use EventHub with Sarama out of the box. Confluent is using V0 by default, as most java applications do.
I can make a PR if you think it's OK to either make it configurable or change how the decision is made.
Thanks
Reproduce
Create an EventHub in Azure and use the producer at https://github.com/liliankasem/sarama-eventhub-kafka/blob/master/producer/producer.go

Make sense, Please PR and I will have a look and merge. Thanks.

@prune998 👋 – it was me who made the original change to the default under PR https://github.com/Shopify/sarama/pull/1354 as I believe the V1 behaviour with a proper authentication response mechanism is highly desirable as the out-of-the-box experience for users
I checked and it does appear that an ApiVersionResponse from an EventHubs Kafka does report that only ApiKey SaslHandshake (17) is available and ApiKey SaslAuthenticate (36) is not returned in the ApiVersionResponse. This is the reason why the Java client continues to work. Normally it would also default to the V1 -> SaslAuthenticate flow, but because the ApiVersionResponse told it that SaslAuthenticate wasn't available, it fell back to the legacy auth request (see SaslClientAuthenticator.java#L213). Rdkafka-based clients all do a similar process.
@varun06 / @bai should we similarly be calling b.ApiVersions(&ApiVersionsRequest) within b.Open() and passing the ApiVersionsResponse struct into b.authenticateViaSASL() to choose the default mechanism? Would you be happy to look at a PR that added that behaviour, and  @prune998 would you be happy to test such a PR against EventHubs?

that's a great searching work @dnwe. I'll be happy to test this as soon as available.
I have a meeting with Microsoft/Azure guys tomorrow so I'll be happy to report then that. Can I assume they do not respect the protocol, or do no answer what they should ?

No they're fine. I have no inside knowledge but I'm guessing they're not running a genuine Apache Kafka broker and have instead implemented their own proxy layer that talks the kafka protocol and remuxes it to Event Hubs calls at the backend. Because they've implemented the ApiVersion flow for clients to determine what features are available it will work with clients that query and adhere to that. I'm guessing it implements some subset of
Features that put it somewhere between 0.10 and 1.0 in capabilities

This seems already fixed by https://github.com/Shopify/sarama/pull/1410.
Feel free to re-open the issue if need additional help.


Move the logic which deletes MS from timerQueueProcessor into archival workflow

Should be done as part of #1903

Completed


Process Exited with errors

I downloaded the package from https://ctan.org/pkg/moderncv?lang=en but when I try to run in TeXStudio on my macOS Big Sur, I get the error shown in the attached image. Will be glad if you assist.

This is not an issue with moderncv. It seems like your TeXLive setup is not working properly (getcwd: Operation not permitted). This might help you to fix this issue: https://tex.stackexchange.com/questions/511617/error-with-pdftex-after-updating-to-mac-os-catalina

Hello @stephanlachnit. I did the settings change and everything works fine. Permit me to ask this. How sure can we be granting "Full Disk Access" to TeXStudio is innocuous?

Well, you can take a look at the source code on github: https://github.com/texstudio-org/texstudio
But tbh you don't really need to, there are enough people that would notice if TeXstudio would touch any other data on your disk than it should. Of course, you don't just need to trust the source code, but also the binary you downloaded (assuming you didn't build TeXstudio yourself). But again, assuming that you didn't download it from a sketchy website, there should be no problem.


Vault with ACA

@Neutrollized  expecting an example for hosting vault in Azure Container App from you :)

Yeah!  Thanks for reminding me.  That's been on my list for a while, but just forgot.  Shouldn't be too difficult, I'll try to get something put together this weekend.

Here you go: https://github.com/Neutrollized/hashicorp-vault-with-aca


This Month in Rust OSDev (September 2020)

This is a draft for the upcoming "This Month in Rust OSDev (September 2020)" post. Please add your content to this draft by creating pull requests against the next branch.

@rust-osdev/all It's the end of the month again, so please submit pull requests (against the next branch) if there is something that you want to talk about in the next post.

I added the updates for the remaining rust-osdev projects and for my personal blog_os project. This is ready to be merged from my side. Please let me know if you have any improvement suggestions or would like to add additional content! Otherwise I plan to release it tomorrow.

Thanks a lot 👍


All Desktop samples have a major content shifting issue after resizing a window

This is not just a flickering issue during resize. The content gets shifted up by about the same distance as the size of the title bar, and also a bit to the left.
But the worst part is the content stays shifted even after resize is finished. The only way to fix the issue is to then move the Window a little bit, and the frame buffers gets re-centered correctly.
This is reproducible on every graphics sample I tried. I use an up-to-date Windows 10.
I have seen the same issue in multiple other windowed D3D12 applications. This feels like a system-wide regression in DWM or D3D12.

Thanks, we're taking a look. Since this isn't really a problem with the samples, a more appropriate avenue probably would've been feedback hub or our DirectX Discord server.

Ok thanks, didn't know where else to post. Noted.
On Tue, Mar 30, 2021 at 2:42 PM Jesse Natalie @.***>
wrote:

Thanks, we're taking a look. Since this isn't really a problem with the
samples, a more appropriate avenue probably would've been feedback hub or
our DirectX Discord server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/DirectX-Graphics-Samples/issues/705#issuecomment-810491114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADUFSUNO7HCZFXRZAY5PQLTGILSJANCNFSM42BDJRXQ
.

I had the same issue. I tracked it down to a display driver bug that was fixed in NVidia display driver version 461.92. From their release notes:
"Some desktop applications may flicker or stutter when resizing the window on some PC
configurations [3252200]."
And indeed, updating to the latest version of the driver fixed the problem. So you can likely close this issue.

Yes a driver update also fixed the issue. Sorry, the debugging happened on Discord, I forgot to reply here.

And this issue reappeared apparently. Last nv drivers installed 556.12.


Refactor user timer methods on timer builder

Refactor them in to Load/Add/Get methods.
Fail the decision on duplicate timer ID.

Coverage decreased (-0.02%) to 67.329% when pulling b54ffbb0fd5789b4033e1ba50eaf744f5b3e9240 on sivakku:timer_opt into ffefac1783df1f238ddb6c9493230ba0035a095e on uber:master.

Coverage increased (+0.05%) to 67.403% when pulling b54ffbb0fd5789b4033e1ba50eaf744f5b3e9240 on sivakku:timer_opt into ffefac1783df1f238ddb6c9493230ba0035a095e on uber:master.

Coverage increased (+0.09%) to 67.439% when pulling 9e5f853059b936a65e5e0be2171e9de6dce1a435 on sivakku:timer_opt into ffefac1783df1f238ddb6c9493230ba0035a095e on uber:master.

Coverage increased (+0.1%) to 67.49% when pulling ec5427a8385dae562ad2115d1e45c01b7998cb06 on sivakku:timer_opt into 6d8ad647c23f6b0b72612bb65d5c7f24fc000a19 on uber:master.


www firmware version display when system is offline

when system is offline, confirm www shows the correct version information.

fixed
fmadio/fmadio20@6fd48e4c11bc15aec97ad5039447899d1f099e44

FW fmadio20_20160911_1210.bin


Nuget package update

It appears that the latest nuget package at https://www.nuget.org/packages/androidxml/ (ver 1.1.14) is missing the following commit:
https://github.com/quamotion/androidxmldotnet/commit/2ae38a470e50eae7550ff97b4e12869f97aa5107
If the nuget package could be updated then I can remove some kludge reflection from my code :)!

Ah, yo're right.
I just pushed 1.1.17 to NuGet. Should be visible in a while.


BrowserWindow.fromWebContents return null from DevTools webcontents

Electron version: 0.36.8
Operating system: Lubuntu 14.04.3

I'm trying to focus an open DevTools window.
I'm able to get DevTools webContents using webContents.devToolsWebContents method.
Then I want to get a BrowserWindow instance from it that I could use to focus, but BrowserWindow.fromWebContents always return null.

You can call BrowserWindow.fromDevToolsWebContents to get it.

Thank you @zcbenz, I'll try it... is this documented somewhere?

I tried BrowserWindow.fromDevToolsWebContents, but it appear it return BrowserWindowof my app window. What I need is instead to retrieve BrowserWindow instance of DevTools itself.
I need this to give focus to the DevTools window.

There is no BrowserWindow attached to devtools, the window you saw is not exposed in JavaScript. We will change this when #2835 is implemented.

Thank toy, @zcbenz I will track that issue.


Crash while breaking lan cable

I crashed when I had two cables connected to a Wireless Bridge, one with modem, one without and I broke the cable without modem.
Crash: Description: Ticking block entity
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
at org.squiddev.cctweaks.core.network.modem.BasicModem.findPeripherals(BasicModem.java:140)
at org.squiddev.cctweaks.blocks.network.TileNetworkedWirelessBridge.func_145845_h(TileNetworkedWirelessBridge.java:93)
at net.minecraft.world.World.func_72939_s(World.java:1939)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Sorry for all these bugs. :frowning:.
This is a really odd bug as nothing should be modifying the map at the same time - we lock on it after all. Also, this is a really hard bug to reproduce, and so actually test. Do you think you could give me a screenshot of the entire setup?

No problem, I'm using the beta version and know that I have to expect bugs ;) It's better when I discover them now instead of two weaks after a new release.
I'll edit this comment as soon as I have a screenshot

I've tried having 4 turtles trying to break and replace cables whilst also sending messages along the cable and attaching and detaching peripherals and I haven't been able to reproduce. Obviously it happens, but I really don't know how to force it to happen.
Wireless bridges, you need to create a data card and then shift right click on it (it should show a message in the chat saying "Settings stored", then right click on other modems to load it from the card. It is a bit like AE's P2P tunnels, but not.

I did that, it didn't seem to work :/ Maybe because I was in Creative?

Shouldn't have anything to do to with it. I'll test.

I always got them two times ^^ But getNamesRemote() didn't return anything

Ahh, just realised why the chat message appears twice. Doh.
It works on my machine isn't a great answer so I'm slightly confused. It is worth noting that:

The wireless bridge doesn't chunk load - so if you have one in another dimension/a long way away then you'll need to chunk load it somehow.
It needs to be connected directly to a computer of a cable - there shouldn't be a modem next to it (though you can have a full block modem next to it).
If you press F3+H and get two data cards, then normal right click on both - can you verify that the bottom line of text is the same (it should be a UUID - like f81d4fae-7dec-11d0-a765-00a0c91e6bf6).

They were 10 blocks away from each other.
When I shouldn't connect a modem to it, why does it have methods like getNamesRemote, open and transmit?
And yes, the data cards have an uuid each.
And it works when I just put cables next to it and use the card.
It didn't work because I connected it with a modem, not with only a cable

It is designed to also double as a modem - so can be connected to a computer directly and so has those additional methods. However when connected via a modem those methods aren't called when searching for more peripherals. I'm going to have to document this better. :sob:...

I think a post for it in the github wiki would be really nice, but since this is a beta, it isn't that needed right now

Hopefully fixed in #34.


deepin.deepin-desktop-base: 2022.03.07 -> 2022.11.15-deepin

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 220841 run on aarch64-linux 1

3 packages built:

deepin.dde-api
deepin.deepin-desktop-base
deepin.deepin-wallpapers


[FEATURE] Need a step-by-step example

Hi, I am a newbie python web scrapper. I really want to use instamancer to scrape data from instagram but I find it hard to get started.
Is there any step-by-step example about how to use the package from scratch? For instance, a code snippet that scraps posts from the tag "skateboard" on 2018.
A step-by-step example like this will certainly help newbies like me and make instamancer more popular.
Thank you very much for your help.

Well in order to use the package itself, you need to learn to use node / typescript.
Once you have a grip on that, you should be able to use the example in the README here, or the examples in the examples directory

Thank you very much. I will try to learn node / typescript.
On Oct 3, 2019, 18:00 -0400, Adam Smith<EMAIL_ADDRESS>wrote:
Well in order to use the package itself, you need to learn to use node / typescript.
Once you have a grip on that, you should be able to use the example in the README herehttps://github.com/ScriptSmith/instamancer#module, or the examples in the examples directoryhttps://github.com/ScriptSmith/instamancer/tree/master/examples
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ScriptSmith/instamancer/issues/29?email_source=notifications&email_token=ACOJ3OOMFYK52A4IAWS623DQMZTPLA5CNFSM4I5D2QOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAJXI4A#issuecomment-538145904, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACOJ3OP76S5CMORLPO2FO3TQMZTPLANCNFSM4I5D2QOA.


[UX feedback]: Request timeout after enrolling my default Ockam identity with Ockam Orchestrator

Observed behavior
I received a request timeout error in my terminal a couple of seconds after successfully using the one-time code to authenticate my Ockam identity with an Orchestrator account in the browser.
Here's the link to the video recording of my process: https://www.veed.io/view/e4554055-0a54-4bdf-a58a-4c38464de03e?panel=share
Steps to reproduce

curl --proto '=https' --tlsv1.2 -sSf
https://raw.githubusercontent.com/build-trust/ockam/develop/install.sh | bash

ockam enroll

python3 -m http.server --bind <IP_ADDRESS> 6000

Expected behavior
I was expecting it not to timeout because my account was successfully authenticated.
Ockam Version
Version 0.94.0

Apologies but could you please delete this issue because I forgot to add the stipulated labels. I'd like to redo it again properly. Thanks

@bL34cHig0 sure, I could also add the labels for you if you want

I'd appreciate that. thanks

@bL34cHig0 Thank you for spending time on this! the video recording is super helpful!

@mrinalwadhwa, it's my pleasure. I'd appreciate an update on how this goes.

@bL34cHig0 while we look into this we would love to recognized your contribution and add to our list of contributors:
For that, please:

Accept the Ockam Contributor License Agreement by adding your Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate new pull request to the build-trust/ockam repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will mark the commit as verified.

Thanks @mrinalwadhwa, I'll continue reading the project's documentation to gain a better understanding of it. I'm really interested in it and kudos to you all at Ockam.

Awesome, let us know if you have questions as you explore.

Sure, will do.

Hey @mrinalwadhwa. Thanks to you and the team at Ockam, I was able to successfully authenticate my Ockam identity with an Orchestrator account in the browser, using v.0.96.0.
However I encountered a new issue after trying to setup a tcp-outlet that makes a TCP service available at the given
address. This is the command I used: ockam tcp-outlet create --to 6000
This was the result:

Although, I had created a new node prior to running the command to establish a tcp-outlet. I have attached the link to the video recording of my process to get better insights into it.
Link: https://www.veed.io/view/9d9e20e2-767c-40b8-af96-b30191709aa4?panel=share
Any advice on how to resolve this would be greatly appreciated. Thank you and I look forward to your response.

Hi @bL34cHig0 , the problem you mentioned should be fixed in our latest release (0.97.0). Could you try again using that version?

@adrianbenavides , will do. Thank you


max_cons_per_ip feature is not working when MultiprocessFTPServer implementation is used

I run into the same problem, when use MultiprocessFTPServer single IP can have more cons than max_cons_per_ip


Girl from the North Country (Cover) by Passenger unsupported.

Check if issue with swaglyrics or whether song lyrics unavailable on Genius.

stripper -> Passenger-Girl-from-the-North-Country

https://genius.com/Passenger-girl-from-the-north-country-cover-lyrics


New version: Genivia.ugrep version 4.3.4

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Unable to download imdb.com's videos.

$ youtube-dl -vvv http://www.imdb.com/list/ls025720609/videoplayer/vi3478894873
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vvv', 'http://www.imdb.com/list/ls025720609/videoplayer/vi3478894873']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.20
[debug] Python version 3.4.2 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.9
[debug] exe versions: ffmpeg 3.2.5-1, ffprobe 3.2.5-1, rtmpdump 2.4
[debug] Proxy map: {}
[imdb:list] ls025720609: Downloading webpage
ERROR: Unable to extract list title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/imdb.py", line 121, in _real_extract
    r'
(.*?)
', webpage, 'list title')
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 806, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 797, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract list title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thank you in advance. :)

Have you found this exact URL on imdb.com? It seems as though "list" and "videoplayer" get mixed up. The "real" video link http://www.imdb.com/videoplayer/vi3478894873 seems to work with youtube-dl.

Goggle, how did you manage to get that video URL?

I first removed the last part of your posted URL http://www.imdb.com/list/ls025720609/videoplayer/vi3478894873, so I opened http://www.imdb.com/list/ls025720609. This is a regular list of videos, but I did not find your video in this list. So I was suspicious, and removed the list/ls025720609 part from the first URL to get to the video directly.

Oh wow, impressive find. :+1:

Mark as solved, than?

I'm not sure. If the URL posted by antdude is a valid URL, youtube-dl should be able to handle this case.

Not solved. We shouldn't be able to dig for those playlist's specific video URLs to be able to download.

https://www.imdb.com/list/ls025720609/videoplayer/vi3082730265 is another example. :(

Is there any way you can make youtube-dl automatically find and download the correct video for an .aspx link on imdb.com like this one "https://www.imdb.com/title/tt0107659/videoplayer/vi2761425177?ref_=tt_ov_vi"? How do you download those videos? Thanks.


Cannot find type PlatformImage on tvOS

Cannot find type 'PlatformImage' in scope when compiling v1.9.0 against tvOS 16.0.
Seems to be because the public typealias PlatformImage = UIImage is only set for iOS, not tvOS.

We are many versions behind, but looks like the issue still exists here: https://github.com/shaps80/SwiftUIBackports/blob/main/Sources/SwiftUIBackports/Internal/Platforms.swift#L7

Interesting, I do test that it compiles across all platforms – can’t understand how it was working previously. In fact its compiling on Swift Package Index too.
https://swiftpackageindex.com/shaps80/SwiftUIBackports
Do you think this could be something in your derived data perhaps? It may have been an issue in previous versions but perhaps since fixed?

Oh I see what you’re saying now, the issue is in 1.9.0 – which is possible for sure.
The code there is unchanged I think, but the code that was previously referencing that alias has changed is also now iOS only I believe. That’s why it works in newer versions. You’d need to update 👍🏻

No problem! Always good to check just in case 👍🏻
Thanks for using the package, glad its useful ;)


Implement auto early exaggeration

Implements #218.
First, early_exaggeration="auto" is now set to max(12, exaggeration).
Second, the learning rate. We have various functions that currently take learning_rate="auto" and set it to max(200, N/12). I did not change this, because those functions usually do not know what the early exaggeration was. So I kept it as is. I only changed the behaviour of the base class: there learning_rate="auto" is now set to max(200, N/early_exaggeration).
This works as intended:
X = np.random.randn(10000,10)

TSNE(verbose=True).fit(X)
# Prints
# TSNE(early_exaggeration=12, verbose=True)
# Uses lr=833.33

TSNE(verbose=True, exaggeration=5).fit(X)
# Prints
# TSNE(early_exaggeration=12, exaggeration=5, verbose=True)
# Uses lr=833.33

TSNE(verbose=True, exaggeration=20).fit(X)
# Prints
# TSNE(early_exaggeration=20, exaggeration=20, verbose=True)
# Uses lr=500.00

(Note that the learning rate is currently not printed by the repr(self) because it's kept as "auto" at construction time and only set later. That's also how we had it before.)

To build on top of https://github.com/pavlin-policar/openTSNE/pull/220#discussion_r1017919909, I've run a quick experiment to see convergence rates using lr/exaggeration, and the results indicate that N/exag may actually lead to better and faster convergence than simply dividing by N/ee_rate:

Visually, all four embeddings look pretty similar, and I wouldn't say ones are less converged than the others, but it seems like we can get the same KL divergence faster this way. What do you think?

Does exag in this plot mean early exaggeration? And late exaggeration is set to 1? Is this MNIST?

Does exag in this plot mean early exaggeration?
Yes, the "regular" phase is run with exaggeration=1

Is this MNIST?
No, this is my typical macosko example.

This is one example, so we'd definitely have to check it on several more, but this does indicate "that at least it wouldn't hurt". And if we were to implement N/exag, this would fit in much more cleanly into the entire openTSNE architecture. I wouldn't mind being slightly inconsistent with FIt-SNE or scikit-learn in this respect, since the visualizations seem visually indistinguishable from one another.

I agree. I ran the same test on MNIST, and observe faster convergence using the suggested approach.
Incidentally, I first did it wrong because I did not specify correct momentum terms for the two optimize() calls. This made me think that I am not aware of any reason for why momentum should be different. I tried using momentum=0.8 for both stages, and it seems to be better than the current 0.5->0.8 scheme.
Note that your criticism that TSNE().fit() and twice calling embedding.optimize(...) is not identical, also applies to momentum differences, no?

Note that your criticism that TSNE().fit() and twice calling embedding.optimize(...) is not identical, also applies to momentum differences, no?

Yes, this is the same issue, and this has bothered me from the very start. So I'm very happy to see that using a single momentum seems to lead to faster convergence, as this would justify defaulting to 0.8 everywhere.
I'm not aware of any justification for this choice either, this came from the original LVM and I never bothered to question it.

It seems that 250 iterations may be too many with this momentum setting, but maybe let's not touch the n_iter defaults for now.
Would be good to check this on a couple of more datasets, perhaps also very small ones (Iris?), but overall I think it looks good.

It seems that 250 iterations may be too many with this momentum setting, but maybe let's not touch the n_iter defaults for now.

Yes, I agree.

Would be good to check this on a couple of more datasets, perhaps also very small ones (Iris?), but overall I think it looks good.

I'd also check a couple of big ones, the cao one, maybe the 10x mouse as well. It might also be interesting to see if we actually need lr=200 on iris. Maybe lr=N=150 would be better. The 200 now seems kind of arbitrary.

Iris:

I'd also check a couple of big ones, the cao one, maybe the 10x mouse as well. It might also be interesting to see if we actually need lr=200 on iris. Maybe lr=N=150 would be better. The 200 now seems kind of arbitrary.

Very good point. Red line shows that turning off learning rate "clipping" (I mean clipping to 200) works actually very good.

Are you going to run it on smth with sample size over 1mln? Sounds like you have everything set up for these experiments. But if you want, I can run something as well.

Yes, sure, I'll find a few more data sets and run them. If everything goes well, we'll change the defaults to momentum=0.8 and lr=N/exaggeration, and this will solve all the issues outlined above.

This may be worth bumping to 0.7!

Have you had a chance to run it on some other datasets? Otherwise I would give it a try on something large, I am curious :)

Hey Dmitry, no, unfortunately, I haven't had time yet. It's a busy semester for teaching :) If you have any benchmarks you'd like to run, I'd be happy to see the results.

Just ran it in an identical way for Iris, MNIST, and n=1.3 mln dataset from 10x. I used uniform affinities with k=10 in all cases, to speed things up.
Old: current default
New: learning rate N/12, followed by learning rate N, momentum always .8, learning rate below 200 is allowed

I think everything is very consistent:

Learning rate N makes convergence in the 2ns phase faster
Momentum .8 makes convergence in the 1st phase faster
Learning rate below 200 for small datasets prevents fluctuations in loss

I've also tried this on two other data sets: shekhar (20k) and cao (2mln):
shekhar (20k):

cao (2mln):

In both cases, using momentum=0.8 and learning_rate=N/exaggeration works better. Along with the the other examples you provide, I feel this is sufficient to change the defaults.

Learning rate below 200 for small datasets prevents fluctuations in loss

I don't understand this entirely. So, can we use learning_rate=N/exaggeration in all cases? Or do we keep it as it is right now and use learning_rate=max(N/exaggeration, 200)?

I don't understand this entirely. So, can we use learning_rate=N/exaggeration in all cases? Or do we keep it as it is right now and use learning_rate=max(N/exaggeration, 200)?

I now think that we should use learning_rate=N/exaggeration in all cases. For iris (N=150), this would mean learning rate 150/12 = 12.5 during the early exaggeration phase. Currently we use learning rate 200 during that phase, which is too high. It does not lead to divergence (not sure why; maybe due to some gradient or step size clipping?) but does lead to oscillating loss, clearly suggesting that something is not well with the gradient descent. Learning rate 12.5 seems much more stable.

Yes, I agree. I tried it myself and there are big oscillations. E.g. subsampling iris to 50 data points also leads to less oscillation with learning_rate=N/exaggeration.
I think the best course of action is to add a learning_rate="auto" option, make that the default, and then handle it in _handle_nice_params, as I've written in the original code review.

Do you want me to edit this PR, or do you prefer to make a new one?

I think the best course of action is to add a learning_rate="auto" option, make that the default, and then handle it in _handle_nice_params, as I've written in the original code review.

Is it okay to make _handle_nice_params take the exaggeration value as input? Currently it does not.

I think adding it to this PR is completely fine.

Is it okay to make _handle_nice_params take the exaggeration value as input? Currently it does not.

I think it does. The exaggeration factor should come in through .optimize, and should be captured in the **gradient_descent_params. Then, this should be passed through here.

But exaggeration factor does not really feel like a "gradient descent parameter"... So I was reluctant to add it into the gradient_descent_params. What about passing it into _handle_nice_params() as an additional separate input parameter? Like this:
def _handle_nice_params(embedding: np.ndarray, exaggeration: double, optim_params: dict) -> None:

My understanding is that it is already included in the _handle_nice_params. Indeed, if I run a simple example and print the optim_params in _handle_nice_params, I get
{'learning_rate': 'auto', 'momentum': 0.5, 'theta': 0.5, 'max_grad_norm': None, 'max_step_norm': 5,
'n_jobs': 1, 'verbose': False, 'callbacks': None, 'callbacks_every_iters': 50,
'negative_gradient_method': 'bh', 'n_interpolation_points': 3, 'min_num_intervals': 50,
'ints_in_interval': 1, 'dof': 1, 'exaggeration': 12, 'n_iter': 25}

for the EE phase, and
{'learning_rate': 'auto', 'momentum': 0.8, 'theta': 0.5, 'max_grad_norm': None, 'max_step_norm': 5,
'n_jobs': 1, 'verbose': False, 'callbacks': None, 'callbacks_every_iters': 50,
'negative_gradient_method': 'bh', 'n_interpolation_points': 3, 'min_num_intervals': 50,
'ints_in_interval': 1, 'dof': 1, 'exaggeration': None, 'n_iter': 50}

for the standard phase. Importantly, exaggeration and the learning_rate is already among them. So I would imagine something like this would be totally fine:
learning_rate = optim_params["learning_rate"]
if learning_rate == "auto":
    exaggeration = optim_params.get("exaggeration", None)
    if exaggeration is None:
        exaggeration = 1
    learning_rate = n_samples / exaggeration
optim_params["learning_rate"] = learning_rate

I see. Still not quite sure where it gets added to the dictionary, but it does not matter now.
I did the changes and added a test that should check if running optimize() twice produces the same result as running transform(), however this test fails, and I am not yet sure why :-/ Here is what I want to be the same:
from sklearn import datasets
iris = datasets.load_iris()
X = iris.data

embedding1 = TSNE(verbose=True).fit(X)

A = affinity.PerplexityBasedNN(X, verbose=True)
I = initialization.pca(X, verbose=True)
embedding2 = TSNEEmbedding(I, A, verbose=True)
embedding2.optimize(n_iter=250, exaggeration=12, verbose=True)
embedding2.optimize(n_iter=500, verbose=True)

Here is the output that I get:
===> Running optimization with exaggeration=12.00, lr=12.50 for 250 iterations...
Iteration   50, KL divergence 0.9020, 50 iterations in 0.0314 sec
Iteration  100, KL divergence 0.9095, 50 iterations in 0.0255 sec
Iteration  150, KL divergence 0.9027, 50 iterations in 0.0250 sec
Iteration  200, KL divergence 0.8984, 50 iterations in 0.0251 sec
Iteration  250, KL divergence 0.8955, 50 iterations in 0.0247 sec
===> Running optimization with exaggeration=1.00, lr=150.00 for 500 iterations...
Iteration   50, KL divergence 0.1413, 50 iterations in 0.0247 sec
Iteration  100, KL divergence 0.1292, 50 iterations in 0.0243 sec
...

===> Running optimization with exaggeration=12.00, lr=12.50 for 250 iterations...
Iteration   50, KL divergence 0.9020, 50 iterations in 0.0249 sec
Iteration  100, KL divergence 0.9095, 50 iterations in 0.0263 sec
Iteration  150, KL divergence 0.9027, 50 iterations in 0.0255 sec
Iteration  200, KL divergence 0.8984, 50 iterations in 0.0259 sec
Iteration  250, KL divergence 0.8955, 50 iterations in 0.0253 sec
===> Running optimization with exaggeration=1.00, lr=150.00 for 500 iterations...
Iteration   50, KL divergence 0.1383, 50 iterations in 0.0245 sec
Iteration  100, KL divergence 0.1304, 50 iterations in 0.0240 sec

So the early exaggeration phase seems to be identical, but afterwards the results diverge...

Okay, never mind, I figured it out... Fixing.

I think this is fine now. I'm glad we found a way to simplify the API and speed up convergence at the same time :)


Support Optional parameters in Generate Parameters and az bicep generate-params

Is your feature request related to a problem? Please describe.
I'm fond of generating parameter files from ARM templates. In VSCode with ARM templates you can choose to generate a parameter file with:

All parameters
Only required parameters (Uses only parameters that have no default value in the template)

Describe the solution you'd like
When I'm generating parameter files directly from Bicep files I'd like to be able to:

Generate parameters files with All parameters

In VSCode and Azure CLI I'd love to be able to choose between both options when generating a parameter file with:

All parameters
Only required parameters (Uses only parameters that have no default value in the template)

Would love to see this in Azure CLI too!

Closing as dup of #7294 and should be implemented as part of #7126

@alex-frankel , @Manbearpiet
Please check #7758 and share your opinion


Add missing Python constraint docs

Reason/Context
In the other languages, we have explicit documentation explaining the constraint rules such as for TypeScript: https://modelina.org/docs/constraints/typescript
However, we are missing one for Python.
TODO:

Go over the constraint logic for Python for constants: https://github.com/asyncapi/modelina/blob/master/src/generators/python/constrainer/ConstantConstrainer.ts
Go over the constraint logic for Python for enum value and key constraints: https://github.com/asyncapi/modelina/blob/master/src/generators/python/constrainer/EnumConstrainer.ts
Go over the constraint logic for Python for model naming constraints: https://github.com/asyncapi/modelina/blob/master/src/generators/python/constrainer/ModelNameConstrainer.ts
Go over the constraint logic for Python for property key constraints: https://github.com/asyncapi/modelina/blob/master/src/generators/python/constrainer/PropertyKeyConstrainer.ts

You could potentially copy-paste the TypeScript one: https://github.com/asyncapi/modelina/blob/master/docs/constraints/TypeScript.md and adapt it to Python

Hi @jonaslagoni, Can I work on this issue? It will help me to understand more about Async API Docs.

Of course @devilkiller-ag 🤙


compiler/alloc: support initialized pkg vars

This updates https://github.com/zegl/tre/issues/48

bors r+


Update instructions

Update wget instructions to remove --no-check-certificate option

I hope people use some kind of plugin manager these days, but yeah if it's not strictly necessary then instructions that encourage people to throw away security don't seem like a good idea :blush:


Support for Meta-Information in foreach-loops

Following problem: I want to create a Bootstrap carousel. To make the carousel indicators work these need numeric ascending ids. Data for the carousel comes from a json file.
One solution could be to add the ids to the json, but that is unnecessary data-overhead (IMHO). So why not letting bake supply meta information about the loop like current iteration number, is this the last iteration, etc.
I came up with the following syntax, where bake injects variables composed of the variables key, an @-sign, and the information name.
...
<!--(bake-start _foreach="slide:slides")-->
    <li<EMAIL_ADDRESS><!--(bake-end)-->
...

This way, we can have additional information in the template without having name conflicts.
The extends to bake are pretty small, mainly some of these lines, where the forEachValues are processed.
forEachValues.forEach( function( value, index ) {
    values[ forEachName ] = value;
    // assign meta vars with information about current iteration
    values[ forEachName + "@index" ] = String( index );
    // ...

I already made an implementation and will create a PR in some minutes.
Minor flaw: The String()-casting. It's currently needed because otherwise 0 is not present in template because in resolveName() the || "" kicks in and returns an emptry string instead of 0.
Maybe this behavior can be changed together with #41

Thanks to you that is now part of it as well.


(enhance) Added relay.pkarr.lnrouter.app to relays.txt

pkarr.lnrouter.app runs the web app.
relay.pkarr.lnrouter.app runs the relay.

Both running the main branch.

Beautiful


How to use it with script tag like vuejs

we use vue js lib with script tag //cdnjs.cloudflare.com/ajax/libs/vue/2.5.2/vue.min.js or download and attach only main file
but in this lib we are integrating this lib it gives
[Vue warn]: Unknown custom element:  - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Same issue for other tags also..
Please guide how can we use your library

@ajeetku Update vddl to v0.7.1


Automated cherry pick of #8107: fix: allow create disk prefer manager

Cherry pick of #8107 on release/3.4.
#8107: fix: allow create disk prefer manager

/lgtm
/approve


Error creating container for BC 2019 Spring Release CU 9

I am unable to create a container for the latest BC 2019 Spring Release Cumulative Update 9 release.  I get the same "Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time." error (SetupSqlUsers.ps1: line 13) on the W1 and the NL versions.
I have pasted the full output below for reference:
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows 10 Pro - 1903
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Using image mcr.microsoft.com/businesscentral/onprem:14.10.40471.0-nl-ltsc2019
Removing BC14-10-40471-nl from host hosts file
Removing C:\ProgramData\NavContainerHelper\Extensions\BC14-10-40471-nl
Creating Container BC14-10-40471-nl
Version: 14.10.40471.0-nl
Style: onprem
Platform: 14.0.40464.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.973 (ltsc2019)
Host OS Version: 10.0.18362.592 (1903)
The container operating system does not match the host operating system, forcing hyperv isolation.
Using locale nl-NL
Using hyperv isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file ...
Files in C:\ProgramData\NavContainerHelper\Extensions\BC14-10-40471-nl\my:

AdditionalOutput.ps1
AdditionalSetup.ps1
license.flf
MainLoop.ps1
SetupVariables.ps1
updatehosts.ps1
Creating container BC14-10-40471-nl from image mcr.microsoft.com/businesscentral/onprem:14.10.40471.0-nl-ltsc2019
415d0f3622e810b5dadcddf10cd2318cf2bf47a136d0c2cbcab048fa0d80f8e3
Waiting for container BC14-10-40471-nl to be ready
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is BC14-10-40471-nl
PublicDnsName is BC14-10-40471-nl
WARNING: DNS resolution not working from within the container.
WARNING: Container starts with TimeZone = West-Europa (standaardtijd), which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 5038AC7FDAAEF1285CA4D98D9883B5AEB1BC0DD0
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to re
spond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=27721; handshake=18063;
at , C:\Run\SetupSqlUsers.ps1: line 13
at , C:\Run\navstart.ps1: line 183
at , C:\Run\start.ps1: line 121
at , : line 1Error
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is BC14-10-40471-nl
PublicDnsName is BC14-10-40471-nl
WARNING: DNS resolution not working from within the container.
WARNING: Container starts with TimeZone = West-Europa (standaardtijd), which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 5038AC7FDAAEF1285CA4D98D9883B5AEB1BC0DD0
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to re
spond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=27721; handshake=18063;
at , C:\Run\SetupSqlUsers.ps1: line 13
at , C:\Run\navstart.ps1: line 183
at , C:\Run\start.ps1: line 121
at , : line 1
Initialization of container BC14-10-40471-nl failed
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Wait-NavContainerReady.ps1:44 char:17

...             throw "Initialization of container $containerName failed" ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Initialization ...40471-nl failed:String) [], RuntimeException
FullyQualifiedErrorId : Initialization of container BC14-10-40471-nl failed

2 things to try out:

Make sure DNS resolution works from within the container (search dns here: https://freddysblog.com/2019/08/20/business-central-on-docker-for-non-experts/)
Not sure which password you used - but if it was a very simple password, that might be the reason

If these doesn't work - please provide the PS command you used to create the container (and the output above)

I don't think it's the password as I don't use a simple string.
I've added the dns switch to the script I use to create the container but still get a warning that DNS resolution is not working from within the container.  I also get this warning when creating a container for older versions and these are created without any issues.  I have included my script below for reference.  (I am able to successfully run this for $MainReleaseNo = 14, $CumulUpdateNo = 9, $NAVVersionNo  = 39327, $CountryCode = "nl")
$MainReleaseNo = 14
$CumulUpdateNo = 10
$NAVVersionNo  = 40471
$CountryCode = "nl"
$imagename = "mcr.microsoft.com/businesscentral/onprem:" + $MainReleaseNo + "." + $CumulUpdateNo + "." + $NAVVersionNo + ".0-" + $CountryCode
$containerName = "BC" + $MainReleaseNo + "-" + $CumulUpdateNo + "-" + $NAVVersionNo + "-" + $CountryCode
$credential = get-credential -UserName "admin" -Message "Enter NAV Super User Credentials"
docker rm $containerName -f
New-NavContainer -containerName $ContainerName        -accept_eula
-accept_outdated        -auth NavUserPassword
-credential $credential        -dns '<IP_ADDRESS>'
-doNotExportObjectsToText        -imageName $imagename
-includeCSide `
-updateHosts

I try to repro, thanks

We are looking for something that is specific to your machine. Run your exact script:

If you are on a corporate network, using <IP_ADDRESS> as dns might not work - you could try the dns from the host.
Are you (or have you been) able to create other containers on that machine?

I've managed to get it to work using <IP_ADDRESS> as the dns while logged in on my domain network.  It doesn't work from my home network (which is what I was using this morning).  What I don't understand is why this would matter as the sql server is located within the docker container in this instance...  But thanks for your help on this - I'm glad that it's working now.

I don't know sorry.
You can enter DNS' for home+work you use in the daemon configuration, then it will work both places (without the parameter on new-navcontainer)


Wrong Barcode

Hello guys.
When I wanted use fastreport for make a USPS mailing label,
I figured out that Barcode of GS1-128 (UCC/EAN 128), makes wrong result.
can you check it and solve its problem?

Hi! We will check the barcode and I will answer you.

Hi! We reproduced the problem. It will be fixed soon.

Hello!
You want to generate USPS mailing label and you use GS1-128 (UCC/EAN 128) for this purpose?
Do I understand you correctly?

Yes. I wanna use it to make a USPS label.
If it is possible that developers can change X-dimension and Resolution (dpi) of barcode, it is better applicable.

Yes. I wanna use it to make a USPS label.
If it is possible that developers can change X-dimension and Resolution (dpi) of barcode, it is better applicable.

Are you talking about USPS Package Identification Code Barcode which is based on UCC/EAN-128 GS1-128?
There are so many barcodes 😄

I'm facing the same issue when exporting the report with HTMLExport with 2/5 Interleaved barcode
#589


Testing, please ignore. (zvfver)

This is a bug bounty test. Please ignore.. Please DO NOT APPROVE THIS! (zvfver)

Hey, thuis is spam and abuse of the platform and my time. Don’t do this.


iOS support?

Marl looks really interesting but my codebase primarily targets mobile, so I'd need support for both iOS and Android. Is iOS support on the cards at all?
A bit of background - my codebase does real-time CPU-side camera processing and many of the high CPU parts could be split across cores relatively easily. The work is non-blocking so I don't think I really need fibers or yielding, I just want to spread it out between workers.
I was thinking of writing a simple dispatch queue type of thing where workers would just all pull the next job from a shared queue, but thought I'd look at some of the more complete third-party library solutions. If you think marl is overkill for this use case then that would be really helpful to hear too!
There might even be standard library solutions that will work - I've been slow to learn what's new in C++ as historically the codebase worked with lots of old / esoteric compilers (old MSVC, Symbian, Android ndk before it had a standard library...). I have started adopting some new features from C++11 but I haven't dedicated much time to learning all the new stuff.

Hi @tangobravo,
While I'm not aware of anyone using marl on iOS, I think there's a good chance it would work without changes. The most likely part to have trouble would be the fiber switching assembly for arm64, but this is fairly well tested battle tested for Android, and unless there's iOS specific differences I'm unaware of, I think this should Just Work.
If you don't use any of the blocking calls, there will be no fiber switches, and you'll simply be using marl's work stealing task scheduler. There are other projects out there that provide multithreaded job schedulers, but I'm not familiar enough with them to advise.
If you do try using marl, I'd be very interested in hearing how well it works on iOS.
Cheers,
Ben

Thanks for the quick reply @ben-clayton!
Would calling conventions have any impact on the assembly required for fiber switching? iOS has a few differences in this respect, documented here:
https://developer.apple.com/library/archive/documentation/Xcode/Conceptual/iPhoneOSABIReference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009020-SW1
I'll let you know if I do give it a go - CMake's iOS support is still not great AFAIK (there's a third-party toolchain file that most seem to use), in the past I've just added source files into an Xcode project manually and adjusted include paths etc.
Having "official" iOS support would probably help adoption in the mobile space - I suspect many people considering a C++ solution for android would be likely to want an iOS build of their codebase too.

We too are interested in iOS support!

Sorry for the slow reply - I've been on staycation.

Would calling conventions have any impact on the assembly required for fiber switching?

Yes, quite possibly. Sounds like I should try and obtain an iOS device and give this a try.

I'll let you know if I do give it a go - CMake's iOS support is still not great AFAIK (there's a third-party toolchain file that most seem to use), in the past I've just added source files into an Xcode project manually and adjusted include paths etc.

Makes sense. I'm not overly opposed to adding XCode build files so long as they can be sensibly maintained.

Having "official" iOS support would probably help adoption in the mobile space - I suspect many people considering a C++ solution for android would be likely to want an iOS build of their codebase too

Anything "official" needs maintenance, and at the very least CI testing. I'm not sure that our current CI solution offers anything that can do real on-device testing. We do have mac bots though, so perhaps the iOS emulator will be sufficient. I'll investigate.

We too are interested in iOS support!

Ack. As you're a googler who is dealing with iOS, perhaps you have some solutions in place for iOS testing? Let's chat!
Thanks,
Ben

Anything "official" needs maintenance, and at the very least CI testing. I'm not sure that our current CI solution offers anything that can do real on-device testing. We do have mac bots though, so perhaps the iOS emulator will be sufficient. I'll investigate.

I don't underestimate the amount of work involved in making it "official" so thanks for considering it 👍
Unfortunately the iOS simulator isn't an emulator - it's implemented as a separate x86_64 platform.

Unfortunately the iOS simulator isn't an emulator - it's implemented as a separate x86_64 platform.

Shame.
Okay, let me investigate whether I can obtain an iOS device from somewhere. I'll get back to you when I have an update.
Cheers,
Ben

I've ordered a iPhone SE which should arrive this weekend. I should be able to look into this next week.

So, after finally figuring out how to actually build and deploy using XCode, I can confirm that all the unit tests pass on a iPhone SE. There were a few compiler warnings raised, which I'll put a PR up to fix.
I'll next look through @tangobravo's linked document to double check any documented ABI differences that might cause problems that aren't covered by the existing tests.

So I've scanned the ABI doc - as far as I can tell, there's nothing in there that should cause issues with marl.
I think we can say marl is supported on iOS.

Awesome 🎉 - thanks for the work and the update!
I assume your tests have been limited to arm64? iOS 11 and later is 64-bit only and all devices since iPhone 5S have been 64-bit, so it's not a deal-breaker, but on the tablet side older devices are a bit more common. Testing-wise there are various remote test services that should allow running 32 bit apps as long as they're on iOS 10 or below.
I've also got an iPad Mini 2 here that maxed out at iOS 9 - I'm happy to give the test suite a run on there if you've got a Xcode project for it now.

I assume your tests have been limited to arm64?

Correct. I didn't even consider arm32 is a thing for iOS any more.

I've also got an iPad Mini 2 here that maxed out at iOS 9 - I'm happy to give the test suite a run on there if you've got a Xcode project for it now.

That would be great, thank you!
I appear to have created a project, but I have no idea what is user config and what is essential. I'm an absolute iOS / XCode novice.
It's probably easier to tell you how I created it, than attempting to figure out how to bundle it and send it to you:

File -> New -> Project...
Create a Single View App
Add all the marl/src/* source files to the project, except for *_bench.*.
Add the marl/third_party/googletest/googletest/src/gtest-all.cc source file to the project.
Add to the Header Search Paths:

marl/include
marl/third_party/googletest/googlemock/include
marl/third_party/googletest/googletest/include
marl/third_party/googletest/googletest

Delete the main from the Single View App template - it's already defined by marl/src/marl_test.cpp (just try building to find it - you'll get a duplicate symbol error)

This should build and run.
Please shout if this doesn't work.
Thanks again,
Ben


Ban wave - Most of us survived?

Hello,
As everyone has noticed most botters that where using Necrobot got banned permanently, sending out emails etc. Did most of us survive as we are using an 'human-like' configuration file?  And are you guys pausing BOTTING or will you keep going/waiting for an update?

I think I survived using that option... am able to login to my acc, no bans.

Same here, my bot doesn't do weird stuff, seems we dodged the bullet for now..

Ill just wait it out ;) lets see what happens after the initial ban wave. Maybe they will look through the logs and then ban the next accounts. (As in most obvious first and then this might be so let's take a closer look)

I did not get an email, but I wasn't able to figured out if I got IP banned or account banned, soft or hard. If I understand correctly, only those who got account hard-banned (permanently) will receive emails. My situation is pokemons appear but always flee, and I cannot get in range of pokestops. Are you having the same issue?

On my phone everything works normally, i can use pokestops and catch pokemons, @Waliers I'm also waiting and hoping we dodged it for now.

I can catch pokemons, but cannot spin pokestops, saying "out of range".

I think if you can log in then you are softbanned. Just wait several hours. It worked for me.

Got the same thing as @wyhfrank. Playing the waiting game now.

My two accounts survived though I do see some pokestops not spinning and not being able to fight in a gym when gps-spoofing now.

I got 2 accounts perm banned :/

And i wan't see pokestops on 2 other accounts ...

HOw you know your perma? Did they mail you?

No, but i can't logging, it's most likely a perm ban, they just didn't have the right code to show the message, and i didn't get an email thought

@Tomygames You should receive an email that they perm banned your account.

NO mail NO perma ban :)

Awesome :D, Do you know how much time before the urban ? :)

#3682 - META Server busy or offline issues
#3308 - META Stuck between two forts / Moving to 2 forts at the same time / Constant Loop
#3700 - META Soft bans - Try again spins / Pokemon vanishing
#3746 - META Banwaves - Permanent Bans

I'm able to login. Can do gyms, swipe pokestops but I'm unable to catch any pokemons. They all fled.

Yeah its a soft ban- try again in 4 hours.

@pmquan That sounds weird, soft-ban tends to be no catches, pokestops and gyms, and you are definitely not getting a hard-ban since you can still log-in. Probably just wait it out should be fine.

Its funny Niantic tried encryption, didnt work, tried legal action, didnt work now its banwave time! Just stay low, play safe and don't spoof like there is no tomorrow. I just go from Point A to B with Google Maps Travel time. So if it takes me 8 Hours to go to Mexico.  They have time, resources and logs. Play safe and senseable!

what about those of us that cant log in at all (Failed to get game data from server), but have no e-mail confirmation ?
Soft ban ?

To clear up confusion there are several types of bans:
Soft IP ban Ban the IP but not the account (not permanent). All accounts on the ip will be unable to see pokestops and pokemon. Usually goes away after 20 mins of not accessing the pogo api from that IP.
Hard IP ban Ban the IP perm. This happened to cloud providers like AWS. You can't log in or access pogo at all from one of these IPs. Never goes away.
Soft ban Account specific - there are now multiple types of softbans: (time to go away varies)

Spinning pokestops gives nothing, and pokemon always run on the first ball. (this was the original softban)
Spinning pokestops is fine, but pokemon always run. (added today)
All pokestops say out of range, and no pokemon ever spawn (added recently)
You can catch pokemon fine, but can not spin pokestops ... there may be more
Hard ban Perma ban (Read data error on phone). This is the new ban that botters have been getting. If you get a login error, it does not mean you are banned for sure, but if you were botting or teleporting and you can't log in on that account from any IP, and you can use other accounts - good chance thats a hardban.

People wondering what actions cause the ban. It is still unknown, but it seems related to highly frequent requests involving teleporting. However, any third party api usage or GPS spoofing voilates their TOS and it is possible you can receive a ban. I recommend not using any 3rd party service or spoofing for at least 24 hours. IMO, If you have never botted or spoofed/sniped, it is unlikely you will get banned. But I would avoid using any services that require your login until this is sorted out.

one of my accounts got "banned" with walk set to 4.16 and no sniping .... ever
Failed to get data from server. but no e-mail received. What kind of a ban do you think this is ?

I thought I survived one of my accounts got banned last night, then the other one just got banned about 30 mins ago.

you continued to bot ?

Nah I didn't stopped yesterday one still didn't get banned till this morning

I have catch flee and try again later for pokestops. Soft ban? Wait it out ?

since 5.00 AM failed to get data from server error. Seems like that was the start of it. I believe it is a ban since most replies on forums are from botters (which I'm not sure what % of the community exists of right now) it's been about 21.5 hours and I'm still getting the same error message. Can log in to my main (completely legit) account right now. Start losing hope but it might still be a corrupted data file created by all guys logged in at 5AM standard time (England). Anyone who can confirm being logged in at that time who didn't get banned? Last option I see as a possibility. otherwise. r.i.p. pokemon go :(

[12:59:19] (ERROR) Probably Permanent Ban!
[12:59:19] (ATTENTION) Program will continue after the key press...
That is what Necrobot says.... so yeah


Bump default Ko version

It's been reported here as a bug https://github.com/knative/eventing/pull/7799#issuecomment-2025228385

/cc @creydr @Cali0707