Support request for education.francetv.fr

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.01.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2019.01.02

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[X] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
/usr/local/bin/youtube-dl -v https://education.francetv.fr/matiere/actualite/ce1/video/pourquoi-mange-t-on-des-galettes-en-janvier
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://education.francetv.fr/matiere/actualite/ce1/video/pourquoi-mange-t-on-des-galettes-en-janvier']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.02
[debug] Python version 2.7.15 (CPython) - Darwin-18.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[generic] pourquoi-mange-t-on-des-galettes-en-janvier: Requesting header
WARNING: Falling back on generic information extractor.
[generic] pourquoi-mange-t-on-des-galettes-en-janvier: Downloading webpage
[generic] pourquoi-mange-t-on-des-galettes-en-janvier: Extracting information
ERROR: Unsupported URL: https://education.francetv.fr/matiere/actualite/ce1/video/pourquoi-mange-t-on-des-galettes-en-janvier
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2337, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2542, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2531, in _XML
    parser.feed(text)
  File<EMAIL_ADDRESS>line 1659, in feed
    self._raiseerror(v)
  File<EMAIL_ADDRESS>line 1523, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 1, column 645
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 793, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3320, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://education.francetv.fr/matiere/actualite/ce1/video/pourquoi-mange-t-on-des-galettes-en-janvier
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://education.francetv.fr/matiere/actualite/ce1/video/pourquoi-mange-t-on-des-galettes-en-janvier

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

it is now lumni, you can close in favor of https://github.com/ytdl-org/youtube-dl/issues/24574


Route Model Binding not working on changed structure

Laravel Version: 9.6.0
PHP Version: 8.1.3
Database Driver & Version:

Description:
I decided to change the default directory structure of Laravel in a specific project. Now I am implementing my test cases and I recognized through these that somehow route model binding is not working correctly.
Example of directory structure
/bootstrap
/config
/database
/public
/resources
/routes
/src
/storage
/tests

I obviously had to change the autoload of my composer.json to this:
"autoload": {
    "psr-4": {
        "App\\": "src/App/",
        "Database\\Factories\\": "database/factories/",
        "Database\\Seeders\\": "database/seeders/",
        "Domain\\": "src/Domain/",
        "Support\\": "src/Support/"
    }
},

php artisan route:list
  GET|HEAD        api/users ................................... users.index › App\Api\User\Controllers\UserController@index
  POST            api/users ................................... users.store › App\Api\User\Controllers\UserController@store
  GET|HEAD        api/users/{user} ............................ users.show › App\Api\User\Controllers\UserController@show
  PUT|PATCH       api/users/{user}  ........................... users.update › App\Api\User\Controllers\UserController@update
  DELETE          api/users/{user} ............................ users.destroy › App\Api\User\Controllers\UserController@destroy
  PUT             api/users/{user}/restore .................... users.restore › App\Api\User\Controllers\UserController@restore

e.g. UserController@restore
public function restore(User $user, RestoreUserAction $restoreUserAction): UserResource

If I run dd($user) it returns a empty User object.
Steps To Reproduce:

Clone a empty Laravel project
Run composer require regnerisch/laravel-beyond
Run php artisan beyond:setup
Change autoload of your composer.json
Create an example route and an example controller for that test case and try to model bind it to a route.

I don't think in general that we support changing the app directory.

hello i have this problem .

After searching for 2 hours I got the issue details
For route binding to work, your type-hinted variable name must match the route placeholder name
For example my edit method
Here is my route URI for the edit
user/role/{role}/edit

As you can see there is {role} placeholder in the route definition, so the corresponding variable must be called $role.
public function edit(Role $role)
{
   return view('role.edit',compact('role'));
}


Add CONTRIBUTING.md

This PR fixes #405

Yes, I wanted to keep it simple in the beginning. @hai-rise


Cake Build Addin Contribution

Hey there,
Thanks for the great project and all the hard work. I've been using it for my project and wanted to integrate it neatly with my exiting cake build script so I wrote an addin to do just that. You can find it here Cake.Coverlet
It'd be great if you could add it to your readme so others could find it.
Thanks

Awesome, thanks @Romanx. Feel free to send in a PR for that


Share Through , Bot Button

Hi EdJopaTo ...
is there a way to create a button for "share through" ... so that user can virally spred the bot link to all social networks via apps  (eg.  facebook, whatsapp, skype, twitter and so on ... ) ?
This is to share with other telegram users ..
const link = 'https://t.me/share/url?url=https://t.me/s/superpiu&text=SuperPiù ProntoSpesa'
menu.urlButton('📤 Condividi SuperPiù!', link,
{hide: false, joinLastRow : false }
)

But to do a "share with ... " ?
Thank you !
Massimo

I searched for 'share' and something like that on the official Telegram Bot API documentation but didnt found anything useful for that.
But you can do such features via the services itself. For Twitter this would be an url like this:
https://twitter.com/intent/tweet?text=I found this fancy telegram channel. Join here https://t.me/foo (make sure to encodeURI)
I would assume someone might already had this problem of share buttons for websites. There is probably already a npm package creating such urls for you. Maybe take a look there.


Extra Steps for Engagement Time Tracking (&_et)?

Are there any extra steps required to get the Engagement Time Tracking (&_et) working? I've gotten scroll-depth working and generic page view events... but the AMP page doesn't seem to track time on page.

I really though I published this, it seems i didn't commit it. I willl update it in a bit.

It's already tested.
I'm updating the docs.

Amazing!!

Do you just do this with a timer?

Kevin, I'm adding some other features like debug mode and regional data collection  and I'll need to test this a bit more deeper. Will do the pull request before EOW.

Amazing, let me know if I can help.

Updates are now merged and the new config version deployed into the CDN.

Is there a way to capture active engaged time with this? So continuously pinging GA every x seconds rather than just on scroll events/etc?


Godot is not building

Godot version:
3.1.custom_build
commit fb9085a
OS/device including version:
Win 7x64, Ubuntu
Issue description:
Godot is crashed on building with MSVC++ 2017 (Win 7x64).
With Linux the same.
Steps to reproduce:

Build godot

duplicate of #24507
you need to delete *.gen.cpp files.
from https://github.com/godotengine/godot/issues/24507#issuecomment-449315336
this git clean -x -f -q will help too.


Using a simple MLP to predict 2D matrices : smoothed matrix from keras-vis ?

[ ] Check that you are up-to-date with the master branch of keras-vis. You can update with:
pip install git+git://github.com/raghakot/keras-vis.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hi,
I'm quite new to the DL world, so I might be doing idiotic things... If so, my apologies.
I'm trying to predict a continuous variable with a simple MLP by feeding it some 2D square matrices.  Then, I'm using visualize_activation on the trained model to see what cells of the matrix increase or decrease the regression result. Each cell is more or less independent from its neighbors. So far so good.
When I use the full 2D matrices (with a flattening layer after the input layer), keras-vis gives me a sharp-looking matrix (no blur), which is great:

(I masked the upper triangle here, but the matrix given by visualize_activation is full)
But such full matrices contain redundant information, so I usually remove the selected useless cells (the upper triangle of the matrix) and flatten the result before feeding them to the MLP. So now, visualize_activation is supposed to give me a 1D vector, that I then reconstruct into the lower matrix triangle. But here is the result:

As you can see, the values have been smoothed along the flattened dimension, resulting in the horizontal streaks on the matrix. This looks like the is a 1D conv layer used somewhere, which is not the case...
I also tried to reshape the flattened triangular matrices into a 2D rectangle then train the MLP with these 2D images (so basically: matrix -> remove upper triangle and flatten -> reshape into a 2D image), but again, I obtain a smoothed image (this time in 2D) with visualize_activation! Why would it be different from when I use the 2D square matrices?
It's really strange and my stem from the fact that keras-vis is designed to work with images (and not matrices). But still, why would it work well when I use the full matrices?
Thank you in advance!

That's cool!
How did you generate the smoothed image? If you use matplotlib's imshow with setting color-map, you need to remove cmap option from imshow.
If not, I recommend you that you try to some tweaking such as below:

Please make sure input_range argument of visualize_activation. In default, the argument value is 0 to 255 but your model's input-data seems to be -1 to 1.
Please pass through a random value as seed_input argument to visualize_activation. In default, the random value's standard deviation (std) is 0.05 * input-value-range, and if your data's range is -1 to 1, the std is 0.1. It may be too low value.
Please TotalVariation weight change from 10 to 0.

Despite you try all above If you could not get the result you want, let me know.

Hi,
Thanks for your answer. I actually also contacted you on Slack when I posted the question here and you've already perfectly solved my problem ^^
Here is a screenshot of the discussion's resolution, if other people happen to have the same problem:

Thanks again and have a nice day !

Ah! Sorry for forgetting it 💦  Thank you for reminding me.
We'll close this issue, but please feel free to reopen this issue whenever you need.
Thanks!


(eval):1: unknown file attribute: y after running exec $SHELL

Hi there,
I'm on macOS 11.2.1 and am running into the following issue after trying to use the pyenv-installer:
jbonneau@ZL-10677 /Users % curl https://pyenv.run | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   285  100   285    0     0    934      0 --:--:-- --:--:-- --:--:--   934
Cloning into '/Users/jbonneau/.pyenv'...
remote: Enumerating objects: 743, done.
remote: Counting objects: 100% (743/743), done.
remote: Compressing objects: 100% (497/497), done.
remote: Total 743 (delta 386), reused 339 (delta 151), pack-reused 0
Receiving objects: 100% (743/743), 409.86 KiB | 2.79 MiB/s, done.
Resolving deltas: 100% (386/386), done.
Cloning into '/Users/jbonneau/.pyenv/plugins/pyenv-doctor'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 11 (delta 1), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
Cloning into '/Users/jbonneau/.pyenv/plugins/pyenv-installer'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 16 (delta 1), reused 8 (delta 0), pack-reused 0
Unpacking objects: 100% (16/16), done.
Cloning into '/Users/jbonneau/.pyenv/plugins/pyenv-update'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 10 (delta 1), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (10/10), done.
Cloning into '/Users/jbonneau/.pyenv/plugins/pyenv-virtualenv'...
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 57 (delta 11), reused 20 (delta 0), pack-reused 0
Unpacking objects: 100% (57/57), done.
Cloning into '/Users/jbonneau/.pyenv/plugins/pyenv-which-ext'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 10 (delta 1), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (10/10), done.
jbonneau@ZL-10677 /Users %  exec $SHELL
(eval):1: unknown file attribute: y

