can't get the .dlo to work.....

I EXACTLY followed the install instructions but i can not get this to work....
Houdini <IP_ADDRESS> full commercial license (node locked)
3dsmax 2015 SP3 Extension 2 full commercial license (node locked)
added houdini path to the PATH environment variable...
i tried with and without additional "HOUDINI_ROOT" variable
HoudiniEngine menu is available in 3dsmax
texture path and asset path are configured
asset path is also added to the system/3rd party pathes of 3dsmax
everything is done EXACTLY as described in the readme
but the .dlo don't want to load -> resulting in a simple message "error" when trying to load a .hda
i tried to reinstall several times.... no success
tried with and without admin privileges... no success

seems that several users in the sidefx forum have the same issue...
but no solution
any ideas?

The error seems the be that can't loading houdini dlls.
Did you set the path ends with "bin" ?
example:  C:\Program Files\Side Effects Software\Houdini <IP_ADDRESS>\bin

Yes i did..... i tried 2 approaches:
first one:
HOUDINI_ROOT = C:\Program Files\Side Effects Software\Houdini <IP_ADDRESS>
PATH = %HOUDINI_ROOT%\bin;%PATH%
second one: (without additional HOUDINI_ROOT variable)
PATH = C:\Program Files\Side Effects Software\Houdini <IP_ADDRESS>\bin;%PATH%
just to make sure these variables are set correctly, i wrote a maxscript to check...

could my Houdini installation be corrupt ?
do i need visual studio for running the binaries?

Thanks houndman,
Your setting seems to correct. I need to confirm on 3dsmax 2015 sp3. unfortunately,  My 3dsmax 2015 has problem(broken license) after install 3dsMax 2016. I need time to fix.

Hi there! any news on this one?
seems like 3dsmax 2015 SP3 causes this problem.... i tried on 3dsmax 2014 SP5 and it works perfectly fine. even with different houdini builds...
kind regards and thanks for the effort you put in this !!!!

Hi guys.
I got the very same problem, but with 3dsmax 2016 (without the latest sp3).
Would be really great if you could come up with a solution.
@houndman Interesting that it works for max2014. Unfortunately I have only 2011 and 2012 installed apart from 2016..
Cheers and many thanks in advance for any progress on this ^^

Hi!
Not sure what autodesk does with each service pack, but it happens quite often that 3rd party tools / plugins / renderers are struggling with new service packs and then have to be modified....
just to make sure it's not a system specific issue, i tried on several machines at our office... And i can confirm it's not. It just don't work with 15 sp3. Hideki confirmed that as well.
Are you sure it would work on 16 sp3 ?

Hi,
I still looking solution for issue of 3dsmax2015, this issue occur beforce DLL main function, it seems to be out of my control... Also, I know the issue since 3dsmax 2016 sp3, This issue is already fixed, it will be release after GDC.

Pinging this.  Having the same issue with 3dsMax 2016 SP 3.  Curious if there is a fix already set up for this?  All the help would be greatly appreciated!
Stephen Lu
Blur Studios

Hey
I was wondering if there was any news related to this problem or possible fixes.
For a project we are looking into using Houdini engine in Max but we are use 3dsMax 2015 sp3 and encountering the same issues as described above.
M.Laanbroek
Ubisoft


com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin cannot find symbol

I was using the 2.4.4 version of the plugin which presented random problems with the permissions, so I thought to use the 2.9.6 version and modified my code to use the new methods.
However while trying to build the Android native application, Android Studio cannot find the com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin import
I've tried everything, removing and re-installing the plugin, doing an npx cap sync again etc, but nothing helps.
Any idea where I'm doing things wrong ?
Many thanks

it finds com.getcapacitor.community.database.sqlite.CapacitorSQLite but not com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin, as if it's finding the old version of the plugin

it finds com.getcapacitor.community.database.sqlite.CapacitorSQLite but not com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin, as if it's finding the old version of the plugin

Ok it seems that on the main README.md it says that you need to use:
import com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
    registerPlugin(CapacitorSQLitePlugin.class);

}

But when you look on the README.md in the NODE_MODULES folder it says:
import com.getcapacitor.community.database.sqlite.CapacitorSQLite;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
    registerPlugin(CapacitorSQLite.class);

}

So it seems it's a typo on the README.md on github.
Issue closed, but maybe you need to fix the readme here :)
Many thanks

Ok it seems that on the main README.md it says that you need to use:
import com.getcapacitor.community.database.sqlite.CapacitorSQLitePlugin;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
    registerPlugin(CapacitorSQLitePlugin.class);

}

But when you look on the README.md in the NODE_MODULES folder it says:
import com.getcapacitor.community.database.sqlite.CapacitorSQLite;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
    registerPlugin(CapacitorSQLite.class);

}

So it seems it's a typo on the README.md on github.
Issue closed, but maybe you need to fix the readme here :)
Many thanks

@vorkapps hi, thanks for using the plugin and to migrate to 2.9.6. If you use the 2.9.6 (latest) , you have to look on github to the readme of the branch 2.9.x to get the instructions. The instructions that you are talking about are on the master branch which are corresponding to the next release which are using Capacitor3. if you look also at https://www.npmjs.com/package/@capacitor-community/sqliteyou get also the right instructions. The next version is based on Capacitor3 which is still in beta but also better handle the errors through the try...catch which allow you to get the proper error message to typescript. Happy that you find your way. Do not hesitate to contact me if your find issues or enhancements required

@vorkapps hi, thanks for using the plugin and to migrate to 2.9.6. If you use the 2.9.6 (latest) , you have to look on github to the readme of the branch 2.9.x to get the instructions. The instructions that you are talking about are on the master branch which are corresponding to the next release which are using Capacitor3. if you look also at https://www.npmjs.com/package/@capacitor-community/sqliteyou get also the right instructions. The next version is based on Capacitor3 which is still in beta but also better handle the errors through the try...catch which allow you to get the proper error message to typescript. Happy that you find your way. Do not hesitate to contact me if your find issues or enhancements required

@jepiqueau hi and thanks for replying :) My bad then! :) I look forward to using your plugin when v3 is out
Many thanks!

@jepiqueau hi and thanks for replying :) My bad then! :) I look forward to using your plugin when v3 is out
Many thanks!

@vorkapps Ok so for the v3 look at the master, in fact for Android you will not have to add something in the mainActivity.java i will updated the readme i have tested it for Ionic/Vue and Ionic/React and it works so i will also update for Ionic/angular. thanks again for using the plugin

@vorkapps Ok so for the v3 look at the master, in fact for Android you will not have to add something in the mainActivity.java i will updated the readme i have tested it for Ionic/Vue and Ionic/React and it works so i will also update for Ionic/angular. thanks again for using the plugin


Conversion to BAM requires post conversion reordering and sorting

Reference chromosome ordering and read sorting information are lost when converting an ADAM file that has undergone MD,Indel, & BQSR back to BAM.
This means that the resulting BAM must be Reordered and Sorted prior to use with another tool (like a variant caller), which seems unnecessary/wasteful.

Did you try this with the -sort_reads option in transform? That should result in ADAM emitting sorted/reordered files.

The -sort_reads option in transform does not result in ADAM preserving bam ordering.
The order of the bam file appears completely random:
samtools view -H ADAMcat.bam ##first couple of lines of output bam. These aren't ordered at all
@SQ	SN:Y	LN:59373566	M5:Y
@SQ	SN:14	LN:107349540	M5:14
@SQ	SN:9	LN:141213431	M5:9
@SQ	SN:7	LN:159138663	M5:7
@SQ	SN:17	LN:81195210	M5:17
@SQ	SN:18	LN:78077248	M5:18
@SQ	SN:8	LN:146364022	M5:8
samtools view -H input.bam ## first few lines. These are ordered correctly
@SQ	SN:1	LN:249250621
@SQ	SN:2	LN:243199373
@SQ	SN:3	LN:198022430
@SQ	SN:4	LN:191154276
@SQ	SN:5	LN:180915260
@SQ	SN:6	LN:171115067

Sounds like -sort_reads sorts the reads but @beaunorgeot is commenting on the header lines not being sorted?

It looks like according to the SAM spec the order of the @SQ lines defines the sort order of the file. @beaunorgeot would it be correct to say that in a BAM file outputted from ADAM, the reads are sorted, but the read sort order disagrees with the @SQ line sort order?

As we discussed in the group call today, the reads presumably are sorted. However, when ADAM outputted BAMs are re-concatenated into a single file, the resulting file has an apparently random chromosome order and (for what is probably the same reason) the overall reads are unsorted. This outcome seems consistent w/partition numbers not correlating directly to coordinate ordering.

Working on this.

I have pushed a partial fix as #784 that fixes the header issues and works correctly for a single partition. I will be looking into this more tomorrow to check into the partition sort order for large files.

OK, so now that #784 is prepped, I believe that ADAM should be good-to-go for writing confirmed sorted BAM/SAM, minus one detail in the BAM/SAM header (I will open a PR for this shortly). I confirmed this with the following bash "one liner":
rm -rf mouse_chrM.* pos sPos; wget http://www.eecs.berkeley.edu/~massie/bams/mouse_chrM.bam; ./bin/adam-submit transform mouse_chrM.bam mouse_chrM.adam -repartition 10 ; ./bin/adam-submit transform mouse_chrM.adam mouse_chrM.sam -sort_reads; f=$(ls mouse_chrM.sam/*part*); for file in ${f[@]}; do grep -v "\@" $file | awk '{print $4}' | tee -a pos; done; sort -n pos > sPos; diff --brief pos sPos; echo $?

This downloads a small BAM file (which is a single chromosome), converts it into a 10 partition ADAM file, sorts it and converts it to SAM, then prints the position of each read in order to a file, resorts that file, and then compares whether the two files are different. If it prints 0 at the end, then all is well.

Closed by #784 and improved by https://github.com/bigdatagenomics/adam/commit/283ea9de6876e3b0add91ea50ca046d4a52dc7f6.


Posted comments marked as Draft until Window reloaded

