Ignore default fields

Hello!
Can I ignore some of the default fields while parsing JSON?
For example, what if I want to log only my lists/map in json, and completely ignore timestamp/level etc
Thanks
Gleb

What I see from the code currently not. I have not added this to my fork as well.


Oauth social login and protect API with jsonwebtoken

I need to allow user to login on client side(angular2) with oauth(facebook or google) and then on server side(express.js) to check user with jsonwebtokens and allow them access...
Is it possible? Could you explain me flow?

You could take a look to these docs: https://auth0.com/docs/api-auth
You can play with it in Auth0 until you get comfortable with the idea.
In summary you would need to issue access tokens (JWT) in server side after login, then your client, as you said, will send that access token to the API endpoint which can verify the token and let the user pass.
About the "allow them access" part, depends on the granularity needed it would be enough to just verify the token or you'll need to add scopes to your JWT after login based on something (user role?) and verify those as well.

Closing, be free to re-open it if you need more information.


Consider genrated types inherited from System.Enum to be value types

I was looking into how provided types are translated to IL to find out the root cause  of #100 and found that ProvidedTypeDefinition.IsValueType returns incorrect values when generated type is an enumeration (base type is System.Enum, which is itself is not a value type).
The PR contains a fix for that (and also resolves #100).
I don't really have full understanding of why it resolves #100, so I'd still appreciate some explanation.

THis looks like a correct fix

On a first glance I'm not sure why it resolves #100 either, we'd need to take a closer look


Update/catalog

This PR fixes https://github.com/datopian/portal.js/issues/558

@risenW do you want to check the issue with the deployment before we merge OR do the merge and fix afterwards?

@risenW do you want to check the issue with the deployment before we merge OR do the merge and fix afterwards?

I'll fix and merge now


Karbon - 0.9.3.zip is missing 3 files

Three files are referenced as external data sources in karbon_kontacts.fmp12 but not in the zip package

BoB.fmp12
karbon_dev.fmp12
karbon_konnector.fmp12

duplicate #17

Bob probable shouldn't be in there.  But the other two may need to be for now.

Can we copy karbon_konnector from the 0.9.2 zip?

I pulled it because konnector in its current state is very specific to our internal workflow. We will be adding a receiver module soon, which is much better solution to managing incoming HTTP data. For now, I've added a placeholder file to prevent the error messages. See 0.9.4.


📄 Add esm.sh CDN link for importing @master/css

What is the improvement or update you wish to see?
I would like to see esm.sh CDN link for importing @master/css
Is there any context that might help us understand?
esm.sh serves @master/css as es6 module
import { MasterCSS } from 'https://esm.sh/@master/css@beta'
new MasterCSS({
  colors: {
    primary: '#ff0000'
  }
})

Does the docs page already exist? Please link to it.
https://beta.css.master.co/docs/guides

btw, @master/css looks promising!

@ije The esm.sh CDN link is expected to be added at https://beta.css.master.co/docs/guides/cdn#other-cdn-providers. 😊

@1aron thanks


InvokeStaticMethod with Generic types

Hello Rick,
Thank you very much for this great project. We made use of the 'old' DotnetExtender but we have now rewriten the code to use your wwDotnetBridge.
I ran into a issue with the InvokeStaticMethod (aka InvokeStaticMethod_Internal) method. I have a Generic class definition like the sample code below:
(I use the () instead of the gt and lt characters else it is not shown in this post)
public class MyList(T) : List(T) {
public static string StaticMethod() {
return "this is a test";
}
}
And a class based on this generic definition like:
public class MyDerivedList : MyList(MyListElement) {
(no code for brevity)
}
In C# the class MyDerivedList now has the static method StaticMethod inherited from the base class MyList.
When I try to call the static method StaticMethod on the MyDerivedList class using the InvokeStaticMethod method of the wwDotnetBridge in VFP I get an error saying the method could not be found.
When I define the StaticMethod directly on the MyDerivedList class overriding the base class the InvokeStaticMethod works.
I traced the problem to the InvokeStaticMethod_Internal type.InvokeMember call. When I add the binding flag BindingFlags.FlattenHierarchy, the static method StaticMethod of the base class is found and invoked. Without the flag I get the 'not found' error again.
The normal, not static, methods inherited from the base class are invoked just fine without this binding flag in the CallMethodCom InvokeMember call.
I don't know the underlying reason of this issue and why the difference between the static and not static methods. But the binding flag just solved my problem.
Maybe you can incorporate the solution into the project.
Best Regards,
Wijnand

Hi Rick,
Can you explain a bit why you won't add the binding flag to the code (wontfix label)? Maybe there is a good reason.
Regards,
Wijnand

.NET languages don't support it. Neither C# or VB support instantiating static methods (directly without reflection) on inherited types - it only works on the declared type, just like the default Reflection behavior we are using to call statics. Doing anything different would be unexpected behavior.
The workaround is easy - just call the static on the base class where it is declared.


Gif ApiLoader loads request from language argument

A bug appears when no gif keywords are given as arguments. It will search gifs with the languages name.
To Reproduce
Steps to reproduce the behavior:

Launch mdCreator as it follows:

$> mdCreator -p $(project_name) -l $(language)

Expected behavior
Without any gif keywords, no gifs should be added inside the REAMDE.md file.

Reason
I found the reason of the bug. When sending a request with no gifs parameters a value is set as None and converted as string. It also search for Gifs with request "None".
Update
Update will be available at the end of the day.

Issue closed
This bug has been resolved with PR #15.


Keep factory load balancer strategy

Depends on https://github.com/keep-network/keep-ecdsa/pull/441
tBTC wants to work with two ECDSA keep factories:

based on KEEP stake and ETH bond,
based on ETH stake and ETH bond.

The first factory is implemented and well-tested, the second one is expected to be ready before the stakedrop. To do not delay the launch of tBTC we make the fully-backed (ETH stake) factory pluggable. We do the same for the strategy that will load-balance between two factories based on their weights.

Also was the original idea to use a beacon output for selection rather than the keccak approach here?

I am not aware of this requirement. If we use a beacon, we'll increase the price of opening a new deposit twice. I am not sure if we need randomness here. Signers are randomly selected within a pool and here it's more about load balancing between pools than a random selection. I think it's more about round-robin with some weights in this case.

Works for me. I think I'm thinking way back into some of the very early discussions around this in January, perfectly fine if we've moved away from this.

Whoops, forgot to write next steps here. Merging this now, I'm going to merge master into #609 and then implement the time-delayed governance as part of the unified strategy and testing.


Can I add css classes to rendered html?

E.g. I'd like to attach a class to a rendered image like so
![1][ref class=left]]

Directly in markdown you can't. You can, however, use the normal html syntax:
<img src="myImg.jpg" class="left">

Closing as no followup for 6 days


Question about language filter

Hi team,
I find that in the filter function of language_filter.py, the input to self.model.predict is doc. In my understanding, it should be doc.text since there are many irrelevant fields in doc.
Could you help take a look? Thanks!
https://github.com/huggingface/datatrove/blob/main/src/datatrove/pipeline/filters/language_filter.py#L50

Oh never mind. I find the predict function will extract the doc.text at https://github.com/huggingface/datatrove/blob/main/src/datatrove/utils/lid.py#L54


it resolve configuration's test that not allow to add a Zephry's server

The current implementation reuse a method that need a server configured if there is no server configured before, it fails, so, you only could add servers if you have one configured.
I have solved it instanciated a RestClient directly.
@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@kuisathaverat Please,

Add the Jira issue in the PR title
It is recommendable to add the Jira issue in the commits

Thanks,


Priority >1 for single page rule causes changing

Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v0.12.13
Affected Resource(s)
Please list the resources as a list, for example:

cloudflare_page_rule

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
resource "cloudflare_page_rule" "cache_bypass" {
  for_each = toset([for k,v in var.domains : k if v["bypass_cache"]])

  zone_id  = cloudflare_zone.domain[each.key].id
  target   = format("*%s/*", each.key)
  priority = 1
  status   = "active"

  actions {
    cache_level = "bypass"
  }
}

resource "cloudflare_page_rule" "www_redirect" {
  for_each = toset([for k,v in var.domains : k if v["www_redirect"]])

  zone_id  = cloudflare_zone.domain[each.key].id
  target   = format("*www.%s/", each.key)
  priority = 2
  status   = "active"

  actions {
    forwarding_url {
      url         = "https://${each.key}"
      status_code = 301
    }
  }
}

Expected Behavior
What should have happened?
No changes were caused by apply.
Actual Behavior
What actually happened?
In case of bypass_cache for a domain is set false terraform changes rule's priority every run:
  ~ resource "cloudflare_page_rule" "www_redirect" {
        id       = "123012391283"
      ~ priority = 1 -> 2
        status   = "active"
        target   = "*www.test.eu/"
        zone_id  = "12312312312"

        actions {
            always_use_https    = false
            disable_apps        = false
            disable_performance = false
            disable_railgun     = false
            disable_security    = false
            edge_cache_ttl      = 0

            forwarding_url {
                status_code = 301
                url         = "https://test.eu"
            }
        }
    }

Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

terraform apply

Have you seen #187? If there is flapping priority it could be the same root cause (there is a workaround listed in the issue). If it's not, can you please provide a reproduction case without the looping functionality? As it's a 0.12 feature, I haven't delved into it much and unsure if it's a factor here.

It seems I missed that issue.
I guess this is the same problem.
This workaround works but looks complicated.

It's not pretty but it has enabled us (and others) to prevent the flapping priorities. Open to hearing other workarounds if you have other approaches.

its been a long time and this still an issue ... @cloudflare are you gonna fix?

its been a long time and this still an issue ... @cloudflare are you gonna fix?


Are there any plans to support multimodal and reinforcement learning?

I think that LLM (Large Language Model) has entered a new stage, and the demand for multimodal and reinforcement learning has increased.

Possibly, as long as we keep litgpt lean. Would you like to provide more details on what you would like to see?


DEV2-2244 sandboxed version of the app

What about loading from disk (bundles)?

What about loading from disk (bundles)?

I didn't change any of the loading paths. I am assuming that there will be some other script which will copy the relevant binaries to the proper paths. Also I will be adding the flag that bilu created


fix(inputform): add inputform delay

:tada: This PR is included in version 1.3.21 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add "Use" to the tagline

Related to discussion https://github.com/Flet/standard-engine/issues/24
And related to proposed change: https://github.com/Flet/standard-engine/pull/30

