Common Redis connection retry mechanism.

Derived from previous work adding retries specifically to scheduler and worker this change provides a common re-usable implementation for handling Redis connection issues.
This re-usable implementation replaces those previously used in scheduler and worker and extends the retry mechanism to those "lower-level" functions which have a direct use of django_rq or rq APIs with a Redis dependency. This insulates the users of those functions (e.g., the API container's usage of delete_rulebook_process()) from Redis connection issues.

We should test this in real deployments to make sure we don't introduce regressions.

This PR changes in multiple places the way we import the modules. That is not a feature or improvement but just a code style concern.

@Alex-Izquierdo Yes, it is not strictly a requirement for the functionality being added but it is more than just a code style concern.
it was utilized as part of the process to identify all the areas where that functionality was needed and to make it unambiguous, as far as reasonably possible, where those dependencies exist within the code base.  As such it makes it easier to identify those dependencies in future changes which helps with code changes and maintenance.

We should test this in real deployments to make sure we don't introduce regressions.

@Alex-Izquierdo Done.  In a containerized deployment with redis cluster.


Support value type credentials

http://credhub-api.cfapps.io/#type-value19

Fixed via 353f0af126907df85e3e10845d7dc0d37e7b4963


Bedrock Chunks with negative chunk coordinates don't persist edited biome information.

Description of Issue:
Chunks with negative chunk coordinates don't persist edited biome information.
MCEdit Version:
Verified on 1.6.18-Testing
Minecraft Version the world was last opened in:
Bedrock 1.2.10
Operating System:
Windows 10
A screenshot or full text of the error from the console:
N/A
How to reproduce:
I have been trying to isolate a problem with how biome changes are persisted with Bedrock chunks (in some cases they aren't). Using the chunk.Biomes aware variant of setBiomes filter from stock-filters, a custom map with custom blocks, and quite a few test variants I think I have this problem statement:
Chunks with negative chunk coordinates don't persist edited biome information.
As an example (in x,z chunk format):
(71,62) = works OK
(4,-9) = does not persist biome edits.

Can I have a copy of the chunk aware version of the setBiomes filter to debug this issue? I'm guessing the issue is with our underlying LevelDB code

Here's a lightly hacked variant of the filter:
https://github.com/abrightmoore/MCEditUnifiedFilters/blob/master/setbiome_ajb_v1.py
Usage:
It outputs (log print) the chunk information read from leveldb before changing it and saving it. Reload the world and run it again to see if the change was persisted or not.


Slight lag between page transitions

The refactor into segments has delivered a huge performance boost. Now each page is async loading on page transition.
This has brought a slight lag from clicking navigation to the page loading. I am thinking we need a full-page loader to improve the UX. This might be being pedantic.
What are everyone's thoughts on this?

This seems much less noticeable to me now - so doesn't seem necessary @ponderingdemocritus
The next major version of Next (RFC at https://nextjs.org/blog/layouts-rfc) should optimise the separated layouts/routes further (more similar to Nuxt approach) which should make it less noticeable

yeah ok - let's close this


mwc-tab-bar should have activeTab and tabs properties

AFAIK, there's no way to get the tab element, besides looking into the slots. Given that index is a semantic defined by mwc-tab-bar, it would make sense to return the tab element that triggered the event. Currently only index is returned.
Source: https://github.com/material-components/material-components-web-components/blob/d3ed76bc3f49e547007157d6463d035f7bd449d6/packages/tab-bar/src/mwc-tab-bar-base.ts#L148-L149

Will be fixed in M3


Errors when Submit to Apple Store

Guys, help me. I have something issues when try to submit to apple store. All works fine in Debug. I face Architetures problems before, but fix it with this script:
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"

# This script loops through the frameworks embedded in the application and
# removes unused architectures.
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
do
FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"

EXTRACTED_ARCHS=()

for ARCH in $ARCHS
do
echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
done

echo "Merging extracted architectures: ${ARCHS}"
lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
rm "${EXTRACTED_ARCHS[@]}"

echo "Replacing original executable with thinned version"
rm "$FRAMEWORK_EXECUTABLE_PATH"
mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"

done

But now on Swift 3 i have this troubles. I try to fix then but with no success .Here a print from my problems.

Thanks!

Hello,
Can you please tell us how are you using the framework? Are you using the provided framework  inside the "CompiledLibrary" folder or are you building it by yourself?
Thanks!

Hi. Yes. I decide to use other framework right now, based on cocoapods. But im was using "CompiledLibrary" folder.Im getting a lot of errors with the Apple submit and i dont know why.I hope that you build a Cocoapod library as soon,your framework works well.


Is there a way to validate the GLTF model before taking it for processing?

I would like to know if there is a way to validate the file for both invalid property values and for values that are not valid according to spec. For example, pointing mesh primitive attribute to a non existent accessor or checking if component type for position is always FLOAT.

glTF itself is a JSON file(except for GLB binary), so you can use any JSON library to validate glTF syntax.
Here is an example: https://github.com/syoyo/tinygltf/tree/release/examples/validator

pointing mesh primitive attribute to a non existent accessor

This may be possible to validate using https://github.com/KhronosGroup/glTF-Validator


Getting "Cannot read property 'then' of undefined"

I' sure that this is a simple error by me but I fail to see it..
I have a factory:
(function() {
    'use strict';
    angular
        .module('www')
        .factory('profileFactory', profileFactory);

    profileFactory.$inject = ['Restangular'];

    /* @ngInject */
    function profileFactory(Restangular) {
        var service = {
            getUserData: function(user){
            	Restangular.all('/user/profile/'+user).getList();
            }
        };
        return service;
    }
})();

And then this directive:
(function() {
    'use strict';
    angular
        .module('www')
        .directive('profilecard', profilecard);

    profilecard.$inject = ['profileFactory'];

    /* @ngInject */
    function profilecard () {
        var directive = {
            bindToController: true,
            templateUrl: 'app/components/profilecard/profilecard.html',
            controller: Controller,
            controllerAs: 'profileData',
            link: link,
            restrict: 'E',
            scope: {
            }
        };
        return directive;
        function link() {
        }
    }

    /* @ngInject */
    function Controller (profileFactory, $scope) {
      profileFactory.getUserData('demo').then(function(profile) {
        $scope.profileData = profile;
      });
    }
})();

But I keep getting "Cannot read property 'then' of undefined".
What am I missing here?
Any help is appreciated

maybe it should be
             getUserData: function(user){
               return Restangular.all('/user/profile/'+user).getList();
            }

You where correct!... thx! :)
Now I just have to deal with the problem of responses having 2 different formats (:question:)
I get both arrays [{}] and plain json objects {}...
You solve one problem just to find the next one :+1:  :)
Have a good day!


About styling tags in dynamic content

The API I'm working with retrieves blog posts which have html tags (h1,h2..., p, blockquote etc.), so I have to use dangerouslySetInnerHTML to render them. I'm using a global selector to target those tags. .blog-post p, .blog-post h1 .... Is this the best approach for this scenario? Curious how others handle this sort of thing.

@iamjacks yep that's how I would do that use a scoped selector and :global to target the dynamic children.
.blog-post :global(h1) { }
.blog-post :global(h2) { }

I use a similar approach in my personal blog.


💡 Feature Request - Please add version information to repo root

Describe the solution you'd like
I'd like a json file at the root of the repo that conveys version information about the ALZ. The version number should match the release version number so that a consumer knows what version they are using in their environment for deployments.

Great request and will make this part of our release criteria that we are looking at this month.
Cc; @mblant

trigger

Have added here: https://github.com/Azure/ALZ-Bicep/blob/main/version.json
Thoughts?
cc: @mblant


More performance test buckets for Windows

The biggest Windows performance bucket sometimes takes ~1h. Let's split Windows performance tests into more buckets: https://gradle.slack.com/archives/CBSJ2GUTV/p1708529446757299

I don't think you'll be able to merge this via the merge queue, given that it contains TC dependency changes. You think an admin needs to merge it manually. Not sure what process we use for these kind of changes.

The merge queue build has started. Click here to see all failures if any.


Fix for button moving up with keyboard

Hi , This is the fix for #1
The crude approach to this problem , would be to set the display of button ( text in this case ) to none once the keyboard pops up .
Here is the link to docs regarding about it , click here
However , Here I used this package

Thanks , It worked !


Remove ability to promote/demote super admins; minor delegate cleanup

The error is handling the following case:
gam users tom,dikc,harry delegate to bob
dikc should have been dick; the continue let's gam proceed to harry
Ross
On Mon, Aug 27, 2018 at 8:22 AM Jay Lee<EMAIL_ADDRESS>wrote:

@jay0lee commented on this pull request.
In src/gam.py
https://github.com/jay0lee/GAM/pull/785#discussion_r213013877:

@@ -1508,6 +1508,8 @@ def addDelegates(users, i):
for delegator in users:
i += 1
delegator, gmail = buildGmailGAPIObject(delegator)

if not gmail:

 continue

Not sure these are necessary. We should be skipping over auth or API call
errors on printing delegates because we can safely say that if we get an
error, no (working) delegations are in place that we should have reported
on. But in the case of creating/deleting delegations, if we get an auth or
API call error, we should fail so admin knows about it rather than only
getting some of the delegations in place.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/pull/785#pullrequestreview-149758858, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIU8L5HHfNf55aF-9B-lCLoaWnxyp2tIks5uVA6ogaJpZM4WMXkq
.

--
Ross Scroggs
<EMAIL_ADDRESS>

point taken, looking at doImap and doPop we do something similar. We should be setting soft_errors=True also, I'll do that shortly.
Ultimately I think it's somewhat difficult to determine what we should do on errors with these multi user API commands but for now we'll stick with existing behavor.


Update to localization source files and xlfs for June release

Adds in updated XLFs and source files for the June release (will be used to generate the langpacks)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 41.906%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
56.42%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
27864

Relevant Lines:
62045

💛  - Coveralls

@Charles-Gagnon I could, I'll wait for the start of the next day to update then.

I don't know how much we should expect things to change, but if someone makes last minute changes on Friday those might get lost.
It might be better to instead wait until the branch is cut off, and then do this and immediately port it over to the release branch. That way you'll be sure that things are up to date there.


Tab copy and pasted from Word converted to variable number of spaces

Lexical version: latest
The current behavior

Sentence cut and pasted from Word - I have highlighted where the tab is:

Sentence in the Lexical playground - I have put the cursor where the tab should be to illustrate how it's being replaced by spaces:

The expected behavior
with the tab maintained in Lexical:

hi @jspaargaren  I verified with two Word, one is keep tab as tab (word web), another one is replaced tab with whitespace.
so to get more details, would you like to share your word version information?

Hi @funbinhe1996 - I can confirm that the version of Word that I cut and pasted from is Desktop Word (Microsoft® Word for Microsoft 365 MSO (Version 2307 Build 16.0.16626.20198) 32-bit


Documentation:  Bring cheatsheet into alignment with 1.1.0 changes

Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
We need to align the cheatsheet to admiral 1.1.0.  As far as I can tell only derive_var_trtemfl() needs a slight update for new argument.  However, there could be others!
Current Cheat Sheet
https://github.com/pharmaverse/admiral/blob/main/inst/cheatsheet/admiral_cheatsheet.pdf
Use this powerpoint to modify Cheat Sheet
https://github.com/pharmaverse/admiral/blob/main/inst/cheatsheet/admiral_cheatsheet.pptx
Definition of Done

[ ] Update derive_var_trtemfl() arguments
[ ] Cross check that no deprecated functions or arguments are in cheatsheet
[ ] Review 1.1.0 news.md to see if any other amendments are needed

@pharmaverse/admiral @pharmaverse/admiral_comm Great way to get more familiar with the package.  I would imagine this is a 1-2 hour task.  This does not impact 1.1.0 release timelines and so is not needed immediately...but nice to have in the next week.

I had a look. I think we don't need to update derive_vars_trtemfl() because on the cheatsheet only the main arguments are mentioned. Thus I wouldn't add group_var.
I would update only derive_vars_atc() by adding the new argument id_var or just ... depending on what fits.
However, I noticed that the webpage links to the development version of the cheatsheet. I.e., the users already see the derive_vars_crit_flag() function although it is not yet available. I wonder if should change the links such that it refers to the released version. We could submit our cheatsheet to rstudio/cheatsheets and refer in our documentation to the cheatsheet in rstudio/cheatsheets.
Another option would be to copy the cheatsheet from the inst folder to the docs folder when we build the documentation and refer to the docs folder in the documentation. However, the first options seems the more common one to me.
@bms63 , @manciniedoardo , what do you think?

I like submitting to rstudio/cheatsheets.  Gets us more exposure.

I like the idea too!

OK, I'll submit the cheatsheet for 1.1.1.

@manciniedoardo , for the submission to rstudio/cheatsheets I need to add an author name to the cheatsheet. As you did most of the work, I would suggest to add your name.
Do you agree?

@bundfussr yes sure, thanks!

I've submitted the cheatsheet: https://github.com/rstudio/cheatsheets/pull/555

As discussed with @bundfuss, the PR to add the cheatsheet to Rstudio/cheatsheets is still not merged. So we can use this opportunity to make changes to align with 1.2 and then perhaps update that PR as well.


Request to join webring

https://obspogon.neocities.org/
The webring icon is on the site footer.

I currently don't access websites as subdomains, sorry.


rainloop 1.6.9 branch is no longer valid

It appears the rainloop repo now only has a master branch causing the Dockerfile to fail.

I'm just using jprjr/rainloop's image.

Worse, it appears they don't even have release tarballs, so I have no idea what they were thinking when they removed all version information from their repository :/
Seems that the only way to fix it is to just pin a specific commit hash.

I've opened an issue on their tracker, but didn't receive a reply yet.
I've pinned a commit hash, so at least it should be possible to build again. I haven't used webmail for some time, so I'd be grateful if someone could test if everything is working or not.

It is not, please see issue 31


Unable to start Hive 3 with java 11

I installed Apache Hive 3 and Apache hadoop 3 in my system that contain Java 11. I initialized the database and launched the metastore successfully on port[9083]
I had some exceptions that blocked the start of the metastore but I resolved them. When I start hive CLI I git the following exception:
# ./hive
which: no hbase in (/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/hive/apache-hive-3.1.2-bin/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/hive/hadoop-3.1.4/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hive Session ID = be63992b-0558-427d-9a77-ca3506168c15
Exception in thread "main" java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader incompatible with java.net.URLClassLoader
 at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:413)
 at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:389)
 at org.apache.hadoop.hive.cli.CliSessionState.<init>(CliSessionState.java:60)
 at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
 at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
 at org.apache.hadoop.util.RunJar.main(RunJar.java:232)

I had a look in the forums and as my understanding that Hive 3 not support java 11. But, I didn't find a confirmed information from Hive.
Please someone have an information about the exception above how to resolve it in Hive 3 with java 11 ?
@morazow I saw that you post the same issue in 2019, do you have please an idea about this issue because I'm facing it in 2021 :) Do you know please if Hadoop and Hive dependencies are still using Java 8 ?
Thanks in advance.

Hello @Sarrouna,
Could you please tell where the Hive runs, is it inside the Exasol database? Do you also get the issue when trying to import data from Hive into Exasol database?
Please try to use the latest version of the connector. It maybe related to the #56.

Hi @morazow
Thanks for your answer. In fact, I'm not using Exasol database. I'm using Mysql. Hive is running in a Sandbox for testing.
I installed inside Apache Hive 3 + Apache hadoop 3 (because Hive need some jar files from Hadoop) and I have Java 11 is installed.
I changed the property in hive-site.xml
<property>
 <name>hive.metastore.uri.selection</name>
 <value>SEQUENTIAL</value>
 <description>
 Expects one of [sequential, random].
 Determines the selection mechanism used by metastore client to connect to remote metastore. SEQUENTIAL implies that the first valid metastore from the URIs specified as part of hive.metastore.uris will be picked. RANDOM implies that the metastore will be picked randomly
 </description>
 </property>

then I restarted the metastore. But the Hive CLI still return the same exception that mentioned above.

Hello @Sarrouna,
If it is your own sandbox, you can easily change the Java versions. I think Apache Hive still uses Java 8.
Please check first if the other java versions are installed:
sudo update-alternatives --config java

Otherwise, you can install java 8 with following commands on linux systems:
sudo apt install openjdk-8-jdk

And then use the above update-alternatives command to change to the Java 8 system wide.
The issue is usually occurs when Hive libraries that are compiled with Java 8 run in Java 9+ environments. It is no longer possible to cast the ClassLoader to URLClassLoader, it is one of the breaking changes from Java 8 to Java 9+.

Hi @morazow
Thanks for helping. In fact, yes I was thinking on that but,  first we don't have a right to change between java versions, and second, I project to use Hive 3 with Trino (it's a fork of Prestodb). And Trino recommand to use Java 11+. It's don't support earlier java 11 versions.
Do you have a link from a confident source that confirm Hive 3 don't support java 11 ?
Thanks a lot

