IndexedDB error adding new model type

Overview
In development after I add a new model type, then load it via a remote store the following error occurs.
Deleting the IndexedDB database and reloading resolves the issue.

Config
Sources

remote: jsonapi
backup: indexeddb

Strategies

SyncStrategy: remote -> store (blocking)
SyncStrategy: store -> backup (non-blocking)
RequestStrategy: (on beforeQuery, query) store -> remote (blocking)
RequestStrategy: (on beforeUpdate, update) store -> remote (blocking)

Note: I'm not actually doing anything with the backup yet but I plan to use it to enable an offline mode later.
Note 2: This is a brand new app and I don't have any code yet that would trigger the beforeUpdate strategy to see if it causes the error too.
Versions
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

I would guess that what's happening here is that you're fetching all records (findRecords()) from backup prior to coordinator activation. A new record type has been added to the schema prior to this action, so the schema knows about the type but the backup source does not yet. It attempt to look up an objectStore for this type but it does not (yet) exist.
The way to handle this with IndexedDB is through versioning. Every time that you open an IDBDatabase, you can optionally specify a version.
Orbit also supports a version on its RecordSchema. This property is used by default as the version for the IDBDatabase. When an old version of the DB is opened with a new version (say, after your app has updated), you have the opportunity to migrate the contents of the DB in the browser. You can do this by overriding this method on the IndexedDBCache.
You can control upgrades by calling schema.upgrade({ version: 2 }) and all the sources that care will listen to this event and attempt to upgrade their contents prior to any data access.
This can be a bit of a hassle and probably only something to tackle when you have instances of your DB "in the wild". When you do, you'll want to keep track of what changes between versions so that you can write migrations. In this case, you'd just want to call registerModel to add a new objectStore for the new type. Many changes, such as new fields that are not indexed, won't really require new versions or migrations.
Anyway, sorry for the confusing error message. This area deserves some better documentation.

In this case I am not calling findRecords on backup at all. I'm sync'ing to the backup and then doing nothing with it. I plan to do so but wanted to have a few areas of the app working before I mixed in booting offline.
The info about versioning makes a lot of sense though and I'll plan to handle that when I revisit offline mode.
If you think this is related to my lack of handling of versioning then we should close this ticket.

If you are sync'ing to the backup and adding records to an object store that does not exist, then this error could be raised. I will see if I can minimize versioning exceptions by simply detecting and creating object stores when they don't already exist, without requiring an explicit version upgrade.

I will see if I can minimize versioning exceptions by simply detecting and creating object stores when they don't already exist, without requiring an explicit version upgrade.

Turns out that object stores can only be created inside versionchange transactions, which can only be handled by opening an IDB with an updated version. Therefore, I can't make this truly seamless, even in development.
PR #362 adds a schemaVersion config option that will be passed to the orbit schema on construction. Bumping this version should trigger a versionchange transaction, which will run the migratedDB method on IndexedDBCache as I mentioned above. Override this method to provide custom migrations.
Of course, this is really only relevant when you have production IDB instances in the wild. As you work in development, it's easiest to just delete your local IDB instances as you add models and adjust your schema.
Please let me know if you have further questions and I can re-open this issue if needed.


Implement the US customary volume measure units quart,pint,fluid ounce

This issue will be attached to the implementation of the US customary volume measure units:
quart
pint
fluid ounce

Removing fluid ounce from this issue.


Why can't I use omni_listproperties to see "propertyid" after my Omni startup: 31

root@SS02:/usr/local/omnicore/src# ./omnicore-cli -rpcport=8332 "omni_listproperties"
[
{
"propertyid": 1,
"name": "Omni",
"category": "N/A",
"subcategory": "N/A",
"data": "Omni serve as the binding between Bitcoin, smart properties and contracts created on the Omni Layer.",
"url": "http://www.omnilayer.org",
"divisible": true
},
{
"propertyid": 2,
"name": "Test Omni",
"category": "N/A",
"subcategory": "N/A",
"data": "Test Omni serve as the binding between Bitcoin, smart properties and contracts created on the Omni Layer.",
"url": "http://www.omnilayer.org",
"divisible": true
}
]
end

Hi,
looks like your client isn't fully synchronized. Can you please post the result of omni_getinfo?

yeah,the next day is down.


Problems view filter box has strange layout depending on its size

Smaller:

Larger:

I think I'd prefer the full-width omnipresent filter box, regardless of the view width. Or make the filter box wider in the header and change the breakpoint so that it "wraps" only when its much smaller.

FYI, the Debug console doesn't have the same behavior -- its filter box is always in the header, and IMO too small.

/cc @isidorn

Yeah we just did not implement the resize in the debug console, as I was not super happy with how it behaves in Problems atm.
Default size of debug console filter we can increase. Currently it is 300px. What do you think would be a better fit?

300px looks good, but its only 300px once you start searching:

