Android : Plugin is updating platformBuildVersionCode & platformBuildVersionName by mistake

Azure DevOps Extension you are using
Version Android Manifest 2.6.1
Where are you running it?
You can run the extensions in the cloud or on-premise

Azure DevOps Service (VSTS)

Version of Extension/Task
2.6.1
Expected behaviour and actual behaviour
Plugin should update versionCode & versionName but not update platformBuildVersionCode & platformBuildVersionName.
Steps to reproduce the problem
Build an Android app that comes from Android Studio/Gradle

Could upload a sample of your manifest file that has the issue. I will add a test to the suite and make sure it is handled correctly

<?xml version="1.0" encoding="UTF-8"?>
<manifest
    versionCode='10031'
    versionName='<IP_ADDRESS>.ftg-app-android-ci_development_20190211_134413'
    compileSdkVersion='28'
    compileSdkVersionCodename='9'
    package='com.acosta.ftg'
    platformBuildVersionCode='10031'
    platformBuildVersionName='<IP_ADDRESS>.ftg-app-android-ci_development_20190211_134413'>
  <uses-sdk
      minSdkVersion='24'
      targetSdkVersion='28'>
  </uses-sdk>
  <application
      theme='@res/0x7F0C0005'
      label='@res/0x7F0B0027'
      icon='@res/0x7F0A0000'
      name='com.acosta.ftg.FtgApp'
      allowBackup='true'
      supportsRtl='true'
      roundIcon='@res/0x7F0A0001'
      appComponentFactory='android.support.v4.app.CoreComponentFactory'>
    <activity
        name='com.acosta.ftg.views.MainActivity'>
      <intent-filter>
        <action
            name='android.intent.action.MAIN'>
        </action>
        <category
            name='android.intent.category.LAUNCHER'>
        </category>
      </intent-filter>
    </activity>
  </application>
</manifest>

Thanks, i will have a look as soon as I can, hopefully over the weekend

Thank you

Have just shipped 2.7.2, this adds extra checks to make sure the variable update is preceded by a space or android:xxx
Does this fix your issues?

Sadly not

I actually think this is grade doing this now

Ok that makes sense, I struggled to get a problem with the sample you sent, I added extra checking. Not sure there is much more I can do

As per my standard practice I am closing this issue as I have heard nothing for a while. If this issue remains a problem please do not hesitate to re-open it


Add nodeSelector/toleration for deployment-webhook

Problem:
The nodeSelector and tolerations for the dynatrace-webhook can't be configured through the values file.
Change:
Added nodeSelector and tolerations to deployment-webhook.yaml. The values are shared with deployment-operator.yaml

also, please add and modify the helm unit tests accordingly

done in https://github.com/Dynatrace/dynatrace-operator/pull/821


Pin device_version for devicelab Linux android targets

In existing fleet:
MotoG4 are with android 24, whereas samsung ones are with android 30 or 31. We need to pin the device_version to make sure tasks run on same bots with consistent performance metrics. We can do this when MotoG4 ones are replaced with samsung A02.
More context: https://github.com/flutter/flutter/issues/112804

This is adding a tag for the version.

@keyonghan can you add more context on what needs to be done here.

We need to have a full scan of existing device testbeds in our pools to see their corresponding versions before enforcing this tag. This will affect: 1) available capacity of different versions if we pin the version in ci.yaml 2) performance metrics (on a good side to be consistent)
Downgrading to P2


More constrained, but easier to read pre_padding implementation.

It has no advantages, but rather requires much less thinking to prove that result is correct for all combination of {size, padding, group, allocation_offset}.

Maybe this is an illusion but I feel I might have a better grasp on the previous (current main) implementation.


http methods not available in jest tests

Hi, I'm trying to test my application with jest and noticed, that I don't have the http methods on my Frisbee instance.
Scenario:
import Frisbee from 'frisbee';
// ...
const api = new Frisbee('http://example.com');
api.get // undefined

Result: api.get is undefined
When I link frisbee locally with yarn link and import the src:
import Frisbee from 'frisbee/src';
// ...
const api = new Frisbee('http://example.com');
api.get // function(...) {...}

Result: api.get is defined
Could not find out why. The code in frisbee/dist/index.js seems to implement these methods 🤷♂
Thanks for ur help 🙏

Ok got it, my test setup is screw up ^^


Loss Function

Hi, thanks for your tensorflow implement .
I find that you use L2 loss in the model.py, it's different from the paper. Why we not use the L1 loss, can L2 loss bring some benefit for training ?

@sdlpkxd Hi, thanks for your feedback!
It was a mistake. Experiments shows that L1 loss leads to better performance as the paper described. I have correct the implement. Sorry for my carelessness .


Trace SQL.

Trace query SQL in terminal.

It doesn't look like this can be cleanly merged. Am happy to consider another pull request.


Adding, shifting, and stacking for TextDiagramDrawer

Do you see where the circular import is being introduced?

I'm tempted to remove the use of value_equality to get this passing the tests, but it'd be nice to have it in and I'd like to understand why the tests are failing.

Conflicts with the text diagram changes I made last week. Needs to be updated.

Done

@Strilanc Tests are only failing in pytest2. Is that worth fixing given that Python 2 support is going to be removed?

@bryano Depends on if you want these features in the next release as we are removing Python 2 after it.

I think I'll wait it out. pytest2 passes on my machine, so I can't even replicate the failures to address them.

@Strilanc Tests passing now that pytest2 is gone.

@bryano @Strilanc Checks are passing with removal of python 2. Time to merge?

Related to: https://github.com/quantumlib/Cirq/issues/1226

@Strilanc I noticed that fsim_gate.py imports cirq (rather than its submodules). Is there a reason for that?

Also, what do you think about renaming either the file 'value_equality.py' or the decorator 'value_equality'. I think a lot of the import difficulties are caused by there being a module and method of the same name.

@Strilanc  Looks like https://travis-ci.com/quantumlib/Cirq/jobs/210593629 format is running into code that wasn't touched by this pull request.

Okay, I think at this point the only two outstanding items are the cycle-avoidance and the update renaming.

I agree.
It looks like the cycle is much better with the small number of import changes you're making now.

Great. Just let me know what to rename update and then it's good to go.

superimpose and a copy variant superimposed

Done

@Strilanc ping

This seems to have grown stale.  I'm closing.  If it can be salvaged, please open a new PR.

I think this is ready to go and just awaiting final approval from @Strilanc

@Strilanc this has been sitting on you for 18 days now, could you take a look?

Close as stale.

@Strilanc I thought this was ready to merge. I'll get it back to up to sync if it'll get reviewed.

@Strilanc PTAL

@Strilanc ping

Does this close https://github.com/quantumlib/Cirq/issues/1226?

No, but #1240 was a start towards #1226.

@bryano This should have been merged by now in my opinion. @Strilanc Is there a reason you are ambivalent toward this being in Cirq? I'll bring this up in the sync tommorrow.

Automerge cancelled: "automerge" label was never added.

Darn history size page limits.


Support using the latest unreleased version of the repo as a plugin

@vaind Previously, libraries where checked into Git which meant I could for example download main and paste into our depot (And reconcile on Perforce), to get the latest version. Now, the dependencies are part of the packaging job, which I'd missed - So getting latest requires you to download the released version (Or via the Ci Job), there isn't anything indicating how to work from Main for example.
Originally posted by @Edstub207 in https://github.com/getsentry/sentry-unreal/issues/55#issuecomment-1246541676

Compiled dependencies are available as GH Artifacts which means they can only be downloaded by the repo members. Building locally is an option though it's not exactly straightforward. Currently, the best solution I can think of is instructing users to fork the repo+branch they want and let them run CI on their fork. The only thing they would need to set up is a secret to access Unreal docker images. We could even update the CI to automatically skip this step on forks if the secret is not configured.

@vaind  worth noting I can access https://github.com/getsentry/sentry-unreal/actions/runs/3051676430 and download artifacts from that - It's more is that the best way to get the libraries or is there a better way to work? Obviously, it's not the plan from my side to use the unreleased version all the time - It's more for testing fixes.

I can access https://github.com/getsentry/sentry-unreal/actions/runs/3051676430

In that case, you can use one of the init scripts, the same way you'd use it as a contributor: https://github.com/getsentry/sentry-unreal/blob/main/CONTRIBUTING.md#first-setup
You need to have gh CLI installed and authenticated in order to be able to access the artifacts.
Any follow-up with your experience, the steps you have taken, is highly appreciated, be it here as a comment or in a PR to update the readme.


How is the req object passed to Google callback?

I've only taken snippets of code from this repo for my project, but in
https://github.com/reactGo/reactGo/blob/master/server/db/sequelize/passport/google.js
for the Google OAuth2 strategy you can see there is a request object in the parameters:
export default (req, accessToken, refreshToken, profile, done) => {...}
I couldn't find where this was set or passed from. It must be somewhere in the middleware right? I was able to have access to the object after setting a passReqToCallback to be true here so it looks something like:
  passport.use(new GoogleStrategy({
    clientID: google.clientID,
    clientSecret: google.clientSecret,
    passReqToCallback: true,
    callbackURL: google.callbackURL
  }, handleGoogleUserInfo));

. Perhaps there can be some explanation on this in the docs or comments since this req object isn't talked about in the raw Passport setup instructions? Thanks.

Thank you. @gsccheng I also think it needs passReqToCallback: true. I'll make PR.

Thanks, also related here on lines 76-77
// TODO: accesstoken was null but req looked like one...?
return createUserWithToken(profile, req, done);

the reason why the req looked like the access token is because the access token was named as req as mentioned above without telling passport to send the req.
So this should go back to being:
return createUserWithToken(profile, accessToken, done);
I can also make a PR too if I have access. Thanks!

I can also make a PR too if I have access