Hey @Sarrouna,
That is too bad.
Yes. I checked the source files. I think you are using Hive 3.1 version. Here on the pom file on the 3.1 branch it is still build with Java 8.
The error you are seeing can also be found on the source files:
https://github.com/apache/hive/blob/branch-3.1/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java#L413
That line expected to fail on the Java 9+ versions.

That's great. It mentioned clearly that Hive 3 still using java 8. Thanks a lot @morazow for your answers.

Hey @Sarrouna,
Thanks for the feedback! Would it be okay to close this ticket?
All the best

so many problems install hive

I installed Apache Hive 3 and Apache hadoop 3 in my system that contain Java 11. I initialized the database and launched the metastore successfully on port[9083]
I had some exceptions that blocked the start of the metastore but I resolved them. When I start hive CLI I git the following exception:
# ./hive
which: no hbase in (/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/hive/apache-hive-3.1.2-bin/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/hive/hadoop-3.1.4/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hive Session ID = be63992b-0558-427d-9a77-ca3506168c15
Exception in thread "main" java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader incompatible with java.net.URLClassLoader
 at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:413)
 at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:389)
 at org.apache.hadoop.hive.cli.CliSessionState.<init>(CliSessionState.java:60)
 at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
 at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
 at org.apache.hadoop.util.RunJar.main(RunJar.java:232)