You can also see above that the "badge" (showing x of x), is too big for the input (maybe the input can be expanded by a few pixels as well -- because it feels so tight.
It also seems like the filter box and the dropdown are too close and maybe a pixel off (or a pixel too big/small)

And it breaks down further when smaller

/duplicate
https://github.com/microsoft/vscode/issues/93584

Marking this as duplicate of existing issue for problems view. Please feel free to reopen for debug


Do you actually need user ID to look up galleries/albums?

The documentation says yes; the API says no. There might be an opportunity to simplify here!

Yes!


Use ESLint configuration from commons

See: https://github.com/api3dao/commons/tree/6ebc41c031105fe824132069a4fb80e0415eee78/src/eslint

Isn't this blocked by https://github.com/api3dao/commons/issues/4 ?

No, it's usable. See: https://github.com/api3dao/commons/tree/main/src/eslint#getting-started and https://github.com/api3dao/signed-api/pull/68
Btw. expect a lot of issues and do not be afraid to silence rules that are too noisy.


Java apiview errorhandling

@JonathanGiles Is the PR still in use? If not, I will go ahead and close it by the end of this week.


[WIP] Locating Bumping Bug

Motivation
WIP
Approach
WIP

change files
action, apply, assemble, changelog, command, covector, files (all)
expected
every package and its covector dependencies to be bumped to the preview version
received
apply: only package version is bumped, assemble and files dependencies are not bumped
assemble: only package version is bumped, command and files dependencies are not bumped
changelog: only package version is bumped, files dependency is not bumped
command: only package version is bumped, assemble devDependency not bumped but expected
covector: only package is bumped, apply, assemble, changelog, command, files not bumped
files: package is bumped and has no covector-related dependencies
action: package not bumped as expected
It's a wild guess but this might be happening because the config's package names do not match the actual package versions as they're listed in the dependencies

action run<PHONE_NUMBER>
change files
action, apply, assemble, changelog, command, covector, files (all)
expected
every package and its covector dependencies to be bumped to the preview version
received
everything being bumped as it's supposed to. the fix was to update the config file because i guess the packages specified in config are matched to the names listed in the packages' packge.json.

change files
just assemble.
expected
covector, apply, and command depends on assemble so we can expect those packages to be bumped with its dependency of assemble bumped too.
received
covector: bumped and apply, command, assembled bumped
command: bumped and assembled bumped
assemble: bumped and command bumped
apply: bumped and assembled bumped
👍


wip/6.0 Correct error in StandardOrderedMapSemantics due to generics checking

During tightening the Java generics checking in https://github.com/hibernate/hibernate-orm/pull/3587. Java compiler helps to nail down coding bug automatically. This PR is the first one of such PRs created mainly by Java compiler.
Will create similar PRs in the future to make https://github.com/hibernate/hibernate-orm/pull/3587 manageable, so we can focus on generics tweaking exclusively in that PR.

merged, Thanks @NathanQingyangXu


Pass data argument

The method requires an argument but it wasn't being passed in.

Thanks @punya! I've fixe the error but won't merge this in as I've also restructured the code.
That method - passing pyLODE a stream of data rather than a file - is being used in a few places now so glad it's working.
Thanks,
Nick


Minor fixes to unified memory and cifar-10 example

Have verified that the changes to dparse.cpp allow the cifar-10 examples to run correctly.  This part should be accepted


Default Settings don't apply for newly created project

Steps to reproduce:

Assign Default  Settings for plugin in File > Default Settings...
Create New project
Go to PhpStorm > Preferences... > Other Settings > File and Code Template Variables
The list of variable is empty.

Perhaps it is the part of incompatibility with the new Setting interface in PhpStorm 8.x
Reproduced on PhpStorm 8.0.2 on OS X 10.9.5

I will try to check this... Thanks for the report!


Long translations cropped/overlapping

As is typical, German has über-long words which break some layout elements:

In listing card

Full word is "Verkauft".

Footer

I confirmed that adding a "soft hyphen" allows the word to get hyphenated here, and added to crowdin.
https://crowdin.com/translate/originprotocol/63/en-de#q=product+brief
Produktbeschreibung

FWIW - this is the kind of thing we could catch during development if we do this:
https://github.com/OriginProtocol/origin-dapp/issues/397

Just noticed in Japanese also:

We certainly need to do a pass on the entire DApp, but I think that specifically in regard to that sold tag, Aure wants to scrap it in favor of something else.

@wanderingstan to confirm, are you proposing that when we find an irregularly long word that breaks the layout, the correct step to take is to add/approve a translation of that word within crowdin that includes a soft hyphen?

Ugh, apparently not: The soft hyphen code isn't making it out of Crowdin:

@jordajm  Do you know if html codes are being stripped by react-intl, and/or if there is some way to stop that? It looks like the html code  is getting exported from crowdin and picked up by our json here:
https://github.com/OriginProtocol/origin-dapp/blob/a9348de77f62c9192a150c0531bf350e2305f825/translations/languages/de-DE/all-messages.json#L28
So the problem must be that it gets escaped to t&shy; before rendering.


Rogue .

There was an extra . at the end of the curl command which caused curl to try to do a second call after the first to localhost.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I get this when I try it with the . but without the space:
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'.
{"errorType":"SyntaxError","errorMessage":"Unexpected token . in JSON at position 2","trace":["SyntaxError: Unexpected token . in JSON at position 2","    at JSON.parse (<anonymous>)","    at Runtime.handleOnce (/var/runtime/Runtime.js:67:14)"]}

But without the . I get this:
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
{"statusCode":200,"body":"\"Hello aaa from Lambda! It is day.\""}

What should I get with the . rather than the error?

I get this when I try it with the . but without the space:
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'.
{"errorType":"SyntaxError","errorMessage":"Unexpected token . in JSON at position 2","trace":["SyntaxError: Unexpected token . in JSON at position 2","    at JSON.parse (<anonymous>)","    at Runtime.handleOnce (/var/runtime/Runtime.js:67:14)"]}

But without the . I get this:
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
{"statusCode":200,"body":"\"Hello aaa from Lambda! It is day.\""}

What should I get with the . rather than the error?

Looking at the CURL syntax, it is not clear if there is any purpose to the dot. I will follow up offline with the team that created this procedure.

Looking at the CURL syntax, it is not clear if there is any purpose to the dot. I will follow up offline with the team that created this procedure.


fix: mapWithEffect

Codecov Report

Merging #175 (4f5f0ea) into master (e42b86d) will increase coverage by 0.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
+ Coverage   87.45%   88.06%   +0.61%
==========================================
  Files          23       23
  Lines         231      226       -5
  Branches        7        6       -1
==========================================
- Hits          202      199       -3
+ Misses         29       27       -2

Impacted Files
Coverage Δ

...rc/main/scala/zio/spark/effect/MapWithEffect.scala
100.00% <100.00%> (ø)

.../src/main/scala-2.13/zio/spark/sql/implicits.scala
40.00% <0.00%> (+5.00%)
:arrow_up:

core/src/main/scala/zio/spark/rdd/package.scala
100.00% <0.00%> (+50.00%)
:arrow_up:

Continue to review full report at Codecov.

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


How to make a custom layer with a custom backward function like updateGradInput in Torch?

I am familiar with torch but new to Keras. Recently I have to implement a custom layer in Keras but I can not find a way to implement the "backward function", such as "updateGradInput" in Torch. When I write a custom layer the only thing I can modify is "def call(self, x)" for forward predict.
Maybe this is a simple problem. But is has already confused me for more than two weeks. The deadline of our project  is approaching.
Thank you very much!
For example, if I write a custom layer in torch with a "updateGradInput", which always return a matrix filled with zero, then all layers below to the custom layer will not get any gradient. However, I can not find a way to write custom "updateGradInput" in Keras.

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

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

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

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

Here is what I want to do.
There is a layer with input_shape (None,5,5,512)
I want to:
forward:

reshape input A the shape into (None,25,512)
copy it to a new matrix B
transpose B into (None,512,25)
4.dot B and A to get a output of shape(None,512,512)
5.reshape it into (None,512,512,1)

Have you solved this ? @lllyasviel

Have you solved this? @lllyasviel


[Feature request] localization support

I think we can use gnu gettext library
https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html

I can help

I vote for this!
Also you can use any python methods of localization.

duping into #114


Help please!

I have a 2nd account under the same sollet seed phrase. After deleting the account and trying to restore with the seed code, the second account no longer pops up once I login and therefore I cannot access my funds.

i have the seed phrase but i cant find the adress of my wallet, the derivables account dont have the founds i had in mine, anyone can help? i left only solana in the wallet.


Respect the alpha value when setting rgb.

Currently, the alpha channel gets overwritten by 1. when rgb is set. This makes it respect the current alpha value.
I also added the initialization so that self.a will not crash if only rgb was ever set.

@matham, you broke Color with self referencing self.a i guess, check the tests

Fixed!


Unity Fullscreen Feature

Functionality is just like UnityEvent except you create a UnityFullscreen function that sets the screen to fullscreen when emit is called.

Can you please include the source.

Just added it

Thanks, can you please merge into development.

Just did


fixed typo in READE.md

Discovered what was wrong when I checked the integration tests here:
https://github.com/NimaSoroush/differencify/blob/174bf84ad8906613f27c0f9d576d5f7bc8127a5e/src/integration.tests/integration.test.js#L31

@ll350 , Thanks for correcting this out


Hardcoded relativeUrls set to false

I have no issue with this option being set to ´false´ by default  (AFAIK original less.js does this by default too), but isn't hardcoding it in the ´getOptions´ method a bit too harsh?
Now we can't easily change the behaviour if we need to - especially if less.php is loaded via composer.
Issues:

https://github.com/oyejorge/less.php/issues/243
https://github.com/oyejorge/less.php/pull/239

Commit:

https://github.com/oyejorge/less.php/commit/0b7a458bde6b6a9028e40cbbfdb68f1e038cbcf3

One discussion at a time is enough. #239


Yeelight connectivity issues when using more than one network adapter (physical/virtual)

Hello,
Background:
Yesterday i upgraded my Win10 from build 1909 to 202H and suddently RGBMaster stopped working (unable to establish connection with yeelight)
At first i suspected that it has something to do with Win10 update but then it was confirmed from somebody else that it works on newest Win10 build
Next suspect was Windows Firewall, i tried disabling it, restoring to default settings etc.. still nothing
Then @deankevorkian told me that it could be blocked ports or something (generally speaking: problems with network)
It gave me idea to hook up Wireshark and i found what is the problem..
Issue:
When there's more than one network adapter (like in attached picture) the RGBMaster is picking the wrong one

When i disable all adapters except the correct one it works flawlessly
Btw: I upgraded W10 to use WSL2, and it seems that this feature installed new network adapter on my PC

Resolved on version 2.4 - and thank you for the amazing contribution!


cask-repair forces versioned casks to use sha256 stanza (can't use :no_check)

https://github.com/caskroom/homebrew-cask/pull/33870
As shown by this pull request – every time I changed the sha256 stanza to :no_check, cask-repair would undo it and insert the checksum instead.

cask-repair rechecks the shasums after every edit. That’s a feature, not a bug. Why would you have that sha256 as no check?

The point (and original creation goal of cask-repair) is to easily update cask versions and their sha256 as fast as possible, with just a version.
I don’t see why you’d want to have both a non-:latest version and a sha256 :no_check on that cask, especially since it has an appcast.
 We do not in any way encourage them, and as such there’s no point in allow them in cask-repair. This is a feature, not a bug.

@vitorgalvao I didn't want to give this cask a checksum because the url is not versioned. I was worried that when the developer updates the application, the install would fail because the sha256 would change. However, considering that we are going to be regularly checking casks with outdated appcasts, I guess that shouldn't be too much of an issue.


Dict.fromList has confusing error message when given List Bool as key

https://ellie-app.com/48nbR8SGTZ8a1
module Main exposing (main)

import Dict exposing (Dict)
import Html

list : List (List Bool, Bool)
list =
    []

main =
    list
    |> Dict.fromList
    |> Debug.toString
    |> Html.text

:arrow_down:
Type Mismatch
Line 12, Column 8
This function cannot handle the argument sent through the (|>) pipe:

11|     list
12|     |> Dict.fromList
           ^^^^^^^^^^^^^
The argument is:

    List ( List Bool, Bool )

But (|>) is piping it a function that expects:

    List ( List Bool, v )

When I change the List Bool to something else (eg. String), the error goes away. This makes me think it doesn't like List Bool as a key type for the Dict - possibly something about comparable?
The error message is confusing and seems unrelated though.

I fixed the root issue with https://github.com/elm/compiler/commit/545b1784695500e822c2d044b6b5ed2ab6689552, so my development build is now producing:
-- TYPE MISMATCH ------------------------------------------------------ temp.elm

This function cannot handle the argument sent through the (|>) pipe:

 9|     list
10|     |> Dict.fromList
           ^^^^^^^^^^^^^
The argument is:

    List ( List Bool, Bool )

But (|>) is piping it to a function that expects:

    List ( comparable, v )

Hint: Only ints, floats, chars, strings, lists, and tuples are comparable.

I am going to try to do better on the hint. I think I can get it to specifically mention that Bool is not comparable, but I'm not sure!

I tried making the hint really extra specific, but I ended up needing to rewrite some code that would be a bit too risky to change this close to a release. I ended up with some logic that should improve the hints on comparable clashes, but not in cases where a comparable constraint is having trouble with a type within a list or tuple.
Anyway, thank you for reporting the error here!

I think this
The argument is:

    List ( List Bool, Bool )

But (|>) is piping it to a function that expects:

    List ( comparable, v )

solves the most urgent problems with the original message :) Thanks!


Fix broken links to old .md files, set correct root directory for Get-RuleDocumentationPath function

PR Summary
There were still links to the old "RuleDocumentation" folder and some files were renamed.
The root directory if the Get-RuleDocumentationPath function was also set to the "Rules" folder
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .cs, .ps1 and .psm1 files have the correct copyright header
[x] Make sure you've added a new test if existing tests do not effectively test the code changed and/or updated documentation
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

Thanks for the feedback. I pushed a new commit, changing the filepaths to the Markdown files under docs/Rules.
I couldn't find the corresponding Markdown file for the https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Rules/AvoidAlias.cs rule. Any pointers if this is missing or does not exist?

Guys, can you either merge or reject? I'd like this closed...

@SydneyhSmith and @JamesWTruher we need to triage / merge this!

To me it sounds like we can close it since it's moved to an upstream source and the files here will vanish soon. Do you agree @sdwheeler ?

@bergmeister I agree. However, there is still the change to Utils/RuleMaker.psm1 that needs to be made. If we merge this then we get that change. The other doc will be delete in a month so the changes to it can be merged as is. The doc is already published to the live site at https://docs.microsoft.com/powershell/utility-modules/psscriptanalyzer/rules-recommendations. So the broken links are not an issue.


Build Error - Duplicate Routes

When running npm run build in the frontend directory, the following warnings are thrown:
9:38:01 AM: [WARNING] Duplicate routes found!
9:38:01 AM: - Attempting to create page at /docs/updated-tips/download-a-file/2-download-a-file, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-access-basic-auth/13-work-with-basic-auth, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-access-basic-auth/13-work-with-basic-auth, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-press-keyboard-keys/61-keyboard-keys, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-press-keyboard-keys/61-keyboard-keys, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-test-checkboxes/45-checkboxes, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-test-checkboxes/45-checkboxes, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-test-checkboxes/45-checkboxes, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-test-checkboxes/45-checkboxes, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-upload-a-file/1-upload-a-file, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-work-with-hovers/50-hovers, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-work-with-hovers/50-hovers, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-work-with-javascript-alerts/51-javascript-alerts, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/how-to-work-with-javascript-alerts/51-javascript-alerts, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/select-from-a-dropdown/5-select-from-a-dropdown, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/select-from-a-dropdown/5-select-from-a-dropdown, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/select-from-a-dropdown/5-select-from-a-dropdown, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/select-from-a-dropdown/5-select-from-a-dropdown, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/template/0-template, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/template/0-template, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/template/0-template, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/work-with-frames/3-work-with-frames, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/work-with-frames/3-work-with-frames, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/work-with-frames/3-work-with-frames, but a page already exists at this route.
9:38:01 AM: - Attempting to create page at /docs/updated-tips/work-with-frames/3-work-with-frames, but a page already exists at this route.
9:38:01 AM: This could lead to non-deterministic routing behavior.
9:38:01 AM: [info] [webpackbar] Compiling Client
9:38:01 AM: [info] [webpackbar] Compiling Server
9:38:36 AM: [success] [webpackbar] Client: Compiled successfully in 34.50s
9:38:41 AM: [ERROR] Docusaurus server-side rendering could not render static page with path /docs/non-updated-tips/oop/37-oop.
9:38:42 AM: [ERROR] Docusaurus server-side rendering could not render static page with path /docs/non-updated-tips/web-consistency-testing/62-web-consistency-testing.
9:38:44 AM: [success] [webpackbar] Server: Compiled with some errors in 42.63s
9:38:44 AM: Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
9:38:44 AM: Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
9:38:44 AM: [ERROR] Unable to build website for locale en.
9:38:44 AM: [ERROR] Error: Failed to compile with errors.
9:38:44 AM:     at /opt/build/repo/frontend/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
9:38:44 AM:     at /opt/build/repo/frontend/node_modules/webpack/lib/MultiCompiler.js:554:14
9:38:44 AM:     at processQueueWorker (/opt/build/repo/frontend/node_modules/webpack/lib/MultiCompiler.js:491:6)
9:38:44 AM:     at processTicksAndRejections (node:internal/process/task_queues:78:11)
9:38:44 AM: [INFO] Docusaurus version: 2.3.1
9:38:44 AM: Node version: v16.19.1
9:38:44 AM:
9:38:44 AM:   "build.command" failed
9:38:44 AM: ────────────────────────────────────────────────────────────────
9:38:44 AM:
9:38:44 AM:   Error message
9:38:44 AM:   Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
9:38:44 AM:
9:38:44 AM:   Error location
9:38:44 AM:   In Build command from Netlify app:
9:38:44 AM:   npm run build
9:38:44 AM:
9:38:44 AM:   Resolved config
9:38:44 AM:   build:
9:38:44 AM:     base: /opt/build/repo/frontend
9:38:44 AM:     command: npm run build
9:38:44 AM:     commandOrigin: ui
9:38:44 AM:     environment:
9:38:44 AM:       - NO_INDEX
9:38:44 AM:       - TARGET_URL
9:38:44 AM:     publish: /opt/build/repo/frontend
9:38:44 AM:     publishOrigin: default
9:38:45 AM: Caching artifacts
9:38:45 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)