When making comments in VS Code the comments are marked as "Draft".
I would expect the "Draft" tag to be removed after hitting "Send" on the review.
As it is now, the comments are still shown as Draft in VS Code long after they have been posted to Gerrit.
"Gerrit: Refresh Changes" action does not help.
After "Reload Window" action it does show the comment state correctly.
(however after a Window Reload action it shows the same comment thread duplicated 13 times (!) in VS Code, but clicking on the review in the Gerrit pane refreshes the comments which removes the duplicates)

Quick turn-around!
I tested 1.2.20 and when posting the comment it did indeed change and is no longer displayed as Draft.
However, in it's place i got about 80 (!) instances of the same comment thread.
Perhaps this is a different issue - should I create another issue?
In the logs i see a lot of  calls to these two endpoint over and over again (575 consecutive lines)
GET request to "https:///changes//comments/"
GET request to "https:///changes//drafts/"

Ah yeah that sounds pretty bad. I'll just re-open this issue since my fix might have caused that. I'm assuming that you've censored the URLs you posted and they actually point to the same change right?
I'll try and get this fixed soon. For some reason I couldn't replicate the duplication issue before so I hope I can now. If not I might ask you for some more info/steps on how to reproduce.

Yeah, I censored the URL's and apparently they didn't render correctly in github due to that. Updated the URLs.
I'm using the Gerrit plugin via "Remote - SSH" plugin if that could affect things (to clarify Gerrit plugin is installed on the remote host, which is accessed via SSH).

I think I've fixed the issue in the latest version. I'm not entirely sure since I can't replicate it so do let me know if it's still present!


Flags to the api server should be quoted

Given this desired api server flag:
--oidc-groups-prefix=ldap:
One would update the api server flag overrides in kismatic-cluster.yaml to include:
oidc-groups-prefix: "ldap:"
However the resulting YAML generated is invalid due to a trailing colon, the generated config is:
- --oidc-groups-prefix=ldap:
The proper way to include this in the api server's yaml configuration would look like:
- "--oidc-groups-prefix=ldap:"

This will require some though as some of the fields are int.

This shouldn't matter, the generated configuration is passed to the apiserver unquoted regardless. To test this I added this configuration to the kube-apiserver.yaml manifest.
- "--secure-port=6443"
The argument is still passed to the application and parsed correctly.

So I've tried quoting all options by replacing instances of below in the different components:
- --{{ option[0] }}={{ option[1] }} with
- --{{ option[0] }}="{{ option[1] }}"
Then trying to install all the components failed with different errors:
root@ip-10-0-0-252:/etc/kubernetes/manifests# docker ps -a
CONTAINER ID        IMAGE                                      COMMAND                  CREATED             STATUS                      PORTS               NAMES
4a93ec384f4a        8401bb3ff261                               "kube-controller-m..."   31 seconds ago      Exited (1) 30 seconds ago                       k8s_kube-controller-manager_kube-controller-manager-ip-10-0-0-252.ec2.internal_kube-system_1fc62b1bfc3c8b8e4c294503a371b68b_4
3300bd0a8719        ceecd7155649                               "kube-scheduler --..."   37 seconds ago      Exited (1) 36 seconds ago                       k8s_kube-scheduler_kube-scheduler-ip-10-0-0-252.ec2.internal_kube-system_bc1dd99840c19eb340c1a9f4953759b6_4
ca0ed5a18061        9df3c00f55e6                               "kube-apiserver --..."   53 seconds ago      Exited (1) 53 seconds ago                       k8s_kube-apiserver_kube-apiserver-ip-10-0-0-252.ec2.internal_kube-system_128c0e7b3ff161985aa3a4ee2719b8e3_4
5434636122a5        gcr.io/google_containers/pause-amd64:3.0   "/pause"                 2 minutes ago       Up 2 minutes                                    k8s_POD_kube-controller-manager-ip-10-0-0-252.ec2.internal_kube-system_1fc62b1bfc3c8b8e4c294503a371b68b_0
b611ee4d96d7        gcr.io/google_containers/pause-amd64:3.0   "/pause"                 2 minutes ago       Up 2 minutes                                    k8s_POD_kube-scheduler-ip-10-0-0-252.ec2.internal_kube-system_bc1dd99840c19eb340c1a9f4953759b6_0
4f828863a984        gcr.io/google_containers/pause-amd64:3.0   "/pause"                 2 minutes ago       Up 2 minutes                                    k8s_POD_kube-apiserver-ip-10-0-0-252.ec2.internal_kube-system_128c0e7b3ff161985aa3a4ee2719b8e3_0

root@ip-10-0-0-252:/etc/kubernetes/manifests# docker logs 4a93ec384f4a
Error: invalid argument "\"true\"" for "--allocate-node-cidrs" flag: strconv.ParseBool: parsing "\"true\"": invalid syntax

root@ip-10-0-0-252:/etc/kubernetes/manifests# docker logs 3300bd0a8719
Error: invalid argument "\"true\"" for "--leader-elect" flag: strconv.ParseBool: parsing "\"true\"": invalid syntax

root@ip-10-0-0-252:/etc/kubernetes/manifests# docker logs ca0ed5a18061
Error: invalid argument "\"<IP_ADDRESS>\"" for "--advertise-address" flag: failed to parse IP: "\"<IP_ADDRESS>\""

The options won't be able to be quoted, instead I would recommend double quoting in the plan file for options that require it, otherwise leave it without quotes and Kubernetes will determine the correct type:
  kube_apiserver:
    option_overrides:
      insecure-port: 8080
      oidc-groups-prefix: '"ldap:"'

This produces a manifest with:
      - --insecure-port=8080
      - --oidc-groups-prefix="ldap:"

The installation finishes successfully.


Upgrade  google ads identifier library to 19.3.0+ as google is rejecting apps with lower version

Error
The developer of Google Mobile Ads (GMA) SDK (com.google.android.gms:play-services-ads) has reported version 18.0.1 as outdated. You must upgrade to a newer version (19.3.0+) before you can publish a new release to production.
Learn more about the SDKs that you're using and make informed SDK choices with Google Play SDK Index.

I think this library doesn't use com.google.android.gms:play-services-ads, instead the com.google.android.gms:play-services-ads-identifier version (18.0.1) still supported.

@bukhari-flip is right. And @shivamarujolla please try to be nicer when you open issues on open source libraries, everyone is tryin to do their best here

@bukhari-flip is right. And @shivamarujolla please try to be nicer when you open issues on open source libraries, everyone is tryin to do their best here

Hey sorry if it felt that way my intension was never to hurt anyone i just copy pasted the error google play console showed me. i wanted to make the title as short as possible so its easily understandable. i will be more diligent next time.

thanks @shivamarujolla, don't worry


Add _parallel_compile_patch.py to python manifest

Looks like https://github.com/grpc/grpc/pull/17057 have broken the python distribtests that try to build from source package:
https://source.cloud.google.com/results/invocations/1ab5947e-cf4c-4248-b121-f7369d509f17/targets/github%2Fgrpc/tests;passed=true;group=tasks;test=distribtest.python_dev_linux_x86_jessie;row=20
Processing /var/local/jenkins/grpc/input_artifacts/grpcio-1.17.0.dev0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-sSGKR7/setup.py", line 60, in <module>
        import _parallel_compile_patch
    ImportError: No module named _parallel_compile_patch

Adding _parallel_compile_patch.py to the manifest should fix the problem.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,390      Total (=)      2,019,390

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,180,031      Total (<)     11,180,033

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

ad-hoc distribtests test run: https://source.cloud.google.com/results/invocations/851f8348-2659-4675-acac-a6dc9811c040/targets

Successful linux distribtests: https://source.cloud.google.com/results/invocations/a755335d-2b08-4480-b76f-07afc5edc57d/targets/github%2Fgrpc/tests

Known failures:
https://github.com/grpc/grpc/issues/16985
https://github.com/grpc/grpc/issues/15599
https://github.com/grpc/grpc/issues/17138


Getting rid of version numbers on imports

Use case
ALL

Proposal
Moving towards getting rid of version numbers on import packages, or some solution related to that.
One time consuming part of development for android was sorting out all the different version numbers for the various packages, some package version dont work with other package versions, some dont work with some API versions and build targets, it seems like an infinite multidimensional matrix of packages and versions and API incompatibilities.
When developing with C#, it was such a breath of fresh air, you just grabbed the latest version of some random package and it just worked, i had zero issues related to one version of a package not working with another unrelated package.
With flutter seems to have issues related to incompatible package versions. Its possible to waste hours just trying to figure out which version of a package works with another.
Shouldn't we just be able to just use the latest version of a particular package, and that should just work instead of trying to figure out which of a 3 decimal package version works with another 3 decimal package version number of a different package?
Maybe there should be some system, or AI, or database, that knows which version works with some other package version and just gets those versions automatically (based on user feedback i guess), so you can just specify the names of the imports you want and the "system" will fetch the correct versions that work with each other? I dont exactly know how c# does it, but i had zero issues with package versions with C#.
For example simple old school C language, you just do "include stdio.h" and off you go, there is no need to do include "stdio1.4.2.h" or include "stdio^<IP_ADDRESS>.h" or something like that, and then wonder if version "stdio.3.4.3+.h" will work with version "string.<IP_ADDRESS>.h"  or "memory.3.2.5.h" not to mention the incompatibility with the 10 other includes you are using.

You can set the version for all packages in pubspec.yaml to any and it will automagically find the newest compatible versions.
See also Resolving Dart package version conflicts, faster than ever

As per previous comment, this already exists by just setting the version to any.


Only one service at a time?

It seems I can only have one service at a time. I'm trying to make a scraper that pulls from one API and pushes into another, but when I do the second rest.service() call it seems to overwrite the first service I made!
var rest = require('restler')
function noop () {}
var TestA = rest.service(noop, {}, {
  log: function () {
    console.log('first')
  }
})

var TestB = rest.service(noop, {}, {
  log: function () {
    console.log('second')
  }
})

var testa = new TestA
testa.log()

var testb = new TestB
testb.log()

Nevermind.


Fixed various hard-coded strings

I found out that some strings were not included in the strings.xml files. I think I took care of all of them. (They still need to be translated for the Polish localization of course).
I also formatted the code and organized the imports.
Edit: Found another string that is not translated. Please don't merge this PR yet.