This should not be merged until a new release of standard-engine is published, and the dependency is bumped.

Published as 7.0.3


[stable/grafana] Corrected error in README.md dashboard/datasource examples

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

No
What this PR does / why we need it:
The README.md dashboard/datasource ConfigMap examples contains invalid label metadata syntax, as labels cannot have numeric values (grafana_dashboard: 1). See https://github.com/kubernetes/kubernetes/issues/57509
Corrected the examples to use string values for the grafana_dashboard label instead.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@erlendr
Could you bump to the latest chart version and sign DCO please?

@zanhsieh
DCO signed and chart version bumped (patch).

/ok-to-test
/lgtm

@erlendr
Build failed. Please check.

@zanhsieh
The "pull-charts-e2e" job seems to have timed out:
I0928 10:10:32.066] error: timed out waiting for the condition on namespaces/grafana-presubmit-17388-1177886548067094528-k74n59e9yn
I can't see how this is related to any of my changes?

/test pull-charts-e2e


Challenge GSoc 2020

Completed #592 for GSOC 2020.
Please review my PR @llaske  and @ashish0910 . Please let me know If if any modifications are required. I will fix them soon.

Actually, I am interested in the idea "Sugarizer knowledge activity pack" and I have started writing the proposal for the same. @llaske I want to discuss the proposal with you. How should I make contact. Please let me know.

It's a good start.
My remarks:

[ ] The toolbar is resized when the window is resized
[ ] The activity should be integrated with Journal (save its context in the Journal).
[ ] The activity should use localization.
[ ] The activity should include an interactive tutorial to explain how each pieces move on a chessboard.
[ ] The activity should work with touch and possibly keyboard
[ ] Will be better to use a palette to select computer level
[ ] You could use buddy color preference for background color
[ ] Will be better to display a popup when an user join/leave the game (see in Memorize or Paint activity)
[ ] Will be better to display buddy icon colors for opponent (see in Memory or LOL activity)
[ ] Will be better to use an icon with a king instead of a pawn for the activity
[ ] The start button should be in the toolbar
[ ] Miss a button to switch player

Thanks @llaske for your review I will make the changes soon.

Unfinished


Update gem deps

Github complains about a vulnerability in RedCloth 4.2.9.

Were we using RedCloth? Looking at the diff we are just dropping it but why was it there before?

Not sure, I just did a gem update and it seems like whatever was using it does not need it anymore.

Hey @KaptenJansson did you try building the website locally and see if it produces the same results visually?

@MirkoBonadei RedCloth was a dependency of github-pages, I believe.

Hey @KaptenJansson did you try building the website locally and see if it produces the same results visually?

Never mind. I've just tried and it seems to work well.

Thanks Alex!


fix(FsEvents): Remove situation with NaN depth.

Coverage increased (+0.1%) to 96.248% when pulling 6c3b648b94ae1bd2cdc17ca0465f2032440ae048 on JSMonk:master into 7cf3f7e3af56c6a792f82b9dfa6ccbb4ff202ce6 on paulmillr:master.

Coverage increased (+0.1%) to 96.248% when pulling 6c3b648b94ae1bd2cdc17ca0465f2032440ae048 on JSMonk:master into 7cf3f7e3af56c6a792f82b9dfa6ccbb4ff202ce6 on paulmillr:master.


fix(material-experimental/mdc-chips): Mirror aria-describedby to matChipInput

Updates mat-chip-grid to associate any ids set for aria-describedby to the matChipInput instance within the grid, if one exists.  See #24542 for information on why this is necessary.
Currently this PR creates a setAriaDescribedBy method on matChipInput and calls it from mat-chip-grid whenever mat-chip-grid's setAriaDescribedBy method is called.  The internal logic mirrors that of mat-chip-grid.  This may not be the best way to go about this change; let me know if there's a better way to do it!
Fixes #24542

It looks like there's still a lint failure.

I think the e2e failure here is a flake, but am not necessarily able to determine that conclusively from the test output.  Is there a way I can re-run the e2e tests on CI?


add pacsign support openssl 1.1.1g version

Coverage remained the same at 82.285% when pulling 9dd7bf324d87021d2fadcc1666739c4cba83966b on aravuri/openssl into ff75e0c17742f1df71bf5f9fc6d0b6d8966c3c0c on master.


Multiple OSBAPI bind() calls for a single svcat bind call

I'm seeing cases where a single call to svcat bind results in more than one OSBAPI call to the Bind() API. I can't tell for sure it they're all being done in parallel or one right after the other really quickly though.
So, first question... is this expected? I wouldn't think so. And to produce it all I do is:
svcat provision mydb --plan free --class demodb
svcat bind mydb

And then clean-up and try again. It doesn't happen all the time, but eventually it does do it for me.
Second thing, if the broker rejects the subsequent bind() calls with something like a 409 Conflict error then everything is ok. Service-Catalog does appear to pick-up the one non-error response and uses those creds.
However, if the broker chooses to accept the 2nd+ bind() calls and returns an empty set of credentials (which it's allowed to do), then I've noticed that sometimes the resulting secret will be empty w.r.t its data/credentials.  I can't tell for sure if this is because the 2nd bind() response is received before the 1st response and 1st wins, or if the 2nd response is overriding the secret. Either way, I'm left in a state with a valid binding from svc-cat's POV, but no creds in the secret so its unusable.

I'm working on a fix that should solve these kinds of problems. I'll see if I can reproduce your scenario.
Just one question: in your case, are the provision & bind operations asynchronous?

Nope - they're synchronous.
-Doug
On Tue, Nov 13, 2018 at 4:07 PM Marko Lukša<EMAIL_ADDRESS>wrote:

I'm working on a fix that should solve these kinds of problems. I'll see
if I can reproduce your scenario.
Just one question: in your case, are the provision & bind operations
asynchronous?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/service-catalog/issues/2481#issuecomment-438173394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2sX3vw68npfFS_41yflOmMwP9mcQVLks5uun3WgaJpZM4YaxRT
.


Add Azure pipeline badge

It is weird that the integration test last for over 10 hours.

It is weird that the integration test last for over 10 hours.

really? here's what i observed:

guoger.stupid Successful in 4m — Build #20200619.2 succeeded


upgrade, upgrade/v100to101: do not update IM label if it is up to date, add retry logic when doing CRDs update

To reduce the number of conflicts when doing CRDs upgrade, we do not update IM's label if it is up to date. This fix alone solves the issue.
Adding retry logic when doing CRDs update so that one API conflict does not block Longhorn upgrading. This fix alone also solves the issue.

We combine both of the above fixes to achieve fast (reduce the number of conflicts) and safe (adding retry logic).
longhorn/longhorn#1646

close this one because open an other PR for this issue at https://github.com/longhorn/longhorn-manager/pull/637


SILOptimizer: Peephole to eliminate closures which just apply a witness_method

Attempting to fix a performance regression from https://github.com/apple/swift/pull/28698.

@swift-ci Please benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

Diffing.Same
5
4
-20.0%
1.25x

UTF8Decode_InitDecoding
166
142
-14.5%
1.17x (?)

UTF8Decode_InitDecoding_ascii
206
192
-6.8%
1.07x (?)

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

PrimsNonStrongRef.o
121032
117304
-3.1%
1.03x

Performance: -Osize

Improvement
OLD
NEW
DELTA
RATIO

Diffing.Same
5
4
-20.0%
1.25x

UTF8Decode_InitDecoding
167
144
-13.8%
1.16x

Dictionary3
187
165
-11.8%
1.13x

SortIntPyramid
845
775
-8.3%
1.09x (?)

UTF8Decode_InitDecoding_ascii
210
194
-7.6%
1.08x (?)

FlattenListFlatMap
4858
4502
-7.3%
1.08x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

PrimsNonStrongRef.o
102516
99204
-3.2%
1.03x

Phonebook.o
9254
9014
-2.6%
1.03x

Performance: -Onone

Improvement
OLD
NEW
DELTA
RATIO

UTF8Decode_InitDecoding
186
163
-12.4%
1.14x (?)

WordCountHistogramUTF16
94100
86500
-8.1%
1.09x (?)

WordCountHistogramASCII
95800
88900
-7.2%
1.08x (?)

Walsh
4496
4196
-6.7%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please benchmark

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please benchmark

@swift-ci Please benchmark

@swift-ci Please test source compatibility

@swift-ci Please smoke test Linux

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubFromNSDateRef
4750
5780
+21.7%
0.82x (?)

Improvement
OLD
NEW
DELTA
RATIO

Diffing.Same
8
7
-12.5%
1.14x (?)

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

PrimsNonStrongRef.o
121032
117304
-3.1%
1.03x

Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
6831
7488
+9.6%
0.91x (?)

FlattenListLoop
4758
5196
+9.2%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

String.data.LargeUnicode
110
91
-17.3%
1.21x (?)

Diffing.Same
8
7
-12.5%
1.14x (?)

String.data.Medium
103
95
-7.8%
1.08x (?)

ObjectiveCBridgeToNSDictionary
16800
15550
-7.4%
1.08x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

PrimsNonStrongRef.o
102516
99204
-3.2%
1.03x

Phonebook.o
9254
9014
-2.6%
1.03x

Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayOfPOD
1033
1114
+7.8%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

Diffing.Same
8
7
-12.5%
1.14x (?)

Data.hash.Small
358
326
-8.9%
1.10x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB


Handle case where dataloader checkpoints from existing empty folder

The current Checkpoint_Dataset validates the load path and simply starts from scratch when validation fails. If a checkpoint folder exists, however, but contains no dataloader shard files, the loading will go through but error out in a later check when those shard files fail to appear.
This PR adds an extra validation step inside Checkpoint_Dataset ensuring that when a checkpoint folder exists, but contains no loader checkpoint files, the loader will simply start from scratch instead of crashing the whole job.

Closing as #101 includes these changes in an updated format


Calling sgpt echo "Say something" or sgpt sh "list files" givess an error in Windows

Branch: main
Operating system: Windows
command:
sgpt echo "Say something"
or
sgpt sh "list files"
Error message
ERROR command failed error="could not determine shell"

relates to #113


[Bug]: bash: /tmp/alias_completion-23769qilp1o: line 978: unexpected EOF while looking for matching `''

Expected behavior
source .bashrc doesn't work without errors.
Current behavior
Currently when I do source .bashrc it gives me the following error,
bash: /tmp/alias_completion-23769qilp1o: line 978: unexpected EOF while looking for matching ''`
Possible solution
No response
Context
I have a fresh install plus I have ble.sh plugin turned on and ble.sh installed.
Steps to reproduce
Install bash-it with --silent flag. Install ble.sh and then enable add-on. Do source .bashrc.
Bash-it version
d985e4c
List of enabled plugins, themes and aliases
base, oh-my-posh
Bash version
5.2.15
Operating system and version
Debian GNU/Linux 12
bash-it doctor output
# How to get: bash-it doctor

Your ~/.bashrc
#!/usr/bin/env bash

# If not running interactively, don't do anything
case $- in
  *i*) ;;
    *) return;;
