[DPG] Set the default SuppressNestedSpans flag to true for DPG clients

Fixes: https://github.com/Azure/autorest.csharp/issues/2167

This PR is failing for this test case here, so I created an issue - https://github.com/Azure/azure-sdk-for-net/issues/28354 to fix this.


work around a potential issue found in restart test suite

Scope & Purpose
The restart suite seems to fail with connection errors on Windows.
This is potentially due to arangosh/fuerte not playing nice with connections that are established to a server that is shut down and then restarted.
This PR is an attempt to work around this issue. It may fix the problem in the tests, or it may not.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] Backports required for: 3.6

Testing & Verification

[x] This change is already covered by existing tests, such as restart.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13241/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/13241/
http://jenkins.arangodb.biz:8080/job/arangodb-ANY-windows-matrix/1653/

Tests blue except unrelated failure.


Add PEP621 support

Is your feature request related to a problem? Please describe.
Add support for Pep621, which is used by e.g. PDM.

There is no unified way to specify dev dependencies according to PEP621, see here. Therefore I propose we build support for PDM first, which should cover 99% of the usecases for PEP621.


Doesn't respect classes inside single quotes? (in AlpineJS)

Having a case like this:
<div x-bind:class="loading ? 'disabled:bg-button-filled-surface-enabled disabled:text-on-button-on-filled-enabled' : 'cursor-not-allowed disabled:bg-button-filled-surface-disabled disabled:border-button-filled-stroke-enabled disabled:border-button-filled-stroke-disabled disabled:text-on-button-on-filled-disabled'">

after saving, it becomes this:
<div x-bind:class="loading ? 'disabled:bg-button-filled-surface-enabled disabled:text-on-button-on-filled-enabled' : 'cursor-not-allowed disabled:bg-button-filled-surface-disabled' disabled:border-button-filled-stroke-enabled disabled:border-button-filled-stroke-disabled disabled:text-on-button-on-filled-disabled">

as you see, the quote breaks here: ...ed-surface-disabled' disabled:border-b...
is there a way to do this? the regex seems a bit complex :|

The Regex is pretty gnarly I'll admit.
What is going on here is that everything within double quotes is being treated as a space delaminated classname string, so the single quote is being treated as part of the disabled:text-on-button-on-filled-disabled class.
You can disable this behavior by changing the html regex from:
"class=((["'])(?:(?:[^{}<>](?!\\2))|\\\\\\2)+[^{}<>])\\2" to "\\sclass=(([\"'])(?:(?:^{}<>)|\\\2)+[^{}<>])\2"
which will require a space before the class property in order to match. This will make it so that x-bind:class no longer matches that regex.
Then you can look at adding an additional regex that targets the x-bind:class format itself. You'll want to be fairly specific so in this case I would try and craft your regex to only match the ternary operator with two string literal results wrapped in single quotes.
In my next update, I will make the space before the class property the default html regex so it won't accidentally break alpine JS and similar binding tools that use the prefix:class format

Thx :)
Another workaround for Alpine people that might come across this issue, is to use the object syntax rather than ternary operator:
:class="{
  'my list of classes': boolean,
  'my-other-list different-class': !boolean
}

@kg-currenxie Thank you for the alternative. I'll leave this issue open until the default has been changed

With today's update to version 3.1.0, the bound class should no longer match by default.
I will probably examine making some options for enabling ternary support in alpine js in the future.


Set UseTimestamp to true by default when creating Smart Gateway

 Adjust server side automation for HA SG

@csibbitt would you agree that we should also change the default here to match what we configure for the SAO? I know it's a bit of a duplicate setup, but if you use the SG independent of the SAO then I suppose we should set the defaults to match what we've tested?

@csibbitt uhhhh I totally just realized we have a separate repo for the OCP4 Smart Gateway Operator... I'll check there as well. There is probably no reason we don't want this change here as well, although it's probably effectively a NoOp() from a downstream perspective.
I'll go and review the other smart-gateway-operator repository for the same change, but I should try and figure out how to merge them into a single repo at this point. I was having issues with something the first time around, but I think it was mostly a building issue during development. I shouldn't have the same issues now.


[FEATURE] Pantry management

[x] can create a new pantry item: name, upload photo, quantity, category(pre-defined list), warning level amount

[x] can increase or decrease the item quantity, one at a time

[x] can modify the item such as uploading new photo, or quick edit the quantity

[x] can delete the item

[x] show the names of items less than {warning_count} in red

[x] categorize the items, can show items by All, or category e.g. Drinks, Can food, grains...

Completed in PR #17


Add metadata support into promisifyAll

fix #4

Coverage decreased (-2.9%) to 92.8% when pulling 5fdb7d230e456c3a5d2ad7621d5b97b7b5063729 on add-metadata-support into 0b494412fd70f65c22018b6e4b36132c01440e7b on master.


Add descriptions to unknowns in the DREAMOutput

When printing unknowns, such as
do.eqsys.psi_p
it would be useful if it could give not only "psi_p: Fluid quantity of size ..." but also a brief description of what the unknown represents and its dimension, in this case (for example)
psi_p: Poloidal flux normalized to major radius R0 [W/m]. Fluid quantity of size...

I think that a logical place to insert the descriptions could be in Output/EquationSystem.py when setting the SPECIAL_TREATMENT's?
@hoppe93

Sounds like a good idea! Either in Output/EquationSystem.py or directly in the kernel? It is possible to add "attributes" to output data (this is how we add descriptions to OtherQuantitys), and then we should perhaps specify the description of the quantity when we define it in the kernel?
On a pretty related note, we could perhaps also write the description of the equation used as an attribute for the unknown to the output file? We already have that description so it should be a simple matter to also store it in the output.

I like that idea too. Automatically print both definition and equation then? Would be neat I think!

@Embreus I just implemented this using attributes in the kernel. Descriptions are defined in src/Settings/Constants.cpp. Feel free to update them if you feel you have better ideas for what they should say!
The description of the equation used is also saved as an attribute. The two are available from any UnknownQuantity via
E_field.description
E_field.description_eqn

and similar for all other unknowns. They are both included in the string version of the unknowns.


[docs] fixed some typos and grammatical errors

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

Hi @pushkyn !
Thanks for you contribution!
Unfortunately, modifying parameters description (Parameters.rst) is not so trivial. You should make your changes into the config.h file and then run python ./helper/parameter_generator.py script. The python script will update the docs. That is how it works.

I'm sorry, I was not attentive enough when I read the docs for contribute. Now I updated config.h file. Thanks.

@pushkyn No problem! Thanks a lot!


How to add cookies?

Hello,
Just a question not issue, how do I add cookie to session? I am trying to add it like this however its not adding cookies.
setsession
localhost:8080/api/forward
payload: {
"tlsClientIdentifier": "chrome_110",
"requestUrl": "http://httpbin.org/cookies",
"sessionId": "2",
"followRedirects": true,
"requestMethod": "GET",
"withRandomTLSExtensionOrder": true
}
setcookies
localhost:8080/api/cookies
payload: {
"sessionId": "2",
"cookies": [
{
"name": "cookieName",
"value": "cookieValue"
}
]
}
now it should have set the cookies however when i see the body its empty
getcookies
localhost:8080/api/forward
payload: {
"tlsClientIdentifier": "chrome_110",
"requestUrl": "http://httpbin.org/cookies",
"sessionId": "2",
"followRedirects": true,
"requestMethod": "GET",
"withRandomTLSExtensionOrder": true
}
response
"body": "{\n  "cookies": {}\n}\n"
Expected
"body": "{\n  "cookies": {\n    "cookieName": "cookieValue"\n  }\n}\n"

@j9a12c20k on the tls-client-api there is no endpoint to add cookies to a session. only an endpoint to get cookies from a session.
you need to add the cookies to the actual forward request (your create session step).
The field is: "requestCookies" and this is an array of cookie objects.
"requestCookies": [
{
  "name": "",
  "value": ""
},
{
  "name": "",
  "value": ""
}
]

Thank you for the response, when i use that then cookiejar does not work it forces requestCookies and ignores cookiejar's values


Plot::Items::default_visible allow hidden on init

added feature described in this issue  #2395

egui_plot has recently been moved to its own repository, at https://github.com/emilk/egui_plot
This will hopefully speed up its development by having more reviewers and maintainers.
Please re-open this PR at https://github.com/emilk/egui_plot/pulls
See also:

https://github.com/emilk/egui/issues/4705
https://github.com/emilk/egui/pull/4828


MQTTs to AWS IoT / Use MTCAP with AWS IoT

Hi, i'm trying to figure out how to get the MTCAP-868-001A to send messages to AWS IoT.
I have configured the "Default App" with the certificates and Hostname in the format:
mqtts://xxxxxxxxxxx-ats.iot.eu-central-1.amazonaws.com:8883
It does actually work as i can see the following message appearing on the topic. I have truncated some values just for privacy.
Topic: lorawan/00-************-32/8BA1########################2179/init
{"gateways_euis": ["00-00-00-00-00-0?-??-??"], "time": "2022-09-22T18:52:14.892532Z"}

After this however nothing happens anymore. Am i using it wrong or what else do i need to do to get some sensor data appear on the mqtt server?
Log
2022-09-22T16:08:47.110315+02:00 mtcap lora-app-connect: Set log level 20
2022-09-22T16:08:47.518113+02:00 mtcap lora-app-connect: Call setup MQTT App
2022-09-22T16:08:47.526137+02:00 mtcap lora-app-connect: Setup MQTT App
2022-09-22T16:08:47.628371+02:00 mtcap lora-app-connect: MQTT connect mqtts://xxxxxxxxxxx-ats.iot.eu-central-1.amazonaws.com:8883
2022-09-22T16:08:48.131284+02:00 mtcap lora-app-connect: MQTT Disconnect reason  1
2022-09-22T16:08:48.949236+02:00 mtcap lora-app-connect: Start client
2022-09-22T16:08:48.971148+02:00 mtcap lora-app-connect: Connected with result code 0

After this its only message is a repeated:
     mtcap lora-app-connect: Check for app updates

Thanks for any help / hints!
Note that it would be also very helpful if the default MQTT settings would allow TLS / Certification authentication and not just username/password.

The connection to the server looks good since you see the init topic.
Do you have devices configured with the same AppEUI used in the Default App config?