I may have messed something up when trying to install manually but I don't know how to resolve the issue. Thanks in advance!

resolved by uninstalling pyenv and retrying - closing


Add UUID prefix to new notes

Proposed change

This allows the user to specify if they want an UUID prefix in the filename of the new notes (falseby default).
Two types of prefixes are supported:

rand: a random 6-char string
<input for os.date()> such as %Y%m%d%H%M(default)

Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (thank you!)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update

Additional information

Related to discussion #56

Checklist

[x] I am running the latest version of the plugin.
[x] The code change is tested and works locally.
[x] There is no commented out code in this PR.
[x] The code has been formatted using Stylua (a .stylua.toml file is provided)
[x] The code has been checked with luacheck (a .luacheckrc file is provided)
[x] The README.md has been updated according to this change.
[x] The doc/telekasten.txt helpfile has been updated according to this change.

Stylua failed because of a HTML 403 issue... not sure what is the problem. Anyway, this should be ok to merge @renerocksai

Sorry for taking so long. Will merge now.


enhance object collection code readability

As requested in https://github.com/splunk/splunk-connect-for-snmp/pull/75 updated yaml to use yaml list to make code easier to read.
I have chosen to keep it as simple as it gets and accept the default polling of 15m. Full options list for objects is here, incase we want to iterate. There is namespace scoping but it looks like you need to define an input per type per namespace, so i skipped for now while I check with @rockb1017
https://github.com/splunk/splunk-connect-for-kubernetes/blob/eab9ab19617fcd153e47aac417c80727f7edf0e7/helm-chart/splunk-connect-for-kubernetes/charts/splunk-kubernetes-objects/values.yaml#L76-L118
Tests:
Deployed from main, then used this branch to delete and redeploy sck helmrelease with objects enabled and with yaml list version of config. Here is the result on cli and in splunk:
root@ip-10-202-35-134:/home/splunker/splunk-connect-for-snmp/deploy/sc4snmp# microk8s.kubectl -n sck get pods
NAME                                                 READY   STATUS    RESTARTS   AGE
sck-sck-splunk-kubernetes-logging-wnnxc              1/1     Running   0          14m
sck-sck-splunk-kubernetes-objects-6f8d89b76b-hshdw   1/1     Running   0          14m

How the configmap will render:
root@ip-10-202-35-134:/home/splunker/splunk-connect-for-snmp/deploy/sc4snmp# microk8s.kubectl -n sck get cm sck-sck-splunk-kubernetes-objects -o yaml
apiVersion: v1
data:
  fluent.conf: |
    <system>
      log_level info
    </system>
    <source>
      @type kubernetes_objects
      tag kube.objects.*
      api_version "v1"
      insecure_ssl true
      <pull>
        resource_name pods
      </pull>
      <pull>
        resource_name namespaces
      </pull>
      <pull>
        resource_name component_statuses
      </pull>
      <pull>
        resource_name nodes
      </pull>
      <pull>
        resource_name services
      </pull>
      <watch>
        resource_name events
      </watch>
    </source>

    <filter kube.**>
      @type jq_transformer
      # in ruby '\\' will escape and become just '\', since we need two '\' in the `gsub` jq filter, it becomes '\\\\'.
      jq '.record.source = "namespace:\(env.MY_NAMESPACE)/pod:\(env.MY_POD_NAME)" | .record.sourcetype = (.tag | gsub("\\\\."; ":")) | .record'
    </filter>

    <filter kube.**>
      @type jq_transformer
      jq '.record.cluster_name = "mattymo-objects-config-cleanup" | .record'
    </filter>

    # = custom filters specified by users =

    <match kube.**>
      @type splunk_hec
      protocol https
      hec_host "my host"
      hec_port 8088
      hec_token "#{ENV['SPLUNK_HEC_TOKEN']}"
      host "#{ENV['NODE_NAME']}"
      source_key source
      sourcetype_key sourcetype
      index snmp_meta
      insecure_ssl true
      <fields>
        cluster_name
      </fields>
      app_name splunk-kubernetes-objects
      app_version 1.4.7
      <buffer>
        @type memory
        chunk_limit_records 10000
        chunk_limit_size 20m
        flush_interval 5s
        flush_thread_count 1
        overflow_action block
        retry_max_times 5
        retry_type periodic
        total_limit_size 600m
      </buffer>
    </match>
kind: ConfigMap
metadata:
  annotations:
    helm.fluxcd.io/antecedent: sck:helmrelease/sck
  creationTimestamp: "2021-05-13T15:02:22Z"
  labels:
    app: splunk-kubernetes-objects
    chart: splunk-kubernetes-objects-1.4.7
    heritage: Helm
    release: sck-sck
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data:
        .: {}
        f:fluent.conf: {}
      f:metadata:
        f:labels:
          .: {}
          f:app: {}
          f:chart: {}
          f:heritage: {}
          f:release: {}
    manager: Go-http-client
    operation: Update
    time: "2021-05-13T15:02:22Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:helm.fluxcd.io/antecedent: {}
    manager: kubectl
    operation: Update
    time: "2021-05-13T15:02:22Z"
  name: sck-sck-splunk-kubernetes-objects
  namespace: sck
  resourceVersion: "5559"
  selfLink: /api/v1/namespaces/sck/configmaps/sck-sck-splunk-kubernetes-objects
  uid: 83125c6b-2316-4024-91ef-36e90f1fda70

I have read the CLA Document and I hereby sign the CLA

:tada: This PR is included in version 0.8.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix circle ci python version at 3.7

Pull Request synchronized with Asana task

@owenauch  can you merge in master? I don't think this includes my latest changes to the circleci config

Done

Oh 🤦  I haven't merged in #93  yet.


Develop add varchar

This PR fixes issues with buffer size limits on stack strings.
General upgrade rules:

declarations of char str[N] become varchar str(N).
calls to most function taking const char * remain unchanged.
calls to functions taking char *, size_t arguments must use get_string() and get_size(), e.g., read(str,sizeof(str)-1) becomes read(str.get_string(),str.get_size()-1).
calls to sscanf-style functions must ensure that the string is large enough for the input including the string terminator, e.g., varchar str[1234]; sscanf(input,"%1233s",str.get_string());

Current issues

This is not yet implemented in all the core files or modules.

Code changes

[x] Just about every source file is affected by this change

Documentation changes
None
Test and Validation Notes
None

The performance of this proposed fix is unsatisfactory.


Do not copy .vagrant directories

In roles that copy local development working copies of applications, exclude .vagrant directories.

Sorry to keep piling on the PRs, @moltude. I can reassign this if that helps. Hopefully this is a small one.

👍


Improved exceptions

This PR enhances exceptions thrown during hydration/extraction. One of the major enhancement is PropertyError which contains path to a property that failed during hydration.

Codecov Report

Merging #8 (194d428) into main (06c39a6) will decrease coverage by 1.37%.
The diff coverage is 59.75%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   95.89%   94.51%   -1.38%
==========================================
  Files          27       28       +1
  Lines        1340     1404      +64
==========================================
+ Hits         1285     1327      +42
- Misses         55       77      +22

Impacted Files
Coverage Δ

chili/__version__.py
0.00% <0.00%> (ø)

chili/hydration.py
85.93% <32.50%> (-3.72%)
:arrow_down:

chili/error.py
80.00% <80.00%> (ø)

tests/test_dataclasses.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Added option delimiter_field to Gcloud::Bigquery::Table#load method

The Bigquery Api supports two delimiters [ "," and "\t"] but currently is not possible to specify the delimiter in then Gcloud::Bigquery::Table#load method ( "," is supported by default )
So the proposed definition of the new option is:
table.load file,  delimiter_field: "\t"

Thanks! I've got some feedback coming.

Thanks a lot @gramos74, we really appreciate the help!

@gramos74 This looks great. If you can address that last comment about "The following values are supported:" lines and squash all the changes to a single commit we will get this PR accepted. :+1:

Do you mean remove them because we are not checking the value of the delimiter ?

Correct. :)

One question... I have to push the squash to this branch ?

I will remove the history... right ?

nvm... I already pushed it

@gramos74, while you are waiting, can you make any suggestions for how to improve the CONTRIBUTING guide? Was there anything you found that should be added?

If so, best to open a new issue for your comments, but please do so!

This PR looks good for merging to me!

Thank you so much @gramos74!

Thanks to all of you for your patience!
About the contributing document... yes, I have a comment.
Would be great to add the list of the API's that should be enabled in order to run all the acceptance tests.

@gramos74 Great suggestion, we will do that. Thanks again!

BTW... Do you have any idea when you will release a new version ?

Soon. We are waiting on feedback for the DNS implementation before cutting the next release.


Sample documentation out of date.

The sample documentation uses the SimpleExoPlayer class which has now been deprecated. The suggestion is to use the IExoPlayer interface.
I am trying to work out how to instantiate an IExoPlayer but am having no luck as the constructors I wish to use are only available on API 33 and above and the constructors which aren't are marked as obsolete.
Please could some guidance be provided on how to create an IExoPlayer in this latest release.

var  Exoplayer = new IExoPlayer.Builder(MainContext).SetMediaSourceFactory(MainDataSource).Build();
MediaItem mediaItem = MediaItem.FromUri(Android.Net.Uri.Parse("https://wowonder.fra1.cdn.digitaloceanspaces.com/upload/videos/2022/11/PRjaipBn2Gmj4CEV1O4e_11_a509a30225863eb0c2e5cf08e343a826_video_720p_converted.mp4"));
            HttpDataSourceFactory = new DefaultHttpDataSource.Factory().SetAllowCrossProtocolRedirects(true);

            if (PlayerSettings.EnableOfflineMode)
            {
                Cache = MainApplication.GetInstance().ExoCache;
                CacheFactoryDataSource = new CacheDataSource.Factory();
                CacheFactoryDataSource.SetCache(Cache).SetUpstreamDataSourceFactory(HttpDataSourceFactory).SetFlags(CacheDataSource.FlagIgnoreCacheOnError).SetEventListener(new CachEventListner());
            }

    MediaItem mediaItem = MediaItem.FromUri(Android.Net.Uri.Parse(trackurl));
    Exoplayer.AddMediaItem(mediaItem);
    Exoplayer.Prepare();
    Exoplayer.Play();
            ``