esac

# Path to the bash it configuration
export BASH_IT="/root/.bash_it"

# Lock and Load a custom theme file.
# Leave empty to disable theming.
# location /.bash_it/themes/
export BASH_IT_THEME='oh-my-posh'

# Some themes can show whether `sudo` has a current token or not.
# Set `$THEME_CHECK_SUDO` to `true` to check every prompt:
#THEME_CHECK_SUDO='true'

# (Advanced): Change this to the name of your remote repo if you
# cloned bash-it with a remote other than origin such as `bash-it`.
# export BASH_IT_REMOTE='bash-it'

# (Advanced): Change this to the name of the main development branch if
# you renamed it or if it was changed for some reason
# export BASH_IT_DEVELOPMENT_BRANCH='master'

# Your place for hosting Git repos. I use this for private repos.
export<EMAIL_ADDRESS>
# Don't check mail when opening terminal.
unset MAILCHECK

# Change this to your console based IRC client of choice.
export IRC_CLIENT='irssi'

# Set this to the command you use for todo.txt-cli
export TODO="t"

# Set this to the location of your work or project folders
#BASH_IT_PROJECT_PATHS="${HOME}/Projects:/Volumes/work/src"

# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# Set to actual location of gitstatus directory if installed
#export SCM_GIT_GITSTATUS_DIR="$HOME/gitstatus"
# per default gitstatus uses 2 times as many threads as CPU cores, you can change this here if you must
#export GITSTATUS_NUM_THREADS=8

# Set Xterm/screen/Tmux title with only a short hostname.
# Uncomment this (or set SHORT_HOSTNAME to something else),
# Will otherwise fall back on $HOSTNAME.
#export SHORT_HOSTNAME=$(hostname -s)

# Set Xterm/screen/Tmux title with only a short username.
# Uncomment this (or set SHORT_USER to something else),
# Will otherwise fall back on $USER.
#export SHORT_USER=${USER:0:8}

# If your theme use command duration, uncomment this to
# enable display of last command duration.
#export BASH_IT_COMMAND_DURATION=true
# You can choose the minimum time in seconds before
# command duration is displayed.
#export COMMAND_DURATION_MIN_SECONDS=1

# Set Xterm/screen/Tmux title with shortened command and directory.
# Uncomment this to set.
#export SHORT_TERM_LINE=true

# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/djl/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt

# (Advanced): Uncomment this to make Bash-it reload itself automatically
# after enabling or disabling aliases, plugins, and completions.
# export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1

# Uncomment this to make Bash-it create alias reload.
# export BASH_IT_RELOAD_LEGACY=1

# Load Bash It
source "$BASH_IT"/bash_it.sh

alias sourceme="source ~/.bashrc"
alias bashconf="nvim ~/.bashrc"
alias nv='nvim'

# Enable fuzzy history search with Ctrl+R
if [[ $- == *i* ]]; then
    bind '"\C-r": "$(fzf-history-widget)"'
fi