Thanks - Ah this is something i did not entirely understand. So i should set the "App EUI" of each device to the same used in the Default App config ?

Did you perform a new join with your device?
Maybe have a look at the settings in the device session page?
What is the Join EUI and App EUI of the session?

Hm. The join EUI and App EUI is the same for each device, however each device has a different one.
Is something published only when "last seen" is triggered?
JoinEUI
00-18-xxxxxx-53-32
AppEUI
00-18-xxxxxx-53-32

Are all end-devices using the same key that is configured as Network Key?
I would expect the Session AppEUI to match the NetworkID (A000000000000102)
Do you have Keys configured for both Local Network Settings and Local End-Device Credentials?
If you are using End-Device Credentials the AppEUI for each device should be set to the Default App : AppEUI, this setting does not need to match what the end-device has configured as Join EUI. Only the DevEUI is used to lookup the AppKey used to join the network.
There are two paths the Join Request can follow but only one can be successful. First the network looks up the DevEUI in the end-device credentials to find an AppKey and check the Join Request. If the device was not found it will check the Join EUI against the NetworkID and use the NetworkKey to check the Join Request.
It looks to me that you have both setup but the Local End-Device Credentials are being used. I this case since the Join EUI is different from each device you must use the Local End-Device credentials to Join but should change the AppEUI to assign the device to the correct application that will then forward messages through the Default App.
I will be adding additional details to the documentation based on this discussion, thanks so much for your questions and feedback.

Should i see a join request here ?

Still trying to figure out whats wrong, i set the App EUI for all devices to the same as the Default App EUI, but that didnt change.
Also i noticed that data is coming in very slowly (2 hour rate), so maybe its a bad device configuration after all

Im still trying to understand your last post and im looking forward to the details you will add to the documentation :) Thanks again for the speedy responses!

Hi again, to exclude a device misconfiguration i tried out the default mqtt broker which uses username-password authentication and here i can see much more data, which in my understanding shows that in theory it should work. Now the question is: Does the "Default App" actually send data like this, which i received via the regular MQTT ?
lora/70-b3-d5-8f-f1-02-6c-f9/mac_recv

lora/70-b3-d5-8f-f1-02-6c-f9/up

lora/00-80-00-00-00-01-d6-32/70-b3-d5-8f-f1-02-6c-f9/packet_recv


v1.4

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/meta.html#use-pip

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Is it worth adding hyperspy-gui-traitsui as runtime dependency for convenience, now that traitsui/pyface are qt5 compatible?

Sounds good, I'll try.

I have the same test failure locally (on linux) than the appveyor one (test_empty_stream[True]), I have noticed it ony recently and I haven't had time to look at it but it may be necessary now...

The test failure in appveyor comes from numba=0.39! Downgrade to 0.38.1 works.

Good catch! If that's a numba bug it'll be good reporting it to the developers. I'll update the requirements.

It'll be good to also open an issue about it in the hyperspy repository to track the issue.


Build broken for 32-bit platforms

cmarget@cmarget-mbp terraform-provider-apstra % GOOS=linux GOARCH=386 go build -o /dev/null
# github.com/Juniper/terraform-provider-apstra/apstra
apstra/resource_freeform_resource.go:74:108: cannot use constants.AsnMax (untyped int constant<PHONE_NUMBER>) as int value in argument to fmt.Sprintf (overflows)
apstra/resource_freeform_resource.go:119:93: cannot use math.MaxUint32 (untyped int constant<PHONE_NUMBER>) as int value in argument to fmt.Sprintf (overflows)

This is failing because constants.AsnMax and math.MaxUint32 are untyped. Using them as int works fine on 64-bit platforms (they fit), but fails for 32-bit builds.

Closed by #845


Implement passing multiple package names at once

Is your feature request related to a problem? Please describe.
Not a real problem. Just for convenience :)
Describe the solution you'd like
I want to pass an array of strings to Uninstall-ChocoPackage, Install-ChocoPackage, and other functions where this sort of feature makes sense.
It is currently not possible to do
Install-ChocoPackage -Name "firefox","vlc"

Describe alternatives you've considered
One could do this
Install-ChocoPackage -Name "firefox"
Install-ChocoPackage -Name "vlc"

Additional context
I think this makes sense for a lot of functions in order to support a wider range of use-cases.
For example:
Get-ChocoPackage could use this to list more than one but not all packages
I'll create a PR for Uninstall-ChocoPackage and Install-ChocoPackage later

@we-mi please check the branch linked to this issue. I've tested it and it seems to work as expected.

Hey @regg00,
this works indeed, but the package-Name parsing seems a bit too complicated.
It is somehow related to what I was writing in issue #7.
The parameter Name is treated as an object (any object) and not explicitly as an array of strings. So you could also pass an Integer or a DateTime-Object to it, which per se will fail.
To simplify things you can just use [String[]] $Name for the parameter and loop through it.
This will bring you at least two advantages:

You don't need to check the parameter type of the array elements. It is going to be a String.
It is definitely an array of strings even if you just pass one single string to it

You can then just loop through $Name and be sure to loop through every element of this String-Array.
I will create my PR in a couple of minutes even though this issue has been closed already.
The PR will include the changes for Install-ChocoPackage and Uninstall-ChocoPackage and some changes in the end {} -block, which I will describe in the PR

@we-mi Just saw your last commit and, I got to say, it's much cleaner your way.
Seems like I completely forgot about what you said in #7
Can't wait for the PR to come in.

Don't worry, no offense taken.


ASAN build excluding additional files for packaging

Changes proposed:

Changes for ASAN Packaging
Will enable only required files for ASAN Packaging. (library and License file)
Search Path for tensile/Kernel files enhanced for asan libraries.

Please wait for the ci completed before merging (ci not start yet)


Fixing issue where anchor idicator does not show on hover

If you hover on the headers at the moment, the anchor indicator doesn't show unless you hover on where it is, which isn't very discoverable.
This fixes that problem

nump

Nice improvement :+1:

How often are changes deployed?


Designing a GUI using Gradio

I have briefly used Gradio before and could have an attempt at designing a frontend for the project. However, before starting, I wanted to discuss how much feature parity we could achieve with DeepMind's AlphaFold server.
Currently, their implementation supports taking as input sequences/fastas of proteins, DNA, RNA, ligands and ions. Should I keep anything in mind while trying to replicate the following in Gradio? I will definitely be coming back with more questions regarding the output of the model, but for now I will try to implement the basic elements.

I love the initiative here! Thanks for kicking this off

If it helps, here is already a similar implementation in gradio for RFAA.

@vandrw hey Andrei! i think we should just try to stretch gradio to as much as it can offer
realistically it is just a multi-input form that calls the model and renders the structure, with some other heatmaps on the side for confidence. it shouldn't be too difficult imo, but i actually was an app dev for over a decade prior to the career switch into AI.

@vandrw hey Andrei! i think we should just try to use gradio as much as possible
i'm sure there are limitations however, and we can always go for a more complete UI sans gradio at a later date, and only if we figure out some missing UI component has a big enough value add
for starters, i think just having a multi-input form for the various bio sequences + rendering the pdb and associated confidence heatmaps is good enough?

@lucidrains Hi! Thanks for looking into this! I'm not worried about the graphical elements, but I was merely wondering if there are certain things we don't plan to support. I am still quite inexperienced with the AlphaFold model input and output that you have coded, and when I wrote this issue, I didn't look too closely at the Alphafold3Input class. However, after having a closer look, it seems I answered my own question 😄
I will start working on this once I manage to debug the template unit vector code!

@vandrw yup exactly! Alphafold3Input should be intuitive enough, if i designed it well
we will also need a few tests to ensure that the same PDBInput and Alphafold3Input converges to the same AtomInput representation. Alex and I kind of just worked off different input pipelines to parallelize work

@vandrw would say, if you haven't developed an app before, just focus on single string input protein sequence -> pdb -> rendering with 3dmol + gradio or whatever lib is popular these days. then we can slowly work our way up to a more complex form for multichain + nucleic acids + ions

re: plan to support - i haven't actually played around with their UI yet, so you'll have to let me know which things you are referring to

@lucidrains I was jumping the gun a bit here, but for example, the AlphaFold Server supports glycosylated proteins. According to their FAQ:

The Server supports the following glycan residues to be attached to a protein residue

N (Asparagine): BGC, BMA, GLC, MAN, NAG
T (Threonine): BGC, BMA, FUC, GLC, MAN, NAG
S (Serine): BGC, BMA, FUC, GLC, MAN, NAG

The Server assumes that glycosidic bonds are formed between atoms at positions that have the highest frequency of occurrence in similar bonds from the PDB - this might lead to different bond positions in the modeled structure than expected. Specifying exact atoms for the glycosidic bond is not currently supported.

I was wondering if we need to perform any additional checks for such inputs. However, as I mentioned, I'm probably a bit ahead of myself here. This can be addressed once we have an initial version :)
Regarding my experience with app development, I've done some work in this area before. I can definitely use custom JS if the basic gradio capabilities are lacking. I will see how far I go with this! Thank you very much for your suggestions 😄

@vandrw let's definitely save modified biomolecules for last, as there is a lot of complexity there (which is mainly reflective of biology in general)

@vandrw put down some basic scaffold here
eventually end researcher will just do alphafold3_pytorch_app --checkpoint ./path/to/alphafold3.pt

Hi, I developved an Alphafold3 GUI. Project url: https://github.com/Hanziwww/AlphaFold3-GUI.

@Hanziwww very cool! keep up the great work!

@lucidrains Thanks. Now I released a new version with visualization.
1. Visualization Module

2. Visualization GUI Interface

3. Online Usability

To make this even more accessible, I have deployed an online app where users can upload their AlphaFold3 result files and visualize them in real time.
This app is fully functional and available at the following link: Usable visualization site (fully usable)


watch doesnt work for me

i use a very simple app like this:
var express = require('express'),
browserify = require('browserify'),
app = express.createServer();
app.use(express.static(__dirname+'/public'));
app.use(express.bodyParser());
app.use(browserify({
require: [
'./client'
],
watch: true
}));
console.log('serving on :3001');
app.listen(3001);
client.js requires a few modules but nothing complicated.
whenever i change client.js or a related module and reload my web page i get the following message
Cannot find module './client'
[Break On This Error] throw new Error("Cannot find module '" + x + "'");
The only way to fix it seems to be to restart my node app which is really annoying!
Am I doing something wrong or is browserify not doing what I expect?