I had assumed you could make a PR like normal in this repository (since it's been transferred). Is that not the case now?

Thanks, looks like it's taken care of now. I probably could have made the PR I just haven't tried it yet.

@gsccheng thank you for reporting. It is merged

Closing for now. But feel free to reopen if u find problems hehe


Replace Preprocessors to preprocessors

Codecov Report

Merging #87 (418e5a5) into master (f67ba4d) will decrease coverage by 0.25%.
Report is 2 commits behind head on master.
The diff coverage is 42.85%.

:exclamation: Current head 418e5a5 differs from pull request most recent head 40cb344. Consider uploading reports for the commit 40cb344 to get more accurate results

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
- Coverage   65.04%   64.79%   -0.25%
==========================================
  Files          43       43
  Lines        2898     2903       +5
==========================================
- Hits         1885     1881       -4
- Misses       1013     1022       +9

Files
Coverage Δ

bamt/nodes/conditional_mixture_gaussian_node.py
88.18% <100.00%> (+2.72%)
:arrow_up:

bamt/networks/base.py
46.56% <33.33%> (-0.75%)
:arrow_down:

... and 1 file with indirect coverage changes


Upgrade pulumi-go-provider

Fixes https://github.com/pulumi/pulumi-docker-build/issues/262.
@iwahbe I realized while putting this together that the provider config case wasn't actually tested e2e, and I'm skeptical it was ever actually working. I think it would be reasonable to pull in https://github.com/pulumi/pulumi-docker-build/pull/253 IMO.

If you're confident that the previous configuration code wasn't load bearing, then I agree it can be removed.

Let's do that in the subsequent release to be safe.


Elixir/Mix with Browsersync

So, I finally managed to have Browsersync working with my Laravel Elixir setup. It only have one problem, so I want to share this settings with you and try to make a perfect solution for Laradock.
This settings are for Elixir, but you can make it works on Mix (Laravel >= 5.4)
gulpfile.js
[...]
    mix.browserSync({
        proxy: '<IP_ADDRESS>', // nginx or caddy Docker ip (more on that later)
        host: 'project1.dev', // your hostname from .hosts
        open: false // there is no browser in workspace
    });
[...]

You will need to find caddy/nginx Docker IP. I simply bash'ed into caddy instance and executed ifconfig.
Last thing to do is open workspace ports to make Browsersync working:
[...]
        ports:
            - "3000:3000"
            - "3001:3001"
[...]

So, only problem is this caddy/nginx Docker IP. IDK if it is static or dynamic about each stop/up sequence. If you have some thoughts, please share.

@cjmaxik Great! Try using the hostnames nginx and caddy.

@philtrep BINGO! It works. Thanks, totally forgot about that.

Like so?
Doesn't work for me.
mix.browserSync({
    proxy: 'nginx',
    host: 'project.dev',
    notify: false
});

I believe I've tried any permutation of proxy and host using localhost, nginx and project.dev. No dice. Would have been nice if you included a working config.

@philtrep
@cjmaxik
Could you please elaborate or point me to a solution? I'm stuck...

The steps are:

Modify your webpack file
mix.browserSync({ proxy:'<IP_ADDRESS>' //my docker ip ,open:false });

Modify your docker-compose.yml
After that add in "3000:3000" and "3001:3001" ports which is under workspace container section

And you are good to go

@ChaiMinChun I can't thank you enough, it works!
For future readers:
I used the <IP_ADDRESS> as the proxy IP address, it's the one I found in my Docker for Windows settings as well as in the laradock/.env file (DOCKER_HOST_IP=<IP_ADDRESS>).

I have tried this and can't get it to work.
Here is my docker-compose.yml modifications:
ports:
        - "${WORKSPACE_SSH_PORT}:22"
        - "3000:3000"
        - "3001:3001"

and here is what is in my webpack.mix.js
mix.browserSync({
    proxy: '<IP_ADDRESS>', // DOCKER_HOST_IP from .env
    port: 3000,
    open: false
});

When I run npm run watch it shows this:
[Browsersync] Proxying: http://<IP_ADDRESS>
[Browsersync] Access URLs:
 --------------------------------------
       Local: http://localhost:3002
    External: http://<IP_ADDRESS>:3002
 --------------------------------------
          UI: http://localhost:3003
 UI External: http://<IP_ADDRESS>:3003
 --------------------------------------
[Browsersync] Watching files...

Any ideas?

I actually realized that above configurations only work for some specific project setups. When using it in a Laravel project, it works just fine. When using it in an OctoberCMS project, however, it has the same issues that I previously reported.
I figure it may have to do with the folder you call npm run watch from, but didn’t come to a solution yet either.
Adding the BrowserSync script to my layout file (<script async type="text/javascript" src="//localhost:3000/browser-sync/browser-sync-client.js"></script> ) worked, although I’d say this isn’t the cleanest solution.

For anyone with multiple virtual hosts that's stuck on this.  You might need to set whichever site you're currently working on as the "default_server" in your site .conf file.  It appears the server_name passed through in the request is "localhost" so it may not trigger your desired site to load.

Just wanted to confirm that '<IP_ADDRESS>' is the correct proxy and not the ip found in the .env file (<IP_ADDRESS>).
<IP_ADDRESS> is the default ip listed using ifconfig docker0.

I've tried many combinations and this one worked for me:
in gulpfile.js
gulp.task("browser-sync", function () {     browserSync.init({         proxy: '<IP_ADDRESS>',         port: 3000, 	open:false     }); });
in docker-compose.yml
workspace:      ports:         - "${WORKSPACE_SSH_PORT}:22"         - "3000:3000"
proxy: '<IP_ADDRESS>' This IP is taken from laradock container nginx IP adress
Works like a charm.

So, I finally managed to have Browsersync working with my Laravel Elixir setup. It only have one problem, so I want to share this settings with you and try to make a perfect solution for Laradock.
This settings are for Elixir, but you can make it works on Mix (Laravel >= 5.4)
gulpfile.js
[...]
    mix.browserSync({
        proxy: '<IP_ADDRESS>', // nginx or caddy Docker ip (more on that later)
        host: 'project1.dev', // your hostname from .hosts
        open: false // there is no browser in workspace
    });
[...]

You will need to find caddy/nginx Docker IP. I simply bash'ed into caddy instance and executed ifconfig.
Last thing to do is open workspace ports to make Browsersync working:
[...]
        ports:
            - "3000:3000"
            - "3001:3001"
[...]

So, only problem is this caddy/nginx Docker IP. IDK if it is static or dynamic about each stop/up sequence. If you have some thoughts, please share.

It failed me even when in proxy I put nginx.
It gave me 404.
I solved it with entering docker-compose exec workspace bash
And modify / etc / hosts
And put
[Ip from nginx] [my hostname]

There is another way to do it, in the file docker-compose.yml put in nginx (in my case) section :

networks:
frontend:
backend:
aliases:
- mysitea
- mysiteb

Hi @Harti , did you find an other solution in the end for octobercms? (I know it is a long time ago :) )

@freeyland no, sorry. I put up with the manual script injection. I checked for environment variables‘ presence/absence to detect whether or not to render the script tag, as far as I can remember.

Here is my solution.
Workspace setting in docker-compose.yml:
[...]
  ports:
    - "3000:3000"
    - "3001:3001"
  links:
    - "nginx:mylocalsite.test"
[...]

Browsersync setting:
{
  // use existing Nginx virtual host
  proxy: {
      target: 'https://mylocalsite.test/'
  },
  host: 'mylocalsite.test',
  open: false,
  // Disable it because I use browsersync's default port
  // port: 7777,
}

Remember to set up Nginx to ensure that mylocalsite.test can be resolved.
Reference: Docker compose links

Hi @Joseph7451797
I've added  - "nginx:birdboard.test" in the links section of docker-compose.yml:
However when trying to start laradock, I get following error message:
docker-compose up -d nginx mysql phpmyadmin
ERROR: Circular dependency between nginx and docker-in-docker and php-fpm and workspace

Hi @freeyland, I apologize for the lack of pre-defined environment information.
In my use case, I copied lots settings in Laradock and moved them to my own project.
My docker-compose.yml is customized and modified, and here is the setting:
version: '3'

services:

### Workspace Utilities ##################################
    workspace:
      build:
        context: ./workspace
        args:
          - PHP_VERSION=${PHP_VERSION}
          - INSTALL_XDEBUG=${WORKSPACE_INSTALL_XDEBUG}
          - INSTALL_NODE=${WORKSPACE_INSTALL_NODE}
          - NODE_VERSION=${WORKSPACE_NODE_VERSION}
          - INSTALL_BOWER=${WORKSPACE_INSTALL_BOWER}
          - INSTALL_YARN=${WORKSPACE_INSTALL_YARN}
          - YARN_VERSION=${WORKSPACE_YARN_VERSION}
          - INSTALL_GULP=${WORKSPACE_INSTALL_GULP}
          - INSTALL_ANGULAR_CLI=${WORKSPACE_INSTALL_ANGULAR_CLI}
          - INSTALL_VUE_CLI=${WORKSPACE_INSTALL_VUE_CLI}
          - INSTALL_DUSK_DEPS=${WORKSPACE_INSTALL_DUSK_DEPS}
          - CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
          - TZ=${WORKSPACE_TIMEZONE}
      volumes:
        - ../:/var/www:cached
      ports:
        - "3000:3000"
        - "3001:3001"
      links:
        # https://docs.docker.com/compose/compose-file/#links
        - "nginx:mylocalsite.test"
### NGINX Server #########################################
    nginx:
      build:
        context: ./nginx
        args:
          - PHP_UPSTREAM_CONTAINER=php-fpm
          - PHP_UPSTREAM_PORT=9000
      volumes:
        - ../:/var/www:cached
        - ./logs/nginx/:/var/log/nginx
        - ./nginx/sites/:/etc/nginx/sites-available
        - ./nginx/ssl/:/etc/nginx/ssl
      ports:
        - "80:80"
        - "443:443"
      depends_on:
        - php-fpm

### PHP-FPM ##############################################
    php-fpm:
      build:
        context: ./php-fpm
        args:
          - DOCKER_HOST_IP=${DOCKER_HOST_IP}
          - INSTALL_XDEBUG=${WORKSPACE_INSTALL_XDEBUG}
      volumes:
          - ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
          - ../:/var/www:cached

### Redis ################################################
    redis:
      build: ./redis
      volumes:
        - ./data/redis:/data
      ports:
        - "6379:6379"

### Memcached ############################################
    memcached:
      build: ./memcached
      volumes:
        - ./data/memcached:/var/lib/memcached
      ports:
        - "11211:11211"

[...]

env file:
PHP_VERSION=7.1

# local IP of host machine
DOCKER_HOST_IP=your_machine_local_IP

### WORKSPACE #############################################

WORKSPACE_INSTALL_XDEBUG=true
WORKSPACE_INSTALL_NODE=true
WORKSPACE_NODE_VERSION=8
WORKSPACE_INSTALL_BOWER=false
WORKSPACE_INSTALL_YARN=true
WORKSPACE_YARN_VERSION=latest
WORKSPACE_INSTALL_GULP=false
WORKSPACE_INSTALL_ANGULAR_CLI=false
WORKSPACE_INSTALL_VUE_CLI=false
WORKSPACE_CHROME_DRIVER_VERSION=2.42
WORKSPACE_INSTALL_DUSK_DEPS=true
WORKSPACE_TIMEZONE=Asia/Taipei

Two things to be clarify:

Starting script: docker-compose up -d workspace redis
This setup is same as Laradock multiple projects setup. Reference: https://laradock.io/getting-started/#B

Here is my solution.
Workspace setting in docker-compose.yml:
[...]
  ports:
    - "3000:3000"
    - "3001:3001"
  links:
    - "nginx:mylocalsite.test"
[...]

Browsersync setting:
{
  // use existing Nginx virtual host
  proxy: {
      target: 'https://mylocalsite.test/'
  },
  host: 'mylocalsite.test',
  open: false,
  // Disable it because I use browsersync's default port
  // port: 7777,
}

Remember to set up Nginx to ensure that mylocalsite.test can be resolved.
Reference: Docker compose links

the links: ... did the trick, thanks @Joseph7451797 !

Chinese version answer:
给中文读者的解答:
你能访问到 BrowserSync 的 JS 脚本，但是却访问不到项目。原因如下
你应该是在 workspace 这个 docker 内运行的 npm run watch 吧。
所以你在本机上通过3001接口能正常访问到 workspace 内运行的 browsersync。
但是如果 workpace docker不经过配置，在 workpace 内是无法访问到你的 nginx 站点的，因为你的项目配置在 nginx docker 内。这两个 docker 没有打通。
比如你可以尝试进入 workspace 的 bash，然后 curl 你的站点 url，应该是什么都访问不到。
解决方案就是让 workspace 和 nginx 互相打通：

修改docker-compose.yml 中 workspace 的配置

      ports:
        - "3000:3000"
        - "3001:3001"
        - "${WORKSPACE_SSH_PORT}:22"
      tty: true
      environment:
        - PHP_IDE_CONFIG=${PHP_IDE_CONFIG}
        - DOCKER_HOST=tcp://docker-in-docker:2375
      networks:
        - frontend
        - backend
      links:
        - docker-in-docker
        - nginx:abc.xx.locahost(你的nginx站点）

重新build workspace docker，

docker-compose up -d --force-recreate --no-deps --build workspace

如果提示依赖出现问题，就修改 docker-composer.yml 中 nginx 的设置，把下面这个依赖删除， 然后重新 build
depends_on:
- php-fpm

laravel 项目的 webpack.mix.js 中的 browser-sync 代码写成
mix.browserSync('abc.xx.locahost');
最后在 workspace 中的 laravel 项目中运行 npm run watch
浏览器访问localhost:3000

Aliases for nginx worked for me
        backend:           aliases:              - site.local
And in webpack.mix.js
   .browserSync({       proxy: {         target: "http://site.local"       }
But when I'm trying to try to use links for workspace
      links:         - docker-in-docker         - nginx:site.local
Getting this errors Circular dependency between workspace and docker-in-docker and php-fpm and nginx


Connect steam guard

Excuse me, I could not find information on how to connect Steam Guard. Can you tell how to log in and accept the trade if I want to connect Steam Guard.
My first problem in screenshot: (email auth on account):

password in config is true 100%, but need authcode for auth from mail

#427 #527

thank you, sorry for the stupid question


Lib 489

As a developer I want to have identical objects in relations

Other than the one above - looks good!

LGTM


Recent updates for hyperloglog and MinHash-like algorithms for your book

Dear Andrii,
This is Jianshu, a Ph.D student in CSE & Bioinformatics, studying probabilistic data structures and their applications in biological sequences analysis. I read your book on probabilistic data structures and algorithms for big data application, which is a very detailed and thorough introduction of many probabilistic data structures from very beginning. I love it so much and I think this is the first book on this topic despite that fact that many data structures and algorithms books cover some of them but not all.
Since the book was written in 2019 or so, it does cover almost all cutting-edge algorithms in cardinality estimation and similarity search (MinHash et.al.). However, in recently years (including 2 or 3 years before 2019), there are many new breakthroughs such as those related to HyperLogLog and MinHash.

in 2017, Ertl came up with new estimator for HyperLogLog (https://arxiv.org/pdf/1706.07290.pdf), including an improved estimator and a Maximum Likelihood Estimator, which is theoretical optimal (it will be mentioned in below section 4). Improved estimator is much better at small cardinalities but it still has large variation at very small and very large cardinalities (no need to correct bias like HyperLogLog++). MLE is the smallest relative variance both in theory and in practice. However, it is expensive to compute because of  the need to solve a three-dimensional optimization problem, which does not easily translate into a fast and robust algorithm. The cardinality of two set, A and B can be used to estimate Jaccard index via the inclusion-exclusion rule for similarity search (competing with MinHash, MinHash is also approximating Jaccard index), which requires much smaller memory than MinHash for similar accuracy (but slower). The paper also proposed a joint Maximum Likelihood Estimator (JMLE), which estimate Jaccard index (estimate intersections and unions first) based on HyperLogLog sketches of set A and B, also theoretical optimal and has smaller variance than the one mentioned just now (use cardinality of A and B, inclusion-exclusion rule). This is even slower for Jaccard estimation but the most accurate. Ertl's work was based on Daniel Ting's pioneering work here (https://dl.acm.org/doi/abs/10.1145/2939672.2939772) and also Cohen's work here (https://dl.acm.org/doi/abs/10.1145/3097983.3097999).
Seth Pettie team developed a more general framework, called Tau-GRA (generalized remaining area), which includes LogLog, PCSA, HyperLogLog, and improves the HyperLogLog estimator relative variance from 0.4% (1.079/m) to 0.04% (1.075/m), compare to the Camer-Rao lower bound which is 1.074/m when Tau is 0.88989 and it does not need correction for small cardinalities. The maximum likelihood estimator mentioned above meets the Camér-Rao lower bound but very expensive, the Tau-GRA is very easy to compute and update than MLE methods, despite not optimal (but very small variance). The paper is here: https://arxiv.org/abs/2208.10578 . Those work are based on the pioneering work of Daniel Ting here (https://dl.acm.org/doi/abs/10.1145/2623330.2623669).
New MinHash algorithm, SuperMinHash, which improves MSE of original MinHash (https://arxiv.org/abs/1706.05698) and ProbMinHash (estimate Jp, not exactly Jaccard), which takes into account set multiplicity/abundance and set size (e.g., several same element in the set, each has to be considered, or relative frequencies because it also normalize by the total set size) (https://ieeexplore.ieee.org/abstract/document/9185081?casa_token=R8ncquggKvsAAAAA:JU4MPQOraTFHfBWCvufavLjEhIN67N269yu9-MVDr29-6kzE0iJ9h9RK-brFvhnRMVNoAvLQ). BagMinHash (https://dl.acm.org/doi/abs/10.1145/3219819.3220089) and DartMinHash (https://arxiv.org/abs/2005.11547), both take into account the weights of element in set (but not set size). Those two approximate Jw instead of simple Jaccard. The latter it the fastest weighted MinHash algorithm.
B-bit one permutation MinHash with optimal densification, theoretically fastest MinHash algorithm, based on work from several other papers but summarize in this paper as a whole:  http://proceedings.mlr.press/v70/shrivastava17a/shrivastava17a.pdf
New data structure,  SetSketch, which benefits from MinHash and Hyperloglog, both fast and space efficient. The interesting point of paper is that actually MinHash and HLL can be combined into such one data structure. Several estimators are also derived, see paper here: https://vldb.org/pvldb/vol14/p2244-ertl.pdf

I am wondering whether there will be a new version of the book in the following years. If yes, those topics could be very relevant and interesting to many readers. I would be happier to be part of it.
Looking forward to your reply.
Thanks,
Jianshu

Thank you for the email, Jianshu.
Yes, there are many new pieces of research in this field that have been
completed since 2018 when the book was completed. It is a very long
discussion about that to include in the book to keep it feasible to read
... the original idea was to highlight the typical approaches without
having to explain all possible algorithms. As you surely know, every slight
change could produce a new algorithm that is a bit better/efficient/nicer
than the original but the underlying idea in most cases stays the same.
There is an idea to have another version of the book where I would like to
describe more algorithms but with fewer details, more like a textbook. But
these are rather plans.
Currently, I primarily have to focus on different languages (by the way, we
recently published an edition in simplified Chinese) and try to accumulate
the new algorithms to decide in which format to re-publish the book.
Your list contains excellent points, thank you for it. Of course, once
there will be new edition draft, I would be happy to send it to you
for early reading ;)
Thank you for reading!
Andrii Gakhov
Am So., 4. Juni 2023 um 06:46 Uhr schrieb Jianshu_Zhao <
@.***>:

Dear Andrii,
This is Jianshu, a Ph.D student in CSE & Bioinformatics, studying
probabilistic data structures and their applications in biological
sequences analysis. I read your book on probabilistic data structures and
algorithms for big data application, which is a very detailed and thorough
introduction of many probabilistic data structures from very beginning. I
love it so much and I think this is the first book on this topic despite
that fact that many data structures and algorithms books cover some of them
but not all.
Since the book was written in 2019 or so, it does cover almost all
cutting-edge algorithms in cardinality estimation and similarity search
(MinHash et.al.). However, in recently years (including 2 or 3 years before
2019), there are many new breakthroughs such as those related to
HyperLogLog and MinHash.

in 2017, Ertl came up with new estimator for HyperLogLog (
https://arxiv.org/pdf/1706.07290.pdf), including an improved estimator
and a Maximum Likelihood Estimator, which is theoretical optimal (it will
be mentioned in below section 4). Improved estimator is much better at
small cardinalities but it still has large variation at very small and very
large cardinalities (no need to correct bias like HyperLogLog++). MLE is
the smallest relative variance both in theory and in practice. However, it
is expensive to compute because of the need to solve a three-dimensional
optimization problem, which does not easily translate into a fast and
robust algorithm. The cardinality of two set, A and B can be used to
estimate Jaccard index via the inclusion-exclusion rule for similarity
search (competing with MinHash, MinHash is also approximating Jaccard
index), which requires much smaller memory than MinHash for similar
accuracy (but slower). The paper also proposed a joint Maximum Likelihood
Estimator (JMLE), which estimate Jaccard index (estimate intersections and
unions first) based on HyperLogLog sketches of set A and B, also
theoretical optimal and has smaller variance than the one mentioned just
now (use cardinality of A and B, inclusion-exclusion rule). This is even
slower for Jaccard estimation but the most accurate. Ertl's work was based
on Daniel Ting's pioneering work here (
https://dl.acm.org/doi/abs/10.1145/2939672.2939772) and also Cohen's
work here (https://dl.acm.org/doi/abs/10.1145/3097983.3097999).
Seth Pettie team developed a more general framework, called Tau-GRA
(generalized remaining area), which includes LogLog, PCSA, HyperLogLog, and
improves the HyperLogLog estimator relative variance from 0.4% (1.079/m) to
0.04% (1.075/m), compare to the Camer-Rao lower bound which is 1.074/m when
Tau is 0.88989 and it does not need correction for small cardinalities. The
maximum likelihood estimator mentioned above meets the Camér-Rao lower
bound but very expensive, the Tau-GRA is very easy to compute and update
than MLE methods, despite not optimal (but very small variance). The paper
is here: https://arxiv.org/abs/2208.10578 . Those work are based on
the pioneering work of Daniel Ting here (
https://dl.acm.org/doi/abs/10.1145/2623330.2623669).
New MinHash algorithm, SuperMinHash, which improves MSE of original
MinHash (https://arxiv.org/abs/1706.05698) and ProbMinHash (estimate
Jp, not exactly Jaccard), which takes into account set
multiplicity/abundance and set size (e.g., several same element in the set,
each has to be considered, or relative frequencies because it also
normalize by the total set size) (
https://ieeexplore.ieee.org/abstract/document/9185081?casa_token=R8ncquggKvsAAAAA:JU4MPQOraTFHfBWCvufavLjEhIN67N269yu9-MVDr29-6kzE0iJ9h9RK-brFvhnRMVNoAvLQ).
BagMinHash (https://dl.acm.org/doi/abs/10.1145/3219819.3220089) and
DartMinHash (https://arxiv.org/abs/2005.11547), both take into account
the weights of element in set (but not set size). Those two approximate Jw
instead of simple Jaccard. The latter it the fastest weighted MinHash
algorithm.
B-bit one permutation MinHash with optimal densification,
theoretically fastest MinHash algorithm, based on work from several other
papers but summarize in this paper as a whole:
http://proceedings.mlr.press/v70/shrivastava17a/shrivastava17a.pdf
New data structure, SetSketch, which benefits from MinHash and
Hyperloglog, both fast and space efficient. The interesting point of paper
is that actually MinHash and HLL can be combined into such one data
structure. Several estimators are also derived, see paper here:
https://vldb.org/pvldb/vol14/p2244-ertl.pdf

I am wondering whether there will be a new version of the book in the
following years. If yes, those topics could be very relevant and
interesting to many readers. I would be happier to be part of it.
Looking forward to your reply.
Thanks,
Jianshu
—
Reply to this email directly, view it on GitHub
https://github.com/gakhov/pdsa/issues/28, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHC737WAVCWFJOXL6AYFZ3XJQHKBANCNFSM6AAAAAAYZWMDCQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello Andrii,
I would be also happy to read the Chinese version(you know I am from China). I am working on implement those structures in Rust,a high performance compiling language with memory and thread safety. For real world large data,performance and parallelization is more important, e.g. parallelizing HLL on multithread computer. Is the Chinese version available now, I cannot find it online.
We have already implemented SetSketch and ProbMinhash/SuperMinhash,next will be bagminhash or dartMinHash and the generalized remaining area for PCSA and HLL. Perhaps also b-bit one permutation with optimal densification. Those are not just small changes but a better estimator with theoretical minimum relative variance. Should be very interesting in a lot of applications.
I also forget to mention the new Count-Min sketch from Ting Daniel, also a MLE based method, much better relative variance compared to the original estimator. See here: https://dl.acm.org/doi/abs/10.1145/3219819.3219975
I think explaining those new ideas based on you detailed explanation will be excellent for many beginners, who want to understand and implement all those cutting edge algorithms.
Thanks for the quick response greatly appreciated.
Jianshu

The most important one for MinHash is #4 mentioned above, which break the complexity from O(dk) to O(d+k), d is nonzero elements in the set while k is the number of minhashes due the densify idea with 2-universal hash function.  This has never been achieve before and my implementation and others (e.g. bindash) showed that, it is at least 100X faster than the classic Minhash and coverage to 0 variance much faster (squt(J(1-J)/m)). Should be a replacement to the traditional MinHash.
Thanks,
Jianshu

Dear  Andrii,
It seems the recent breakthrough in densification method for one permutation Minhash with densification has reached the theoretical limit. In additional to the optimal densification method mentioned above, fast densification (http://proceedings.mlr.press/v115/mai20a.html) and bidirectional densification (https://dl.acm.org/doi/abs/10.1145/3448016.3452833) further push the limit and achieve better average case running time, a limit of this method.
Thanks,
Jianshu


Support for XM / Mod files ?

I was wondering, how hard would it be to implement support for playing XM audio ? Maybe a wrapper over a C library ?
https://github.com/Artefact2/libxm
(or js ?)
https://github.com/steffest/BassoonTracker

I'm afraid I know nothing about these formats.
As Ebiten's audio can play any PCM by representing io.Reader, you can play it by creating your own binding (with Cgo).

This is a great module library for C: https://github.com/kode54/dumb. It would be not so hard to either wrap it with CGO port it to Go language, I think.

Let me close this. Feel free to reopen this.


Create  greathappiness

submit baker ID                         99
submit account address               3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
node ID                                        0eed83ebf7ae76d1

confirmed:B3

confirmed:B3

pending:ID4
AccountAddress:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
DeviceDetails:verified
We cannot fully verify this submission.It looks like you are trying to submit ID4, however, it seems like we cannot find the transaction between your account and Concordium Test Account. Please assist us by providing the missing credentials.
@greatHappiness

pending:ID4
AccountAddress:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
DeviceDetails:verified
We cannot fully verify this submission.It looks like you are trying to submit ID4, however, it seems like we cannot find the transaction between your account and Concordium Test Account. Please assist us by providing the missing credentials.
@greatHappiness

confirmed:B4
address:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
baker:99

confirmed:B4
address:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
baker:99

confirmed:ID4
AccountAddress:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
DeviceDetails:verified

confirmed:ID4
AccountAddress:3WRvFKkUJinitQwphHz756ViUmLGh6durATiZKdCz6LuvWFybs
DeviceDetails:verified

Hello greatHappiness! The address you provided to collect rewards doesn't exist on the chain. Please create a new one and send it here.
Thank you


93 -> Added test cases - MOCK, DoT and Null for ValveFactory

This PR includes:

addition of SPRING test dependencies in the df-valve/pom.xml
addition of a ValveFactory test suite

This connects to #93

The command to add the licensing information to source files is mvn license:format.
Otherwise, the PR looks pretty good.

Thanks for the fix, Vijay.
Please remove the unused test imports from the codacy summary

Thanks for the fix, Vijay.
Please remove the unused test imports from the codacy summary

Yes, I have removed the unused imports from the test class.


How do you search in a relationship using where

I have the following url: www.myapp.com/api/elements/?search=sometext.
My elements table has a relationship with a some tables, so I want to use the search criteria y the others table that are related to it, the fields in others tables are basically names. The documentation is not so clear how can I use where with relationship. How can I handle this?

Cannot help much without any real code in place. Feel free to reopen with some context


Bug authenticating using Azure driver

Here's the workflow I'm following:

Provision a Docker Host from Windows 10 using docker-machine
Share authentication keys with Mac, Linux, and other Windows clients, by copying $env:UserProfile\.docker\machine\machines\<DockerHost>
Running docker-machine env >DockerHost> results in a prompt to authenticate via web browser
The following error message appears

We're trying to share a stand-alone Docker Host in a team environment. What's the best way to handle this?

Cheers,
Trevor Sullivan
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86

@pcgeek86 seems like a dupe of #3580. AAD team is working on a fix for this bug for a while now. In the meanwhile, can you please try using an incognito browser window (or clearing your microsoft.com, live.com, windows.net etc. cookies)?  If you ever get this AADSTS90011 error again, feel free to contact me here or via email directly. I'd love to get a correlation ID to investigate further but AAD has recently deployed a fix that should be solving this problem.
If your problem went away, please consider closing the issue.

@ahmetalpbalkan Haven't had time to set up this scenario again. Closing for now, as it's a known issue.

@pcgeek86 in the meanwhile you can try the patch at #3665 that lets you use Service Principal Accounts with Docker Machine.


server: observe read index durations

What is changed and how it works?

Issue Number: Close #xxx

What's Changed:
Use UUIDv7 as the read index context so that the following durations can be observed:
1. the duration it takes for a heartbeat request to be sent to the follower
2. the duration it takes for the heartbeat response to be received by the leader

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

xxx

Please refer a  bug#


Source containers: don't report v2 schema 1 media type

Signed-off-by: Tim Waugh<EMAIL_ADDRESS>Maintainers will complete the following section:

[x] Commit messages are descriptive enough
[x] "Signed-off-by:" line is present in each commit
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[x] Pull request includes link to an osbs-docs PR for user documentation updates
[x] New feature can be disabled from a configuration file

5 of 5 new or added lines in 1 file covered. (100.0%) ignoring coveralls failure

@MartinBasti @athos-ribeiro want to take another look? I updated this to deal with there being no expected_media_types configured.

Release notes added:

added the ability to limit media types reported in Koji metadata for source container images


Fix crash in mipSamples setter

There might be an unintended change in 40502cc8b80fc8521b07a1d27739659215da763e :)

Thanks!

@mikolalysenko You're welcome! Anyway, I am a big fan of you. I can't imagine writing code without your outstanding works like ndarray, cwise, meshers and so on. Just wanted to express my gratitude. Have a nice day :)

Glad it's all been helpful for you.  Also if you are still doing WebGL stuff you might want to check out regl which is a new thing I've been building.

regl might be the most promising library in WebGL eceosystem :) I am considering using it for the next project. Thanks again!


feat(val_sanity): enable skipping validation sanity

when self.nb_sanity_val_steps is 0

I agree, you might want to add a we recommand not skipping this, but the original implementation meets a divide by zero when setting it to 0


Bump 6.8 branch to 6.8.19-SNAPSHOT

This PR bump chart version and Docker images to 6.8.19-SNAPSHOT version to test 6.8.19 development version.
See New branching model for more details.

jenkins test this please


Use Micrometer instead of MP metrics in observability example

This is complete & ready for 2.7.0 in https://github.com/apache/camel-quarkus-examples/pull/70.


Rename helper method to epel_8_repos to not conflict with yum-centos

Signed-off-by: Lance Albertson<EMAIL_ADDRESS>

Released as: 4.2.3


Show locked/stacked Stacks balances

The UI only shows available balance, and not what is stacked.

Is this the case only for Ledger-connected accounts or even software ones?

I suppose this is not specific to Ledger. (Just happened to discover using my stacking Ledger).

Cool, makes sense 👍

https://user-images.githubusercontent.com/119523541/211592391-3f7b1c48-b4a1-4888-a84b-0f326a3e8b36.mov
Prototype

Figma

Looking good! A couple notes:

If the user has only partially locked their balance, do we want to show both "locked" and "unlocked" sub-balances? Or just "locked" and the user has to deduce the remaining unlocked amount? I believe in the desktop wallet we show both, with the unlocked labeled "10 STX available"
We can create a new tab for Stacking in the wallet here (and I like the idea!), though I'm not sure we can embed the Stacking app / UX entirely there since it'll live in a separate code base for the hosted site. Perhaps we can start with a simple prompt to "get started with Stacking" that would take the user to the separate app, then enhance from there inside the wallet itself?
Should we perhaps show the top-level balance on the home screen in USD with the STX shown further below? We should perhaps consider that approach, placing the locked/unlocked UI under "Balances" in the STX row itself so it's specific to that asset and not others.

@mica000 I'm thinking that short-term until we add the new token-specific screens, we should just push a hotfix for locked vs. unlocked (because right now we show just the unlocked amount so it appears as though you've lost all the locked STX 😱)
wdyt of this simple parenthesis?

@markmhx Seems like a good idea. Let's try and see how it feels

This is related to https://github.com/hirosystems/wallet/issues/3569
Figma in progress: https://www.figma.com/file/aIhESuca3xWkJ7efpaivbV/Balances?node-id=0%3A1&t=uNgCPD24CgnpFIrM-1


React project doesn't recognize the exported model

Hello, after replacing the template's files in the model folder I got this error. I'm using the latest version of Lobe: 0.11.714.2. I Can't figure out what could be the issue, any idea?

I'm experiencing the same. Have you found the solution, by any chance?

I am encountering a similar problem, I found that it may be due to the type of AI model used being layer models instead of graph models. Therefore, I tried to export the AI file in lobe.ai again with the TensorFlow format, then follow the instruction here: https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to convert the TensorFlow SavedModel to TensorFlow.js graph_model and do the replacing of the template file over again. It works! Hope that might help you.

Did anyone find another solution?

Facing the same issue


Regression in typer for named arguments of infix methods in ghostdogpr/caliban

Based on OpenCB failure for ghostdogpr/caliban - build logs
Affects also:

openmole/container - build-logs
scala-stm/scala-stm - build logs
shopstic/caliban (fork of project above) - build logs
tarao/record4s - builds logs
tpolecat/atto - build logs
algolia/algoliasearch-client-scala - build logs

The new behaviour might have become present by the stabilization of named tuples. Previously named tuples syntax was not tried without an explicit experimental flag enabled.
Compiler version
Last good release: 3.6.0-RC1-bin-20241003-a672e05-NIGHTLY
First bad release: 3.6.0-RC1-bin-20241005-6fa81cf-NIGHTLY
Bisect points to 87cdbc8c7851830c16de0c8c828cde0f7cd0ce48
Minimized code
trait GraphQLRequest
sealed trait SelectionBuilder[+A]:
  def toGraphQL[A1 >: A](queryName: Option[String] = None): GraphQLRequest = ???

trait Character
trait Field[A] extends SelectionBuilder[A]

def query =
  val field: Field[Character]  = ???
  val works = field.toGraphQL(queryName = Some("GetCharacter"))
  val fails = field `toGraphQL` (queryName = Some("GetCharacter"))

Output
-- Error: /Users/wmazur/projects/sandbox/test.scala:11:44 ----------------------
11 |  val fails = field `toGraphQL` (queryName = Some("GetCharacter"))
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |method toGraphQL in trait SelectionBuilder: (queryName: Option[String]): GraphQLRequest does not have a parameter equeryName

Expectation
The compiler should interpret infix apply as list of arguments instead of named tuple.

cc @odersky

The compiler should interpret infix apply as list of arguments instead of named tuple.

No, it should not. Argument syntax should be tied to regular method calls, An infix operator takes two expressions; there is no argument list in the traditional sense. Another case where this matters is
  a *: (b, c)

This should really preprend a to the tuple (b, c). Right now it's a type error because the right operand is treated like an argument list. We want to get away from that. Named tuples are just one bit where this problem manifests itself.
Workaround:
  val fails = field.toGraphQL(queryName = Some("GetCharacter"))

It's a lot clearer anyway.
As with the other named tuple problem we should try to do a migration warning and offer a rewrite rule.

I agree that this code was weird, I fixed it in Caliban: https://github.com/ghostdogpr/caliban/pull/2440

Tracking issue: https://github.com/scala/scala3/issues/21681.
Work in progress for the warning: https://github.com/scala/scala3/pull/21565


Does not work with Google Maps v2

cordova information: (run $> cordova plugin list)
com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-googlemaps 2.0.0-beta3-20170816-1600 "cordova-plugin-googlemaps"
cordova-plugin-wkwebview-engine 1.1.4-dev "Cordova WKWebView Engine"
cordova-wheel-selector-plugin 1.0.0 "Cordova Wheel Selector Plugin"
Current behavior:
https://ionicframework.com/docs/native/wheelselector-plugin/
https://ionicframework.com/docs/native/date-picker/
These both 2 plugins does not work at all with new Google Maps version.
The feeling is that those 2 plugins are invisible - finger can't do any tap.
Expected behavior:
They should work as they worked in the 1.4 version.
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1650

I have the exact same issue with the date picker plugin.
I removed the Google Maps plugin and date picker worked fine again. I installed Maps 2.0 plugin again and the issue came back.
I can't use Google Maps 1.4 because I'm using Ionic 3.
@LeVadim did you find any solution ?


Fixes the _char_position tracking in dialog_node.gd

This resolves incorrect blip sounds if the text box has text added to it instead of set.

Hold on, gotta account for more scenarios

Many thanks!


Create autodistill CLI

This PR creates an autodistill command line interface. This interface is installed with the package. Using the command line interface, developers can use autodistill in a single command, without having to manually install the requisite packages and write scripts to use each module.
This is a new PR continuing from #41, which was accidentally merged then rolled back.

WIll address all pending comments, add a section in the README, then announce tomorrow.

There are still some comments in #41 also (probably not all need to be actioned before merge)


WIP: Initial implementation for offline docs generation

📚 Context

🧠 Description of Changes

Revised:
Insert screenshot of your updated UI/code here
Current:
Insert screenshot of existing UI/code here
💥 Impact

Size:

[ ] Small
[ ] Not small

🌐 References

[ ] Notion

Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Closing for now since the build throws a timeout error due to all the PDFs that need to be rendered 😓


WIP: [Bidding flow] Add the ability for first-time bidders to add billing address

finishes https://artsyproduct.atlassian.net/browse/PURCHASE-153

[ ] Add more test converage

Screenshots

sent a PR from the wrong repo...


v6 broken due to missing sharp 0.33 binariers

I've upgraded Vite 4 to 5 and all plugins, and only imagetools broke.
frontend-1  | failed to load config from /usr/src/front/vite.config.js
frontend-1  | error when starting dev server:
frontend-1  | Error: Could not load the "sharp" module using the linux-x64 runtime
frontend-1  | Possible solutions:
frontend-1  | - Ensure optional dependencies can be installed:
frontend-1  |     npm install --include=optional sharp
frontend-1  |     yarn add sharp --ignore-engines
frontend-1  | - Ensure your package manager supports multi-platform installation:
frontend-1  |     See https://sharp.pixelplumbing.com/install#cross-platform
frontend-1  | - Add platform-specific dependencies:
frontend-1  |     npm install --os=linux --cpu=x64 sharp
frontend-1  | - Consult the installation documentation:
frontend-1  |     See https://sharp.pixelplumbing.com/install
frontend-1  |     at Object.<anonymous> (/usr/src/front/node_modules/sharp/lib/sharp.js:114:9)
frontend-1  |     at Module._compile (node:internal/modules/cjs/loader:1376:14)
frontend-1  |     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
frontend-1  |     at Module.load (node:internal/modules/cjs/loader:1207:32)
frontend-1  |     at Module._load (node:internal/modules/cjs/loader:1023:12)
frontend-1  |     at Module.require (node:internal/modules/cjs/loader:1235:19)
frontend-1  |     at require (node:internal/modules/helpers:176:18)
frontend-1  |     at Object.<anonymous> (/usr/src/front/node_modules/sharp/lib/constructor.js:10:1)
frontend-1  |     at Module._compile (node:internal/modules/cjs/loader:1376:14)
frontend-1  |     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Of course I'm not going to install sharp manually like advised in console - it's dependency of imagetools so it should work out of the box like before.
I found same issues sharp v0.33, but they are marked as solved because this supposed to be bug with Vercel which was fixed, but Vercel is not used here :P
https://github.com/lovell/sharp/issues/3870
https://github.com/lovell/sharp/issues/3900
What I tried:

purging node_modules and lock file for fresh binaries - same
changing node 18 to 20 - same
downgrading imagetools from 6 to 5 - working

It's indeed something with sharp, because when there is 0.33 in lock file it crashesh, but downgrading sharp by downgrading imagetools helps

EDIT: version 6.1.0 also works. In changelog it states that sharp 0.33 was included in 6.2.7 so 6.2.6 should work fine but no, locking it to 6.2.6 still installs latest sharp.

Please report in the sharp repository

@benmccann but I'm using imagetools, not sharp, don't you think? So this is correct repository for issue. Especially that author of sharp is saying that this not bug in sharp, but implementation. Even if it is bug in sharp, again, I'm not installing it. It is dependency of this library.

No. That logic doesn't fly with any open source project. Maintainers can't possibly be responsible for bugs in all the libraries that they use. And those libraries also have their own dependencies. Many projects would be responsible for bugs in thousands of libraries at that rate. If you can show we've done something wrong in this project then we can address it. If you're using yarn this may be a duplicate of https://github.com/JonasKruckenberg/imagetools/issues/659. Otherwise there's nothing to suggest there's a bug in this library


Add jaxb-api as explicit dependency

This gives partial support for newer JVM's (no GUI support though). Successfully tested by runnning on openjdk 14.
Fixes #27.
Partially fixes #31.

A more proper fix is proposed in #89, but after discussing with @stiankri this might bring in some issues with licensing of JavaFX that needs to looked at. My gut feeling tells me we would be safe due to the classpath exeption to GPL, but I'm not a lawyer (https://github.com/openjdk/jfx/blob/master/LICENSE#L326-L347)

A more proper fix is proposed in #89, but after discussing with @stiankri this might bring in some issues with licensing of JavaFX that needs to looked at. My gut feeling tells me we would be safe due to the classpath exeption to GPL, but I'm not a lawyer (https://github.com/openjdk/jfx/blob/master/LICENSE#L326-L347)


[SUPPORT] Change Data Capture(CDC) for hudi

https://docs.google.com/document/d/1bN6rdLNcYOHnT3xVBfB33BoiPO06aKBo56SZmuU9pnY/edit#heading=h.czd6l3c9xj87

Thanks for the reporting @melin , actually hoodie already implemented this feature already since release 0.9, we add a metadata field named __hoodie_operation to record the per-record change flag. And hoodie can consume CDC and be read a CDC source both through Flink engine already. The spark engine should follow in this feature soon.
But like you said, we should  have a more general solution, let's say hoodie would support CDC logs not only for CDC source, but appending logs too, the RFC is coming soon ~

Spark PR： https://issues.apache.org/jira/browse/HUDI-2941

CC @YannByron

Hey @YannByron, can you follow up on this. Feel free to file a jira ticket on the ask and take it from there.

sure. https://issues.apache.org/jira/browse/HUDI-3478 to this issue.


Write a Haskell program to reverse words in a string

Description
Write a Haskell program to reverse words in a string
Input  : "Hello World"
Output : "World Hello"

Contributed by - @Parvezkhan0

How to contribute

Fork this repository
Create a new branch
Save the solution in program/reverse-words-in-a-string/reverse_words_in_a_string.hs
Commit the changes
Create a pull request

!assign


Mbasiuk/tdi 38572 rename variables back

What is the current behavior? (You can also link to an open issue here)
Previous implementation breaks any migration to 6.5.0 since property name was changed.
What is the new behavior?
Return back all property names and rename only display name for property.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:


geo layout attributes only visible in subplots tab

It took me a pretty long time/a few tries to find the geo attributes (projection, map options, ) when creating a map, it looks like those options are currently available in the Subplot tab:

I'm not sure if this is a bug or was intended but can we consider adding these features to one of the style tabs, I don't think it makes sense in the subplots section as users won't visit that section when plotting only a single trace
cc @VeraZab @dmt0

This is by design because these are subplot level attrs... ie you can have two maps so we can’t put them in style

We could consider a Geo panel though

In that case perhaps there could be a message similar to the subplot message to push users over there when creating a map, however I think a geo panel makes a little more sense. It would be interesting to know if it's more common to make a single map or subplot maps.

Certainly it’s more common to make a simple map of course

But we can’t just prevent the editing of multiple subplot options just because of that :)

we can’t just prevent the editing of multiple subplot options just because of that :)

sure, but it seems like in that case it would be useful to have a message similar to that posted when creating subplots directing to that tab:

though imo a geo tab would be the best solution as it does seem counterintuitive to style geo attributes for a single map in the subplot tab

Let's go with a Style/Geo tab that hides if there are no scattergeo or choropleth traces and contains a subplot-accordion for just the geo subplots.


Move tests and examples related to persistence out of this repo

Should reside alongside the code in the new contentful-persistence.objc repository.

Integrating CoreData classes via the ContentfulPersistence Pod now since 0ae8ce85f5aeee1d48e278e13787551ec300b1d7 — this is not a perfect solution, but works.


Can you add a OSI license to this library

I want to use import this library for use in a production app we have at my company as this seems to be better maintained than the other sqlite cipher library.
However i don't quite feel comfortable importing something that cannot be verified as open source into something that affects more than just me.

Which package are you referring to,  sqlcipher_flutter_libs? The package itself is licensed under MIT, but it bundles SQLCipher and parts of OpenSSL so I've added those licenses as well.

Yes, i am referring to sqlcipher_flutter_libs (https://pub.dev/packages/sqlcipher_flutter_libs).
pub.dev in the score section still has the license marked as un-recognized so i figured id make a post.

I'm following the advice from here to include multiple licenses for the plugin. It's understandable (but unfortunate) that pub.dev can't pick that up, but since this plugin statically links the other software as well I think that's the way it needs to be done.
So the story is that, if you depend on sqlcipher_flutter_libs, you're linking code from three projects (OpenSSL, SQLCipher,  sqlcipher_flutter_libs). I think it's best if I add all these components to the LICENSE file here, since the licenses for OpenSSL and SQLCipher would not show up in the license page for apps otherwise - which means that apps built with that package would violate the two licenses by default. That's arguably much worse.
I can understand the uneasy feeling about this, but I can't sweep the two additional licenses under the floor either. The code in sqlcipher_flutter_libs is MIT licensed, OpenSSL is under the Apache license and SQLCipher has this weird license that looks like a 3-clause BSD with an "All rights reserved" clause at the beginning. That's what it says in the LICENSE file added to this repository as well, I can't give any advice on what that means for downstream users.


Wikitree import

This is  a bug | feature request.

Prerequisites

[ ] Are you running the latest version?
[ ] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/familytree365)
[ ] Did you check the documentation?
[ ] Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Might need extra work to the backend API for WikiTree to login to a provided username then be able to loop through their data and import selected / all records.


Any Example of running it on EMR cluster !!!

I didn't find any example of running it on EMR Cluster.
It would be nice if we have steps to run it on EMR cluster from Jupyter notebook.

We are working on it at the moment! Keep your eyes out :)

Hi @naveencha ! This should do the trick!
Your EMR cluster must be running Spark v2.4.6 in order to work with PyDeequ. Once you have a running cluster that has those components and a SageMaker notebook with the necessary permissions, you can configure a SparkSession object from the below template to connect to your cluster. If you need a refresher on how to connect a SageMaker Notebook to EMR, check out this AWS blogpost on using Sparkmagic.
Once you’re in the SageMaker Notebook, run the following JSON in a cell before you start your SparkSession to configure your EMR cluster.
%%configure -f
{ "conf":{
          "spark.pyspark.python": "python3",
          "spark.pyspark.virtualenv.enabled": "true",
          "spark.pyspark.virtualenv.type":"native",
          "spark.pyspark.virtualenv.bin.path":"/usr/bin/virtualenv",
          "spark.jars.packages": "com.amazon.deequ:deequ:1.0.3",
          "spark.jars.excludes": "net.sourceforge.f2j:arpack_combined_all"
         }
}

Start your SparkSession object in a cell after the above configuration by running spark, and you should be good to go!

Ah forgot a last section @naveencha , but once you have your SparkSession started, use the SparkContext (default named sc) to install PyDeequ onto your cluster like so
sc.install_pypi_package('pydeequ')

Hi Team, is this part of the installation now ? I am still facing this error with pydeequ and running it on EMR gives me tthe same error. I work on a managed EMR instance so moving jars manually might not be feasible. Any workarounds? @gucciwang  ?


Upgrade to rustc 1.8.0-nightly (0ef8d4260 2016-02-24)

@bors-servo: r+

:pushpin: Commit 47d4aba has been approved by jdm

:hourglass: Testing commit 47d4aba with merge 3b8141a...

:sunny: Test successful - travis

I just published version 0.1.4 of the plugin since it was preventing dependents from building on nightly.


RuntimeError when trying to run IV_SAC model

Hello. Thank you for your great paper. I cloned the repo, and installed the requirements and am trying to run the IV_SAC experiment with Hopper. I don't have a mujoco license, so I replaced the mujoco env with PyBullet env. When I run
python main.py --env HopperBulletEnv-v0 --model IV_SAC --net_seed 0 --env_seed 0 I get the error:
Variable._execution_engine.run_backward(
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [256, 1]], which is output 0 of AsStridedBackward0, is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

Could you help me please?
IV_DQN works fine.

Hello. I have a similar error with the mujoco env (gym_walker 2d or gym_cheetah) and Duckietown env (gym_duckietown.simulator).

The code has been written particularly with the MBBL benchmark in mind which only supports torch==1.4.0. I'll try making a separate branch for Pybullet, mujoco env and Duckietown.

Oh. I will try it with the MBBL benchmark and get back to you about it. Thank you!

Hello @hbutsuak95. Is there an approximate date when you will finish fixing the error?


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/855 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 4598f9f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-01-03-28-42 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Object(x) === x fails to narrow to object

🔎 Search Terms
narrow object
🕗 Version & Regression Information
I only tested this on latest, but I think it's always worked this way.
⏯ Playground Link
https://tsplay.dev/WKbDpm
💻 Code
var err: unknown;

if (Object(err) === err) {
	err.toString; // `err` type is unknown, should be `object`
}

🙁 Actual behavior
Errors because it thinks err is unknown
🙂 Expected behavior
Does not error because it knows err is object
Additional information about the issue
Object(x) === x is the most idiomatic and reliable way to test if something is an object, since it avoids hardcoding typeof checks. It'd be great if it was narrowed here.

Some more context, since I was confused initially.
These are equivalent (AFAICT):
Object(x) === x

(typeof x === "object" && x !== null) || typeof x === "function"

It is not equivalent with this, since Object.create(null) and objects from other realms only match the expressions above:
x instanceof Object

Yes, that's correct. The difference is that if JS ever adds a new object typeof value, Object(x) === x will always work, while the typeof-based code will not.
(instanceof is never reliable for builtins and should be avoided)


Incorporate senzingapi-runtime package

See https://github.com/Senzing/community-roadmap/issues/65

Blocked by https://github.com/Senzing/community-roadmap/issues/64#issuecomment-1178250314

Pull requests:

https://github.com/Senzing/docker-init-container/pull/178

Bug in  senzingapi-runtime=3.1.2-22193


Image seems to be read-only

Hi,
I tried to use this image "zenika/terraform-aws-cli:latest" from inside a gitlab pipeline.
When I did a terraform init, it gave me a permission denied error. I tried to mkdir .terraform && touch .terraform/testFile without success. Hence, my suspicion that it might be a read-only filesystem.
Otherwise, it's a very useful image with just about all the tools I needed.
Thanks,
~A

Hello @anitesh-lal and thanks a lot for your interest and feedback about this container image 👍
I personally never tried to use this image in a gitlab, so my help about this specific use-case is very limited.
Sorry I have no solution to provide you as of now !
I will try to setup a GitlabCI pipeline to dive a bit more into the issue.
Let me now in the meantime if you succeeded to resolve this issue in the meantime 😉

It's not read-only. I use it in Gitlab all the time without any issues. I'm not sure what your issue what be.

Hello again @anitesh-lal 👋
I've had no issue using this image to run Gitlab Ci jobs using the documentation as seen here : https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#define-image-in-the-gitlab-ciyml-file
You might have a problem somewhere else in you pipeline configuration ?
I'm closing for now if you don't mind.


Hack for iOS temporal inputs affecting OSX

forms.less includes hacks (line 180) for an iOS alignment bug. These get applied to Chrome and Safari on OSX as well on my retina screen MacBook. Giving for example <input type="time"> an unexpected line-height

This is the rule I think needs tweaking:
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type="date"],
  input[type="time"],

My -webkit-min-device-pixel-ratio is 2 so I'm well above this. I have no solution for this, sorry, and I don't think the original bug https://bugs.webkit.org/show_bug.cgi?id=139848 is fixed (I don't have an iOS device nearby).

JS Bin of issue, which I don't see in Chrome 45.0.2429.0 canary (64-bit) on OSX 10.10.3 or Safari version 8.0.6 (10600.6.3).
Could you provide a bit more browser/OS info and compare my bin to your where you see the issue?
X-Ref: #14234, #13098, #11266

This issue only seems to appear when the form-control class is omitted.
I just came across this when refactoring some markup. This works fine when using Bootstrap as intended, but it is a gotcha.

Testcase: http://jsfiddle.net/b8qbpxtq/2/
@mikaelharsjo I can't seem to reproduce (or otherwise I don't quite understand what the problem is).
Firefox and Chrome look like they style the text in the same way, and the text in the time inputs looks like it's styled the same as the text in the text inputs. This is on an OS X Yosemite retina MacBook Pro.

@zacechola @mitchlloyd Maybe I was unclear but this is only a issue when you don't have class="form-control". Even if that´s not the bootstrap way of doing it I would expect <input type="time"> and <input type="text"> next to each other be the same height.

@cvrebert Your fiddle seems to work for me. Fixed in 3.3.5?

Yes confirmed. This is resolved in master now by: 52110fa2c20d101e162179d7caf3a22992234d56


Normal start, input instructions after the error.  The API request of HOST_AGENT failed: Client.init() got an unexpected keyword argument 'proxies'.

python -m ufo --task test
Welcome to use UFO🛸, A UI-focused Agent for Windows OS Interaction.

| | | ||  | / _
| | | || |   | | | |
| || ||  |  | || |
_/ |_|     __/
Please enter your request to be completed🛸:
请提醒我每天锻炼
Round 1, Step 1, HostAgent: Analyzing the user intent and decomposing the request...
The API request of HOST_AGENT failed: Client.init() got an unexpected keyword argument 'proxies'.
Switching to use the backup engine...
Error Occurs at get_response
Traceback (most recent call last):
File "H:\LiProject\UFO\ufo\llm\llm_call.py", line 62, in get_completions
response, cost = service(configs, agent_type=agent_type).chat_completion(
File "H:\LiProject\UFO\ufo\llm\openai.py", line 35, in init
self.client: OpenAI = OpenAIService.get_openai_client(
File "H:\LiProject\UFO\ufo\llm\openai.py", line 148, in get_openai_client
client = OpenAI(
File "I:\ProgramData\anaconda3\envs\ufo\lib\site-packages\openai_client.py", line 112, in init
super().init(
File "I:\ProgramData\anaconda3\envs\ufo\lib\site-packages\openai_base_client.py", line 793, in init
self._client = http_client or SyncHttpxClientWrapper(
TypeError: Client.init() got an unexpected keyword argument 'proxies'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "H:\LiProject\UFO\ufo\agents\processors\basic.py", line 196, in wrapper
func(self, *args, **kwargs)
File "H:\LiProject\UFO\ufo\agents\processors\basic.py", line 178, in wrapper
result = func(self, *args, **kwargs)
File "H:\LiProject\UFO\ufo\agents\processors\host_agent_processor.py", line 128, in get_response
self._response, self.cost = self.host_agent.get_response(
File "H:\LiProject\UFO\ufo\agents\agent\basic.py", line 151, in get_response
response_string, cost = llm_call.get_completion(
File "H:\LiProject\UFO\ufo\llm\llm_call.py", line 25, in get_completion
responses, cost = get_completions(
File "H:\LiProject\UFO\ufo\llm\llm_call.py", line 72, in get_completions
return get_completions(
File "H:\LiProject\UFO\ufo\llm\llm_call.py", line 76, in get_completions
raise e
File "H:\LiProject\UFO\ufo\llm\llm_call.py", line 62, in get_completions
response, cost = service(configs, agent_type=agent_type).chat_completion(
File "H:\LiProject\UFO\ufo\llm\openai.py", line 35, in init
self.client: OpenAI = OpenAIService.get_openai_client(
File "H:\LiProject\UFO\ufo\llm\openai.py", line 148, in get_openai_client
client = OpenAI(
File "I:\ProgramData\anaconda3\envs\ufo\lib\site-packages\openai_client.py", line 112, in init
super().init(
File "I:\ProgramData\anaconda3\envs\ufo\lib\site-packages\openai_base_client.py", line 793, in init
self._client = http_client or SyncHttpxClientWrapper(
TypeError: Client.init() got an unexpected keyword argument 'proxies'
Cost is not available for the model gpt-4o-mini or gpt-4o-mini.
Would you like to save the current conversation flow for future reference by the agent?
[Y] for yes, any other key for no.

Same here, I also encountered this issue. Has it been resolved?

Hi @dongxiaolong @lishaozheng , it should be a version issue of httpx, please try to downgrade the httpx to version- 0.27.2. For reference, please visit https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332/19

@vyokky , thank you very much for your reply!


HHH-15150 Hibernate 6 EmbeddedId CacheKeys are no longer Serializable

Hibernate 6 EmbeddedId CacheKeys are no longer Serializable
This is resurrecting the old test that was present before to ensure cache keys were serializable. However, the bug is still present in Hibernate 6.

Hi @wburns,
I'm going to close this in favour of https://github.com/hibernate/hibernate-orm/pull/4988
Thanks a lot for the test case!

Hi @wburns,
I'm going to close this in favour of #4988 Thanks a lot for the test case!

Awesome, thanks @dreab8 ! I only made it so it can be used later :)


Continue running

Excuse me. When I was training your code, it gets interrupted when the code is running half way for some reasons. Currently the model has been run to the Pretrain-model_step_1585000.pth. How should I continue training based on that？Or do I need to start training the model again?
Thank you.

Is the dataset you used for pre-training Kadis700k? If so, you can check the loss. When the triplet loss is almost all 0, there is no need to continue training. Notably, triplet loss sometimes leads to unstable training. It is recommended to add type classification loss as assistance. We will update the relevant code soon.


Show time duration

I would like to set show time duration to the toast, but I can't find anything related.

You can not set a custom or specific time duration. Android internally can only accept LONG (3500 ms) or SHOT (2500 ms).
Use the predefined values:
new StyleableToast
.Builder(context)
.text("Hello world!")
.textColor(Color.WHITE)
.setDuration(Toast.LENGTH_LONG) //or Toast.LENGTH_SHORT
.backgroundColor(Color.BLUE)
.show();


MM.DD.YYYY needs to be translated

We should use translated letters for this kind of text. For instance, it should be 'GG.AA.YYYY' and it refers to 'DD.MM.YYYY'.

PR's welcome!

Hey @iM-GeeKy, I want to work on this. My current idea is to add another property (like dateFormat) to the translations object, is that a good approach?

Hi @mikib0 thanks for wanting to work on this! That approach seems fine and it should be robust enough to accommodate other translations. We will just have to make sure it defaults since the other translations will not have the new property you will be adding. I'm going to rope @RichardLindhout into the discussion, he might have an idea and is much more familiar with the code, which I'm still getting familiar with 🙂.
I see @RichardLindhout put a comment here which id assume is one spot where your code change will be.

Yes exactly. Thanks for pointing me there @iM-GeeKy. I am going to make a draft PR and start working on it.

This should be detected automatically using the locale and the INTL implementation. If this does not work in your language it's a bug with intl in react native / ios / android
Have you correctly configured your locale in your language?


fix(toast): fix animate in

As of right now, Toasts do not animate in – they only animate out. This PR updates the logic so that they animate in as well.

Patch: Bug Fix?
Yes
Major: Breaking Change?
No
Minor: New Feature?
No
Tests Added + Pass?
Yes

@schnerd I've just added you to the screener project - if it breaks, and it feels like an issue with screener, ping me (like a state that's already on master, but for some reason fails for your branch - as I see, this happened for you), or if it is a change in a component or a new component, you can ping Jeff on the design team


Update manifests/t/Tencent/TencentVideo/11.68.7034.0/Tencent.TencentVideo.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels


tags.tagName and  tags[tagName]  very confusing

Hi,
On the section "Fields", the article mentions that we can define :

tags.tagName
tags[tagName]

The font used for tags and tagName is the same, so for me, tags.tagsName is the FIELD, and TagsName is not a variable. For example i have defined the following policy :
{
"if": {
"not": {
"field": "tags.tagname",
"equal": "costcenter"
}
},
"then": {
"effect": "deny"
}
}
My goal is to deny resources that do not have the tagname costcenter.
I finally figured out, that i have to do this : tags.costcenter.
Please, can you update the doc that we can make the difference between 'fields'
and 'variables';
Thanks

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

ID: d956852a-d98e-c022-d6f2-c2910afe6e93
Version Independent ID: 8107b348-d2b4-214e-2b18-bf813f1fe1e8
Content: Azure Policy definition structure
Content Source: articles/azure-policy/policy-definition.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@SamirFarhat Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@SamirFarhat Thank you for the feedback and I see and agree with your concern.  I've added some additional clarity around the text that should make this clearer.  It should publish this afternoon.  Thanks again!  #please-close


looks like QtGui.QGuiApplication is not wrapped...

from Qt import QtGui
print(QtGui.QGuiApplication)
code above throws an error
I'm trying to access the following in PySide2  because in older versions of 3ds Max the QApplication is a QCoreApplication so we can access static methods like "clipboard" without access QGuiApplication
this is the pyside2 equivalent
from PySide2 import QtGui
print( QtGui.QGuiApplication)

looks like QGuiApplication is not a thing in Qt4, I found out when my pull request failed.
there's probably not much need to look into this tho.
cheers!


runtime/cgo: "pthread_create failed" during syscall.Exec on Darwin/OpenBSD/DragonFly

Twice this week I've helped people debug panics in Go programs due to runtime/cgo: pthread_create failed: Resource temporarily unavailable.  Both times, it has turned out that they were calling syscall.Exec and it happened to execute concurrently with a pthread_create for a background goroutine, causing the pthread_create to fail with EAGAIN.
There have been a couple of previous threads on go-nuts involving similar issues.
We could consider modifying the runtime to stop the world and/or shutdown threads during calls to syscall.Exec, but that seems like a fair amount of work and the syscall package is frozen / deprecated anyway.
As a simpler step, I think we should have vet warn about any calls to syscall.Exec from outside the standard library.

If you can write a test case for the problem, we will simply change runtime/cgo to retry the pthread_create if it fails with EAGAIN.  The only reason I didn't do that years ago is that I wasn't able to write a test case.

I'll try to write one tomorrow based on the failures I've been seeing.
I think the key elements are:

linking with C (to use pthread_create)
starting nontrivial background goroutines during package init (to produce a shortage of threads)
calling Exec very early (so that we haven't reached GOMAXPROCS yet when it executes)

The following test gives me a flake rate of about 0.1% of attempts:
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Issue 18146: pthread_create failure during syscall.Exec.

package issue18146

import "C"

import (
	"bytes"
	"crypto/md5"
	"os"
	"os/exec"
	"runtime"
	"syscall"
	"testing"
)

func test18146(t *testing.T) {
	const (
		attempts = 1000
		threads  = 4
	)

	if os.Getenv("test18146") == "exec" {
		runtime.GOMAXPROCS(1)
		for n := threads; n > 0; n-- {
			go func() {
				for {
					_ = md5.Sum([]byte("Hello, !"))
				}
			}()
		}
		runtime.GOMAXPROCS(threads)
		if err := syscall.Exec("/bin/true", []string{"/bin/true"}, nil); err != nil {
			t.Fatal(err)
		}
	}

	var cmds []*exec.Cmd
	defer func() {
		for _, cmd := range cmds {
			cmd.Process.Kill()
		}
	}()

	args := append(append([]string(nil), os.Args[1:]...), "-test.run=Test18146")
	for n := attempts; n > 0; n-- {
		cmd := exec.Command(os.Args[0], args...)
		cmd.Env = append(os.Environ(), "test18146=exec")
		buf := bytes.NewBuffer(nil)
		cmd.Stdout = buf
		cmd.Stderr = buf
		if err := cmd.Start(); err != nil {
			t.Error(err)
			return
		}
		cmds = append(cmds, cmd)
	}

	failures := 0
	for _, cmd := range cmds {
		err := cmd.Wait()
		if err == nil {
			continue
		}

		t.Errorf("syscall.Exec failed: %v\n%s", err, cmd.Stdout)
		failures++
	}

	if failures > 0 {
		t.Logf("Failed %v of %v attempts.", failures, len(cmds))
	}
}

@bcmills thanks for figuring out the test.  Sent https://golang.org/cl/33894.

I believe this is now fixed on systems other than OpenBSD (requires changes to runtime/cgo/gcc_libinit_openbsd.c) and Darwin (test fails for unknown reasons).

Also fails on Dragonfly according to #18198 (https://build.golang.org/log/06e9dfb416c79a70e4c2842b57c1f86d1beb6be0).

FYI, just saw a flake on linux-amd64: https://storage.googleapis.com/go-build-log/28b72716/linux-amd64_50de8e07.log


TimeZone configuration bug

Describe the bug
I try to use to set the timezone on parser as you describe in the doc
timezone (string) (optional): use specified timezone. one can parse/format the time value in the specified timezone.
Default: nil
Available time zone format:
[+-]HH:MM (e.g. "+09:00") (recommended)
[+-]HHMM (e.g. "+0900")
[+-]HH (e.g. "+09")
Region/Zone (e.g. "Asia/Tokyo")
Region/Zone/Zone (e.g. "America/Argentina/Buenos_Aires")
It works fine for "+09:00" but not with Region/Zone.
Your Environment

Fluentd or td-agent version: fluentd --version or td-agent --version
fluentd --version

Operating system: cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Kernel version: uname -r
Kubernetes

Your Configuration
<source>
  @type syslog
  tag syslog
  port 514
  bind <IP_ADDRESS>
  protocol_type tcp
  message_length_limit 2048   # 2048 by default
  <parse>
    message_format auto
    timezone  "Asia/Tokyo"
  </parse>
</source>

Your Error Log
/var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/time.rb:206:in -': nil can't be coerced into Fixnum (TypeError) from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/time.rb:206:in initialize'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/time.rb:169:in new' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/time.rb:169:in time_parser_create'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin/parser.rb:64:in configure' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin/parser_syslog.rb:48:in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin.rb:164:in configure' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin_helper/parser.rb:90:in block in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin_helper/parser.rb:85:in each' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin_helper/parser.rb:85:in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin/in_syslog.rb:110:in configure' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/plugin.rb:164:in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/root_agent.rb:282:in add_source' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/root_agent.rb:122:in block in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/root_agent.rb:118:in each' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/root_agent.rb:118:in configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/engine.rb:131:in configure' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/engine.rb:96:in run_configure'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/supervisor.rb:795:in run_configure' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/supervisor.rb:579:in dry_run'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/supervisor.rb:597:in supervise' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/supervisor.rb:502:in run_supervisor'
from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/lib/fluent/command/fluentd.rb:310:in <top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /var/lib/gems/2.3.0/gems/fluentd-1.3.3/bin/fluentd:8:in <top (required)>'
from /usr/local/bin/fluentd:22:in load' from /usr/local/bin/fluentd:22:in '

This is fixed since v1.5.1: https://github.com/fluent/fluentd/pull/2421
Try latest version :)


Create Portal Site Failed - password  Ignore / Delete this issue

So I am trying to create an enterprise set up with portal on our LAN (10.6.1).  It is three VMs.  1 - Portal and WA,
2- Server (host) and WA, 3 - Datastore.
When I go to run my initial role (portal) I get the following error:
_FATAL: RuntimeError: arcgis_enterprise_portal[Create Portal Site] (arcgis-enterprise::portal line 76) had an error: RuntimeError: The 'password' field can only have the numbers 0-9, the ASCII letters a-z, A-Z and the dot character (.).
ERROR: Failed to execute command on gis-portal-1.slo.local return code 1_
Which password is this referencing?    In past manual installs I have been able to use special characters in the password.  FYI, last night I ran this but accidently pointed to the wrong prvc file and it ran up to the authorization without a hitch.

This issue was resolved


Use the updated ledger state in ingest

This PR fixes random DB constraint errors like (and similar):
import session failed: Ingestion.Flush error: Error adding values while inserting to history_effects: Error adding values while inserting to history_effects: exec failed: pq: duplicate key value violates unique constraint "hist_e_by_order"

The reason is a synchronization issue between App.UpdateLedgerState and ingest.System.runOnce go routines. Both go routines are executed every second by the application ticker. The following sequence of events is possible:

Time
Tick1
Tick2

1
UpdateLedgerState result = [horizon ledger = 10, core ledger = 11]

2
Start ingest session ledgers: [11, 11]

3

UpdateLedgerState result = [horizon ledger = 10, core ledger = 11]

4
Finish ingest session ledgers: [11, 11]

5

Start ingest session ledgers: [11, 11]

6

Error in ingest session ledgers: [11, 11] (because already saved in t=4)

So it is possible that ingest.System.runOnce reads the stale state of ledgers. The simple fix in this PR moves loading the state to ingest.System.runOnce. The long-term fix, in my opinion, should remove synchronization requirement in ingest package (use internal state only, use infinite for instead of ticker etc.).
Close #513.
PS. I've been searching for this for so long! It feels good! 🤓

Fortunately, I found a possible deadlock and fixed it in 79e453a. Deadlock was possible when one of the DB queries errors (this did not set i.current = nil and making a new ingest sessions impossible). We should really do: #613.


Add .sublimelinterrc file with recommended PEP8 settings to aid contributors

Suggestions:

longer line length
possibly ignore some warnings and such that come up a lot that aren't a big deal? (no idea here, I just started using it)

I didn't know this existed :)
I agree, some of the PEP8 guidelines are too stringent.  I generally try to keep under 100 characters instead of 80.  Un-used imports also need to be explicitly allowed because of the __init__.py modules that are making submodules accessible.

I didn't know this existed :)

You're welcome. :grin:

You know, some of the settings like tabs vs spaces and vertical rulers could be customized on a per-project level.
Since you're most likely (and all the contributors the same) are developing this in Sublime Text, adding a .sublime-project file could aid those who don't want to use linting plugins.

Couldn't hurt but I don't know why someone would refuse to use listing when it's so nice in Sublime.


[WIP] Improve metrics collection

in this PR I fixed the test about metric collection -- testMetricsContainsResult method tended to work improperly.
@chris-wood you removed collection metrics from the config handler. Do you mind if I return them?
Also I have an idea to separate metrics collection for the gateway handler and the inner application handler -- to have an ability to measure their load separately. Do you have concerns about it ?

Also I have an idea to separate metrics collection for the gateway handler and the inner application handler -- to have an ability to measure their load separately. Do you have concerns about it ?

No immediate concerns, but can you elaborate on what this would look like?

Ah! That's a good idea. I'd like to see that in a followup change.


User Repo Import

Completed backend implementation which uses GitHub API call to fetch user's GitHub repositories
Connected to frontend

@LaithHanania @johnsoncv this is now ready for review and testing


Style: Show Password Eye Button

What's the suggested design idea?
A show password button that helps the user to show the password will be helpful to the users
Add screenshots
No response
Record

[X] I agree to follow this project's Code of Conduct
[ ] I want to work on this issue

I want to work on this issue,
assign me


[Tabs][joy] Add keepMounted property

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
To improve performance and keep the state between tab changes there is a need to prevent unmount the children component inside tab panels.
A property like keepMounted will be very beneficial.
Examples 🌈
No response
Motivation 🔦
No response

I wonder what should be the default behavior:

[current] unmounted children of the inactive tab and provide keepMounted prop to TabPanel
The children are always mounted because display: none will be used on the inactive TabPanel and provide a flag to unmounted the children.

cc @mui/core

@siriwatknp This is what I have in mind:
By default all tabs will be unmounted except for the one active. Provide a keepMounted prop to both Tabs and TabPanel, that way we can have a fine tuning.
Provide another prop forceMount or forceRender to force the mounting the TabPanel even if it is not the current active one.

I'm wondering what's best accessibility-wise. W3's authoring practices Tabs design pattern examples use display: none on the hidden panels, but they're still present in the tree. I couldn't find any mention of whether it's encouraged to keep the panels in the tree (mounted) or not.
If the hidden panels are unmounted, the tabs' which panels are hidden will have a aria-controls tab panel id which is not in the tree at the moment, which might cause issues and goes against the W3's specs. I don't know what issues it might cause though.
Considering these, I lean towards option 2:

Keep panels mounted and use display: none
Provide an unmountHidden flag for performance (and maybe warn about potential A11y issues?)

I think both scenarios (keeping and removing the hidden tab contents) are valid, so letting developers control it makes sense. As for the default behavior, I'd make it consistent with what we currently have in Material UI unless someone finds a good reason to change it.

I would like to work on this

@nicolas-ot  Feel free to open a PR. I think we should go with the current behavior and expose keepMounted prop on the TabPanel for consistency with the Modal component.
It works with our transition components and animation lib like framer-motion. https://codesandbox.io/s/wonderful-joliot-nhsq57?file=/demo.tsx

It's effectively the same problem as #21250?

Could #38293 be an example where Joy UI should depend on the Base UI components rather than hooks? I don't see how we can abstract this logic in hooks, and yet, it seems to be an important feature for Base UI, Joy UI, and Material UI.