fzf-history-widget() {
    local selected_command
    selected_command=$(history | fzf +s --tac --no-sort --preview="echo {} | cut -d' ' -f4-")
    READLINE_LINE=${selected_command#* }
    READLINE_POINT=${#READLINE_LINE}
}

# Function to change oh-my-posh theme
change_posh_theme() {
    if [ -z "$1" ]; then
        echo "Usage: change_posh_theme <theme-name>"
        return 1
    fi
    local THEME_URL="https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v$(oh-my-posh --version)/themes/$1.omp.json"
    if curl --output /dev/null --silent --head --fail "$THEME_URL"; then
        sed -i "s#export POSH_THEME=.*#export POSH_THEME=${THEME_URL}#" /root/.bash_it/themes/oh-my-posh/oh-my-posh.theme.bash
        source /root/.bash_it/themes/oh-my-posh/oh-my-posh.theme.bash
        echo "Theme changed to $1"
    else
        echo "Theme $1 not found. Please check the theme name and try again."
        return 1
    fi
}

Notes
No response

Does the problem only happen when ble.sh is enabled?
What are the outputs of the following commands?
$ alias -p
$ ls -l /tmp/alias_completion-*

Yeah, it only happens when ble.sh is enabled.
Here are my outputs:
 {  home }  alias -p
alias -- -='cd -'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias _='sudo'
alias aptinst='apt-get install -V'
alias aptpurge='apt-get remove --purge'
alias aptrm='apt-get remove'
alias apts='apt-cache search'
alias aptshow='apt-cache show'
alias aptupd='apt-get update'
alias aptupg='apt-get dist-upgrade -V && sudo apt-get autoremove'
alias aptupgd='apt-get update && sudo apt-get dist-upgrade -V && sudo apt-get autoremove'
alias babsh='bash-it'
alias bash_it='bash-it'
alias bash_ti='bash-it'
alias bashconf='nvim ~/.bashrc'
alias bashit='bash-it'
alias batbsh='bash-it'
alias batshit='bash-it'
alias bshena='bash-it enable alias'
alias bshenc='bash-it enable completion'
alias bshenp='bash-it enable plugin'
alias bshha='bash-it help aliases'
alias bshhc='bash-it help completions'
alias bshhp='bash-it help plugins'
alias bshsa='bash-it show aliases'
alias bshsc='bash-it show completions'
alias bshsch='bash-it search'
alias bshsp='bash-it show plugins'
alias c='clear'
alias cd..='cd ..'
alias chkboot='cat /var/run/reboot-required'
alias chkup='/usr/lib/update-notifier/apt-check -p --human-readable'
alias cls='clear'
alias dco='docker-compose'
alias dcofresh='docker-compose-fresh'
alias dcol='docker-compose logs -f --tail 100'
alias dcou='docker-compose up'
alias dcouns='dcou --no-start'
alias dk='docker'
alias dkbash='dkelc'
alias dkelc='docker exec -it $(dklcid) bash --login'
alias dkex='docker exec -it '
alias dki='docker images'
alias dkideps='docker-image-dependencies'
alias dkip='docker image prune -a -f'
alias dklc='docker ps -l'
alias dklcid='docker ps -l -q'
alias dklcip='docker inspect -f "{{.NetworkSettings.IPAddress}}" $(docker ps -l -q)'
alias dkps='docker ps'
alias dkpsa='docker ps -a'
alias dkre='docker-runtime-environment'
alias dkri='docker run --rm -i '
alias dkric='docker run --rm -i -v $PWD:/cwd -w /cwd '
alias dkrit='docker run --rm -it '
alias dkritc='docker run --rm -it -v $PWD:/cwd -w /cwd '
alias dkrmac='docker rm $(docker ps -a -q)'
alias dkrmall='docker-remove-stale-assets'
alias dkrmflast='docker rm -f $(dklcid)'
alias dkrmi='docker-remove-images'
alias dkrmlc='docker-remove-most-recent-container'
alias dkrmli='docker-remove-most-recent-image'
alias dkrmui='docker images -q -f dangling=true | xargs -r docker rmi'
alias dksp='docker system prune -a -f'
alias dkvp='docker volume prune -f'
alias edit='${EDITOR:-${ALTERNATE_EDITOR:-nano}}'
alias h='history'
alias ipy='ipython'
alias irc='${IRC_CLIENT:=irc}'
alias l='ls -a'
alias l1='ls -1'
alias la='ls -AF'
alias lf='ls -F'
alias ll='ls -al'
alias ls='ls --color=auto'
alias md='mkdir -p'
alias nv='nvim'
alias pager='${PAGER:=less}'
alias pass='passgen'
alias piano='pianobar'
alias pkgfiles='dpkg --listfiles'
alias py='python'
alias q='exit'
alias rb='ruby'
alias rd='rmdir'
alias reload_aliases='source '\''/root/.bash_it/scripts/reloader.bash'\'' '\''alias'\'' '\''aliases'\'''
alias reload_completion='source '\''/root/.bash_it/scripts/reloader.bash'\'' '\''completion'\'' '\''completion'\'''
alias reload_plugins='source '\''/root/.bash_it/scripts/reloader.bash'\'' '\''plugin'\'' '\''plugins'\'''
alias shit='bash-it'
alias sl='ls'
alias sourceme='source ~/.bashrc'
alias vbpf='${VISUAL:-vim} ~/.bash_profile'
alias vbrc='${VISUAL:-vim} ~/.bashrc'
alias xt='extract'

  root on Tuesday at 9:47 PM                                                                                0.035s    MEM: 19.57% (4/8GB)
  {  home }  ls -l /tmp/alias_completion-*
-rw------- 1 root root 55028 Jun 11 11:29 /tmp/alias_completion-10570esqXFv
-rw------- 1 root root 55028 Jun 11 12:38 /tmp/alias_completion-11493Ehdlsu
-rw------- 1 root root 55195 Jun 11 17:47 /tmp/alias_completion-1561GEWrR5
-rw------- 1 root root 30301 Jun 11 09:07 /tmp/alias_completion-17005XV1NtE
-rw------- 1 root root 30277 Jun 11 01:45 /tmp/alias_completion-17153n8ZEZf
-rw------- 1 root root 55028 Jun 11 10:56 /tmp/alias_completion-17581A88T4D
-rw------- 1 root root 55028 Jun 11 10:57 /tmp/alias_completion-17658DSJbnP
-rw------- 1 root root 55028 Jun 11 10:48 /tmp/alias_completion-18184p0DUXk
-rw------- 1 root root 30277 Jun 11 01:49 /tmp/alias_completion-19156vbnEv5
-rw------- 1 root root 30277 Jun 11 01:46 /tmp/alias_completion-19645MrbVC2
-rw------- 1 root root 30285 Jun 11 01:26 /tmp/alias_completion-22757jQ0sof
-rw------- 1 root root 55195 Jun 11 17:48 /tmp/alias_completion-23769qilp1o
-rw------- 1 root root 55028 Jun 11 12:54 /tmp/alias_completion-25114jdRhHK
-rw------- 1 root root 55028 Jun 11 11:28 /tmp/alias_completion-26183Oh4p41
-rw------- 1 root root 55028 Jun 11 12:54 /tmp/alias_completion-26950Z3G6iL
-rw------- 1 root root 55028 Jun 11 11:22 /tmp/alias_completion-2812dReNIN
-rw------- 1 root root 55028 Jun 11 11:19 /tmp/alias_completion-30083FsrPwh
-rw------- 1 root root 55028 Jun 11 11:26 /tmp/alias_completion-3313JJOO4J
-rw------- 1 root root 55028 Jun 11 11:04 /tmp/alias_completion-37394nH2tf
-rw------- 1 root root 30285 Jun 11 01:32 /tmp/alias_completion-40951Rc1Km
-rw------- 1 root root 30277 Jun 11 01:44 /tmp/alias_completion-4852oxiw2E
-rw------- 1 root root 30285 Jun 11 01:24 /tmp/alias_completion-5107wXIogD
-rw------- 1 root root 55028 Jun 11 11:26 /tmp/alias_completion-5902Ev29qU
-rw------- 1 root root 55028 Jun 11 15:26 /tmp/alias_completion-6036UQF9hR
-rw------- 1 root root 28249 Jun 11 01:43 /tmp/alias_completion-735AEMpmp
-rw------- 1 root root 55028 Jun 11 12:41 /tmp/alias_completion-7789yY101a
-rw------- 1 root root 55195 Jun 11 16:25 /tmp/alias_completion-856rJWVkL
-rw------- 1 root root 55028 Jun 11 11:18 /tmp/alias_completion-9647dFWCfl

Here is the output:
ble.sh, version 0.4.0-devel4+365101cf (noarch) [git 2.39.2, GNU Make 4.3, GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.0, GNU MP 6.2.1)]
bash-completion, version 2.11 (hash:aefcfdd4b924e8b03db0d49be8bdb5881ad7d0cd, 77084 bytes) (noarch)
bash-preexec, (hash:5f1208c33e624859eea70e3843bd9b8c9a06819e, 13046 bytes) (noarch)
bash-it, version +d985e4c9 (noarch), alias(apt docker docker-compose general), completion(aliases bash-it system), plugin(base blesh docker-compose docker explain fzf git history-eternal thefuck)
locale: LANG=en_US.UTF-8
terminal: TERM=xterm-256color wcwidth=12.1-west/15.1-2+ri, xterm:276 (0;276;0)

Here is the contents for /tmp/alias_completion-23769qilp1o
alias.txt
What do you mean by choosing exactly? I thought that these files are autogeneriated when using any of the build in aliases.

Thanks. I'll take a look.

What do you mean by choosing exactly?

Your ls result shows many temporary files /tmp/alias_completion-XXXXXXXXXXX where the part XXXXXXXXXXX are randomly generated. The files of those files seem to be different, so the file contents are different. I wanted the content of the file with XXXXXXXXXXX being exactly 23769qilp1o because that is the one you reported in your first post.

I thought that these files are autogeneriated when using any of the build in aliases.

Yes. I guess they would probably cause the same issue, but I can't say they cause the present problem 100%.

Thanks. I'll take a look.
Thanks.
I wanted the content of the file with XXXXXXXXXXX being exactly 23769qilp1o because that is the one you reported in your first post.
Ah, I get what you were saying now.

This is an issue of the aliases completion module. The following line is causing the problem:
https://github.com/Bash-it/bash-it/blob/d985e4c96b1eb4e7374b3ab53eea3513fc9f50ce/completion/available/aliases.completion.bash#L94
The variables $alias_cmd and $alias_args may contain an arbitrary string, but they are not properly quoted in generating the body of the dynamically defined function.
I'm not sure if it will be fixed in Bash-it because I don't see the activity of the Bash-it maintainers recent years. At least, I guess it would take months to have it fixed. If you don't use aliases module, you can disable the module by running the following command.
$ bash-it disable completion aliases

Thanks for looking at it for me.

The variables $alias_cmd and $alias_args may contain an arbitrary string, but they are not properly quoted in generating the body of the dynamically defined function.

Hmm,I see.

I'm not sure if it will be fixed in Bash-it because I don't see the activity of the Bash-it maintainers recent years.
At least, I guess it would take months to have it fixed.

I don't mind fixing a bug myself, but the bash-it system is kind of complex and I am not very well versed in bash yet. I'll give a crack at it and see if I can get something to work though. It doesn't really impact my productivity but it stands out haha.

Used Claude and ChatGPT to help me get close to fixing the issue.
The issue was making sure that the single quote is escaped properly. The code below fixes the error that occurs, but this code is buggy because when I tried to type say something like ls /tmp/ it will gave a bunch of strange suggestions for some reason. Anyway, I'll add updates as I go along.
                                         echo "function $compl_wrapper {
						local compl_word=\${2?}
						local prec_word=\${3?}
						# check if prec_word is the alias itself. if so, replace it
						# with the last word in the unaliased form, i.e.,
						# alias_cmd + ' ' + alias_args.
						if [[ \$COMP_LINE == \"\$prec_word \$compl_word\" ]]; then
							prec_word='${alias_cmd} ${alias_args//\'/\'\\\\\'\'}'
							prec_word=\${prec_word#* }
						fi
						(( COMP_CWORD += ${#alias_arg_words[@]} ))
						COMP_WORDS=(\"\${alias_cmd}\" \"\${alias_arg_words[@]//\'/\'\\\\\'\'}\" \"\${COMP_WORDS[@]:1}\")
						(( COMP_POINT -= \${#COMP_LINE} ))
						COMP_LINE=\${COMP_LINE//$alias_name/\${alias_cmd} \${alias_args//\'/\'\\\\\'\'}}
						(( COMP_POINT += \${#COMP_LINE} ))
						\"\${compl_func}\" \"\${alias_cmd}\" \"\$compl_word\" \"\$prec_word\"
					}" >> "$tmp_file"


Revert "fix: log everything to stderr, not stdout (#321)"

This reverts commit a89fdaf081b845e82eb8a1b578c597da6e24d2a2.
Fixes #344

Thanks @pelotom! This should ship in the next couple of hours 🥰

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


merge from template-sync/template-arlac77-github

LICENSE

chore(license): update from template

README.md

docs(README): update from template

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.301%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
122

Relevant Lines:
122

💛  - Coveralls


[CHALLENGE SUBMISSION]- Challenge 20

Please provide the following information for your submission:
What is your name? (First, Last)
Pawel Haracz
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/PawelHaracz/25daysofserverless/tree/master/Day20/Functions
What Challenge is this for? (Challenge number between 1 and 25)
20
(Optional) Anything else we should know? e.g., language used, location, blog post?
c#, html5, javascript, blob storage, signalR

From all of us on the Cloud Advocacy team at Microsoft, thank you for creating this issue!
Have a Happy Holiday season!
Feel free to share your solution on Twitter with the tag #25DaysOfServerless


Mermaid cli not working for subgraphs

Very nice project.
I'm trying to use the mermaid cli for a subgraph but I cannot manage to get it to work
 graph TB;
    subgraph B;
    C --> D;
    C --> E;
    end;

Without the semicolons it works in the live editor
I've managed to create a simple graph with the cli, so it is correctly installed

I have had this same problem. If I copy and paste the example subgraph from the documentation it works, but as soon as I try to put that subgraph code around my own graph it does not.
Example subgraph (renders correctly):
graph TB
    sq[Square shape] --> ci((Circle shape))

    subgraph A subgraph
        od>Odd shape]-- Two line
edge comment --> ro
        di{Diamond with
 line break} -.-> ro(Rounded
square
shape)
        di==>ro2(Rounded square shape)
    end

my subgraph (does not render):
graph TB
    sq[Square shape] --> ci((Circle shape))

    subgraph En Family
		en1[En]-->en2(Shou)
		en1-->en3[Shin]
			en3[Shin]---en4[No1]
		en1-->en4[No1]
		en1-->en5[Chota]
		en1-->en6[Fujita]
			en6[Fujita]---a7[Matsumura]
		en1-->en7[Matsumura]
		en1-->en8[Ebisu]
			en6[Fujita]---en8[Ebisu]
		en1-->en9[Turkey]
		en1-->en10[Kikurage]
	end

The solution/problem is found under issue #231 -- it doesn't like tab characters. Use spaces instead of tabs or just align everything left and it works.

Please don't end each line with a semicolon. Semicolon is the old syntax which might not work any more.
The following works in both live editor and cliP:
graph TB
    subgraph B
        C --> D
        C --> E
    end

By the way, here is the new cli project: https://github.com/mermaidjs/mermaid.cli


Make built in terminal searchable

Issue Type: Feature Request
VSCode MacOS
Currently the built in terminal window is not searchable. With lots of output (e.g. when linting a large project for the first time) having search functionality would be really useful. I have tried redirecting the terminal output to a file, that makes the output searchable, but then the links to open file locations (which are really helpful in the terminal) do not work.
VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:54:53.442Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

/needsMoreInfo
Integrated terminal already has Find functionality. See https://code.visualstudio.com/docs/editor/integrated-terminal#_find
Have you tried it? Or provide examples that don't work now.

@IllusionMH Yes, we can do it by pressing Ctrl+F. But this functionality is not visible enough.
@vscode-triage-bot No, I don't think this issue lacks basic info though.


lib_cxng: Introduce helpers for one-shot hashs

Description
lib_cxng: Introduce helpers for one-shot hashs
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Tests:
Tested on Speculos and on device (NanoS and NanoX) with the following app-boilerplate patch:
patch.txt

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e13ea21) 60.42% compared to head (92d7c5e) 60.42%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #535   +/-   ##
=======================================
  Coverage   60.42%   60.42%
=======================================
  Files          12       12
  Lines        1660     1660
=======================================
  Hits         1003     1003
  Misses        657      657

Flag
Coverage Δ

unittests
60.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Updated with v2 removing the need for out_len member (enable static analysis / compiler check instead).

patch.txt
Corresponding test patch over boilerplate.


docker configuration

I'm open to continue working on it. Looks like there is a bunch of conflict now. I'll try to take a look soon at what was merged and rebase on that.

why the names of the roles in the playbook?
I don't know, the guy from RedHat at the sprints said it was the recommended way to do it :man_shrugging:

Can I suggest you to just add the Github keys, the docker setup to clone the external repositories, and the names in the playbooks? I've done a few refactorings in #12, ready to get these features from you. Thanks a lot!

@alexsavio I have rebased on master. Please review again :)

Since most of the features here look good to me, I will squash/merge this PR to keep things going, alright? We can work on the comments from @webknjaz in the following PRs


Better separation of logger implementation.

This change better separates Reflections from actual logging implementation. In enables serialization to work properly on Reflections.class in cases when slf4j is not present in the classpath. Another consequence is that by providing NullLogger, it's possible to always have Logger instantiated and, therefore, get rid of "if (Reflections.log != null)" checks.

too noisy


Upload Twistlock operator for Kubernetes

@anik120 I made changes you mentioned in #318, passed operator-courier verify and pushed.
Got Travis build failure.
Opened new PR and got same Travis failure.
Not sure what's up.

@jpadams The build result shows that the build is failing with errors:
ERROR:operatorcourier.validate:csv.spec.provider should be a singleton list.
ERROR:operatorcourier.validate:UI validation failed to verify that required fields for operatorhub.io are properly formatted.
Resulting bundle is invalid, input yaml is improperly defined.

Note that operator-courier verify isn't enough. Please run operator-courier verify --ui_validate_io against your manifest folder too.

@jpadams This appears to be a duplicate of #323 which includes this manifest plus the openshift manifests

@SamiSousa @jpadams opened duplicate PR's coz the build was failing.
@jpadams please keep one PR open and close the rest so that we are not duplicating effort in reviewing all PRs.

@jpadams To rerun CI, you can push another commit onto an existing PR. No need to create new ones. :slightly_smiling_face:
Please close this PR in favor of #323 if this is a duplicate


Hbs strategy

This PR depends on #185, its the actual hbs strategy implementation from #166

@jherdman nooot sure if I did it correctly lol, never done these kind of git operations manually! it looks fine I think

OK! We're down to the final steps! One last rebase and we're good to go!

@jherdman ready ! 👍🏼 👍🏼


Does getting users info without login works?

Any update on this? it works only one time even though I use proxy

Not for me, unfortunately...

It's a "feature" of latest Instagram. It doesn't hand out information to anonymous users anymore. After 1-3 calls, it demands a login.


Should parametric be made relative?

Looking at @lorp 's https://lorp.github.io/parasync/parasync.html I see @tphinney has an YOPQ axis that is ranged relatively -starting at 0 and going up in per mille units.
Per recent discussion of grade, i also wonder if it makes better sense in a ot1.8 world to have that be the standard way to set up parametric axes.

Our preference at the font bureau, in developing typography,  is to use only values  per em, or only OS2 values, and not to mix them.
If required by program, a bridge, or bridges can be established between per em and os/2 for calculations. But, Per mil values are somewhat useless to me and programs if they are relative to the default, no?

This isn't related to os/2 values per se. It's purely about per-mille
values. But the mixing is in the specification of typography, yes, as users
will proceed to set up the broad strokes of their typography with the
former and then finesse with the latter - unless you are proposing to
distribute 2 fonts, with OS/2 axes only, and with Parametric Axes only, but
I'm afraid that will doom the latter to obscurity and zero billion adoption.
When parametric axes values are coupled to the default, they become useless
once you move away from the default using user axes - optical size, weight,
width, grade, and expressive axes - and that's why in typetools we have to
bridge them. Given how many times that bridge has fallen down in the past 4
years after it was raised, I'm skeptical as to the wisdom of this approach.
Finally, it seems unlikely to me that the masters drawn for the user axes
will be 100.00% replicable with Parametric Axes. I'd like to see some
demonstrations proving this is the case, if so.


VictoryLine with single value breaks on android

Hi
I'm using the following dependencies and if my VictoryLine graph has only one value it will break with the stacktrace below on android. (But works as expected on ios)
"react": "16.0.0-alpha.12",
"react-native": "0.48.4",
"react-native-svg": "5.4.1",
"victory-native": "^0.15.0"
Error while updating property 'd' in shadow node of type: RNSVGPath
null
Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference
updateShadowNodeProp
ViewManagersPropertyCache.java:116
setProperty
ViewManagerPropertyUpdater.java:154
updateProps
ViewManagerPropertyUpdater.java:58
updateProperties
ReactShadowNode.java:272
createView
UIImplementation.java:197
createView
UIManagerModule.java:249
invoke
Method.java
invoke
JavaMethodWrapper.java:363
invoke
JavaModuleWrapper.java:162
run
NativeRunnable.java
handleCallback
Handler.java:789
dispatchMessage
Handler.java:98
dispatchMessage
MessageQueueThreadHandler.java:31
loop
Looper.java:164
run
MessageQueueThreadImpl.java:194
run
Thread.java:764

are you setting the domain on the top level victorychart? I had the same issue and everything works fine if i remove the domain

No, even this simplest form below will reproduce the error...
`		return (

			<VictoryAxis
				dependentAxis
			/>

			<VictoryLine
				//data={[{ x: 'oct', y: 123 }]} <- with this it breaks, but with the line below it works
				data={[{ x: 'oct', y: 123 }, { x: 'oct', y: 123 }]}
			/>

		</VictoryChart>
	);

`

It also is broken when no data is given.

Actually it's a bug in Victory Native library. So do one thing, instead of passing single object, pass 2 object with same data as mentioned above by @frenberg .

I use a hack solution , if data.length smaller 1 then return null
{data.length > 1 ? (
              <VictoryLine

              />
            ) : null}

it still crashes when you have only one data object

Any update on this?

The <VictoryLine/> component just doesn't work on Android at all. It crashes no matter what data do or don't give it. The error I'm getting is a Java null object reference on java.lang.String.trim()

The <VictoryLine/> component just doesn't work on Android at all. It crashes no matter what data I do or don't give it. The error I'm getting is a Java null object reference on java.lang.String.trim()

I had the same problem, it was because  "react-native-svg": "^7.0.2".
If your are using Expo remove it because it already includes the correct version, otherwise use a older version.

Thanks, that fixed it for me! Docs should be updated to reflect that you don't need to install react-native-svg if you're using expo.

this issue has some fix?

Same error with victorychart VictoryLine. maybe there's is no fix solution ...

Any thoughts on this? Also running into this scenario on Android when the data array contains only one object of x/y.

Any update on this?.
I am currently facing the same issue

We still use the same work around from my post above https://github.com/FormidableLabs/victory-native/issues/173#issuecomment-341643593
basically we do this:
		if (data.length === 1) { 			data.unshift(data[0]); 		}
I don't think we can get an empty array in our case. At least the above has been working for a few years now.


[BUG] OptionType number overrides string

Describe the bug
One of the text options in my application command has an input that is usually a number, but can be a string. Both "12a" and "72" are valid inputs. The input type is set as a string, but either Discord or the library rejects the command if the input is only a number.
Reproducing steps
These are the steps I took in order to produce this bug, which should be able to be reproduced for everyone else as well.

Create a slash command.
Add a string option.
Run the command.
Enter a number for that option.
(!) The application did not respond

What's normally expected
The command accepts the response as valid and my code throws errors instead.
What actually happened
"The application did not respond" type error. Nothing came up in the terminal.
Versions

[ ] I am using discord.py versions 1.7 and below with my code.

[ ] I am using 2.0 or higher, or a modified fork.

[ ] I am using dis-snek with my code.
[x] I am not using any of the listed above and am using the library code alone.

It's also giving an "(!) Invalid interaction application command" error


Add STAR

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: EXGqHqvKBs4Z1mCwhiGE7kT2TXGFirAjvQzPSQP8nvuw
Token Name: Star Chain
Token Symbol: STAR
Logo:  assets/mainnet/EXGqHqvKBs4Z1mCwhiGE7kT2TXGFirAjvQzPSQP8nvuw/logo.png
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

Why merge reject?


Website not reachable

I tried to access your website as I am using your plugin for my website. But lobianijs.com has expired.

Thanks for informing. I have paid yesterday, but they did not activated
yet. Horrible!!!
On Thu, Nov 3, 2016 at 7:14 PM, shainanand<EMAIL_ADDRESS>wrote:

I tried to access your website as I am using your plugin for my website.
But lobianijs.com has expired.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/arboshiki/lobibox/issues/29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEad0m4lv6RqGbx60mABKU3yT6lRfDDIks5q6fpZgaJpZM4Koe2o
.

looks like your didnt get your domain back as the website redirects to a search page.


./ocis-4.0.7-linux-arm 1: cannot open a: No such file

Describe the bug
Fresh install on Raspberry, follow the offcial guide
When I do sudo ./startocis.sh i get : ./ocis-4.0.7-linux-arm 1: cannot open a: No such file
Steps to reproduce

Follow official guide (just replace 1.1.0 with 4.0.7 everywhere)
Launch ./startocis.sh

Expected behavior
Launch ownCloud
Actual behavior

Setup
Raspberry 3+
Raspberry OS Lite no gui 64bits

You wrote that you have Arm64.
The correct download would be ocis-5.0.1-linux-arm64

Could that issue be confirmed?


How do I change the corners and lines of the screen?

I am testing this package.
I want to use the basics design style.
How do I change the corners and lines of the screen?

You can use NavigationView.contentShape to change that. By default the following is used:
                RoundedRectangleBorder(
                  side: BorderSide(
                    width: 0.3,
                    color: FluentTheme.of(context).brightness.isDark
                        ? Colors.black
                        : const Color(0xffBCBCBC),
                  ),
                  borderRadius: const BorderRadiusDirectional.only(
                    topStart: Radius.circular(8.0),
                  ).resolve(direction),
                )


Made footer

Signed-off-by: Akshay-Jak<EMAIL_ADDRESS>Functionality:
Made the footer component added icons
Solution:
Made a footer component
Risk level:

[ ] high
[x] medium
[ ] low

How to test:
ng serve
firebase emulators:start

Ui is not looking good, for footer... Let's connect and discuss over it.


Thorough check on nullable/non-nullable arguments

For example DeferredRunnable(StartPolicy) does not check if its argument is null or not, perhaps assign a default value just like DeferredCallable does.
It might be a good idea to state the nullability of arguments and return types. This has been done in part in DeferredManager on the type safe versions of when, race, and settle.

thinking of using FindBugs and JSR 305 annotations, and going through all the input params thoroughly on DeferredManager and callbacks.
Should we do this before or after #157?

I'm a big fa of JSR-305 and I use whenever I can. This being said there are a few problems with it https://blog.codefx.org/java/jsr-305-java-9/

eak :( what should we use?
There are several options that can provide kotlin interop - https://kotlinlang.org/docs/reference/java-interop.html

The thing is, if we choose existing @Nonnull/@Nullable we'll add an extra dependency to JDeferred, right now core only depends on slf4j-api. What worries me by bringing JSR-305 is the fact that someone may get in  trouble setting up JDeferred with the module system.

hm, can it be an optional dependency? i.e., in normal cases and be optional during the runtime?

The annotations from JSR-305 have runtime as retention policy. I'm afraid adding it's not possible to add them as an optional dependency.

doh! will put that on hold then, and just add null checks


Roll Flutter Engine from 91522a188bda to 14d38f887a59 (8 revisions)

https://github.com/flutter/engine/compare/91522a188bda...14d38f887a59
2023-08-28<EMAIL_ADDRESS>Re-write docs for DlSkCanvas{Adapter|Dispatcher}. (flutter/engine#44961)
2023-08-28<EMAIL_ADDRESS>Roll Skia from 5baa2c74fbc6 to ded5d08a9999 (1 revision) (flutter/engine#45181)
2023-08-28<EMAIL_ADDRESS>Roll Skia from 651ada29fcb0 to 5baa2c74fbc6 (2 revisions) (flutter/engine#45178)
2023-08-28<EMAIL_ADDRESS>Roll Skia from 477659e6f41b to 651ada29fcb0 (3 revisions) (flutter/engine#45176)
2023-08-28<EMAIL_ADDRESS>[Impeller] Only enable captures in debug builds. (flutter/engine#45174)
2023-08-28<EMAIL_ADDRESS>Roll Skia from ce99ad7b587e to 477659e6f41b (1 revision) (flutter/engine#45173)
2023-08-28<EMAIL_ADDRESS>Skwasm platform views (flutter/engine#43011)
2023-08-28<EMAIL_ADDRESS>Roll Skia from df783b542165 to ce99ad7b587e (2 revisions) (flutter/engine#45172)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Interface on Client when using fit needs to be updated

Currently when we make changes on Finetuner Core it needs to be updated on the Client too

Follow up of https://github.com/jina-ai/finetuner/issues/563


⚠ Samsung has degraded performance

In 8ef17a7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2241 ms

Resolved: Samsung performance has improved in 8e115fb.


Would this bot be more useful if it tweeted screenshots of the diff?

As it stands, all tweets shown in the feed have no distinction between things like simple typo fixes:

Or edits to factual information:

I was wondering if it would be a useful feature to have anon capture a screenshot of the wikipedia diff to post alongside the tweet. That way, a person following an anon bot can see a preview of the edit in their feed without having to click through.

Excellent idea! It ought to be doable. If you want to give it a whirl I'd be happy to look at a pull request. If not I think I can get to it sometime.

I took a crack at it here but don't know how to test that it's working.

One thing you can do is ask Google what your ip address is and configure anon to listen for anonymous edits from your IP range and post to your Twitter account (or another one). Then go and anonymously add a space to a Wikipedia page :-)

It would be useful to get the code working with Mastodon as well. But I can add that in if webshot is working well for you.

Okay, I added some code for Mastodon here, but haven't tested either Twitter or Mastodon yet. I'll test them out soon.
Out of curiosity, are there any wikipedia edits that don't have the diff box at the top of the page? This is one of the only ways I can see the new code failing (besides trivial errors).

For some reason webshot is clipping the screenshot. I opened an issue but it looks like that library hasn't been maintained. It's possible to just use phantomjs, but I'd have to look at it later.

Thanks very much for testing! I have done screenshots with phantomjs for another project so it's potentially something I can do when I can find the time.

Okay, I ended up using just phantomjs and the same thing happened; the screenshot was truncated in the wrong place. However, with a fudge factor that I had to derive empirically, screenshots now look good and are working for Twitter! I don't have a Mastodon account, but maybe you can test that? I think after that this code is ready to be merged.

You can review the full changes here.

That's awesome! Do you have any example tweets I can see?
If you send a PR I can make some comments in there. It looked like you were taking a screenshot twice when posting to Twitter and Mastodon? Also I wasn't entirely clear why the tweet and inspect functions were made async.

Here's an example tweet: https://twitter.com/Glench/status/920681462319415297
Oh, I didn't think about the case where one posts to both Mastodon and Twitter! But I think having two calls simplifies things. The main case that it simplifies is removing the screenshot. Since there's all this asynchronous stuff happening, it becomes hard to coordinate both async functions being done before the screenshot can be deleted. The cost of taking two screenshots is that it takes a little longer, makes an extra network request, and adds another image to disk temporarily — all tradeoffs worth making to make the code much simpler I think.
Those functions had to be made async because 'await' only seems to work in functions that are marked as async. Here's what happens without marking tweet and inspect async:

Also, I had to update Twit because I was seeing errors that new versions of the library fix.

But you don't directly await tweet() or inspect() right? I guess you have to add async to those because they contain the call to takeScreenShotOfDiff()?

Thanks for the PR!

But you don't directly await tweet() or inspect() right? I guess you have to add async to those because they contain the call to takeScreenShotOfDiff()?

Exactly.

Fixed as part of #155


fail build on errors

I found that my translation step was failing (I had included Java classes that had no translation, like LocalDateTime) but my builds were happily succeeding, erroneously.  I made these small changes to the Mojo (ignore the pom changes) to cause Maven to register a build failure if the j2objc command execution fails.  I think it would be good to include something like this; it's not sustainable to check the log files manually after every Jenkins build to make sure the translation step succeeded.

The changes I made in the pom were just for me, so I could use the plugin locally.  They don't need to be merged, they should be reverted as you did.   I wasn't sure if/when the PR would be accepted, and I needed that functionality, so I just changed it so I could use it until that time.  I'm not sure how to merge changes to a single file with git (unlike svn) so I just submitted everything.
Thanks for the nice plugin!

Could you please revert the changes in Pom.xml and update PR?  This way Ivan merge only code changed you made

Done.  I also added some code where there were other exceptions caught silently.

Thanks! Snapshot deployed.


Implement search

Add a global search functionality for:

projects
doc content

full text search

@randombenj
At the moment it just searches for Projects by name:


refactor: remove account history method from ExplorerAPI [APE-637]

What I did
Removes a method from ExplorerAPI that is better off routing through QueryAPI instead
depends on: https://github.com/ApeWorX/ape/pull/1277 (rebase after merge)
depends on: https://github.com/ApeWorX/ape-etherscan/pull/71 (must be released first)
Checklist

[x] All changes are completed
- [ ] New test cases have been added
- [ ] Documentation has been updated

NOTE: Removing methods from API classes aren't breaking changes because it reduces the set of features that are required by plugins to implement (meaning they will simply be dead code afterwards that can be pruned at their leisure)


Fix config loading of cli

closes #3739
closes #3763

fix config merging
disable update check in docker image

Tested again locally and with docker and now works for me correctly.


Creating additional works after depositing a work gives "no method error" message

Descriptive summary
I am able to create one work as a valkyrie resource on nurax-pg. However, when I navigate back to the Works page to create an additional work, I get a "NoMethodError" message and cannot proceed further.
URL: https://nurax-pg.curationexperts.com/dashboard/my/works?locale=en
Expected behavior
I should be able to create additional works after depositing a work.
Actual behavior
When I navigate to the works page after depositing a work, I get a "NoMethodError" message.
Steps to reproduce the behavior

Login to nurax-pg
Dashboard -> Works -> Add new work
Select any Work Type
Fill in required steps
Save
Navigate to Dashboard -> Works
Observe error message

I turned off the ability to transfer works (temporarily).  That code is still using ActiveFedora, which led to the failure.  You should be able to test works again.
I'm leaving the issue open.
Remaining work
Fix Hyrax Issue #5247 and turn Transfer work flipper back on.

Transfer works is enabled on nurax-pg and I can follow these steps to create a Work and then come back to Dashboard > Works and there is no longer an error message. Closing this issue as fixed.


RuntimeException "Could not move right because the last node at this level has already been reached"

Hello
I'm trying to use Openkeepass to manage my KeePass 2.x databases but I'm getting a

java.lang.RuntimeException with message "Could not move right because the last node at this level has already been reached".

Here is the stack trace: Exception stacktrace.txt
My Main class contains only the main method with the instruction
KeePassFile db = KeePassDatabase.getInstance(path+"Database.kdbx").openDatabase("MasterPassword");
I've obfuscated username/passwords/notes/..., changed master password to "MasterPassword" and enclose here the zipped db: Database.zip
It's protected only with master password
I've tried to make a quick debug.
I may be wrong but it looks like the issue occurs at the root node level (I get a null parent and a current node name "Database" which is only the root).
Thanks and regards,
Mika

@The-Math-Guy Thanks for opening this issue.
I have issues reproducing your problem. Which version of openkeepass are you using? I've added your sample code and database as a separate unit test into the project but the test works fine.
Check it out by yourself KeepassDatabaseReaderTest:whenGettingEntriesShouldReturnAllEntries.
Could you try to execute the test and let me know if it works for you or not?

I downloaded the last one from here.
After opening this issue I've installed a new eclipse version and unfortunately this caused my whole workspace to be completely deleted .
I downloaded openkeepass 0.5.1 from Maven central repository and I am now able to access my KeePass database.
I guess previous openkeepass installation was not clean or else I have no idea what could have been the problem.
Thank you for your support!


m4s container in MPEG DASH streams is not supported

Please follow the guide below

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

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

[x] I've verified and I assure that I'm running youtube-dl 2016.09.27

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

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

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

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
% youtube-dl http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.27
[debug] Python version 3.5.1+ - Linux-4.6.0-1-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.1.3-1, ffprobe 3.1.3-1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] manifest: Requesting header
[redirect] Following redirect to http://se04.se.tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd
[generic] manifest: Requesting header
WARNING: Falling back on generic information extractor.
[generic] manifest: Downloading webpage
[generic] manifest: Extracting information
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 355, in extract
    return self._real_extract(url)
  File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 1663, in _real_extract
    self._sort_formats(info_dict['formats'])
  File "/home/misuzu/Documents/Virtualenvs/rub90-v2-streaming/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 922, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

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

Single video: http://embed.tvcom.cz/2abb1b03-662b-4237-8c3f-7748818271cb/720/
Single video: http://embed.tvcom.cz/e3558bcc-12bb-4ff8-8b7f-cf6dd0d990cc/720/
Single video: http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd
Single video: http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl39/manifest.mpd

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
Seems like youtube-dl does not support m4s container for MPEG DASH streams.
Sample manifest.mpd from http://tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/manifest.mpd:
?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="urn:mpeg:dash:schema:mpd:2011"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
     profiles="urn:mpeg:dash:profile:isoff-live:2011"
     type="dynamic"
     minimumUpdatePeriod="PT3.083S"
     publishTime="2016-09-28T09:24:35Z"
     availabilityStartTime="2016-09-28T09:07:27Z"
     timeShiftBufferDepth="PT49.92S"
     suggestedPresentationDelay="PT15.0S"
     minBufferTime="PT6.0S">
<ProgramInformation>
    <Title>fotbal-cfl62</Title>
</ProgramInformation>
<Period id="0" start="PT0.0S">
    <AdaptationSet id="0" mimeType="video/mp4" width="720" height="404" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <SegmentTemplate timescale="90000" media="chunk_u64qw79a6_ctvideo_cfm4s_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_u64qw79a6_ctvideo_cfm4s_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="87343200" d="864000"/>
                <S d="1036800"/>
                <S d="864000"/>
                <S d="864000"/>
                <S d="864000"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0a0r0" codecs="avc1.42c01e" sar="1:1" bandwidth="1002000" />
    </AdaptationSet>
    <AdaptationSet id="1" mimeType="audio/mp4" lang="eng" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
        <SegmentTemplate timescale="44100" media="chunk_u64qw79a6_ctaudio_cfm4s_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_u64qw79a6_ctaudio_cfm4s_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="42799183" d="422912"/>
                <S d="507904"/>
                <S d="423936"/>
                <S d="422912"/>
                <S d="422912"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0a1r0" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="64000">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
        </Representation>
    </AdaptationSet>
</Period>
</MPD>

     type="dynamic"

m4s are supported. The real cause is that live DASH streams are not supported yet. Would you like to share where you got this mpd link?

as a work around, you can use the m3u8 url:
http://se02.se.tvcom-live1.service.cdn.cra.cz/tvcom/fotbal-cfl62/playlist.m3u8

+1 This would be very nice!

Any plans to implement this soon?

Supporting this requires lots of changes. I don't think it can be done in a short time. See #9109 for the first step.
Third party solutions like mp4client of gpac can be used as of now.

Thanks for the suggestions!

Long time w/o trying it, but I think https://github.com/streamlink/streamlink also support YT Live streams. Check -o examples for recording the stream.

Apparently DASH isn't supported on streamlink as well. I'm able to watch Youtube livestream atm using mpv + youtube-dl, however it's capped @30fps. I've tried using MP4Client + youtube-dl but it doesn't seem to work (though I'm not sure if I'm using this correctly):
$ MP4Client $(youtube-dl -g 'https://www.youtube.com/watch?v=ekpfeh7IuRA')                                                                                 3.88   16:28:58
Using config file in /home/gui/.gpac directory
System info: 7927 MB RAM - 4 cores
Modules Found : 35
Loading GPAC Terminal
[Thread MediaManager] Couldn't set priority(2) for thread ID 0xc9dbe700
[Thread MediaManager] Couldn't set priority(2) for thread ID 0xc9dbe700
Terminal Loaded in 104 ms
Opening URL https://manifest.googlevideo.com/api/manifest/hls_playlist/id/ekpfeh7IuRA.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-b8u-nvqe.googlevideo.com/ei/gSnyWZbmNs-qwQSA1IzgBg/gcr/br/playlist_type/DVR/mm/32/mn/sn-b8u-nvqe/ms/lv/mv/m/pl/22/dover/6/mt/1509042450/ip/<IP_ADDRESS>/ipbits/0/expire/1509064161/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,gcr,playlist_type,mm,mn,ms,mv,pl/signature/42C62F384A5B5A36F7FF8F2BC8108ED038161B5E.880D272559DC2D05BA22812D1A25367BE09C0C00/key/dg_yt0/playlist/index.m3u8
[M3U8] Unknown line in M3U8 file #EXT-X-DATERANGE:CLASS="CUEPOINT-AD",DURATION=28.679000,ID="1509041205005385-AD-START",START-DATE="2017-10-26T18:06:45.005+00:00",X-YTCP-EVENT="START",X-YTCP-OFFSET=1.321000,X-YTCP-TYPE="AD"
[M3U8] Unknown line in M3U8 file #EXT-X-DATERANGE:CLASS="CUEPOINT-AD",DURATION=25.736000,ID="1509041285000385-AD-START",START-DATE="2017-10-26T18:08:05.000+00:00",X-YTCP-EVENT="START",X-YTCP-OFFSET=4.264000,X-YTCP-TYPE="AD"
[M3U8] Unknown line in M3U8 file #EXT-X-DATERANGE:CLASS="CUEPOINT-AD",DURATION=25.773000,ID="1509041505004385-AD-START",START-DATE="2017-10-26T18:11:45.004+00:00",X-YTCP-EVENT="START",X-YTCP-OFFSET=4.227000,X-YTCP-TYPE="AD"
[M3U8] Unknown line in M3U8 file #EXT-X-DATERANGE:CLASS="CUEPOINT-AD",DURATION=29.022000,ID="1509041790005385-AD-START",START-DATE="2017-10-26T18:16:30.005+00:00",X-YTCP-EVENT="START",X-YTCP-OFFSET=0.978000,X-YTCP-TYPE="AD"
[M3U8] Unknown line in M3U8 file #EXT-X-CUEPOINT:DURATION=30.000000,EVENT=START,TIME_OFFSET=1.321000,TYPE=AD
[M3U8] Unknown line in M3U8 file #EXT-X-CUEPOINT:DURATION=30.000000,EVENT=START,TIME_OFFSET=4.264000,TYPE=AD
[M3U8] Unknown line in M3U8 file #EXT-X-CUEPOINT:DURATION=30.000000,EVENT=START,TIME_OFFSET=4.227000,TYPE=AD
[M3U8] Unknown line in M3U8 file #EXT-X-CUEPOINT:DURATION=30.000000,EVENT=START,TIME_OFFSET=0.978000,TYPE=AD
[DASH] Error - cannot connect service: MPD creation problem Bad Parameter
[MPD_IN] Error - cannot initialize DASH Client for https://manifest.googlevideo.com/api/manifest/hls_playlist/id/ekpfeh7IuRA.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-b8u-nvqe.googlevideo.com/ei/gSnyWZbmNs-qwQSA1IzgBg/gcr/br/playlist_type/DVR/mm/32/mn/sn-b8u-nvqe/ms/lv/mv/m/pl/22/dover/6/mt/1509042450/ip/<IP_ADDRESS>/ipbits/0/expire/1509064161/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,gcr,playlist_type,mm,mn,ms,mv,pl/signature/42C62F384A5B5A36F7FF8F2BC8108ED038161B5E.880D272559DC2D05BA22812D1A25367BE09C0C00/key/dg_yt0/playlist/index.m3u8: Bad Parameter
 Cannot open https://manifest.googlevideo.com/api/manifest/hls_playlist/id/ekpfeh7IuRA.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-b8u-nvqe.googlevideo.com/ei/gSnyWZbmNs-qwQSA1IzgBg/gcr/br/playlist_type/DVR/mm/32/mn/sn-b8u-nvqe/ms/lv/mv/m/pl/22/dover/6/mt/1509042450/ip/<IP_ADDRESS>/ipbits/0/expire/1509064161/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,gcr,playlist_type,mm,mn,ms,mv,pl/signature/42C62F384A5B5A36F7FF8F2BC8108ED038161B5E.880D272559DC2D05BA22812D1A25367BE09C0C00/key/dg_yt0/playlist/index.m3u8: Bad Parameter

Audio and Video need to be downloaded together, most likely by somehow using 2 fragment contexts within DashSegementsFD (FragmentsFD would likely have to be changed as well for this to work), but first, DashSegmentsFD needs to be fed both at the same time.
Other than that, it's possible to hack around the other issues (not exactly pretty, but it works).

About  stream.mpd, here is one example: https://vidalytics.com/video/0TdguiZ2jRVjKEXR
This player is used on some websites and requests a stream.mpd.

Currently, if I use the request url, ytdl can download but it results in separated video and audio streams. I have to do an extra step to merge them in one container (mkv). Could ytdl auto merge streams at the end of downloading ?
If I rename the URL replacing .mpd by .m3u8, it works if ffmpeg is installed. It would be nice we wouldn’t have to do this extra renaming step and ytdl did automatically.

@freMea wrote:

if I use the request url, ytdl can download
but it results in separated video and audio streams.
I have to do an extra step to merge them in one container (mkv).
Could ytdl auto merge streams at the end of downloading ?

First of all, your referenced MPEG-DASH manifest (MPD):
https://quick.vidalytics.com/video/5SwBVaqN/0TdguiZ2jRVjKEXR/9060/4595/stream.mpd
is a static (VOD), NOT a dynamic one (i.e. Live stream), which is the subject of this issue 😠 ; so, it's totally out of context here... 👎
If you -F your MPD, you'll see it does contain separate streams for audio and video content (most MPDs usually do!), so it's no surprise yt-dl fetches two separate standalone streams...
And in these cases, yt-dl of course can merge (mux) them into an appropriate container, provided it already knows where to look for an FFmpeg binary!
Your MPD is kinda special in that it offers three different video codecs (VP9, h264=avc1, hevc=hvc1) between its video streams, additionally all streams are being throttled server-side 😞 ...
youtube-dl -F "https://quick.vidalytics.com/video/5SwBVaqN/0TdguiZ2jRVjKEXR/9060/4595/stream.mpd" =>
[generic] stream: Requesting header
WARNING: Falling back on generic information extractor.
[generic] stream: Downloading webpage
[generic] stream: Extracting information
[info] Available formats for stream:
format code                           extension  resolution note
e2992025-4615-450d-81d9-da9de1bedf17  m4a        audio only [en] DASH audio   96
k , m4a_dash container, mp4a.40.2 (48000Hz)
deac0958-2887-4bd9-827b-21d19f55e65c  webm       480x270    DASH video   78k , w
ebm_dash container, vp9, 25fps, video only
23c5afd2-ff83-4aa5-801c-279e90a6558d  mp4        480x270    DASH video   78k , m
p4_dash container, hvc1.1.6.L63.90, 25fps, video only
7db8b8ca-944d-4c3d-878f-71878440b193  mp4        480x270    DASH video  157k , m
p4_dash container, avc1.4D4015, 25fps, video only
6b798290-c1b0-445c-9e41-e1c65b33bb1e  webm       640x360    DASH video  236k , w
ebm_dash container, vp9, 25fps, video only
e25526cf-c4e2-4127-a1b9-066e8fd5ab87  mp4        640x360    DASH video  245k , m
p4_dash container, hvc1.1.6.L63.90, 25fps, video only
01996de9-ebe9-484b-a229-98359f834d24  mp4        640x360    DASH video  355k , m
p4_dash container, avc1.4D401E, 25fps, video only
87913a33-63f8-4d73-b280-3fd89d3dd42c  webm       1280x720   DASH video  712k , w
ebm_dash container, vp9, 25fps, video only
9ba5de7f-0208-430f-8bba-7a007524ed68  mp4        1280x720   DASH video  762k , m
p4_dash container, hvc1.1.6.L93.90, 25fps, video only
8f8bff13-effb-408c-9a67-5da680d5446f  mp4        1280x720   DASH video  801k , m
p4_dash container, avc1.4D401F, 25fps, video only (best)

Provided you're using a fairly recent build of FFmpeg, it'll have no issues merging vp9/hevc into the MP4 container (although I consider myself vp9/hevc inside MP4 as a sort of a "Chimera" 😉 ) ... If you prefer a traditional MP4 file with h264+aac, then the following cmd worked for me:
youtube-dl --referer "https://vidalytics.com/video/0TdguiZ2jRVjKEXR" -f "8f8bff13-effb-408c-9a67-5da680d5446f+e2992025-4615-450d-81d9-da9de1bedf17" "https://quick.vidalytics.com/video/5SwBVaqN/0TdguiZ2jRVjKEXR/9060/4595/stream.mpd" -o "Vidalytics_Demo_720p.mp4" =>
[generic] stream: Requesting header
WARNING: Falling back on generic information extractor.
[generic] stream: Downloading webpage
[generic] stream: Extracting information
[dashsegments] Total fragments: 278
[download] Destination: Vidalytics_Demo_720p.f8f8bff13-effb-408c-9a67-5da680d544
6f.mp4
[download] 100% of 60.41MiB in 08:45
[dashsegments] Total fragments: 278
[download] Destination: Vidalytics_Demo_720p.mp4.fe2992025-4615-450d-81d9-da9de1
bedf17
[download] 100% of 12.57MiB in 05:11
[ffmpeg] Merging formats into "Vidalytics_Demo_720p.mp4"
Deleting original file Vidalytics_Demo_720p.f8f8bff13-effb-408c-9a67-5da680d5446
f.mp4 (pass -k to keep)
Deleting original file Vidalytics_Demo_720p.mp4.fe2992025-4615-450d-81d9-da9de1b
edf17 (pass -k to keep)

If you're more fond of the Matroska container, then to create an .mkv file with hevc+aac, issue:
youtube-dl --referer "https://vidalytics.com/video/0TdguiZ2jRVjKEXR" -f "9ba5de7f-0208-430f-8bba-7a007524ed68+e2992025-4615-450d-81d9-da9de1bedf17" "https://quick.vidalytics.com/video/5SwBVaqN/0TdguiZ2jRVjKEXR/9060/4595/stream.mpd" --merge-output-format mkv -o "Vidalytics_Demo_720p.hevc.aac.mkv" =>
[generic] stream: Requesting header
WARNING: Falling back on generic information extractor.
[generic] stream: Downloading webpage
[generic] stream: Extracting information
[dashsegments] Total fragments: 278
[download] Destination: Vidalytics_Demo_720p.hevc.aac.mkv.f9ba5de7f-0208-430f-8b
ba-7a007524ed68
[download] 100% of 60.00MiB in 10:00
[dashsegments] Total fragments: 278
[download] Destination: Vidalytics_Demo_720p.hevc.aac.mkv.fe2992025-4615-450d-81
d9-da9de1bedf17
[download] 100% of 12.57MiB in 02:41
[ffmpeg] Merging formats into "Vidalytics_Demo_720p.hevc.aac.mkv"
Deleting original file Vidalytics_Demo_720p.hevc.aac.mkv.f9ba5de7f-0208-430f-8bb
a-7a007524ed68 (pass -k to keep)
Deleting original file Vidalytics_Demo_720p.hevc.aac.mkv.fe2992025-4615-450d-81d
9-da9de1bedf17 (pass -k to keep)

Format                                   : Matroska
Format version                           : Version 4
File size                                : 72.6 MiB
Duration                                 : 18 min 27 s
Overall bit rate                         : 550 kb/s
Writing application                      : Lavf58.45.100
Writing library                          : Lavf58.45.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L3.1@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 18 min 27 s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Writing library                          : HEVC Coding
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 18 min 27 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz

In conclusion, there's nothing wrong with yt-dl here, which, I suspect, can't be said about your own yt-dl setup...
Regards


Incorrect hitcount extracted from coverage

I am noticing the extracted hitcounts from .covreports are incorrect!
4.68k --> 46800 (which should be 4680)
31.0M --> 3100000 (which should be 31000000)

This code is sensitive to the number of digits after .:
https://github.com/ossf/fuzz-introspector/blob/ea869183c2b5daf90f4e663a729de28dc26ef4a8/src/fuzz_introspector/code_coverage.py#L555-L559


Bump springboot to 2.0.0

The 2.0 branch uses Spring Boot 2.0, the 1.x branch is based on Spring boot 1.x

master is boot 2.0.x


Move Attribute accessor-definition responsibility into Virtus::AttributeAccessor

@solnic
I wanted to ask for early feedback before investing the time, so I didn't move the tests yet.
That said, what do you think of this approach?

@emmanuel in general I'm totally in favor of moving the responsibility of adding the accessors to the attribute module. I had a couple of small points which I added within the commits, but overall I think this is awesome.

I feel like there's pretty good coverage of attribute method behavior already present in spec/integration/virtus/class_methods/attribute_spec.rb.
The prior implementation (dynamically adding a module nested under the class as self::AttributeMethods) was not directly specified, and this seems like only a slight variation on that theme.

@dkubb — I hear what you're saying about the previous AttributeAccessor implementation needing too much internal knowledge of Attribute, and the violation of "Tell, Don't Ask" that results.
I just pushed a double-dispatch version. It splits the responsibility more finely, and I think it reasonably balances "Tell Don't Ask" with SRP (method definition/module mutation not being the single responsibility of Attribute).
What do you think about this approach?

@emmanuel this is really good. The attribute almost uses the AttributesAccessor as a builder, and gives it just enough information to create the methods. I know this is a spike, but I would bet this is closer to what TDD would nudge you towards; it seems like this is going to be way easier to test.
Should Attribute have a #define_attribute_accessor method, and then be responsible for calling AttributesAccessor#define_attribute_accessor inside ClassMethods#attribute ? That way, other than setting up the attribute module, nothing besides Attribute uses it directly. That seems a bit cleaner than spreading out that knowledge amongst multiple classes.

@emmanuel Your code fails in case you create an attribute on a descendant of the class virtus was included into. You have to make sure a instance of the AttributesAccessor is initialized and includes the methods from parent.

@mbj — Thanks!
There wasn't a test covering the case of defining an attribute in a descendant, so I added a spec and fixed the implementation.

And the plot thickens... /cc @solnic, @dkubb, @mbj
It turns out that the implementation on master has what looks to me like a bug: adding an attribute to a descendant whose superclass has at least one attribute will cause the descendant's attribute methods to be available on the superclass. I assume that defining an attribute in a descendant should not alter that descendant's superclass.
This happens because there is a single module defined as a nested constant of the class that extends Virtus::ClassMethods. Descendants of that class do not get a separate module, so adding an attribute to a descendant adds attribute accessor methods to the descendant's superclasses, up to the class that extends Virtus::ClassMethods. The self::AttributeMethods module is acting similarly to a class variable (ie, akin to @@attribute_methods).
 This spec fails on master (for the reasons described above) and passes on this fork (since each subclass gets its own attributes methods module).
I see one potential issue with the implementation I've included: I wrote this such that descendants will define and include their own private attribute accessor methods module when they receive their first call to ClassMethods#attribute. This means that the ordering of the descendants ancestors could be dependent on when attribute is called, which may be a problem. One alternative implementation would be to implement ClassMethods#inherited and have the descendant include its attribute accessor methods module in there (instead of in ClassMethods#attribute).

@emmanuel I would tend to want to define things using an #inherited hook because the process can become explicit instead of whenever the memoized method is called.
In Veritas I strongly veered away from the @ivar ||= init_something convention towards setting things up in an explicit initialization step (usually #initialize for objects). The only case I was using memoization was with "pure functions".

OK, I think this patch is in a pretty good state at this point.
I've YARDoc'd the methods I just added, thought rake ci still fails, complaining that YARD coverage is at 99.2%, which is shy of the 100% threshold. I can't find what is missing YARDoc coverage.
Let me know if there's anything else I should do to improve this!
/cc @solnic, @dkubb

YARDoc is back to 100%, and I was able to reduce the Flay threshold and total score. Reek complains of some smells, but they 1) look like false positives to me, and 2) the reported smells reference existing code that was not touched in this fork. Flay and Roodi both seem to pass, but I'm not familiar with them, so I don't know for certain that silence is success.
In other words, I think this is ready to be merged: it provides a slightly improved implementation and resolves a subtle bug relative to the current mainline.
Who's going to merge this in? :)

@emmanuel thanks man, I'll be catching up during the xmas break...!

@solnic — awesome, thanks!


#176 added full class to frost-list for frost-scroll

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[x] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

Closes #176
CHANGELOG

Added full class in frost-list for frost-scroll so popover items display correctly

👍


feat: add body to ext auth

What type of PR is this?
Add gesture for body to ext auth
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #4431

The testing part (https://gateway.envoyproxy.io/contributions/develop/#testing) seems not to work on my computer so I tried to modify internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.in.yaml and internal/gatewayapi/testdata/securitypolicy-with-extauth-backend.out.yaml manually and hope that it will pass.
Don't really know how to do it better.

it would be good to send API first.

From api/ or internal/gatewayapi/ or both ?

cc @guydc