Resolves #103

The doc's slug front matter customizes the last part of the route So I'm thinking the slug needs to be 3-work-with-frames-ruby, specifying the specific language so it's not the same.
I've done it for one tip and it's no longer duplicating.

@aquaomarine yep, every slug needs to be unique. Not sure if it would be easier to have one page per tip and just toggle languages in code examples using tabs: https://docusaurus.io/docs/markdown-features/tabs
We may have to rewrite the content, but it would make managing the pages less of a headache

Yeah this aligns more with Djangos design, and I think eventually we'll be heading that way but then we'll be scraping all the docs. Which should still be fine.

I think this should be reworked because the current structure shows several files inside a directory for each tip, with almost the same content but different code.
We should revisit and consolidate the content, then use the Tabs feature in Docusaurus to show the code.

Hey all, I'm reopning this issue. Still getting the duplicate routes warning which is causing server-side rendering issue again:
[WARNING] Duplicate routes found!
- Attempting to create page at /docs/python, but a page already exists at this route.
This could lead to non-deterministic routing behavior.

✔ Client

✖ Server
  Compiled with some errors in 42.87s

[ERROR] Docusaurus server-side rendering could not render static page with path /docs/non-updated-tips/oop/37-oop.

Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
    at /Users/jamestacker/Documents/saucelabs/elemental-next/frontend/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
    at /Users/jamestacker/Documents/saucelabs/elemental-next/frontend/node_modules/webpack/lib/MultiCompiler.js:554:14
    at processQueueWorker (/Users/jamestacker/Documents/saucelabs/elemental-next/frontend/node_modules/webpack/lib/MultiCompiler.js:491:6)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

@aquaomarine can you take a look at this, please? :)


hyprlang: 0.5.0 -> 0.5.1

Diff: https://github.com/hyprwm/hyprlang/compare/v0.5.0...v0.5.1
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This review has been done with warden, please report any issues!
Packages built

✅ hyprlang
nix-info -m

system: "x86_64-linux"
host os: Linux 6.1.77, NixOS, 24.05 (Uakari), 24.05.20240216.5863c27
multi-user?: yes
sandbox: relaxed
version: nix-env (Nix) 2.19.3
nixpkgs: /etc/nix/inputs/nixpkgs


Fix generate_unions_case for Rust case

Which issue does this PR close?

Closes #1676.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #1677 (2883adc) into master (03ab9a3) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1677      +/-   ##
==========================================
- Coverage   83.10%   83.01%   -0.10%
==========================================
  Files         193      193
  Lines       55881    55940      +59
==========================================
- Hits        46439    46436       -3
- Misses       9442     9504      +62

Impacted Files
Coverage Δ

arrow/src/datatypes/datatype.rs
60.36% <0.00%> (-6.04%)
:arrow_down:

arrow/src/datatypes/field.rs
54.21% <0.00%> (-2.23%)
:arrow_down:

arrow/src/util/integration_util.rs
68.53% <ø> (ø)

integration-testing/src/lib.rs
0.00% <0.00%> (ø)

arrow/src/array/transform/mod.rs
86.57% <0.00%> (-0.12%)
:arrow_down:

arrow/src/array/array_binary.rs
93.30% <0.00%> (ø)

arrow/src/array/array_string.rs
97.73% <0.00%> (ø)

arrow/src/array/array_list.rs
96.16% <0.00%> (+0.37%)
:arrow_up:

Continue to review full report at Codecov.

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

Merged, thanks @alamb !


data:ikembakwem

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Hey @ikembakwem, Your PR #4478 to add profile has already been merged, and your profile is live at https://linkfree.eddiehub.io/ikembakwem
So you can close this one, and if you need to make any changes in your profile you can follow the editing docs here.

I am closing this issue as @kumarsonsoff3 is correct.
@ikembakwem if you would like to make changes to your Profile then please follow @kumarsonsoff3 suggestion


self % does not make sense for backtrace

@apangin  sorry for another small change.  Its a one line change but let me know if you want to merge or add it by your self. It got slipped when I removed explicit backtrace option.

Why do you count self time manually at all instead of using Trie._self field?

you are right, I am using _self now.

I've committed the fix.


[bugfix] Fix language supporting setting in JiebaTokenizer

Proposed changes:

rename language_list to supported_language_list

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @degiz will take a look at it as soon as possible ✨

Please change the target to master or 2.1.x once I release Rasa Open Source 2.1 this afternoon.
@howl-anderson Seems like one test is currently failing

@wochinge Sorry for the late reply, I will try to fix it today.

@wochinge Please take a look!

Thanks for the fix 🚀


octetcs... what is?

Hello! I have a simple question, but I don't understand:
octets in metrics meaning is equals to bytes?
If true - why then octets are called that?
If false - what is that?
Thanks)

Octet is Byte. Named like that because Byte is 8 bits.
Why not name it just Bytes - I don't know.
ср, 12 февр. 2020 г., 13:58 Allineer<EMAIL_ADDRESS>
Hello! I have a simple question, but I don't understand:
octets in metrics meaning is equals to bytes?
If true - why then octets are called that?
If false - what is that?
Thanks)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexbers/mtprotoproxy/issues/192?email_source=notifications&email_token=AADHA7RGOU5CS4Y4XMH5WOLRCPW7HA5CNFSM4KTZITJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IM5WRBQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADHA7WB7UYDMDK7TJDWJLTRCPW7HANCNFSM4KTZITJA
.

The byte is not always 8 bit. From https://en.wikipedia.org/wiki/Byte:

