Video playback for iOS Chrome / Android browsers

Hi mate,
I truly love what you build here! It works so well on Safari iOS and it is just perfectly solid.
However, when I open my website on iOS Chrome or any Android browser, it doesn't trigger the video. Do you know if there is something we (I) can do to make this work?
Just for reference, this is the link: http://www.happiness-design.com
I'm much looking forward to your feedback, and thanks again 👍
Cheers,
Chris Constandse

I tested it on Chrome/iOS and it does work because it's still Safari behind it.
The main reason why it's only being applied to iOS is because I can't verify that it does work on all the browser variants of Android and whether it's needed in the first place. All the Android devices I tested just played the video inline natively.
If you can test them, try setting the third parameter to false:
makeVideoPlayableInline(video, true /*hasAudio*/, false /* false = apply to all browsers*/);

Make sure you test this on actual devices and not just emulators.
If you do, please report back your findings.
Additionally, have a look at this version: https://github.com/bfred-it/iphone-inline-video/tree/src-change-support
It's a test that will eventually become the next version, but it hasn't yet because I think it might interfere exactly in your situation.

Hi Frederico,
Thanks a lot for your quick response. I will test it later today and get
back to you as soon as I know more.
Cheers, Chris Constandse
Full stack webdesigner
http://constandse.design
http://100xdesign.com
On Wed, Jun 1, 2016 at 12:53 PM, Federico Brigante<EMAIL_ADDRESS>
wrote:

I tested it on Chrome/iOS and it does work
https://cloud.githubusercontent.com/assets/1402241/15707019/5cba5574-27ab-11e6-820f-d3372f56cd0c.png
because it's still Safari behind it.
The main reason why it's only being applied to iOS is because I can't
verify that it does work on all the browser variants of Android and
whether it's needed in the first place. All the Android devices I tested
just played the video inline natively.
If you can test them, try setting the third parameter to false:
makeVideoPlayableInline(video, true /hasAudio/, false /* false = apply to all browsers*/);
Make sure you test this on actual devices and not just emulators.
If you do, please report back your findings.
Additionally, have a look at this version:
https://github.com/bfred-it/iphone-inline-video/tree/src-change-support
It's a test that will eventually become the next version, but it hasn't
yet because I think it might interfere exactly in your situation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bfred-it/iphone-inline-video/issues/47#issuecomment-222958797,
or mute the thread
https://github.com/notifications/unsubscribe/AQhIR73a0M064d9VRXW5E4JKkXKYeNHQks5qHWSjgaJpZM4IrZbY
.

Hi Frederico,
I just checked my website on Chrome iOS and it works now. Awesome!
However, when I check with Android Chrome, it gives me a black background
screen with the white text on top... Do you have any ideas?
Again, your help is much appreciated, and I'm more than happy to buy you a
digital coffee if we manage to find the solution to this :-)
Cheers,
Chris
[image: Inline image 1]
Gr. Chris Constandse
Full stack webdesigner
http://constandse.design
http://100xdesign.com
On Wed, Jun 1, 2016 at 1:08 PM, Chris Constandse<EMAIL_ADDRESS>wrote:

Hi Frederico,
Thanks a lot for your quick response. I will test it later today and get
back to you as soon as I know more.
Cheers, Chris Constandse
Full stack webdesigner
http://constandse.design
http://100xdesign.com
On Wed, Jun 1, 2016 at 12:53 PM, Federico Brigante <
<EMAIL_ADDRESS>wrote:

I tested it on Chrome/iOS and it does work
https://cloud.githubusercontent.com/assets/1402241/15707019/5cba5574-27ab-11e6-820f-d3372f56cd0c.png
because it's still Safari behind it.
The main reason why it's only being applied to iOS is because I can't
verify that it does work on all the browser variants of Android and
whether it's needed in the first place. All the Android devices I tested
just played the video inline natively.
If you can test them, try setting the third parameter to false:
makeVideoPlayableInline(video, true /hasAudio/, false /* false = apply to all browsers*/);
Make sure you test this on actual devices and not just emulators.
If you do, please report back your findings.
Additionally, have a look at this version:
https://github.com/bfred-it/iphone-inline-video/tree/src-change-support
It's a test that will eventually become the next version, but it hasn't
yet because I think it might interfere exactly in your situation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bfred-it/iphone-inline-video/issues/47#issuecomment-222958797,
or mute the thread
https://github.com/notifications/unsubscribe/AQhIR73a0M064d9VRXW5E4JKkXKYeNHQks5qHWSjgaJpZM4IrZbY
.

It looks like it's not playing, do you see any errors in the console? Can you try running this?
var video = document.querySelector('.IIV');
console.log(video.networkState, video.readyState);

Hi Frederico,
Thanks again for following up so quickly.
Unfortunately now the video doesn't work at all anymore on mobile... Please
see the attached screenshot. However, I don't have a div with the classname
'.IIV'. Should I create that?
I'm hoping to hear from you soon,
Chris
On Wed, Jun 1, 2016 at 2:40 PM, Federico Brigante<EMAIL_ADDRESS>wrote:

It looks like it's not playing, do you see any errors in the console? Can
you try running this?
var video = document.querySelector('.IIV');console.log(video.networkState, video.readyState);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bfred-it/iphone-inline-video/issues/47#issuecomment-222979898,
or mute the thread
https://github.com/notifications/unsubscribe/AQhIR-7xBhdsKpaJbvqDsOfTFTeC6jw6ks5qHX2qgaJpZM4IrZbY
.

No, leave the initialization code for iphone-inline-video (in short, IIV) as it was initially. You have to run that code in the Android browser's remote console and see the results. The IIV class is automatically attached to the video when IIV runs.

I'm sorry, but I don't fully understand what to do here... :-)
Is it correct that I should put the following code in the index.html?
var video = $('video').get(0);
var video = document.querySelector('.IIV');
makeVideoPlayableInline(video, false /hasAudio/, false /* false = apply to all browsers*/);
console.log(video.networkState, video.readyState);
And what do you mean with "run code in the android browser's remote console"? I'm not a very experienced coder, so I hope you don't mind too much. I can create an account at BrowserStack if that would help?
Thanks again so much.
Chris

The code I just gave you doesn't go in the browser, but in the Console panel of the Developer Tools. You can find all the info about it here: https://developer.chrome.com/devtools/docs/remote-debugging
To run code on Browserstack you need the paid version

Hi Frederico,
Thanks for the link :) unfortunately I don't own an Android machine (testing at colleagues), though I don't mind buying a month subscription for BrowserStack.
I just checked your demo site on an Galaxy S5 Android Chrome browser, and it only showed me two green screens and the video didn't autoplay.
I checked this link: http://bfred-it.github.io/iphone-inline-video/demo/autoplay.html
See the mobile screenshots here:

https://cloud.githubusercontent.com/assets/17320007/15714118/8af5984a-2819-11e6-93a6-f45449651c3b.JPG
https://cloud.githubusercontent.com/assets/17320007/15714119/8b2897ea-2819-11e6-9f64-ced4221ef50b.JPG

Do you think the problem might be bigger?
Cheers,
Chris

The demo is only enabled on iPhone

You need to run the code in the console on Browserstack on your own Android-enabled website. Click on "DEVTOOLS"

var video = document.querySelector('.IIV');
console.log(video.networkState, video.readyState);

Hi Frederico,
Ah, that makes sense :-)
I will run it this evening and let you know the results!
Thanks again for your patience, it is much appreciated!
Cheers,
Chris

I tried myself.

Browserstack only has Chrome
Chrome/Android supports inline playback natively, but not autoplay
The video element is not updated the same way as it is on iOS

In short, you don't need IIV on Android unless you need autoplay. And IIV's autoplay doesn't work on Android.

That’s unfortunate. However, thank you very much for all the help!

On 01 Jun 2016, at 17:34, Federico Brigante<EMAIL_ADDRESS>wrote:
Closed #47 https://github.com/bfred-it/iphone-inline-video/issues/47.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bfred-it/iphone-inline-video/issues/47#event-678597260, or mute the thread https://github.com/notifications/unsubscribe/AQhIR4YNEitz8AhUMnX-DEiTltob7C4bks5qHaacgaJpZM4IrZbY.

Native support is coming in Chrome 53!
https://developers.google.com/web/updates/2016/07/autoplay


Make File and Directory safely droppable

Writing the shell example shows that using ? for error handling is very difficult if you have to manually clean up the File and Directory objects.
We should offer a RawFile which is an integer and File which holds a reference to the VolumeManager and hence stops you doing anything else whilst it exists.
And maybe once #79 is done, that restriction can be lifted.

Looked at this in #103


iOS/Android app build

No real Android/iOS workflow exists currently. iOS is built as part of CI but only the library & no testing.
Tasks:

[ ] Setup android toolchain
[ ] Setup android app target
[ ] Setup iOS app target
[ ] Add builds to CI

Btw it can just be a library indeed (as it is already for iOS), but we might need apps in CI to test it

Both are building/running. Making separate tasks for CI integration since it requires some executable target setup.
cbl is just a tool so it doesn't really make sense to run as an app on iOS/Android without passing a script to it.


Rate limit domain cache refresh

What changed?
Skip domain cache refresh if the time duration is too short since last refresh

Why?
If a domain doesn't exist and client keeping calling API for that domain, domain cache will be refreshed for every call, causing a large load on persistence layer and other APIs to fail due to service busy error.

How did you test it?
Unit test

Potential risks
N/A

@wxing1292

Coverage decreased (-0.1%) to 68.051% when pulling<PHONE_NUMBER>a0bd6327f4323a8d81e3d9b37dabe8 on yycptt:protect-cache-refresh into 9e6ce72da3029061a2db454f6078d88443a2e3a0 on uber:master.

LGTM


Fixed the unit of time second pluralization

Checklist