Thanks for the refactoring! This looks great :) I've merged the code back in now.


proposal: text/template: New template option additionalkey

👋 Hey folks, I'd like to add a new option when rendering templates that will error in the event that there are additional fields in the input. The original issue I'm trying to fix is in helm, so if anyone has an alternative solution to that, I'm open to it.
// Known options:
//
// missingkey: Control the behavior during execution if a map is
// indexed with a key that is not present in the map.
//
//	"missingkey=default" or "missingkey=invalid"
//		The default behavior: Do nothing and continue execution.
//		If printed, the result of the index operation is the string
//		"<no value>".
//	"missingkey=zero"
//		The operation returns the zero value for the map type's element.
//	"missingkey=error"
//		Execution stops immediately with an error.
//	"additionalkey=default"                                                      # New thing
//		Do nothing when additional keys are found.
//	"additionalkey=error"                                                        # New thing
//		Execution finishes with an error if a key is provided, but unused.

Then the following code (taken from the text/template example) would panic
package main

import (
	"html/template"
	"os"
)

type Inventory struct {
	Material   string
	Count      uint
	ExtraField string
}

func main() {
	sweaters := Inventory{"wool", 17, "unused field"}
	tmpl, err := template.New("test").Parse("{{.Count}} items are made of {{.Material}}")

	// Throw an error if extra fields are found. In this case ExtraField is unused.
	tmpl.Option("additionalkey=error")

	if err != nil {
		panic(err)
	}
	err = tmpl.Execute(os.Stdout, sweaters)
	if err != nil {
		panic(err)
	}
}

In helm, everything is under .Values.
As an example, if I use .Values.image.tag, does this count as a usage of .Values ? At what level is "used" counted at?
Also, {{ .Values }} can be a implemented as a function call, it doesn't always have to return the same data, even within the same template. If there's some form of recursive tracking, how will that work?

cc @robpike


Xiaomi MCCGQ01LM Status Update Delay

All my "Xiaomi MCCGQ01LM" status update delay.
But other sensor normal working.
https://www.zigbee2mqtt.io/devices/MCCGQ01LM.html

Usb driver via vmware esxi problem on Home Assistant OS 6.3


Remove obsolete nginx and kafka docker images

Remove support for building these custom docker images;
we are now able to deploy using unmodified upstream images.

Closes #22
Closes #26
Closes #24


Lacking Information

Not a word about creating or configuring the Redis Cache

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

ID: d0396b8e-0a20-6cca-68ea-f01d9021c5ef
Version Independent ID: eb138ff5-0a81-1c3e-1f61-19dc35b8c91d
Content: Cache ASP.NET Session State Provider
Content Source: articles/azure-cache-for-redis/cache-aspnet-session-state-provider.md
Service: cache
GitHub Login: @yegu-ms
Microsoft Alias: yegu

@schellem Thanks for the feedback. We are actively investigating and will get back to you soon.

@schellem Could you please refer the below screenshot. URL for Configure the Redis cache is provided.

Hope it helps. Please let us know if you need more information.

Not that this topic has recently been rather extensively updated. The information cited by angoyal has been augmented and put in a table format.

I missed that link but at a glance it doesn't help you get started with Redis Cache or suggest settings I might want\need in relation to using it for ASP.NET session.

The web.config was not updated when installing Microsoft.Web.RedisSessionStateProvider, not a problem with this article I know. So I had to use the 'sessionState' element from here and the providers element is not closed.
Also found this link https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-web-app-howto to provide Redis Cache creation directions.

@schellem Strange that the XML segment for sessionState wasnt added automatically for you after installing RedisSessionStateProvider. I tried it and it worked fine for me.
I have submitted a pull request to address the issue with providers element. The edit should go live by EOD or tomorrow.

We will proceed to close this thread now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

I tested that the web.config transform is applied if I created a new project and also verified that the session provider works. When adding the provider to our existing ASP application the web.config changes are not applied and I still can't get it working with our existing project after adding what appears to be the settings added to a new project. I'm guessing there are things other than just the web.config transform silently failing during the NuGet package install.


Don't crash on nullable reference types with parens

Guessing tokens is problematic because the operation can cross grammar nodes. Unfortunately I can't recall the exact bug we had that was caused by this.
But it goes something like this - if visitNullableType() is called from another node, consumes a closing paren ), but that closing parenthesis belongs to the outer node, then we'll break formatting.
If I had a concrete example it would've been easier.
It's possible that in this specific case this breakage can't happen, but I don't have a good mental model to say why.
So - let's use guessToken only if we absolutely can't predict whether parenthesis should be present or not.

Done

Ping


Feature/add hotkey support

Here's my go at adding globalShortcut support. Here's a recap of what's going on:

Cmd + Shift + 5 will prepare Kap for recording (not start)
Once the cropperWindow is activate, press Enter to begin recording
Once recording, register Esc
When stop-recoding is fired, remove Esc globalShortcut

Other:

when running locally with npm run dev && npm start, dev tools will have focus, so you have to click on cropperWindow for Enter to start-recording

I still think Space should be used to start the recording, as that's how I'm used to controlling media. I get that this isn't playback, but I still feel it's the natural option, maybe in addition to Enter.  While I like being able to stop the recording with Esc, I'm worried you'd want to use that key for other uses while recording.

@skllcrn ok, maybe both Enter and Space should work for start?
I was trying to think of a situation where you'd need Esc during a recording? Could aways use Ctrl + Esc... just felt cumbersome. But if we eventually let users set custom key commands in Preferences, might be a moot point.

Let's try both and see how that works until we revisit this when adding shortcut settings to Preferences!

@skllcrn updated w/ #cf94ddd 😎

For reference, QuickTime supports Esc to stop recording. ScreenFlow.app and ScreenFlick.app uses Cmd+Shift+2 (User can change this) to both start and stop recording.

I think using Esc would be annoying as it could easily be used during capture. I would much prefer having the same shortcut to both start and stop the recording.

I think using Esc to stop recording will super annoying for vim users like me.

@skllcrn @sindresorhus @Khaledgarbaya Updated. The new process is as follows:

Cmd + Shift + 5 : Bring cropperWindow to front / prepare for recording
Enter or Spacebar : Start recording
Cmd + Shift + 5 : Stop recording


BigFloat support

see https://github.com/LeilaGhaffari/my-enzyme/issues/2
cc @LeilaGhaffari @jedbrown

@LeilaGhaffari per your other Github issue, one what timeline would support for this be needed?
To do some expectation setting / figure out prioritization, enabling support for custom base types (like this) are on the roadmap, but do have a nontrivial amount of infrastructure that would be required first so it's not an instantly solvable thing. For BigFloat in particular, we may be able to just use custom derivative rules for the various operators and that may be sufficient -- but that would also be ideal to have https://github.com/EnzymeAD/Enzyme.jl/pull/177 land first so it would be easier to write all of those.

Honestly, I don't think it's a big deal. The BigFloat here is for reference values to measure accuracy of the f32/f64 computation. But we can compute reference values using Zygote or with "by hand" differentiation.

Better to put resources into #177.


Allow waiting for compose services to finalize startup before concluding runDockerCompose

allow defining a log statement for each compose service
actively watch the logs for these statements
implements a status for the services
runDockerCompose task should not end before all services with a startup definition have been started

RELATED TO #40

Currently implemented as
stackwork {
  moduleType = COMPOSE
  stackIsRunningWhenLogContains = "https://docs.docker.com/userguide/"
}

Future enhancement can be to find an elegant way to specify this per (long running) service


Algebra - Geometric Sequences

Implement the definition documented in here

hey allan and fred! can we schedule some sort of meeting so we can do this together?? thank you!

Allan is still working on it.


Don't launch Pecan if the table is not georeferenced

This PR adds a new check in Pecan to disable the analysis if the table is not georeferenced.
Original ticket: #5005

@javisantana: can you have a look, please?

retest this please

looks good

retest this please


VEGA-781: Add Veracode static analysis to build pipeline

NB: This doesn't currently work because Go isn't supported in pipeline scans

Veracode don't support this and we have no ETA for them doing so:

It is on the roadmap but it's a lower priority item at the moment.


Menu:  too much menu items defect.(#14504)

Closes #14504
Menu:  too much menu items defect.

https://github.com/ElemeFE/element/issues/14504#issuecomment-489899728


Should we auto-reload from time to time?

Here is a crazy thought:
If we would be better at persisting view state (e.g. find widget, commit message, undo/redo stack, etc.).
And if it would be a good time (e.g. no unsaved files, no debug session, user is idle for > 10 min).
... Maybe we could auto-reload the window after X hours?
@bpasero @joaomoreno @egamma @jrieken Thoughts?

Why? to clean up memory leaks?

I wouldn't say it's just about leaks, but yes, memory consumption would be "improved" :).

might be unexpected for extensions that drive some process with state

we would have to handle the case when auto save is off, so that the user doesn't get prompted to save the file.

Yikes, that sounds like a 'solution' I've seen in Java sites... Ha, @joaomoreno
Events, with OS listeners is the best, most scalable option IMHO.

Feels like this would be like hitting the problem with a big hammer instead trying to fix the root cause. Some potential things that could be looked in to instead:

reducing memory usage
plugging leaks
making it easier to find leaks and memory hogs
periodic clean up without reloading?
writing about extension development best practices

It would also not work for some users:

those who typically have unsaved files in their workspace for long periods of time (me)
users who don't idle for 10+ minutes before there's a problem

Plus extensions could get in to a bad state as @jrieken mentions.

Agreed. Too big of a hammer.


docs: document that you have to run celery beat task to clean session table

Is it already documented?

Yes, but it's very hidden. @krzysztof and @slint where upgrading packages on Zenodo and I saw that this particular thing is important but very hidden. I would expect to find it in https://invenio-accounts.readthedocs.io/en/latest/configuration.html

I'm blind :-) It's already done


Expanding tree is not properly working with lazyloading

Somewhy tree that is lazyloaded is not loading nodes recusively after expandAll() method invocation. Is this by design? If it is, should be there two or three strategies or user-defined option to determine this behavior?

Fixed in 3.5.0


Missing IntelliTrace Component ID

Missing IntelliTrace Component ID, which is:
Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd

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