The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer[1][2] and for this reason it is the smallest addressable unit of memory in many computer architectures.

The size of the byte has historically been hardware dependent and no definitive standards existed that mandated the size. Sizes from 1 to 48 bits have been used.

The term octet is used to unambiguously specify a size of eight bits. It is used extensively in protocol definitions.

Thank you, guys.


Ability to omit a special parameter name from functions

I have all my functions accepting an extra request parameter like follows:
exampleFunction(car, things, callback, result)
That result parameter is internal in code, but is not relevant to the API documentation.
exampleFunction(car, things, callback)
Is there a way to omit all parameters that match a certain variable name?

Epic fail on my part. ignore


FLINK-5731 Spilt up tests into three disjoint groups

We were running into build timeouts again recently on travis.
That's why I've split the tests into three groups (instead of two).
This means we'll have 12 test jobs (5 run concurrently)

I'm not sure if we want to merge this or not. It gives us only 10 more minutes on the slowest builds, so we'll run into the issue again at some point.

Ten minutes allows for a significant number of new tests. Alternatively, we did look at parallelizing the tests but there were some dependency issues and the PR expired in review.
This does need fixed, but as you note the longer we put this off the deeper we dig ourselves in a hole. Are we looking to split the libraries out of the main repo?

I think that 10 minutes are actually quite an improvement. Currently, the PR builds usually time out and we only see red crosses next to the PR (including this one ;)). I would certainly try this setup.
I also see that this is not a long term solution. @greghogan I don't know what the plans are about splitting the repository. The discussion stalled, because there was no solution that made all contributors/committers happy I think. I think we really need someone who can drive the discussion and has time available to try different setups, etc.

Thank you for your feedback. The feedback seems to be clearer than expected.
If there are no objections within the next days, I'll merge the change.

Since this is so easy to undo, I'll merge it for now. Lets see if people start complaining

Even with this in place, I am still regularly seeing timeouts on quite a few PRs. In addition to the travis queue being backed up, its taking 12+ hours to get feedback which is mostly just build timeouts :|

I agree that we have this issue again.
If you want faster feedback on your pull requests, I recommend setting up travis for your flink fork. Then, every time you push to your repo, you'll immediately start your own build.


fix datacenter_name methods not found bug in #ws_template_fileds _log

Purpose or Intent
In #ws_template_fileds it ask for datacenter_name for src we found, but when we would like to do a clone_to_vm src is a CloudManager::Vm objet it dosen't have datacenter_name methods. So I added a condition for this log to fix it.
Links

PR relevant issue or pull_request

Steps for Testing/QA

[Optional] Please tell me how to test a log message in MIQ if it's necessary

cc @syncrou

This PR has been replaced by #9557.


forge test -vvv keeps no trace of failed fuzzed test, picks random trace

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (6b3db2a 2022-08-19T13:22:07.65532Z)
What command(s) is the bug in?
forge test -vvv
Operating System
No response
Describe the bug
When a fuzzed test fails, the traces are shown from one random iteration, never the failed iteration. This has 2 consequences.

In a test run where a few iterations succeed, and a subsequent one fails, the traces seem to show a random trace of a successful fuzzed iteration. As such, it's hard to pinpoint the exact problem through the traces. The error message shows the arguments on which it fails, yet the test with that argument is not shown in the traces.
In a test run where the first iteration of a fuzzed test fails, no traces are shown. This makes me believe that on a failed test, no traces are kept (and thus, no traces can be shown).

The expected behavior would be to have the trace of the failed iteration shown.
To reproduce, I have a small repro here: https://github.com/j-vp/foundry-2848. This is a slightly modified version of the forge init project.
Upon launching a few forge test -vvv's, you'll notice that sometimes it doesn't show a trace and sometimes it does. When it doesn't show a trace, it will have args=[0] and runs: 0.
When it does show a trace, it will be a trace of a successful run and runs will be >0.
In the screenshot below, note the trace of a passed iteration, and the runs: 0 when no trace is shown.

Regression from #2819

right, we should favor failed over successful runs


Building traverse-with-class-<IP_ADDRESS> freezes on windows (ghc-8.6)

Copy of https://github.com/commercialhaskell/stackage/issues/4369
Building traverse-with-class freezes on Windows and only on ghc-8.6.
How to reproduce:
$ stack unpack traverse-with-class
$ cd traverse-with-class-<IP_ADDRESS>
$ stack build --resolver lts-12.26
...
ok!
$ stack build --resolver lts-13.7
...
[3 of 5] Compiling Data.Generics.Traversable.Instances ( Data\Generics\Traversable\Instances.hs, .stack-work\dist\e626a42b\build\Data\Generics\Traversable\Instances.o )
...freeze...

Yes, someone reported the same issue to me by email a few days ago.
This was my response:

That's strange—it compiles fine here with 8.6.3. I'm using Linux, but I don't think that should make a difference.
One thing you could try is removing different instances in that module to figure out which ones cause this issue—maybe that will provide some insight. You could also try various ghc flags for debugging the compiler (they usually start with -d) to see what exactly ghc is doing.
I'm guessing the looping comes from the Template Haskell code; so you could insert some debug prints there to see what's causing it to loop.
Let me know what you find.

You might also want to report this as a ghc bug and see what they think.

As I learned from @nc6 and @TerrorJack, this is a known bug of ghc 8.6.3 on windows: https://ghc.haskell.org/trac/ghc/ticket/16071


docs: fix typo for placeholder data

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add option to copy sender/recipient email addresses to clipboard

Hi,
I add an option to copy email addresses from the message header to clipboard.

Yes it was, i just removed it. Sorry.
I hope everything is correct.

That might be good now.

Squashed, cleaned up and merged: https://github.com/k9mail/k-9/compare/5fdc46386bb584dd74b4a479dadd46f34a234f2d...af7e0a1b70e178c6f11e21f3be721b67472de9b2


onkyo-eiscp version cannot be satistied

Home Assistant release (hass --version):
0.26.3
Python release (python3 --version):
Python 3.5.2
Component/platform:
media_player.onkyo
Description of problem:
The component requires onkyo-eiscp==0.9.2 but this is not supported (anymore), according to pip3:
  Could not find a version that satisfies the requirement onkyo-eiscp==0.9.2 (from versions: 0.9, 0.9.1, 1.0)
No matching distribution found for onkyo-eiscp==0.9.2

Problem-relevant configuration.yaml entries and steps to reproduce:
- name: onkyo
  platform: onkyo
  host: !secret onkyo_ip
  sources:
    strmbox: 'HTPC'
    cbl: 'TV'
    network: 'Network'
    internet-radio: 'Internet Radio'

Traceback:
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 335, in run
    prefix=options.prefix_path,
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 732, in install
    **kwargs
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 837, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1039, in move_wheel_files
    isolated=self.isolated,
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 247, in move_wheel_files
    prefix=prefix,
  File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme
    i.finalize_options()
  File "/usr/share/python-wheels/setuptools-20.7.0-py2.py3-none-any.whl/setuptools/command/install.py", line 38, in finalize_options
    orig.install.finalize_options(self)
  File "/usr/lib/python3.5/distutils/command/install.py", line 273, in finalize_options
    raise DistutilsOptionError("can't combine user with prefix, "
distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base
16-08-23 14:54:05 ERROR (MainThread) [homeassistant.bootstrap] Not initializing media_player.onkyo because could not install dependency https://github.com/danieljkemp/onkyo-eiscp/archive/python3.zip#onkyo-eiscp==0.9.2

We are using a fork of the onkyo lib that does have a 0.9.2: https://github.com/danieljkemp/onkyo-eiscp/tree/python3
This is a duplicate of your other issue #2948


Enable changing device name

Add support to change device name or at least be able to choose the FQDN if possible. This is pretty awesome.

Awesome, thank you. This is good.


Remove deprecated BinaryMessages

Description
This removes the deprecated BinaryMessages class and defaultBinaryMessenger getter that has reached the EOL .
Here is a table to reference the migrations for each:

Before
After

BinaryMessenger get defaultBinaryMessenger
Use ServicesBinding.instance.defaultBinaryMessenger

BinaryMessages
Use BinaryMessenger

static BinaryMessages.handlePlatformMessage
Use defaultBinaryMessenger.handlePlatformMessage

static BinaryMessages.send
Use defaultBinaryMessenger.send

static BinaryMessages.setMessageHandler
Use defaultBinaryMessenger.setMessageHandler

static BinaryMessages.setMockMessageHandler
Use defaultBinaryMessenger.setMockMessageHandler

Part of deprecations that are slated for removal for next release in https://flutter.dev/go/deprecation-lifetime
More context: https://medium.com/flutter/deprecation-lifetime-in-flutter-e4d76ee738ad
Related Issues
Deprecated in https://github.com/flutter/flutter/pull/38464
https://github.com/flutter/flutter/issues/73910
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

Depends on https://github.com/flutter/plugins/pull/3409

Depends on https://github.com/flutter/plugins/pull/3409

Customers are migrated. This is good to land. :)

Customers are migrated. This is good to land. :)


[BUG] Rejecting Associations is not working

Describe the bug
Rejecting an association request fails with message:
ERROR:root:{'approval_status': ['"REJECT" is not a valid choice.']}
To Reproduce
Steps to reproduce the behavior:

Initiate an association request between an mlcube or a dataset and a benchmark
Run the comand medperf association reject with the right arguments

Expected behavior
The association should be rejected successfully
Additional context
The problem is a small typo here:
https://github.com/mlcommons/medperf/blob/10432d7ce08fec2492a9e5a6d413fea767442bdf/cli/medperf/commands/association/association.py#L62-L63
It should be REJECTED instead of REJECT.

completed via #221