[ ] New Extension
[ ] New Test
[ ] Changed more than one extension, but all changes are related
[x] Trivial change (doesn't require changelog)

          3 Messages

:book:
Executed 200 tests, with 0 failures (0 unexpected) in 5.520 (5.796) seconds

:book:
Executed 185 tests, with 0 failures (0 unexpected) in 5.283 (5.480) seconds

:book:
Executed 122 tests, with 0 failures (0 unexpected) in 4.246 (4.340) seconds

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #439 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #439      +/-   ##
==========================================
+ Coverage    42.1%   42.12%   +0.02%
==========================================
  Files          50       50
  Lines        2247     2248       +1
==========================================
+ Hits          946      947       +1
  Misses       1301     1301

Impacted Files
Coverage Δ

Sources/DateExtensions.swift
96.21% <100%> (+0.02%)
:arrow_up:

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 0b61931...b12d724. Read the comment docs.


Fix paths for Boost Python check

Update python3 test from python3.5 to python3.6.

Use the PYTHONPATH environment variable to extract the python dir.

Codecov Report

Merging #332 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #332      +/-   ##
==========================================
+ Coverage   91.18%   91.21%   +0.02%
==========================================
  Files          67       67
  Lines        7941     7941
==========================================
+ Hits         7241     7243       +2
+ Misses        700      698       -2

Impacted Files
Coverage Δ

reframe/core/config.py
84.54% <0%> (+1.81%)
:arrow_up:

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 96d3a62...c3cb395. Read the comment docs.


Proper constructors for ansi::styling::Style

Since StyleColor is a discriminated union (and those are well implemented in c++ :clown_face:) the constructors, destructors, and assignment operators for Style have to be manually implemented... yay.

Implemented in 8f81c446ac63773ede50ffd0a41492ea5dbc782a


python311Packages.azure-storage-blob: 12.17.0 -> 12.18.2

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 257923 run on x86_64-linux 1

46 packages failed to build:

openai-full
openai-full.dist
pentestgpt
pentestgpt.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-lookups-data
python310Packages.spacy-lookups-data.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
python310Packages.wandb
python310Packages.wandb.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wandb
python311Packages.wandb.dist

69 packages built:

appdaemon
appdaemon.dist
azure-cli
azure-cli.dist
barman
barman.dist
baserow
baserow.dist
browsr
browsr.dist
dvc-with-remotes
dvc-with-remotes.dist
python310Packages.adlfs
python310Packages.adlfs.dist
python310Packages.azure-storage-blob
python310Packages.azure-storage-blob.dist
python310Packages.django-storages
python310Packages.django-storages.dist
python310Packages.dvc-azure
python310Packages.dvc-azure.dist
python310Packages.fuzzytm
python310Packages.fuzzytm.dist
python310Packages.gensim
python310Packages.gensim.dist
python310Packages.kbcstorage
python310Packages.kbcstorage.dist
python310Packages.natasha
python310Packages.natasha.dist
python310Packages.navec
python310Packages.navec.dist
python310Packages.pathy
python310Packages.pathy.dist
python310Packages.ray
python310Packages.ray.dist
python310Packages.slovnet
python310Packages.slovnet.dist
python310Packages.smart-open
python310Packages.smart-open.dist
python311Packages.adlfs
python311Packages.adlfs.dist
python311Packages.azure-storage-blob
python311Packages.azure-storage-blob.dist
python311Packages.django-storages
python311Packages.django-storages.dist
python311Packages.dvc-azure
python311Packages.dvc-azure.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.kbcstorage
python311Packages.kbcstorage.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
snakemake
snakemake.dist
tandoor-recipes
tts
tts.dist

Result of nixpkgs-review pr 257923 run on x86_64-linux 1

4 packages marked as broken and skipped:

python310Packages.dalle-mini
python310Packages.dalle-mini.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist

26 packages failed to build:

openai-full
openai-full.dist
pentestgpt
pentestgpt.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-lookups-data
python310Packages.spacy-lookups-data.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
python310Packages.wandb
python310Packages.wandb.dist

89 packages built:

appdaemon
appdaemon.dist
azure-cli
azure-cli.dist
barman
barman.dist
baserow
baserow.dist
browsr
browsr.dist
dvc-with-remotes
dvc-with-remotes.dist
python310Packages.adlfs
python310Packages.adlfs.dist
python310Packages.azure-storage-blob
python310Packages.azure-storage-blob.dist
python310Packages.django-storages
python310Packages.django-storages.dist
python310Packages.dvc-azure
python310Packages.dvc-azure.dist
python310Packages.fuzzytm
python310Packages.fuzzytm.dist
python310Packages.gensim
python310Packages.gensim.dist
python310Packages.kbcstorage
python310Packages.kbcstorage.dist
python310Packages.natasha
python310Packages.natasha.dist
python310Packages.navec
python310Packages.navec.dist
python310Packages.pathy
python310Packages.pathy.dist
python310Packages.ray
python310Packages.ray.dist
python310Packages.slovnet
python310Packages.slovnet.dist
python310Packages.smart-open
python310Packages.smart-open.dist
python311Packages.adlfs
python311Packages.adlfs.dist
python311Packages.azure-storage-blob
python311Packages.azure-storage-blob.dist
python311Packages.django-storages
python311Packages.django-storages.dist
python311Packages.dvc-azure
python311Packages.dvc-azure.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.kbcstorage
python311Packages.kbcstorage.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wandb
python311Packages.wandb.dist
snakemake
snakemake.dist
tandoor-recipes
tts
tts.dist

Hi @fabaff, thanks for your work, how can we help fix the 26 packages which are broken, is there any way to get more information why they're build fails exactly ?

Result of nixpkgs-review pr 257923 run on x86_64-linux 1

4 packages marked as broken and skipped:

python310Packages.dalle-mini
python310Packages.dalle-mini.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist

30 packages failed to build:

baserow
baserow.dist
openai-full
openai-full.dist
pentestgpt
pentestgpt.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-lookups-data
python310Packages.spacy-lookups-data.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
python310Packages.wandb
python310Packages.wandb.dist
tts
tts.dist

85 packages built:

appdaemon
appdaemon.dist
azure-cli
azure-cli.dist
barman
barman.dist
browsr
browsr.dist
dvc-with-remotes
dvc-with-remotes.dist
python310Packages.adlfs
python310Packages.adlfs.dist
python310Packages.azure-storage-blob
python310Packages.azure-storage-blob.dist
python310Packages.django-storages
python310Packages.django-storages.dist
python310Packages.dvc-azure
python310Packages.dvc-azure.dist
python310Packages.fuzzytm
python310Packages.fuzzytm.dist
python310Packages.gensim
python310Packages.gensim.dist
python310Packages.kbcstorage
python310Packages.kbcstorage.dist
python310Packages.natasha
python310Packages.natasha.dist
python310Packages.navec
python310Packages.navec.dist
python310Packages.pathy
python310Packages.pathy.dist
python310Packages.ray
python310Packages.ray.dist
python310Packages.slovnet
python310Packages.slovnet.dist
python310Packages.smart-open
python310Packages.smart-open.dist
python311Packages.adlfs
python311Packages.adlfs.dist
python311Packages.azure-storage-blob
python311Packages.azure-storage-blob.dist
python311Packages.django-storages
python311Packages.django-storages.dist
python311Packages.dvc-azure
python311Packages.dvc-azure.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.kbcstorage
python311Packages.kbcstorage.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wandb
python311Packages.wandb.dist
snakemake
snakemake.dist
tandoor-recipes

looks like the build failures went away:
https://github.com/NixOS/nixpkgs/pull/257923

4 packages marked as broken and skipped:
python310Packages.dalle-mini python310Packages.dalle-mini.dist python311Packages.dalle-mini python311Packages.dalle-mini.dist

115 packages built:
appdaemon appdaemon.dist azure-cli azure-cli.dist barman barman.dist baserow baserow.dist browsr browsr.dist dvc-with-remotes dvc-with-remotes.dist openai-full openai-full.dist pentestgpt pentestgpt.dist python310Packages.adlfs python310Packages.adlfs.dist python310Packages.azure-storage-blob python310Packages.azure-storage-blob.dist python310Packages.django-storages python310Packages.django-storages.dist python310Packages.dvc-azure python310Packages.dvc-azure.dist python310Packages.fastai python310Packages.fastai.dist python310Packages.fuzzytm python310Packages.fuzzytm.dist python310Packages.gensim python310Packages.gensim.dist python310Packages.k-diffusion python310Packages.k-diffusion.dist python310Packages.kbcstorage python310Packages.kbcstorage.dist python310Packages.langchain python310Packages.langchain.dist python310Packages.natasha python310Packages.natasha.dist python310Packages.navec python310Packages.navec.dist python310Packages.pathy python310Packages.pathy.dist python310Packages.ray python310Packages.ray.dist python310Packages.skrl python310Packages.skrl.dist python310Packages.slovnet python310Packages.slovnet.dist python310Packages.smart-open python310Packages.smart-open.dist python310Packages.spacy python310Packages.spacy-loggers python310Packages.spacy-loggers.dist python310Packages.spacy-lookups-data python310Packages.spacy-lookups-data.dist python310Packages.spacy-transformers python310Packages.spacy-transformers.dist python310Packages.spacy.dist python310Packages.textacy python310Packages.textacy.dist python310Packages.textnets python310Packages.textnets.dist python310Packages.wandb python310Packages.wandb.dist python311Packages.adlfs python311Packages.adlfs.dist python311Packages.azure-storage-blob python311Packages.azure-storage-blob.dist python311Packages.django-storages python311Packages.django-storages.dist python311Packages.dvc-azure python311Packages.dvc-azure.dist python311Packages.fastai python311Packages.fastai.dist python311Packages.fuzzytm python311Packages.fuzzytm.dist python311Packages.gensim python311Packages.gensim.dist python311Packages.k-diffusion python311Packages.k-diffusion.dist python311Packages.kbcstorage python311Packages.kbcstorage.dist python311Packages.natasha python311Packages.natasha.dist python311Packages.navec python311Packages.navec.dist python311Packages.pathy python311Packages.pathy.dist python311Packages.ray python311Packages.ray.dist python311Packages.skrl python311Packages.skrl.dist python311Packages.slovnet python311Packages.slovnet.dist python311Packages.smart-open python311Packages.smart-open.dist python311Packages.spacy python311Packages.spacy-loggers python311Packages.spacy-loggers.dist python311Packages.spacy-lookups-data python311Packages.spacy-lookups-data.dist python311Packages.spacy-transformers python311Packages.spacy-transformers.dist python311Packages.spacy.dist python311Packages.textacy python311Packages.textacy.dist python311Packages.textnets python311Packages.textnets.dist python311Packages.wandb python311Packages.wandb.dist snakemake snakemake.dist tandoor-recipes tts tts.dist


Add section in https://ij.bazel.build/ about allow_manual_targets_sync: true

Description of the feature request:
Add section in Bazel intellij docs: (https://ij.bazel.build/docs/project-views.html)
allow_manual_targets_sync: true
If this option is set the true, build targets labeled with the manual tag can still be synced, which will enable them to appear as debuggable targets. Enabling this option will also implictly enable the shard_sync: true to enable Bazel to query for targets especially in cases where derive_targets_from_directories: true is not also set.
Related to:

https://github.com/bazelbuild/intellij/issues/4546
https://github.com/bazelbuild/intellij/issues/4546
https://github.com/bazelbuild/intellij/pull/5458

Per conversation: https://bazelbuild.slack.com/archives/C025SBYFC4E/p1697741079375969
What underlying problem are you trying to solve with this feature?
Adding existing documentation
What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response

Thanks @rogerhu! Added the new section documentation: https://ij.bazel.build/docs/project-views.html#allow_manual_targets_sync

Thanks! Is https://ij.bazel.build/docs/project-views.html#allow_manual_targets_sync still being published? I just took a look and don't see it reflected on the web site.

It should be published, I can see it. Maybe try again later.

Thanks I see it now!


Integration Test - Release - 2019/04/25 04:10:36

Auto create for integration test. IssueCommandFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Handle situation where GeoIP is off

Skimming through measurements for Italy I found: https://api.ooni.io/api/v1/measurement/temp-id-91526455 ("report_id":"20170705T061116Z_AS0_XPEhYSAR6q6mdjewkrxxmD9T8MUXJ2gQe2Uch3WpyZ8uZijRwI).
Which claims that http://cocaine.org is blocked in Italy. However looking at the measurements you can see that the blockpage is in fact that of Iran.
Upon inspecting the measurement we see that the probe_ip field actually contains an IP from Iran. We should probably do something when we find a probe_ip field populated and maybe look it up and rewrite a more accurate probe_cc field.

Related: #118

One of the decisions to make is if the code should...

rewrite probe_cc while producing autoclaved file (mangling user's data may be confusing)
extend the object with client_resolver_cc, probe_asn_cc and so on while producing autoclaved file (several country codes may be confusing)
do those manipulations while filling metadb (having two data slices with different data may be confusing)


Howto dynamically change transition from 'slide' to 'flip' and vice versa / Feature Request

OpenUI5 version:
1.63
Browser/version (+device/version):
Chrome
Hello together,
I am currently trying to dynamically switch the transition effect in my view navigation. Unfortunately, without success.
I am using a sap.m.app container with a sap.m.routing.Router which is configured within manifest.xml.
I have a ViewA represented as target called TargetA which needs to be reachable from a view ViewSlide via a slide transition
ViewSlide -> ViewA   via TargetA{ transition: slide}
and a view ViewFlip from which I need to reach ViewA via a flip transition
ViewtFlip -> ViewA via TargetA{transition:flip}
Unfortunately I cannot simply use two targets to navigate to ViewA as I need to be able to move
from ViewFlip with a flip transition to ViewA and leave ViewA with a slide transition to ViewSlide.
When I configure a target transition in manifest.xml the transition for this view seems to be fixed for in and out transitions to/from the view.
I already tried to overwrite the private _oConfig.transition from the router and also tried overwriting the transition on the target. However, this does not lead to any change in the applied transitions.
I also tried to use .to() function of App/NavContainer but did not get the to() function call right as I have not found a way to get the view from the Router to provide it to the .to() function.
Could you please give me an advise how I could implement the functionality with the current ui5 library? It would also be great if you  could extend the
this.getRouter().navTo(...) function with a parameter to be able to explicitly set the transition effect that should be used (Feature Request)
Thanks a lot for your help!
Best regards,
Christoph

Hello together,
I am still searching for a solution to the issue. Has nobody an idea how to solve this issue?

Hi @cjohn001,
Can you please provide for example some jsbin that represents what are you trying to achieve. This will rise the chances someone to help you.
Thanks & Kind Regards,
Gery

Hello Gery,
here is the example:
https://ecubed-solutions.ddnss.de/#/Diary
and
https://ecubed-solutions.ddnss.de/#/Input/SelectFood
user: sap
password: sap
As a matter of principle, the app uses slide transitions between most views. What I am now trying to achieve is to let a page appear as if it would have two sides. One side of the page showing the Diary view and the other side of the page showing the SelectFood page. Hence I would like to navigate between those views via flip transitions when the button to this page is pressed.
Hence the marked button shall navigate via flip transition from the diary to the FoodSelection view

and the here marked button should navigate via flip transition from the FoodSelect View to the Diary view.

Now the problem is, like you can see from the app, that there are other buttons in the app that navigate to different views via slide transitions.
This results in the problem,  that I cannot simply use the navigation controller with a defined target (and flip transition) in manifest.xml because in such a case the specified flip transition for the view target in manifest.xml will always be used to transition into and out of the view. Hence I need to specify dynamically if the transition to the next view should be done via slide or flip.

Hello Frank, @codeworrior
I am currently trying to understand how the sap.m.Router components work together with the sap.m.App and sap.m.NavContainer I am using to solve the dynamic transition problem I have sketched in this issue.
Since openui5 version 1.69 I actually have to solve two problems. On the one hand I need to create a custom slide transition for my sap.m.App in order to rebuild the pre 1.69 slide transition behavior. On the other hand I want to be able to dynamically switch between slide and flip transitions when calling the sap.m.Router.navTo() function. Hence I would like to extend the function with a "transition": "CustomSlide" or "transition": "CustomFlip" parameter to be able to interactively control how the transition to the next view shall be executed. As I have seen from the openui5 sources you were working quite a lot on the relevant source code. Hence, I am wondering, if you could provide me with some explanation how I could best implement the mentioned behavior.
Regarding the dynamic transitioning my understanding is that sap.m.Router overwrites _createTargets from sap.ui.core.routing.Router and adds a TargetHandler to it which checks the transition direction and calls
oTargetControl.to(sViewId, sTransition, oArguments, oTransitionParameters);
to do the transition. However, what I have not understood yet is, how the TargetHandler is activated when I call the  sap.m.Router.navTo() function.

Could you please give me a hint on how the concept is working?
Could you please provide me some info on how the concept of the sap.m.Router.transition and sap.m.Router.transitionParameters is meant to be used?
I am not sure where the best place is to create my custom slide animation. Implement derived sap.m.App or extend sap.m.Router in some way?

Thanks for your help!
Best regards,
Christoph

Duplicate of #2702
An internal ticket has been created already. Please refer to the following ticket ID for further details:
1970495653
Regards Sebastian

Hi @cjohn001,
sorry for the delay in providing an answer to your question. As you already figured out, the same transition is used for navigating to a target and away from the target. The "transition" option in a routing target is considered only when navigating to the view and not navigating away from it.

When I configure a target transition in manifest.xml the transition for this view seems to be fixed for in and out transitions to/from the view.

This behavior is implemented in the sap/m/NavContainer and UI5 routing simply calls the to (forward navigation) and backToPage (backward navigation) methods on the NavContainer. Regarding how the backToPage method works, the documentation can be found here: https://openui5.hana.ondemand.com/api/sap.m.NavContainer#methods/backToPage. The same transition for "to" and "back" is used and the usage of oTransitionParameters can be found in the documentation.

The transition effect which had been used to get to the current page is inverted and used for this navigation.

This optional object can give additional information to the transition function, like the DOM element which triggered the transition or the desired transition duration. The animation type can NOT be selected here - it is always the inverse of the "to" navigation.

For achieving what you described in your previous comments, I think the best way is to extend the backToPage method of sap.m.NavContainer to use another transition that is set on the "toPage" instead of the previous transition of the "fromPage". To be more concrete, you can set a new parameter, for example backTransition, in the oTransitionParameters of a routing target and overwrite the _backTo method by changing the way how the transition is determined https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/NavContainer.js#L962. Instead of getting it from the "fromPage", you can use the new parameter backTransition that is set on the "toPage".
If you have further questions, feel free to reopen this bug report.
Best regards,
Jiawei


Add "item # of (thing) in (list)" block

Resolves
Towards LLK/scratch-gui#600. This should be merged alongside LLK/scratch-vm#1008, which contains the functionality of this block.
Proposed Changes
Adds the "item # of (thing) in (list)" block, where "(thing)" is a text input and "(list)" is a list selection. This block is added to the palette alongside the other list blocks, and is placed below the "item (1) of (list)" block (per the spec).
Reason for Changes
To implement the help-wanted feature.
Test Coverage
Tested manually. Lint says this looks good!

Looks great- thanks for all your help @towerofnix!


Created Profile Readme.md - TEST

Created Profile READ ME. Trying how to open a pull request

Changes

There's no existing issue - I'm trying to learn to create pull request.
Closes:
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

Closing the request - TESTing pull request


acts_as_follower and undefined method `following?' for #User:0x007fca74c5aa58

I've added acts_as_follower in my User model and I'm still getting undefined method following?' for #User:0x007fca74c5aa58`
I feel like this is such a silly place to get stuck on this but I've installed the gem and migrated db and the following? method isn't working for some reason... it does happen to be the current_user object that devise creates but don't know if that has something to do with it?

$ rails c
Loading development environment (Rails 4.1.10)

Frame number: 0/20
[1] pry(main)> user = User.find(5)
  User Load (0.4ms)  SELECT  `users`.* FROM `users`  WHERE `users`.`id` = 5 LIMIT 1
=> #<User id: 5, first_name: "Joshua", last_name: "Rountree", ...>
[2] pry(main)> project = Project.find(100)
  Project Load (0.3ms)  SELECT  `projects`.* FROM `projects`  WHERE `projects`.`id` = 100 LIMIT 1
=> #<Project id: 100, name: ...>
[3] pry(main)> user.following?(project)
NoMethodError: undefined method `following?' for #<User:0x007fd47b7633b8>
from /Users/Joshua/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/attribute_methods.rb:435:in `method_missing'

project.followed_by(user) works! so I'll just use that for now...

Oh, I see.. it's requiring that I put "acts_as_followable" on my user model as well... even though I don't want my user model to be followable...

What does your User model look like?
following is defined in the follower lib: https://github.com/tcocca/acts_as_follower/blob/master/lib/acts_as_follower/follower.rb#L19
So you should not need to include acts_as_followable in user on acts_as_follower.
Just to verify: Rails 4.1.10 and ruby 2.1.5 correct?

Correct, that's how I had it.
I'm out of office atm but will post back tomorrow!
Thanks so much!
Sent from my iPhone

On Apr 27, 2015, at 4:38 PM, Tom Cocca<EMAIL_ADDRESS>wrote:
What does your User model look like?
following is defined in the follower lib: https://github.com/tcocca/acts_as_follower/blob/master/lib/acts_as_follower/follower.rb#L19
So you should not need to include acts_as_followable in user on acts_as_follower.
Just to verify: Rails 4.1.10 and ruby 2.1.5 correct?
—
Reply to this email directly or view it on GitHub.

Here is how I have my model:
class User < ActiveRecord::Base
  include Concerns::UserImagesConcern

  devise :database_authenticatable,
         :recoverable, :rememberable, :trackable, :validatable,
         :timeoutable, :lockable, :async
  has_one :settings, :class_name => 'UserSettings'
  has_many :projects, :foreign_key => :primary_contact_id, :inverse_of => :primary_contact

  has_many :authentications, dependent: :destroy, validate: false, inverse_of: :user do
    def grouped_with_oauth
      includes(:oauth_cache).group_by {|a| a.provider }
    end
  end
  acts_as_voter
  acts_as_follower
  after_create :send_welcome_emails

  accepts_nested_attributes_for :settings

  def self.new_from_session(params, session)
    if session[:omniauth].present?
      new :first_name => session[:omniauth]['info']['first_name'],
      :last_name => session[:omniauth]['info']['last_name'],
      :email => session[:omniauth]['info']['last_name']
    end
  end

  def display_name
    first_name.presence || email.split('@')[0]
  end
  # Case insensitive email lookup.
  #
  # See Devise.config.case_insensitive_keys.
  # Devise does not automatically downcase email lookups.
  def self.find_by_email(email)
    find_by(email: email.downcase)
    # Use ILIKE if using PostgreSQL and Devise.config.case_insensitive_keys=[]
    #where('email ILIKE ?', email).first
  end

  # Override Devise to allow for Authentication or password.
  #
  # An invalid authentication is allowed for a new record since the record
  # needs to first be saved before the authentication.user_id can be set.
  def password_required?
    if authentications.empty?
      super || encrypted_password.blank?
    elsif new_record?
      false
    else
      super || encrypted_password.blank? && authentications.find{|a| a.valid?}.nil?
    end
  end

  # Merge attributes from Authentication if User attribute is blank.
  #
  # If User has fields that do not match the Authentication field name,
  # modify this method as needed.
  def reverse_merge_attributes_from_auth(auth)
    auth.oauth_data.each do |k, v|
      self[k] = v if self.respond_to?("#{k}=") && self[k].blank?
    end
  end

  # Do not require email confirmation to login or perform actions
  def confirmation_required?
    false
  end

  def send_welcome_emails
    UserMailer.delay.welcome_email(self.id)
    # UserMailer.delay_for(5.days).find_more_friends_email(self.id)
  end
end

okay strangely it appears to be working now... maybe it was some weird caching issue... we can close for now...

Thanks for the update.  I'm wondering if it was a Spring issue not picking up the change and reloading the model or something.  Glad its working.

please could anyone upload the code of the routes.rb


[libc++] add missing "has-unix-headers" requirement in PSTL test

This fixes new failure in libc++ tests.

This change is already in the upstream.


Native Compilation

After development is finished, the short iteration times of the interpreter are not necessary anymore. To provide as much speed as possible native compilation should be supported. This also means that some features cannot always be used or should not be added at all, mostly related to run-time reflection and run-time meta-programming.

Not sure if native compilation will be an important goal anymore, or if creating an efficient JIT VM will be more useful, so this issue will be closed (for now).


Can't scroll down to see old transactions when splits are hidden

Defective ToolKit Feature Name:
Expected Behavior
Scroll down, see older transactions
Actual Behavior
Scroll down, see some transactions, then white space
Steps to Reproduce the Behavior

Open an account with hundreds of transactions, some of them large splits
Scroll down through several hundred transactions.
Screen lags a bit, then white space appears below the last transaction shown, and you can't scroll any farther.
The last transaction visible is one that has a large number of splits.

Export of Toolkit Settings (Bottom Left of Settings Page)
[{"key":"accountTransactionSearch","value":true},{"key":"accountsClearSelection","value":true},{"key":"accountsDisplayDensity","value":"2"},{"key":"accountsEmphasizedOutflows","value":false},{"key":"accountsRowHeight","value":"0"},{"key":"accountsSelectedTotal","value":true},{"key":"accountsStripedRows","value":true},{"key":"activityTransactionLink","value":true},{"key":"budgetBalanceToZero","value":true},{"key":"budgetProgressBars","value":"0"},{"key":"budgetQuickSwitch","value":false},{"key":"budgetRowsHeight","value":"2"},{"key":"categoryActivityPopupWidth","value":"1"},{"key":"changeEnterBehavior","value":true},{"key":"checkCreditBalances","value":true},{"key":"checkNumbers","value":false},{"key":"collapseExpandBudgetGroups","value":true},{"key":"collapseSideMenu","value":true},{"key":"colourBlindMode","value":false},{"key":"currentMonthIndicator","value":false},{"key":"daysOfBuffering","value":true},{"key":"daysOfBufferingHistoryLookup","value":"0"},{"key":"editButtonPosition","value":"2"},{"key":"enableRetroCalculator","value":true},{"key":"enlargeCategoriesDropdown","value":true},{"key":"enterInRegisterNow","value":true},{"key":"exportTransactions","value":false},{"key":"goalIndicator","value":false},{"key":"goalIndicatorWarningColor","value":false},{"key":"googleFontsSelector","value":"0"},{"key":"hideAOM","value":true},{"key":"highlightNegativesNegative","value":true},{"key":"importNotification","value":true},{"key":"incomeFromLastMonth","value":"0"},{"key":"l10n","value":"0"},{"key":"largerClickableIcons","value":true},{"key":"monthlyNotesPopupWidth","value":"0"},{"key":"moveMoneyAutocomplete","value":false},{"key":"moveMoneyDialog","value":false},{"key":"pacing","value":"0"},{"key":"printingImprovements","value":true},{"key":"privacyMode","value":"0"},{"key":"reconciledTextColor","value":"4"},{"key":"removePositiveHighlight","value":true},{"key":"removeZeroCategories","value":true},{"key":"reports","value":true},{"key":"resizeInspector","value":true},{"key":"rightClickToEdit","value":true},{"key":"runningBalance","value":true},{"key":"seamlessBudgetHeader","value":false},{"key":"showIntercom","value":true},{"key":"splitKeyboardShortcut","value":true},{"key":"splitTransactionAutoAdjust","value":true},{"key":"squareNegativeMode","value":true},{"key":"swapClearedFlagged","value":true},{"key":"toBeBudgetedWarning","value":false},{"key":"toggleSplits","value":true},{"key":"toggleTransactionFilters","value":"1"},{"key":"warnOnQuickBudget","value":true}]

System Settings
ToolKit Version: 0.7.4
Operating System (Mac/Windows/Etc): OS X 10.10.5
Browser (Chrome/Firefox/Safari): Chrome
Browser Version: Version 53.0.2785.116 (64-bit)
Other Extensions: Many

This is probably going to be somewhat related to issue with #536 and the toggle splits feature as a whole.
Your best bet right now is to (unfortunately) turn off the toggle splits feature until we can figure out a fix w/ YNAB team,

I just merged this PR, and this should be fixed in our next release.

@ChrisTheCat this should have been fixed in our last release, please let us know if you're still experiencing this issue.


ziti router never exits if it can't connect to the controller

I tried to run a router today but messed up the controller address. The router would start but when pressing ctrl-c, it would never exit.
You do see this message:
[   5.024]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller

And you see the router indicate it's exiting:
[   8.287] WARNING ziti/router/xgress_edge.(*Acceptor).Run: exiting
[  10.086]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  15.142]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  20.312]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  25.534]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  30.791]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  36.100]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  41.420]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  46.971]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)] endpoint=[tls:<IP_ADDRESS>:8440]} unable to connect controller
[  53.564]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  60.251]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  68.980]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[  79.997]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)] endpoint=[tls:<IP_ADDRESS>:8440]} unable to connect controller
[  92.228]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:<IP_ADDRESS>:8440] error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)]} unable to connect controller
[ 109.175]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)] endpoint=[tls:<IP_ADDRESS>:8440]} unable to connect controller
[ 128.860]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {error=[error connecting ctrl (dial tcp <IP_ADDRESS>:8440: i/o timeout)] endpoint=[tls:<IP_ADDRESS>:8440]} unable to connect controller