ID: b29a1009-5ef4-707b-258e-fe8bbe7275b6
Version Independent ID: 00fac5a7-fc6d-c9cb-2d26-d820c7055890
Content: Visual Studio Enterprise workload and component IDs
Content Source: docs/install/workload-component-id-vs-enterprise.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@starsunyzl, thanks for your feedback. We've updated the page to include the missing workloads and component IDs. The changes are live now. Let us know if you have any other feedback. Thanks again!


[FEAT] Implement Blog Search and Filtering API #25

[FEAT] Implement Blog Search and Filtering API #25

Make a proper pull request, guideline is on slack

Please review again


feat: upgrade native sdk <IP_ADDRESS>.KK

Update native sdk <IP_ADDRESS>.KK dependencies

This pull request is trigger by bot, you can checkout this branch and update it.

Examples built:

https://nightly.link/littleGnAl/hoe/actions/runs/8612073524/agora_rtc_engine_android_6.2.1-kk.4_20240409075355.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8612073524/agora_rtc_engine_ios_6.2.1-kk.4_20240409075432.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8612073524/agora_rtc_engine_macos_6.2.1-kk.4_20240409074633.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8612073524/agora_rtc_engine_windows_6.2.1-kk.4_20240409074530.zip

This comment is commented by bot, do not edit it directly


Document recommended sizes for images

For various images on the site, document in the README.md what the best sizes to use are. Some images are dynamically sized and some are windowed to fit depending on browser window size. It's hard to tell what the sizes should be.

Recommended sizes for various types:

carousel;
members;
gallery;
workshops; // which I think might be similar to gallery?


Grant consent issue

During the install (following the guide) we are seeing this message:
Starting November 9th, 2020 end users will no longer be able to grant consent to newly registered multitenant apps without verified publishers.
Is there a way to bypass this? It is asking for our MPN ID. (we do not have one)

Hello @jboehmmufg,
It is not required if you are using Admin's account. Just click on "Grant Admin Consent"

It's done.
OR
You can follow Step 4.4.a
Let us know if issue still persists.
Thanks.


mini.icons(c): current icon is confusing

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.icons
Description
See on the bottom left of the screen

Current icon

Proposed icon

You can find the commit here: https://github.com/echasnovski/mini.icons/compare/main...Zeioth:mini.icons:main
(The repo have no permission to send PRs)

Thanks for the suggestion!
The current icon is nf-md-language_c from Nerd Fonts. The nf-md-language is preferred over other alternatives for consistency. You can override this icon in config.filetype with c = { glyph = '' } entry.
Closing as not planned.

@echasnovski the proposed icon is part in nerd fons:

If you refer to the notation nf-md- that's ok, your choice ^_^

If you refer to the notation nf-md- that's ok, your choice ^_^

Yes, it is documented.


Q: Multiplayer

Hello sir,
thanks for the awesome mod :)
I have a question: can other players see the tape in multiplayer?

Players can only see tapes that they themselves have drawn. In other words, your tapes are private to you.


Support Gradient Transformation

There are usage of gradient transformation by SVG.
We need to support it.

sample.tar.gz

This issue will be solved in this PR.
https://github.com/Samsung/thorvg/pull/39


Adding overwrite per customer issue

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-overwrite/ServiceBus-messaging/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning.md
:white_check_mark:Succeeded
View

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

#sign-off

@sethmanheim Hey Seth, should this be showing up on staging? I don't see the note on the staged article.

@mmacy Yep I see it. It's here: https://review.docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.managementstrings.enablesubscriptionpartitioning?branch=pr-en-us-294. Are you still not seeing it?

@sethmanheim Yep, that works. Merging.


[openmvg] Update to 1.5

Related to https://github.com/microsoft/vcpkg/pull/9986

Update to version 1.5
Update the patch to adjust the source changes.

All features test pass on x86-windows.

LGTM, thanks!


@debugOnly annotation

It's occasionally useful to expose an API purely for use when debugging code, but that should never be checked in to a real project. Examples include the solo flag for the test() function in package:test or a flag to enable verbose debugging output for a library. It would be useful to have an annotation to represent this (similar to @deprecated) that can be placed anywhere @deprecated can and produces an error if the annotated item is used in any context except in the package in which it's defined.

Well you already opened an issue  in 2016 😅

https://media0.giphy.com/media/KChOCrUh2lYxW/giphy.gif


请问2.0什么时候能出来啊？

如题，请问2.0什么事出来，https://github.com/alibaba/dubbo-spring-boot-starter  这个项目是你们的吗

Please use English when firing issue as Dubbo has been a apache incubator project.
Support Spring Boot 2.0 question is duplicated with #71
This dubbo-spring-boot-project is official project, dubbo-spring-boot-starter under alibaba group is 3rd support project.

ok

Hi, you can ask by sending an email to<EMAIL_ADDRESS>, issues are used to track bugs.


Install repokitteh for wait commands

cc @itayd

this is in the cncf org - who manages it? they'll have to install the repokitteh app first.

cc @caniszczyk ^

I need a link to install

@caniszczyk sent in slack

done

Please reopen - repokitteh.star still need to be put in the root of the repo and configuration to be done on repokittah's side. I will do it tonight.

Please merge https://github.com/cncf/udpa/pull/6 to enable.


Update dependencies

All caret ranges are now defined as ^x.0.0.
A small ESLint issue was fixed, which was reported by the updates ESLint configuration.

Fancy Webpack 5 😮

Fancy Webpack 5 :open_mouth:

It was already webpack 5 :wink: This webpack update does allow us to upgrade webpack-dev-server though.


[OFFICIAL/TV]* — Springboks vs Scotland LiVe 𝐒𝐭𝐫𝐞𝐚𝐦𝐬 FrEe BrOaDcAsT oN TV Guide & 𝕊𝕥𝕣𝕖𝕒𝕞𝕚𝕟𝕘 10 November 2024

The Scotland vs Springboks live streams features a real clash of styles at Murrayfield as the hosts' attacking invention goes head-to-head with the Springboks' fabled Bomb Squad up front — expect a fascinating encounter that could go either way. Scotland face back-to-back world champions South Africa at Murrayfield in the Autumn Nations Series.
Rassie Erasmus’s Springboks added a rare Rugby Championship crown to their considerable collection of achievements in September and now set their sights on a side they suffocated and shut down at last year’s World Cup. Erasmus has rotated heavily from the team that started against Argentina in South Africa’s last outing, with seven forwards primed on a bench of behemoths that is sure to test the hosts’ staying power.
Scotland have only beaten the Springboks five times in 29 attempts, but there's no better time for Gregor Townsend's side to make a mockery of the history books. Their 57-17 bludgeoning of Fiji last weekend featured eight tries in a scintillating display that featured center Huw Jones at his line-breaking best and Duhan van der Merwe just staying ahead of Darcy Graham as his country's all-time top try scorer. Townsend must do without four-try Graham, though, after the winger failed concussion protocols in the build-up.
Gregor Townsend's Scotland are riding the wave of a huge 57-17 hammering of Fiji last weekend, thanks to tries from Kyle Rowe, Huw Jones (two), Duhan van der Merwe and four from Darcy Graham.
The Scots have beaten France, England, Wales and Australia under Gregor Townsend but are now targeting a statement win over one of the true elites of rugby union.
The 'Boks have not played since September 28, where they defeated Argentina 48-7 in the Rugby Championship, a competition which they won.
After their narrow win over England in the opening week of the Autumn Nations Series, South Africa head to Edinburgh to face the world’s top ranked side, Scotland.
Their clashes have become one of the most anticipated fixtures in rugby. The Irish have got the better of the South Africa in recent autumn and summer matches, but the Kiwis have bounced Scotland out of consecutive Rugby World Cup quarter-finals.
Scotland responded to World Cup disappointment with a Six Nations title, missing out on the Grand Slam in the penultimate round after a Marcus Smith drop goal.
The South Africa come into this one after a dramatic 24-22 win over England, and having thumped South Africa a week before that.
Scotland open their Autumn Nations Series on Sunday when they welcome South Africa to the Stade de Scotland.
The last time South Africa and Scotland played each other was during the pool stages of the World Cup last year, with the Springboks winning 18-3.
South Africa arrive in Edinburgh for their first match of the Autumn Internationals knowing they must be at it from the off. The Springboks bring unrivalled power to proceedings, with their hulking Bomb Squad forward pack – and 6-2 split of forwards to backs on the bench – earning the past two World Cups but few hearts and minds. Not that irascible coach Rassie Erasmus will mind, with the 18-3 victory from last year's World Cup the blueprint likely to be followed again.
But Scotland will arrive at Murrayfield full of confidence after an encouraging performance from some of their key figures and fringe faces against Fiji last weekend. There was deep disappointment that they failed to show more of their attacking array in the pool-stage meeting in Marseille last September, and Gregor Townsend has weapons at his disposal capable of challenging their visitors.
New Zealand-born Tom Jordan will make his first Scotland start and star duo Finn Russell and Blair Kinghorn return after missing last weekend's 57-17 win over Fiji.
Blair Kinghorn and Finn Russell return to the Scotland team in a boost to Townsend, with Tom Jordan, who impressed off the bench last weekend at full back, starts for his country for the first time. For the Boks, Franco Mostert comes into the XV after recovering from long-term injury, as Kwagga Smith earns what will be a 50th cap. Eben Etzebeth skippers the side with Siya Kolisi on a bench that includes seven forwards.

vcbcvb

cbcc


Gradient(s) and Hessian(s) of functions with higher order tensors as input

Hi Jax community,
I recently came across jax and wanted to explore AD of functions that take as input higher order (>1) tensors. Note that I refer to a vector as an order-1 tensor.  Let's start with a scalar function

from jax import jit, grad
from jax.numpy import vectorize, sqrt, zeros

# function to minimize
def psi(gw0, gw1, gw2):
    return sqrt(1 + gw0** 2 + gw1** 2 + gw2**2)

# gradient
def dpsi(gw0, gw1, gw2):
    out = zeros((3,) + gw0.shape)
    for i in range(3):
        out[i] = vectorize(grad(psi, i))(gw0, gw1, gw2)
    return out