Consider implementing serialization for long and boolean tag values in the first release.

If the first stats library release doesn't support deserializing long and boolean tags, then it will have to ignore those tags when receiving tags from a client that is using a later version of the library.  I'm not sure how to implement deserialization, though, since the factory methods for TagKeyLong and TagKeyBoolean are currently package-private.

So if we do not implement right now the deserialization, we will have a bit to work because we will need to always put all the new fields at the end (you don't know how to skip a field with an unknown field id so we will drop everything up to the end).
Probably just skip these fields is good, don't necessary need to propagate them, though is better to do it if we can. Let's keep the work minimal and maybe skip them initially.

By implementing deserialization I mean skip the tags. Correct, if you add the full support later you will have problems with propagation because some services will drop them, but there is no other option (the same problem will apply if we start supporting doubles for example later). I think it is fine, we keep everything backwards compatible so we should be fine.

@bogdandrutu Thanks for the feedback.  I think skipping the tags makes sense.  We should at least add tests for deserializing TagContexts that contain other tag types, where the other types are between string tags or at the end.

We are no longer supporting non-string tags, but this issue still applies to any unknown TagContext fields.  fromByteArray should skip the rest of the input when it encounters an unknown field ID.

#715 implemented skipping unknown fields.


Improve the sql editor

It would be great to have a multi-line selector, as happens for example on notepad++, where by holding down the "Alt" key and selecting the lines with the mouse you can write simultaneously on several lines

Hello @pitanni,
You can activate block selection in Edit ⇒ Toggle Block Selection or by pressing Alt+Shift+A.
Let me know if your request was fulfilled.

Hi @ShadelessFox ,
thank you very much! I did not know this command.
is it possible to select on the last character of each line? (like on DataGrip)

Unfortunately, it is not possible :(


Settings for streaming quality

I would like settings for streaming quality in Wi-Fi/mobile network.
Auto/Always low/Always high quality (or similar)

At the moment the stream quality adapts to the network bandwidth available. As this is a nice default setting I will postpone this ticket.

After switching to exo player this feature could be implemented. See feature/quality-settings for code.

Hey @cemrich. I love your app. Great Work! I would be happy to implement this feature and to contribute to this project.

@userdimi This would be awesome!
I am integrating Travis CI right now and will merge the changes back into master the next view days. Also, streaming quality switching may conflict with the picture-in-picture work in progress at the feature/picture-in-picture branch.
I would like this functionality to have sane defaults and as few settings as possible. Youtube is always a good starting point to look for UX details.

@cemrich Glad to hear that you will use Travis CI for this project. I'm looking forward to see the result of your work. Please let me know when you are ready and I can start.

@cemrich Can you please take a look at the UX implementation and give me some feedback?
https://github.com/userdimi/zapp/tree/feature/video-quality

@userdimi Nice work! I commented on your code and merged the travis-ci branch back to master.
I created a pull request (marked with WIP and referencing this issue) where we can discuss implementation details. Thanks again for your work and feel free to ask any questions!

@cwmrich At the moment I stuck a little with implementation of the saving the selected video quality. Feel free to release the current state of the video quality settings feature. I think I need a little more time to finish the saving feature

@userdimi Sorry, but after careful consideration I had to ditch your implementation.
I used the track selector lo limit the video quality to lowest/medium/highest. This way the current quality can be persisted inside the preferences and used for non-HLS mediathek videos too. I think persisting the setting - especially for cellular networks - is more important than selection between all available tracks during playback.
Nevertheless, thanks again for your contribution!

Ok, nevermind. I your implementation looks also very good. Looking forward to see the feature in the next release.

This feature is implemented in v3.1.0 and will hit F-Droid soon.


Mling add handlerstats

Queue Handler statistics.  Cheap to hold and gather, useful when we care.

Comments from the review on Reviewable.io

Cool!
A couple of questions, and a wee suggestion for alternative names and a measured event.

src/handler/queue.ts, line 36 [r1] (raw file):
Lets add the algebraic relationships up here, e.g.
Let <= express that one set of events are a subset of another, and therefore should numerically be <=. The following should hold:
dropped_events <= queued_events
num_handlers_cleared <= num_handlers_set
And if we add the suggested events below:
handled_events <= (on_missing_handler + on_handler_set)
etc.

src/handler/queue.ts, line 44 [r1] (raw file):
I don't think I understand what following_queued_events is for... I think it might be better to have:
on_missing_handler // events we are told to handle while no event handler is set
on_handler_set // events we are told to handle when an event handler is set.
handled_events // all events handled.
dropped_events // events cleared from queue
events_rejected // events cancelled due to a handler change.
& the handlers set and cleared as you already have.

src/handler/queue.ts, line 194 [r1] (raw file):
tiny style nit: the if above has a return, so prefer this as just an if instead of else if, i.e.

if (this.stats_.num_handlers_set > 0) {
  this.stats_.following_queued_events++;
}

src/handler/queue.ts, line 230 [r1] (raw file):
Maybe add num_rejected_handlers ?  (will also need to be counted in stopHandling)

Comments from the review on Reviewable.io

src/handler/queue.ts, line 230 [r1] (raw file):
actually maybe a better name: events_rejected

Comments from the review on Reviewable.io

Just one piece of important feedback, otherwise generally looks good.

src/handler/queue.ts, line 36 [r1] (raw file):
I really think that would be overkill. Is anyone likely to think a queue should have more dropped events than handle events?

src/handler/queue.ts, line 44 [r1] (raw file):
This is the only field I'm a little wary of. It seems like you could just graph queued_events vs. num_handlers_set to see this, right? If you're maintaining a variable that can be calculated from a (very simple) combination of other variables, that's usually a smell.

src/handler/queue.ts, line 53 [r1] (raw file):
I don't think you need the constructor: the default values will be zero (and if you do want to explicitly initialise to zero, fine, but you can just do it in the declaration).

src/handler/queue.ts, line 172 [r1] (raw file):
nit: add the ()

ping!

Thanks, PTAL!

Comments from the review on Reviewable.io
Reviewed files:

src/handler/queue.ts @ r1

love the new names. :+1: from me.

src/handler/queue.ts, line 39 [r2] (raw file):
This is helpful to me, thanks!

Comments from the review on Reviewable.io

src/handler/queue.ts, line 40 [r2] (raw file):
There's something not right with this counter.
In general, counters that are the simple of two or more other counters are questionable because:

they waste space, as they can be computed from those other counters
it's surprisingly hard to get the counters exactly synchronised (exceptions can make this happen) and instrumentation is something you really want right and is easy to get right so long as you aren't trying to update one or more counters in multiple places

But this isn't even a simple sum of events -- it's conflating queuing and handling in a way I don't understand. Isn't queued_events + handled_events + rejected_events = total_events * 2?

src/handler/queue.ts, line 46 [r2] (raw file):
Suggestion: match the style of the comment to the previous counters:
// Ever-rejected-events (due to clearing the queue or changing the handler)

src/handler/queue.ts, line 51 [r2] (raw file):
Does the invariant still hold if I call stopHandling five times in a row?

Comments from the review on Reviewable.io
Reviewed files:

src/handler/queue.ts @ r2

src/handler/queue.ts, line 40 [r2] (raw file):
I was understanding this as at any point in time that formula holds. queued events can decrease as handled (or rejected) increases. Is that right? Needs more documentation if we're having this discussion :)

Comments from the review on Reviewable.io

src/handler/queue.ts, line 36 [r1] (raw file):
Some basic relationships could be helpful to make sure that we don't lose events in ways we don't understand (or forget to capture something in instrumentation).

src/handler/queue.ts, line 40 [r2] (raw file):
Ah, yeah, I see what's going on.  There are two different aspects here:  immediate dispensation (do we queue or immediately handle?) and handling (does the event, at some point, get handled or rejected?).  The current set conflate the two.
Ok, I'll fix that up.

src/handler/queue.ts, line 44 [r1] (raw file):
Following on the idea of a reliable handler (which queues until an event handler is invoked), following_queued_events was supposed to be a count of events that got queued, even though we'd had a handler set at some point prior.   So, if we thought that the handler queue would always have a handler set after some initial delay, following_queued_events would always be zero.
But, as it's this confusing, I've dropped it.

src/handler/queue.ts, line 51 [r2] (raw file):
It doesn't.  Yikes, does that happen?  Should it?

src/handler/queue.ts, line 189 [r1] (raw file):
Removed the block, after removing the counter.

src/handler/queue.ts, line 225 [r1] (raw file):
I called it handler_rejections, to distinguish between the handler promise and each event's promise.

Comments from the review on Reviewable.io

src/handler/queue.ts, line 51 [r2] (raw file):
Given we track handler rejections, I'd be ok removing the handler_clear_count. Not sure it tells us a huge amount.

Comments from the review on Reviewable.io

src/handler/queue.ts, line 36 [r1] (raw file):
Seem that it highlighted some bugs already; generally I am strongly in favour of making any algebra explicit. It teases out conceptual bugs and implementation ones.  We don't have to spell everything out, but key relationships help my understanding a lot.

Comments from the review on Reviewable.io

Clarified a bit more.

src/handler/queue.ts, line 36 [r1] (raw file):
I teased out some of the relationships a bit more, and cleaned up what was going on.

src/handler/queue.ts, line 40 [r2] (raw file):
Lemme know what you think.

src/handler/queue.ts, line 51 [r2] (raw file):
Talking to @trevj about this, I cleared up the semantics and teased out the Not-Set -> Set and Set -> Set transitions.

Comments from the review on Reviewable.io

LGTM. I think this will becomes more meaningful when we use it in performance benchmarking.


Adding Footer to Sketch Page🎉

Requirements

Add the same footer to all pages similar to present in the footer and editor.
But after the scroll bar issues is resolved proceed with this #871

Currenlty

Required

I would love to work on this too.

Sure after #871 work on this.

Can I work on this issue?

@smaranjitghose @anushbhatia can I work on this issue under GSSoC'21?

May I know why this issue was closed? I haven't  made the PR for it yet though.

Your deadline is over


Public map activites only viewable on topographic map

For the four basemap buttons on the public map, clicking the first three hides the activities. The fourth one shows the activities but forces you to use the topographic basemap. Should be able to view the activities on the satellite basemap also.

@plasticviking  Might be part of your current work

Yes, this will be fixed shortly.


CentOS 7 EOL affecting docker build

Bug Report
Due to CentOS 7 being EOL and the repos being taken down, docker image fails to build from scratch (see the error message below) due to unavailable base repository. If it would help, I may create a PR to migrate Dockerfile to Rocky Linux 8 or 9.
What version of TiKV are you using?
I tried building the docker image for various versions from scratch
What operating system and CPU are you using?
Ubuntu 24.04 / Ryzen 5950X on my development workstation.
Steps to reproduce

Clone the tikv repo.
Follow the CONTRIBUING.md doc on installing dependencies.
Run make docker

What did you expect?
The docker image would be built
What did happened?
Step 7/44 : RUN yum install -y epel-release &&     yum clean all &&     yum makecache
 ---> Running in b14cff9a0424
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors

 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

@wuhuizuo PTAL

/assign

/type enhancement
/remove-type bug

Any update on this?
One could update the yum repo files with working URL's, but probably best to unify Dockerfile and have both use rockylinux:9.


Unexpected Protostar error, expected exactly 1 expressions, got 5.

Protostar version

Name
Version

Protostar
0.4.2

Cairo-lang
0.10.0

Unexpected Protostar error. Report it here:
https://github.com/software-mansion/protostar/issues
test_staking_rewards.cairo:90:5: Expected exactly 1 expressions, got 5.
IStaking.add_token_pair(staking_contract_address, 15, staking_token_address, 30, reward_token_address);
^****************************************************************************************************^
I remember it was working previously. Interface and contract is right.

Can't reproduce. Can you share a link to your repo?

Can't reproduce. Can you share a link to your repo?

test => https://github.com/iamreadyi/cairo-synthetic-staking-and-lottery/blob/main/tests/test_staking_rewards.cairo#L76
relevant function => https://github.com/iamreadyi/cairo-synthetic-staking-and-lottery/blob/main/src/staking_rewards.cairo#L283

Current:
    func add_token_pair() -> (
        for_stake_token_name: felt,
        for_stake_token_address: felt,
        for_reward_token_name: felt,
        for_reward_token_address: felt,
    ) {
    }```

New:

func add_token_pair(
    for_stake_token_name: felt,
    for_stake_token_address: felt,
    for_reward_token_name: felt,
    for_reward_token_address: felt
    ) {
}

I think you might have confused the input with the return values here. Currently the function only expects the contract address as a parameter.

Thanks man. I need to take some break.

Current:
    func add_token_pair() -> (
        for_stake_token_name: felt,
        for_stake_token_address: felt,
        for_reward_token_name: felt,
        for_reward_token_address: felt,
    ) {
    }

New:
    func add_token_pair(
        for_stake_token_name: felt,
        for_stake_token_address: felt,
        for_reward_token_name: felt,
        for_reward_token_address: felt
        ) {
    }

I think you might have confused the input with the return values here. Currently the function only expects the contract address as a parameter.

thanks... i need some break.


SSLHandshakeException on java 8

java version: 1.8.0_101
error:
Exception in thread "main" java.lang.RuntimeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 	at com.splunk.HttpService.send(HttpService.java:451) 	at com.splunk.Service.send(Service.java:1295) 	at com.splunk.HttpService.post(HttpService.java:348) 	at com.splunk.Service.login(Service.java:1124) 	at com.splunk.Service.login(Service.java:1103) 	at com.splunk.Service.connect(Service.java:189) 	at com.splunk.examples.search_saved.Program.main(Program.java:61) Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 	at sun.security.ssl.Handshaker.activate(Handshaker.java:503) 	at sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1482) 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351) 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) 	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) 	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) 	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283) 	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258) 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) 	at com.splunk.HttpService.send(HttpService.java:445) 	... 6 more
More related info:
https://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html
https://blogs.oracle.com/java-platform-group/diagnosing-tls,-ssl,-and-https

Filed DVPL-7284 to address this

We've merged a fix for this issue - please let us know if you're still having difficulties.

I added splunk plugin today in Eclipse. Still getting issue.
Exception in thread "main" java.lang.RuntimeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
at com.splunk.HttpService.send(HttpService.java:345)
at com.splunk.Service.send(Service.java:1278)
at com.splunk.HttpService.post(HttpService.java:243)
at com.splunk.Service.login(Service.java:1109)
at com.splunk.Service.login(Service.java:1089)
at com.splunk.Service.connect(Service.java:183)
at Program.main(Program.java:27)

@mviramgama have you tried using TLS, see the ssl_protocols for examples of how to do so https://github.com/splunk/splunk-sdk-java/blob/master/examples/com/splunk/examples/ssl_protocols/Program.java

That is really good test program. But unfortunately it didn't work for me.
Your Java version is: 8
Now trying to connect to Splunk using SSLv3
	 Failure!
Now trying to connect to Splunk using TLSv1
	 Failure!
Now trying to connect to Splunk using TLSv1.1
	 Failure!
Now trying to connect to Splunk using TLSv1.2
	 Failure!
Now trying to connect to Splunk using a custom SSL only SSLSocketFactory
	 Failure!
Now trying to connect to Splunk using a custom TLS only SSLSocketFactory
	 Failure!

Finally it worked. My mistake was that I was setting port value as 443 SSL. When I removed that port setting then TLSv1, TLSv1.1, TLSv1.2, custom all are working.
Thanks shakeelmohamed  for your valuable help. Appreciated.


Externalise code block meta string translation

Description
With the use of rehype-pretty-code we can use the filterMetaString option to translate different meta strings to what rehype expects.
For example lines=[1,3] to {1,3}

See line 70 in md.server.ts

This has been implemented. Needs to be documented.


Fix Peer Metrics tests that fail intermittently

As per our discussion this is failing intermittently and like you said we should convert them to unit tests to reduce flakiness

@mseabornIBM Maybe you can refer to issue #775 for some details


Add yuidoc generation to brocfile

Don't merge. We need to wait for ember-cli-yuidoc to make the options available (https://github.com/cibernox/ember-cli-yuidoc/issues/21).

Thanks for the effort - I can tell these doc tasks are usually a pain ;) We'd also need to figure out how we actually want to document classes etc. as the class names that are used now (SimpleAuth.Session etc.) won't exist anymore in the future…

Oh yeah it was a pain.
We have to watch out for the new filename as well it's now dist/docs/index.html and i wonder how you treat the other packages (ember-cli-simple-auth-torii, etc.). They are all bundled in this addon, right?

Yes, there will also be one single bundle and only one API docs HTML.

What do you mean by "how we actually want to document classes"? As i see it, we should remove the @namespace and the box with "Standard AMD".

Right, that's what I meant. Just removing the @namespaces makes sense of course - guess I was just thinking too complicated…

There is an inconsistency with the imports in the examples and the ES6 import statements:
Examples: ember-simple-auth/
ES6: simple-auth/

ember-simple-auth will be the namespace for all the modules.

I'll open a new PR that uses ember-simple-auth and removes the @namespace

Should be fine to do everything in this I'd say.

What about the namespace of Authenticators, Authorizers, etc. Should they still exist?

The authenticators, authorizers and stores will be merged directly into the host application (see e.g. https://github.com/simplabs/ember-simple-auth/tree/ember-cli-addon/app/authenticators) and so shouldn't have a namespace as they'll actually be available under the app's own namespace.

got it!

Travis fails because of a timeout...

restarted the build manually…

@marcoow ready to merge.

@fsmanuel: how do I actually build the docs (I though ember docs)?

@fsmanuel: what's the command to run the docs generation?

@marcoow npm run docs

Ah, I see - thanks. Wouldn't it be nice to have a custom task like ember docs? Not sure whether that would be feasible though…

I will have a look at the ember commands and how ember-cli-yuidoc implements the ember g ember-cli-yuidoc command. I guess it should be easy to add ember docs that is an alias for ember build --docs -e docs. What I'm not sure about is if we expose that command to the host app...

It doesn't really seem clean to me to have a dedicated environment for docs. Is that actually necessary when there's a custom command instead?

I don't like the idea of a custom command because it would be exposed in every app that uses ember-simple auth and would probably fail in all that apps if invoked.
I used the environment to not generate docs on every build (e.g. Travis tests). I switched that to the way ember-cli-yuidocs does it Code.

OK, I see. The above was really more an unfiltered stream of thoughts I had about the topic - don't actually know much about custom tasks etc. in ember cli.


Ability to specify format of the output

PHP-CS-Fixer has the option to configure the output format  with --format (https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/doc/usage.rst#the-fix-command)
txt (default one), json, xml, checkstyle, junit and gitlab
currently i dont see an option to specify which output format to use which would be good to have in for example gitlab CI

At this time, we don't have plans for other formatters.

That damages utility for CI/CD tools - being able to format (e.g. as junit) allows CI tools to detect and report actual faults in a useful manner.
I'm happy to have a dig around and see what can be done to pass this flag through to php-cs-fixer and send a PR, but I won't bother if you're not wanting to support that passthrough.

It really depends of the amount of code we are talking about. Don't hesitate on making a POC so we can have an idea first/


m1n1: bump to 1.1.8

Bumping m1n1 to the latest version available

I just bumped it myself for the release I just made, but: keep in mind that we do not generally need to update m1n1 in the installer unless new features or bugfixes relevant to stage1 were added. This is to avoid prompting users to upgrade needlessly. So the version will remain at 1.1.8 until a change is made that is relevant to stage 1.


docs: Add missing changelogs pages in the overview page

These are already present in the side menu, but we forgot to add them to the overview page.

@mender-test-bot cherry-pick to:

3.7.x
hosted


running "markwiki -h",i met error,how to fix?

hi.
pip install markwiki
it shows:
...
Successfully installed MarkWiki Flask-Login Flask-WTF Whoosh WTForms
Cleaning up...
as3:~# markwiki -h

MARKWIKI_SETTINGS is not set (or has a bad file path). Using defaults ...
Creating the search index ...
Traceback (most recent call last):
File "/usr/local/bin/markwiki", line 9, in
load_entry_point('MarkWiki==1.3', 'console_scripts', 'markwiki')()
File "build/bdist.linux-i686/egg/pkg_resources.py", line 357, in load_entry_point
"""Return a readable file-like object for resource_name
File "build/bdist.linux-i686/egg/pkg_resources.py", line 2394, in load_entry_point

File "build/bdist.linux-i686/egg/pkg_resources.py", line 2108, in load
def eq(self, other):
File "/usr/local/lib/python2.7/site-packages/markwiki/init.py", line 37, in
import markwiki.views.core
File "/usr/local/lib/python2.7/site-packages/markwiki/views/core.py", line 16, in
from markwiki.wiki import WikiPage
File "/usr/local/lib/python2.7/site-packages/markwiki/wiki.py", line 8, in
from markwiki.renderer import render_markdown
File "/usr/local/lib/python2.7/site-packages/markwiki/renderer.py", line 10, in
wiki_link_extension = MarkWikiLinkExtension()
File "/usr/local/lib/python2.7/site-packages/markwiki/wikilinks.py", line 103, in init
super(MarkWikiLinkExtension, self).init(configs={
TypeError: must be type, not classobj
as3:~#

I cannot recreate the problem and I have not heard anything in over a year so I'm going to close this issue. If it's still a problem, please feel free to report in a new issue with additional information.


Removed prophecy bridge

This PR removes the prophecy bridge as it is now a core part of PHPUnit as of version 4.5
Fixes: https://github.com/sulu-io/sulu/issues/943

Can be merged after succeeding tests


Please add support for new BBC sounds (etc) onion site

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2019.10.22
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Example BBC sounds onion https://www.bbcnewsv2vjtpsuy.onion/sounds/play/b01jqjl5
Non-onion example of above https://www.bbc.co.uk/sounds/play/b01jqjl5

Description

The BBC has launched a new onion service.
Proxying youtube-dl over Tor Browser's tor connection fails with
$ youtube-dl -4 --geo-bypass --proxy "socks4a://<IP_ADDRESS>:9150" -F https://www.bbcnewsv2vjtpsuy.onion/sounds/play/b01jqjl5
[generic] b01jqjl5: Requesting header
WARNING: Falling back on generic information extractor.
[generic] b01jqjl5: Downloading webpage
[generic] b01jqjl5: Extracting information
ERROR: Unsupported URL: https://www.bbcnewsv2vjtpsuy.onion/sounds/play/b01jqjl5

Proxying over Tor Browser to the regular BBC sounds site works.
There are other sub-sites on the BBC that are related, that host radio programs etc.
These produce the same "Unsupported URL" error:
BBC Radio 4
https://www.bbcnewsv2vjtpsuy.onion/radio4
BBC Radio 4 Extra
https://www.bbcnewsv2vjtpsuy.onion/radio4extra
BBC Work Service Radio
https://www.bbcnewsv2vjtpsuy.onion/worldserviceradio
Cheers
Edit: For clarity, you need Tor Browser open when your are proxying over its Tor connection, then you just run youtube-dl with the proxy command above.

https://github.com/ytdl-org/youtube-dl/issues/18735


add offset to find* methods

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.08%. Comparing base (e548a5c) to head (735bf82).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #77      +/-   ##
============================================
+ Coverage     82.98%   83.08%   +0.09%
  Complexity      467      467
============================================
  Files            40       40
  Lines          1017     1023       +6
============================================
+ Hits            844      850       +6
  Misses          173      173

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


[bug][epub] ImportError: libQt5Core.so.5 when build epub

Raise ImportError: libQt5Core.so.5 when use gitbook epub to build epub,log as follow:
Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 401, in main
    plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1274, in run
    self.output_plugin.convert(self.oeb, self.output, self.input_plugin,
  File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/epub_output.py", line 203, in convert
    from calibre.ebooks.oeb.transforms.split import Split
  File "/usr/lib/calibre/calibre/ebooks/oeb/transforms/split.py", line 22, in <module>
    from calibre.ebooks.oeb.polish.split import do_split
  File "/usr/lib/calibre/calibre/ebooks/oeb/polish/split.py", line 13, in <module>
    from calibre.ebooks.oeb.polish.toc import node_from_loc
  File "/usr/lib/calibre/calibre/ebooks/oeb/polish/toc.py", line 22, in <module>
    from calibre.ebooks.oeb.polish.opf import set_guide_item, get_book_language
  File "/usr/lib/calibre/calibre/ebooks/oeb/polish/opf.py", line 10, in <module>
    from calibre.ebooks.oeb.polish.container import OPF_NAMESPACES
  File "/usr/lib/calibre/calibre/ebooks/oeb/polish/container.py", line 37, in <module>
    from calibre.ebooks.mobi.tweak import set_cover
  File "/usr/lib/calibre/calibre/ebooks/mobi/tweak.py", line 13, in <module>
    from calibre.ebooks.mobi.reader.mobi6 import MobiReader
  File "/usr/lib/calibre/calibre/ebooks/mobi/reader/mobi6.py", line 24, in <module>
    from calibre.utils.img import save_cover_data_to, gif_data_to_png_data, AnimatedGIF
  File "/usr/lib/calibre/calibre/utils/img.py", line 14, in <module>
    from PyQt5.QtCore import QBuffer, QByteArray, Qt, QIODevice
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory

test ok
root@7c895eea6ecd:/gitbook# gitbook epub .
info: 30 plugins are installed
info: 19 explicitly listed
info: loading plugin "search-plus"... OK
info: loading plugin "pageview-count"... OK
info: loading plugin "splitter"... OK
info: loading plugin "popup"... OK
info: loading plugin "sectionx"... OK
info: loading plugin "hide-element"... OK
info: loading plugin "tbfed-pagefooter"... OK
info: loading plugin "prism"... OK
info: loading plugin "sharing-plus"... OK
info: loading plugin "expandable-chapters"... OK
info: loading plugin "chapter-fold"... OK
info: loading plugin "accordion"... OK
info: loading plugin "back-to-top-button"... OK
info: loading plugin "sitemap-general"... OK
info: loading plugin "copy-code-button"... OK
info: loading plugin "expandable-chapters-small"... OK
info: loading plugin "fontsettings"... OK
info: loading plugin "theme-fexa"... OK
info: loading plugin "theme-default"... OK
info: found 10 pages
info: found 1 asset files
warn: "options" property is deprecated, use config.get(key) instead
warn: "options.generator" property is deprecated, use "output.name" instead
info: >> generation finished with success in 15.0s !
info: >> 1 file(s) generated

it is possible that a GitBook plugin is causing the error @sketchmind


www.tm.a.prd.aadg.trafficmanager.net www.tm.lg.prod.aadmsa.trafficmanager.net

www.tm.a.prd.aadg.trafficmanager.net
www.tm.lg.prod.aadmsa.trafficmanager.net
These are CNAMEs for login.live.com and login.microsoft.com
These break logging into Microsoft services such as Teams and Exchange and Outlook

@herndlm

@p1r473 thx and sorry for missing this


Add firefox compatibility

For firefox, an ID must be defined so that the webextension can use
the local storage. I defined a random one based on the project
name and author.
Also I defined a min version corresponding to the tests I was able
to do - it may be compatible to previous versions (tests needed).
Finally, it seems a CSS property causes issue with the textarea,
so I removed it. It seems to have no impact in Chrome ?
Now it is possible to (locally) load the extension in FF, however
only in local testing mode (it only lasts until FF restart).
To allow this extension to be used on Firefox for everybody in a
definitive way, there is a submission process so that this
extension is validated and signed by mozilla, and published
in https://addons.mozilla.org/fr/firefox/ :

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Publishing_your_WebExtension

@llange Are there people around you need this extension on firefox yet?
I guess that it does not work on firefox yet because it contains Chrome Sync processing.

@tilfin Yes I do have a need for it. I don't know who else but I'm sure somebody out there could use it on FireFox.
I just wanted to add that it does work now on FireFox - with the proposed modification - I'm using it daily.
FireFox have introduced their webextensions which are compatible (with small changes) with Chrome, Opera, Edge, ... Cf https://developer.mozilla.org/en-US/Add-ons/WebExtensions

@llange OK. I will take over your modification. I will release this addon once I prepare for it.


Use IDE Debugger

Hi everyone!!!
you know if it would be possible to connect a JavaScript Debug (from the ide) to the root and after that set breakpoint in the other app for debug simultaneously the whole system?
I've been trying for a couple of days but without getting any positive results...

I don't maintain this project very much anymore. The github.com/angular-microfrontends repo is the one we're trying to switch over to. This question might be better asked in single-spa Slack or single-spa-angular github


Update to gvisor release-20240916.0

This is the last version that supports Go 1.22
https://github.com/google/gvisor/compare/9f3309e5b121...a174eb65023f

/lgtm
/approve

Rebased

/lgtm


Indeterminate progress indicator for downloads

Describe the bug
When downloading maps, mods or a new game version the progress indicator in the status bar at the bottom of the client is indeterminate. This is inconvenient because you get no feedback how much the download progressed and if it is making progress at all. Interestingly it works as desired when downloading the next client version from inside the client.
To Reproduce
Download a sufficiently large file so you can get a good look at the progress indicator

The cloudflare CDN does not provide the Content-Length header to tell us how big the file is without downloading it, so have to figure out some other way to get the size of the files

This works for the largest files of the patches as they are not behind the CDN. For the others that are smaller I think the indeterminate is best for now.


Allow forcing WebGPU/WebGL on the web player, new command line argument to force graphics backend

What

Fixes #4898

Bunch of related things that go in here:

url parameter to force webgl/webgpu: &renderer=webgpu or &renderer=webgl
command line argument with similar syntax, can be used both for web player and native e.g. --force-renderer gl, --web-viewer --force-renderer webgpu
show webgpu/webgl url on crash
ui action for reloading webpage with webgpu or webl
updated trouble shooting docs on

Parsing of backend is actually fairly fuzzy but in docs I stick with wgpu names. Front facing we talk usually about "renderer" but internally we're more correct and call it "wgpu backend" which requires knowing a bit more about how things work.
https://github.com/rerun-io/rerun/assets/1220815/ae83d405-2541-4cc5-8a8f-59478a2437e9
Screen on crash:

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

url parameter to force webgl/webgpu: &renderer=webgpu or &renderer=webgl
command line argument with similar syntax, can be used both for web player and native e.g. --force-renderer gl, --web-viewer --force-renderer webgpu

Let's be consistent, and use --renderer

done, it's --renderer now


remove external builder bin release binary file Stat

Signed-off-by: kevinxiong<EMAIL_ADDRESS>

Type of change

Improvement (improvement to code, performance, etc)

Description

In core/container/externalbuilder/externalbuilder.go, we have three other functions: Detect, Build, and Run. They do not perform file bin/detect, bin/build, and bin/run existence detection, and they can safely run on various platforms. I haven't found the need for the Release function to check the file bin/release existence. If these code segments are removed, it can also be safely run on various platforms including windows.
reference: suspend external builder bin release binary file Stat on windows
https://github.com/hyperledger/fabric/pull/1155

See #1163.


[SPARK-9755][MLlib] Add docs to MultivariateOnlineSummarizer methods

Adds method documentations back to MultivariateOnlineSummarizer, which were present in 1.4 but disappeared somewhere along the way to 1.5.
@jkbradley

Merged build triggered.

Merged build started.

Test build #40206 has started for   PR 8045 at commit af67fde.

Test build #40206 has finished for   PR 8045 at commit af67fde.

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

Merged build finished. Test PASSed.

LGTM, merging with master and branch-1.5


Initial commit of Jenkins script + README

And a config description. This doesn't yet have much - first want to
make sure I can do the build job. Next I'll submit the e2e script with
its twiddles and switch those over. (After going to 3 e2es, I think
it's finally time for version control.)

PTAL. (Made the parallel section vague.)

PTAAL. Redid the parallel section and the GKE section per questions.

LGTM

Good to merge?


fix: activate document formatting by default

I found that this lsp doesn't do formatting in my neovim. After some investigation, I found it's becase document_formatting_provider is disabled in InitializeResult replied to lsp client (Its default value is None). After this change, document_formatting_provider in initializeResult replied to client is true, so it works now.
PS: I'm not a native English speaker and I haven't learnt rust before, forgive me if my PR is unproper.

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


update cards ui

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1082

Screencast from 12-09-23 14:37:57.webm

I can hardly read what is in the card when hovering over it, can't the background color be darker?

I can hardly read what is in the card when hovering over it, can't the background color be darker?

updated


Update secure-azure-computing-architecture.md

@kyle-hoyer : Thanks for your contribution! The author, @jahender, has been notified to review your proposed change.

#sign-off


Release sdk/resourcemanager/frontdoor/armfrontdoor v0.1.0

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run prepare-pipelines

/azp run go - armfrontdoor - ci

/check-enforcer override


Manufacturer data lost when present in both advertisement data and scan response data

Hi,
It seems that on Linux Noble tries to merge advertisement and scan response together, which is a good way to handle this. However, if manufacturerData is presence in both; advertisement and scan response Noble returns only scan response field. Issue is with gap.js, line 137:
https://github.com/sandeepmistry/noble/blob/master/lib/hci-socket/gap.js#L137
I believe that best way is to merge manufacturer data fields together, like it's done on iOS:
if (type === 0x04) {
  hasScanResponse = true;
} else {
  // reset service data every non-scan response event
  advertisement.serviceData = [];
  advertisement.serviceUuids = [];
  advertisement.manufacturerData = undefined;
}
...
case 0xff: // Manufacturer Specific Data
  if (advertisement.manufacturerData !== undefined) {
    advertisement.manufacturerData = Buffer.concat([advertisement.manufacturerData, bytes]);
  } else {
    advertisement.manufacturerData = bytes;
  }

The mac version shows different behaviour, It seems that I get two separate events for advertisement and scan response.
BR,
Krzysztof

@rosek86 can you please share an example of the manufacturer data in the advertisement data and scan data, and how CoreBluetooth on iOS and OS X report it?

@sandeepmistry This is something I get on OS X:
Advertisement:  <Buffer 54 44 01 d4 21 54 00 42 03 01 00 00 00 13 00 02 00 00>
Scan response: <Buffer 54 44 01 3b 3d 28 85 35 dd>
There are two separate events, first two bytes is manufacturer identifier which in this case is the same. The iOS merges advertisement and scan response manufacturer data into single field, removing second redundant manufacturer identifier.
"kCBAdvDataManufacturerData": <544401d4 21540042 03010000 00130002 0000013b 3d288535 dd>]
Then on linux noble returns only scan response data:
<Buffer 54 44 01 3b 3d 28 85 35 dd>
I haven't checked what iOS does if manufacturer identifier is different in advertisement and scan response.

@rosek86 thanks for sharing more details.

I haven't checked what iOS does if manufacturer identifier is different in advertisement and scan response.

Could you please get more details this? Once we know the behaviour, it's a straightforward change to make ...

@sandeepmistry sorry for late reply with this, this is how this looks with different manufacturer identifiers compared to the same manufacturer identifiers:
<5444010d ff62005c 03002100 00010000 00 554501 bf73fe1d cfcd> - 5444, then 5545
<54440100 ff62005c 03001f00 00010000 00          01 bf73 fe1dcfcd> - 5444, then 5444
iOS simply adds manufacturer data content if identifiers are the same, but when they're different it adds seconds manufacturer together with the scan response data.
BR, Krzysztof

@rosek86 I've pushed https://github.com/sandeepmistry/noble/commit/7b633c6b5df80a81710c10abb6b877e89645a871 to the combine-manufacturer-data branch for this behaviour on Linux.
Which version of OS X are you testing with? With noble on OS 10.11.3 I do not see OS X combining the manufacturer data ...

@sandeepmistry Did I mention that OS X combinating the manufacturer data? Please check my post from 24th Jan.
The OS X gives two separate buffers for advertisement and scan response, iOS merges these data into one buffer. I believe that the best way to handle manufacturer data is what iOS does,- combinate these buffers together. However two separate buffers would do too, as long as this is consistent for all platforms.
I think your commit looks good but you don't check manufacturer identifier before slicing it. I think this should look like this if we'd use iOS version:
if (advertisement.manufacturerData) {
  var data = (bytes.readUInt16LE(0) === advertisement.manufacturerData.readUInt16LE(0) ? bytes.slice(2) : bytes);
  advertisement.manufacturerData = Buffer.concat([
    advertisement.manufacturerData,
    data
  ]);
} else {
  advertisement.manufacturerData = bytes;
}

And similar on OS X. I can have a look on OS X code and do a pull request for that if you like, but please confirm if you'd like to go with iOS version first.

@rosek86 I had forgot to refer to the comments from earlier and was looking at the title. I will update the title accordingly to reflect this.
Your feedback to check for the company needs to be incorporated.

Is there any traction for this change ?
Relate-to: https://github.com/abandonware/noble/issues/11
Relate-to: https://github.com/abandonware/noble/commit/7b633c6b5df80a81710c10abb6b877e89645a871


[suggestion] Please implement the ability to disable auto scroll in console

Please implement the ability to disable auto scroll in console.
This would be very helpful for me because I often tend to scroll up to see anti-cheat logs etc.
When anyone does anything on the server it gets scrolled right back down to the bottom.
Currently the only effective way to see log without auto scroll is to view the latest.log file in JPanel.
I'd be fine with just a simple <a href> some where beside "Terminal" to enable or disable auto scroll.

@rymate1234 are you still working on this project, this "issue" is of top importance for me compared to the other thing's I have brought up since May. I would work on the project myself and send a pull request but I don't really understand the code that well. Please fix this and maybe try to fix the problem where it'll try to view binary files (such as jar files) like a config file in file manager if you click on it, because that is a data hog when that happens.


[GSOC] 227-handwritten-english-text-recognition

This notebook is part of the GSOC pre-requisite task where I implemented handwritten-english-recognition-0001 model. The following model is used to recognize English text from a piece of handwriting.
Main steps covered in the notebook

Download the XML file of the pre-trined model using the omz-downloader tool.
Load the model with the required precision and get the shape for the input and output layer
Resize the input image(handwriting) into the input shape of the model and feed the input to the model
Decode the result obtained from the model.

Screenshot of the last cell:

Hi @DeewakarChakraborty. Thank you for your contribution. As this notebook is very similar to 209 we decided not to merge it.