it just never seems to actually stop. I admit i didn't actually way 'forever' but 128 seconds seems like enough  time to wait

The default is 30 seconds, but it's configurable under
ctrl:
    startupTimeout: 5h

I tested, and mine shutdown after 30s. Do you have startupTimeout set to something larger?

30s seems like an eternity when I'm trying to shut something down... If the router connects, it shuts down immediately (like I'd want it to), it's only when the router can't connect to the controller at all that it seems to loop forever
the router config has no timeout set:
ctrl:
  endpoint:             tls:<IP_ADDRESS>:8440

Steps to reproduce:
start the controller
export ZITI_HOME=/opt/openziti
mkdir -p $ZITI_HOME

export ZITI_PWD=admin

export EXTERNAL_IP="<IP_ADDRESS>"
export ZITI_CTRL_EDGE_IP_OVERRIDE="${EXTERNAL_IP}"
export ZITI_CTRL_EDGE_ADVERTISED_ADDRESS="${EXTERNAL_DNS:-${EXTERNAL_IP}}"
export ZITI_CTRL_ADVERTISED_PORT=8440
export ZITI_CTRL_EDGE_ADVERTISED_PORT=8441

export ZITI_ROUTER_IP_OVERRIDE="${EXTERNAL_IP}"
export ZITI_ROUTER_ADVERTISED_ADDRESS="${EXTERNAL_DNS:-${EXTERNAL_IP}}"
export ZITI_ROUTER_PORT=8442