# hessian
def ddpsi(gw0, gw1, gw2):
    out = np.zeros((3, 3) + gw0.shape)
    for i in range(3):
        for j in range(3):
            out[i, j] = vectorize(grad(grad(psi, i), j))(gw0, gw1, gw2)
    return out

I can now very well pass a vector as input to dpsi and ddpsi and get the gradient and hessian as output.
Now, what if instead my function psi took as input not a vector but a second order tensor. How would I go about calculating dpsi and ddpsi which in that case would be (3,3) and (3,3,3,3) tensors.
The below snippet is an idealisation of what I want to achieve.

from jax.numpy import zeros_like, einsum

# gradU is a (3,3,...) tensor :
def psi(gradU):
    F = zeros_like(gradU)
    F[0,0] += 1.
    F[1,1] += 1.
    F[2,2] += 1.

    F += gradU
    I1 = einsum("ij...,ij...", F, F)
    return I1

# gradient
def dpsi(gradU):
    out = zeros_like(gradU.shape)
    ...

# hessian
def ddpsi(gradU):
    out = zeros_like((3,3,3,3) + gradU.shape[2:])
    ...

I know this may be a naive question, but any pointers would be helpful. Also if this is already discussed somewhere, feel free to redirect (I'd be happy to learn :) )

Gradients and Hessians of functions with higher order tensors (or even nested lists/tuples/dicts of tensors) as input should just work out of the box with grad. Have you encountered any specific errors or unexpected behavior when you try this?
Note that inplace assignment to variables doesn't work in JAX -- you have to write something like F = F.at[0,0].add(1.) instead of F[0,0] += 1., which should result in an error. So I'm guessing you may not have actually run this code with JAX yet? :)

Hi @shoyer ,
Thanks a lot for your reply!

F = F.at[0,0].add(1.) instead of F[0,0] += 1., which should result in an error. So I'm guessing you may not have actually run this code with JAX yet? :)

Yes. Indeed, I hadn't run the code with jax as I wasn't sure how to pass the arguments to the functions, so that grad understands how to take derivatives properly. Now after experimenting a bit with Jax, I could come up with a MWE to illustrate my problem. Consider the following snippets
Runs fine
def F(du0, du1):
    return jnp.sqrt(1 + du0 ** 2 + du1 ** 2)

def jac_eval(du0, du1):
    out = np.zeros((2,) + du0.shape)
    for i in range(2):
        out[i] = vectorize(grad(F, i))(du0, du1)
    return out

def hess_eval(du0, du1):
    out = np.zeros((2, 2) + du0.shape)
    for i in range(2):
        for j in range(2):
            out[i, j] = vectorize(grad(grad(F, i), j))(du0, du1)
    return out

trialu = np.sin(np.random.random((2,250,4)))

print(jac_eval(*trialu))

Fails
from jax import grad
from jax.numpy import vectorize, einsum
import numpy as np

def psi(gradU):
    F = np.zeros_like(gradU)
    F[0, 0] += 1.
    F[1, 1] += 1.
    F[2, 2] += 1.

    F += gradU

    I1 = einsum("ij...,ij...", F, F)
    return I1

def dpsi(gradU):
    out = np.zeros_like(gradU.shape)
    for i in range(gradU.shape[0]):
        for j in range(gradU.shape[1]):
            out[i, j] = vectorize(grad(grad(psi, i), j))(gradU)
    return out

def ddpsi(gradU):
    out = np.zeros_like((3,3) + gradU.shape)
    for i in range(out.shape[0]):
        for j in range(out.shape[1]):
            for k in range(out.shape[2]):
                for l in range(out.shape[3]):
                    out[i, j, k, l] = vectorize(grad(grad(grad(grad(psi, i), j), k), l))(gradU)
    return out

trialgrad = np.sin(np.random.random((3,3,250,4)))
dpsi(trialgrad)

raises (not posting the entire traceback)
This error can occur when a JAX Tracer object is passed to a raw numpy function, or a method on a numpy.ndarray object.
You might want to check that you are using `jnp` together with `import jax.numpy as jnp` rather than using `np` via `import numpy as np`.
If this error arises on a line that involves array indexing,
like `x[idx]`, it may be that the array being indexed `x` is a raw numpy.ndarray while
the indices `idx` are a JAX Tracer instance; in that case, you can instead write `jax.device_put(x)[idx]`.

Following this, I also tried
device_put(out)[i,j] = vectorize(grad(grad(psi, i), j))(gradU)

But it still raises the same error.
Thanks in advance. I know the error might just be due to my incomplete understanding of how grad works but I appreciate if you could provide any pointers.

JAX's transformations like grad don't work on functions that use NumPy, like your psi() and dpsi() functions (this is exactly what the error message says). You will need to need to rewrite them entirely in terms of jax.numpy operations before you can expect grad to work.

JAX's transformations like grad don't work on functions that use NumPy, like your psi() and dpsi() functions (this is exactly what the error message says)

Agreed, but then

from jax import grad, device_put, jacrev, jacfwd
from jax.numpy import vectorize, einsum, zeros_like, sin, zeros, array
import numpy as np

def psi(gradU):
    I1 = einsum("ij...,ij...", gradU, gradU)
    return I1

def dpsi(gradU):
    out = zeros(gradU.shape)
    for i in range(gradU.shape[0]):
        for j in range(gradU.shape[1]):
            # device_put(out)[i,j] = vectorize(grad(grad(psi, i), j))(gradU)
            out.at[i, j].add(vectorize(grad(grad(psi, i), j))(gradU))
    return out

trialgrad = sin(np.random.random((3,3,250,4)))
print(psi(trialgrad))
dpsi(trialgrad) # fails

fails too with
ValueError: Einstein sum subscript 'ij' does not contain the correct number of indices for operand 0.

I guess I failed to mention the first time around, what I want to compute the derivative of psi wrt gradU. Since psi is a scalar, so the derivative should be of shape gradU.shape. psi evaluates perfectly when supplied with trialgrad with the output shaped (250,4)

".at" needs to be used like "out = out.at[i, j].add(...)". It doesn't
modify values inplace.
On Wed, Jul 29, 2020 at 9:42 PM Bhavesh Shrimali<EMAIL_ADDRESS>wrote:

JAX's transformations like grad don't work on functions that use NumPy,
like your psi() and dpsi() functions (this is exactly what the error
message says)
Agreed, but then
from jax import grad, device_put, jacrev, jacfwdfrom jax.numpy import vectorize, einsum, zeros_like, sin, zeros, arrayimport numpy as np
def psi(gradU):
I1 = einsum("ij...,ij...", gradU, gradU)
return I1
def dpsi(gradU):
out = zeros(gradU.shape)
for i in range(gradU.shape[0]):
for j in range(gradU.shape[1]):
# device_put(out)[i,j] = vectorize(grad(grad(psi, i), j))(gradU)
out.at[i, j].add(vectorize(grad(grad(psi, i), j))(gradU))
return out
trialgrad = sin(np.random.random((3,3,250,4)))print(psi(trialgrad))dpsi(trialgrad) # fails
fails too with
ValueError: Einstein sum subscript 'ij' does not contain the correct number of indices for operand 0.
I guess I failed to mention the first time around, what I want to compute
the derivative of psi wrt gradU. Since psi is a scalar, so the derivative
should be of shape gradU.shape. psi evaluates perfectly when supplied
with trialgrad with the output shaped (250,4)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/jax/issues/3880#issuecomment-666102709, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVSI4CEKP7ZEFAVDQODR6D235ANCNFSM4PKGFPNA
.

".at" needs to be used like "out = out.at[i, j].add(...)". It doesn't modify values inplace.

Ah thanks. Should have read your previous comment more carefully!
It still doesn't change anything though. I will keep looking.

I'm going to close this issue since we've drifted pretty far from the original topic.
Feel free to open new issues with specific questions. Please test the code first and provide a minimal example of what doesn't work as expected, including the full stack trace if there is an error.

Feel free to open new issues with specific questions.

Sure, will do. I thought the last snippet I posted above illustrated my problem well enough and yet minimal to the point where (perhaps) it's just a question of syntax. Anyway, I understand it doesn't contribute to the general community to simply debug issues.  Will try to post something more concrete in the future!

There is a lot going on in your example, it would be helpful to simplify
I notice now that you write grad(grad(psi, i), j), but that actually isn't valid in JAX since grad is only for functions with a single scalar output.
See the autodiff cookbook for more details on how to calculate Hessians: https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html

I notice now that you write grad(grad(psi, i), j), but that actually isn't valid in JAX since grad is only for functions with a single scalar output.

Thanks! I will check out any relevant examples in autodiff cookbook.

There is a lot going on in your example, it would be helpful to simplify
I notice now that you write grad(grad(psi, i), j), but that actually isn't valid in JAX since grad is only for functions with a single scalar output.

Agreed. Will try to come up with something simpler. I had read the documentation for grad and managed to implement it as described above for functions that take as input vectors, using vectorize.
I think I should be able to take it from here. Probably thinking a bit more clearly on how to feed things to vectorize for this case


fix typo

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

Fixes #
Special notes for your reviewer:

@lucasfcnunes A new release v0.8.1 was shipped. Please take a try.


Create & Manage Retention Policy

Retention policies affect how measurements are stored and interact with databases. Mount API shall be updated to support creating, reading (selecting), updating, and deleting retention policies.

Can you elaborate on this? How retention policies are specified can be pretty specific to a datastore (is it specified on date, measurement, value.. and with a fixed interval or by using some kind of LOD algorithm etc).
I think this potentially touches upon a more fundamental requirement, which is to enable passing down technology-specific configuration to mounts. Some initial design work has been done on this (this was in the context of the DDS mount), where a user could do something like this:
// Require all data matching the query to be persistent
bool success = corto_select("//foo|bar").require("persistent=true");

The return value of this function would tell the applications whether the mounts providing the objects matching the query are able to support persistency.
A similar thing could be done for retention policies. The require method would accept a key-value pair which I think should allow for enough flexibility.