@ScriptSun Thanks for the example.
How are you defining MainDataSource?
Using a DefaultMediaSourceFactory with a DefaultHttpDataSource fails with the following error:
"Failed resolution of: Lcom/google/common/base/Supplier;"

@Zintom Include Guava in your project or revert to 2.18.3, it seems a new version was pushed from my fork in which I was tinkering as to why Guava wasn't working in someone else's issue.

@ArchangelWTF Cheers for that. Will this be fixed in a future official release?

Yeah I've already made a PR just now that reverts the change just now,  just need it to be merged in.


Wishlist checker: Filter out big wishlists

Is your enhancement request related to a problem? Please describe.
Usually when you check groups or your whitelist for possible games you can give away, some users are always in the list, as they have nearly everything on their wishlist (by script I guess). Those guys are usually not joining the giveaways which makes the prediction if the giveaway gets entries quite difficult,
Describe the solution you'd like.
It would be nice if there would be a setting where I can add a value of x, e. g. 1000 and if someone has more than 1000 games on their wishlist, the check script skips them.
Describe alternatives you've considered.
I can't think of another solution which would be easier or as easy as the abovementioned. :)
Additional Context
Let me know if you need any more information. :)

Another great idea, will try to implement it soon as well.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, 5 June 2020 11:36, Moony1986<EMAIL_ADDRESS>wrote:

Is your enhancement request related to a problem? Please describe.
Usually when you check groups or your whitelist for possible games you can give away, some users are always in the list, as they have nearly everything on their wishlist (by script I guess). Those guys are usually not joining the giveaways which makes the prediction if the giveaway gets entries quite difficult,
Describe the solution you'd like.
It would be nice if there would be a setting where I can add a value of x, e. g. 1000 and if someone has more than 1000 games on their wishlist, the check script skips them.
Describe alternatives you've considered.
I can't think of another solution which would be easier or as easy as the abovementioned. :)
Additional Context
Let me know if you need any more information. :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

NOTICE: This repository has been moved to GitLab. You'll find your issue at https://gitlab.com/rafaelgssa/esgst/-/issues/1600


Issue 1384: Huge performance issue between 6.5.2 and 6.11

Fixes #1384: Huge performance issue between 6.5.2 and 6.11.
Did you remember to?

[x] Add test case(s)
[x] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

@bazhenov - As part of this PR we revived the primitive array comparisons for byte[] comparisons, but this would now require code changes for being benefitted from this method no ?

@krmahadevan

but this would now require code changes for being benefitted from this method no ?

As far as I understand no. Java linker will choose most specific version of assertEquals() method while loading class TestLZFRoundTrip. It'll be assertEquals(byte[], byte[]) with new version of TestNG.
To be sure, I'll check if my understanding is right.

As far as I understand no. Java linker will choose most specific version of assertEquals() method while loading class TestLZFRoundTrip. It'll be assertEquals(byte[], byte[]) with new version of TestNG.

True that. I confirmed it with this sample.
public class SampleTestClass {
    public static void main(String[] args) {
        foo(new byte[] {});
        foo(new Byte[]{});
    }

    public static void foo(Object object) {
        System.out.println("object() variant called");

    }

    public static void foo(byte[] object) {
        System.out.println("primitive() variant called");

    }
}

primitive() variant called
object() variant called

Ok, I need some more time to add other primitive-based methods to Assert as well as remove some duplication and dead code. Please post-pone merging this pull-request :)

I've added assertEquals() for all 7 primitive types and moved away all reference and length checks in shared method to minimize code duplication. Shared method is reflection based, but all hot-path code (element comparison) is reflection-free.

Ping @cbeust

Can I get a high level overview of the problem and the fix? It's a bit hard to follow from the code alone.
Also, for future reference, I prefer to see cosmetic changes (such as swapping public static) in a separate PR for easier review.

@cbeust - TestNG was using the Arrays.get() for running equality assertions on primitive arrays which was adding to the execution time. The changeset basically reverts back this behavior in TestNG and causes TestNG to work with primitive arrays directly instead of using Arrays.get().


Context question

Under - Which setting should I choose: sideload apps or Developer Mode?
Shouldn't it say "Windows Store Appsis the default setting" rather than "UWP apps is the default setting." ?

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

ID: f35d7dc2-a5e9-9f86-7e8a-88e6afe40c99
Version Independent ID: b57b8c51-e2f6-e5e1-1d93-14f26691bc39
Content: Enable your device for development - UWP app developer
Content Source: windows-apps-src/get-started/enable-your-device-for-development.md
Product: windows
GitHub Login: @QuinnRadich
Microsoft Alias: quradic

Thanks for pointing this out - updates are needed to both the image and the text. They should now both read "Microsoft Store Apps." I'll close this issue when I can confirm the change is live.


It works!

Hi guys! This is running over at WDAS, albeit in a kind of sandbox mode while WDAS figures out how to make its show environments play nice.
Isn't it refreshing to get a bug report saying there's no bug? Please close as "Won't Fix"
-r

That is a great way to end the week! Thank you for your feedback!


When editing a testing ground, it would be nice to be able to upload a CSV

Assigning @grdw

Waiting for #88 to be merged before I continue with this.

@ChaelKruip is this still needed?

Yes please!

The download/upload a CSV functionality allows the user to quickly build/reuse complex LESs.


Generate narrow links using "channel" operator, not "stream", if server is recent

In https://github.com/zulip/zulip/issues/28468, we plan to rename "stream" to "channel" in the Zulip UI.
When we generate narrow links, for example in quote-and-reply, we should start using the "channel" operator instead of the "stream" operator. But we should be careful only to do so if the server feature level is above a certain threshold where the new operator is officially supported. We should also wait until a release with #5860 has been out for several weeks.
Discussion: https://chat.zulip.org/#narrow/stream/378-api-design/topic/URLs.20for.20stream.20to.20channel.20rename/near/1786451
Related issues:

#5827 (for UI strings)
#5860 (reading as opposed to writing narrow links)
https://github.com/zulip/zulip/issues/30385 (corresponding server/web issue)

We're leaving this out of Zulip Server 9, in order to give time for #5860 to reach a more complete subset of our users:
https://chat.zulip.org/#narrow/stream/378-api-design/topic/URLs.20for.20stream.20to.20channel.20rename/near/1848218
Instead it'll be in Server 10.

Should this get its "server release goal" label removed, then? Or we could keep it, with your message here tracking that it's for Server 10.

ETA on server: August 2024


Table too wide in Word when there is a lot of text

When you compile the iso-transliteration-registry document, notice that the annex table is out of bounds (in Word). We need to set a max-width limit for the table.

Human edited documents normally flip to landscape for just that table, but that is disruptive and difficult, and I will not countenance it as an option. The Word output generated by Metanorma can always be post-edited.

You assume that MS Word HTML has a notion of max-width. I think you're being optimistic.
Moreover, even if I do get MS Word HTML to do a "autofit to contents automatically", this is the result:

That's the best you're going to get from automation (unless you flip the table to Landscape), and I don't think it's worth the effort.

@opoudjis or can we set a fixed-width for Word tables?
If you've tried actually "human-editing" the table width, you'd realize it is only possible in Draft/Web views, not in the normal Print view. And due to the length of the table, Word behaves like it will crash on resizing (hangs for a while while doing so).