source /dev/stdin <<< "$(curl -sSL https://get.openziti.io/ziti-cli-functions.sh)"; expressInstall

ziti controller run $ZITI_HOME/$(hostname).yaml

start the router - the key is the router's controller config is totally wrong and never connects:
export CTRL_IP="<IP_ADDRESS>"
export ZITI_CTRL_EDGE_ADVERTISED_PORT=8441
ziti edge login $CTRL_IP:$ZITI_CTRL_EDGE_ADVERTISED_PORT -u admin -p admin -y
ziti edge create edge-router $router_name -o $ZITI_HOME/$router_name.jwt
ziti create config router edge --routerName ${router_name} --tunnelerMode none --output $ZITI_HOME/${router_name}.yml

export ZITI_HOME=/opt/openziti
mkdir -p $ZITI_HOME

export ZITI_PWD=admin

## here's the key - change the ip or whatever
export CTRL_IP="<IP_ADDRESS>"
export ZITI_CTRL_ADVERTISED_ADDRESS="${CTRL_IP}"
export ZITI_CTRL_ADVERTISED_PORT=8440
export ZITI_CTRL_EDGE_ADVERTISED_ADDRESS="${CTRL_IP}"
export ZITI_CTRL_EDGE_ADVERTISED_PORT=8441

router_name=r1
export EXTERNAL_IP="<IP_ADDRESS>"
export ZITI_ROUTER_IP_OVERRIDE="${EXTERNAL_IP}"
export ZITI_ROUTER_ADVERTISED_ADDRESS="${EXTERNAL_DNS:-${EXTERNAL_IP}}"
export ZITI_ROUTER_PORT=8410
export ZITI_ROUTER_LISTENER_BIND_PORT=8411

