NESM3 licensing update from CC BY-SA 4.0 to CC BY 4.0

From: 曹剑 jianc@nuist
Sent: 05 October 2022 10:15
To: Briony Turner; esmc@nuist; jinglin.zhang@NUIST; sunb@NUIST
Cc: CMIP-IPO
Subject: Re: CMIP6 license change request
Dear Briony,
Thanks for your email. There should be a misunderstanding to the previous emails. We agree to change the license from CC BY-SA 4.0 to  CC BY 4.0.
Could you help us to change the license from CC BY-SA 4.0 to  CC BY 4.0?
Thanks very much!
Best wishes,
Jian Cao, On behalf of NESM modelling center.
From:  "Briony Turner"
Date:  Wed, Oct 5, 2022 04:45 PM
To:  esmc@nuist; 曹剑 jianc@nuist; jinglin.zhang37@gmail; jinglin.zhang@NUIST; sunb@NUIST;
Cc:  "CMIP-IPO"
Subject:  Re: CMIP6 license change request
Dear Dr Cao and colleagues,
The WIP have now closed this workstream.  We are delighted with 95% success in relaxation.  The licence relaxation ensures that data can be used broadly across all projects, be they research- or application-focused. In addition, several larger companies that are focusing on climate impacts have shown a strong interest in the CMIP6 archive. Please note that where the more restrictive (CC BY-SA 4.0) license remains, rather than the more relaxed CC BY 4.0, then the data with restricted license may be omitted from multi-model analyses.
In accordance with no response indicating an alternative, esmc@nuist has been logged as the point of reference for the WGCM Infrastructure Panel (WIP) to list for all license waiver/exceptions enquiries for: NESM3.
Best wishes,
Briony
HE Space for ESA - European Space Agency
Briony Turner
Programme Manager
WCRP CMIP International Project Office
Tel: +44 (0)7810 010 810
@peace2016 @CMIP-IPO ping

@peace2016 that license change is now in place, please review CMIP6_source_id_licenses.html and let me know of any further tweaks required


feat: Add MaxNodeClaims option

Fixes #732
Description
This adds the ability to set a global limit on the number of NodeClaims in a cluster. This is useful for users with limited IP pools or for other reasons would like to cap the number of nodes in a cluster rather than only being able to set a per-nodepool resource cap.
How was this change tested?
Hasn't been yet
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