I had a look in the forums and as my understanding that Hive 3 not support java 11. But, I didn't find a confirmed information from Hive.
Please someone have an information about the exception above how to resolve it in Hive 3 with java 11 ? @morazow I saw that you post the same issue in 2019, do you have please an idea about this issue because I'm facing it in 2021 :) Do you know please if Hadoop and Hive dependencies are still using Java 8 ? Thanks in advance.

How to resolve this?


Remove version: FutureScholars.Paperlib version 2.0.2

All urls in manifest result in 404s, no longer available
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/GeoffreyChen777/paperlib/releases/download/release-electron-2.0.2/Paperlib_2.0.2.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 727)


Feature/hive kerberos

This change is

Lgtm
On Sun, 9 Jun 2019, 15:10 Stefan Bocutiu<EMAIL_ADDRESS>wrote:

@stheppi commented on this pull request.
In
kafka-connect-hive/src/main/scala/com/landoop/streamreactor/connect/hive/kerberos/KerberosLogin.scala
https://github.com/Landoop/stream-reactor/pull/586#discussion_r291848686
:

+import scala.concurrent.duration._
+import com.landoop.streamreactor.connect.hive.AsyncFunctionLoop
+import com.typesafe.scalalogging.slf4j.StrictLogging
+import javax.security.auth.login.LoginContext
+import org.apache.hadoop.conf.Configuration
+import org.apache.hadoop.security.SecurityUtil
+import org.apache.hadoop.security.UserGroupInformation

+import scala.concurrent.duration.Duration
+
+sealed trait KerberosLogin extends StrictLogging with AutoCloseable {

def run[T](thunk: => T):T
+}