Word is ignoring any attempt to set fixed width on a table this length, whether as width or as max-width. You will notice that Table Properties within Word sets a "Preferred Width" for a table; that command is ignored for this table.
If it's just one row with long text, it autosizes it nicely, and it accepts width styling on the table; otherwise, its autosizing takes over. Copy pasting the table into a new document makes it fit, but I've saved the Word HTML, and nothing in the HTML indicates a different style. (The only candidate was mso-table-layout-alt:auto; (it was set to mso-table-layout-alt:fixed;), but that makes no difference.
After three hours, I will not spend any more time on this, especially since, even if I did get it to work, you would get horrible line wrapping anyway. Cramming this much information into a table is a bad idea to start with, and Word HTML simply is not that flexible to begin with: the table is too wide and long for Word to cope with (as you would likely find if you'd entered it into Word directly.)
The real solution here (which I do not want to do, at least not at high priority when you're deluging me with three Standards) is to make this table landscape in Word (which will take inserting section breaks, and I'm not sure whether I can do that dynamically and not disturb pagination.) And even then, eventually someone's going to cram too much text into a table for landscape to be any better. You will have to get used to the idea that occasionally, the Word output of Metanorma will have to be post-edited manually (and occasionally, tables are fundamentally ill-conceived.)
You're not helping yourself with those massively long URLs, btw. Which do not linewrap. Turn them into references: they have no business as they stand in a table.

Indeed, they are supposed to be references. And I've converted them to be so now. There ought to be a better way to represent data (i.e. not in tables) but in a structured way.

I have  a lot of time for nested lists.

As in definition lists?
==== topic

attribute1:: blah
attribute2:: blah

?

My ideal input interface is a structured data file, e.g. YAML.

As in nested definition lists, for this table:
script1::
feature1::: X
feature2::: Y
script2::
feature1::: X1
feature2::: Y1

I’ll try it out. The table has a benefit that it can be imported from CSV, which I can edit with Excel...

And it has the downside you've already found. :-)

Let's put this on hold for now.

Let's consider landscape mode as a fix for this.


Update nodejs in templates to 18

Closes #105
Update typescript templates to use NodeJS 18.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Looks good but what are all the GitHub Actions warnings?

They all look to be from the unit tests for the typescript-lib.  All the ones I've seen look to be saying don't use the "any" type and use something more rigorous.

Can this be merged?


[fltk] build failure

Host Environment

OS: MacOS Big Sur 11.2.3
Compiler: clang

To Reproduce
Steps to reproduce the behavior:
./vcpkg install fltk
Failure logs
-Cut and past the appropriate build messages from the console output.
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
Command failed: /Applications/vcpkg/downloads/tools/cmake-3.20.1-osx/cmake-3.20.1-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j5
Working Directory: /Applications/vcpkg/buildtrees/fltk/x64-osx-dbg
See logs for more information:
/Applications/vcpkg/buildtrees/fltk/install-x64-osx-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:105 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:45 (vcpkg_build_cmake)
ports/fltk/portfile.cmake:42 (vcpkg_install_cmake)
scripts/ports.cmake:142 (include)
Error: Building package fltk:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with ./vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: fltk:x64-osx
Vcpkg version: 2021-01-13-unknownhash
-Please attach any additional failure logs mentioned in the console output.
config-x64-osx-dbg-err.log
config-x64-osx-dbg-out.log
Additional context

vcpkg is up to date (was recently installed)
Reinstalled cmake.
Previous: version 3.7.1
Current: version 3.20.1
New to coding, so not quite sure on what I'm doing.

Please provide failure log /Applications/vcpkg/buildtrees/fltk/install-x64-osx-dbg-out.log.
Thanks.

install-x64-osx-dbg-out.log

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/cstddef:37:
/Applications/vcpkg/buildtrees/fltk/src/fltk-1-7591e64af8.clean/version:1:1: error: expected unqualified-id
1.3.5
^

I think we should try to update this port.


Matomo image / container / service to be developed

Matomo image / container still needs to be incorporated into the docker-compose.yml

This ticket can be closed by the creation here https://github.com/Islandora-Devops/isle-buildkit/tree/master/matomo


Support for scientific articles seems lacking

Platform: Chrome on Ubuntu 16.04
Mercury Parser Version: <IP_ADDRESS>
Node Version (if a Node bug):
Browser Version (if a browser bug): 69.0.3497.100 (Official Build) (64-bit)

Expected Behavior

Should select text as usual after applying Mercury reader
Should retain Math symbol rendering
Should format code along with text appropriately

Current Behavior

The selection is always from the bottom most to the current cursor position
Math symbols become plain text and unreadable
Nearly a mess with a bunch of iframes/boxes without text wrap

Steps to Reproduce
1a. Expected selection

1b. Mercury selection

2.3.a. Math/code expected

2.3.b. Math/code rendered

Detailed Description

I would like a BETTER reading experience of scientific articles.
At least good enough to print as PDF.

Scientific articles like this should be part of your production testing.

Possible Solution

the text selection is likely a bug
math/code rendering requires further parsing

Hi @farleylai,
I recommend creating a custom extractor for the specific website(s) you are targeting.


Build fails for Rust projects with more than one binary

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
If the compiled binary name doesn't match the name of the project, the cp command will fail and the build won't succeed.
see here:
https://github.com/railwayapp/nixpacks/blob/1c0e460cf3c98d352d506e3d9846f2df06273e4e/src/providers/rust.rs#L101-L104
To reproduce

Make a Cargo project with more than one binary (for example, move main.rs to bin/bin1.rs, and duplicate it to bin/bin2.rs)
Attempt to build the project

Expected behavior
All compiled binaries get copied over (or, alternatively, there's some way to select which binary to use).
Environment
╔═══════════════════════════════ Nixpacks v1.1.1 ══════════════════════════════╗
║ setup      │ binutils, gcc, (rust-bin.stable.latest.default.override {       ║
║            │ targets = ["x86_64-unknown-linux-musl"]; }), musl, musl.dev     ║
║──────────────────────────────────────────────────────────────────────────────║
║ build      │ mkdir -p bin                                                    ║
║            │ cargo build --release --target x86_64-unknown-linux-musl        ║
║            │ cp target/x86_64-unknown-linux-musl/release/rust-test bin       ║
║──────────────────────────────────────────────────────────────────────────────║
║ start      │ ./bin/rust-test                                                 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Hey Miguel! Can you walk me a bit through the structure of your project and the goal of multiple bins within your project? We have an assumption that services on Railway are 1:1 to the build artifacts that get added on. (FlightControl + others might have different assumptions.)
Also going to tag in @nebulatgs who might have an opinion on how we should be looking at this.

@ndneighbor I have a project that exposes both an API and a CLI, and since there's little difference between these two they are on the same project. I guess I could use workspaces for this (haven't looked into that yet), but this felt like it would work.

This should indeed be a supported flow! How would you expect to indicate which binary should be run by default when the app starts?

Do you have a sample repo we can use so that we can replicate this? It seems like we should have at minimum a NIXPACKS_RUST_BIN option or something so at least you can point the builder to right bin.
or... maybe you can give us a custom build command that scopes you down to using a cargo workspace but I am not too familiar with expected Rust project patterns. JR or Neb know much more about this than I.

Here's an example repo that highlights the issue (I'm using Hop): https://github.com/m1guelpf/hop-deploy-test
Just the default cargo project, modified to have two binaries

Looks like this is fixed upstream
https://github.com/hopinc/nixpacks/pull/15
@pxseu @robjmorrissey can y'all PR this into the main branch when you have a sec? Cheers!


Accessibility: Add title or equivalent to edit-topic icon and Stream-sidebar actions icon

This may be similar to that for Mute-topic icon, and message-actions icon.

@zulipbot  add "help wanted"

@zulipbot  claim

@zulipbot claim

Pull request for the issue is under review here  https://github.com/zulip/zulip/pull/17365.
I am unassigning myself so that I could work on other issues.
@zulipbot abandon


add step to verify docs on area/documentation PRs

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #1268

@jakolehm GH has been set up, and it passes after adding the WIP pages.


option to add  -fossils -resurrect to check?

Hi, @jeffaco, I have just learned about your tool and it works great! Thanks a lot. I have a bunch of suggestions/questions which I will split in separate issues.
The first one is passing additional parameters to check. In my environment I have an sftp storage and multitude of clients with not very good connection, and that results in interrupted uploads, so usually I run prune -exhaustive, which in turn some times results in chunks fossilized during a revision upload. And that is not an issue, because such chunks are normally restored with check -fossils -resurrect. In your tool, however, there are no additional options for check command yet, and running it generates a missing chunk error message. Could you please add an option to pass -fossils -resurrect to duplicacy while checking?

I think the best way to handle this is to have a -quote feature. A -quote feature would allow you to add any "odd-ball" parameters that you wanted, and keeps me out of the business of supporting one-off parameters for an odd request here and there.
For sure, the standard parameters will be supported as they are today. But -quote would allow you to add something that was not typical. So, in your example, you might do something like:
-quote "-fossels -resurrect"

Those would then be added on the command line. I believe that would handle this issue, as well as prune with -exhaustive.
I'll look at adding this. Or if you'd like, you're welcome to submit a PR for such a capability.

Implemented "quote" option as discussed in commit f525569. Tested with known flags passed via quote (I used quote: "-threads 8" for testing). This testing was possible due to reworking of optional flags and how they are supported in duplicacy-util via commit dc46049.
Closing this issue. You can build from source to pick this up, or you can wait for the next release of duplicacy-util.


chore(master): release 0.10.0

:robot: I have created a release beep boop
0.10.0 (2023-10-14)
Features

Add option statusLineSeparator (#1521) (374d72f)
improved the nvim version check (#1527) (a42a60e)

Bug Fixes

#1531 (deb41d4)
fix semver comparison (d22850c)
highlight: do not widen the decoration's range (deb41d4), closes #1531
keybinds: Ctrl+n and Ctrl+p in cmdline (#1533) (305bc1a)
properly set the client info (c0422ef)

This PR was generated with Release Please. See documentation.

Todo: release as 9.1

Why?

All the changes can be considered fixes, not worth bumping minor version.

:robot: Release is at https://github.com/vscode-neovim/vscode-neovim/releases/tag/v0.9.1 :sunflower:


Integration test only works if the app is already running in the background

Hi,
We are encountering some unusual behaviour and I'm hoping you can help. The problem we are having is that when using the integration testing app, it always fails on the first attempt. However, it works if my app is already running in the background. I'm not sure why this is happening and don't know if it will work in production or not (we have not released it yet).
Here are the things we did to set it up:

Add compile project(path: ':react-native-appsflyer') to android/app/build.gradle
Add the SingleInstallBroadcastReceiver to the AndroidManifest.xml
Add the @integer/google_play_services_version meta attribute to the AndroidManifest.xml
Add the import and RNAppsFlyerPackage package to MainApplication.java
Include and set project dir in android/settings.gradle
Call initSdk with our config (also call getAppsFlyerUID)
Whitelist my device (it appears in the list)

Description of the issue:

Running the "SDK Integration Test" from the provided integration testing app from the Google Play Store fails on the first attempt

Our AppsFlyer dashboard shows a click but no install
The integration testing app says there is a problem (the generic "This app can not be monitored." message)

If you clear the app in the background (open app switcher, swipe it away) then the problem will repeat itself
However, if you don't clear it and re-run the integration test again then it succeeds!

It successfully registers as both a click and non-organic install in the dashboard
Re-running it will continue to work until the app is cleared in the background
It also succeeds if the first launch was from manually opening the app rather than the integration testing app opening it

Other information that might be of use:

I'm using a Nexus 6P
I also tested it on an older HTC One and get the exact same behaviour
onInstallConversionData appears to never call its callback in either the successful or unsuccessful case
The logs say that neither the Android ID nor IMEI are being tracked

I thought that was the issue for a while and tried to manually set the Android ID but that doesn't fix anything

I tried running them demo app and everything shows as "not initialized yet"/"not called yet"

There appear to be no relevant logs either
The integration testing app also does not work with it (and also complains about the missing intent stuff)

Do you know what's going on? I am very happy to provide more details or logs or try anything you can suggest.
Thanks,
David

I'm still attempting to debug the problem but not getting very far. Here are some logs from the integration test in case they may be helpful. They are filtered by the string "I/AppsFlyer" using the Android Monitor in Android Studio (not sure if there is a better way or if I'm missing some other useful logs).
The first set are from the first launch using the integration testing app. I then waited a bit and re-ran it (without clearing our app from memory) which resulted in the second set of results. As before, the integration testing app said the first one failed and second one succeeded and the dashboard shows two clicks and one non-organic install.
# From first unsuccessful run (filtered by "I/AppsFlyer")

04-04 10:24:47.731 23183-23183/com.momentum.moneyhub.app I/AppsFlyer_4.7.1: ****** onReceive called *******
04-04 10:24:47.754 23183-23183/com.momentum.moneyhub.app I/AppsFlyer_4.7.1: Play store referrer: af_tranid=JoBX8Mff2nogaBVk6kvpxg&pid=AppsFlyer_Test&c=Integration_Test
04-04 10:24:47.820 23183-23183/com.momentum.moneyhub.app I/AppsFlyer_4.7.1: Test mode started..
04-04 10:24:48.804 22384-23099/? I/AppsFlyer_4.6.7: onBecameBackground
04-04 10:24:48.804 22384-23099/? I/AppsFlyer_4.6.7: callStatsBackground background call
04-04 10:24:48.805 22384-23099/? I/AppsFlyer_4.6.7: app went to background
04-04 10:24:48.808 22384-23099/? I/AppsFlyer_4.6.7: call = https://stats.appsflyer.com/stats; size = 430 bytes; body = {"advertiserId":"c03e4a93-2cfe-4959-9e0f-f2cc22eb4a3f","platform":"Android","gcd_conversion_data_timing":"0","devkey":"ud****************WMsN","statType":"user_closed_app","originalAppsflyerId":"1490949938374-6358470765804798556","time_in_app":"12","deviceFingerPrintId":"ffffffff-9333-3215-0000-00000625e8bb","app_id":"com.appsflyer.referrerSender","uid":"1490949938374-6358470765804798556","channel":null,"launch_counter":"249"}
04-04 10:24:48.844 22384-23099/? I/AppsFlyer_4.6.7: Status 200 ok
04-04 10:24:48.844 22384-23099/? I/AppsFlyer_4.6.7: Connection call succeeded
04-04 10:24:54.259 22384-22384/? I/AppsFlyer_4.6.7: onBecameForeground
04-04 10:24:54.304 22384-23308/? I/AppsFlyer_4.6.7: sendTrackingWithEvent from activity: com.appsflyer.referrerSender.ReferrerSender
04-04 10:24:54.305 22384-23308/? I/AppsFlyer_4.6.7: Trying to fetch GAID..
04-04 10:24:54.367 22384-23308/? I/AppsFlyer_4.6.7: ******* sendTrackingWithEvent: com.momentum.moneyhub.app
04-04 10:24:54.408 22384-23308/? I/AppsFlyer_4.6.7: IMEI was not collected.
04-04 10:24:54.410 22384-23309/? I/AppsFlyer_4.6.7: sendTrackingWithEvent from activity: com.appsflyer.referrerSender.ResultActivity
04-04 10:24:54.410 22384-23309/? I/AppsFlyer_4.6.7: Trying to fetch GAID..
04-04 10:24:54.411 22384-23308/? I/AppsFlyer_4.6.7: Android ID was not collected.
04-04 10:24:54.419 22384-23308/? I/AppsFlyer_4.6.7: AppsFlyer: first launch date: 2017-03-31_095752+0100
04-04 10:24:54.419 22384-23308/? I/AppsFlyer_4.6.7: AppsFlyerLib.sendTrackingWithEvent
04-04 10:24:54.422 22384-23308/? I/AppsFlyer_4.6.7: url: https://events.appsflyer.com/api/v4/androidevent?buildnumber=4.6.7&app_id=com.appsflyer.referrerSender
04-04 10:24:54.422 22384-23308/? I/AppsFlyer_4.6.7: data: {"device":"angler","firstLaunchDate":"2017-03-31_095752+0100","installDate":"2017-03-31_094538+0100","sdk":"25","referrer":"utm_source=google-play&utm_medium=organic","carrier":"3","deviceFingerPrintId":"ffffffff-9333-3215-0000-00000625e8bb","date1":"2017-03-31_094538+0100","af_preinstalled":"false","advertiserIdEnabled":"false","iaecounter":"83","appsflyerKey":"ud****************WMsN","lang_code":"en","installer_package":"com.android.vending","app_version_name":"4.2.0","lang":"English","timepassedsincelastlaunch":"18","eventName":"com.momentum.moneyhub.app","advertiserId":"c03e4a93-2cfe-4959-9e0f-f2cc22eb4a3f","isGaidWithGps":"true","deviceData":{"build_display_id":"N4F26T","arch":"","cpu_abi":"arm64-v8a","cpu_abi2":""},"af_v2":"0ad129bfd25e32926a8b8228f3accd0c97e8b377","deviceType":"user","af_v":"a44cc5b7aa9c3637a11fbb115bc3420d0aca68f4","app_version_code":"22","eventValue":"{\"Error Message\":\"This app can not be monitored. Please make sure that:\\n\\n1. You are using a supported AppsFlyer SDK version.\\n2. AppsFlyer's BroadcastReceiver is configured.\\n3. startTracking() is placed in the MainActivity\",\"Test-App Version\":\"4.2.0\"}","af_events_api":"1","platformextension":"android_native","network":"WIFI","operator":"","country":"GB","date2":"2017-03-31_094538+0100","brand":"google","prev_event":"{\"prev_event_timestamp\":\"1491297451907\",\"prev_event_value\":\"{\\\"Error Message\\\":\\\"This app can not be monitored. Please make sure that:\\\\n\\\\n1. You are using a supported AppsFlyer SDK version.\\\\n2. AppsFlyer's BroadcastReceiver is configured.\\\\n3. startTracking() is placed in the MainActivity\\\",\\\"Test-App Version\\\":\\\"4.2.0\\\"}\",\"prev_event_name\":\"com.momentum.moneyhub.app\"}","af_timestamp":"1491297894366","uid":"1490949938374-6358470765804798556","isFirstCall":"false","fb":"001217d2-982f-401d-9d3c-3ed8c9cc0eff","af_preinstall_name":"af","counter":"249","model":"Nexus 6P","product":"angler"}
04-04 10:24:54.427 22384-23309/? I/AppsFlyer_4.6.7: ******* sendTrackingWithEvent: Launch
04-04 10:24:54.461 22384-23309/? I/AppsFlyer_4.6.7: IMEI was not collected.
04-04 10:24:54.463 22384-23309/? I/AppsFlyer_4.6.7: Android ID was not collected.
04-04 10:24:54.468 22384-23309/? I/AppsFlyer_4.6.7: AppsFlyer: first launch date: 2017-03-31_095752+0100
04-04 10:24:54.468 22384-23309/? I/AppsFlyer_4.6.7: AppsFlyerLib.sendTrackingWithEvent
04-04 10:24:54.471 22384-23309/? I/AppsFlyer_4.6.7: url: https://t.appsflyer.com/api/v4/androidevent?buildnumber=4.6.7&app_id=com.appsflyer.referrerSender
04-04 10:24:54.471 22384-23309/? I/AppsFlyer_4.6.7: data: {"device":"angler","firstLaunchDate":"2017-03-31_095752+0100","installDate":"2017-03-31_094538+0100","sdk":"25","referrer":"utm_source=google-play&utm_medium=organic","carrier":"3","deviceFingerPrintId":"ffffffff-9333-3215-0000-00000625e8bb","date1":"2017-03-31_094538+0100","af_preinstalled":"false","advertiserIdEnabled":"false","iaecounter":"83","appsflyerKey":"ud****************WMsN","lang_code":"en","installer_package":"com.android.vending","app_version_name":"4.2.0","lang":"English","timepassedsincelastlaunch":"0","advertiserId":"c03e4a93-2cfe-4959-9e0f-f2cc22eb4a3f","isGaidWithGps":"true","deviceData":{"build_display_id":"N4F26T","arch":"","cpu_abi":"arm64-v8a","cpu_abi2":""},"af_v2":"0ef0ceec1b26c1024956dd1400668946a377ebd6","deviceType":"user","af_v":"6dcf340e247b0e5eefc85969eb6a1719ef847962","app_version_code":"22","af_events_api":"1","platformextension":"android_native","network":"WIFI","operator":"","country":"GB","date2":"2017-03-31_094538+0100","brand":"google","af_timestamp":"1491297894427","uid":"1490949938374-6358470765804798556","isFirstCall":"false","fb":"001217d2-982f-401d-9d3c-3ed8c9cc0eff","af_preinstall_name":"af","counter":"250","model":"Nexus 6P","product":"angler"}

# From second successful run (still in background)

04-04 10:25:11.306 22384-23099/? I/AppsFlyer_4.6.7: onBecameBackground
04-04 10:25:11.307 22384-23099/? I/AppsFlyer_4.6.7: callStatsBackground background call
04-04 10:25:11.307 22384-23099/? I/AppsFlyer_4.6.7: app went to background
04-04 10:25:11.314 22384-23099/? I/AppsFlyer_4.6.7: call = https://stats.appsflyer.com/stats; size = 430 bytes; body = {"advertiserId":"c03e4a93-2cfe-4959-9e0f-f2cc22eb4a3f","platform":"Android","gcd_conversion_data_timing":"0","devkey":"ud****************WMsN","statType":"user_closed_app","originalAppsflyerId":"1490949938374-6358470765804798556","time_in_app":"17","deviceFingerPrintId":"ffffffff-9333-3215-0000-00000625e8bb","app_id":"com.appsflyer.referrerSender","uid":"1490949938374-6358470765804798556","channel":null,"launch_counter":"250"}
04-04 10:25:11.493 22384-23099/? I/AppsFlyer_4.6.7: Status 200 ok
04-04 10:25:11.493 22384-23099/? I/AppsFlyer_4.6.7: Connection call succeeded
04-04 10:25:12.564 22384-22384/? I/AppsFlyer_4.6.7: onBecameForeground
04-04 10:25:12.715 22384-23352/? I/AppsFlyer_4.6.7: sendTrackingWithEvent from activity: com.appsflyer.referrerSender.ResultActivity
04-04 10:25:12.715 22384-23352/? I/AppsFlyer_4.6.7: Trying to fetch GAID..
04-04 10:25:12.727 22384-23352/? I/AppsFlyer_4.6.7: ******* sendTrackingWithEvent: Launch
04-04 10:25:12.756 22384-23352/? I/AppsFlyer_4.6.7: IMEI was not collected.
04-04 10:25:12.757 22384-23352/? I/AppsFlyer_4.6.7: Android ID was not collected.
04-04 10:25:12.764 22384-23352/? I/AppsFlyer_4.6.7: AppsFlyer: first launch date: 2017-03-31_095752+0100
04-04 10:25:12.764 22384-23352/? I/AppsFlyer_4.6.7: AppsFlyerLib.sendTrackingWithEvent
04-04 10:25:12.765 22384-23352/? I/AppsFlyer_4.6.7: url: https://t.appsflyer.com/api/v4/androidevent?buildnumber=4.6.7&app_id=com.appsflyer.referrerSender
04-04 10:25:12.766 22384-23352/? I/AppsFlyer_4.6.7: data: {"device":"angler","firstLaunchDate":"2017-03-31_095752+0100","installDate":"2017-03-31_094538+0100","sdk":"25","referrer":"utm_source=google-play&utm_medium=organic","carrier":"3","deviceFingerPrintId":"ffffffff-9333-3215-0000-00000625e8bb","date1":"2017-03-31_094538+0100","af_preinstalled":"false","advertiserIdEnabled":"false","iaecounter":"83","appsflyerKey":"ud****************WMsN","lang_code":"en","installer_package":"com.android.vending","app_version_name":"4.2.0","lang":"English","timepassedsincelastlaunch":"18","advertiserId":"c03e4a93-2cfe-4959-9e0f-f2cc22eb4a3f","isGaidWithGps":"true","deviceData":{"build_display_id":"N4F26T","arch":"","cpu_abi":"arm64-v8a","cpu_abi2":""},"af_v2":"1a2479e29b108935f65c71c53fa8171d7c2bb39b","deviceType":"user","af_v":"ffe03263b167762dd2679a8d898f3580010cf767","app_version_code":"22","af_events_api":"1","platformextension":"android_native","network":"WIFI","operator":"","country":"GB","date2":"2017-03-31_094538+0100","brand":"google","af_timestamp":"1491297912727","uid":"1490949938374-6358470765804798556","isFirstCall":"false","fb":"001217d2-982f-401d-9d3c-3ed8c9cc0eff","af_preinstall_name":"af","counter":"251","model":"Nexus 6P","product":"angler"}

Another update: We decided to release to the Play Store anyway. We are still getting the same behaviour (tested on a whitelisted device):

Clicks are always tracked correctly
Installing the app and launching it once (and playing around in it) does not record an install
Swiping away the app and re-launching it does not record an install
Re-opening the app while it was already running in the background does record an install

This was tested by generating a tracking link, waiting a minute between doing each step and refreshing the AppsFlyer dashboard in between steps.
We can live with the behaviour for now (because if someone does not come back to the app then it isn't such a valuable install anyway) but it would be really nice to figure out what's going on.

need better documentation for testing. For a paid service like these proper documentation is required. While they respond quickly in support email, but those conversations are often useless and unproductive.  At this point I'm not even sure whether this sdk works with react native or not. Only link click is recorded which pretty simple thing anyway.

@davidxmoody @AbhishekCode the problem exists in  integration testing app itself (timeout issue), not in SDK. it will be published soon (the fix already done).

Last week we released 1.4.1 with the fix on Android side + separation of getConversionData and onAppOpenAttribution callbacks. This change should fix this issue.

Hi, I'm facing the same issue on Android. Can you please confirm if it was fixed or not?


[AutoPR eventgrid/resource-manager] EventGrid: Update README files to include the current new preview api…

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4235

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2902


border: 0 💥

I've noticed that the following declaration:
border: 0

yield some unexpected results. (@christianalfoni  I think you came across that in yesterday's stream too)
I kinda understand why this may happen, but think it's an unintuitive DX.
Changing from 0 to '0' (String) partially solves the issue, but some of the border long-hands property are still being generated as undefined:

Just want to add that with the latest release this produces slightly different results so now single values are treated as borderWidth so border:0 works correctly, however, border: "none" will not as none isn't a valid border-width value.
I'm wondering if we should parse all shorthand values so that it matches CSS or if we should remove the shorthand syntax all together because I'm thinking if we support the shorthand syntax partially then this might be confusing to people unaware with what's going on under the hood.


Missing English translations for some tooltip information

Most of the tooltips that appear when hovering over the buttons aren't translated to English. I've created a resource pack that sort of fixes this, and adds a bit more info to the tooltips. Translations might not be fully accurate, though.
mcwifipnp missing english translations.zip

Will update in next upload.


Add JVM extension DSL modeline

Fixes #3834

@davsclaus could you review please ?

@davsclaus @jamesnetherton I'm trying to get some examples in the project. The lookup of properties doesn't work out of the box.
This line of code doesn't get the expected result.
The reason behind is that the property is not available in the camel-microprofile-config propertiesComponent.
Any idea how can I bind those camel-dsl-modeline properties?

Yes you cannot test it as if that is added to the property - the modeline is in use during route creations and are available for these routes.
Can you try to get the property trait via
        PropertiesComponent pc = camelContext.getPropertiesComponent();
        PropertiesSource ps = pc.getPropertiesSource("property");

Yes you cannot test it as if that is added to the property - the modeline is in use during route creations and are available for these routes.
Can you try to get the property trait via
        PropertiesComponent pc = camelContext.getPropertiesComponent();
        PropertiesSource ps = pc.getPropertiesSource("property");

Nope, but I guess the way I test is not okay.
When you say the modeline is in use during route creations. Is having the dependency is enough, or do we need to configure the context before starting the routes ?

@davsclaus what makes this propertiesSource different from null. I'm missing the part of what creates this one.

Its loaded via classpath service detection
https://github.com/apache/camel/blob/2245f5c1eb1c63ec0beaaf598cc476bb6038a1ff/dsl/camel-dsl-modeline/src/generated/resources/META-INF/services/org/apache/camel/properties-source-factory
Which is done on startup at
https://github.com/apache/camel/blob/main/core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java#L740
It may be that camel-quarkus need some "build step" code that detect that camel-modeline-dsl is on the classpath and automatic loads the properties source and enlist in the registry.
For what its worth is similar to how many of the other optional services in Camel are auto-detect from classpath, where quarkus has some build time optimizations.

@davsclaus thanks for all the explanations. I resolved it by adding the trait via a recorder on Runtime Init.
I'll add more tests, and try native mode, so I'm keeping this one as draft.

The PR is ready for reviews. I've added integrations tests and native support


Passing the number of thread views from Forum to Thread.

I think you can use a more specific xpath like td[4] or td[contains(@class, "views")], since xpaths starting with // actually search the whole document!
No need to call get_attribute(), just getting the variable text should be enough.
When splitting a long line at the function opening (, make sure you indent by 4 spaces.

Looks good, accepted!


Test UI Integration to run commands

Problem
To make it easier for fast development inside of tox files, the Test UI can be used to allow running of commands easily and repeatable.
Solution
Integrate VS Code Test API to run tox environment commands
Additional context

Implemented in #10


The dartdev tool should print a warning if there is a file name that is the same as the command being executed

The dartdev tool should print a warning if there is a file name that is the same as the command being executed.  Example, users types:
dart analyze
If there is a dart file named analyze that the user was intending to execute, there should be some error message such as:
Warning: there is a file named analyze (/absolute/file/path/to/analyze) in the current working directory.

@bkonyi fyi

https://dart-review.googlesource.com/c/sdk/+/137844

@mit-mit / @kevmoo  See the comment in the PR from Devon.  This bug and fixing PR should be landed and closed, or not landed and fixed, please advise.

Quoting @devoncarew from the review:

I'm not certain that this is actually necessary. I've never expected to be able to run a dart file that didn't have a .dart extension. Do we think this is really a requirement (handling this case, and emitting an error)?

Thanks @mit-mit

Like Devon above, I'm unconcerned with developers trying to run a Dart source code file that 1) doesn't have a .dart extension, and 2) happens to have the same name as a subcommand. It just seems entirely unlikely.
The one case I'm pondering is for snapshots. I don't think we have extensions for those?

That last question is a good one, @bkonyi ?

Snapshots generated during the SDK build always have the .dart.snapshot extension.

I know that, did you add logic to detect if something was a *.dart or not to run the dartdev snapshot versus executing the file on the VM?  If so, it should check for additional patterns, such as .dart.snapshot, others for AOT, etc?

Nope, currently we just check to see if the first non-flag argument to dart is a path to a file that exists or is of a specific URI scheme (e.g., http, https, file, package, google3). If so, we try and run the file. If that's not the case, we just assume it's a command and forward it to dartdev.

Thanks Ben.  Closing issue.

sgtm


append faster-coco-eval as base backend for COCODetection

https://github.com/MiXaiLL76/faster_coco_eval
Motivation
I often use this project, but I saw it abandoned and without a public repository on github. Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
Modification
This implementation greatly speeds up the evaluation time for coco's AP metrics, especially when dealing with a high number of instances in an image.
Use cases
COCODetection(..., faster=True)

Type
COCOeval
COCOeval_faster
Profit

bbox
18.477 sec.
7.345 sec.
2.5x faster

segm
29.819 sec.
15.840 sec.
2x faster

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

I don’t know what’s going on in the unit tests, they fail outside of my changes, on other tests)

@zhouzaida @C1rN09
cannot run last test with GPU
Job was rejected because resource class gpu.nvidia.small, image ubuntu-2004-cuda-11.2:202103-01 is not a valid resource class

mb
https://discuss.circleci.com/t/linux-cuda-deprecation-and-image-policy/48568


[ENSCORESW-3077] Travis: Unify configuration of Slack notifications

Use the same Slack access token as well as the same notification configuration for all Infrastructure repositories.

Tests on pushed branch failing due to missing DB patches. Tests against PR branch, which includes DB patches are passing. Will go ahead and merge.


How to build custom docker image

Gitea version (or commit ref): 7000b41
Git version: 2.15.0
Operating system: Ubuntu 16.04.4 LTS (Gitea inside docker 18.03.0-ce)
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes
[ ] No
[ ] Not relevant

Log gist:

Description
We have a test in our go project, that runs 20 clone operations (with go-git) concurrently in different go routines, from the same given repo (and the URL looks like<EMAIL_ADDRESS>but from our own gitea instance)
Some of those clone operations fail with error in clone: ssh: handshake failed: EOF, and sometimes some of them fail with error in clone: ssh: handshake failed: read tcp IP:PORT->IP:10022: read: connection reset by peer
With try.gitea.io, only the second error (read: connection reset by peer) happens.
They all use the same ssh private key.
Although most of clone operations succeed. But even one failure makes our test fail.

To confirm that, I need to modify ssh config inside docker and build my own docker image
I modified "docker/etc/ssh/sshd_config" file, and ran make in docker/ directory. But it gives me this error:
docker build --disable-content-trust=false -t gitea/gitea:latest .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/ubuntu/go/src/code.gitea.io/gitea/docker/Dockerfile: no such file or directory
Makefile:10: recipe for target 'docker' failed
make: *** [docker] Error 1

Do you have any documentation on how to build my own custom docker image?

You need to run make docker in the root of the gitea directory, not in the docker subdirectory (see the Makefiles). I was able to build the image like that just now.

@nubenum Thank you very much


robustness of pretrained model

Hi,
thanks for sharing the code and pretrained model. I evaluated with AutoAttack the robustness of the model you made available (Linf-threat model, eps = 8/255). On the full test set, I got
clean accuracy: 93.29%
robust accuracy 13.40%.
I think the model was correctly restored, as the clean accuracy seems to match the one reported. Could you please check if you get similar results?

We haven't claimed adversarial accuracy against auto-attack which depends on the modified versions of pgd, large number of queries, and extra information such as identifying the effective attack settings for input samples by looking if the model misclassifies them or not, etc.
It is important to realize that the robustness definition is very broad. Take examples of TRADES, PGD (Madry) training which is very sensitive to global changes in the scene such as contrast, etc, and their robustness will further decrease by combining attack with such global modification. Yes, this will violate the bound on which the model is trained but the adversarial sample is valid as long as it remains perceptually similar to the original sample. Please see the results below:
Auto-Attack Results (WideResNet)
Method----Global Change-----Clean Accuracy----Adversarial Accuracy
Simple         Contrast                  93.3                      0.0
Madry          Contrast                 60.2                      8.0
Ours             Contrast                 70.3                      10.2
Now, considering the above results, which training is better? Is it simple (natural) training that handles such shift in data very well but does not provide any robustness or ours which is now able to compete with Madry and also handle the data shift better. That's why, we go in great length to look at model robustness from different angles including bounded, unbounded attacks, natural corruptions, and shift in data distributions.
AutoAttack will help to filter adversarial defenses but we need to broaden the definition of robustness and should not throw away methods by looking at only one aspect of the robustness.
Another important aspect is the blackbox robustness (where gradients of the under attack models are not available, no estimation of gradients as well). This is a practical setting and if a method can provide better blackbox robustness without losing much accuracy while generalizing to natural corruptions, this is still a useful method.
Thank you for highlighting this. I shall do modifications to the paper.

Thanks for the reply. I wasn't comparing different methods or analyzing their pros and cons, just reporting some results I got.


Example code and videos

Just a comment to say that as part of my reading group I've been trying to hold a session afterwards where we go over the code associated with each paper. I have a GitHub repo for them but some haven't been pushed yet.
I use two running examples:

Hoekstra and Cheng (2012) because that's what Scott Cunningham uses in his Mixtape.
Stevenson and Wolfers (2006) because I thought it would be nice to continue Andrew Goodman-Bacon's example from his paper which is usually a first introduction to this literature.

The plan is to eventually create a short Youtube video for each one going through the scripts.

A cool! Thanks for sharing. I can link to these as well once they are made public.


Fetch CMS contents using slug

I don't know what this issue is about, but the fetching seems to work as-is, so closing.


fix: gcp and aws exit code 1

Description

Replaced kubectl with client go to reload the argocd-applicationset-controller which sometimes starts before repo server and gives secret key missing which leads to timeout issue
Related Issue(s)

Fixes #376
How to test

Clone this repo  and kubefirst repo locally,checkout branch "client" on api repo and in the go mod file of kubefirst add this line "replace github.com/kubefirst/kubefirst-api v0.1.26 => PATH-TO-KUBEFIRST-API" ,replace PATH-TO-KUBEFIRST-API with actual path

@jokestax can you provide some context to the PR please? The default format should have the following information which will help me review it accurately (please let me know if it's not been included).
## Description
<!-- Describe your changes in detail -->

## Related Issue(s)
<!-- List the issue(s) this PR solves. An issue should be raised before creating a PR -->
Fixes #

## How to test
<!-- Provide steps to test this PR -->

@jokestax can you provide some context to the PR please? The default format should have the following information which will help me review it accurately (please let me know if it's not been included).
## Description
<!-- Describe your changes in detail -->

## Related Issue(s)
<!-- List the issue(s) this PR solves. An issue should be raised before creating a PR -->
Fixes #

## How to test
<!-- Provide steps to test this PR -->

I would also suggest that you return the Dockerfile to it's original state as kubectl shouldn't be in there now

Edited the Dockerfile Simon :)

Would it be possible to prioritize testing this PR and releasing a new version when merged please? Our users are having this issue :)


Complete the pipeline component remove Services for Primary GIE/TIS & Tracker Bintrs

A number of the remove Bintr functions were differed initially... but are now required for completeness.

Merged into v0.16.alpha


OpenID: introducing support for OpenID configuration

BREAKING CHANGE: provider configuration changed from auth.authentication.provider to auth.authentication.jwt.enabled
Motivation
Allow the configuration of the OpenID authentication provider along side with JWT.
Modifications
Provider configuration auth.authentication.provider (only 'jwt' value was accepted) was decommissioned in favor of auth.authentication.jwt.enabled:
From:
auth:
  authentication:
    enabled: false
    provider: "jwt"

To:
# Enable or disable broker authentication and authorization.
auth:
  authentication:
    enabled: false
    jwt:
      enabled: false
      # Enable JWT authentication
      # If the token is generated by a secret key, set the usingSecretKey as true.
      # If the token is generated by a private key, set the usingSecretKey as false.
      usingSecretKey: false
    openid:
      enabled: false
#     # https://pulsar.apache.org/docs/next/security-openid-connect/#enable-openid-connect-authentication-in-the-broker-and-proxy
      openIDAllowedTokenIssuers: []
      openIDAllowedAudiences: []
      openIDTokenIssuerTrustCertsFilePath:
      openIDRoleClaim:
      openIDAcceptedTimeLeewaySeconds: "0"
      openIDCacheSize: "5"
      openIDCacheRefreshAfterWriteSeconds: "64800"
      openIDCacheExpirationSeconds: "86400"
      openIDHttpConnectionTimeoutMillis: "10000"
      openIDHttpReadTimeoutMillis: "10000"
      openIDKeyIdCacheMissRefreshSeconds: "300"
      openIDRequireIssuersUseHttps: "true"
      openIDFallbackDiscoveryMode: "DISABLED"

Verifying this change

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

Very cool - is there any presumption of what happens when the JWT token expires? Or if the client id / secret are rotated?

Very cool - is there any presumption of what happens when the JWT token expires? Or if the client id / secret are rotated?

According with the doc, the client will handle the refresh:

When the token expires, the Pulsar Server challenges the client to re-authenticate with the Identity Provider and provide a new access token. If the client fails to re-authenticate, the Pulsar Server closes the connection.

I'm performing some tests. I let you know ;)


[Build] Configurable performance tests

Adding different ways to configure the PG perf tests
Those will not be mandatory in the near future, this is just a preparation

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14044/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14044/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14044/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14044/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14044/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14044/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14044/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14044/merge#BCU1XR#0

Closing (will reopen when I am back)


Getting Started with Karpenter

Hello Karpenter Team,
After following the steps outlined in the 4. Install Karpenter  section of the documentation, I ran into issues with the Karpenter controller pods going into a CrashLoopBackOff state. This caused a lot of back and forth troubleshooting on my part before I finally realized the issue was due to a small but critical mistake in one of the commands provided:
helm upgrade --install karpenter oci://public.ecr.aws/karpenter/karpenter --version "${KARPENTER_VERSION}" --namespace "${KARPENTER_NAMESPACE}" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

The previous command included a --set "settings.interruptionQueue=${CLUSTER_NAME}" option, which is not a valid setting since there is no steps where we would have created the SQS queue, if following this documentation.
This caused the installation to fail, leading to the CrashLoopBackOff issue, displaying the following error message:
panic: fetching queue url, AWS.SimpleQueueService.NonExistentQueue: The specified queue does not exist.

goroutine 1 [running]:
github.com/samber/lo.must({0x214e040, 0x40004fd340}, {0x0, 0x0, 0x0})
	github.com/samber/lo@v1.39.0/errors.go:53 +0x1cc
github.com/samber/lo.Must[...](...)
	github.com/samber/lo@v1.39.0/errors.go:65
github.com/aws/karpenter-provider-aws/pkg/controllers.NewControllers({0x2da3ab8, 0x40007944b0}, 0x40002c2c08, {0x2da9870, 0x4583160}, {0x2db5420, 0x40007f45a0}, {0x2d76620, 0x4000328918}, 0x400085e7b0, ...)
	github.com/aws/karpenter-provider-aws/pkg/controllers/controllers.go:61 +0x468
main.main()
	github.com/aws/karpenter-provider-aws/cmd/controller/main.go:55 +0x53c

I appreciate you taking the time to ensure the documentation provides the correct installation steps either adding details on how to create the queue or removing the option from the command. This will save other users from encountering similar problems and save valuable time during the setup process.
Overall, I love Karpenter and I appreciate the work you've done on this project. In case the documentation is correct, please let me what I missed.
Regards,
P.

Hi @Patox25,
Thanks for trying Karpenter. We'd like to get you up and running without issue.  You don't mention what version you are using but the link you use identifies v0.37.0 so I'm using that in my links here.
In the previous section 3. Create a Cluster there is command to create a CloudFormation stack. The SQS Queue is part of that stack.
We have some documentation about the CloudFormation stack here.
Also you I'm deep linking directly to the section in the CloudFormation stack that creates the Queue here so you can review it in detail.
If you ran the command to create the CloudFormation Stack, then you'll likely want to review the status of the stack and confirm it completed correctly and verify the name of the SQS Queue created and make sure it matches what you are passing to Helm in the install command.

@Patox25 if you aren't using Spot instances and don't currently need the Interruption Feature of Karpenter, you can just remove the line
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \

as the default in values.yaml is an empty string and disables that functionality. That should get you past the panic error you identified above.
If you do need Interruption capability, the CloudFormation documentation lists the requirements and you can pull out the parts from the CloudFormation stack to just create the Queue.

For Pod Identity, we have an open issue around documenting Pod Identity you can track. #5195
Pod Identity does work with Karpenter today, and if you have questions, the #karpenter channel in the Kubernetes Slack is a good place to ask questions and also look up past conversations around this topic.


Rev MPack Version to <IP_ADDRESS>

Updating the version number in the mpack stuff (nothing automated, just manually changed it).
Built a new version of the mpack locally, and it has the <IP_ADDRESS> version number attached to the artifacts.
I have not spun it up on a cluster to ensure Ambari reports the version number (it's grabbed from the mpack.json).  If anybody wants it spun up outside, I can go ahead and do it, but I wanted the PR up early given the release timing.

Went through the Ambari steps to point where install started running.  Version numbers look good throughout.

+1 by inspection


[Room-Booking] Do not allow to book more than 3 hours

Describe the feature
The booking of more than 3 hours during one book is not allowed and will show an error on My Uni. We should show some warning about this.
Suggested solution
Do not allow to select more than 3 hours long, and set the color of selected time to orange or yellow.
Additional context
No response

Moved to #162.


Feature/upload organization logo

Closes #43

Waiting add organization view to be merged #49 to include upload logo.

#49 got merged, continuing..

Blocked, see comment https://github.com/Digipalvelutehdas/APIKA/issues/43#issuecomment-263560563

This should no longer be blocked.
/cc @bajiat

Continuing..

Looks now like this, hover shows camera icon, click opens file browse
When file is added, previous logo is removed & updated to use new uploaded logo.
Is circle style ok or should it be square ?

Is circle style ok or should it be square ?

We should not crop or block parts of the logo, as they are particular to organizations' branding. So, leave them at their original shape for now. We can come back to the decision at a later point.

@brylie Discussed quickly with @bajiat and switched back to square.

@jykae we should not cut or change the image aspect ratio. If possible, leave the image as it is, only resizing if necessary.

thanks @brylie for vertical align rule :)
@marla-singer ready for review

@jykae Cool, it works :)

Will logo changing be available in another task?

@marla-singer If you upload new image it removes previous logo, replaces with new upload. Is that what you mean logo changing?

@jykae If i want to delete current logo (in this case picture with cat) and upload another one.

@jykae I found some strange behavior. I'm testing and can't undesrtand when it happens

Steps
1.Create a new organization
2. Upload logo
3. Pay attention that after logo uploading the url has # in the end (I used Chrome)
4. Click on the logo to change it.
Found
File browser doesn't open. But

@jykae Also it's needed to setting permission for uploading. Now non-owner can change organization logo

@marla-singer requested fixes done. Could not find way to get organization in OrganizationLogo collection permissions and can't possibly restrict to just admin, so added permission check to "fileAdded" event. Hope thats ok for now.

@jykae Your solution for permission works good as well :+1:

@marla-singer I would not want restrict organization managers to just one, if customer requirements are not clear & change. That way we can be more flexible and not need schema migrations. Imho usual decision in schema modeling. Organization manager is not necessarily the one who created organization.

@jykae Right, I see your point. So let's merge it

@brylie @marla-singer Done.

@brylie Is everything okay?

Jep, looks good. I was just wanting to reduce the number of custom classes and LESS code we maintain.


Update all IUC repos

Includes poretools and meme fixes.
I know this list is big, but maybe we can use this to see where things fail with such large lists. I think we need to be able to do this so that we can start doing automatic updates.

@galaxybot test this

@galaxybot deploy this


Abnormal bicarbonate homeostasis

From Melissa:
We have “decreased circulating bicarbonate level” and “increased urine bicarbonate level” so…
Abnormal bicarbonate homeostasis? Child of 1765 maybe?
Or would that be superfluous? I’ve got a mutant defective in a membrane solute carrier of the bicarbonate transporter family so I’m wondering.
We should check the existing annotations to see if a grouping term would be useful

Add new term:
abnormal bicarbonate homeostasis (a child of abnormal ion homeostasis MP:0001765)
DEF: anomaly in the processes involved in the maintenance of an internal equilibrium of bicarbonate within the body or between a cell and its external environment; bicarbonate is a polyatomic anion with the chemical formula HCO3- that serves a crucial role in the physiological pH buffering system
SYN: abnormal hydrogencarbonate homeostasis
SYN: abnormal HCO3- homeostasis
SOURCE: CHEBI:17544
Comment: IUPAC (International Union of Pure and Applied Chemistry)-recommended nomenclature is hydrogencarbonate with the chemical formula CHO3.
abnormal bicarbonate level (child of new term abnormal bicarbonate homeostasis)
DEF: any anomaly in the concentration of bicarbonate in the body
SYN: abnormal hydrogencarbonate level
SYN: abnormal HCO3- level
Child terms include:
abnormal urine bicarbonate level terms

Added new terms:
abnormal bicarbonate homeostasis MP:0031393
abnormal bicarbonate level MP:0031394


feat: truncate path for deeply nested directories

Closes https://github.com/sxyazi/yazi/issues/743

Thanks for your contribution, I made some simplifications, let's merge it then


Add Dockerfile for building docker container

Not sure if this is something appropriate in the repo, but I'm a fan of leveraging docker for running tools.
To build:
docker build -t http-prompt .

and to run:
docker run -it --rm http-prompt

If this is appropriate, next steps would be setting up an automated build on docker/hub that would build on every merge etc. I've done that already for my fork here https://hub.docker.com/r/frosforever/http-prompt/. The image can be pulled down and run via:
docker run -it --rm frosforever/http-prompt

See https://docs.docker.com/docker-hub/builds/ for the steps required to set up an automated build.

Coverage remained the same at 59.569% when pulling 382dd4168b6c1c57c8a6ea9a03487c28f22fb9f4 on frosforever:docker into 893559a55f82a89899b162fad97df1311eb0ba93 on eliangcs:master.

I don't think Dockerfile belongs to this repo for the following reasons:

HTTP Prompt is a just simple and lightweight tool, which can be installed with a simple pip install command. No server required, so there's really no need to run it in Docker.

I prefer deployment configuration should be put to its own repo and http-prompt is included as a dependency.

@frosforever isn't that overkill? :] Maybe this project is interesting for you? https://github.com/mitsuhiko/pipsi

My use case is to use http-prompt precisely on environments where neither python nor pip are installed, like CoreOS machines, etc.
My Dockerfile approach is a little different on this repo: https://github.com/sjourdan/http-prompt-docker
And you'll find the versioned containers here: https://hub.docker.com/r/sjourdan/http-prompt/
Thanks for your work!

@sjourdan thank you for providing an alternative way to install http-prompt as well! Closing this PR.

@jgelens "one mans overkill is another's... something something something" 😄
@eliangcs Thanks for considering!


NetInfo.fetch() and event listener is giving incorrect results randomly

Hi, I have observed that NetInfo.fetch() and NetInfo.addEventListener is giving incorrect results. Below is my code snippet
  NetInfo.fetch().then(state => {
    const isOnline = state.isConnected && state.isInternetReachable;

Here isOnline value is true sometimes even wifi and mobile data is disconnected. It happens when I do switch on/off wifi multiple times repeatedly. I have tried event listener also which is also behaving same in this case.
Platforms
Android and iOS
Versions

Android: Can be reproduce on latest android devices
iOS: Can be reproduce on latest iPhone devices
react-native-netinfo: ^6.0.2
react-native: 0.64.2
react: 17.0.1

Please try again with current versions - by which I mean, please try after you have updated your react-native to at least 0.65, I believe it will work then. react-native listeners changed quite a bit between 0.64 and 0.65 and it affected how this library operates
https://react-native-community.github.io/upgrade-helper/ makes it easy
This is duplicate of a lot of other issues, and I think it will address yours, so I'm going to close this but if you continue to reproduce the issue on RN0.65+ we can reopen

I tried version 6.2.1 last time when I observed this issue. Let me check if you have release new version after it.

react-native version is the update I'm suggesting, not netinfo version


Update Zookeeper version to 1.3.1 to address #70

Travis is unhappy, but it's been broken in the mainline. So merging this in.
Thanks for fixing the issue!


Instead of saying what to do, show it

The documentation says: "n the subsequent run (in this case run number 23), Kubernetes manifest task with action: deploy and strategy: canary would result in ...".  This is not helpful to the new user.  The documentation should have inline samples of whatever it says to do.  In this case, it should show a section of the manifest task with the action and strategy.  Documentation which contains complete information is much more likely to lead to success.

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

ID: 3afe7466-570b-5159-bfab-d75030c3fbd8
Version Independent ID: 53ea4e5d-237a-17fa-92b1-833334d3f378
Content: Deployment strategies for Kubernetes deployments - Azure Pipelines
Content Source: docs/pipelines/ecosystems/kubernetes/deployment-strategies.md
Product: devops
Technology: devops-cicd-ecosystems
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

@shashankbarsin, @chcomley -- please suggest an alternative assignee for Atul.

Let's try @juliakm. Thanks @WilliamAntonRohm.

@mikerains You can find a more detailed article on Canary here.

Thanks @juliakm !!!  I have a passion for mentoring and wiki documentation.  Best regards to you and everyone at MicrosoftDocs!


Fix README.md Typo and Prettify Code

prettified code to have constant use of tabs and spaces.

Ah thanks! Was a bit in a rush with first initial push.


Upgrade tracing-subscriber

I use tracing-subscriber directly in my project and don't like duplicate dependencies.

Is there any special reason why Druid depends on tracing?

It's a convenience thing, AppLauncher::log_to_console which uses tracing-subscriber on for native targets and tracing-subscriber + tracing-wasm on wasm.
I wouldn't personally mind if it was instead removed though 🤷🏼

Im assuming the problem here is that you are using version 0.3.2 in your project while druid uses version 0.2.15. So the PR makes druid use version 0.3.2. Now both use version 0.3.2 and problem solved.
But wouldnt you run into same issue if druid uses version > 0.3.2 in future?

There's not really a big problem here, it's just that build times get longer when you have duplicates of the same crate in the dependency tree. Yes of course druid should upgrade tracing-subscriber again in the future (when there's a breaking change release).

The point that I was trying to make was Druid is not going to update to latest and greatest version to satisfy a downstream client￼.
I empathize with your dependency issues but the real fix would be to completely remove it.

We can certainly discuss removing the dependency, but at least since it's there for now, we may as well keep it up to date. (Also, annoying that test-env-log broke the build with a semver-compatible update, but :shrug:)

We can certainly discuss removing the dependency, but at least since it's there for now, we may as well keep it up to date. (Also, annoying that test-env-log broke the build with a semver-compatible update, but :shrug:)

It only broke things due to -D warnings.


Connector to fixed point inside the shape is always in the back (Confluence Cloud)

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
When I hold down the Shift key to connect to a fixed point inside a shape, the connector will appear in the back of the connected shape once I release the mouse (see screenshot).
To Reproduce
Steps to reproduce the behavior:

Connect to target shape, holding down Shift
Release the mouse
Shape enters shape but then is located in the back

Expected behavior
Connector appears on top of the target shape.

Changed in 21.8.0.