ziti router enroll $ZITI_HOME/${router_name}.yml --jwt $ZITI_HOME/${router_name}.jwt
ziti router run $ZITI_HOME/${router_name}.yml

and if you don't use --tunnelerMode none, the router will stop but panics:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x316a3f6]

goroutine 38 [running]:
github.com/openziti/ziti/router/xgress_edge_tunnel.(*tunneler).Close(0xc00098e420?)
        github.com/openziti/ziti/router/xgress_edge_tunnel/tunneler.go:152 +0x16
github.com/openziti/ziti/router.(*Router).Shutdown(0xc000090e38?)
        github.com/openziti/ziti/router/router.go:294 +0x323
github.com/openziti/ziti/ziti/router.waitForShutdown(0xc000bbe440?)
        github.com/openziti/ziti/ziti/router/run.go:146 +0x265
created by github.com/openziti/ziti/ziti/router.run in goroutine 1
        github.com/openziti/ziti/ziti/router/run.go:117 +0x1188

I see something different with the router catches a TERM (15) signal, but it still doesn't exit. I can send it to the background with ctrl-z then kill -KILL %1 as a workaround.
^C[   1.717]    INFO ziti/ziti/router.waitForShutdown: shutting down ziti-router
[   1.717]    INFO ziti/router/link.(*linkRegistryImpl).Shutdown: {linkCount=[0]} shutdown links in link registry
[   1.717] WARNING ziti/router/forwarder.(*Scanner).run: exited
[   1.717]   ERROR agent.(*handler).listen: {error=[accept unix /tmp/gops-agent.2498006.sock: use of closed network connection]} error accepting gops connection, closing gops listener
[   1.717]   ERROR agent.(*handler).listen.func1: {error=[close unix /tmp/gops-agent.2498006.sock: use of closed network connection]} error closing gops listener
[   1.717]   ERROR ziti/router/forwarder.(*Faulter).run: exited
[   1.717]   ERROR ziti/router/xgress_edge.(*Acceptor).Run: error accepting (closed)
[   1.717] WARNING ziti/router/xgress_edge.(*Acceptor).Run: exiting
[   1.717]    INFO transport/v2/tls.(*sharedListener).runAccept [tls:<IP_ADDRESS>:3023]: {error=[accept tcp [::]:3023: use of closed network connection]} listener closed, exiting
[   1.718]    INFO transport/v2/tls.(*sharedListener).runAccept [tls:<IP_ADDRESS>:3023]: exited
[   2.021]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:ziti.example.com:6262] error=[error connecting ctrl (remote error: tls: internal error)]} unable to connect controller
[   2.753]   ERROR ziti/router/env.(*networkControllers).connectToControllerWithBackoff.func2: {endpoint=[tls:ziti.example.com:6262] error=[error connecting ctrl (remote error: tls: internal error)]} unable to connect controller

That seems similar to what I saw. from my logs i also show that it noticed/reacted but never actually quits. I had to kill -9 it.
[   8.287] WARNING ziti/router/xgress_edge.(*Acceptor).Run: exiting

Closing per Clint's guidance


Need to analyse .EEG extension Patient data by this module for my Research thesis in Neurology

Hi
i am a Doctor /Physician from india, currently doing residency in Neurology superspeciality from a hospital in India
I am in stage of planning for a comparative study between Deep Learning AI solution for EEG analysis vs Expert Neurologist Analysis reporting, that shall be part of my Thesis and will be published as a paper afterwords.
For this i need your help as your AI can report an EEG as far as i have understood.
We will take data of approx 100 patients who are advised for EEG
In our setup , "Clarity software " is used for EEG and file extension produced is .eeg
can you help me in this project?
I have some knowledge of programming basic level and regularly use computers so i can do tech work on my end without inperson support/only remote support can be enough
We will also publish a paper on the results we get and will name  this deep learning solution name in the paper.

Dear Dr. @drajaytripathi,
I hope this message finds you well. Your research on epilepsy and deep learning is fascinating, and I appreciate your interest in our open-source library.
As an open-source library, we aim to support and provide tools for individuals to develop their research in deep learning and brain decoding. However, we do not offer consultancy services for implementing AI solutions. I apologize for any confusion that may have arisen.
If you are searching for a consultancy service that can help you with this specific task, I recommend looking for contacts directly with researchers who specialize in epilepsy and deep learning or neuro compay. Alternatively, you could explore consultancy services that provide dedicated resources for complex research like yours.
At present, to the best of our knowledge, no one in our library is working on an epilepsy project. However, I would be more than happy to connect you with any relevant researchers in our community or provide further assistance in any way possible.
I apologize for not being able to do better, thank you for your understanding, and please let me know if you have any further questions or concerns!


tools/benchmark_codec_avif.cc: restore compatability with libavif < 1

Fixes regression since 5df155d975bd8ecf091f2b808d41cdd1f37e09b8. This commit restores compatibility with these functions using libavif before major version 1, as they didn't return a result in those cases.
Fixes #3753.

Thanks!


return optional Request Body from fn get_request_body()

Reopening in favour of https://github.com/juspay/hyperswitch/pull/5878


there is showing some unknown issue