+case class UserPasswordLogin(ugi: UserGroupInformation, interval: Duration, lc: LoginContext) extends KerberosLogin {

private val asyncTicketRenewal = new AsyncFunctionLoop(interval, "Kerberos")(renewKerberosTicket())

true. done it
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/Landoop/stream-reactor/pull/586?email_source=notifications&email_token=AAFVSGT3E3N4TT5UY75HAOLPZVPTPA5CNFSM4HWLKCI2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB27TSZY#discussion_r291848686,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFVSGSX3GUMNL2LADAUX63PZVPTPANCNFSM4HWLKCIQ
.


Avalanche Developer Contest (Round 2) - Liquid-Avax

This is our submission for the "liquid-avax" project, dealing with liquid staking on Avalanche.

Hey @cgcardona,
We changed what you asked us to change, and filled the stakeToNode function after cross-chain transfer.

Should we close this PR ?


Scrolling the Modal content

Summary:
I included class rule for preventing background scrolling
    .ReactModal__Body--open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

but when the modal opens I want to scroll the content inside of it. Can someone help me I am not able to find an appropriate solution in closed issues?

Hi @mmarinm, do you mean the content inside de overlay or the real content inside the modal?

The  content inside that modal

Hmm, ok. You can make a frame for the scrollable region.
<Modal ...>

          [...]

</Modal>

Something like this would work, probably you will need to make some tweaks own this example.

Ok, Thank you, It might be also related to the library I use for smooth scrolling.  I decided to use router instead of the modal

@diasbruno your solution works like a charm. 🌟 Thanks a lot for your help!

@Monte9 I've updated the example, because it was really bad code. :)


Add page loader

I need to close this PR....
When rebasing a PR the commits are listed under as created by myself so it's already include into master branch... Will speak with you about the others PR would be better if their are marked as your contribution and not mine....


Error while running the code - nvdiffrast

I see the following stacktrace when I try to run python draw.py --help. Can you help me identify and resolve the issue?
Traceback (most recent call last):
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
    subprocess.run(
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/sanyam/GithubRepos/PianoMotion10M/draw.py", line 7, in <module>
    from datasets.show import render_result
  File "/home/sanyam/GithubRepos/PianoMotion10M/datasets/show.py", line 13, in <module>
    glctx = dr.RasterizeGLContext()
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 221, in __init__
    self.cpp_wrapper = _get_plugin(gl=True).RasterizeGLStateWrapper(output_db, mode == 'automatic', cuda_device_idx)
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 118, in _get_plugin
    torch.utils.cpp_extension.load(name=plugin_name, sources=source_paths, extra_cflags=opts, extra_cuda_cflags=opts+['-lineinfo'], extra_ldflags=ldflags, with_cuda=True, verbose=False)
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1309, in load
    return _jit_compile(
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1719, in _jit_compile
    _write_ninja_file_and_build_library(
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1832, in _write_ninja_file_and_build_library
    _run_ninja_build(
  File "/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error building extension 'nvdiffrast_plugin_gl': [1/5] /home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF glutil.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/glutil.cpp -o glutil.o
FAILED: glutil.o
/home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF glutil.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/glutil.cpp -o glutil.o
In file included from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/glutil.cpp:14:
/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory
   36 | #include <EGL/egl.h>
      |          ^~~~~~~~~~~
compilation terminated.
[2/5] /home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF rasterize_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/rasterize_gl.cpp -o rasterize_gl.o
FAILED: rasterize_gl.o
/home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF rasterize_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/rasterize_gl.cpp -o rasterize_gl.o
In file included from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/rasterize_gl.h:16,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/rasterize_gl.cpp:9:
/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory
   36 | #include <EGL/egl.h>
      |          ^~~~~~~~~~~
compilation terminated.
[3/5] /home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_rasterize_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize_gl.cpp -o torch_rasterize_gl.o
FAILED: torch_rasterize_gl.o
/home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_rasterize_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize_gl.cpp -o torch_rasterize_gl.o
In file included from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/../common/rasterize_gl.h:16,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_rasterize_gl.cpp:12:
/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/../common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory
   36 | #include <EGL/egl.h>
      |          ^~~~~~~~~~~
compilation terminated.
[4/5] /home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_bindings_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings_gl.cpp -o torch_bindings_gl.o
FAILED: torch_bindings_gl.o
/home/sanyam/miniconda3/envs/pianomotion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF torch_bindings_gl.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/TH -isystem /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/THC -isystem /home/sanyam/miniconda3/envs/pianomotion/include -isystem /home/sanyam/miniconda3/envs/pianomotion/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings_gl.cpp -o torch_bindings_gl.o
In file included from /home/sanyam/miniconda3/envs/pianomotion/include/nv/detail/__target_macros:13,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/nv/target:195,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cuda_fp16.hpp:65,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cuda_fp16.h:4019,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cusparse.h:59,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:7,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings_gl.cpp:9:
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp: In function '__nv_bfloat16 __double2bfloat16(double)':
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:424:1: error: expected primary-expression before 'val'
  424 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:426:48: error: 'val' was not declared in this scope
  426 |     asm("{  cvt.rn.bf16.f64 %0, %1;}\n" : "=h"(__BFLOAT16_TO_US(val)) : "d"(x));
      |                                                ^~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:424:1: error: expected primary-expression before ',' token
  424 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:424:1: error: expected primary-expression before 'float'
  424 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:424:1: error: 'f' was not declared in this scope; did you mean 'torch::jit::AttributeKind::f'?
  424 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
In file included from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/ir/ir.h:3,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/api/function_impl.h:4,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/api/method.h:7,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/api/object.h:6,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/api/module.h:4,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/samplers/serialize.h:4,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/samplers.h:8,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/datasets/chunk.h:6,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/datasets.h:4,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data.h:4,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/extension.h:5,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:36,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings_gl.cpp:9:
/home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/torch/csrc/jit/ir/attributes.h:19:3: note: 'torch::jit::AttributeKind::f' declared here
   19 |   f,
      |   ^
In file included from /home/sanyam/miniconda3/envs/pianomotion/include/nv/detail/__target_macros:13,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/nv/target:195,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cuda_fp16.hpp:65,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cuda_fp16.h:4019,
                 from /home/sanyam/miniconda3/envs/pianomotion/include/cusparse.h:59,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:7,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/../common/framework.h:37,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_common.inl:10,
                 from /home/sanyam/miniconda3/envs/pianomotion/lib/python3.10/site-packages/nvdiffrast/torch/torch_bindings_gl.cpp:9:
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:424:1: error: expected primary-expression before ')' token
  424 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp: In function '__nv_bfloat16 __float2bfloat16_rd(float)':
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:502:1: error: expected primary-expression before 'val'
  502 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:504:48: error: 'val' was not declared in this scope
  504 |     asm("{  cvt.rm.bf16.f32 %0, %1;}\n" : "=h"(__BFLOAT16_TO_US(val)) : "f"(a));
      |                                                ^~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:502:1: error: expected primary-expression before ',' token
  502 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:502:1: error: expected primary-expression before 'val'
  502 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:502:1: error: expected primary-expression before ')' token
  502 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp: In function '__nv_bfloat16 __float2bfloat16_ru(float)':
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:521:1: error: expected primary-expression before 'val'
  521 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:523:48: error: 'val' was not declared in this scope
  523 |     asm("{  cvt.rp.bf16.f32 %0, %1;}\n" : "=h"(__BFLOAT16_TO_US(val)) : "f"(a));
      |                                                ^~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:521:1: error: expected primary-expression before ',' token
  521 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:521:1: error: expected primary-expression before 'val'
  521 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
/home/sanyam/miniconda3/envs/pianomotion/include/cuda_bf16.hpp:521:1: error: expected primary-expression before ')' token
  521 | NV_IF_ELSE_TARGET(NV_PROVIDES_SM_90,
      | ^~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

It seems that the EGL/egl.h is missing. EGL/egl.h is in libegl1-mesa-dev, so apt-get install libegl1-mesa-dev should help.


Remove "unapproved content" from a new Code Ninjas repo

Describe the bug
I would like to remove the "unapproved content" tag from a new repo I created for some Code Ninjas tutorials.
Is it possible to remove this tag from any repo created under https://github.com/Code-Ninjas-Home-Office/ ?
If not, could I have it removed from these 2 repos:
https://github.com/Code-Ninjas-Home-Office/arctic-code-quest
https://github.com/Code-Ninjas-Home-Office/tutorials
Additional context
Thank you for your help with this! @kiki-lee @riknoll @jwunderl @abchatra @Jaqster

It's happening again unfortunately :( The tutorial works fine when I have it in the MakeCode tutorial editor, but when I transfer it to github and try to load it from there, it does not work. The only thing that seems to be blocking it from running is the assetjson file in the tutorial. This has not been a problem previously, and I cannot figure out what is different in this repo compared to the repo that does work. I'd love any help if possible!!!!
Here's the tutorial link that does not work: https://arcade.makecode.com/#tutorial:https://github.com/Code-Ninjas-Home-Office/arctic-code-quest/day1
Here's the repo it's from: https://github.com/Code-Ninjas-Home-Office/arctic-code-quest/tree/master
Here's the tutorial file: https://github.com/Code-Ninjas-Home-Office/arctic-code-quest/blob/master/day1.md
Here's a previous repo I've used where it does work (this tutorial was breaking this repo too, which is why I moved it into its own repo): https://github.com/Code-Ninjas-Home-Office/game-building-session-tutorials
Thank you!!! @kiki-lee

Nice set of tutorials. Kudos!
@bmarslandCN happy to add them to allowlisted repos. We can only approve  repo at a time and not the full organization. So raise requests here if you want more repos to be approved.
Few things are required before we approve:

MIT license for these repos (required by legal to serve these md files).
Tag the repo. (See here for https://makecode.com/extensions/versioning on how to tag). This is important as our backend always caches the latest tag. If not it might cache random git commits and you will see weird issues.
Add version to pxt.json as well. This should match the tagged version. This is help in debugging what version of the extension is downloaded from the cache.

Minor nit:
Can remove main.ts, main.py from pxt.json if not required. They don't have any code. I don't see obvious issue with this, but better for code cleanup perspective.
Again kudos! Nice set of tutorials.

Thank you! I have added the MIT License and version tags to both of these repos. Please let me know if there's anything else I need to do to remove the "unauthorized content" from these 2 repos. Thanks!!!
https://github.com/Code-Ninjas-Home-Office/Code-Ninjas-Tutorials
https://github.com/Code-Ninjas-Home-Office/Arctic-Code-Quest

Fixed. Wait for 24 hours to verify

Hello @abchatra Can I request that the MakeCode Arcade tutorials in this repo are "approved" so the "unapproved content" label is removed from the top right. https://github.com/Code-Ninjas-Home-Office/game-building-session-tutorials-2024
Thank you!!
CC @kiki-lee @Jaqster @riknoll

@bmarslandCN PR up here: https://github.com/microsoft/pxt-arcade/pull/6431

Hi @abchatra @riknoll Can I request that the MakeCode Arcade tutorials in this repo are approved to the "unapproved content" label is removed from the top right. https://github.com/Code-Ninjas-Home-Office/scott-kelly-games
Thank you!!!
CC @kiki-lee


Add strings and env utils

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@45268e8). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             develop        #1   +/-   ##
===========================================
  Coverage           ?   100.00%
===========================================
  Files              ?         2
  Lines              ?        13
  Branches           ?         0
===========================================
  Hits               ?        13
  Misses             ?         0
  Partials           ?         0

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 45268e8...ed3ed1b. Read the comment docs.


fix: exclude CassandraAutoConfiguration from consumer boots

Cassandra beans were getting instantiated in the consumers when Cassandra isn't even the configured entity store. Excluding CassandraAutoConfiguration should fix it.
fixes #4770

Should something like this also apply for neo4j for consistency? An alternative would be to disable the autoconfiguration of the health checks. This was done for both elasticsearch and neo4j, they have been disabled here. I believe there is a similar Neo4jAutoConfiguration class for it.


Switch to using short import URL in README

Ref yarnplugins/yarn-plugins#1

@eps1lon updated

The default should still point to latest which mirrors how npm installs would work. Is there a reason why you'd want unstable as the default?

@koistya thanks!


ImportError: libhts.so.1: on upgraded bcbio version

Hi,
I get the following error when trying to run an analysis from an upgraded bcbio development installation.
from pysam.libchtslib import *
ImportError: libhts.so.1: cannot open shared object file: No such file or directory

I am guessing my pysam library is out of date.
I tried to use bcbio_conda to update pysam. But that gives a timeout error.
bcbio_conda install -c bioconda pysam
Fetching package metadata .....

CondaHTTPError: HTTP None None for url <https://conda.binstar.org/bcbio/linux-64/repodata.json>
Elapsed: None

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),),)

Thank you.

Neill;
Sorry about the issues, I thought we'd hopefully shaken out all of these incompatibilities by requiring the recent pysam in all of the newest builds. As a manual workaround, the bcbio_conda invocation you supplied should work. It looks like you might be referencing some old channels in your ~/.condarc file (binstar.org is the old name of anaconda.org). Maybe clearing out binstar.org references from there will resolve the issue and get the manual update working. Hope this fixes it for you.

After removing the binstar entry from  ~/.condarc I could update pysam to latest version.  That also fixed the import error allowing me start an analysis.  Thank you.


A value can lose its type when there is cache hit

Cached values seem to be always retrieved and returned with type str. This can be a problem when a function is expected to return an int for example.
>>> mytest.my_method(2,3,2) # cache miss
512
>>> mytest.my_method(2,3,2) # cache hit
'512'

What would be the best way to force a certain return type?

Good catch!
I believe I fixed this last night by using the pickle module. Instead of converting everything to a string I'm pickling the object and un-pickling it when we load back from Redis. I would like to stay away from specifying a type to store since that to me seems less 'pythonic' FWIW.
I'm not sure if there are any limitations to using pickle but it seems to work with most objects/types.

Yes, specifying a type would not be very pythonic... I've just pulled the changes, the pickle solution seems to work perfectly!

Great! Let me know if you have any other issues :)


Update sbt-scalafix to 0.9.19

Updates ch.epfl.scala:sbt-scalafix from 0.9.15 to 0.9.19.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, semver-patch

scalafix is already at 0.9.19 now.


[dev-2.4]PANDARIA: Support istio 1.8.5

Issue: https://github.com/cnrancher/pandaria/issues/1273

LGTM


Add (formChange) Output Binding to get notified of form structure changes

I want to get notified whenever the structure of the form changes.
Use case:

The form is not initialized at the start, but only after user clicks a button.
I want to subscribe to changes (validity and value) of a specific control: this.form.controls.myControl.valueChanges... This will fail if I do this too early because myControl will only exist after the formly form initialized itself.

So far I have not found a good solution to get noticed when formly changed the structure of the form. I therefore propose a new Output binding formChange:
Proposal:
export class FormlyForm implements ... {
   @Output()
   formChange = new EventEmitter<FormGroup | FormArray>();

   ...
   ngOnChanges(simpleChanges: SimpleChanges) {
     ... // existing implemtation
    // new:
      if (changes.fields || changes.form) {
        this.formChange.next(this.form);
      }
   }

That's on the plan but I'd use fieldChange to make consistent with the provided one through the option.
The implementation would require some time as we're currently working on the next major version v6 so let me know if you're looking for a workaround.

Thanks for the info, looking fourward to it :)
The current workaround for me is to extend the FormlyForm Component, copypaste the decorator and add mentioned code. I'm fine with that.

Hi 👋
I also have the same need "Callback after the form is ready"
As v6 is released I would like to know if there is a solution? Because I would like to add a spinner when the form is long to build 🙏
Thanks for your help

Hi 👋 I also have the same need "Callback after the form is ready" As v6 is released I would like to know if there is a solution? Because I would like to add a spinner when the form is long to build 🙏
Thanks for your help

Is the build long (e.g. you have tons of fields) or have you been able to 0 out the rendering is what is taking long?  Wondering because I've not come into this issue yet so I wanna wrap my head around it.

Hello @aitboudad , any news about formChange output?

Any updates for this topic?

In our app we use formly and we have the issue that some form changes trigger a request and the response will update the form.
Now in our e2e tests we can wait for the response and only then continue with manipulating the form. But there will be always a delay between the response having arrived and the form being updated, so effectively I'd need some kind of information / state from Formly on when the form has finished processing/rendering (the components themselves don't do anything async on their own). I didn't find any hooks that I could use that could provide this information..
And the link the "FormlyHookConfig" here https://formly.dev/docs/api/core/#formlyhookconfig seems to point to nowhere..
Did someone see a way to extend Formly so we could get this information?


compile error in version v1.8.4 related to A2DP_I2S_MAX_WRITE_SIZE

Problem Description
Thanks for this awesome library, using it to build an bluetooth mp3 player for my daughter.
After upgrading the library to v1.8.4 the compiler produced this error:
BluetoothA2DPSink.cpp:1245:61: error: 'A2DP_I2S_MAX_WRITE_SIZE' was not declared in this scope

I was indeed not able to find A2DP_I2S_MAX_WRITE_SIZE apart from this usage and some docs html.
Device Description
Using this in a M5Stack Core2 platformio project
Sketch
just compile with the new version

Other Steps to Reproduce
No response
Provide your Version of the EP32 Arduino Core (or the IDF Version)
espressif32 6.8.1
I have checked existing issues, discussions and online documentation

[X] I confirm I have checked existing issues, discussions and online documentation

I added it back to the config.h

I also started building Bluetooth speakers today and found the same issue. I guess it happened because the developer removed A2DP_I2S_MAX_WRITE_SIZE 1024 * 5 on config.h file


About page general component

What's your idea?
Redesign the general component in acmcsuf.com/about following the provided image:

Light mode desktop
Light mode mobile
Dark mode desktop
Dark mode mobile

Resolved with #955.


[Ms Graph] Getting error from Ms graph send mail API

Hi team,
  Getting the below error 'Code: generalException  Message: An error occurred sending the request. ' from Ms graph send mail Api.
 It is not occurring every time.

 Able to telnet graph.microsoft.com 443 from the hosted server.

Please let me know, any thing needs to be checked from our side.

Thanks,
Vishnukumar M

@Vishnuvk33 - I think you may be looking for the Microsoft Graph API team; not to be confused with this GraphEngine repo.

@Vishnuvk33 please close this issue as this is not a Microsoft Graph API problem.

@Vishnuvk33 please close this issue as this is not a Microsoft Graph API problem.


Unibuild -> Build Menu fucntion does not work if folder UniBuild/Editor not exist

@Mefodei
When I import and run the Unibuild -> Build Menu, we have this error
DirectoryNotFoundException: Could not find a part of the path "/UniBuild/Assets/UniGame.Generated/UniBuild/Editor/BuildMethods.cs".
If we create the folder UniBuild/Editor then the code auto-gen works.
Please check if we can auto-create folders if that folder not exist!

Hi @takaaptech
i will check that issue today

@takaaptech  I check that issue at local project and there is no any error with that. What version of package do you use?

@Mefodei latest version
I think I found the problem, UniBuild create a new folder inside the project but with an absolute path and the same path with the Assets folder

Thx, i think the reason of that different target OS. I make all test on my Wnidows PC. But you try to test on OSX. I Will fix that

@takaaptech  Try this new version

@Mefodei I try a new version but it is still generating new folder outsize Unity

@takaaptech  i will check on OSX environment

@takaaptech try to use new version

@HartMagic fix that issue


Error in Pinot Release: "duplicate artifacts attached"

While trying to perform the 1.2.0 Release, I ran into an issue while running release:perform.
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.1:jar (attach-sources) on project pinot-spi: Presumably you have configured maven-source-plugin to execute twice in your build. You have to configure a classifier for at least one of them. -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR]   mvn <args> -rf :pinot-spi
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Pinot 1.3.0-SNAPSHOT:
[INFO]
[INFO] Pinot .............................................. FAILURE [01:06 min]
[INFO] Pinot Service Provider Interface ................... SKIPPED
[INFO] Pinot Segment Service Provider Interface ........... SKIPPED