My understanding of the configuration that an app would want to pass to a mount when querying data is unclear. Why does the app care if Data has persistent Quality of Service? I don't want to pick on the DDS example, but wouldn't it be the middleware that would tell the app when data is no longer invalid? In a DDS app, I'm going to hold data and assume it's good until I get a quality update for DDS. In the Corto world, I understand this to eventually be the expiry notification from the cache (in the future).
Zooming out, larger than DDS, I interpret persistence=true to be a general quality guarantee for the data. This could also be applied to something like a MongoDB Mount, right?
If I am understanding this correctly, then I think this is a slightly different use case than InfluxDB's retention policies can provide. Retention policies affect the data structure and data management that InfluxDB provides on the backend. Per InfluxDB documentation:

The part of InfluxDB’s data structure that describes for how long InfluxDB keeps data (duration), how many copies of those data are stored in the cluster (replication factor), and the time range covered by shard groups (shard group duration). RPs are unique per database and along with the measurement and tag set define a series.

I am going to move forward with the static implementation for now. I am not sure what happens when you attempt to change a measurement's or database's retention policy midway once it has already been created. That still needs be tested.
Retention Policy
class RetentionPolicy:/
    name:           string
    duration:       string
    replication:    uint16
    shardDuration:  string

InfluxDB Mount Update
class Mount: vstore/mount:/
    host:       string
    db:         string
    rp:         influxdb/RetentionPolicy, optional
    username:   string
    password:   string```

- If `NULL`, then the default `autogen` retention policy will be used.
- The specified Retention Policy will be provided on each write, instead of being specified as the default retention policy.

@hendrenja In some cases the functionality of an application will rely on whether certain non-functional aspects are guaranteed, even though it does not necessarily affect the code.
An example: an application can read/write objects without knowing whether they will be persisted to disk, but the application might not work correctly if data is not persisted to disk. In this case, the application can let corto know that it is expecting the data to be stored somewhere.
Another example would be security. If an application is sending sensitive information, it could "require" that whatever mount is going to handle this data does so securely. If a mount cannot provide this capability, it should not attempt to send the data.
Both examples show how an application can ensure that even though its business logic can be ran unchanged against different configurations, those configurations still have to meet certain (minimal) requirements.
In the case of retention, an application requesting historical data could for example require that the data is stored with a downsampling period of at most 1 day. If the active retention policy is less than that, the application's algorithms may for example not function correctly or produce results that are not of sufficient accuracy.
The difference between configuration and app requirements is that the configuration describes the infrastructure against which applications are ran. A single application can be ran against multiple infrastructures, and this is a mechanism to ensure that both match, without creating a direct coupling between a specific mount and application.
You are right that something like persistence can be used for multiple kinds of storages. I expect that a library of "requirements" will grow over time that mounts can choose to implement or not.

@SanderMertens, I better understand your original comment now.
// Require all data matching the query to be persistent
bool success = corto_select("//foo|bar").require("persistent=true").where("time<2h");

Could be expanded to something like...
// Require all data matching the query to be persistent
bool success = corto_select("//foo|bar").require("persistent=true","frequency=10Hz","resolution=8h");

... to specify the algorithm requires persistent data samples stored every 100ms across the last 8 hours. The Where expression may only require the last 2 hours of data, but it would require that the data source 8 hours of 10Hz data available.
Am I appropriately grasping data requirements?

@hendrenja You got it! :)


"dockerPullImage(): repository name must be canonical"

When not pulling securityTests containers via Makefile, the following error is being seeing:
dockerPullImage(): repository name must be canonical
It would be a good idea to check this function:
func (d Docker) PullImage(image string) error {
	ctx := goContext.Background()
	_, err := d.client.ImagePull(ctx, image, dockerTypes.ImagePullOptions{})
	return err
}

For your own image, just prepend docker.io/ to the image name.

Hey, @qiangli ! Thanks a lot for this tip! I will use your suggestion when working on this issue once again! 👍🏻


Please run Atom command 'Atom-Beautify: Migrate Settings'. You have unsupported options: _analyticsUserId

Please run Atom command 'Atom-Beautify: Migrate Settings'.
You have unsupported options: _analyticsUserId
how 2 cure?

Did you successfully run the Atom-Beautify: Migrate Settings command?
If no, then duplicate of https://github.com/Glavin001/atom-beautify/issues/936

ty, ctrl+alt+p - cure ;)
2016-06-01 22:37 GMT+03:00 Glavin Wiechert<EMAIL_ADDRESS>
Did you successfully run the Atom-Beautify: Migrate Settings command?
If no, then duplicate of #936
https://github.com/Glavin001/atom-beautify/issues/936
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Glavin001/atom-beautify/issues/1001#issuecomment-223101478,
or mute the thread
https://github.com/notifications/unsubscribe/AQwxKv7zTtbudPFxhOoyzXFbjq-ONzmFks5qHd-QgaJpZM4IrxTZ
.


Sale Price

How can I get Sale Price of a product? It looks like Sale Price is not part of API??
URL:
/cs/api/v1/products

This was just an oversight, I've added the output of the sale price here:
https://github.com/concrete5-community-store/community_store_api/commit/c17de0800ef2a32ad1711e3d7213a224e1f1a3a9

Thanks a lot!

This issue can be closed, right?


Add isSomeString and isSomeChar to lib.sys.traits.

This ports over isSomeString and isSomeChar from std.traits. isSomeString behaves the same (since the std.traits version doesn't accept enums), but the new isSomeChar is different in that the old one accepts enums, and this one rejects them. The new isSomeChar also has a simplified implementation, but the behavior is the same aside from how enums are treated.
The documentation and tests have been beefed up in the process, and I added a bit more to the documentation / tests for isDynamicArray and isStaticArray based on what came up with the tests for isSomeString and isSomeChar.
It is not my plan to port over any of the other traits in std.traits which are specifically for strings (e.g. isNarrowString), so checking string types with lib.sys.traits should be less confusing than it has been with std.traits.

I thought we wanted to get red of these?

isXXXX templates
Are generally very hard to figure out what they do, such as isSomeChar.  The string ones are even worse.

https://github.com/LightBender/PhobosV3-Design/blob/main/Design.md

@dkorpel Per this morning's discussion: https://github.com/dlang/phobos/pull/8942


Update FXController.java

I'm sorry it was my mistake, the BasicFaceRecognizer dosen't work with this method so I added the FaceREcognizer instead.


[benchmark] build failure

Host Environment

OS: Linux
Compiler: Clang 5

To Reproduce
Steps to reproduce the behavior:
Create a vcpkg manifest file that contains this:
{
    "name": "bench-test",
    "version": 0.1,
    "dependencies": [
        "benchmark"
    ]
}

Create a cmake file:
cmake_minimum_required(VERSION 3.20)
project(bench-test CXX)
find_package(benchmark REQUIRED)
add_executable(bench-test test.cpp)
target_link_libraries(bench-test PUBLIC benchmark)

Run cmake with toolchain file:
cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg.cmake

Failure logs
Full log. My actions has the debugging logs enabled.
Additional context
Works with all other major version of Clang from 3.6 to the latest.
It only happen with clang 5 because warning as errors are enabled, and clang 5 has a bogus warning. Warning as error should be disabled.

Hi @gracicot
Thanks for posting this issue.
  /home/runner/work/kangaru/kangaru/vcpkg/buildtrees/benchmark/src/278e00fdbd-51ea7c4262.clean/src/sysinfo.cc:447:2: error: #warning is a language extension [-Werror,-Wpedantic]
  #warning "HOST_NAME_MAX not defined. using 64"
   ^
  /home/runner/work/kangaru/kangaru/vcpkg/buildtrees/benchmark/src/278e00fdbd-51ea7c4262.clean/src/sysinfo.cc:447:2: warning: "HOST_NAME_MAX not defined. using 64" [-W#warnings]
  1 warning and 1 error generated.

Do you know why it only happened with clang 5? Since I'm not familiar with clang, so I'm not clear why it happened.
Should we handle this problem in this way?
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-pedantic"

#warning blah blah blah

#pragma clang diagnostic pop

Reference from https://stackoverflow.com/questions/13252220/suppressing-warning-is-language-extension

Hmm, I think this would be the way, if the author of the library decided to use a non-standard feature of the preprocessor, they should not compile with pedantic and warning as errors. Either the pragma or changing the warning configuration would be necessary.
The pragma could be a solution, also maybe there's a config missing. Does the library authors expects the build system to define HOST_NAME_MAX and doesn't define it with clang 5 for some reasons?

I think it would be better to report this issue to upstream. https://github.com/google/benchmark/

@NancyLi1013 I reported the bug upstream, waiting for the response


Multipart mime 3487 v4

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/3487
See https://github.com/OISF/suricata/pull/9424
#1377 with review taken into account
@inashivb do you approve ?

Replaced by https://github.com/OISF/suricata-verify/pull/1385


ACT-665 Re-implement Distribution using Vue: Create modal

Is your feature request related to a problem? Please describe.
This is not related to a problem.
Jira ticket: ACT-665
Acceptance Criteria
GIVEN
I am a logged in user

WHEN
- I go to the Form Library > Distribution page
- I click on the '+ Distribution' button

THEN
- I will see a modal window to add a new Distribution

Additional context
Currently the feature is generated with Django templates using JQuery and this ticket is to render it using Vue.
Example PR as reference for changing Levels and Indicator Type to Vue: https://github.com/hikaya-io/activity/pull/239

I could take this one!


TIM-243 feat(layout): add mobile footer

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#11
#10  👈
#8
#7
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite


Create SimpleNonlinearSolve_Kernel_Tutorial.md

Is any change required in the tutorial content??
@ErikQQY

Use a filename that is consistent with the other files

Use a filename that is consistent with the other files

Changed the name you suggested

Doc build is failing

Is there any syntax issue in the documentation. Ideally it shouldn't happen

You can check the failure https://github.com/SciML/NonlinearSolve.jl/actions/runs/8947164779/job/24579133735?pr=423. In any case, you should be running the code locally before pushing it.

You can check the failure https://github.com/SciML/NonlinearSolve.jl/actions/runs/8947164779/job/24579133735?pr=423. In any case, you should be running the code locally before pushing it.

Sure! Some packages are not installed in the dev while running the code. Also the backend servers are not defined. I'll make the changes soon.


Inverted contrast in some CT studies using MPR, Crosshairs, Volume loader viewer configuration

Hello guys, I hope you are having a nice day.
I open this issue because I think that I'm having an issue in some CT studies.
I'm creating a little viewer using this base configuration https://www.cornerstonejs.org/live-examples/crosshairs and in the 20% of the studies I'm testing are showing with bad resolution and wrong colors like in the following image.

Can you tell me if there is some incompatibility or maybe an extra step in the configuration that needs to be done?
Thanks.

Do you have the data which is anonymized and whether you can share it?

Yes, this is a study with the problem https://drive.google.com/file/d/1leBVI_0JypNdmLj0szzHTmztMuJCTpSp/view?usp=share_link

There are 9 series in this folder, please give me the one that you are showing above

Serie_1 -  ef60b63f-950e-4b24-9910-03d422432952 Is the serie in the screenshot, but you can see the effect in most of the series in that study.

I can't help you, since I asked for anonymized data but you didn't follow the instructions.

Hello can you give me some information about your last response, this study was found in public seeders to test.
I shared all the study in case you need some special metadata in the case the serie with the problem hadn’t a particular key metadata.

You SHOULD NOT share un-anonymized data in public

Thanks for the feedback, I'm to double-check every tag of this study in particular to make sure everything is anonymized before sharing it again.
And I also want to clarify that I encounter the original problem in many studies of similar characteristics, but reviewing the library I didn't find a solution yet, so I think this shouldn't be closed yet, I will appreciate if you can point me in any direction.
I really love what you are doing here.


[improve][broker]Recover as much cursor data as possible, even if entry is invalid

Motivation
see:
#17220
Current implementation: ManagedCursor will skip the invalid data during recover, even if the feature autoSkipNonRecoverableData  is disabled.
Ledger data invalid occurs in two cases:

ledger could not be found
some entries could not be found

Ledger could not be found
When the ledger could not be found, we can recover data from ZK. But when switching ledger, data stored in ZK does not contain individualDeletedMessages, so we can only recover markDeletedPosition from ZK. The current code already implements this.

(High light) Some entries could not be found
When the last entry is could not be found, we can trace the entry forward until one available entry is found, so as to recover data as much as possible. This PR resolves this.
Modifications

As to recover data as much as possible when latest entry could not be found
Add some unit tests for cursor.recover

Documentation

[ ] doc-required

[x] doc-not-needed

[ ] doc

[ ] doc-complete

/pulsarbot rerun-failure-checks


Use pip install to install mmdetection

 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.


nsd: 4.1.20 -> 4.1.21

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/nsd/versions.
These checks were done:

built on NixOS
/nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin/nsd passed the binary check.
Warning: no invocation of /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin/nsd-checkconf had a zero exit code or showed the expected version
/nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin/nsd-checkzone passed the binary check.
Warning: no invocation of /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin/nsd-control had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin/nsd-control-setup had a zero exit code or showed the expected version
2 of 5 passed binary check by having a zero exit code.
0 of 5 passed binary check by having the new version present in output.
found 4.1.21 with grep in /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21
directory tree listing: https://gist.github.com/57f572db82ca8e038bcf1c970d13f10e
du listing: https://gist.github.com/11c687e733f7222872d6e3733c5f9d0b

meta.description for nsd is: '"Authoritative only, high performance, simple and open source name server"'.
cc @hrdinka for testing.

Success on x86_64-linux (full log)
Attempted: nsd
Partial log (click to expand)
shrinking /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/sbin/nsd-control
shrinking /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/sbin/nsd-checkzone
gzipping man pages under /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/sbin
patching script interpreter paths in /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21
/nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/sbin/nsd-control-setup: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21...
moving /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/sbin/* to /nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21/bin
/nix/store/vwidqdayh0l8rf5sjq37hr6ygdxrmkbb-nsd-4.1.21

Success on x86_64-darwin (full log)
Attempted: nsd
Partial log (click to expand)
./install-sh -c -m 644 nsd-control.8 /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/share/man/man8/nsd-control.8
./install-sh -c -m 644 nsd.conf.5 /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/share/man/man5/nsd.conf.5
post-installation fixup
gzipping man pages under /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/sbin
patching script interpreter paths in /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21
/nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/sbin/nsd-control-setup: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
moving /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/sbin/* to /nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21/bin
/nix/store/6k36ypzway2klri32jr8qz7xlql3bdhn-nsd-4.1.21

Success on aarch64-linux (full log)
Attempted: nsd
Partial log (click to expand)
shrinking /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/sbin/nsd-checkconf
shrinking /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/sbin/nsd
gzipping man pages under /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/sbin
patching script interpreter paths in /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21
/nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/sbin/nsd-control-setup: interpreter directive changed from "/bin/sh" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21...
moving /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/sbin/* to /nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21/bin
/nix/store/82dy89zvf81n12n5qvyxhk6kzp15lqfk-nsd-4.1.21


Check if user is not in channel before joining it

Moved the join logic to the null check statement because it wouldn't make sense to add a null channel to a user.
I was trying to tackle #54 but some witchcraft is happening. When the ChatSharp client leaves, it's not properly updating its channel list, leaving the parted channel there. I also noticed that sometimes the Client member of the channel will be set to null after parting. I tried a bunch of ways to try and remove the channel from the client's collection, but none worked.
Thinking about it, I realized that the current code is a bit redundant. You have at least three different ways of accessing IrcClient's channels: either via client.Channels, client.User.Channels or client.Users.Get(message.Prefix).Channels.

Thanks!


Improve README example

Description of changes: Improve simple example in README, in particular

Show how to load data from a DataFrame
Explicitly split data into training/test
Avoid back-and-forth with pandas for plotting reasons (it's in a DataFrame to begin with)

The example is now more verbose, but I think it's clearer (it's not really about it being short, is it?)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

The torch version appears to work worse in this example:

Can we reduce the whitespace? The example looks to cluttered for me.

I got also better runs, but let's keep the model as it is now maybe. Reduced white space a bit, but not too much.

Does it make sense to split up the imports as well:

# Load data from a CSV file into a PandasDataset
import pandas as pd
from gluonts.dataset.pandas import PandasDataset

df = pd.read_csv(
    "https://raw.githubusercontent.com/AileenNielsen/"
    "TimeSeriesAnalysisWithPython/master/data/AirPassengers.csv",
    index_col=0,
    parse_dates=True
)
dataset = PandasDataset(df, target="#Passengers")

# Split dataset into train/test
from gluonts.dataset.split import split

training_data, test_gen = split(dataset, offset=-36)

# Train a DeepAR model
from gluonts.mx import DeepAREstimator, Trainer

model = DeepAREstimator(
    prediction_length=12, freq="M", trainer=Trainer(epochs=5)
).train(training_data)

# Generate test instances and predictions for them
test_data = test_gen.generate_instances(prediction_length=12, windows=3)
forecasts = list(model.predict(test_data.input))

# Plot predictions
import matplotlib.pyplot as plt

df["#Passengers"].plot(color="black")
for forecast, color in zip(forecasts, ["green", "blue", "purple"]):
    forecast.plot(color=f"tab:{color}")

plt.legend(["True values"], loc="upper left", fontsize="xx-large")

Actually, I think that makes it worse!

Yeah I think it's fine to have them on top, it's just 5 lines

Do we also want to have this for the current docs?

Yes, it works on v0.11 too, so we can backport it


stopped working today

Running on arch it worked fine yesterday, but today won't open.

Does it display any errors?

Please run it with python3.6 run_electrum -vdebug with a terminal to see if any errors are there.


Selected item background color

This theme is almost perfect. The only thing I'd change is the background color for selected items or allow to set it manually, because the contrast is too low.

Especially on the tree-view:

You can change the accent color from the settings. Click the cog icon next to the UI theme selector.

In there, you'll find all the options.

Thanks for a quick response. Nonetheless I still think that every possible color from the list is too bright for white-color text in the tree-view. It'd be nice to be able to choose your own RGB value without modifying style files. Btw. md-indigo which is not used by default worked best for me


Add null for HasAccountInformation properties setters

As all properties in UnzerSDK\Traits\HasAccountInformation can be null, this should be added to the setter functions.
Without this change, the direct debit payment method won't work without BIC because the SDK will try to set the BIC to null for EU accounts which throws a type error.

Credits for finding this to @Kahled-Mahmoud-Unzer 🙌

@mkreusch , thanks the PR will be merged to develop branch so that it will be part of nex php-sdk release.


Do not fail the sender when connection fails.

Allow the sender to fail initial connection and retry at intervals.
Messages will be lost in the interim.
By default the original behavior will remain in place - if no retry_intervalconfiguraiton setting is found, the process will terminate.
If retry_interval is set, reconnect attempts are made every $interval seconds.  Any messages handled by the sender in that time will be lost.
ChangeLog-Entry: allow retry of connection to graphite when unable to send/connect to it.
ping @chef/lob /cc @oferrigni

Looks like this breaks the unit tests here:
https://github.com/chef/folsom_graphite/blob/master/test/folsom_graphite_sup_tests.erl#L28

I don't know how many users of this we have, it may be OK to just update the test.  Alternatively, perhaps we could define a default retry interval and start_link/2 could just call start_link/3 with the default interval.

Left a couple minor comment/questions, but otherwise :+1: overall.
As a note for the future us:  When we document this for Enterprise Chef, we should remind people that the retry interval is in milliseconds.

I don't plan to make this tunable in CS - I can't see benefit to it.  The only reason I give the option to configure it is to allow retry to be disabled for external folks using the repo, in situations where continuous capture is critical (and it's not for hosted or CS).

Updated per comments.


feat: cli tool + generator

Summary
Adds a generator so hash files can be created as well as checked. Adds a facade for use as a CLI tool; builds the CLI tool natively with Bun. Many build improvements along the way.
The CLI tool isn't ready for release yet; check works, but generate and freshen are not implemented yet. In all cases, reporting and logging need some cleanup.
Changelog

feat: add cli tool entrypoint and facade
feat: ablity to generate hashfiles as well as check them
feat: standalone binary build via bun
test: tests for hash file generator
test: initial tests for logger interface
fix: entirely drop @actions/glob
chore: ci for native executables
chore: move all transitive deps to dev
chore: rebuild dist
chore: swap to esbuild
chore: dual test with bun and pnpm/node
chore: use corepack
chore: commitlint, lint-staged, husky

@SocketSecurity ignore<EMAIL_ADDRESS>


Check and pass state of delta request availability

To be merged into https://github.com/alcionai/corso/pull/3212

Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[x] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature
[x] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Supportability/Tests
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

I'm merging this in as this looks good. If it requires any more changes, I can add it in the other PR.


stats: zero timestamp bug

Since we extract all blocks and group them by timestamp, there is bug in eth-mainnet stats: stats returns returns 1 Jan 1970 as first date for newBlocks, averageBlockSize, averageGasLimit and gasUsedGrowth charts. Need to remove zero timestamp blocks as we did in https://github.com/blockscout/blockscout-rs/pull/574, but for all charts

https://github.com/blockscout/blockscout-rs/pull/587


Bastion hosts default firewall rules

Stories
-As a Giant Swarm operations engineer, I want connections to be allowed by default from the Giant Swarm VPN exit endpoints to the CAPG bastion hosts of management and workload clusters in order to do support for CAPG clusters.
-As a cluster admin, I want to have a default firewall rule with the lowest priority to drop all network traffic to the workload and management cluster's bastion hosts in order to have a secure configuration out of the box.
Background
The Giant Swarm CAPG provider has support to configure firewall rules for, but the Giant Swarm VPN exit points have to be specified for each workload and management cluster in the values.yml files. This makes the creation of new clusters cumbersome and error prone. It also allows the customer to modify and overwrite by mistake some of the firewall rules which are critical for Giant Swarm to support and monitor the clusters.
Requirements

SSH traffic to the management and workload cluster's bastion hosts (destination port 22) must be allowed from Giant Swarm's VPN exit endpoints on the Internet. The VPN endpoints' public IP(s) must be allowed;
all other traffic must be blocked by default.

Outcome
A new cluster will have 2 firewall rules configured if no other rules are configured for bastion hosts. See previous requirements section for their exact behavior.
The additional firewall rules, if there are any, will be present besides the default rules.
Any additional firewall rules configure in values.yml, if there are any, will be present besides the default rules.
Checks

[ ] traffic is allowed from the management cluster;
[ ] traffic is allowed from the VPN endpoints;
[ ] all other traffic is dropped by default;
[ ] any extra firewall rules have higher priority then the default block everything rule;
[ ] opsctl login works for management clusters;
[ ] opsctl login works for workload clusters;
[ ] kubectl-gs get nodes lists all nodes.

Resources

VPC firewall rules;
Giant Swarm VPN;

This is done with v0.5.1 release of capg-firewall-rule-operator


Add SSA support for VMs on GlusterFS

Attempting SSA on a VM residing on GlusterFS results in:
"Vm storage type [GLUSTERFS] not supported [1], aborting job [21364a36-bffe-11e5-94bc-001a4a16017a]."

Is there any progress on this.

Fixed by PR: https://github.com/ManageIQ/manageiq/pull/8165


Added options: Credit payment category warnings, Highlight all negative category balances red

I have introduced two new options related to displayed category balance colours. The code in each of the main.js files may need to be cleaned up a bit (especially if there is a better way to do it than constantly polling the page every 300ms), but the constant polling with this iteration at least keeps the functionality working when a user navigates to an from their budget view.
I introduced an option that scans the balances in the credit card payments master category and matches them to accounts found in the register. If the total between the two matching account names do not equal zero (but remains a positive number), I force a 'caution' class. This should be useful for PIF credit card users.
I also added an option that scans the available balances in the budget and if the value of the balance is less than zero, I force the 'negative' class. Now any negative balance will use the 'negative' class, replacing instances where it might be 'cautious' (yellow) due to credit card overspending instead of cash overspending.
Both options can work independently of each other and should not conflict with the colourblind mode.

I like it. I think we'll find a better way to attach to data changes rather than poll in the future, but this will work for the time being. It's not that much work for the browser to do approx 3 times per second.
The only thing that would be awesome in the future is updating the readme.md file while you're at it, but I can do that!

Just saw your comment on the forums, sorry for the delay! I'm in Sydney, Australia, so I tend to get to merging these after work our time if that helps.


Don't pass variables to the modules that don't declare them

This fixes issue #39.
Terraform 0.12 returns an error, if we try to pass a variable to the module that didn't declare it.
Looks like there was a bug in the logic of binding variables that user provided to the arguments defined in the config.
This PR fixes it and adds a test for it.

 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.


"gettransaction_MP" returns large number of false invalid transactions

I'm finding that as I make gettransaction_MP calls, I've been running into a large number of transactions with "valid: false" with "Invalidreason: Unknown error."  I've spot checked these transactions on Omniexplorer.info, and they all appear as valid.  An example transaction where I run into this issue:
1b3a9d4e4ea7ac4b321e9e826519874a8b2b6bf4c242dea50f9e260987352a8a"
When I receive other reasons for invalid transaction, e.g. "Sender has insufficient balance", these transactions ARE invalid according to Omniexplorer.

What version do you use?
Method gettransaction_MP is depreciated in 0.3.0 version. https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md#depreciated-api-calls

I'm using 0.3.0 (I downloaded and installed from http://www.omnilayer.org/download.html).  I tried the updated call "omni_listtransactions" and got the same response.

Please, provide here an example of your request

It appears to be working now - I'm not quite sure what I did different.  Would it matter if omnicored was able to access the internet, as long as it is up to date?

@mv1929: if the client is synchronized, there shouldn't be a different result.

I had the same problem, and here's what I did
guoxingyun@ubuntu:~/omni_bit/omnicore_fork2/src/bitcoin_guo$ ../omnicore-cli -datadir=/home/guoxingyun/omni_bit/omnicore_fork2/src/bitcoin_guo -rpcport=16667 omni_gettransaction "63964e618244637584973e3922b3d8bf5dcea15e729fdea0b5e1c614e9a573a5"
{
"txid": "63964e618244637584973e3922b3d8bf5dcea15e729fdea0b5e1c614e9a573a5",
"fee": "0.00006780",
"sendingaddress": "16rZqhgH1u5fyrt6hTjoUoxUnhrN9D5chX",
"ismine": true,
"version": 0,
"type_int": 50,
"type": "Create Property - Fixed",
"ecosystem": "main",
"propertytype": "indivisible",
"category": "gxy2",
"subcategory": "test2",
"propertyname": "bbb2",
"data": "20181112",
"url": "yunyi2",
"amount": "1000000",
"valid": false,
"invalidreason": "Unknown error",
"blockhash": "000000001218fec296d3df0cf7cddc739322ef0495e51b690be232f59279a7e1",
"blocktime":<PHONE_NUMBER>,
"positioninblock": 999999,
"block": 719,
"confirmations": 1
}
guoxingyun@ubuntu:~/omni_bit/omnicore_fork2/src/bitcoin_guo$ ../omnicore-cli -datadir=/home/guoxingyun/omni_bit/omnicore_fork2/src/bitcoin_guo -rpcport=16667 omni_sendissuancefixed "16rZqhgH1u5fyrt6hTjoUoxUnhrN9D5chX" 1 1 0 "gxy2" "test2" "bbb2" "yunyi2" "20181112" "1000000"


PE : parse Import, Delay_import tables & save imported_symbols

Before : - save dependencies from 'Import' table, not any imported_symbols

One binary, many nodes (with --chroot) (fork version)
/my.dll
/sub-directory/my.dll
/home/user/chroot-dir/sub-directory/my.dll
-Problem to build binmap.exe on Windows (CMakeList.txt)

Now : - save dependencies & imported_symbols from 'Import' & 'Delay_Import' tables

One binary one node:
/sub-directory/my.dll (if present)
if not present : /./not-here.dll (easily to find them)
-Possible to build binmap.exe on Windows (delete one line on CMakeList.txt)

Could help to build on Windows :
./binmap-master/_build> C:\Users\user\Documents\cmake-3.9.0-rc2-win64-x64\bin\cmake -
DBoost_DEBUG=ON -G "Visual Studio 12" -DBoost_USE_STATIC_LIBS=ON -
DBOOST_ROOT=C:\local\boost_1_56_0 -DBOOST_LIBRARYDIR=C:\local\boost_1_56_0\lib32-msvc-
12.0 -DZLIB_LIBRARY="C:\Program Files (x86)\zlib" -DZLIB_INCLUDE_DIR="C:\Program Files
(x86)\zlib\include" -DPYTHON_INCLUDE_DIR="C:\Python27\include" -
DPYTHON_LIBRARY="C:\Python27" ..

wow, the windows integration part looks ok (could be a seperate PR to make everything easier), can you detail the feature implemented by the delay import mechanism? i'll review that tomorrow :-)

There are two import tables in PE binaires : Import and Delay_import, I've made the structure of Delay_Import in PE.hpp. It parses the two tables to get the deps, then parses each ones again to get the symbols (decoder.cpp)
Actually, I've made all the changes in the same version. So, what are the PR you'd like? It may be possible to do it.

It's ok (and actually pretty nice) to have the delay_import feature in a single commit. if you could just extract the small change related to the Windows build and put it in a seperate PR, that would be great. I'll start to review your code afterward.

@gougeon-s I di not review everything, I'd like to settle the add_node returns a path before.

@gougeon-s I impelmnted the error formating stuff in a seperate commit to make it easier to keep this PR simple, see d92e35c739be10df927aa3db6d5e0064f4717662

Nice. Well, I'm sorry for the many annoying things (comments etc) or if I misused something. It is the first time I contribute to a project.

That's OK, we're heading in the right direction, and the actual content of the PR is great, just have to sort out the noise :-)

@gougeon-s I've made my final remarks, once everything is update, you can rebase on master, squash all your changes in one commit and that will be ok. Thanks again for the contribution and your patience during the review process.

I have done the changes needed. I hope there won't have any issue with the indent (some tabs have been changed into spaces..?)
If it is ok with this commit, I will do a new & cleaner PR  tomorrow

Appart from the tabbing and one missing doc point in the code I'm ok with the PR, thanks a lot

Thank you for all the advices, I have made a new PR with only 1 commit :)

closed by #14