there is showing some unknown issue
![Screenshot from 2024-09-14 17-22-41]
file:///home/lepushub86/Pictures/Screenshots/Screenshot%20from%202024-09-14%2017-22-41.png
(https://github.com/user-attachments/assets/3e260728-13d1-4255-a5eb-12fa19742aa2)
lepushub86@LepusHub86:~/Desktop/OpenGL/glfw-3.4$ cmake -G "Unix Makefiles"
CMake Warning:
No source or binary directory provided.  Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- Including Wayland support
-- Including X11 support
CMake Error at src/CMakeLists.txt:76 (message):
Failed to find wayland-scanner
-- Configuring incomplete, errors occurred!
See also "/home/lepushub86/Desktop/OpenGL/glfw-3.4/CMakeFiles/CMakeOutput.log".

There are a couple of issues here:

CMake Warning:

You need to specify the directories for the source, and optionally the output. See the Compiling GLFW: Generating with command-line CMake documentation.

Failed to find wayland-scanner

It looks like you do not have Wayland Development libraries installed. How to install them depends on your Linux Distribution. Once again see the Compiling GLFW: compile dependencies for Wayland documentation.
Many thanks for including the text of the errors rather than just the image, this is very helpful.

Closing this issue as if you follow the guidance above it should be resolved.


Validator Voting

Voting Mempool (Pool specifically for Masternode governance, voting topics, votes, and final results)

https://github.com/ReserveBlockIO/ReserveBlock-Core/commit/c515dcf965d88254d62ad2eaaf0f39794405b913


use IO::Buffer

Use IO::Buffer for retaining packet image as well as internal structures (e.g., pseudo header, L4 port tuple).
Benchmark results:

main
IO::Buffer

reflector (Core i5-1240p, bare metal)
1.57Gbps
1.79Gbps

NAT (Core i7-9750H, VMware fusion to host)
182Mbps
183Mbps

IMHO this looks quite a bit cleaner than using String for the usage here.
Re IO::Buffer#get_string, maybe we should have a way to reuse the buffer of IO::Buffer for the string?
Maybe with some method that freezes the buffer and gets the string?
Or even a method which clears the buffer and instead use the underlying char* for the String (i.e., transferring the char* to the String, and no longer using it for the IO::Buffer), like IO::Buffer#transfer but returning a String?
WDYT @ioquatix?

I think both ideas are acceptable but let me try it out. @kazuho do you mind opening issue on bugs.ruby-lang.org with your requirements?

You should see if caching and reusing IO::Buffer instances gives you a performance advantage. It would be interesting to see if it helps.

I thought about this more.
Most binary formats will have a body string packed into a packet of data, e.g. WebSockets. Sometimes it's compressed (or needs to be compressed).
Converting a full buffer to a string e.g. #transfer_string might not be that useful in practice due to the binary framing surrounding the string.

Converting a full buffer to a string e.g. #transfer_string might not be that useful in practice due to the binary framing surrounding the string.

As you can see in this PR, there are multiple usages of .get_string without any offset, so #transfer_string would be much better there.
But even if one needs an offset and length, that could be achieved without copying bytes via lazy substrings: https://bugs.ruby-lang.org/issues/19315. That already works on CRuby if the substring goes until the end of the string and that issue is to make it always work, like it does in TruffleRuby and probably JRuby.
So buffer.transfer_string[20, 100] would not copy any bytes.

get_string returns a mutable copy but we could certainly add a zero copy interface that returns frozen strings. However, it would obviously depend on the lifetime and mutability of the buffer. It's probably expected that IO::Buffers are reused for subsequent packets of data, so it might not be a good design. I'll have to try it out when I get around to implementing QUIC and HTTP/2 with the updated interfaces.

I'll have to try it out when I get around to implementing QUIC and HTTP/2 with the updated interfaces.

This project seems also about binary network protocol parsing, so I think it could be fine to try it here.
Basically this seems a near-ideal use case for IO::Buffer, so I think it's worth exploring how to use and potentially improve IO::Buffer for this project, so it's efficient and easy to use.

With all the changes, when running the NAT on bare metal (Raspberry Pi 2b), I do see slightly better performance with IO::Buffer:

average
stdev

main
22.1
1.02

this PR
23.2
1.41

Units are Mbps. Ruby 3.2.0 without yjit (it is not supported on armv7).

Interestingly, difference is now smaller if any:

average
stdev

main@b3b96d2
26.7
0.44

this PR@86cfab7
27.1
0.31

How do you run the benchmark?

@ioquatix https://github.com/kazuho/rat/wiki/test-setup here it is. I've copy-pasted it from my memo so they could be slightly off.

As of main @ 2252490 vs. this PR @ cc41d29:
reflector.rb (Core i5-1240P; Gbps):

average
stdev

main
1.56
0.01

main + yjit
2.07
0.01

this PR
1.46
0.00

this PR + yjit
2.17
0.01

rat.rb (Raspberry Pi 2b; Mbps):

average
stdev

main
31.4
0.36

this PR
30.8
0.29

What do you think about introducing https://github.com/ruby/ruby/pull/7364

@ioquatix Woot. I think that'd be a nice addition for IO::Buffer.
I'm not sure if it that change would make this branch run as faster as master, but I'll rerun the benchmark (my theory is that IPv4 address tuples are tiny enough (at most 12 bytes) and can be embedded as strings inside VALUEs, it could be tough to outcompete that).

Allocating a string of 12 bytes is used by reference. I don't know if getting the RSTRING_PTR can cause external allocation or not. We can probably check it.

IO::Buffer#string was introduced in Ruby 3.3 - so you can try it out.


Enhance Cmake to use improved gRPC build process (Version: 1.5.0)

Summary

Per https://grpc.io/blog/cmake-improvements/ there is an enhanced build process for gRPC. Enhance our cmake to use this improvement.

WIll not work - based on the prototype, the existing build process is more flexible and we will stick with externalproject_add


the reverse parameter of Chartist.getDataArray is ignored

at some point this got removed and now the data always comes back in the same order.
    // If the data should be reversed but isn't we need to reverse it
    // If it's reversed but it shouldn't we need to reverse it back
    // That's required to handle data updates correctly and to reflect the responsive configurations
    if(reverse && !data.reversed || !reverse && data.reversed) {
      Chartist.reverseData(data);
      data.reversed = !data.reversed;
    }

Hello @saetia 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the issue is still relevant to you so we can further investigate it!


defmt crate doesn't compile on macOS

Updated description:
defmt 0.1.3 compiles on macOS but the git version (0.2.0) doesn't
repro:
$ cargo new --bin hello
$ cd hello
$ cargo add defmt --vers 0.1.3
$ cargo run
$ # ^ doesn't work if you use the git version

When trying to get started to write compile fail tests , running
$ cargo test --test ui
didn't work for me using a mac. I'd always get this unhelpful error:
LLVM ERROR: Global variable '{"package":"defmt","tag":"defmt_prim","data":"{=i8}","disambiguator":"2773326613612971761"}' has an invalid section specifier '.defmt.prim.{"package":"defmt","tag":"defmt_prim","data":"{=i8}","disambiguator":"2773326613612971761"}': mach-o section specifier requires a segment whose length is between 1 and 16 characters.
error: could not compile `defmt`

Passing more flags like this did help:
$ cargo test -p defmt --all-features --test ui
This makes sense when looking at ci.yml

@BriocheBerlin could you test this on macOS? I'd like to figure out if defmt fails to compile natively or if this problem is due to the single workspace configuration used in this repository.
$ cargo new --bin hello
$ cd hello
$ # or manually add 'defmt = "0.1.3"' to Cargo.toml
$ cargo add defmt
$ # does this succeed?
$ cargo run

@BriocheBerlin could you test this on macOS? I'd like to figure out if defmt fails to compile natively or if this problem is due to the single workspace configuration used in this repository.
$ cargo new --bin hello
$ cd hello
$ # or manually add 'defmt = "0.1.3"' to Cargo.toml
$ cargo add defmt
$ # does this succeed?
$ cargo run

$ cargo run succeeded.

$ cargo run succeeded.

@BriocheBerlin could you run cargo test --test ui -j1 in this repo and report which crate fails to build? That command builds one crate at a time rather than in parallel.

@BriocheBerlin could you run cargo test --test ui -j1 in this repo and report which crate fails to build? That command builds one crate at a time rather than in parallel.

So it seems that in the working version on the hello project the command for building the defmt crate is very similar. However it uses a different src/lib.rs file which is local <more_path>/.cargo/registry/src/github.com-1ecc6299db9ec823/defmt-0.1.3/src/lib.rs.

So it seems that in the working version on the hello project the command for building the defmt crate is very similar. However it uses a different src/lib.rs file which is local <more_path>/.cargo/registry/src/github.com-1ecc6299db9ec823/defmt-0.1.3/src/lib.rs.

hmm, maybe the macOS issue was introduced recently so it's in the git version but not on crates.io?
could you try these two:
$ cargo new --bin hello
$ cd hello

$ # or add 'defmt = { git = "https://github.com/knurling-rs/defmt" }' to Cargo.toml dependencies
$ cargo add defmt --git https://github.com/knurling-rs/defmt

$ # does this succeed?
$ cargo run

$ git clone https://github.com/knurling-rs/defmt
$ cd defmt
$ git checkout defmt-v0.1.3

$ # do these produce the llvm error?
$ cargo build
$ cargo test

hmm, maybe the macOS issue was introduced recently so it's in the git version but not on crates.io?
could you try these two:
$ cargo new --bin hello
$ cd hello

$ # or add 'defmt = { git = "https://github.com/knurling-rs/defmt" }' to Cargo.toml dependencies
$ cargo add defmt --git https://github.com/knurling-rs/defmt

$ # does this succeed?
$ cargo run

$ git clone https://github.com/knurling-rs/defmt
$ cd defmt
$ git checkout defmt-v0.1.3

$ # do these produce the llvm error?
$ cargo build
$ cargo test

defmt-v0.1.3 works without problems. However the hello thing produces this interesting error:

defmt-v0.1.3 works without problems. However the hello thing produces this interesting error:

oh, yes. my bad it should be
defmt = { git = "https://github.com/knurling-rs/defmt", branch = "main" }

in the Cargo.toml

oh, yes. my bad it should be
defmt = { git = "https://github.com/knurling-rs/defmt", branch = "main" }

in the Cargo.toml

Ah, doesn't work. So the resulting commands are slightly different.
Working version (using defmt = "0.1.3" in Cargo.toml):
rustc --crate-name defmt
--edition=2018
<more_path>/.cargo/registry/src/github.com-1ecc6299db9ec823/defmt-0.1.3/src/lib.rs
--error-format=json
--json=diagnostic-rendered-ansi
--crate-type lib
--emit=dep-info,metadata,link
-C embed-bitcode=no
-C debuginfo=2
-C metadata=4f3b6bbbb29948b6
-C extra-filename=-4f3b6bbbb29948b6
--out-dir <more_path>/hello/target/debug/deps
-L dependency=<more_path>/hello/target/debug/deps
--extern defmt_macros=<more_path>/hello/target/debug/deps/libdefmt_macros-f658b9f3b197fd12.dylib
--extern heapless=<more_path>/hello/target/debug/deps/libheapless-9846ae8300a43c3e.rmeta
--cap-lints allow
-L <more_path>/hello/target/debug/build/defmt-d1e4ca37c018f197/out

With defmt = { git = "https://github.com/knurling-rs/defmt", branch = "main" } it doesn't have
--extern heapless=<path>
When running on defmt as is, this line is different:
-L dependency=<more_path>/hello/target/debug/deps
Instead I got:
-C incremental=<more_path>/defmt/target/debug/incremental

Ah, doesn't work. So the resulting commands are slightly different.
Working version (using defmt = "0.1.3" in Cargo.toml):
rustc --crate-name defmt
--edition=2018
<more_path>/.cargo/registry/src/github.com-1ecc6299db9ec823/defmt-0.1.3/src/lib.rs
--error-format=json
--json=diagnostic-rendered-ansi
--crate-type lib
--emit=dep-info,metadata,link
-C embed-bitcode=no
-C debuginfo=2
-C metadata=4f3b6bbbb29948b6
-C extra-filename=-4f3b6bbbb29948b6
--out-dir <more_path>/hello/target/debug/deps
-L dependency=<more_path>/hello/target/debug/deps
--extern defmt_macros=<more_path>/hello/target/debug/deps/libdefmt_macros-f658b9f3b197fd12.dylib
--extern heapless=<more_path>/hello/target/debug/deps/libheapless-9846ae8300a43c3e.rmeta
--cap-lints allow
-L <more_path>/hello/target/debug/build/defmt-d1e4ca37c018f197/out

With defmt = { git = "https://github.com/knurling-rs/defmt", branch = "main" } it doesn't have
--extern heapless=<path>
When running on defmt as is, this line is different:
-L dependency=<more_path>/hello/target/debug/deps
Instead I got:
-C incremental=<more_path>/defmt/target/debug/incremental

Then this more serious: as things are defmt 0.2 won't compile on macOS which is going to hinder adoption: using defmt in a no-std, non-embedded crate would make the crate unusable on macOS.
I'll put this on the list of blockers for 0.2.0. cc @jonas-schievink

Then this more serious: as things are defmt 0.2 won't compile on macOS which is going to hinder adoption: using defmt in a no-std, non-embedded crate would make the crate unusable on macOS.
I'll put this on the list of blockers for 0.2.0. cc @jonas-schievink

The invalid section names were already used in defmt 0.1 though? Or is there another error?

The invalid section names were already used in defmt 0.1 though? Or is there another error?

I think this may have been caused by PR #291 . After the changes in the macros we emit link_section on x86_64 macOS -- before we emitted fetch_add_string_index on x86_64 macOS.

I think this may have been caused by PR #291 . After the changes in the macros we emit link_section on x86_64 macOS -- before we emitted fetch_add_string_index on x86_64 macOS.

That would explain why in the working src/lib.rs file it was always target_arch = "x86_64" instead of feature = "unstable-test".

That would explain why in the working src/lib.rs file it was always target_arch = "x86_64" instead of feature = "unstable-test".

The last commit where $ cargo build works for me is https://github.com/knurling-rs/defmt/commit/04cf5731ecd35a3c17deb876b6be224194ca9b6a.
(But $ cargo test fails, again complaining about missin InternalFormatter)/

The last commit where $ cargo build works for me is https://github.com/knurling-rs/defmt/commit/04cf5731ecd35a3c17deb876b6be224194ca9b6a.
(But $ cargo test fails, again complaining about missin InternalFormatter)/

we looked into this. the llvm error can be fixed by changing the linker section names we use.
currently we use .defmt.print.<LONG JSON STRING HERE>
on macOS the longest linker section name can be .defmt,0123456789ABCDEF (note comma after .defmt not period)
we should adjust the macros to generate a linker section name like that
instead of  we should use digest / hash of that and truncate it to not exceed the 16 character limits

we looked into this. the llvm error can be fixed by changing the linker section names we use.
currently we use .defmt.print.<LONG JSON STRING HERE>
on macOS the longest linker section name can be .defmt,0123456789ABCDEF (note comma after .defmt not period)
we should adjust the macros to generate a linker section name like that
instead of  we should use digest / hash of that and truncate it to not exceed the 16 character limits

for starters this proc-macro needs to be changed (but probably others also need to be changed to work on macOS):
https://github.com/knurling-rs/defmt/blob/eb8c3b102dc2872d7051257df37e336011a8e6fe/macros/src/lib.rs#L987

for starters this proc-macro needs to be changed (but probably others also need to be changed to work on macOS):
https://github.com/knurling-rs/defmt/blob/eb8c3b102dc2872d7051257df37e336011a8e6fe/macros/src/lib.rs#L987

we should also build and run the following std program on linux, macos and windows to shake out any other linker section name related bugs:
// Cargo.toml uses defmt via a path dependency

fn main() {
    defmt::info!("hello");
}

#[defmt::global_logger]
struct Logger;

unsafe impl defmt::Logger for Logger {
    fn acquire() -> Option<core::ptr::NonNull<dyn defmt::Write>> {
        None
    }
    unsafe fn release(writer: core::ptr::NonNull<dyn defmt::Write>) {}
}

defmt::timestamp!("{=u32}", 0);

we should also build and run the following std program on linux, macos and windows to shake out any other linker section name related bugs:
// Cargo.toml uses defmt via a path dependency

fn main() {
    defmt::info!("hello");
}

#[defmt::global_logger]
struct Logger;

unsafe impl defmt::Logger for Logger {
    fn acquire() -> Option<core::ptr::NonNull<dyn defmt::Write>> {
        None
    }
    unsafe fn release(writer: core::ptr::NonNull<dyn defmt::Write>) {}
}

defmt::timestamp!("{=u32}", 0);

This issue seems resolved, right?

Yup!


fix(helm): allow user to skip namespace creation

This addresses two issues: #699 and #713. It is now possible to skip
creating namespaces. In additional, a trivial bug was fixed that allows
you to create a custom namespace.

Closes #713
Closes #699


Missing items: [ITEMS]

Links to WOTLK Wowhead for each item:
Phase 5 items:
Charred Twilight Scale HC: https://www.wowhead.com/wotlk/item=54588/charred-twilight-scale
Charred Twilight Scale NM: https://www.wowhead.com/wotlk/item=54572/charred-twilight-scale
Bracers of the Fiery Night HC: https://www.wowhead.com/wotlk/item=54582/bracers-of-fiery-night
Bracers of the Fiery Night NM: https://www.wowhead.com/wotlk/item=53486/bracers-of-fiery-night
Cloak of Burning Dusk HC: https://www.wowhead.com/wotlk/item=54583/cloak-of-burning-dusk
Cloak of Burning Dusk NM: https://www.wowhead.com/wotlk/item=53489/cloak-of-burning-dusk
Phase 5 healer items:
Ring of Phased Regeneration HC: https://www.wowhead.com/wotlk/item=54585/ring-of-phased-regeneration
Ring of Phased Regeneration NM: https://www.wowhead.com/wotlk/item=53490/ring-of-phased-regeneration
Glowing Twilight Scale HC: https://www.wowhead.com/wotlk/item=54589/glowing-twilight-scale
Glowing Twilight Scale NM: https://www.wowhead.com/wotlk/item=54573/glowing-twilight-scale

oops! I guessed a max item ID when scraping for items. I stopped at item like 52200, I will run it up to 60k to see what else I can find

added those https://github.com/wowsims/wotlk/pull/338


Check compatibility with Android 6.0 M

Changes in Android 6.0:
Permissions
The permission model changes with Android 6.0
There are some things to check :

[ ] Read/Write to external Storage
[ ] other things ?

Previously to Android 6.0 permissions were granted at install-time, now permissions can be granted and revoked at runtime.
Only dangerous permissions (Scroll down to table 1) need to be granted at runtime, normal permissions are automatically granted if they are declared in the manifest
Runtime
Are we affected by these changes ?
See

http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime-permissions
http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime

Since Nexus5 updated to 6.0 I have problems with full screen or immresive mode on Andorid.  At the bottom of application (where in non immersive mode buttons lay) I see black bar.
Am I the only one?

From my testing so far, the default permissions we use are a-OK.

If libgdx is handling the loading of files stored on a device's "sdcard", it should probably handle prompting for runtime permissions. When I updated my phone the only libgdx game I've tested so far immediately started force-closing instantly on start because it couldn't load external resources.
See kbz/SIFTrain#16.

If libgdx is handling the loading of files stored on a device's "sdcard", it should probably handle prompting for runtime permissions. When I updated my phone the only libgdx game I've tested so far immediately started force-closing instantly on start because it couldn't load external resources.
See kbz/SIFTrain#16.


Non-uniform distribution of values returned by nextRandom()

(their exponents are uniformly distributed instead)

Won't fix. There's no much sense in such a method while its high-quality implementation would be rather complicated. The game is not worth the candle. The existing methods nextRandom() will be removed, and the methods nextNormalRandom(), which return values in the range [0, 1), will be renamed in nextRandom() instead.


Bot kick from chat exception

Hi
When some users add bot to chat and after that chat admins remove bot , script stop working and show error "bot kick from chat" . how can i resolve this issue? this is showstopper for me and my bot is going down.
Please assist me.

Hi @sinaeftekhari
I had the same problem, please read here the story:
http://stackoverflow.com/questions/34040277/telegram-bot-api-errors-codes-integrating-groups-and-channels
BTW, if you feel useful my question & my answer on stackoverflow, please vote them :)
So, IMMO the issue is NOT related with the API wrapper here, but it's instead a telegram Bot internal server "bug"/issue. I'm also discussing with telegram.me/BotSupport: they say is not a bug, I say is it a bug/issue! So please expose you too the problem to @BotSupport Telegram support account.
I believe this issue have to be closed here.
BTW, let us know (here or on my stackoverflow question), if you discover a solution
giorgio