Why this error is coming up?
This error is coming because maven-source-plugin from 3.3.0 onwards has a check that will fail execution if it detects multiple invocations of the plugin. ref-1, corresponding jira.
Why didn't this come with Pinot 1.1.0 Release?
This is because during Pinot 1.1.0 release, we were running with org.apache.apache:21 (ref).
And that version was using maven-source-plugin:3.0.1 (ref).
How do we fix this?
A potential fix is to switch to jar-no-fork in our root pom.xml for the maven-source-plugin.
Related
While doing a release of Pinot internally at Uber, they had run into a similar issue. At the time, since maven-source-plugin didn't outright fail the release:perform command, they were running into a separate point of failure, but the root cause was the same.
PR #4889 was raised 5 years ago by @chenboat. Though that PR also pins the version of maven-source-plugin, which I hope is not necessary.

Thanks for the explanation and the fix.

This was fixed by the linked PR. #13708


Reject inedexed zero sized type

What is wrong?
Currently, it is allowed to mark a zero-sized type field as an indexed field, but this doesn't make sense because a zero-sized type will never be encoded.
e.g.
event MyEvent:
    idx x: ()

should be rejected.

Hello, can I take this task? Is there any additional information I might need?

Hi @kris524! Sorry for the late response.
Thanks for your contribution, please feel free to take this issue.
To resolve this issue, you would need to add is_zero_sized or a similar method to https://github.com/ethereum/fe/blob/f810961f7702c8a50300fd9dcf0acb50f098f774/crates/analyzer/src/namespace/types.rs#L38.  Then, check the indexed field types and reject them if they are zero-sized.
Please feel free to ask me any questions.