Run browserify --watch -e file.js -o file.bundle.js also doesn't work for me. On file.js changes, the bundle is "modified" but the contents doesn't change, so browserify closes.


Improve translations handling

Whilst CrowdIn really helps out with translations, if we ever have to manually add a translation string, we have to add it to every file.
I get annoyed with this myself (and sometimes just don't do it) - so I can imagine developers/translators getting frustrated when adding a new feature.

@cachethq/owners any ideas on how to do this?

This package seems interesting and provide useful commands to at least add new strings everywhere

Yeah, we're going to need to modify the package though, so that it uses short-array syntax etc.

And fix the wrong indentation.

No longer accepting PR's for langs except English. Only CrowdIn. I'll keep 'em in sync.


Bump build to 1 for another build attempt

Version 2.5.2 was merged into main without a passing CI, and as a result, no packages could be built. (The build failed because hatchling didn't seem to be on Conda-Forge, but I think it should now work.)

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@adament and @gaborbernat, I had to add the build system requirements to the recipe's host requirements section, and now it's building correctly. This should now be ready to merge.

@conda-forge-admin, please rerender


Loud warnings

I'm going to assume this was approved by caker and/or Howie.
From a technical PR perspective I approved.

looks good to me - Slack Howie

@Dorthu tomorrow

Please point this at master


Add support for HiveContext

Currently only SQLContext is supported. Since HiveContext offers the superset of operations, and is already available on the classpath, it seems appropriate to expose this to users to be able to interact with datasets in the Hive metastore.

Some (most?) Hadoop distributions do not have the build of Spark jar with Hive
http://spark.apache.org/docs/latest/sql-programming-guide.html#hive-tables
"Spark SQL also supports reading and writing data stored in Apache Hive. However, since Hive has a large number of dependencies, it is not included in the default Spark assembly. Hive support is enabled by adding the -Phive and -Phive-thriftserver flags to Spark’s build. This command builds a new assembly jar that includes Hive"
Would that be a problem?

As it turns out, it is already on the classpath. Also, Hive is already supported it seems

Example:
import org.apache.spark.sql.hive.HiveContext

val hc = new HiveContext(z.sc)
val rdd = hc.sql(""SELECT 1 as x").cache()
val q = z.sqlContext.applySchema(rdd,rdd.schema)
q.registerTempTable("t")

%sql
SELECT * from t

Cool.
This requires spark-hive in the classpath right?
I don't have it there but I think it's cool. They (Michael Armbrust) say HiveContext is the superset and we should all use it..

I created small improvements at #306.
The idea is basically let user configure what kind of context (HiveContext vs SQLContext) %sql is going to use.
@btiernay suggested way still uses SQLContext when it queries with %sql.
Will it help this issue? or is there better way to handle it?

I like what you've done. Much better. Mine was just showing how it was possible but very awkward.  Thanks!

I guess this issue is nicely handled by #306 , let's close this one.

Its working fine in Zapplien , I have been writing in Scala IDE, when I tried loading or creating hive tables using HiveContext, it's creating or searching locally in metastore_db , wven though I placed   hive-site.xml in Spark conf folder and even in my class path , How to make my application to pick from hive-site.xml metastore
I tried:
objHiveContext.setConf("hive.metastore.warehouse.dir", "hdfs://ServerIP:HiveportNum/apps/hive/warehouse")
Can anyone help on this???

@sudhir9p This github repository is no longer in use. see https://github.com/NFLabs/zeppelin/blob/master/README.md
If you're writing spark application in your ide, you can try include hive-site.xml in your application's classpath.


Catch temp file unlink

A common issue I keep coming across on Windows is unlinking a temporary file that is no longer there.
Unlinking a file that does not exist throws an exception which results in the lock never getting released.
It may be useful to look into why the temp file is not there, but either way the exception should be caught.
[Error: ENOENT: no such file or directory, unlink 'C:\Users\Advplyr\myproject\mydata\tmp\data.4.json.1634855604579.tmp'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'unlink'
}

It's hard to say which update was actually being called that time. This one is uncommon, maybe once a week.
https://github.com/advplyr/audiobookshelf/blob/master/server/Db.js#L171
That is the relevant function, and it seems to only happen with the users db that I noticed.
I believe this user is coming across the same issue: https://github.com/advplyr/audiobookshelf/issues/81
I couldn't figure what that was about, but the only way the user would be getting reset is if it was no longer there i.e. the json file was deleted.

Actually the issue I linked may not be related to this. Since he mentions the other users in the database remain intact then the json file must not have been deleted. Still an anomaly I guess on that issue.


Experiments using large kernels

Thank you for your interesting work!
Would you consider using a very larger kernel in upcoming experiments? Currently, there exists a performance disparity between the proposed method and Mamba-based models when it comes to handling tasks with high-resolution inputs. It would be captivating to observe whether employing very large kernels can effectively bridge this gap.

Hi @LMMMEng , for this paper version, we think current experiments are enough to support our hypotheses, but we may conduct experiments on larger kernels in follow-up or extension work.

Thank you for your reply. Very solid work!
---- Replied Message ----
| From | Weihao @.> |
| Date | 5/17/2024 17:01 |
| To | @.> |
| Cc | Meng @.> ,
@.> |
| Subject | Re: [yuweihao/MambaOut] Experiments using large kernels (Issue #199) |
Hi @LMMMEng , for this paper version, we think current experiments are enough to support our hypotheses, but we may conduct experiments on larger kernels in follow-up or extension work.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Regex saved fields to optionally reduce TecPlot output file size

Partially addresses #94
Adds an include string argument to write_devices that is used to filter node and edge models when saving to TecPlot. include is a regular expression, and only node/edge model names matching the string will be saved. It defaults to ".*" in order to recover legacy behaviour (save everything).
Limitations/possible improvements:

The include argument  is currently not used for other file formats, but the same regex parsing could be added there too.
The include argument is not used to filter out "global" data (x,y, etc.), but could be added there too.

Example use and output, for the same device:
Command:
ds.write_devices(file=file, device=device_name, type=type)
Output file header:
TITLE = "450991316286470493"
VARIABLES = "x", "y", "Acceptors", "AtContactNode", "ContactSurfaceArea", "DEG", "Donors", "EC", "EC:Potential", "EFN", "EFN:Electrons", "EFN:Potential", "EFP", "EFP:Holes", "EFP:Potential", "EG", "EI", "EI:Potential", "EV", "EV:Potential", "ElectronGeneration", "ElectronGeneration:Electrons", "ElectronGeneration:Holes", "Electrons", "HoleGeneration", "HoleGeneration:Electrons", "HoleGeneration:Holes", "Holes", "IntrinsicCharge", "IntrinsicCharge:Potential", "IntrinsicElectrons", "IntrinsicElectrons:Potential", "IntrinsicHoles", "IntrinsicHoles:Potential", "NC", "NCharge", "NCharge:Electrons", "NIE", "NSurfaceNormal_x", "NSurfaceNormal_y", "NTOT", "NV", "NetDoping", "NodeVolume", "OptGen", "PCharge", "PCharge:Holes", "Potential", "PotentialIntrinsicCharge", "PotentialIntrinsicCharge:Potential", "PotentialNodeCharge", "PotentialNodeCharge:Electrons", "PotentialNodeCharge:Holes", "SurfaceArea", "Tn", "USRH_bulk", "USRH_bulk:Electrons", "USRH_bulk:Holes", "USRH_surface", "USRH_surface:Electrons", "USRH_surface:Holes", "V_t", "coordinate_index", "core___via@e_p1nodeelectrons", "core___via@e_p1nodeelectrons:Electrons", "core___via@e_p1nodeholes", "core___via@e_p1nodeholes:Holes", "core___via@e_p1nodemodel", "core___via@e_p1nodemodel:Potential", "ge___via@e_nnodeelectrons", "ge___via@e_nnodeelectrons:Electrons", "ge___via@e_nnodeholes", "ge___via@e_nnodeholes:Holes", "ge___via@e_nnodemodel", "ge___via@e_nnodemodel:Potential", "mu_n_node_lf", "mu_p_node_lf", "node_index", "region_box_at_bulk", "region_box_at_interface_core___box", "region_clad_at_bulk", "region_clad_at_interface_core___clad", "region_clad_at_interface_ge___clad", "region_core_at_bulk", "region_core_at_interface_core___box", "region_core_at_interface_core___clad", "region_core_at_interface_core___ge", "region_ge_at_bulk", "region_ge_at_interface_core___ge", "region_ge_at_interface_ge___clad", "region_via@e_n_at_bulk", "region_via@e_p1_at_bulk", "via@e_n___cladnodemodel", "via@e_n___cladnodemodel:Potential", "via@e_p1___cladnodemodel", "via@e_p1___cladnodemodel:Potential", "DField", "DField:Potential@n0", "DField:Potential@n1", "EField", "EField:Potential@n0", "EField:Potential@n1", "EdgeCouple", "EdgeInverseLength", "EdgeLength", "EdgeNodeVolume", "Electrons@n0", "Electrons@n1", "Epar_n", "Epar_n:Potential@n0", "Epar_n:Potential@n1", "Epar_p", "Epar_p:Potential@n0", "Epar_p:Potential@n1", "Holes@n0", "Holes@n1", "Jn", "Jn:Electrons@n0", "Jn:Electrons@n1", "Jn:Holes@n0", "Jn:Holes@n1", "Jn:Potential@n0", "Jn:Potential@n1", "Jn_arora_lf", "Jn_arora_lf:Electrons@n0", "Jn_arora_lf:Electrons@n1", "Jn_arora_lf:Holes@n0", "Jn_arora_lf:Holes@n1", "Jn_arora_lf:Potential@n0", "Jn_arora_lf:Potential@n1", "Jp", "Jp:Electrons@n0", "Jp:Electrons@n1", "Jp:Holes@n0", "Jp:Holes@n1", "Jp:Potential@n0", "Jp:Potential@n1", "Jp_arora_lf", "Jp_arora_lf:Electrons@n0", "Jp_arora_lf:Electrons@n1", "Jp_arora_lf:Holes@n0", "Jp_arora_lf:Holes@n1", "Jp_arora_lf:Potential@n0", "Jp_arora_lf:Potential@n1", "Potential@n0", "Potential@n1", "V_t_edge", "beta_n", "beta_p", "contactcharge_edge", "contactcharge_edge:Potential@n0", "contactcharge_edge:Potential@n1", "edge_index", "mu_arora_n_lf", "mu_arora_p_lf", "mu_n", "mu_n:Electrons@n0", "mu_n:Electrons@n1", "mu_n:Holes@n0", "mu_n:Holes@n1", "mu_n:Potential@n0", "mu_n:Potential@n1", "mu_p", "mu_p:Electrons@n0", "mu_p:Electrons@n1", "mu_p:Holes@n0", "mu_p:Holes@n1", "mu_p:Potential@n0", "mu_p:Potential@n1", "unitx", "unity", "vsat_n", "vsat_p", "EField_x", "EField_y", "ElementEdgeCouple", "ElementNodeVolume", "Emag", "Jn_x", "Jn_y", "Jnmag", "Jp_x", "Jp_y", "Jpmag"

Output filesize: 49.13MB
Command:
ds.write_devices(file=file, device=device_name, type=type, include="Acceptors|Donors")
Output file header:
TITLE = "450991316286470493"
VARIABLES = "x", "y", "Acceptors", "Donors", "EField_x", "EField_y", "ElementEdgeCouple", "ElementNodeVolume", "Emag", "Jn_x", "Jn_y", "Jnmag", "Jp_x", "Jp_y", "Jpmag"

Output filesize: 6.8MB

Would you consider the include argument being a list of names or regexes, in case the user wants to just use a python list of names?
Do you think an exclude argument for explicitly excluding derivatives and @n., @en. models would be useful?
An example of unpacking a string list is physical_names in the create_gmsh_mesh command.

Would you consider the include argument being a list of names or regexes, in case the user wants to just use a python list of names?
Do you think an exclude argument for explicitly excluding derivatives and @n., @en. models would be useful?
An example of unpacking a string list is physical_names in the create_gmsh_mesh command.

I have implemented both suggestions, and updated the docstring. The default is still to include everything and exclude nothing. If a field is not explicitely included or if a field is explicitely excluded, then it is not recorded.

Output file header:
VARIABLES = "x", "y", "Acceptors", "EFP:Holes", "ElectronGeneration:Holes", "HoleGeneration:Holes", "Holes", "IntrinsicHoles", "IntrinsicHoles:Potential", "PCharge:Holes", "PotentialNodeCharge:Holes", "USRH_bulk:Holes", "USRH_surface:Holes", "core___via@e_p1nodeholes:Holes", "ge___via@e_nnodeholes:Holes", "Holes@n0", "Holes@n1", "Jn:Holes@n0", "Jn:Holes@n1", "Jn_arora_lf:Holes@n0", "Jn_arora_lf:Holes@n1", "Jp:Holes@n0", "Jp:Holes@n1", "Jp_arora_lf:Holes@n0", "Jp_arora_lf:Holes@n1", "mu_n:Holes@n0", "mu_n:Holes@n1", "mu_p:Holes@n0", "mu_p:Holes@n1", "EField_x", "EField_y", "ElementEdgeCouple", "ElementNodeVolume", "Emag", "Jn_x", "Jn_y", "Jnmag", "Jp_x", "Jp_y", "Jpmag"
List of excludes only
ds.write_devices(file=file, device=self.device_name, type=type<EMAIL_ADDRESS>".*@en.*"))

Output file header:
 VARIABLES = "x", "y", "EFP:Holes", "ElectronGeneration:Holes", "HoleGeneration:Holes", "Holes", "IntrinsicHoles", "IntrinsicHoles:Potential", "PCharge:Holes", "PotentialNodeCharge:Holes", "USRH_bulk:Holes", "USRH_surface:Holes", "core___via@e_p1nodeholes:Holes", "ge___via@e_nnodeholes:Holes", "EField_x", "EField_y", "ElementEdgeCouple", "ElementNodeVolume", "Emag", "Jn_x", "Jn_y", "Jnmag", "Jp_x", "Jp_y", "Jpmag"

I typically keep the commit history as intact as possible, but I am happy to rebase and/or squash if that is a preferred style

Hi @simbilod,
Thanks for incorporating my suggestions.  This good.  Are you comfortable with the terms with the Apache Software License version 2.  If you are doing this on the behalf of an employer, are they comfortabl with this as well.

Hi @simbilod,
Thanks for incorporating my suggestions.  This looks good.  Are you comfortable with the terms with the Apache Software License version 2?  If you are doing this on the behalf of an employer, are they comfortable with this as well?

Of course, this contribution is my own. Here is a disclaimer:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute
this contribution, under the terms of your choice.

I typically keep the commit history as intact as possible, but I am happy to rebase and/or squash if that is a preferred style

My preference for a commit of this size is to rebase and squash.  There were a bunch of files in the commit history that were accidently added, and would like to avoid them being in the repository history.
For you to squash the commits, I think you would have to do a force push, and I don't have experience how this would affect your pull request.  My understanding from a brief google search is that Github would be able to handle this.
I think I just enabled the ability for you to update your pull request to my incorporation of your .gitignore change.  I don't know how that affects your local repo.
I am also able to do a rebase/squash at the end, but I don't know how it will credit your in the repo history.
In the end I am going rebase your PR against the r2.7.4 branch, which is currently identical to main.

I typically keep the commit history as intact as possible, but I am happy to rebase and/or squash if that is a preferred style

My preference for a commit of this size is to rebase and squash. There were a bunch of files in the commit history that were accidently added, and would like to avoid them being in the repository history.
For you to squash the commits, I think you would have to do a force push, and I don't have experience how this would affect your pull request. My understanding from a brief google search is that Github would be able to handle this.
I think I just enabled the ability for you to update your pull request to my incorporation of your .gitignore change. I don't know how that affects your local repo.
I am also able to do a rebase/squash at the end, but I don't know how it will credit your in the repo history.
In the end I am going rebase your PR against the r2.7.4 branch, which is currently identical to main.

I squashed everything down to 1 commit, hopefully that is good!

Hi @simbilod,
Thanks for incorporating my suggestions. This looks good. Are you comfortable with the terms with the Apache Software License version 2? If you are doing this on the behalf of an employer, are they comfortable with this as well?

Also fun fact, according to Github terms of use, contributions to a repository are assumed to be licensed and licensable under the terms of the repository:

Hi @simbilod,
Thanks for incorporating my suggestions. This looks good. Are you comfortable with the terms with the Apache Software License version 2? If you are doing this on the behalf of an employer, are they comfortable with this as well?

Also fun fact, according to Github terms of use, contributions to a repository are assumed to be licensed and licensable under the terms of the repository:

Thanks for the tip.  I'm not sure if GitHub is going to be around forever.


Exception upon creating Producer or Consumer in experimental branch with dotnet docker

Description
when starting a simple consumer or producer using the Confluent.Kafka version 1.0.0-experimental-2 nuget package, I got an exception when running the code in docker image based on docker image from Microsoft (microsoft/dotnet:2.0-runtime).
When starting the exact same program directly in Windows with dotnet core 2.0.5 runtime, I don't get the issue.
Unhandled Exception: System.ArgumentException: Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.
at System.Reflection.RuntimeMethodInfo.CreateDelegateInternal(Type delegateType, Object firstArgument, DelegateBindingFlags bindingFlags, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.CreateDelegate(Type delegateType)
at Confluent.Kafka.Impl.LibRdKafka.SetDelegates(Type nativeMethodsClass)
at Confluent.Kafka.Impl.LibRdKafka.Initialize(String userSpecifiedPath)
at Confluent.Kafka.Producer..ctor(IEnumerable1 config)    at Confluent.Kafka.Producer2..ctor(IEnumerable1 config, ISerializer1 keySerializer, ISerializer`1 valueSerializer)
at Confluent.Kafka.Examples.SimpleProducer.Program.Main(String[] args) in /app/Program.cs:line 42
How to reproduce
extract the provided zip file
SimpleProducer.zip in a directory,
then, in console, execute:
$> docker build -t simpleproducer .
$> docker run simpleproducer
Checklist
Please provide the following information:

[X] Confluent.Kafka nuget version: 1.0.0-experimental-2
[X] Apache Kafka version: 1.0.0
[ ] Client configuration:
[x] Operating system: Linux (cf base docker image is microsoft/dotnet:2.0.5-runtime)
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

I encountered exactly the same exception when trying to use "1.0.0-experimental-2" in docker based on "microsoft/aspnetcore:2.0" image.
While it runs well when on my Windows based on .net core 2.0 environment.
Same as @louisledev we need this header support very much so thought it's good to give "1.0.0-experimental-2" a try.

thanks for the confirmation @MartinCui - noted.

Has this issue been fixed in 1.0.0-experimental-4. I am getting a similar issue.


Weight Convertor

I want to make a Weight convertor. Please assign me this issue under Hacktoberfest'21.

@devesh-2002 Provide us some screenshots for the overview


LOs which seem to fit better in a general physics context

I am not too sure where to place the LOs from:

Section 1.1 (LOs 1.1.1 and 1.1.4)
Section 1.2
Section 1.7

since it feels that they would fit better in a general physics context.

Ok yes I agree they fit in a topic of general physics. I put a Topic in between Math and Vectors named Physics in General with subtopics of Units and Solving Problems, hopefully those LOs will fit in somewhere there.


Performance / Resilience Test Based on CIFAR Demo

@dcrankshaw

Can one of the admins verify this patch?

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/38/
Test FAILed.

jenkins, test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/40/
Test FAILed.

@Corey-Zumar Looks like there's a problem with Jenkins, don't worry about the failing tests for now. I'm reviewing this right now.

test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/44/
Test PASSed.

test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/45/
Test FAILed.

test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/46/
Test PASSed.

@Corey-Zumar This is reviewed and ready for you to address the comments

jenkins test this please

Formatted bench_init.py to conform to PEP8

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/47/
Test FAILed.

jenkins test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/49/
Test FAILed.

jenkins test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/52/
Test PASSed.

jenkins test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/66/
Test PASSed.


[Unity][Frontend][NN] Conv1D/LayerNorm NN module

Add support for Conv1D and LayerNorm in our torch-like nn api.
cc: @junrushao @cyx-6 @jwfromm

@LeshengJin seems like there's some minor conflict, once resolved we can merge this :)

@jwfromm Resolved! Let's merge it after ci finished. Thanks!


Render GitHub workflows for generated projects

This pull request adds GitHub Actions workflow files for continuous integration (and removes Travis config files) of the generated project. There are actions that build and test the new project as well as lint, and build the docs.
I've cleaned up the command line interface somewhat but removing required arguments and changed to default for babelize generate to be not to prompt.

@mcflugen Sweet! Thanks for doing this. I'll try re-rendering a Fortran project to see how it works.


[SPARK-29460] [WEBUI]Add tooltip for Jobs page

What changes were proposed in this pull request?
Adding tooltip for jobs tab column - Job Id (Job Group), Description ,Submitted, Duration, Stages, Tasks
Before:

After:

Why are the changes needed?
Jobs tab do not have any tooltip for the columns, Some page provide tooltip , inorder to resolve the inconsistency and for better user experience.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manual

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Ping @PavithraRamachandran to update or close

I shall update and raise pr by Monday

@srowen i have addressed the review comment could you review?

Test build #4961 has started for PR 26384 at commit bc01e76.

Test build #4961 has finished for PR 26384 at commit bc01e76.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #4963 has started for PR 26384 at commit bc01e76.

Test build #4963 has finished for PR 26384 at commit bc01e76.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #4964 has started for PR 26384 at commit bc01e76.

Test build #4964 has finished for PR 26384 at commit bc01e76.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Something's definitely wrong with the other PR builder. Let me close / reopen to trigger the 'old' one, I think?

@srowen could you help me re trigger the PR build?

retest this please

Test build #115180 has started for PR 26384 at commit bc01e76.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19990/
Test PASSed.

Test build #115180 has finished for PR 26384 at commit bc01e76.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115180/
Test PASSed.

Merged to master


broadcasting of coordinates is not consistent

In the docstring of scaled_squard_dist in gpflow 1.5.1 it was stated:

    This function can deal with leading dimensions in X and X2.
    In the sample case, where X and X2 are both 2 dimensional,
    for example, X is [N, D] and X2 is [M, D], then a tensor of shape
    [N, M] is returned. If X is [N1, S1, D] and X2 is [N2, S2, D]
    then the  output will be [N1, S1, N2, S2].

Now it does not, but I assume the same behaviour is expected, since the function has not been changed (only refactored). The above behaviour is not what you get if X2 is None.
kern = gp.kernels.RBF(1)
K = kern.K(np.ones((2,5,1)))
# shape(2, 5, 5)
K = kern.K(np.ones((2,5,1)), np.ones((2,5,1)))
# shape (2, 5, 2, 5)

For consistency both should give (2,5,2,5).
Request
I think it would actually make more sense to enable computing batches of covariance matrices, which is useful in computing the covariance for a batch of independent measurements.
I.e. I think rather than the pattern [a b c] [d e c] -> [a b d e] it makes more sense to do [a b c] [d e c] -> [a b e] if a==d else raise Error. I currently need this batch form and need to rewrite all the kernels in order to use them for my purposes.

@Joshuaalbert the difference between k(X, X) and k(X, None) is awkward but was intentional to support some of the multi-output code. This means it's not a bug, and I'm afraid we won't maintain gpflow 1.x beyond actual bug fixes.
In as much as your question still applies to gpflow2(rc1) (which I would strongly suggest you start using - and please do open more issues for anything you find wrong with it, including features/behaviour change requests/other things that aren't bugs per se!):
You can obtain what you need without rewriting kernels using tf.map_fn:
import gpflow
kernel = gpflow.kernels.SquaredExponential()
X = np.random.randn(4, 3, 2)
X2 = np.random.randn(4, 5, 2)
K = tf.map_fn(lambda inputs: kernel(inputs[0], inputs[1]), (X, X2), dtype=gpflow.default_float())
assert K.shape == (4, 3, 5)

Thanks @st-- . I do plan to move to gpflow 2 as soon as I'm done a current project. I'll also rewrite the heterogp package.
Also, for others interested, I solve the above problem in 1.5.1 with:
def fix_kernel(kern: Kernel):

    @params_as_tensors
    def _scaled_square_dist(cls, X, X2):
        """
        Rewrite of gpflow version with broadcasting.

        :param X: tf.Tensor [B1, N, D]
        :param X2: [B1, M, D]
        :return: tf.Tensor [B1, N, M] if B1=B2 else raises error at run time.
        """
        # B1, N, D
        X = X / cls.lengthscales

        if X2 is None:
            # B1, N
            Xs = tf.reduce_sum(tf.square(X), axis=-1)
            # B1, N, N
            dist = -2 * tf.matmul(X, X, transpose_b=True)
            # B1, N, N
            dist += Xs[...,:,None] + Xs[..., None, :]
            return dist
        # B1, N
        Xs = tf.reduce_sum(tf.square(X), axis=-1)
        # B2, M, D
        X2 = X2 / cls.lengthscales
        # B2, M
        X2s = tf.reduce_sum(tf.square(X2), axis=-1)
        #B, N, M
        dist = -2 * tf.linalg.matmul(X, X2, transpose_b=True)
        dist += Xs[..., :, None] + X2s[..., None, :]
        return dist

    setattr(kern,'_scaled_square_dist', _scaled_square_dist)
    return kern


Add on_failure to handle cleanup during pipeline failure

Resolves https://github.com/aboutcode-org/vulnerablecode/issues/1639

@keshav-space can we have some sorts of tests, to check this ? If on_failure runs if any step fails ?

can we have some sorts of tests, to check this ? If on_failure runs if any step fails ?

@TG1999 done!


Unnecessary CAST toDate for custom variables with time

While using variables with type "Field Filter", widget type "Date Filter" error occurred due to CAST to Date type.
In release notes for new driver i see "Removed superfluous CAST calls from generated queries that use Date* columns and/or intervals." which looks similar, but issue is still reproduced on last version.
Steps to reproduce

New Sql Query
Use variable with filter type "Date Filter"
Choose one of options including smth related to Time, not only Date.
Error is shown like (also presented on screenshot below):

Code: 53. DB::Exception: Cannot convert string 2023-10-03 18:05:00 to type Date: while executing 'FUNCTION greaterOrEquals(CAST(date_time, 'date') : 4, '2023-10-03 18:05:00' : 2) -> greaterOrEquals(CAST(date_time, 'date'), '2023-10-03 18:05:00') UInt8 : 5'. (TYPE_MISMATCH) (version <IP_ADDRESS> (official build)) , server ClickHouseNode [uri=http://<IP_ADDRESS>:8123/statistics, options={use_server_time_zone_for_dates=true,use_no_proxy=false,product_name=metabase/1.2.2}]@-1605831072

Expected behaviour
No errors, data on specified time interval is shown
Configuration
Environment

metabase-clickhouse-driver version: 1.2.2
metabase-clickhouse-driver configuration: no specific configuration
Metabase version: 0.47.2
OS:

ClickHouse server

ClickHouse Server version: 22.8
Any table with DateTime field.

Thanks for the report.

In release notes for new driver i see "Removed superfluous CAST calls from generated queries that use Date* columns and/or intervals." which looks similar

Yes, this is correct, but for non-variable use cases. I am still to figure out where we can actually override the incorrect variables replacement.
I will look into it again early next week.

It looks like this is the same bug: https://github.com/metabase/metabase/issues/21133
But, instead of losing performance like in that Postgres scenario, we cannot execute the query at all, as DateTime -> Date upcast on the right side does not work.
I am investigating whether it will be feasible to introduce some hack around it, as it looks like a substantial amount of copy-paste from Metabase variables substitution sources is required, as almost everything is private methods in the related module.

After discussing my findings with the Metabase team, we agreed that this is blocked by Metabase currently.
We'd also like to avoid a massive copy-paste, especially from the project with a different license, and I will try my best to prepare a Metabase patch that makes that particular bit more driver-override-friendly, so we can resolve that unnecessary upcast in a more canonical way.
Stay tuned.

@ADovgalyuk, it is fixed in 1.3.0. You could try it with Metabase 0.48.0-RC1 now.


Collection Extension / Merging

Sometimes you want to reuse schematics from another collection as is. For example, someone could want to implement a collection that is the exact same as the angular one (same schematics), but changes only 1 schematic. All the others should be the same. Or maybe a company wants to have a default collection on their CLI but have that collection include schematics from a number of other collections.
A proper system should allow merging of collections, with some resolution if there's a collusion, and a list of schematics that it implements itself (might be empty). As an example (the schema is just an example):
{
  "$schema": "http://schema.angular.io/schematics/collection/2",
  "name": "my-com",
  "description": "My Company default collection, containing all schematics that are used normally",
  "extends": [
    "@schematics/angular",
    "@my-company/schematics-base",
    "@my-company/schematics-pages"
  ],
  "schematics": {
  }
}

This would include the base angular schematics, the base my-company schematics and the pages schematics. This helps with separating development of each of those, while the end user can just install and use one collection. The schematics are merged, with names being overridden by pages, then base, then angular.

This is a key feature for my use case. The ability to build on top of existing collections and modify them as needed will open up a ton of possibilities, I'm looking forward to playing with this.

Just came here to add a feature request for exactly this. Nice to see it already on the radar.
My main concern with not having this functionality is that if our company creates it's own collection copied from the default, even if it's just to change one minor thing, we're committing to potentially a lot of additional maintenance work to ensure we're always in sync with the latest and greatest updates from here. And since we likely wouldn't commit to that additional effort, we need to decide on either all in on the default "CLI way" or all in on no longer staying current with it. Neither option is ideal.
We're currently faced with a similar problem with the CLI webpack "eject" approach, but I digress.

@bmayen we support extends right now between collections, and even without it you could have defined a factory that just forward the call to the extended collection.
You can safely depend on the Angular collection, and extends it to bring those schematic in yours. You could always extend a schematic by using it and then modifying its content, so what you describe was already possible without this issue (it's a core feature and a goal of schematic to be extendable and composable).
Just to reiterate: he only thing that's valid for this issue that's not already possible is to have "extra" schematics from the extended collection, without having to redefine or extend them in your own collection. For example, if you want to provide the original component from your collection without any change, you have to add a
{
  "schematics": {
    "component": { "extends": "@schematics/angular:component" }
  }
}

to your collection.json. If we add a new schematic to @schematics/angular you won't get it for free. This is what this issue is about.

Ah, gotcha. Thanks for the clarification and all the amazing work!

@hansl, could you help clarify something for me?
In my original comment I mentioned "if our company creates it's own collection copied from the default, even if it's just to change one minor thing, we're committing to potentially a lot of additional maintenance work to ensure we're always in sync with the latest and greatest updates from here". But you indicated that this wasn't a problem since we can extend existing collections.
But let's say we want to slightly modify some files output by default application. I know I can extend @schematics/angular:application in my collection in order to get that default functionality, but is it currently possible to both extend it and provide custom functionality? For instance, if we wanted to add a custom README to the default application.
If I'm understanding you correctly, that's what this issue is about. Any idea where this might fall on the timeline?

You can create a collection, depend on @schematics/angular, implement your own application schematic that calls externalSchematic('@schematics/angular', 'application') then chain it with your own rule that adds to the README.
What you're describing is the goal of this feature. No idea on timeline.

Thanks for the clarification!


Adds support for priority classes (4.4)

Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/

Hi @harshitsinghvi22 , is it possible to get news about the support of priority classes for this release as this PR gets closed ?

Thank you for your feedback, @harshitsinghvi22 , it's much appreciated :-)
I'll add a feature request then :-) , should I then submit my PR linked to this feature request or just wait ?

@MorganGeek just a feature request will be helpful

Thank you @harshitsinghvi22 : https://github.com/neo4j/helm-charts/issues/15


New Game : Drumkit Game

Please assign this issue to me, I will contribute to this issue under GSSoC'23.

I can contribute in making the DrumKit Game, please consider me and assign me the issue under GSSOC'23

@pearlrathour Can you elaborate on this or give any demo pic or video.

Hi @pearlrathour , could you please elaborate on the features of the game with full details, demo / mock UI sample/Video, and tech stack? better share details documentation.

Drum and Kit Game is a rhythm-based game where players simulate playing a virtual drum kit using keyboard.
tech use:Html,css,javascript

hey @raj03kumar if she is not working on it can I work on this issue? Please assign me this issue. I can work on it quickly.

If nobody working on this issue can i work on this issue under GSSoc 2023?

It's already merged. @Ashasindhu


Teleport not working with Nova Wallet

What happened?
trying to send funds from Kusama to Statemine not working , shows cancelled after confirming the transaction, tried multiple times same result
Please reproduce in steps
Go to the teleport page using the nova wallet and try sending
Expected Behavior
the transaction should go through
What browsers are you seeing the problem on?
No response
At which address did you encounter bug?
canary.kodadot.xyz, kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
Nova Wallet
At which chain did you encounter bug?
No response
Screenshots
https://github.com/kodadot/nft-gallery/assets/44554284/5343ca78-2341-47cb-b773-935498dfd769
Relevant log output
No response
Payment link for reward
https://kodadot.xyz/ksm/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will check if there is not an issue on our XCM SDK side and will get back with the result from the test shortly.

Seems to work well on our end. Probably you try to send more than you can. See this issue for reference: https://github.com/kodadot/nft-gallery/issues/7213

Just tested it on main net also and it works fine.
Extrinsic id: https://assethub-kusama.subscan.io/xcm_message/kusama-9d270aa27bc44b5e1b829b322fb9ff4628cfc596


More cleanup on unused old client code

Please fix static analysis fail.
I am not sure what SolutionWriter was for.
I am OK with this change as long as all test pass.

Fixed static analysis. Also built rocblas and ran gemm-related tests against this change.
SolutionWriter was for old client - custom client code was written to launch each solution in old client which is why it required rebuild for each test. New client is more modular by loading kernels from codeobject and logic files.


Roombalocate

Description:
Add functionality to locate Roomba
Related issue (if applicable): N/A
**Pull request with documentation for home-assistant.io (if applicable): N/A
Example entry for configuration.yaml (if applicable): N/A
Checklist:

[X ] The code change is tested and works locally.
[X ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X ] There is no commented out code in this PR.
[X ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @Anglac,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Need feature as domain restriction

Hi dev,
Nice app. does it possible with domain restriction?
because all link is direct and anyone can use the link by iframe for their site.

I will work on it. but may take about a month for an update.


Reports are not implemented

Implement the ADMININTERACT packet family.
Probably won't do all the help menus but those would be part of this.

Scoping this to not include EHF file parsing and display. Only going to pop the dialog up with the resources for talking to an admin (on help button click).


Add new line checks to integration tests

Due to differences in operating systems / environment, I could not get the recent change of adding trailing empty lines working in the integration tests.
Instead for now I added a .trim() call to those tests to make them work.
We should look into it and find a way to get the tests running without .trim()

Done in #2929


LEFT_JOIN implementation would benefit from syntax highlighting

It looks like the LEFT_JOIN implementation is missing syntax highlighting like the others. Maybe add js after the triple single quote?

Fixed!


Add Kay2014 libs

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[x] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): Kay2014 10.1128/mBio.01337-14
This is to close #579
Checklist

[ ] Publication is published (preprints currently not accepted)?
[ ] Checked the publication is not already in the database?
[ ] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[ ] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[ ] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] Changelog is updated to include the publication under 'Added'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[ ] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?

Put it PR to add Warwick University to centres

I put in a PR to add Warwick University to centres
@jfy133


[INTERNAL] dependabot auto-merge: fix workflow

JIRA: CPOUI5FOUNDATION-717

coverage: 94.427%. remained the same when pulling c1389fab6b1658788eba1d12a1d87fc4d9e5d0dd on fix-auto-merge-workflow into 93b3f1a2061419cef1cfc03497d1875dae21f72b on main.


Cannot change keyboardType

Hello, i want to change keyboardType. But, parameter not available

It's set to text by default since you're entering tags. If its necessary, it should be simple to make it available. But since this is tags, I don't see why you would need to change it to something else.

@eyoeldefare it is easier to pass through all available pros to textfield and forget about this types of issues

You're right @vasilich6107 but many things changed since I last viewed the widget. Many properties also added.

Done


Add-more-parameteric-map

add some more parametric map that was missing from the prototype:

mean_extension_map
maximum_extension_map

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.

Project coverage is 46.09%. Comparing base (6a86a6b) to head (fe9b264).
Report is 4 commits behind head on master.

Files with missing lines
Patch %
Lines

clic/src/tier4/parametrics_map.cpp
0.00%
18 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   46.30%   46.09%   -0.21%
==========================================
  Files         199      199
  Lines        4004     4022      +18
  Branches     1832     1844      +12
==========================================
  Hits         1854     1854
- Misses        744      762      +18
  Partials     1406     1406

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


configure fails with syntax error

Version: 1.38.0, upgrading from 1.36.0
Platform: Travis CI, Ubuntu 16.04.6

Building gevent runs the command pushd deps/libuv && ./autogen.sh && ./configure -C --disable-static --prefix=$BUILD_LIBS  on Travis CI. When I try to upgrade to 1.38, this fails:
checking whether make supports nested variables... (cached) yes
./configure: line 12686: syntax error near unexpected token `newline'
./configure: line 12686: `AX_PTHREAD('

This happens even if I use bash explicitly to run configure.
I don't reproduce this locally on macOS.
I didn't see anything about changes to the build system in the release notes. Could I have done something wrong?

It's caused by #2823 but if it's breaking the build for you with no workaround, then I'll revert it.
I'm unclear on why it's failing for you though. Are you using old versions of autoconf/automake? What does configure around line 12686 look like on the affected system?

Are you using old versions of autoconf/automake?

I don't know. I'm using whatever comes with Travis CI's Ubuntu 16.04 image (which is the default for all Travis builds right now). That is, unfortunately, one thing they don't specify. I can find out, though.

What does configure around line 12686 look like on the affected system?

I can try to find out.

Autoconf is version 2.69 (which matches what I have locally). Automake is 1.15 (locally I have 1.16.2).
The ten lines around 12686 are:
  AM_V=$AM_DEFAULT_VERBOSITY
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AM_BACKSLASH='\'

AX_PTHREAD(
    LIBS="$LIBS $PTHREAD_LIBS"
    CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5

I can see what happens if I force Travis to use Ubuntu Bionic (18.04), but that will take some time.

Ah-ha. I think I figured it out. The libuv tarball includes m4/.gitignore which ignores all .m4 files in that directory:
https://github.com/libuv/libuv/blob/cc51217a317e96510fbb284721d5e6bc2af31e33/m4/.gitignore#L2
But https://github.com/libuv/libuv/pull/2823 explicitly added ax_pthread.m4 to that directory (without excluding it from being ignored). When I updated the libuv source and committed it to git, because of the .gitignore, that new file didn't get included — and because of the .gitignore, none of the tooling reported a suspicious extra file. Naturally it worked locally for me because that's where I unpacked the tarball, but a clean checkout didn't include that macro.
Perhaps that file should be listed in m4/.gitignore?

Thanks!


Distinguish between runtime-validated and statically inferred Out

Currently there is only a single Out AST representing every return of a morph. We need a way to provide statically inferred morph returns while internally knowing that the .out type associated with them will not have type information or narrowing capabilities.

This is a duplicate of #934


This app isn't working properly

App builds and runs, it lets me create test users but it crashes when i select a user and try to send a message, throwing this error (VirgilCard not Found) then tried uploading the main.js with credentials from Virgil Account as well as package.json file to the Back4app cloud services and app build and runs but this time doesn't let me create new users and throws and error ("Oops.. Something went wrong ):") witch is coming from the resolveError(Throwable t) method.

Hi, @creativeworks27 ! Sorry to hear that!
I'll check the sample and get back to you in a few hours!
Back4app having issues with cloud code, so it can be the issue.
Thank you for the feedback!

@creativeworks27 I've reviewed demo and contacted Back4App team, it's Back4App side issue indeed. A ticket has been opened for this issue with cloud code. Sorry but we cannot do a lot till they fix cloud code.
Will notify you once the ticket is closed and the issue is resolved.

Can't wait to see it solved :) , thank you very much for you quick response.

what about the virgil site ?

what do you mean? can you specify your question, please?

can you open the dashboard and try to create a new application on virgil website ?
they change the encryption on it !

this question is not related to back4app, please open new issue or contact Virgil Security support.
Thank you!
@creativeworks27 I'm closing the issue but feel free to open/reopen the issue if it still exists!


[Organizations] Obfuscate organization routes containing usernames

https://github.com/NuGet/NuGetGallery/issues/5676
I introduced a couple routes containing usernames (mostly for handling membership/transformation requests). This work obfuscates the username in these routes and also tidies up the routing in general.

@joelverhagen https://github.com/NuGet/NuGetGallery/issues/5678


Wrap items in ListView into e.g. div container by default

It was very convenient in yii1 that all items in ListView were wrapped in a div container. Infinite-Scroll, for example, works by appending fetched items to the end of matched content object using appendContent. In the current ListVew implementation it is simply not possible, since we have to add items between children of the content object and not to the end (i.e. after items that are already loaded, but before pagination, assuming default layout).
I know it is possible to do that by configuring layout property of ListView, but it would be much more convenient (if I were to distribute this as an extension) if this extra div was generated by ListView out of the box.

you can configure the layout property to include a container tag:
{summary}\n
{items}
\n{pager}

I thought I would get this reply, that's what my last paragraph was aiming to address:

I know it is possible to do that by configuring layout property of ListView, but it would be much more convenient (if I were to distribute this as an extension) if this extra div was generated by ListView out of the box.

I do want to publish an extension with this so everyone could use it, but it seems silly to force everyone who wants to use it to configure this layout property of a parent widget.
Ideally, I want it to work even if you just specify:
'pager' => [
        'class' => InfiniteScrollPager::className(),
]

All the things have to be configured in one place so having instructions like this does not look to comlicated to me:
'layout' => "{summary}\n
{items}\n{pager}",
'pager' => [
        'class' => InfiniteScrollPager::className(),
        'listSelector' => '#scroll-items' , // you'll want to add this anyway for maximum flexibility
]

Ok, your call. Thanks anyway)


Channel Provider Refactor

Changelog

Refactor ChannelRouter to only accept JSON-RPC
Clean up WalletConnect client mapping
Add new JSON-RPC methods
Allow dumb clients to make store requests to smart clients
Rename ChannelRouter to ChannelProvider

Context
The main motivation for this PR was to solve issues that I found on both Torus and WalletConnect channelProviders as they were both having issues with the client mapping. The way it worked before basically duplicated work between dumb and smart clients yet it was simply necessary to directly hit the channelRouter.
So all incoming JSON-RPC requests from transport don't need to be mapped individually and can be passed directly as is. This will simplify channelProviders in the future and it also basically converts the current channelRouter as a Counterfactual ChannelProvider.
The main difference this PR introduces is that channelRouter methods are now accepted as JSON-RPC methods only
Related Issues
Fix #583

Closed in favor of PR #638


Update RequestShortener.js

Solved a runtime err for me when used the UglifyJSPlugin
No need to test as it is only a default value to an argument

No need to test as it is only a default value to an argument

You still need to test. A test will make sure that your error will not reoccur when somebody refactors this code. So recreate the scenario which causes the error with the UglifyJsPlugin.

Add prove/test that this is needed

Please open a new issue for this.


"Go get" fails due to willf/bitset

When I run "go get -u -d ./...",the following error occus.
go<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/bits-and-blooms/bitset
but was required as: github.com/willf/bitset
I have noticed the same problem with other project,link: https://github.com/blugelabs/bluge/issues/64

Good catch! As a workaround you can run go get -u=patch -d ./... so that only the patched version is installed


Register processors for autoconfiguration

Replaces https://github.com/symfony/symfony/pull/27801 (which has been reverted meanwhile)
Leverages https://github.com/Seldaek/monolog/pull/1204
Already documented in https://github.com/symfony/symfony-docs/pull/9996 (but doc needs update)

It took time, but here we go, this is in now. Thank you very much @nicolas-grekas.


[SPARK-47341][SQL] Fix inaccurate documentation of RuntimeConfig#get

What changes were proposed in this pull request?
The existing documentation of RuntimeConfig.get() is misleading:

get(key: String) method will not throw any exception if the key is not set as long as the config entry has a default value, instead, it will just return the defaultValue of the ConfigEntry. An NoSuchElementException will only be thrown if there is no default value for the config entry.
get(key: String, default: String) method will ignore the defaultValue of its ConfigEntry, and return the given param default if unset.
getOption(key: String) method will return the defaultValue of its ConfigEntry if the config is not set, instead of None.

An example to demonstrate the behaviour:

The first line makes sure the config is not set.
scala> spark.conf.unset("spark.sql.session.timeZone")

The following code returns Etc/UTC, which doesn't throw any exception.
scala> spark.conf.get("spark.sql.session.timeZone")
res1: String = "Etc/UTC"

The following code returns Some("Etc/UTC"), instead of None.
scala> spark.conf.getOption("spark.sql.session.timeZone")
res2: Option[String] = Some(value = "Etc/UTC")

The following code returns Europe/Berlin, ignoring the default value. However, the documentation only says it returns the value, without mentioning ignoring the default value of the entry when the config is not explicitly set.
scala> spark.conf.get("spark.sql.session.timeZone", "Europe/Berlin")
res3: String = "Europe/Berlin"

In this PR, the documentation is fixed and a new test case is added.
Why are the changes needed?
The incorrect documentation is likely to mislead users to weird behaviours if they rely on the documentation.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
New test case in RuntimeConfigSuite.
Was this patch authored or co-authored using generative AI tooling?
No.

@HyukjinKwon Could you take a look at this documentation improvement on RuntimeConfig#get? Thanks.

Let's make CI happy and green though :-).

Hi @HyukjinKwon , I reformated the code, but the Documentation Generation still fails. Do you have any ideas how I can fix it?

+1, LGTM. Merging to master.
Thank you, @xi-db and @HyukjinKwon @vicennial for review.


Update to v0.1.0-beta.13

Compare with original files and update to beta 13.
Repository: https://github.com/flarum/lang-english/tree/v0.1.0-beta.13/locale
@darkfoxdeveloper Do you remember what's the purpose of the JS files in "formal" and "informal" folders? E.g:
https://github.com/darkfoxdeveloper/flarum-ext-spanish/blob/master/locale/formal/config.js

It is an old feature where it was sought to have a more urban or formal language, to be able to change between the two, it will be eliminated when updating to next version


Ipad-full screen is not being covered

ipad pro 12.9 inch (2nd generation)

How it looks on smaller size devices:

This is what i did
menuButton.willPresentMenuItems = { [weak self] (menu) ->  Void in
self?.frame = (self?.superview?.bounds)!
}
    menuButton.didDismissMenuItems = { [weak self]  (menu) -> Void in
        self?.frame = CGRect(origin: CGPoint.init(x: 0, y: 0), size: CGSize(width: UIScreen.main.bounds.size.width, height: 29))
    }

same problem for me


Broken link

In: ASP.NET and .NET core applications point 4

Install the [[Azure Services Authentication extension for Visual Studio]]. Through this extension, app can access Key Vault using the Visual Studio sign-in identity.

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

ID: ba5deb43-08e3-09fe-1696-29f49764580b
Version Independent ID: 0c910667-1d39-47dd-c70b-ab40999ea160
Content: Securely saving secret application settings for a web application - Azure Key Vault
Content Source: articles/key-vault/vs-secure-secret-appsettings.md
Service: key-vault
GitHub Login: @CawaMS
Microsoft Alias: cawa

@msfe Thank you for your contribution. We will have this reviewed and updated as per review.
Thank you.

@CawaMS Could you please take a look at this . As per my findings the extension Azure Services Authentication extension for Visual Studio has been removed from the marketplace and this functionality is natively present within the Visual Studio versions starting 15.6 and up.

@msfe we have updated the documentation and initiated an update. The changes will be live in the next release cycle within 24-48 hours.
Thank you.


new feature: iswt2

See https://github.com/nigma/pywt/issues/1

That feature request makes sense. Would be good to add. We also still need to add the 1-D version.

It seems this feature is being worked on in #55 ?

I am starting to add some tests for iswt and iswt2. It seems that the existing tests for swt are in 'pywt/tests/test_multilevel.py' and there are no tests for swt2.
It seems pywt is not using unittest but relies on assertions to raise an error whenever something is not right - is this correct? So should I continue by adding tests for iswt, iswt2, and probably swt2 to 'pywt/tests/test_multilevel.py' using the same assertion-style tests?

In #81 we have discussed moving swt2 to 'multilevel.py'. Should I go ahead and place iswt and iswt2 in 'multilevel.py' right away?

I would vote to follow the scipy guidelines for the tests suite. I'll make the job easier for a future integration. @rgommers can probably confirm this.

Putting them in multilevel.py now sounds fine to me.

Regarding the tests, they're based on nose and numpy.testing which is pretty much the standard for the scientific Python stack. nose is definitely much more flexible/powerful than plain unittest - the only other serious contender is py.test.
The testing guidelines are at https://github.com/numpy/numpy/blob/master/doc/TESTS.rst.txt
So +1 for putting test cases in test_multilevel.py in the same style.

No tests for swt2: the test coverage is still lacking in places unfortunately. In 0.2.2 there were only doctests and now we're at 61% coverage, so it's going up nicely but more is needed.

I'll be happy to write tests for swt2 as well after I add some for iswt2 and iswt.

That would be great!

Just leaving this here for reference as I've cut it from my #38 todo list. May or may not actually be useful.

[ ] There are also iswt (1, 2, 3) and iswt2 implementations posted on the
PyWavelets mailing list.

[x] copy basic code from mailing list
[x] make basic implementation with simple test
[ ] do swt outputs need to be consistent with dwt?
[ ] decide if license ok
[ ] cythonize iswt code?
[ ] add istw2 to pywt/_multidim.py

@aaren thanks for that. You mention license. Where do you see licensing info for the code on the mailing list? I don't think I came across it.
I am planning to use the iswt proposed on the mailing list, but the proposed iswt2 does not work properly, so I have implemented it from scratch, basically doing what iswt does but with idwt2.
I should add that this is my approach because I need something working NOW. In the longer term, it would probably be a good idea to re-implement them (and possibly swt2) using a similar Cython approach to that of swt.

Licensing: I couldn't find anything either.
iswt: Yes, I think get something working that is tested and then optimise later.

Regarding licensing, maybe it is OK to just consider it approved for
inclusion in pywt by the original author as it was posted as a
suggestion on the pywt mailing list?

That's what we thought. Could ask on the list to be safe.

Consider it done...

@ThomasA, @aaren: @ThomasA just contacted me on the mailing list. Of course it's fine to use, thanks for pulling in the code.

Great, thanks @mgmarino

@mgmarino that's great - thanks a lot :)

Sorry, I'm a bit late to the discussion. I have a branch for a C convolution that would do the same as up/downsampling_convolution does for dwt, but it's based on top of #59. Hopefully I'll have #59 ready for merge this weekend now that we have Windows CI testing, and I'll open a PR for the swt part next week so you can have a look. Implementing swt on top of that in a similar manner as dwt should be possible.

This is closed by #93


Error when trying update contacts

When i'm trying update a contact, it doesnt save phones.
i'm using the example code. I'm thinking that the problem was in contact maping but i didn't find the error.
here is my update code
`
class UpdateContactsPage extends StatefulWidget {
UpdateContactsPage({ @required this.contact });
final Contact contact;
@override
_UpdateContactsPageState createState() => _UpdateContactsPageState();
}
class _UpdateContactsPageState extends State {
Contact contact;
PostalAddress address = PostalAddress(label: "Home");
final GlobalKey _formKey = GlobalKey();
@override
void initState() {
super.initState();
contact = widget.contact;
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Update Contact"),
actions: [
IconButton(
icon: Icon(Icons.save, color: Colors.white,),
onPressed: () async {
_formKey.currentState.save();
contact.postalAddresses = [address];
await ContactsService.updateContact(contact);
Navigator.of(context).pop();
},
),
],
),
body: Container(
padding: EdgeInsets.all(12.0),
child: Form(
key: _formKey,
child: ListView(
children: [
TextFormField(
initialValue: contact.givenName ?? "",
decoration: const InputDecoration(labelText: 'First name'),
onSaved: (v) => contact.givenName = v,
),
TextFormField(
initialValue: contact.middleName ?? "",
decoration: const InputDecoration(labelText: 'Middle name'),
onSaved: (v) => contact.middleName = v,
),
TextFormField(
initialValue: contact.familyName ?? "",
decoration: const InputDecoration(labelText: 'Last name'),
onSaved: (v) => contact.familyName = v,
),
TextFormField(
initialValue: contact.prefix ?? "",
decoration: const InputDecoration(labelText: 'Prefix'),
onSaved: (v) => contact.prefix = v,
),
TextFormField(
initialValue: contact.suffix ?? "",
decoration: const InputDecoration(labelText: 'Suffix'),
onSaved: (v) => contact.suffix = v,
),
TextFormField(
decoration: const InputDecoration(labelText: 'Phone'),
onSaved: (v) => contact.phones = [Item(label: "mobile", value: v)],
keyboardType: TextInputType.phone,
),
TextFormField(
decoration: const InputDecoration(labelText: 'E-mail'),
onSaved: (v) => contact.emails = [Item(label: "work", value: v)],
keyboardType: TextInputType.emailAddress,
),
TextFormField(
initialValue: contact.company ?? "",
decoration: const InputDecoration(labelText: 'Company'),
onSaved: (v) => contact.company = v,
),
TextFormField(
initialValue: contact.jobTitle ?? "",
decoration: const InputDecoration(labelText: 'Job'),
onSaved: (v) => contact.jobTitle = v,
),
TextFormField(
initialValue: contact.note ?? "",
decoration: const InputDecoration(labelText: 'Note'),
onSaved: (v) => contact.note = v,
),
TextFormField(
initialValue: address.street ?? "",
decoration: const InputDecoration(labelText: 'Street'),
onSaved: (v) => address.street = v,
),
TextFormField(
initialValue: address.city ?? "",
decoration: const InputDecoration(labelText: 'City'),
onSaved: (v) => address.city = v,
),
TextFormField(
initialValue: address.region ?? "",
decoration: const InputDecoration(labelText: 'Region'),
onSaved: (v) => address.region = v,
),
TextFormField(
initialValue: address.postcode ?? "",
decoration: const InputDecoration(labelText: 'Postal code'),
onSaved: (v) => address.postcode = v,
),
TextFormField(
initialValue: address.country ?? "",
decoration: const InputDecoration(labelText: 'Country'),
onSaved: (v) => address.country = v,
),
],
),
),
),
);
}
}
`

it works find when i add a new contact and delete

Me too. any work around for the ContactsService.updateContact()?

@HugoLimon @thuraucsy heads up, I am not the original author of this plugin. This plugin was written early on and has its limitations. The issue you are experiencing might be related to the limitations. We are working on re-writing a new plugin to replace this plugin from the ground up that is clean, secure, flexible, and easy to maintain.
Our resources are limited, but please feel free to contribute to the current plugin with your fixes / improvements. Please see the README for more information on how to contribute. Thanks!

I'm sorry for the misinformation.
I just updating the Contact.displayName and wanted the Android Contact App Name updating.
In fact, the Android Contact App is using Contact.givenName.

I tried searching for the error here too but found nothing.
Tried a couple of workarounds on how to compose the new phones object under Flutter but I still get a weird behavior.
It works for some contacts on the device and it seems to work on the emulator but it's flaky, I haven't been able to attribute the cause to one thing.

The error is in
https://github.com/lukasgit/flutter_contacts/blob/88905dda5836efcf128e8b6470792776efe414fb/android/src/main/java/flutter/plugins/contactsservice/contactsservice/ContactsServicePlugin.java#L575
Namely we should be looking up by RAW_CONTACT_ID and not by CONTACT_ID, and contact.identifier is the CONTACT_ID.
This should fix it: https://github.com/fluttercommunity/flutter_contacts/compare/52b9336...bb00de4

Hi everyone, I am new to flutter and I am facing trouble adding new contact using the plugin. Can anyone help me out with an example snippet for adding contact in flutter.


[C++] Add padding characters to base64 encoded protobuf native schema

Motivation
https://github.com/apache/pulsar/pull/11388 added support for protobuf native schema in C++ client. The implementation serializes a protobuf generated class' descriptor to a Base64 encoded string. However, it doesn't add the padding characters while the broker side requires the padding characters. Therefore, if the Base64 encoded string needs the padding characters, the broker will fail to deserialize:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type byte[] from String "": Unexpected end of base64-encoded String: base64 variant 'MIME-NO-LINEFEEDS' expects padding (one or more '=' characters) at the end. This Base64Variant might have been incorrectly configured

See https://en.wikipedia.org/wiki/Base64#Decoding_Base64_with_padding for the Base64 with padding.
Modifications

Add the padding = characters if the Base64 encoded string's length is not a multiple of four.
Add a PaddingDemo.proto to test the above case to ensure that broker can validate the schema string.

Verifying this change

[ ] Make sure that the change passes the CI checks.

This change added tests ProtobufNativeSchemaTest. testBase64WithPadding.

/pulsarbot run-failure-checks


Snap fail to launch with Wayland

Describe the bug
When Linux is running wayland instead of X11, it fails to run.
To Reproduce
Steps to reproduce the behavior:

Run a session with wayland
snap install kontena-lens --classic
kontena-lens
nothing happen.

Expected behavior
It works with:
env DISABLE_WAYLAND=1 kontena-lens

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Lens Version: 3.1.0
OS: Ubuntu
Installation method: snap

Logs:
kontena-lens:935313): Gtk-WARNING **: 12:27:24.070: cannot open display: :0

Additional context
This is because electron doesn't support native wayland and should be set to use X11 fallback.
It's linked to the commit on electron-builder https://github.com/electron-userland/electron-builder/commit/2278c2a347bb9e6d00f2f59719eb784ac9857c10

I am having the problem on Ubuntu 19.10. However, it seems link I am using X11
$ echo $XDG_SESSION_TYPE
x11

And env DISABLE_WAYLAND=1 kontena-lens does not work for me as well.

env DISABLE_WAYLAND=1 kontena-lens solved my problem on fedora, but I would like to update the shortcut in Gnome Menu as well

I ran into this on Ubuntu 20.04.1 LTS with wayland and kontena-lens 3.6.0. With the workaround from @Richard87 the app starts fine.

Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

is affected as well.


"react-native run-android" always get error after upgrade 0.16.1

The react-native in Android is a library dependency defined with this line 'compile "com.facebook.react:react-native:0.16.+"' . But after I build my simple project which initialized by "react init" command, I always get the following error:

After revert  react-native library  to 0.16.0, it would be OK.

I am sorry to say this. Lot of things break after upgrading 0.14 -> 0.15 -> 0.16..  I am sure lot of people using react-native for production apps and if this kind of issues prevail then it becomes very difficult !!
Thanks

@gs-akhan you're right, but currently React Native is not stable software. Things move extremely quickly, and there is only a guarantee of relative stability. The team has chosen this approach over keeping things stable, at the moment, because it allows React Native (as a new and up-and-coming framework) to iterate more quickly. This approach is the reason why Android support is out (and close to being in feature parity with iOS) less than a year after RN iOS's release. Really, this mindset is the reason React Native exists at all. :)
Hopefully, in the next several months, we'll get to a point where the APIs (and feature set) is a bit more stable, and we can follow Semver better, to allow for more dependability and less breaking changes between releases.

@tbruceyu it seems like the top of your error got cut off. It looks like it might be some type of packager error. Would you be able to provide more information here?
Thanks.

@tbruceyu Any updates?

@satya164 Sorry for my delayed response. But I count not reproduce this issue in the same project again after degrading to 0.16 and then recover to 0.16.+. I think I should firstly close this issue. If the same error occur again, I'll produce more and more information and reopen a new issue. Thanks for all your help.


updated changes

@acordonez @lee1043  add obs json files.   Any suggestions?

@acordonez @lee1043  Looks like the same failures as 769_ljw_update_enso_demo    :-(

@acordonez and I are investigating this but it looks like cdms issue with netcdf.  I was able to reproduce the circleci error on my Mac, and trying to learn more about where the issue is coming from.

@gleckler1 I'll test these out with the new obs

I merge this PR to master since we know that circle ci failure is not coming from the changes in this PR.


Latest IOS binary should be downloaded from package manager

When ldk-swift gets distributed via CocoaPods/SwiftPM the latest IOS dependencies should be downloaded form CocoaPods/SwiftPM
Ref: https://github.com/lightningdevkit/ldk-swift/pull/43

This is not relevant anymore as binaries are part of the package.


Replace the dependency to Spring

Replace the dependency to Spring in the test setup.

Markus does this PR is ready for merging?

Yes.

Nice Job. I didn't know hibernate-testing