Hi @solyaris
Yes ,i know this issue , bot we need to define some exception to handle this issue , i check some other Gems and all of them handle , they have a silence_faild and with this function we can handle this exceptions .

@sinaeftekhari Yes, adding such option might be a good idea, will work on it in future versions.

I have encountered this issue too. With the example here this happens, but I have figured that if you comment the action in the else block (_ bot.api.send_message(chat_id: message.chat.id, text: "I don't understand you :(")_) the exception is ignored.
I think that is a workaround for that specific code structure. I have had success avoiding this error also by surrounding all the code in which the messages from the chat are treated by a begin/rescue block . I'm not sure if this a good behaviour but it seems to work for now.

@manglasape I suspect the exception is ignored just because commenting the send_message ... you don't send_message :) or i'm wrong ?
@sinaeftekhari this gem could implement some nice exception handling, but still remain the fact that if you get a 400 code (Bad Request: group is deactivated) or a 403 code (Bot was kicked from a chat), when callling a send_message, this is, IMMO a Telegram Server BUG that happens when you remove a bot from a group, as I documented in my stackoverflow complain. In this unclear scenario, unfortunately there is no way to use the same Bot (name) anymore (at least this have benn my experience). I complained about it with Telegram support but I did't get a clear answer about it.
Again unfortunately there is no a Telegram error code explanation doc, as far as i know.
Isnt'it ?