[backport] Mark some memory tests as testing.slow

Backport of #5061

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit e95b8e3a75087c7c24bc380d65f7b11b2b6a1bf2, target branch v9) succeeded!


Warning: Error in [[: subscript out of bounds

While importing a vcf file, the data are set as uploaded but when I want to display the data I have an error message:

preparing data upload ... 		 2023-08-30 12.52.35
Warning: Error in [[: subscript out of bounds
148:
147: eval [C:/Program Files/R/R-4.3.1/library/VCFshiny/shiny/modules/1.Upload_server.R#27]
146: eval
145: withProgress
144: eventReactiveValueFunc [C:/Program Files/R/R-4.3.1/library/VCFshiny/shiny/modules/1.Upload_server.R#5]
100: raw_variants_list
99: renderUI [C:/Program Files/R/R-4.3.1/library/VCFshiny/shiny/modules/1.Upload_server.R#112]
98: func
85: renderFunc
84: output$sample_id
3: runApp
2: %>%
1: VCFshiny::startVCFshiny

It does the same thing with vcf version 4.1 (called with VarScan2) or 4.2 (called with Mutect2).
The names of the files are respectively TRS1.vcf and WES1.vcf which should match the requirements.
Using R 4.3.1 with all package up to date but It does the same thing with older version of R 4.2.1.
Best,
Nicolas
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_Denmark.utf8  LC_CTYPE=English_Denmark.utf8    LC_MONETARY=English_Denmark.utf8
[4] LC_NUMERIC=C                     LC_TIME=English_Denmark.utf8
time zone: Europe/Copenhagen
tzcode source: internal
attached base packages:
[1] stats4    stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] musicatk_1.10.0                          NMF_0.26                                 cluster_2.1.4
[4] rngtools_1.5.2                           registry_0.5-1                           org.Hs.eg.db_3.17.0
[7] TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2  TxDb.Hsapiens.UCSC.hg38.knownGene_3.17.0 GenomicFeatures_1.52.2
[10] AnnotationDbi_1.62.2                     Biobase_2.60.0                           GenomicRanges_1.52.0
[13] GenomeInfoDb_1.36.2                      IRanges_2.34.1                           S4Vectors_0.38.1
[16] BiocGenerics_0.46.0                      pheatmap_1.0.12                          tibble_3.2.1
[19] circlize_0.4.15                          dplyr_1.1.2                              ggpubr_0.6.0
[22] ggplot2_3.4.3                            shinydashboard_0.7.2                     shinyWidgets_0.7.6
[25] shinyBS_0.61.1                           DT_0.29                                  shiny_1.7.5
loaded via a namespace (and not attached):
[1] RColorBrewer_1.1-3          rstudioapi_0.15.0           jsonlite_1.8.7              shape_1.4.6
[5] magrittr_2.0.3              GlobalOptions_0.1.2         BiocIO_1.10.0               zlibbioc_1.46.0
[9] vctrs_0.6.3                 matrixTests_0.2.2           memoise_2.0.1               Rsamtools_2.16.0
[13] RCurl_1.98-1.12             rstatix_0.7.2               htmltools_0.5.6             S4Arrays_1.0.5
[17] progress_1.2.2              curl_5.0.2                  broom_1.0.5                 sass_0.4.7
[21] bslib_0.5.1                 htmlwidgets_1.6.2           fontawesome_0.5.2           plyr_1.8.8
[25] cachem_1.0.8                GenomicAlignments_1.36.0    commonmark_1.9.0            iterators_1.0.14
[29] mime_0.12                   lifecycle_1.0.3             pkgconfig_2.0.3             Matrix_1.6-1
[33] R6_2.5.1                    fastmap_1.1.1               clue_0.3-64                 GenomeInfoDbData_1.2.10
[37] MatrixGenerics_1.12.3       digest_0.6.33               colorspace_2.1-0            shinycssloaders_1.0.0
[41] crosstalk_1.2.0             RSQLite_2.3.1               filelock_1.0.2              fansi_1.0.4
[45] httr_1.4.7                  abind_1.4-5                 compiler_4.3.1              doParallel_1.0.17
[49] bit64_4.0.5                 withr_2.5.0                 backports_1.4.1             BiocParallel_1.34.2
[53] carData_3.0-5               DBI_1.1.3                   ggsignif_0.6.4              biomaRt_2.56.1
[57] MASS_7.3-60                 rappdirs_0.3.3              DelayedArray_0.26.7         rjson_0.2.21
[61] tools_4.3.1                 httpuv_1.6.11               glue_1.6.2                  restfulr_0.0.15
[65] promises_1.2.1              grid_4.3.1                  gridBase_0.4-7              reshape2_1.4.4
[69] generics_0.1.3              gtable_0.3.4                tidyr_1.3.0                 data.table_1.14.8
[73] hms_1.1.3                   xml2_1.3.5                  car_3.1-2                   utf8_1.2.3
[77] XVector_0.40.0              foreach_1.5.2               pillar_1.9.0                markdown_1.8
[81] stringr_1.5.0               later_1.3.1                 BiocFileCache_2.8.0         lattice_0.21-8
[85] rtracklayer_1.60.1          bit_4.0.5                   tidyselect_1.2.0            ComplexHeatmap_2.16.0
[89] Biostrings_2.68.1           SummarizedExperiment_1.30.2 xfun_0.40                   VCFshiny_0.1.0
[93] matrixStats_1.0.0           stringi_1.7.12              yaml_2.3.7                  codetools_0.2-19
[97] BiocManager_1.30.22         cli_3.6.1                   xtable_1.8-4                munsell_0.5.0
[101] jquerylib_0.1.4             Rcpp_1.0.11                 dbplyr_2.3.3                tidyverse_2.0.0
[105] png_0.1-8                   XML_3.99-0.14               parallel_4.3.1              ellipsis_0.3.2
[109] blob_1.2.4                  prettyunits_1.1.1           bitops_1.0-7                scales_1.2.1
[113] purrr_1.0.2                 crayon_1.5.2                GetoptLong_1.0.5            rlang_1.1.1
[117] KEGGREST_1.40.0             shinyjs_2.1.0

Have you tried to use the built-in data for analysis? If the built-in data can be successfully analyzed, it means that there may be something wrong with your data.

It is working with the built-in data. The data I am using are the standard VCF format version 4.1 and 4.2.
Are you using something else for your example?

I am getting this same error. In the Data Input box, it says "Upload complete" under the file where I browsed and chose my compressed file
files are in a compressed tar.gz folder. VCF files were filtered for snps only (not compressed) because original files were too big for upload...


[master] Fix WFLY-9624

The commit here fixes the issue reported in https://issues.jboss.org/browse/WFLY-9624, where the Future returned by async invocations on local EJBs wasn't considered done when an exception was thrown.
The commit also includes a test case to reproduce the issue and verify the fix.

Retest please


add remote varfile doc

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65bc4a75768bad1ea3750889--harness-developer.netlify.app

This PR is getting stale. How can #docs-council help to move it forward?

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@RickCraig can you please review and merge

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: aimurphy:x: urischeinerYou have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc91c39c0bf97931841b0f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc91d19c0bf9798a841807--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc92649fbbea6e51fe01e3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc92723ba03c6ef80d131c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc92a33365df710e4af01f--harness-developer.netlify.app


Add repl / exec

This will allow you to poke around in the Lambda container, as well as being useful for testing things out.
It'll be hacky for now since we're coupled with the disk in Function.Open() and a few other spots.
We could just have apex sh or apex sh command, or both. Open to suggestions for the name, I think shell, exec, or repl would be fine.

We can also either re-deploy the function each time (and delete on exit), or flag somewhere locally so you don't have to re-build/deploy all the time.

will live elsehwhere


autocrafting regression in 1.2.14 re: @Storage Drawers:Compating Drawer w/ oredict enabled

Issue description:
I had a pattern for compacting drawers that worked fine in 1.2.11, but it stopped working in 1.2.14. When I try to craft it, it tells me I am missing a basic storage drawer, one of the recipe components. However, it knows how to make these. Additionally, even if it has one in the system, it will say it is missing it.
If I change the compacting drawer pattern to not use ore dictionary, it works, with that specific drawer, not any other kind of basic storage drawer.
Even if oredict was not working for substituting drawers, I feel it should definitely work when the exact type of drawer that was in the pattern is in the system or craftable.

Minecraft: 1.10.2
Forge: 2185
Refined Storage: 1.2.14

Does this issue occur on a server? [yes/no]
Server and single player.
Thanks.

This seems to break silicon too, in a similar way. If a pattern (ore dict on in all cases) calls for the RS silicon, and I have a processing pattern to make the EnderIO version, I can't craft the pattern that depends on it, as it says silicon is missing.
However, for me, if I use the existing processing pattern manually to craft some EnderIO silicon, the dependent pattern will consume the oredict silicon just fine. This differs from @jdratlif 's report.
Hope this extra info helps. :)

That's interesting, because when we originally tried to oredict silicon on my server, it didn't take (it wanted RS silicon and we only had EIO silicon -- even though the pattern was oredict'd), so we changed all the silicon patterns to Ender IO silicon and no oredict. However, I do not recall what version we were using when we encountered this and I haven't ever gone back to those patterns.

I don't think I ever had a problem with it until now, though I only set up the server about a month ago. I've only ever used EIO silicon, as the recipe is cheaper. :)
One more datapoint: version 1.2.12 doesn't have the problem with either storage drawers or silicon, at least for me.

I think I've noticed something else that is related.
I can't craft binder composite anymore, either. Binder composite can use either sand or red sand, but if ore dict is checked, it just sits there trying to make it but never actually doing it. Then it tells me the machine I want to cook the binder composite in is in use, even though it never crafted the thing it seems to think it put in there.
I redid the pattern without ore dict and it's working again.

Should be all fixed as of 6fdff3e0f70301a2ba590f5e6483ef254fe65ee7


Get the avatar URL of organizations

I'd to use cards to display organizations. It would be great to get the avatar_url value, as available from the API.

Thanks!

Hello @bzg,
Issues asking for new data should be directed to the other repo. This one only exposes data as an API but is not meant to collect additional data.

Implemented in https://github.com/etalab/data-codes-sources-fr/commit/d485371768ae94efa0d7049f3c2fdd3c217c755b

:man_facepalming: Sorry again, and thanks for implementing this!


Geometrical and Network Flow Algorithms

Hi! I'm new in GitHub Word! I found your project and I'm really interested in.i would like to contributing to your project with Geometrical and Network Flow Algorithms algorithms.
Thank You.
Have a nice Day!

Welcome! Have a look at our contribution guidelines and then feel free to ask questions.
If you're new to the repo (and GitHub in general), it might be a good idea to add an algorithm in one of our established realms (searching, sorting, number theory, etc.) before branching out to other areas like network flow.


Failed to load dynamic vite.config.ts in VS Code

When I use defineConfig and declare the args, unocss extension fails to load config files.

When I export just a function, 👇another error message👇.

Just a function, But no params declared

As an workaround, consider move them to uno.config.ts


Create Zigzag.py

Read the Readme.md  file of  Python.
Guideline how to add python file read it again
PR accepted @BabbarRaghav
Need to Star this repo incase not done.
Just Update the required will merge to main
🚀🚀👍

I already started this repo and read the guidelines. Did i done anything wrong?


Added my name to guestbook.md

Hello!
Thank you for your course! It is helping me a lot!
Please add my name to the guestbook.
Sincerely,
Illia Krystal

Thank you!


ISO 8601 for date formats and a reversepfp command

Unified the date formats under the infraction date in the history embed to the ISO 8601 standard of yyyy-MM-dd as it is under the user join date and user creation date

Also added a reverse profile picture command which takes a user and returns the url of the reverse search on their profile picture

The note date is also in the format dd/MM/yyy, so maybe you want to change that too.

Good spot @joshthewall I've made that change

Would rather the date format is dd/MM/yyyy


(Ubuntu 22) environment variable not found

I keep getting [ERROR] - Uncaught status: 500 Internal Server Error: environment variable not found running the central server on linux. I made a .env file and put this in my .bashrc file correctly and it was working yesterday and now its not. Ive restarted my terminal also and still didnt work.
GLOBED_SERVER_FILE_PATH="servers.json"

Are you sure your setup is correct?
If it was working fine yesterday but stopped working now, then it is probably an issue with your setup, the central server hasn't been updated recently.
Make sure you are also using export GLOBED_SERVER_FILE_PATH=..., the "export" keyword is important if you are putting it inside .bashrc

I got it the servers to work but it crashes the geode mod
== Geode Information ==
Loader Version: v1.3.4
Installed mods: 8
Problems: 0

== Exception Information ==
Faulty Module: C:\WINDOWS\System32\KERNELBASE.dll
Faulty Mod: <Unknown>
Exception Code: e06d7363 (<Unknown>)
Exception Flags: 1
Exception Address: 7666D902 (KERNELBASE.dll + 13d902 (RaiseException + 98))
Number Parameters: 3

@SevenworksDev sorry for late reply, but if you're still experiencing the issue on the newest versions of the mod then can you please post the full crashlog

I got it to not crash anymore on my end, thanks for trying to help anyways.


Consider alternatives to Jenkins

Could use as alternatives to Jenkins:

Google Cloud Terraform
Ansible, with GCP plugin

Re: GCP and Terraform, see also:

https://cloud.google.com/community/tutorials/getting-started-on-gcp-with-terraform
https://cloud.google.com/community/tutorials/managing-gcp-projects-with-terraform
https://registry.terraform.io/providers/hashicorp/google/latest/docs

Terraform also has a "Terraform Cloud" variant:

Terraform Cloud (TFC) is a free to use, self-service SaaS platform that extends the capabilities of the open source Terraform CLI and adds collaboration and automation features.
Terraform Cloud enables connecting to common VCS platforms (GitHub, GitLab, Bitbucket) and triggering Terraform runs (plan and apply) from changes to configuration within the VCS. TFC manages state for the user, including keeping a history of changes. Terraform Cloud exposes an HTTP API that anyone can integrate with to build more automation around infrastructure change.

This might be overkill but it may also be more closely aligned with our intent for NEAT and KG-Hub.

A nice thing about the Terraform Cloud: it includes cost estimations for each run.

I'm warming up to using Terraform.
One way we could do this:

run terraform in our Jenkinsfile in this scheduler repo, from within a Docker image to make the Jenkinsfile more portable
have the terraform code spin up either

a GCE instance that we prepopulate with all the dependencies (the code in this scheduler repo itself, along with NEAT, CUDA, tensorflow, Embiggen, Ensmallen, etc) OR
a from-scratch GCE instance that we build from a template (this is likely to cause some CUDA/tensorflow headaches)

from the GCE instance, run a script (that lives in the current scheduling repo) that queries each project in the KG-Hub S3 bucket for 1) a template neat.yaml and 2) any build directories that don't have a graph_ml directory (indicating that we need to run NEAT

Adding: I realize plan this doesn't exactly comport with the title of this ticket, "Consider alternatives to Jenkins", since I'm suggesting we use both Jenkins and Terraform.
However, I think it does make some sense to either keep using Jenkins for ETL and also NEAT/GCE stuff (with Terraform for GCE stuff), or abandon Jenkins altogether and go all in with Terraform (which we could also do)

I think Jenkins still works very well for the ETL functions, KG publishing, and even things like starting DB instances/journals, but I think part of the value added by Terraform may be that it reduces the number of points of failure between users and GCE. Terraform could certainly be set to run on a cron schedule much like Jenkins, spin up a pre-made listener instance to do the bucket query, and then spin up GCE instances as needed based on an image containing the necessary dependencies.
But in the end, how do we abstract away most of the Terraform parts?

This was a helpful little walkthrough/getting-started on Terraform


Remove obsolete attributes

https://tickets.opscode.com/browse/COOK-4624

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@mdietz94

Please sign the CLA here.


podSpecPatch in template not compatible with Emmisary

Checklist

[x] Double-checked my configuration.
[x] Tested using the latest version.
[x] Used the Emissary executor.

Summary
What happened/what you expected to happen?
Emmisary complains that my workflow "does not have the command specified", when using a WorkflowTemplate and podSpecPatch.  This only happens when using a podSpecPatch. Removing the podSpecPatch in the WorkflowTemplate below allows everything to complete succesfully.
What version are you running?
3.3.5
Diagnostics
Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: hello-template
spec:
  entrypoint: whalesay
  templates:
  - name: whalesay
    inputs:
      parameters:
        - name: mem-request
          value: 256Mi
        - name: cpu-request
          value: 1000m
    podSpecPatch: |
      containers:
        - name: whalesay
          resources:
            requests:
              memory: "{{inputs.parameters.mem-request}}"
              cpu: "{{inputs.parameters.cpu-request}}"
    container:
      name: whalesay
      image: docker/whalesay:latest
      command: [cowsay]
      args: ["hello world"]
---
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: "simple-cronworkflow"
spec:
  schedule: "0 8 1-7 * 4"
  suspend: true
  workflowSpec:
    workflowTemplateRef:
      name: hello-template

# Logs from the workflow controller:
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

time="2022-05-05T15:36:55.554Z" level=error msg="Mark error node" error="container \"whalesay\" in template \"whalesay\", does not have the command specified: when using the emissary executor you must either explicitly specify the command, or list the image's command in the index: https://argoproj.github.io/argo-workflows/workflow-executors/#emissary-emissary" namespace=argo nodeName=simple-cronworkflow-r24vg workflow=simple-cronworkflow-r24vg

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

The clue is in this error message:
failed to look-up entrypoint/cmd for image ""

The podSpecPatch misses the image. Question is why does podSpecPatch erase this.

See #5897

Ahh thanks for the tip about the missing image.  If I add image: and command: to the podSpecPatch, things seem to work!
Of course this is only a workaround, but worth pointing out until the bug is fixed.  Thanks!

This is user error. You cannot name your container whalesay. It must either be unnamed, or named main.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: hello-template
spec:
  entrypoint: whalesay
  templates:
  - name: whalesay
    inputs:
      parameters:
        - name: mem-request
          value: 256Mi
        - name: cpu-request
          value: 1000m
    podSpecPatch: |
      containers:
        - name: main
          resources:
            requests:
              memory: "{{inputs.parameters.mem-request}}"
              cpu: "{{inputs.parameters.cpu-request}}"
    container:
      image: docker/whalesay:latest
      command: [cowsay]
      args: ["hello world"]

We could do a better job of reporting this error.


Refactor Controller interface into a narrower interface for reduced coupling and easier testing

today we pass the VS Code NotebookController object around in a number of places
This is a heavy class with a lot of members, however I found that only a tiny fraction of those members are required, in a majority of the places just 2 are required (1 property & 1 method).
This PR ensures we have a new interafce that reflects this requirement, so as to reduce the coupling of the heavier object, reducing the coupling and making it easier to test & maintian.

Codecov Report

Merging #11858 (e0db600) into main (d52654e) will decrease coverage by 0%.
The diff coverage is 86%.

:exclamation: Current head e0db600 differs from pull request most recent head ae3b86b. Consider uploading reports for the commit ae3b86b to get more accurate results

@@          Coverage Diff           @@
##            main   #11858   +/-   ##
======================================
- Coverage     62%      62%   -1%
======================================
  Files        486      489    +3
  Lines      34657    34723   +66
  Branches    5636     5644    +8
======================================
+ Hits       21798    21829   +31
- Misses     10794    10813   +19
- Partials    2065     2081   +16

Impacted Files
Coverage Δ

src/kernels/execution/helpers.ts
61% <ø> (ø)

src/kernels/types.ts
100% <ø> (ø)

src/notebooks/debugger/kernelDebugAdapterBase.ts
75% <66%> (-1%)
:arrow_down:

src/kernels/kernel.ts
82% <68%> (-1%)
:arrow_down:

src/kernels/execution/kernelExecution.ts
70% <83%> (+<1%)
:arrow_up:

src/kernels/kernelSettings.ts
87% <87%> (ø)

src/kernels/kernelStatusProvider.ts
87% <87%> (ø)

src/kernels/execution/cellDisplayIdTracker.ts
79% <91%> (+6%)
:arrow_up:

src/interactive-window/interactiveWindow.ts
75% <100%> (+<1%)
:arrow_up:

src/kernels/execution/cellExecution.ts
72% <100%> (ø)

... and 23 more


Changes to how observations are imported

@lkargi In this pull request, you can see what changes are about to go on master at the top right by looking at files changed, based on each commit. At the bottom of this page, you'll see some "checks" that need to pass before the changes are put on master. The first check is mainly for checking that all of our tests pass. Sometimes one or two tests will fail, but as long as the changes you made don't affect a large number of tests and cause them to fail, it should be fine. The other three checks are for merging (whether or not your code can be cleanly merged into master without conflicts), and for figure/manuscript building. These also check for linting, whether or not the code is properly written and follows the PEP8 style guide. Currently, the repo is unstable because pylint is identifying about 66 issues that are not within the PEP8 style guide. It'll report stable when that number goes to below 50. Linting can always be done on another branch so that's not a big concern. Mainly, these checks will also tell you if figures build based on your changes to the code, currently the code you've written affects none of the figures so this shouldn't matter.


when lxc copy is interrupted, btrfs send/receive command should be killed

Required information

Distribution:ubuntu
Distribution version: 16.04 and 16.10
The output of "lxc info" :
config:
core.https_address: :8443
core.trust_password: true
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
addresses:

:8443
architectures:
x86_64
i686
certificate: |

config:
core.https_address: :8443
core.trust_password: true
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
addresses:

:8443
architectures:
x86_64
i686
certificate: |

Issue description
when lxc command is interrupted (cctrl+c , or network break) , between remotes, "btrfs send" on one side, "btrfs receive" on the other side are not interrupted : this blocks clean up:

cannot delete the container on the destination side:
error: remove /var/lib/lxd/storage-pools/default/snapshots/XXX/XXX/snap0: operation not permitted
cannot relaunch the copy on the source side:
error: Container 'XXX' already exists

Steps to reproduce

copy a container on the remote side
while copying, do a network break (in my case: openvpn)
stop the copy (ctrl+c)
try to make the copy again (after network come back)

Information to attach
after interruption, btfrs commands still running:
ps auxw | grep btrfs
source:
root      1198  0.0  0.0  23952  1192 ?        Sl   09:16   0:00 btrfs send /var/lib/lxd/storage-pools/default/snapshots/XXX/snap0
root      1302  0.1  0.0  23952  1200 ?        Sl   09:17   0:00 btrfs send /var/lib/lxd/storage-pools/default/snapshots/XXX/snap0
destination:
root     59560  0.0  0.0  15844  1152 ?        S    08:42   0:00 btrfs receive -e /var/lib/lxd/storage-pools/default/snapshots/XXX/XXX316810524

ctrl+c doesn't actually stop the copy as the operation is executed by the target LXD. The send/receive subcommands will be killed once LXD realizes that the network connection has been broken, that can unfortunately take a very long time due to the broken way http timeouts work in Go...
The cancellation part of this problem is covered in #2294
Until that code exists or someone comes up with a sane way to implement http timeouts in Go (timing out after x seconds of transfer inactivity), your best bet in such cases is to restart the lxd daemon with "sudo systemctl restart lxd"...

(Closing as duplicate of the mentioned issue)


index price for futures and swap

How can I subscribe to index price for futures and swap,
which is 11690.53 with 11986.38 futures with carrying cost and 116988.9  swaps.
Comparison of futures/swap with index price is critical in market making.
Best regards,
Ingyu

@igkoh Index Price is unavailable now. It will be added later.


Rewrite calls to Objects.requireNonNull

requireNonNull is only available in JDK 7 and above.
Starting in JDK 9, javac uses requireNonNull for synthetic null-checks,
see: http://bugs.openjdk.java.net/browse/JDK-8074306
Fixes #75

@orfjackal I'd really love to see this go through. It feels dirty not having error prone running :-)

Thanks. Sorry for taking so long to merge it. Been busy lately.

I would love to get my PRs looked at as well 😀 . I ended up releasing a fork that we've been using for 3+ months: https://github.com/JakeWharton/retrolambda which drastically reduces the generated methods.

@JakeWharton OK. :) No promises, but I'll try to do it soon.


[Bug] Pathfinding goes the wrong way around obstacles

When trying to pathfind with drag ruler the pathfinding goes the wrong way around obstacles, placing the waypoints within the walls rather than outside them.

This indeed looks off. Please post a screenshot that shows the walling of the scene, maybe that'll give a clue as to what's going on.

Ahh you know what, someone else walled this map, I recon they're just over halfway set back.
This looks like user error, apologies for wasting your time.

If you want to fix the pathfinding without re-doing all the walling a quick fix might be to draw a diagonal wall from the outwards corners of the walls to the respective corner in the walling. This prevents the pathfinder from skipping corners without having to do too many adjustments.