10 of 20 (50.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 78.954%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/provisioning/provisioner.go
8
18
44.44%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
8291

Relevant Lines:
10501

💛  - Coveralls

@jukie  thank you for making the pr! Can you also write up an design proposal so that we can discuss this is the best way to solve the problem you and others in the community are having?

Sure thing, I'll open a separate PR with an RFC

Thank you!


print functions signature update proposal

Got recently dragged into the whole effort of SerenityOS and, in the effect, this of Jakt language. Most certainly by the personal traits of Andreas and Jonathan. Putting all the accolades and awes aside I thought I’ll share some ”outsider” perspective on the language itself (as I think is pretty interesting as having a clear purpose that will drive its development—something that some other languages tend lack).
What I’ve noticed is this ”named” parameters approach for method calls which I really like. Having seen also ES/TS interpolation strings I found them very useful and straightforward so I was pretty shocked they did not land in the language (yet?). Adding two plus two, I thought that would be nice to marry those ideas. After a moment of thought I came to realisation that having something similar to ES/TS approach (probably well-to-known to the creators) might be not the best thing in the end. I thought that I might want to bite too much at once.
I’ve limited my thinking process to the places I use this interpolation pattern most. And this was just printing/logging. Trying to see things from this perspective I’ve noticed that print functions use anonymous parameters and {} placeholders. ES/TS interpolation has inline formatting but has pretty much the same drawback as the current approach in Jakt—you have to extract you expression into a variable if you want to re-use it.
By simply using named parameters in print function (and maybe other formatting functions I’m not aware at the moment) that would be parsed in the formatting string, one could avoid artificiality and go for explicitness that Jakt is aiming for. I do not have exact syntax for that and not really thinking about any at the moment as there are many examples in the wild and most probably community has already it’s own preferences. I’ll try to produce an example though:
println(
    "Copying file {blue}{firstFile}{reset} to file {blue}{secondFile}{reset}",
    firstFile, secondFile,
    blue: "\u001b[34m", reset: "\u001b[0m"
)

This is all about the thing I wanted to share with you passing on the whole string interpolation topic for now. 😋

Objectively speaking, this has three requirements to implement:

named variadic generics (we do not yet have an actual implement of variadic generics)
preserving the names in a runtime structure (reflection can help this)
implementation of the format stuff

We cannot easily pull our current trick or specialising in the typechecker to compensate for the missing variadic fn support, however.
Personally though, I feel like this is a bit too complex 🤔

I feel somewhat flattered that we’re talking about implementation or even do an opportunity analysis! 😳
Just after posting I thought that I haven’t seen any named variadic parameters (but I just could miss them or they could be pretty new and their use could not be really spread out). I was just about proposing that implementing this idea could start slowly, i.e. without that and one could just pass an object there to side step the complexity. But I think that’s an implementation process so the decision is not up to me to make. So, as an example, something along those lines:
println(
    "Copying file {blue}{firstFile}{reset} to file {blue}{secondFile}{reset}", [
    firstFile, secondFile,
    blue: "\u001b[34m", reset: "\u001b[0m"
])

For now, if that’s the custom here, maybe we could start plainly with plain ”if” or ”whether” as this whole idea might be just not in line with the vision of language creators! 😅 For me: anything will do (I think I won’t jump into C++ programming but I think I could do some stuff in Jakt later on—splendid idea for selecting less error-prone language! [not really important if home-made or found on a shelf!])

Hmm...so we definitely want variadic generics (I've had a few attempts at implementing them, but mostly got distracted or didn't like the outcome), and named parameters are an integral part of the language now, so it makes sense to me to support named variadics.
My intuition says that we should keep things like this in userspace and limit the prelude impact as small as possible (as I mentioned, currently format-style functions are specially handled because we don't have variadic functions).
By giving users the means to implement this in the language, we can also sidestep the "what's the C++ implementation going to be like?" question, as well as limiting the "special" bits in the language.
For your revised example: we don't have anonymous structs (or named tuples if you want to call it that) either, so the complexity remains the same to me (was this inspired by Zig's std.debug.print by any chance?)
Anyhow, you're welcome to make a prototype, just something that'd let people play around with the idea and get a feel for it - at this stage we're very open to changes I'd say.

for instance, given support for the two primitives, this is what I imagine it'd look like:
function println<Args...>(format: String, anon args: Args...) {
    guard reflect Args is ArgumentPack(fields) else { panic() }
    mut lexer = SomeKindaLexer(format)
    for token in lexer {

For your revised example: we don't have anonymous structs (or named tuples if you want to call it that) either, so the complexity remains the same to me (was this inspired by Zig's std.debug.print by any chance?)
Got it (as for Zig: nope; but also tracking the progress there… 😉 It could be from there, in fact, also Go or other languages—but here I just plainly used idea from aforementioned ES/TS).

Anyhow, you're welcome to make a prototype, just something that'd let people play around with the idea and get a feel for it - at this stage we're very open to changes I'd say.
Glad to hear that—still I need a stronger machine for dealing with all that stuff; that might happen in a month or so. That would mean that topic is open for anybody to take at this moment! 😆 (Thanks for words of encouragement!)


Added timestamps parameter to recognize_ibm()

I added the timestamps parameter to the recognize_ibm() function. If show_all is set to true, timestamps can also be set to true to include timestamp information in the JSON dictionary.

Would be great to have speaker_labels as well


Translations update from Hosted Weblate

Translations update from Hosted Weblate for raspiblitz-web/translations.
Current translation status:

Thank you gallegonovato!


[bn] localize cncf-code-of-conduct.md

Bengali Localization of content/bn/community/static/cncf-code-of-conduct.md.
This is a copy from cncf/foundation
Fixes Issue: #44993
Resolves PR: #45009
Tracking Issue: #31677

/lgtm

/lgtm now
Thank you @sftim and @sajibAdhi

/lgtm


Carbon Relay - long lived connection to target

We have a pool of graphite relays running in our datacenter.  They receive client metrics, and forward them to a relay pool we have running in AWS (behind an ELB).  The internal relays have the DNS name of the ELB in the carbon.conf.  These in turn forward the metrics to our AWS based cache servers.
The problem I'm seeing is this.  At times the IP addresses of the ELB will change.  This is of course is reflected in the DNS return values.  But it seems after the carbon relay does the initial DNS lookup, it will continue to forward to the IP it initially pulled.  Even when that IP is no longer being properly responded to it seems the relay does not do a new lookup.
Have others ran into this, or is there a  workaround aside from a regular relay restart to get around this?  I had scheduled restarts of the relay service, but it seems it was not fully flushing its queued metrics on restart, so there would be a chunk of lost datapoints ever X time when the restart was scheduled, so I'd like to avoid a situation where we're dropping metrics if at all possible.
Running 0.9.15 across all components

I would suggest a proxy that can identify these changes and update their internal resolution table. I believe that HAProxy can do this but I haven't needed to use this before. I would love to know if that works for you.

Ah, of course.  Yeah, 1.6 and up of haproxy supports this.  It gives the base requirement of seeing the IP fail and switching.  I plan to test this out (will let you know how things go), but will close this ticket out since it might be a bit.

Awesome, good luck! Looking forward to an exhaustive report. :wink:


Add how to do stuffs

Add tutorials,tips and tricks how to do things of devops

How to install
how to make pipelines
how to use git-actions
how to write yaml files

And more how to do things

hi @Tikam02 , does using any AWS services fall under this category, eg: lambda, s3 etc ?

@meenasn yes and obviously they are AWS services.
Soon I'll add aws services contents on respective directories.

Hi @Tikam02 I have added this PR about how to install helm https://github.com/Tikam02/DevOps-Guide/pull/106
Thank you in advance.

Hi,
Can I take up how to write yaml file

Hi,
Can I take up how to write yaml file

@ShvetaVasisht it's open for contribution, please take whatever you want and add anything more informative. 👍🏻

@ShvetaVasisht it's open for contribution, please take whatever you want and add anything more informative. 👍🏻

@Tikam02 Thanks. I will take up how to write yaml file.

@Tikam02 Thanks. I will take up how to write yaml file.

@Tikam02  created pull request #126

@Tikam02 created pull request #126

Done


Using everything  to search for files

Description of the new feature / enhancement
everything is a local search software, the search speed is very fast, it is recommended to search files based on everything
Scenario when this would be used?
search for files
Supporting information
No response

Duplicate of #3278

Thanks for your suggestion! This issue is a duplicate.
I'm linking this issue to #3278 to centralize the discussion thread, please go to that thread for discussion.
This is a won't fix item for us, please go to #3278 for more information about this.
Thanks for your help to make PowerToys a better piece of software!


design new feet

pls work w/ @Merlin04

feet have been integrated into the motor mounts, and single-rubber-pad holders have been added. will test on monday


OmniPay V3

OmniPay V3 is in progress and I suppose that all gateways should be upgraded to that version also. Do you have plans to make this upgrade? I'm going to start a new project that connects to Pagar.me but OmniPay V2 is incompatible with my others dependencies.

Yes!
We are also having problems with outdated dependencies. Once they release an alpha version of Omnipay V3, we will be working on the upgrade as soon as possible.


CBC Mode Final Padded Block Bug

Just noted that the CBC encrypt code does NOT apply the IV to the final block when the length of the plain text is not an exact multilple of KEYLEN. In this instance the if(remainders>0){ } code after the FOR loop is executed and in that section the IV is NOT applied.

Could you verify if this branch fixes your issue ?
https://github.com/andreas-wehrmann/tiny-AES128-C/commit/f8b5ea32ba7fae68b4179e5d22cef33f454e2045
I don't have the time to test it myself, but it sounds like this might fix your problem ?

Hi
Yes! BTW the same bug exists in the decrypt code and I think is uncorrected in Andreas solution. It does not cause a problem because normally the decrypt function is only required to work with data that has already been encrypted and hence is an exact number of complete blocks long and so there is no need to handle the 'remainders'
reagrds
Neuroscot Ltd. 11 Bankhead Broadway Edinburgh EH11 4DB Tel. 0870 753 6364 / 0131610 0225 Fax 0870 753 6365 / 0845 868 1733 SKYPE: neuroscot_office www.neuroscot.co.uk Registered In Scotland: SC151587 VAT: GB444155756
Original message
From: kokke<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Dated: 10/11/2015 00:01:30
Subject: Re: [tiny-AES128-C] CBC Mode Final Padded Block Bug (#30)
Could you verify if this branch fixes your issue ?
andreas-wehrmann@f8b5ea3
I don't have the time to test it myself, but it sounds like this might fix your problem ?

Reply to this email directly or view it on GitHub.

Fixed in https://github.com/kokke/tiny-AES-c/commit/84468b291bb7c258b40870dd999f75cbff00aa50#diff-9789999dc6dd261657c63f757d1e680d


Typo "@language"→"@language"

bold with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql?view=sql-server-ver15

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

Thanks.


Bounds checking of used_row_indices (#959)

add Common::check_int32_elements_interval_closed function.

insert a bounds checking code in LGBM_DatasetGetSubset function of C API.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Tony-Y sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I confirmed the bounds checking works well as before.


feat: add selection ui (#35032)

Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid.

Automation
/ok-to-test tags=""
🔍 Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Co-authored-by: Goutham Pratapa<EMAIL_ADDRESS>Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true


Update to Protobuf 3.2

We're trying to build federated analysis tools on top of the GA4GH reference server across three sites, and consistently find that getting call information is 2-3 orders of magnitude slower (and much more memory intensive) than simply operating on VCF files, which is a show-stopper for us: e.g. the 90s to locally extract the ~3k variants in server_benchmark.py as vs <1s using cyvcf2, also from python.
In trying to track this down we extracted the code path into a script which could be profiled more directly (i.e. gist 1) and while there were some things that could be sped up, one of the big issues was simply the creation of the call objects. Just creating the almost completely empty calls for 100 variants across 2504 samples - not a big WGS analysis! - takes 30s with the python implementation of the protobuf library (i.e., gist 2).
One problem here is that the Python implementation of the Python protobuf libraries is known to be extremely slow.  Effective about 3 weeks ago and starting with protobuf 3.2, the google protobuf pypi packages have started distributing manylinux binary wheels of the protobuf packages, meaning that the C++ implementation is being shipped for Linux, https://github.com/google/protobuf/issues/2623.  The alternative is to build it oneself, as we were doing with our docker setup for the servers, and as still would be necessary for MacOS and other OSes, although we're looking into conda builds.  As shown in the second half of gist 2, this dramatically drops the time to creation of the messages - still slower than a native C++ version, but much closer.  The last part of gist 1 shows that this roughly halves the time to extract the calls, and dramatically reduces memory usage for the call objects - including on the client, which is of interest for us.  The memory usage looks to be on order of 20x smaller, although comparing the memory usage of the python objects vs the C++-backed objects a little tricky so it may be less than that.
Moving this into (slightly older versions of) the full server, using the C++ implementation gives a roughly 2x speedup when used on the server, and a dramatic memory drop when used on the client gist 3. Another 2x is possible by avoiding the serialization to and from JSON strings, and using native protobuf serialization.  It's fairly trivial to add support for Accept: content types of application/protobuf; we have this against the 0.3.5 version of the server here on the server side and here on the client.  We could certainly submit a stalking-horse PR for this against the new release when it comes out, although it would involve ga4gh-schemas now too.  Given https://github.com/ga4gh/ga4gh-schemas/issues/850 though, it might be worth giving more thought to a nicer general case to cover other content types than what we have here.
We're using these now, and the 4x performance speedup (and corresponding memory requirement drop) is helpful, but it still isn't enough. There are some other possible performance wins on the server side - using cyvcf2 instead of pysam - but the biggest issues after this I think are baked into the schemas and API at this point and so will need to be discussed there.  I see that there's an issue for a calls endpoint #1602 which would strip out the variants information, and that would help, but the biggest performance problem is that for a user wanting even modest-sized genotype matrices or related call information, millions of these Call messages must be created, serialized, unpacked, and accessed.  There all small changes that can improve things - gist 2 points out that using a repeated int instead of a ListValue can make a surprisingly large improvement - but I think performance will likely require a structure-of-array rather than an array-of-structure approach for calls.

+1 thanks, the extra analysis is great! I'd like to make this issue closeable by updating our internal requirements for protobuf to 3.2.
Please give me a moment to address some of your other points. For variants, we don't do much other than pysam + de/serialization. Offering an alternative to pysam sounds great and https://github.com/brentp/cyvcf2 seems like an excellent solution. I would be curious to see what code could be shared by the two datamodel classes.
I hope that we can encourage more of your involvement at the schemas because you make excellent points that should be discussed there! The genotype went from a repeated int to a ListValue because we didn't have a way of specifying "no call". We could optimize away the ListValue using a oneof using integers and a "no call made" enum. You can see the discussion that brought about the ListValue here: https://github.com/ga4gh/ga4gh-schemas/issues/727 .
If I can direct your attention to this issue https://github.com/ga4gh/ga4gh-schemas/issues/832, it attempts to answer, for RNA, the problem of requesting a matrix as opposed to a list of expression values. I believe the idea could generalize to variants. Your considerations there would be valuable and creating another issue for optimizing an aggregating variants query should be addressed. Bringing the calls out makes it easier to write the query you want, but still incurs request overhead a single query might avoid.
We'll close this issue when we've upgraded the server to protobuf 3.2. I believe by simply accepting updates on the 3.x release cycle we will be safe within this software. No?
@ljdursi if you can't find another issue within which to address each of your concerns on the schema level, please let me know or make one and we can move from there!

@david4096: I'm sorry to hear that psam's VCF/BCF support isn't working well.  Please let me know if you're having any specific problems and will let you know if they can be addressed.

Thanks, @david4096!  Sounds good.  As far as I know the 3.x release cycle for protobuf should be safe.  There is one caveat - the python implementation was actually more lenient than really should have been allowed, and some have reported issues moving to 3.2 and the C++ implementation for that reason.  We haven't seen it, but I haven't run the current test suite, largely because we've been using older version of the schema/server/client.
Sorry, I see now I could have usefully broken this up into three issues.  We're going to try prototyping something for calls / genotype matrices, maybe using https://github.com/ga4gh/ga4gh-schemas/issues/832 as a starting point, and we'll see if we can come up with a concrete working proposal as a starting point for discussion.  While doing that we'll probably be playing with ListValue vs enum, etc.  Similarly can mock up a protobuf serialization PR against the new release unless other content-types are being already worked on.
@bioinformed - I've found it easier to get fast performance out of cyvcf2 for my use case mentioned here largely because it provides numpy arrays for e.g. gt_types, gt_ref_depth, but that doesn't cover all cases, and I may simply not be aware of how to get the best performance out of pysam for VCF.

@ljdursi Another interesting thread for your perusal on some early approaches to remodeling the calls. https://github.com/ga4gh/ga4gh-schemas/pull/395

I've taken similar anecdotal measurements for the binary protobuf. Note that the improvements of switching to binary on the wire protobuf is about 2x. And the improvement of going from python to C++ is about another 2x. Previous tests done by @andrewjesaitis showed that grpc was somewhere near twice as fast as the existing serialization. I wonder if the change in the underlying C++ bindings would realize another double in performance using simply the GRPC.
#URL                                client_apitype  srv_apitype  use_protobuf  nvar  time_per_var  kB_per_var
http://ga4gh.ccm.sickkids.ca/ga4gh  cpp             cpp          False         648   0.149440        65.3102213542
http://ga4gh.ccm.sickkids.ca/ga4gh  cpp             cpp          True          648   0.077935        65.3102213542
http://candig-ga4gh.genap.ca/ga4gh  cpp             python       False         605   0.313741        65.3114669421
http://1kgenomes.ga4gh.org/         cpp             python       False        1065   0.313287        80.9306778169
http://ga4gh.ccm.sickkids.ca/ga4gh  python          cpp          False         648   0.145300      1309.5181086
http://ga4gh.ccm.sickkids.ca/ga4gh  python          cpp          True          648   0.103760      1309.66385754
http://candig-ga4gh.genap.ca/ga4gh python python False 605 0.310714 1309.55414514

To get the best performance you will want to pay the upfront ETL costs to place your data into a distributed store. This lets you balance the costs of indexing, storage, access, and analysis. In concept, a high performance system might index the variant data by position into a store. Then, in a column or field of each variant record, the binary protobuf is stored. Then one can actually compare the tradeoffs of storage versus re-serializing effectively. When an API request is made one simply pays the cost of deserializing the request, looking up within the index, concatenating the messages together, and actual transfer.
We can of course improve our software's performance, but at the schema's level we can do a few things other than simplifying the messages. First by reducing the number of requests needed to answer the same question, we can reduce the amount of roundtrip transfer. In practice we have shied away from merge/join type API calls because they present an order of magnitude increase in complexity to serve, but I look forward to your insights.
The other thing that we can do to optimize the schemas is to offer (as an alternative?) binary-on-the-wire protocol. I believe that this will get you a modest performance improvement (~2x to ~5x according to @ljdursi's analysis). The added complexity cost is low here, especially if one accepts the GRPC implementation.
Add streaming in the GRPC style did not give us the performance improvements I had expected when looking at this in the past, but I believe it may have been due to the protobuf bindings being to python, and not C++. We might take another look and find that approach to have greatly improved with the C++ python wheels. https://docs.google.com/document/d/1psUfafYyhgdAYjq1Qm_YAkGc3IDz___4F3nWeR1gkM8/edit?usp=sharing

@ljdursi: Accessing INFO and FORMAT values as numpy arrays is a perfectly reasonable feature request.  This will push handling of missing values to client code, but that is the trade off for speed.  I'll look into adding this functionality to pysam, though I also understand that switching to cyvcf2 may be the easier route to take.


[FEATURE] Add model level stats

For now the stats API collects data on 3 levels:

cluster: like model index status
node: like how many model deployed on node
model category: like how many request for text embedding model

For some use case, user may prefer to know the model level stats. For example, user created 2 remote models: one for openAI, one for Cohere. Both model stats data will be aggregated as REMTOE model on stats "model category" level. That's hard to user to tell how many requests sent to openAI or cohere separately.

@ylwu-amzn, I'm closing this issue as this is addressed in this PR


[BUG] website not working

https://hydralauncher.site

the website is: https://hydralauncher.fun/


Widen type returned by non_forcing_is_a?

Motivation

This is prework for a prop change:

The generated code relies on being able to generate calls non_forcing_is_a?
unconditionally. If we were do to something smarter here with the returnType,
infer would report dead code errors when it could prove that the check was
always false, so we always return T::Boolean. (Well, it's implicit from the
sig.)

Test plan

See included automated tests.

Could we add a test that would have failed?


Authorization management !

First of all thanks for that great tool, it makes RedHat admins life easier ,i just completed a PoC with that Operator for sync LDAP groups from AD and all was good, however not sure if there is something missing there or maybe it was me who missed this part ,as after the sync completed i got the correct groups on OpenShift side with the right users inside and that was great, however not sure how we can manage the Authorization here ! like binding OCP roles like admin,view,read with the groups that just got created from the sync ! as without this step users can login and being in the right group but they cannot do anything as they do not have any permission on the cluster , Thanks in advance guys i really appreciate the great work done to bring that operator to OCP admins .

@woot3d sometime we use the namespace-configuration-operator to automate this and other configurations. This article explains the approach:
https://www.openshift.com/blog/orgs-management-and-team-onboarding-in-openshift-a-fully-automated-approach

Okay, thank you @raffaelespazzoli ,so here you confirm my thoughts about that operator capabilities ,so its responsible only to bring the AD groups with users on OCP ,but for role bindings to those groups we will need to use other tools/automations !

@woot3d any other issues that can be addressed or can this issue be closed?


Error:  does not have permission to change macro

When sharing a macro with players using the Observer permission, the players get an error stating they cannot change the macro.
Possible solution: update marker flags via GM (sockets)

For users using 'The Furnace', a work-around is checking the 'Execute as GM' box inside the macro configuration.

Fixed in 0.5.2

Hello @janssen-io
I ran into this issue a couple of days ago.
I don't know why, but one of the macro is not an issue. While others emit an error message.

Hi dark!
Does the user have permission to edit the macro? This module updates the macro “invisibly”, so if the user did not create the macro themselves you need to give them editing permissions.
Hope this helps!

@janssen-io Ok, did the test.
If I create the same macro with the player account, it does work.
But I create the macro as a GM then share the macro with a player (owner permission), it does produce this message.


Formatting fails with Latexformat.pl

Formatting fails. Here is the output in verbose mode:
Trying definition from g:formatdef_latexindent
Evaluated formatprg: latexindent.pl -
Using python 3 code...
Formatter latexindent has errors: b'Please enter text to be indented: (press CTRL+D when finished)\n'
Definition in 'g:formatdef_latexindent' was unsuccessful.
No format definitions were successful.
Removing trailing whitespace...
Retabbing...
35 lines indented

Strange. Looks like it doesn't receive anything on the stdin. But since that works for other formatters, there is probably something wrong with latexindent or your environment. Perhaps @ettom could offer some help?

@Sciencentistguy Does latexindent work on its own?
Does cat myfile.tex | latexindent.pl give the expected output?
What is the output of latexindent.pl --version ?

@ettom
cat example.tex | latexindent.pl does work, yes
The latexindent.pl version is 3.7.1, 2019-09-07

I have the same version on my machine and everything works. Could you provide a minimal vimrc file for reproducing? What is the output of vim --version?

My vimrc is on my github.
vim --version output:
NVIM v0.5.0-297-g83b0054b8
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-5 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include
Compiled by travis@travis-job-14bbf93a-d228-4359-a424-21e34325d9d6

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info

Sorry, I cannot reproduce this one. Tried nvim with your vimrc and everything worked fine.

@Sciencentistguy Do other formatters just work on your machine, or do they have the same problem?

I use a custom astyle command for c/c++ and that works fine. Python was a bit fiddly to get working but that also works as well
I haven't tried any other formatters


Post-install configuration for Docker

After the apt-get install, the installer should guide the user how to configure Docker so it will use Pyrsia.
In the easiest form, this could simply be printing out:
To configure Docker to use Pyria, open your Docker daemon config file (usually at /etc/docker/daemon.json) and add this in the root object:
  "registry-mirrors": ["http://localhost:7888"],

For more information see [link to the end-user docs on pyrsia.io]

Hmm 🤔 I'd expect the installer to handle this... or print a warning if it can not (docker was not installed for example)

PR merged closing.


[#6624] port: [#4452][#4456][#4460][botframework-streaming] Should reject pending requests on disconnection

Fixes # 6624
#minor
Description
This PR ports the changes from [PR# 4461](https ://github.com/microsoft/botbuilder-js/pull/ 4461) to reject all pending requests when the websocket is disconnected.
Specific Changes

Added new RejectAllResponses method in RequestManager class.
Added call to RejectAllResponses in OnConnectionDisconnected of WebSocketClient.
Added a unit test to cover the new method in RequestManagerTests.
Refactored WebSocketTransportTests to follow the implementation in JS:

Move WebSocketClient and WebSocketServer tests to the new class WebSocketClientServerTests.
Move the FauxSock class to the Utilities folder for reuse by the test classes.

Testing
These images show the pending requests being rejected after the fix and the new unit tests passing.

/promoted 6627


Support for topic level IAM policies

I'm trying to find info if I can do topic level IAM policies? If yes, can you post some info. Original post doesnt provides lot of info on that.

You can create authorization policies at the topic level. Please see the subsection on Create Authorization Policies for an example authorization policy.
The second clause in the example policy allows certain actions on all topics on a cluster.
You can specialize the permissions to a particular topic by using the ARN for a particular topic as the resource. For example on a cluster called MyTestCluster with a cluster uuid abcd1234-0123-abcd-5678-1234abcd-1, we can provide permissions to write data and describe a topic called "my_topic" by adding this clause to an IAM policy's statement:
{
            "Effect": "Allow",
            "Action": [
                "kafka-cluster:DescribeTopic",
                "kafka-cluster:WriteData"
            ],
            "Resource": [
                "arn:aws:kafka:us-east-1:0123456789012:topic/MyTestCluster/abcd1234-0123-abcd-5678-1234abcd-1/my_topic"
            ]
        }

Also, see the list of common use cases to find the actions required to meet some common use cases.

Resolving since no activity in last 12 days, and Sayantan has provided the necessary response above.


[Event Request] Codeunit 5940 "ServContractManagement" - OnAfterSetEntryNo - OnAfterInitCodeUnit

Describe the request

Please add new Event OnAfterSetEntryNo in procedure InitCodeUnit

procedure InitCodeUnit()
var
    ServLedgEntry: Record "Service Ledger Entry";
    SourceCodeSetup: Record "Source Code Setup";
    KeepFromWarrEntryNo: Integer;
    KeepToWarrEntryNo: Integer;
begin
...
    ServiceRegister.Reset();
    ServiceRegister.LockTable();
    if ServiceRegister.FindLast() then begin
        ServiceRegister."No." := ServiceRegister."No." + 1;
        KeepFromWarrEntryNo := ServiceRegister."From Warranty Entry No.";
        KeepToWarrEntryNo := ServiceRegister."To Warranty Entry No.";
        OnAfterSetEntryNo(ServiceRegister);
    end else
        ServiceRegister."No." := 1;
...
end;

Event definition:
[IntegrationEvent(false, false)]
local procedure OnAfterSetEntryNo(var ServiceRegister: Record "Service Register")
begin
end;

Please add new Event OnAfterInitCodeUnit in procedure InitCodeUnit

procedure InitCodeUnit()
var
    ServLedgEntry: Record "Service Ledger Entry";
    SourceCodeSetup: Record "Source Code Setup";
    KeepFromWarrEntryNo: Integer;
    KeepToWarrEntryNo: Integer;
begin
...
    ServiceRegister.Init();
    ServiceRegister."From Entry No." := NextEntry;
    ServiceRegister."From Warranty Entry No." := KeepFromWarrEntryNo;
    ServiceRegister."To Warranty Entry No." := KeepToWarrEntryNo;
    ServiceRegister."Creation Date" := Today;
    ServiceRegister."Creation Time" := Time;
    SourceCodeSetup.Get();
    ServiceRegister."Source Code" := SourceCodeSetup."Service Management";
    ServiceRegister."User ID" := CopyStr(UserId(), 1, MaxStrLen(ServLedgEntry."User ID"));
    OnAfterInitCodeUnit(ServiceRegister);
...
end;

Event definition:
[IntegrationEvent(false, false)]
local procedure OnAfterInitCodeUnit(var ServiceRegister: Record "Service Register")
begin
end;

Additional context
We are currently moving a customer from C/AL to AL and we are unable to provide the requirement for this procedure due to missing events.
Internal work item: AB#554337

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 25639.


[Question] New Release?

Hi,
I'm looking for a way to support CollapseAll/ExpandAll functionality.
Just found these commits, which added that into HierarchicalTreeDataGridSource:
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/commit/bbfa905bba336c26fc0ce8d6848d438d105dc717
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/commit/d73b29439b08aa311e0549d577b1d503066023e2
Not included in latest available version (11.0.2) yet.
Do you have a plan to release new version to include these changes?
Regards,
Kostiantyn

Just pushed a new release. Thanks!

Thanks a lot.


Sharepoint download

THIS IS AN APHA, IT NEEDS ARIA2
For now only file that you have direct access to will be downloaded. If it cannot be directly downloaded it will give you an error. I will update this in the next days to handle those downloads too.
It should support all options but it's not been thoroughly tested, hence the alpha.
Closes #275
Closes #380

Hi, I don't find the button to download it. Can you help me please?

I was able to download a recording I did not have download but view permission on sharepoint. Kudos to @lukaarma! 🥳

Last commit version still working on sharepoint.com videos. Thank you :+1:


3 bug fixes

Fix #3148: Keyboard navigation in history window is difficult
Fix #3244: RTVS RC1 Errors and Latest PTVS
Fix #3259: Null reference in VsAppShell.get_ThreadId()

Fix for #3256 and #3271 will be sent separately (not sure if we want to merge it into 1_0)

👍

Please merge to Release/1_0

@int19h , need second CR for 1_0


make tex recognize \renew[command/environment]

Problem:    The commands \renewcommand and \renewenvironment was
previously not recognized, making it possible for them to mark their
inputs as bad syntax.
Solution:   Add the patterns to their respective group.

Would you please send me a diff and an example of what's affected? Use campbell AT drchip DOT org ...

I'll close this as Charles accepted this via email.


how to partition by string field?

how to partition by string field?
for example partition by city.
beijing city in one partition, shanghai city in another partition.

Recently, it's not supported to partition a table with a string field.
You can encode city as INT data type, and partition a table with this INT field.


[file-format] Introduce metadata in file format (unused for now) #123_73

Motivation
This PR adds a generic representation of metadata into the file format.
This is a breaking change. While it is downwards compatible, it is not upwards compatible. That is, old code cannot read the new file format. This is unfortunate as in cases like this we could have upwards compatibility, but the current code is not setup for this. Therefore we want to do this as soon as possible and before more Move code hits mainnet.
Metadata can be used for multiple things:
Attaching attributes so a custom verifier can see them in the bytecode (e.g. for verifying which structs are allowed on transactions)
Representing extended analysis results, e.g. read-write sets.
Representing source line info for stack traces (as solidity does)
etc.
The design is rather simple: metadata is represented as a vector of pairs of a key and a value, both byte blobs. A convention to organize keys is to be defined outside of the file format, one approach is to make them 32 byte hashes over a naming scheme. For comparison, in EVM bytecode there is only a single byte blob for metadata. The keys we have allow to search the metadata for a specific value without the need of decoding it all.
Test Plan
CI/CD tests are covered.

/canary

:sunny: Canary successful

/land


:arrow_up:  upgrade express*, bcrypt and body-parser

Upgrading dependencies.

bcrypt from 5.0.1 to 5.1.0 - changelog
body-parser from 1.19.2 to 1.20.1 - changelog
express from 4.17.3 to 4.18.2 - changelog
express-actuator from 1.8.1 to 1.8.4 - changelog

Tested locally. Did not see any issues.


inside-rust: diagnostic translation effort

For early review before opening a PR on the primary repo.

Closing in favour of a PR on the upstream repository: rust-lang/blog.rust-lang.org#1024


travis: go master version allow failures

Pull Request Test Coverage Report for Build 155

0 of 0   changed or added relevant lines in 0 files are covered.
236 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-25.8%) to 53.402%

Files with Coverage Reduction
New Missed Lines
%

observer/observer.go
1
72.5%

observable/create.go
2
80.77%

observable/flatmap.go
2
100.0%

subscription/subscription.go
3
100.0%

errors/errors.go
9
100.0%

handlers/handlers.go
15
100.0%

observable/observable.go
204
98.08%

Totals

Change from base Build 141:
-25.8%

Covered Lines:
361

Relevant Lines:
676

💛  - Coveralls

Pull Request Test Coverage Report for Build 155

0 of 0   changed or added relevant lines in 0 files are covered.
236 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-25.8%) to 53.402%

Files with Coverage Reduction
New Missed Lines
%

observer/observer.go
1
72.5%

observable/create.go
2
80.77%

observable/flatmap.go
2
100.0%

subscription/subscription.go
3
100.0%

errors/errors.go
9
100.0%

handlers/handlers.go
15
100.0%

observable/observable.go
204
98.08%

Totals

Change from base Build 141:
-25.8%

Covered Lines:
361

Relevant Lines:
676

💛  - Coveralls


HTTP should be debug only

HTTPS should be default and required for user security, HTTP should only be allowed in debug releases for connection testing.

This is no longer relevant, as we want to allow people to be able to host their own servers and forcing them to get ssl certificates is not reasonable.


Model exports summaries

Have Exports tabs and dropdowns, for model cards.

I'm going to merge early, to use for tomorrow, but comment still appreciated - I could fix in future PRs.

Suggestion on the UI: circles around numbers look a bit noisy on the front page, how about just font-bold text-slate-500 instead?
Also, there's a visual bug: cursor turns to pointer only on top of N exports, but the entire horizontal area is clickable. Wrap Dropdown in a flexbox?


number of participants on 24th June workshop and relevant info such as age/experience

@julbee Do you have more details on the 24th June participants? This weekend will be the main push to finish up the content. If you have the info, it will be easier for me to customize.

At the moment, 5 adults who can understand Python code.
ᐧ
Educating All for the Future,
Juliana Ung
LccL Coding Academy
19 Tanglin Road #05-49/50, Singapore 247909
M: +65 96918603 <+65%209691%208603> T: +65 68172957
W: lcclcoding.com Instagram: lcclcoding
https://www.instagram.com/lcclcoding/
FB: facebook.com/lcclcoding
On Fri, Jun 15, 2018 at 9:22 AM, Melvin Zhang<EMAIL_ADDRESS>wrote:

@julbee https://github.com/julbee Do you have more details on the 24th
June participants? This weekend will be the main push to finish up the
content. If you have the info, it will be easier for me to customize.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/melvinzhang/ai-python-course/issues/7, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AmSQTZuwhLUcAi0DxbCrunZ7QSV9fsg0ks5t8wxFgaJpZM4Uo4m3
.

Thanks for the info! All the while I was under the impression that it will be students.


"error[internal]: left behind trailing whitespace" reported on code with rightward drift

Describe the bug
rustfmt reports error[internal]: left behind trailing whitespace on this code. Also, in a previous iteration of the code (with the if guards in the body of the match arms instead of being guards), rustfmt failed to format the code without reporting any errors or warnings.
To Reproduce

Run rustfmt on this playground code.
Observe rustfmt internal errors.

Here's the code (same as in the playground):
impl Foo {
    fn check_doc_attrs(&self, attr: &Attribute, hir_id: HirId, target: Target) -> bool {
        if let Some(list) = attr.meta().and_then(|mi| mi.meta_item_list()) {
            for meta in list {
                if let Some(i_meta) = meta.meta_item() {
                    match i_meta.path {
                        sym::alias
                            if !self.check_attr_crate_level(meta, hir_id, "alias")
                                || !self.check_doc_alias(meta, hir_id, target)=>
                            {
                                return false;
                            }
                         sym::keyword
                            if !self.check_attr_crate_level(meta, hir_id, "keyword")
                                || !self.check_doc_keyword(meta, hir_id)
                            =>{
                                return false;
                            }
                         sym::test
                            if CRATE_HIR_ID != hir_id=> {
                                self.tcx.struct_span_lint_hir(
                                    INVALID_DOC_ATTRIBUTES,
                                    hir_id,
                                    meta.span(),
                                    |lint| {
                                        lint.build(
                                            "`#![doc(test(...)]` is only allowed \
                                             as a crate level attribute"
                                        )
                                        .emit();
                                    },
                                );
                                return false;
                            }

                        sym::alias
                        | sym::cfg
                        | sym::hidden
                        | sym::html_favicon_url
                        | sym::html_logo_url
                        | sym::html_no_source
                        | sym::html_playground_url
                        | sym::html_root_url
                        | sym::include
                        | sym::inline
                        | sym::issue_tracker_base_url
                        | sym::keyword
                        | sym::masked
                        | sym::no_default_passes // deprecated
                        | sym::no_inline
                        | sym::passes  // deprecated
                        | sym::plugins // removed, but rustdoc warns about it itself
                        | sym::primitive
                        | sym::spotlight
                        | sym::test => {}
                        _ => {
                            self.tcx.struct_span_lint_hir(
                                INVALID_DOC_ATTRIBUTES,
                                hir_id,
                                i_meta.span,
                                |lint| {
                                    lint.build(&format!(
                                        "unknown `doc` attribute `{}`",
                                        i_meta.name_or_empty()
                                    ))
                                    .emit();
                                },
                            );
                            return false;
                        }
                    }
                }
            }
        }
        true
    }
}

And here's the output:
error[internal]: left behind trailing whitespace
  --> /playground/src/main.rs:13:13:37
   |
13 |                          sym::keyword
   |                                      ^
   |

error[internal]: left behind trailing whitespace
  --> /playground/src/main.rs:19:19:34
   |
19 |                          sym::test
   |                                   ^
   |

error[internal]: left behind trailing whitespace
  --> /playground/src/main.rs:35:35:0
   |
35 |
   | ^^^^^^^^^^^^^^^^^^^^^^^^
   |

warning: rustfmt has failed to format. See previous 3 errors.

Expected behavior
The code should be formatted correctly and no errors should be reported.
Meta

rustfmt version: 1.4.36-nightly (2021-02-07 7de6968) (current playground version)
From where did you install rustfmt?: rust-lang/rust x.py as well as Rust Playground
How do you run rustfmt: x.py and playground

I manually removed the whitespace but rustfmt still isn't formatting the new code.

Thanks for sharing, though closing as duplicate because the root cause is the same as #4119. If you remove those line-style comments between the patterns towards the end (e.g. // deprecated) then rustfmt will carry on happily.


Require newer version of friendsofsymfony/http-cache

Hi together,
is there a reason, why Version ~1.3 is required for friendsofsymfony/http-cache. ?
That causes us some trouble in one setup, because 1.3 only allows HTTP-Requests for varnish. No https.
In the current version, it seems like the logic has changed. Is there some known incompatibility with a newer version? Or would it be an option to upgrade to a 2.x version?
I'm not so deep into Varnish as to be able to make a judgment.
Thanks for your help!

Hey @Nikdro.
Simply because that was the version available when this package was implemented.
No idea of the specific issue you're referring to with that version not supporting HTTPS requests to Varnish, such a limitation sounds pretty odd to me.
Had a look at v2 vs v1 and don't see much changed, and can't find any mentioning of HTTPS in the new v2 compared to v1. Can you give more details on this issue?
We only use the CacheInvalidator and it's a super simple usage only in https://github.com/mocdk/MOC.Varnish/blob/master/Classes/Service/VarnishBanService.php, so it should be super easy to upgrade as v1 and v2 are very similar. Feel free to try that out yourself and submit a PR if it solves the problem you're having. Doubt there are any incompatibility to look out for here.
Regards,
Aske

Hi Aske,
thanks for the quick reply. In our environment, the Varnish is (for some infrastructure-reasons) running on a second server and only available over HTTPS.
The allowed Schemes for Varnish are defined here: https://github.com/FriendsOfSymfony/FOSHttpCache/blob/1.3.2/src/ProxyClient/Varnish.php#L154-L157
That method is used by the validation here: https://github.com/FriendsOfSymfony/FOSHttpCache/blob/1.3.2/src/ProxyClient/AbstractProxyClient.php#L284-L286
So no HTTPS domain can be used.
At the first look, I can't see such a limitation in the latest version. So it's definitely worth a try.
As soon as I have some time, I will try it out and submit a PR if it is successful.
Thanks for your support, Aske!
Greetings
Niklas

You're welcome. I see, thanks for providing more details.
Yeah think so too, looking forward to it.

Hi,
As I also have a requirement for an updated version (Neos 4.3.5), I started working on an update.
So far it works and I will try to create a merge request in the next days.

Hi everyone,
this problem should be resolved by https://github.com/mocdk/MOC.Varnish/releases/tag/4.0.2


Players do not lose handcuffs when turning zombie

Reproduction

Cuff urist
Control a zombie and bite urist until they zombify
Control urist
Urist is unable to attack now as they are still handcuffed

Do we maybe want this? It'd be good counterplay.

Maybe an option for zombies to break cuffs?

Do we maybe want this? It'd be good counterplay.

The main issue is that it is uncounterable, thus permanently turning a zombie harmless and leaving them either bored and dead/ghosted or trying to befriend the crew.
... And the zombie attacks do the bite animation anyway, what would the cuffs even do...?

Im pretty sure zombies are meant to be uncuffable via removing the comp so it should probably remove all the cuffs when the comp is removed.

Im pretty sure zombies are meant to be uncuffable via removing the comp so it should probably remove all the cuffs when the comp is removed.

The cuffable comp doesnt get removed, from my testing

This could allow for chem to have a live source of zombie blood for a ambozol

Recently people have been cuffing themselves when infected which completely disables the zombie. Like, they can't attack at all.
And the zombie can't do anything once cuffed, since they can't break out, or stop being pulled.


Mnist.cpp aborts in OneDnnTensor::flatten() because of FL_ONEDNN_TENSOR_UNIMPLEMENTED

Bug Description
403│ Tensor OneDnnTensor::flatten() const {
404├─> FL_ONEDNN_TENSOR_UNIMPLEMENTED;
405│ }

#1  0x000000080192fa74 in __raise (s=s@entry=6) at /disk-samsung/freebsd-src/lib/libc/gen/raise.c:52
#2  0x00000008019e07b9 in abort () at /disk-samsung/freebsd-src/lib/libc/stdlib/abort.c:67
#3  0x000000080070ee79 in report_failure (err=<optimized out>, thrown_exception=0x854e62e00) at /disk-samsung/freebsd-src/contrib/libcxxrt/exception.cc:714
#4  0x00000008014fc150 in fl::OneDnnTensor::flatten (this=0x857b80200) at /usr/ports/math/flashlight/work/flashlight-0.4.0-16-gafcd364e/flashlight/fl/tensor/backend/onednn/OneDnnTensor.cpp:404
#5  0x000000080151ac98 in fl::Tensor::flatten (this=0x7fffffffd680) at /usr/ports/math/flashlight/work/flashlight-0.4.0-16-gafcd364e/flashlight/fl/tensor/TensorBase.cpp:126
#6  0x000000080156d16b in fl::categoricalCrossEntropy (in=..., targets=..., reduction=fl::ReduceMode::MEAN, ignoreIndex=-1)
    at /usr/ports/math/flashlight/work/flashlight-0.4.0-16-gafcd364e/flashlight/fl/autograd/Functions.cpp:1117

Platform and Hardware
FreeBSD 13.1
Additional Context
Revision: afcd364e
onednn-2.5.2

Is this library still being maintained?
@jacobkahn

@deepwilson it is - we're in the process of prioritizing features before starting to work consistently again. We'll post a more comprehensive roadmap in the next several weeks.

Are OneDnn unimplemented functions planned to be handled anytime soon?


Calendar returns wrong day

Hello,
I think this isn't a library problem, but I'm having problem with this for days. I'm trying to get specific days in a week when a user selects a date in onDateSet method, but I constantly get wrong values
`Calendar kal = Calendar.getInstance();
kal.set(Calendar.YEAR, year);
kal.set(Calendar.MONTH, monthOfYear);
kal.set(Calendar.DAY_OF_MONTH, dayOfMonth);
    DateFormat sday = new SimpleDateFormat("dd");
    DateFormat smonth = new SimpleDateFormat("MM");
    DateFormat syear = new SimpleDateFormat("yyyy");

    kal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);

    String mMonth = smonth.format(kal.getTime());
    String mDay = sday.format(kal.getTime());
    String mYear = syear.format(kal.getTime());

    Toast.makeText(getContext(), "Ponediljak: " + mMonth + " " + mDay + " " + mYear, Toast.LENGTH_SHORT).show();`

Toast shows the date of monday of the current week, not the selected one. What am I doing wrong? Can you be kind and help me? Thanks

Why are you calling kal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);?

I'm trying to get the monday of that week

After
kal.set(Calendar.YEAR, year);
kal.set(Calendar.MONTH, monthOfYear);
kal.set(Calendar.DAY_OF_MONTH, dayOfMonth);

you should call kal.get(DAY_OF_WEEK) which is a value from SUNDAY (1) to SATURDAY (7). MONDAY is 2. To get the Monday in the same week as the selected day, call kal.add(DAY_OF_MONTH, diff) where diff = - (kal.get(DAY_OF_WEEK) - MONDAY). So if you selected a Wednesday, the Monday of that same week is two days behind. Thus, diff = -(WEDNESDAY - MONDAY) = -(4-2) = -2. kal is now set to the Monday of that week.

Thank you so much. You saved me from days of searching for solution. Now it finally works. And the library is great and good looking! You can close this thread.


Error in Group By

Hello, for section 3.5.12 I think there is an issue with this section:
dakota_composite <- nflreadr::load_player_stats(2022) %>%
filter(position == "QB") %>%
group_by(player_display_name, season) %>%
summarize(attempts = sum(attempts, na.rm = TRUE),
mean_dakota = mean(dakota, na.rm = TRUE)) %>%
filter(attempts >= 200)
This caused the resulting plot to have a lot more points than the example given. Once I removed season from the group by it worked as expected.
**Update: Nevermind I was doing something wrong.

I am glad you figured it out.
For reference (in case somebody else runs across this), adding season to the group_by() typically is not needed. However, because this example is being merged with information from the load_contracts() function, we include the season in order to join the information to each player by the associated year.


(BREAKING) feat: make wrapper option compatible with RTL/RNTL

Summary
Currently the wrapper option accepts a wrapping function:
(node: React.ReactElement) => JSX.Element;

However, both RNTL and RTL accept a wrapper component type:
wrapper?: React.ComponentType<any>;

Each approach can be relatively easy transformed to the other one, but having slightly different wrapper types make adapting tests from RNTL, RTL slightly more cumbersome.
This is a breaking change, but since we are pre 1.0 version it should result in minor version change (probably 0.9.0).
Test plan
Added test that checks if the wrapper is placed in the proper place in the element tree.

cc @vnovick you'll like it :)

Let's make sure all examples are updated

@thymikee there aren't any examples using it 🤣


Usage with redux

Hi,
Sorry this is not really an issue, but a question.
A few weeks ago I started a project with Vue + Vuex + Vue-Konva and encountered some problems with layer management. And now I'm wondering if going React + Redux + React-Konva may fit my needs.
Here is the description of my problem:

Take the star demo : https://codepen.io/lavrton/pen/myBPGo
In my project I want to have similar behavior using React-Konva for displaying stars, and using Redux to store stars positions.
Each time the dragmove ticks for a star, then the store is updated with new star position. This produce a lot of Redux mutations, but I wanted to have some other components on different layers to follow the star. (a bit like grouped elements, but without groups and on multiple layers and independent of each other)
Like for the star demo, I want my dragged element to be temporary moved on a top layer. With Vuex, if I do that the konva way ( shape.moveTo(layer) ) then on next store mutation, the element will be drawn back to its origin layer and sometimes this results to shape displayed twice (one on each layer).

Is this behavior the same with React-Konva?
When I'm reading the documentation of each projects and engines (vue vs react), i'm pretty sure this will be the same result, but maybe I missed an option?
I'll try to create a sandbox project to try this next weekend, but just in case I ask here first.
Also if you want a demo for reproducing the problem I can make one (but not sure before next weekend).
Thanks
PS : maybe this is a duplicate of https://github.com/lavrton/react-konva/issues/179 but I am not sure.

This case will be a bit tricky. You just need to store "isDragging" (or anything similar) property into your react store, and then in render function detect required layer for a shape by this property.
Demo: https://codesandbox.io/s/xv8kmkjkwp

Thanks for your answer and the useful demo.
First, it's good news for me that React can do what I want 👍
Then I tried to reproduce this sample with Vue-Konva as I did not try this solution. But seems like there are a few differences between both implementations and it does not work due to the way Vue-Konva orders mount and unmount/destroy events.
I won't ask you for support on Vue-Konva but maybe you can explain me why it is working in React? 😃
I investigated your sample and events happen in that order :

drag start
the store is updated (and so components)
component on base layer calls componentWillUnmount
component on drag layer calls componentDidMount (and so startDrag)
dragend is called on base layer component due to this._stage.destroy(); on https://github.com/lavrton/react-konva/blob/master/src/index.js

My understanding of React lifecycle is that componentWillUnmount should call this._stage.destroy(); directly. But it appears this is not the case ( componentDidMount is called between them ) and this is why your code is working (otherwise dragend would be called first and so isDragging would be set to false before the componentDidMount resulting with no dragStart).
Why isn't this._stage.destroy(); called directly after componentWillUnmount? Did I miss some React mechanisms?

this._stage.destroy(); is not calling here. This function is for stage destroy but here we are not destroying a stage.
The order is:

Drag start
The target is updated with isDragging: true
Since the store is changed, React is doing re-render
On render function <Target> is moved into another layer
That action will trigger two effects
First effect - Target is removed from original layer so componentWillUnmount for <Target> is called. Also dragging of konva node will be stopped (since its removing)
Second effect - new component <Target > is added to drag layer. But we need to call startDrag manually, because it is a new node, so it is not dragging.

I updated demo a bit: https://codesandbox.io/s/xv8kmkjkwp

Thanks again for your answer and awesome demo.
With this demo I found a similar solution working for Vue, but it requires a small modification to be made on vue-konva (a beforeDestroy event that should be replaced by destroyed). I'll discuss with its creator about potential side-effects and see if the modification can be made. If so I'll port your demo using vue and post it there as a thank you.
Also, not really a bug but this might interest you : I noticed that when adding a shadow with opacity to the draggable component, there will be some tilting in the shadow at the end of the drag&drop.  Here is a fork reproducing this behavior : https://codesandbox.io/s/zxny6w50o4
As I don't really need shadows in my project, this is not an issue for me.
Thanks again


JFrog CLI build - Upgrade go to v1.22.5

Closing, since we already have https://github.com/jfrog/jfrog-cli/pull/2609.


Changed add redis to use set with not existing flag

Closes #118

Codecov Report

Merging #119 into master will increase coverage by <.01%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   98.85%   98.85%   +<.01%
==========================================
  Files          12       12
  Lines         609      610       +1
  Branches       72       72
==========================================
+ Hits          602      603       +1
  Partials        7        7

Impacted Files
Coverage Δ

aiocache/backends/redis.py
98.76% <100%> (+0.01%)
:white_check_mark:

Continue to review full report at Codecov.

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


DavidPostill: Blacklist www.pokemonomegarubyandalphasapphiredownload.com

DavidPostill requests the blacklist of the website www.pokemonomegarubyandalphasapphiredownload.com. See the Metasmoke search here

Codecov Report

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

@@           Coverage Diff           @@
##           master     #613   +/-   ##
=======================================
  Coverage   61.16%   61.16%
=======================================
  Files           5        5
  Lines        1043     1043
=======================================
  Hits          638      638
  Misses        405      405

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 65a15eb...6dda65f. Read the comment docs.


We need User info endpoint to work in Userflows

[Enter feedback here]
We need User info endpoint to work in Userflows. We want everything of userflows and not work with xmls

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

ID: d95c19b5-d294-8ca6-da08-fffb512f2282
Version Independent ID: 1eb91f6c-664c-672e-c420-c55c3e2b85b7
Content: UserInfo endpoint
Content Source: articles/active-directory-b2c/userinfo-endpoint.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@Blablablablabl
The UserInfo endpoint is used to retrieve the claims about the user. You can use the UserInfo endpoint in your user flows by following these steps:
1.Add the OutputClaims element of the UserInfoAuthorization technical profile to specify the attributes you want to read from the access token.
2.Add the UserJourney element to define the path that the user takes when interacting with your application.
3.Include the endpoint to the relying party policy by adding an Endpoint element to the SocialAndLocalAccounts/SignUpOrSignIn.xml file.
Upload the files to Azure portal
You can find more information about the UserInfo endpoint in the Microsoft documentation.
https://learn.microsoft.com/en-us/azure/active-directory/develop/userinfo

@Blablablablabl
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation


Migrate existing thermodynamic functions to metpy functions

Fixes: #1004

[x] add metpy to dependencies
[x] migrate mslib/thermolib.py rel_hum+sat_vapour_pressure function (i.e. fully remove)
[x] migrate mslib/thermolib.py virt_temp function (i.e. fully remove)
[x] migrate mslib/thermolib.py pot_temp function (i.e. fully remove)
[x] migrate mslib/thermolib.py eqpt_approxfunction (i.e. fully remove)
[x] fully remove spec_hum_from_pTd from mslib/thermolib.py
[x] fully remove geop_thickness from mslib/thermolib.py
[x]  fully remove dewpoint_approx from mslib/thermolib.py
[x] move units usage to metpy.units
[ ] investigate interpolation routines and replace homegrown ones, if useful

Good progress! Personally, I would do the calls to the metpy functions within the plotting classes (to be able to fully remove the thermolib.py file), but as an intermediate step it is probably better to follow your approach!

I had a look at the probably last remaining actual error. This fixes it for me:
index 9226e702..56ddc11c 100644
--- a/mslib/thermolib.py
+++ b/mslib/thermolib.py
@@ -177,23 +177,6 @@ def pot_temp(p, t):
     return potential_temp

-def dewpoint(p, t, q):
-    """
-    Computes dewpoint temperature in [K] from pressure, temperature and specific humidity.
-
-    Arguments:
-    p -- pressure in [Pa]
-    t -- temperature in [K]
-    q -- specific humidity in [Kg/Kg]
-
-    Returns: dewpoint temperature in [K]. Same dimensions as the inputs.
-    """
-    p = units.Quantity(p, "Pa")
-    t = units.Quantity(t, "K")
-    dew_temp = mpcalc.dewpoint_from_specific_humidity(p, t, q)
-    return dew_temp.to('K')
-
-
 def eqpt_approx(p, t, q):
     """
     Computes equivalent potential temperature in [K] from pressure,
@@ -211,7 +194,7 @@ def eqpt_approx(p, t, q):
     """
     p = units.Quantity(p, "Pa")
     t = units.Quantity(t, "K")
-    dew_temp = dewpoint(p, t, q)
+    dew_temp = mpcalc.dewpoint_from_specific_humidity(p, t, q)
     eqpt_temp = mpcalc.equivalent_potential_temperature(p, t, dew_temp)
     return eqpt_temp.to('degC')

The problem is the testless "addition" of units, which, in this case, added them twice (i.e. the units were "Pa Pa" instead of "Pa").

To generally circumvent this problem, I would suggest to "discard" the units upon returning the results by "return var.to("K").magnitude" instead of "return var.to("K")".
This would also prevent similar issues in the future.
We will probably switch everything to arrays with units in the near future, but until then it is simpler to keep everything unit less outside the immediate metpy interaction.

@joernu76 I've made changes as per your suggestion

should we also migrate omega_to_w function to metpy.
And  I am not migrating flightlevel2pressure and pressure2flightlevel functions to metpy as they were having issue after 11Km.

The MSCOLAB test are, very sadly, not stable. Let's try rerunning them. We are working on that since quite some time, but have not yet understood the root cause for the behaviour as it seems to only occur on the github pipelines and not on our own computers.

w.r.t. omega_to_w, yes, migrate it to metpy, please.
But we can merge also the current state and then proceed working on this in a future one. The end-state would be no thermolib.py and unit-aware arrays.
That partially goes beyond a first-timer issue, though.

Thanks for your help and guidance.


Error launching lagrange

Hello.
When I launch lagange in a Terminal, I get this message:
SDL init failed: Audio target 'pulse' not available
Running openSUSE Tumbleweed and installed from repos...
EDIT:
Seems that there's a bug with Pulseaudio:

https://bugzilla.opensuse.org/show_bug.cgi?id=1189778
https://github.com/libsdl-org/SDL/pull/4693

Greetings

Since audio playback is not a requirement for using the app, I've changed the init so that audio errors are logged but otherwise ignored.
Thanks for reporting!


Add CRC-32C checksum to sharded index format

I also clarified the language a bit to account for the possibility of nested sharding.

@normanz Your input would be much appreciated.

Worth combining this with a spec for a CRC-32C bytes->bytes codec to apply to chunks too? Seems like low-hanging fruit if we're pulling in that functionality anyway.

I agree it makes sense to add a crc32c bytes->bytes codec, but I would just assume address that in a separate PR.


Create the intial documentations index page

❗ IMPORTANT:
👁🗨 Check no one has claimed this task in the comments!
✏ Claim this task by stating you are working on it in the comments.

To ensure people have a chance to complete their task, PRs only be accepted from the first person that claimed the task. If you believe the task is stagnant, mention @MattCSmith, @notAnkur or @thisisabdus is the comments for review.

📚 User Story

As a user I expect to be able to navigate from the landing page, to the documentation on how to use this API.
Initially we will create the following design and iterate the design from there.

✔ Acceptance Criteria

[ ] Use Handlebars to replicate the design above
[ ] Bonus points if you can hook it up to the route: /docs/
[ ] Bonus points if you implement partials and separate CSS
[ ] Use free to use image from places like Pixabay or Unsplash
[ ] For now use the same colors and font styles
[ ] Use lorem ispum text or get creative.

🦮 How To
If you are not familiar with templating languages such as Handlebars or EJS, don't shy away from the task! Do some googling and check out some videos and learn up on the topic.  Learning to pick up new skills from documentation is a one of the best skills you can develop.
Make use of the discord community and other resources around you.

I would like to pick this issue. What will be ETA for this issue @MattCSmith ?

Awesome @skarthikeyan96
Ideally as soon as possible, so we can progress with the application. But no pressure, got at your own speed 😄

Perfect then @MattCSmith . I will get started with it right away.

One small doubt though, should we go for vanilla css or any particular css framework you guys have in mind.

I'm happy to roll with Vanilla CSS since it makes it easier for everyone to work on new features down the line regardless of experience. However if you feel a particular framework is justified feel free to implement it.

Update:

Sorry about the delay , almost done, will be sending the PR either by tomorrow or by Monday
cc @MattCSmith

Wow looking great @skarthikeyan96 ⚡


ionic official forum can`t login?

can you tell me why the ionic official forum can`t login?
allways show:There is a problem with your account. Please contact the site's administrator.
But there is no administrator's contact information

Can you provide your user name on the forum?

<EMAIL_ADDRESS>thank you very much

There is not account associated with that email on the forum.

go to https://apps.ionic.io/login,
by<EMAIL_ADDRESS>can login from here: https://apps.ionic.io/login   ,when login successed,
redirecte to https://apps.ionic.io/apps,
but when goto page https://forum.ionicframework.com/,when i Click login on this page:
get an erorr,
why?,  my password is 19860922q ,can you test ?


Set custom cloudsql-proxy image

Description
Changes proposed in this pull request:

Set custom cloudsql-proxy image

Related issue(s)

/test pre-master-control-plane-gke-provisioner-integration

/test pre-master-control-plane-gke-provisioner-integration


[INSTALLER] Bugfixes and Callsign Check

Fixed some bugs in the installer and added a new callsign check (which should not contain any pre- or suffixes)
In Detail:

[x] Migration 215 needed a fix as the contest_session table is empty when running the installer. This caused (sometimes?) the installer to fail. Why just sometimes I can't say but now it's more reliable.
[x] DXCC was not stored in LocalStorage
[x] Added a check if the callsign contains a pre- or suffix. This should not be the case as the callsign is later used as operator callsign in the user account

Installer tested and working.


Intent to add new task

"ToDo Agenda" widget  can show tasks from the OpenTasks app. Click on an event, shown in the widget, opens the app's "View task" screen.
Now I'm extending the "ToDo Agenda" widget with an "Add new Task" button on the widget header (in addition to existing "Add new Calendar event" button), see https://github.com/andstatus/todoagenda/issues/9
Looking into the Source code of this OpenTasks app I cannot find suitable Intent that would open "Create" Activity just like on the below screenshot.
What intent should I use?
If such intent doesn't exist yet, could you add it, please.

@yvolk please see AndroidManifest line 64 for the activity which handles this (the insert intent filter is on line 107
We listen for the standard INSERT intent. When you call it with the OpenTasks authority (content://org.dmfs.tasks) the intent should launch the task editor.

@dmfs Thank you Marten, it works https://github.com/andstatus/todoagenda/commit/ecc53f76a674a993080ae4f3bccf35854d83759b


1413- add "rest_call" parameter to refts download

This PR is to address #1413 -- modify RefTS download function to handle regular call and rest call separably.
@pkdash could you review this? thanks

@pkdash
I made the changes to djang_irods that added http error codes when some thing goes wrong. @hyi reviewed that pr and gave a +1.
However, after we made HydroShare reference that updated django_irods, a testing consistently started to fail.
Jenkin log is here:
http://ci.hydroshare.org:8080/job/github-pr-builder-hydroshare/381/testReport/hs_core.tests.api.rest.test_resource_file/TestResourceFile/test_get_resource_file/
You can see a  '401 != 200' error occurred, and the '401' code is exactly on of the changes I made in django_irods.  If an access is unauthorized, the response returns 401 code.
I am thinking the failing testing case never ran as expected before because unauthorized access still returned 200 code which hid real issue until today's change to django_irods uncovers it.
The failing testing case is here:
https://github.com/hydroshare/hydroshare/blob/develop/hs_core/tests/api/rest/test_resource_file.py#L63
but the real issue his here:
https://github.com/hydroshare/hydroshare/blob/cea06e0e6fdc2461dc3ff902658b62571aff3244/hs_core/tests/api/rest/base.py#L82
Line 81 tries to access a url to download a file. Before the changes to django_irods, it always got a 200 code, so line 82 always passed. But today it got a 401 code with the updated django_irods.
But I am not sure what caused that unauthorized access? why user has no permission to access that resource file he created it.

@zhiyuli @pkdash After looking into @zhiyuli's change to django_irods more carefully, specifically, this code block https://github.com/hydroshare/django_irods/blob/2a228a6add685651aa295959916bb00c43b4a0b4/views.py#L69..L75, I found when rest_call is true which is the case here, PermissionDenied(content_msg) is returned which should not be affected by your new change at all. In other words, your new change in this case only affect not REST calls, such as download request from landing page. So not sure why that REST test passed before but failed now since it should have already received a PermissionDenied() response regardless of your new change.

@hyi I see your point. I am guessing that testing case does not pass in "rest_call" parameter so actually it is treated as a regular call instead of rest call....

@zhiyuli Testing code is calling just the rest end point. The use of parameter rest_call is an internal thing. Testing code does not need to pass that parameter.

@pkdash I see.
I am trying to output the response.content to a txt file here: https://github.com/hydroshare/hydroshare/blob/develop/hs_core/tests/api/rest/base.py#L81

@pkdash @hyi
The content of "response.content" is:
You do not have permission to download this resource!
since it has  tag, it was treated as a regular call, not rest

@pkdash @hyi
I am thinking the issue is here
https://github.com/hydroshare/hydroshare/blob/develop/hs_core/views/resource_rest_api.py#L705
Since rest call and regular call are using different url, this "f.url" needs to change here.

@zhiyuli @pkdash I think this https://github.com/hydroshare/hydroshare/blob/cea06e0e6fdc2461dc3ff902658b62571aff3244/hs_core/tests/api/rest/base.py#L81 should map url with rest_call set to true, hence these html tags will not be included in the response. I remember that was what I got when I looked into this function and added rest_call parameter into download function.

@hyi @pkdash
I made this change and looks like it works on my local vm.
https://github.com/hydroshare/hydroshare/pull/1420/commits/b8dcabfb4055969203dd4970b9a65b5c28ee6dfd
Let see if it can pass jenkin

@pkdash @hyi
It passed Jenkins finally. Looking back, several unexpected coincidences hid that that failing test case first and then uncovered it.
1)regular call:
django_irods/download/  --> views.download()

rest call:
django_irods/rest_download/ --> views.rest_download()
2-1)it has @api_view(['GET']) decorator
2-2)it wraps views.download() by passing in 'rest_call=True'
2-3) return 401 code if unauthorized access happens

The failing test case is to test downloading a specific file from the bag,
but it was using old url (django_irods/download/), which is now only used in regular call. Its corresponding views.download() function A)has no api_view decorator and B) 'rest_call=False' by default. With the new change to django_irods, (A) resulted in a unauthorized access error (401), and (B) caused response.content to include the < h1 > tag. So we saw the test case failed with 200!=401 and output '< h1 >You do not have permission to download this resource!</ h1 >'
Before we made changes to django_irods, the same test case did not fail. That was because although using the old url did cause the same unauthorized access error, the response obj always returned 200 code regardless of having error.

@pkdash could you give a +1 if it looks good. thanks

@zhiyuli +1 thanks for resolving this hidden bug.


Add commitizen and npm commit script

Adds the npm script commit, that execute commitizen. The script is described in README.md but did not existed in package.json.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Hi @ricardo-mello
Thanks a lot for adding these. We have been using this in the past in the other packages and they are still available in the curriculum package in this lerna monorepo.
We need to move around a lot of the dev tooling.
I'll keep this blocked, until we get around the cleanup. You are of course more than welcome to dig around update this PR making additional changes to help us.

@raisedadead What are the next steps for this PR?

What are the next steps for this PR?

The dev/build logic and related dev packages have to moved to the root of the repo. This means, revisiting the existing tooling, DX and the logic and cleaning up what we do not need and moving what we do to the repo root or /tools where possible.

This PR is a good place to start and hence left open and blocked.

@raisedadead are we still thinking about landing this sometime?

Yes.


IN CONNECTION to ISSUE #84, special characters in objectives is still shows error

TESTING attempt 1 in submitting res with special characters in objectives.

TESTING attempt 2 in submitting res with special characters in objectives.

error code still displays

as of now i'll close the issue


Add style guidelines/linter

This is PR closes #73.
To duplicate my comment in the original issue:

I love Standard, but @JanSchneider1 mentioned that forcing semicolons might be more beginner friendly. I don't agree or disagree, but we should consider this.

We should also considering adding these linting rules to Gulp so developers can get live feedback. Linting should also be added to CI.

No preference for semicolons for me. I'm fine with just using vanilla Standard.
Lining information should be added to the contributor guidelines (#110). Plugins/settings for IDEs like VSCode, commands to run, etc.

Ok, so I've added some basic linting. Things to think about:

Potentially adding style linting to a CI pipeline
Adding style linting the Gulp
EditorConfig support - do we want this?

I think those three thoughts are worthy of their own issues/pull requests.
I think we should merge the basic limiting and invite the community to contribute to the three issues above.
Does this lint the doc files as well?

I'm merging the basic linting in. I'll open up new issues for the three recommendations above.


Feature/ceres email updates

@mikepspc only issue i see is that there is an extra line between the last two lines of the email. Can we fix this

@mikepspc  as discussed, please add "the" for Thank you for using the GC Travel Calculator


Fate of ExperimentalLayout

Hi, what are the plans with  Layout/ExperimentalLayout ?
I find this highly useful, IMHO it can be released as part of the public API.

Hi,
regarding CSS: I share your preference as this lowers the barrier for people who don't know and never will need to know CSS (I know only a little bit). OTOH there is so much what can be done with CSS that I think it makes no sense to try to match all of that. So I think it makes sense to provide keywords for some basic things and to document how CSS could be used. If the way keywords are introduced is flexible enough others could contribute here via PRs.

As for feedback: I e.g. did this talk all with ExperimentalLayout: https://www.wias-berlin.de/people/fuhrmann/AdSciComp-WS2223/week3/
I am not sure though if enough Pluto users are aware of its existence.

@vbox([
	@bind x Slider(1:10),
	plot(rand(x)),
])

I would use this immediatly, (especially in combination with vertical sliders...)

Hey! Little update!
The plan is to release this as a separate package, PlutoLayout.jl, and to support this syntax:
@vbox([
	plot(rand(x)),
	@bind x Slider(1:10),
])

Reactivity
Note here also that @bind x comes after plot(x), which should work!
To support this, either it needs to be super integrated in Pluto, but this seems veeeeeery difficult and complicated. Or the alternative: we can create a tiny reactive framework within the cell using PlutoHooks! (Somehow this seems easier.) For this, PlutoLayout needs to understand how to order cells, and what the definitions and references of a cell are.
This is why I started working on https://github.com/JuliaPluto/ExpressionExplorer.jl (and https://github.com/fonsp/Pluto.jl/pull/2698): this makes the reactive analysis of Pluto.jl available to other packages (like PlutoLayout.jl). In particular, other packages can use it inside macros.
Display
The main feature of PlutoLayout.jl is its special display: it integrates with Pluto's frontend to create divs that are rendered using Preact, diffing each component individually. I think this mechanism should be made available using AbstractPlutoDingetjes.Display, or at least with a special MIME type.
Timeline
So the plan is:

finish https://github.com/JuliaPluto/ExpressionExplorer.jl
make the special display available through AbstractPlutoDingetjes
make the PlutoLayout package with docs and tests


HIP 106: Hotspot Bidirectional Coverage Requirement

HIP 106: Hotspot Bidirectional Coverage Requirement

Author(s): @mawdegroot
Start Date: 2023-12-12
Category: Technical, Economic
Original HIP PR: #828
Tracking Issue: #870
Vote Requirements: veIOT Holders

Summary
Hotspots that can not provide bidirectional coverage are not useful for the IOT network as well as pose gaming risks. These risks are currently mitigated by the denylist operated by Nova Labs. This proposal proposes to move the bidirectionality metric that is currently enforced by the denylist to the PoC pipeline. This will result in hotspot owners being signaled of the issue faster and subsequently will signal hotspot owners that the issue has been resolved without waiting until the next denylist iteration.
Rendered View
https://github.com/helium/HIP/blob/main/0106-hotspot-bidirectional-coverage-requirement.md

HIP 106 is now live for voting
https://heliumvote.com/iot/proposals/CBDNEgZiXqPYGpLQrMNZnJtKwbDuBDG6csAhPpBVDZNV

HIP 106 was approved with 98% of the vote
https://heliumvote.com/iot/proposals/CBDNEgZiXqPYGpLQrMNZnJtKwbDuBDG6csAhPpBVDZNV


feature(WebSocketSubject) unsubMsg undefined

Description:
When reconnecting a WebSocket, it's sometimes the case that a bunch of unsubscription messages are queued up before the socket was closed. Right now, they'll be unconditionally sent when the socket is reconnected. It's useful to be able to prevent sending them if they're undefined (which will just be serialized as the json string "undefined" anyway, unlikely to be what was expected)
If this makes sense, I'll add some tests

Coverage increased (+0.0004%) to 97.114% when pulling 1293b4a83deda4b91f794b5b1b3acfa71c852aec on deontologician:patch-1 into 8b60e8dc1a68d43a251d1b21710dc38231cb23e4 on ReactiveX:master.

For clarity, were talking about multiplexing, right? If the unsubscribe message factory returns null or undefined then we don't send the message at all?
Although I'm not sure why anyone would have a multiplexed socket server that didn't require sending an unsubscribe message. Requires thought.
Do you have use cases?

My use case currently is after a disconnect from the server. The server drops all resources for multiplexed subscriptions and when we reconnect, the client sends a bunch of unsubscribe messages. The problem for me is that we have a handshake, so those queued unsubscriptions come flooding in and are recognized as invalid handshakes, which causes the connection to close again.
Ideally, I'd like to be able to just turn the unsubscriptions into no-ops if there is a disconnect.

Closing since I think this is better solved by fixing #1863


Cypress add logs for failed tests

Add cypress-failed-log plugin to gather more details about failed tests.

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name>, or hotfix/<branch_name> if this is a hotfix, where <branch_name> briefly describes the issue(s) resolved and is prefixed with the issue number(s) (e.g. 1127-1130-update-git-branching-model). The branch is created in a cloned version of this repo, not a forked repo.
[x] This branch is rebased/merged with the latest staging (or the latest production if it is a hotfix).
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".
[x] The title describes the issue(s) being addressed using format: <issue_numbers> - <brief_issue_description> (e.g. #1127/#1130 - Update Git Branching Model)

Hi,
I added a package: cypress-failed-log
Along with reports we will have failed logs saved in the directory: /cypress/logs
It will show the test commands executed before test fails:
{
  "specName": "post.spec.js",
  "title": "Unauthorized user is redirected to SignIn page when clicking on Like button",
  "suiteName": "User opens Help Board",
  "testId": "r4",
  "testName": "FightPandemics Post for unauthorized user User opens Help Board Unauthorized user is redirected to SignIn page when clicking on Like button",
  "testError": "Timed out retrying: Expected to find element: `div.feed-posts > div:nth-child(1) > div > div > div:nth-child(1)`, but never found it.",
  "testCommands": [
    "visit feed",
    "xhr  GET http://client:3000/api/posts?includeMeta=true&limit=10&skip=0",
    "xhr  GET https://cdn.acsbapp.com/cache/app/client:3000/config.json",
    "get div.feed-posts > div:nth-child(1) > div > div > div:nth-child(1)"
  ]
}

LGTM=I see logs folder with failed tests. Thank you

Looks good! I have run the tests and got the failed ones logged as well. Just one question, I checked and the newest failed test log overwrites the previous, is it possible to add a time/date stamp to the filename or in the json file, just to be able to see which test failed when last time?

Hi @TimeaKovacs86
Yes, the behaviour is the same as for screenshots. They are overwritten/deleted. In this case I can't add timestamp because this is a cypress plugin so we don't have an access to its code.

@idjevm
If everything is ok, please merge :)

Looks good! I have run the tests and got the failed ones logged as well. Just one question, I checked and the newest failed test log overwrites the previous, is it possible to add a time/date stamp to the filename or in the json file, just to be able to see which test failed when last time?

Hi @TimeaKovacs86
Yes, the behaviour is the same as for screenshots. They are overwritten/deleted. In this case I can't add timestamp because this is a cypress plugin so we don't have an access to its code.

I was just curious! Thank you @galeza !


Bug: Timeout occurs even when actively using

Describe the bug
Sometimes even when the user is using the application, the timeout modal pops up.  Time out modal counts down from a big number instead of 2 minutes.
To Reproduce
Steps to reproduce the behavior:

Work in prod for several minutes
see modal for timeout
Modal should count down from 2 minutes

Expected behavior
Modal only shows up after 20 min of inactivity, and count down from 2 minutes
Screenshots
If applicable, add screenshots to help explain your problem.
Logs/tracebacks
Additional context
Add any other context about the problem here.

Since this relies on the Keycloak refresh token the maximum session is 30 minutes.
After the fix, the inactivity modal will ONLY show when there are two minutes left in the token/session and will count down from ~120 seconds, this will happen AFTER 28 minutes of inactivity, we can make it 20 minutes but that means the counter will count down from 600.
Also, making it so activity is detected every 1 minute up from 3.3minutes, activity is any keystroke, scroll, mouse click, or page navigation.
The inactivity modal will really only show when the user stays static on one specific page.


Cloudflare certificate not issued after failed attempt

Describe the bug:
We requrest a TLS certificate every 7 days from Cloudflare via cert-manager, but yesterday it has failed multiple times with the following error message: The certificate request has failed to complete and will be retried: Failed to sign certificate request: unable to sign request: Post "https://api.cloudflare.com/client/v4/certificates": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
I've restarted all deployments related to cert-manager, but it still failed with the same error message, also while using cmctl renew. After testing connectivity, and verifying that the endpoint is accessible & the Cloudflare token is valid, I've checked the certificate requests, and the latest request of this certificate was in the "Ready: False" state. I've deleted the CertificateRequest object, and then I could run the renew command and the certificate renewed successfully.
The error seems to correlate with a Cloudflare incident yesterday: https://www.cloudflarestatus.com/incidents/q5xt9bcbn7b2.
Expected behaviour:
After experiencing an error (e.g. Cloudflare is not available or times out), the renewal should still work on the second attempt. Also, there should be no totally misleading error message, as it took hours to figure out that the issue was in turn not related to networking.
Steps to reproduce the bug:
Not sure, as it was a one-off error.
Anything else we need to know?:
Environment details::

Kubernetes version: 1.27.13
Cloud-provider/provisioner: AWS EKS
cert-manager version: 1.9.1
Install method: Helm

/kind bug

From experience with other CAs, did you use rotationPolicy: Always?
With this a renew would trigger generating a new private key and in order of that a new certificate request, order ...


Random and fixed selection

Select random clients from a given list; limit displayed selection to four items.

Please ignore this PR. I'll send another one in a few moments.