@manglasape Yes, you have to rescue from ResponseError manually, like this:
Telegram::Bot::Client.run(token, logger: Logger.new($stdout)) do |bot|
  begin
    bot.listen do |message|
      # Do something
    end
  rescue Telegram::Bot::Exceptions::ResponseError => e
    retry
  end
end

I'm still not sure if it's a good idea to hide errors like this from user. It may make debugging your bot harder.

@atipugin yes, but unfortunately the retry statement just keep the stall; because the issue I experienced is systematic: when i started to get these 400/403 error codes, the bot became no more usable :-(
off-topic: thanks for your again for this gem and your updates for inline mode.
I mentioned it on my pseudo-article about a possible "business" usage of the new feature:
https://gist.github.com/solyaris/b83a3cbc14d2be9a5cef#programming-in-ruby
regards

@atipugin Yes, that's exactly what I've done, thanks!

@solyaris thanks, inline bots are really great, i really like this feature. Regarding your issue with retry statement -  i can't reproduce your error, retry works for me. Could your tell me a little more what your try to do and show your code?

@atipugin Hi Alexander I reported the scenario here: http://stackoverflow.com/questions/34040277/telegram-bot-api-errors-codes-integrating-groups-and-channels
I used your APis in my project BOTServer.
Here the specific code: https://github.com/solyaris/BOTServer/blob/master/templates/app.rb.template
(nothing special: is an update received through a webhoock, that elaborate somewhere the received message and do a send:message ... it seems perverse because the code here is a template ...)
As I said in previous comment, IMMO the point is not related to your gem and the exception handling you proposed here (rescue/retry) that is ok for me.
The point is that these 400/403 errors I experienced with a specific bot name I created months ago, came after some insert/remove that bot in/out a group. I solved ... no more using that bot name that gone in this strange no-exit state. I strongly believe that something wrong happened inside the telegram server db. I don't know. I solved just no more use that specific bot.
Let me know if my explanation have been clear :)

I had a similar issue where I get the error whenever the bot is added then removed from a group and was able to fix it just by manually fetching the message using https://api.telegram.org/bot/getUpdates?offset=410143351.
Handling the exception with retry as @atipugin mentioned works fine with me as well, not sure if the retry statement forced the message to be consumed and jumped to the next one. In any case, do you think we can do the same with webhooks implementation or include the exception handling in the gem itself?

I'm experiencing the same issue too, but I don't understand what you guys mean when you say that you must delete and crete a new bot with another name.
Do you mean that I should do this only if I wanted my bot back in a group? Because right now it's still working normally when you send commands to it.

please take open the issue


Fixes for #10 and #11

Fixes #10 and #11.

Looks like it should be fine, you've tested this and it all works?

I did really simple tests with get_threads and different pages which all worked. Fetching board metadata through any of the Board's properties works too. You might want to look at this, it's how I determine if SSL should be used or not. This is a problem when functions outside of the Board class attempt to use _fetch_board_metadata, you end up having to create a dummy URL generator instance without a valid board name (which does work).

Cool, I've tested with BASC-Archiver and it all seems to work fine.
Thanks a bunch for the fixes, I've pulled this in (with some rebasing to avoid messy merge commits), your code's in master now! I'll try to push an update to pypi with it tonight.

Great, sounds awesome.

Actually I just noticed. I'm sorry, I wasn't entirely clear on why you did something in the previous code. You want to re-add the line: if not _metadata: here.


MLHR-1861 Port PI demo to Scala

Review only
Investigation work to see if we can use Scala language to write streaming application. I have ported Pi demo in Scala along with operators.

Closing the pull request, will open a new PR.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1683

Questions ?
Please refer to the Backport tool documentation


Fix Issue 23776 - getSymbolsByUDA fails to fetch symbols from module

@pbackus Thanks! Should be good now.


Remove unused temp directory for MariaDB copy

Resolves: https://issues.redhat.com/browse/OSPRH-7858

This is based on top of PR #538. I'll let that one land first and then rebase this. Or @klgill feel free to cherry-pick the change into your branch and edit as you see fit.


passing property to second scene android

this.props.navigator.push({
id: 'MainPage',
name: 'test',
passProps: {userInfo: res}
});
i am setting property userInfo but passProps not working and i am not able to get property parameter in second scene

Hi, @jigarrdesai !
I had the same question previously, but managed to find the answer in this thread: https://github.com/react-native-community/react-native-navbar/issues/15#issuecomment-157646226
Basically, you can access it on the next scene using this.props.route.passProps.userInfo
Hope it helps.


Scrolling outside select on mobile closes select

While the select is open, if you scroll anywhere outside the select, the select is closed.
In more technical details, the dragstart and/or dragend events are not handled on #select2-drop-mask, as far as I can tell. They need to be ignored.
Not sure what the policy is on mobile support, but this would be a nice fix. I think jQuery does support both events listed above, so there's no need for additional dependencies.

Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it.  The creation of an isolated test case would also be useful.

What steps can be used to reproduce the issue?
Open any select2 while on an Android tablet (haven't tested with iOS); scroll the main page (not the contents of the select)
What is the bug and what is the expected outcome?
The select2 closes. It shouldn't close.
What browser(s) and Operating System have you tested with?
Android (have tested with 4.2, but should be reproduceable with any version at least up to 4.2), and both with the native Android browser and Google Chrome for Android.
Does the bug happen consistently across all tested browsers?
Yes
What version of jQuery are you using? And what version of Select2?
jQuery 1.10.2 / Select2 3.4.5
Are you using Select2 with other plugins?
No, it's just Bootstrap + Select2, nothing else.

Select2 3.4.5

This should have been fixed in recent releases of Select2. Select2 3.4.5 is around 1.5 years old and no longer maintainer.
If this is still an issue in recent releases, I can reopen this (or find the duplicate).

It's still present in the latest stable build, 3.5.2 (http://jsfiddle.net/ah64hr3c/5/).

I patched this by removing the touchstart event from line 1412 in select2.js. I'm pretty sure it served some purpose, but it seems to work for what I want to do.


[FLINK-30866] Introduce FileIO for table store

FileIO aims to make table-store and the FileSystem of Flink independent, In this way, we can provide different FileSystem support in the Flink cluster, such as other S3 buckets. In addition, different engines can provide the same FileIO experience (such as configuration and usage)

Thanks @yuzelin for reviewing, I will resolve your comments.


LiChess Tools increases likelihood that you get 503 errors when using external engines

A hack to ignore 503 errors and instead force goDeeper has been added. This works sometimes, but after a while it just fails miserably.

Found the problem, it was related to AbortController. Fixed in v2.3.107


Compile+run rather than interpret Swift actions.

Swift actions are now compiled at init time, then ran as a simple binary,
rather than always be interpreted using swift. First invocation is only
slighltly slower, all following are dramatically faster. Compile-time errors
are reported as before. Note that if/when the container gets garbage-collected,
the binary is not persisted so will be recompiled at following deployment.

(I have successfully run all tests with ant run on this.)


Bug: Mypy column numbers are off by one

Copy pasted from https://github.com/microsoft/vscode-python/issues/14978.
Mypy column numbers in error messages are consistently one too high. Pylance column numbers are correct.
I suspect that whoever coded this assumed that mypy error messages use a 0-based column offset, but it doesn't -- like Python SyntaxError messages (and vim and Emacs :-), it uses 1-based column offsets.
Environment data
VS Code version: 1.53.0-insider
Extension version (available under the Extensions sidebar): v2021.1.416706931
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): 3.9.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: None
Relevant/affected Python-related VS Code extensions and their versions: Pylance v2020.12.3-pre.1
Value of the python.languageServer setting: "Pylance"
Expected behaviour
Error for undefined name 'foo' points at 'f' of 'foo' (the 19th character on the line in the example below)
Actual behaviour
Error points at first 'o' instead (the 20th character)
Steps to reproduce:
Configure both Pylance and mypy. Enter this code in a .py file:
def f(arg: int) -> int:
    return (arg + foo + 1)

Hit F8 once to show the Pylance error pointing at 'f', and again to show the mypy error pointing at '

https://github.com/anttipessa/vscode-python/blob/main/src/client/linters/mypy.ts the regex could be part of the solution


repl doesnt pagify

as the title says repl doesnt pagify I would suggest making it like debug that it pagifys but stops and await a response when 2 full code boxes where send

please post an example. it pagifies fine for me.
I like the suggestion to continue when prompted after 2 pages though.

dir(bot)

That's most likely because you've set it to write to file.
!help REPL

doing help repl gives me this

so I guess that something to look for.
Good that help exists
p.s. I dont have cookies right now, need to buy some

for peeps looking at this, !help REPL is what you want, not !help repl


Added missing table files for soil moisture anomaly calculation.

Description
Added several missing lookup table files for LVT, for use in calculating soil moisture anomalies.
NOTE:  The METRIC.TBL.anomaly.* files are not identical because of an early mistake on Narwhal in starting the climo calculations.  Migration to a common METRIC.TBL file will require complete recalculation of the climatologies, which will be very time consuming.

@emkemp
This PR adds missing lookup tables for LVT and includes the proper documentation within the files.  I accept.