Fix wallet restore

This starts from #312 and fixes the restoration of the wallet.
@tiero do you want to test this out?
I made several tries to check if all works as expected. For each of the following situations I tried to complete the flow in order to broadcast at least 2 trades (1 BUY and 1 SELL):

new wallet from scratch
restart (start-stop-start) with already used wallet
restore already used wallet
restart from restored wallet (start-with-restore-stop-start)

This makes the HTTP request timeout configurable while previously was hardcoded to 3 secs and was cause of problems when using Esplora explorer.
Also, this introduces the usage of circuit breaker pattern to retry failing HTTP requests when fetching/restoringthe utxo set.
What I noticed:
sometimes (but it might actually  be everytime), with a new wallet from scratch, the TradePropose RPC fails with some Invalid prefix... error. When that happens I just restart the daemon so it re-builds the utxo set and everything works fine then. Would be nice if someone replicated this. I suspect the problem could come from the ClaimDeposit RPC(s)
EDIT: fixed.

as discussed offline we must:
a) make the timeout ot the httputil package configurable and increase to something like 15 seconds
b) add a circuit breaker meachism with a reasonable number of max requests, before declare Esplora in faulty state

Would you update the PR description?

Invalid prefix... error. When that happens I just restart the daemon so it re-builds the utxo set and everything works fine then. Would be nice if someone replicated this. I suspect the problem could come from the ClaimDeposit RPC(s)

I also noticed this, definitely  looks like there is some issue with ClaimMarketDeposit or ClaimFeeDeposit, since when i run ReloadUtxo RPC it works fine.

Also I think we are not doing transitions of uxtos properly, PSB bellow output of ListUtxos after one trade:
{
  "info_per_account": {
    "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000": {
      "unspents": [
        {
          "outpoint": {
            "hash": "f96df2e95410dd3fb98db3f2a2cbc51a7d50979ea7f842ae787a220fbed69058",
            "index": 4
          },
          "value": "99998700",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        }
      ],
      "spents": [],
      "locks": [
        {
          "outpoint": {
            "hash": "5611ffa3bc2ea1c71a30d311bd04c4419aa1572256b5450196ced3f3ae758089",
            "index": 1
          },
          "value": "100000000",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        },
        {
          "outpoint": {
            "hash": "f858674f496331c4009fc2f08b8cef8794fe3ebbf84a586337d150c9ce9657cd",
            "index": 4
          },
          "value": "99999350",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        }
      ]
    },
    "\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000": {
      "unspents": [
        {
          "outpoint": {
            "hash": "360be2881000e6473cd2a9f71204e60e85778f65dbda558cf5ddd9ea4a54a260",
            "index": 0
          },
          "value": "100000000",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        },
        {
          "outpoint": {
            "hash": "f858674f496331c4009fc2f08b8cef8794fe3ebbf84a586337d150c9ce9657cd",
            "index": 3
          },
          "value": "18458740671000",
          "asset": "f609439a7c41e2ebb580f8ebbf14b92e56939de4c71dc6abd9f0dd6f3dea45ab"
        },
        {
          "outpoint": {
            "hash": "f96df2e95410dd3fb98db3f2a2cbc51a7d50979ea7f842ae787a220fbed69058",
            "index": 2
          },
          "value": "876795701805",
          "asset": "f609439a7c41e2ebb580f8ebbf14b92e56939de4c71dc6abd9f0dd6f3dea45ab"
        },
        {
          "outpoint": {
            "hash": "f96df2e95410dd3fb98db3f2a2cbc51a7d50979ea7f842ae787a220fbed69058",
            "index": 3
          },
          "value": "5000000",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        }
      ],
      "spents": [],
      "locks": [
        {
          "outpoint": {
            "hash": "3076c2cab70a33ac4127bc6396220882c2cea8a768cafc389eea1f469c3df16d",
            "index": 1
          },
          "value": "20300000000000",
          "asset": "f609439a7c41e2ebb580f8ebbf14b92e56939de4c71dc6abd9f0dd6f3dea45ab"
        },
        {
          "outpoint": {
            "hash": "f858674f496331c4009fc2f08b8cef8794fe3ebbf84a586337d150c9ce9657cd",
            "index": 2
          },
          "value": "10000000",
          "asset": "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
        }
      ]
    }
  }
}

as discussed offline we must:

a) make the timeout ot the httputil package configurable and increase to something like 15 seconds
b) add a circuit breaker meachism with a reasonable number of max requests, before declare Esplora in faulty state

Done. The default req timeout is now 15 secs and configurable via env var. The circuit breaker opens the circuit when more than 20 requests have been made with a failure ratio of the 70%. Is it fine?

Merged into #312. Closing.


Error: flag provided but not defined: -read-dbrps

I tried to create an read only API key as described here in the docs
I am getting the attached output.
I am guessing that either the docs or the implementation are wrong about the s at the end of --read-dbrps.

COMMON OPTIONS:
   --host value                     HTTP address of InfluxDB [$INFLUX_HOST]
   --skip-verify                    Skip TLS certificate chain and host name verification [$INFLUX_SKIP_VERIFY]
   --configs-path value             Path to the influx CLI configurations [$INFLUX_CONFIGS_PATH]
   --active-config value, -c value  Config name to use for command [$INFLUX_ACTIVE_CONFIG]
   --http-debug
   --json                           Output data as JSON [$INFLUX_OUTPUT_JSON]
   --hide-headers                   Hide the table headers in output data [$INFLUX_HIDE_HEADERS]
   --token value, -t value          Token to authenticate request [$INFLUX_TOKEN]

OPTIONS:
   --org-id value                 The ID of the organization [$INFLUX_ORG_ID]
   --org value, -o value          The name of the organization [$INFLUX_ORG]
   --user value, -u value         The user name
   --description value, -d value  Token description
   --write-bucket value           The bucket id
   --read-bucket value            The bucket id
   --operator                     Grants all permissions in all organizations
   --all-access                   Grants all permissions in a single organization
   --read-authorizations          Grants the permission to read authorizations
   --write-authorizations         Grants the permission to create or update authorizations
   --read-buckets                 Grants the permission to perform read actions against organization buckets
   --write-buckets                Grants the permission to perform mutative actions against organization buckets
   --read-dashboards              Grants the permission to read dashboards
   --write-dashboards             Grants the permission to create or update dashboards
   --read-orgs                    Grants the permission to read organizations
   --write-orgs                   Grants the permission to create organizations
   --read-tasks                   Grants the permission to read tasks
   --write-tasks                  Grants the permission to create or update tasks
   --read-telegrafs               Grants the permission to read telegraf configs
   --write-telegrafs              Grants the permission to create telegraf configs
   --read-users                   Grants the permission to read users
   --write-users                  Grants the permission to create or update users
   --read-variables               Grants the permission to read variables
   --write-variables              Grants the permission to create or update variables
   --read-secrets                 Grants the permission to read secrets
   --write-secrets                Grants the permission to create or update secrets
   --read-labels                  Grants the permission to read labels
   --write-labels                 Grants the permission to create or update labels
   --read-views                   Grants the permission to read views
   --write-views                  Grants the permission to create or update views
   --read-documents               Grants the permission to read documents
   --write-documents              Grants the permission to create or update documents
   --read-notificationRules       Grants the permission to read notificationRules
   --write-notificationRules      Grants the permission to create or update notificationRules
   --read-notificationEndpoints   Grants the permission to read notificationEndpoints
   --write-notificationEndpoints  Grants the permission to create or update notificationEndpoints
   --read-checks                  Grants the permission to read checks
   --write-checks                 Grants the permission to create or update checks
   --read-dbrp                    Grants the permission to read dbrp
   --write-dbrp                   Grants the permission to create or update dbrp
   --read-annotations             Grants the permission to read annotations
   --write-annotations            Grants the permission to create or update annotations
   --read-sources                 Grants the permission to read sources (OSS only)
   --write-sources                Grants the permission to create or update sources (OSS only)
   --read-scrapers                Grants the permission to read scrapers (OSS only)
   --write-scrapers               Grants the permission to create or update scrapers (OSS only)
   --read-notebooks               Grants the permission to read notebooks (OSS only)
   --write-notebooks              Grants the permission to create or update notebooks (OSS only)
   --read-remotes                 Grants the permission to read remotes (OSS only)
   --write-remotes                Grants the permission to create or update remotes (OSS only)
   --read-replications            Grants the permission to read replications (OSS only)
   --write-replications           Grants the permission to create or update replications (OSS only)
   --read-flows                   Grants the permission to read flows (Cloud only)
   --write-flows                  Grants the permission to create or update flows (Cloud only)
   --read-subscriptions           Grants the permission to read subscriptions (Cloud only)
   --write-subscriptions          Grants the permission to create or update subscriptions (Cloud only)

Error: flag provided but not defined: -read-dbrps
I have no name!@93ac3f1f09c0:/$ influx version
Influx CLI v2.6.1 (git: 61c5b4d) build_date: 2023-03-30T09:29:16Z

Hey @jonathan-dev, thanks for the report. The implementation is wrong here since all the other commands are plural. That being said, I'd rather not break compatibility with any scripts/etc people might have, so I think a docs update is ultimately the correct fix.
If you're interested in submitting a PR, this would be the file to change. If not, I'll update it whenever I do my next set of docs updates.


Update gas estimation to correspond with app

Implementation ideas
After https://github.com/celestiaorg/celestia-app/pull/2116, celsetia-node should update the gas estimation to be more precise.
cc @vgonkivs

@cmwaters can you please make EstimateGas public? So Celestia-Node will not copy paste it but invoke from app directly.

Sure. I'm just going to do a bit more modelling of gas calculations and then I should be good


change taking path to taking buffer

@ielis I could not find any convenient way to take a buffer instead of a path. How would you deal with it in a method such as this:
def load_data_using_data_model(
        path: Union[str, Path],
        data_model: DataModel,
        column_names: Dict[str, str],
        compliance: Literal['lenient', 'strict'] = 'lenient',
) -> DataSet:
    """Loads data from a file using a DataModel definition

    List a column for each field of the `DataModel` in the `column_names` dictionary. The keys of the dictionary should
    be {id}_column for each field and the values should be the name of the column in the file.

    E.g.:
    ```python
    data_model = DataModel("Test data model", [DataField(name="Field 1", value_set=ValueSet())])
    column_names = {"field_1_column": "column_name_in_file"}
    load_data_using_data_model("data.csv", data_model, column_names)
    ```

    :param path: Path to  formatted csv or excel file
    :param data_model: DataModel to use for reading the file
    :param column_names: A dictionary mapping from the id of each field of the `DataField` to the name of a
                        column in the file
    :param compliance: Compliance level to enforce when reading the file. If 'lenient', the file can have extra fields
                        that are not in the DataModel. If 'strict', the file must have all fields in the DataModel.
    :return: List of DataModelInstances
    """
    if isinstance(path, Path):
        pass
    elif isinstance(path, str):
        path = Path(path)
    else:
        raise ValueError(f'Path must be a string or Path object, not {type(path)}')

    # check column_names is in the correct format
    if isinstance(column_names, MappingProxyType):
        column_names = dict(column_names)
    for f in data_model.fields:
        if f.id not in column_names.keys() and f.id + "_column" not in column_names.keys():
            raise ValueError(f"Column name for field id: {f.id} name: {f.name} not found in column_names dictionary,"
                             f" list it with the key '{f.id}_column'")
        elif f.id + "_column" in column_names.keys():
            column_names[f.id] = column_names.pop(f.id + "_column")

    data_model_instances = []

    for i in range(len(df)):  # todo: change to iter also non tabular data
        values = []
        for f in data_model.fields:
            column_name = column_names[f.id]

            pandas_value = loc_default(df, row_index=i, column_name=column_name)

            if not pandas_value or (isinstance(pandas_value, float) and math.isnan(pandas_value)):
                continue

            value_str = str(pandas_value)
            value = parsing.parse_value(value_str=value_str, resources=data_model.resources, compliance=compliance)
            values.append(DataFieldValue(row_no=i, field=f, value=value))
        data_model_instances.append(
            DataModelInstance(
                row_no=i,
                data_model=data_model,
                values=values,
                compliance=compliance)
        )

    return DataSet(data_model=data_model, data=data_model_instances)

I would welcome your feedback

I have a similar routine here:
https://github.com/monarch-initiative/gpsea/blob/develop/src/gpsea/util.py
and a few tests here (but only for the buffer part...):
https://github.com/monarch-initiative/gpsea/blob/develop/tests/test_util.py


Wrong Format in the part of error response

format is incorrect.
What I see is:
Read the [Error Responses][error-response] topic for more info about how errors are returned. [error-response]: ../concepts/errors.md [item-resource]: ../resources/driveitem.md [folder-facet]: ../resources/folder.md

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

ID: e8e0c33b-73b9-4086-4fa3-c54b701d9695
Version Independent ID: 869bb2ba-3e32-36c9-7b4f-3875b6c5c277
Content: Create a new folder - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/driveitem_post_children.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Add SwiftLint to build script

As discussed in #79 and here, adding SwiftLint as a build script will reduce regression SwiftLint errors. This build script does check the entire SwiftGen project and I've added the following exclusions (to the .swiftlint.yml file) with the following reasons:
disabled_rules:
  - force_try
  - force_cast
  - variable_name

force_try - Used in some unit tests to create result objects
force_cast - Used here and here
variable_name - Used sensibly here

This does result in 242 issues, maybe we can find a way of just checking the expected folder?

great work thx!
I think we might get rid of the try! calls by replacing them with guard try? … else { fatalError("some explicit message") } instead, which would both satisfy SwiftLint and make better error messages, as I hate killing ponies :wink:

This does result in 242 issues, maybe we can find a way of just checking the expected folder?

You can use swiftlint lint --path …/expected for that.
The main concern is indeed to ensure the code generated by SwiftGen match SwiftLint styling rules, so the expected folder is indeed the most important one to check. But it would be cool to make the codebase of SwiftLint itself cleaner by addressing those 242 warnings too.
I think we could use swiftlint lint --strict --path …/path/to/expected in the .travis.yml file, so that Continuous Integration only check for expected folder, but fail even on warning (--strict).
And then use swiftlint in the Script Build Phase to check the whole codebase (and not just expected) but only warn and not fail, and (later?) address those lint warnings in the SwiftGen codebase itself.

I just realized a problem: swiftlint won't be able to lint the files in UnitTests/expected because those files have the .swift.out extension, not just .swift, so they are discarded by SwiftLint and not analyzed. SwiftLint only analyze files having the .swift extension.
So I'm not sure there is a proper way to validate that the templates or their output does not violate SwiftLint rules. Maybe there is hope with the swiftlint lint --use-stdin somehow, but not with swiftlint directly analyzing the files.

Hi @AJ9
I finally took the time to merge this. In fact I reintegrated SwiftLint the way you started to do it (but in my own branch to start anew since your branch started to be a bit behind the latest merged PRs), and in addition I added linting for both the templates and the SwiftGen code itself, and fixed all the warnings & errors generated by the listing.
Thanks again for taking a stab at it!


Upload WandaBroker

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

continuous-integration/travis-ci/pr — The Travis CI build failed
whats that

why fails?


Update to Safe Ecosystem Foundation in LICENSE

Adds Safe Ecosystem Foundation as organization in LICENSE.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.07%) to 91.195%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/entities/tests/human-description.builder.ts
1
90.0%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
4986

Relevant Lines:
5334

💛  - Coveralls


@ngtools/webpack can't  load a module when AOT

Please provide us with the following information:

OS?

Windows  10

Versions.
"@angular/compiler": "~2.2.3",
"@angular/compiler-cli": "~2.2.3",
"@ngtools/webpack": "^1.1.6",
"webpack": "^2.1.0-beta.27",
Repro steps.
webpack.aot.ts
let webpackConfig = {
    entry: {
        polyfills: './src/polyfills.ts',
        vendor: './src/vendor.ts',
        app: './src/main.ts'
    },
    output: {
        publicPath: 'aot/',
        path: path.resolve(__dirname, './aot')
    },
    plugins: [
        new AotPlugin.AotPlugin({
            tsConfigPath: './ts-aot.json',
            entryModule: path.join(process.cwd(), 'src', 'app', 'app.module') + '#AppModule'
        }),

    ],
}

app.router.ts
export function loadHome(){ return HomeModule }
{ path: 'home', loadChildren:  loadHome },
import { Routes } from '@angular/router';

import { AboutComponent } from './components/about/about.component';
import { contactComponent } from './components/contact/contact.component';
import { HomeModule } from './components/home/home.module';

import { ListComponent } from './components/home/list/list.component';
import { DetailComponent } from './components/home/detail/detail.component';

export function loadHome(){ return HomeModule }

export const rootRouterConfig: Routes = [
    { path: '', redirectTo: 'home', pathMatch: 'full' },
    { path: 'home', loadChildren:  loadHome },
    { path: 'about', component: AboutComponent},
    { path: 'contact', component: contactComponent },

    {
        path:'news', loadChildren: './components/news/news.module#NewsModule'
    }
];

The log given by the failure.
 webpack --config webpack.aot.ts

src/app/app.module#AppModule  --entry
StaticSymbol {
  filePath: 'D:/code/angular2/Angular-webpack-AOT/src/app/app.router.ts',
  name: 'loadHome',
  members: undefined } ' --entry'
TypeError: entry.split is not a function
    at Function.ModuleRoute.fromString (D:\code\angular2\Angular-webpack-AOT\node_modules\@ngtools\webpack\src\plugin.js:25:27)
    at D:\code\angular2\Angular-webpack-AOT\node_modules\@ngtools\webpack\src\plugin.js:245:34
    at Array.map (native)
    at AotPlugin._processNgModule (D:\code\angular2\Angular-webpack-AOT\node_modules\@ngtools\webpack\src\plugin.js:244:14)
    at D:\code\angular2\Angular-webpack-AOT\node_modules\@ngtools\webpack\src\plugin.js:218:39
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:607:11)
    at run (bootstrap_node.js:420:7)
    at startup (bootstrap_node.js:139:9)
    at bootstrap_node.js:535:3

npm ERR! Windows_NT 10.0.14971

Mention any other details that might be useful.
I want use @ngtools/webpack to complier AOT and loadChildren, but it only used by sting
loadChildren: './components/news/news.module#NewsModule', not work when i used
export function loadHome(){ return HomeModule }  { path: 'home', loadChildren:  loadHome },.

Where are those logs from?

@kunl try to change the path from loadChildren: './components/news/news.module#NewsModule' to loadChildren: 'app/components/news/news.module#NewsModule' or loadChildren: 'src/app/components/news/news.module#NewsModule'. I can't surely remember which of the two it is, but I had a similar issue with these little pitas. Relative doesn't seem to work for some odd reason.

@hansl  @borislemke
when i use router  like this
import { HomeModule } from './components/home/home.module';
export function loadHome(){ return HomeModule }
[{ path: 'home', loadChildren: loadHome }]

I have the same problem. When I define a route like { path: 'lazyModule', loadChildren: loadLazyModule} (which is allowed according to the angular source) webpack fails with the error message entry.split is not a function
This is because the reference to the function, i.e. {"filePath":"C:/Users/user/Project/routes.ts","name":"loadLazyModule"} is passed to ModuleRoute.fromString in AotPlugin._processNgModule
I can provide further information if necessary

@kunl You need to return NgModuleFactory instead of NgModule in aot https://github.com/angular/angular/issues/11075#issuecomment-272384125
@hansl webpack plugin should automatically rewrite
export function loadProfileModule() {
	return ProfileModule;
}

into
export function loadProfileModule() {
	return ProfileModuleNgFactory;
}

similar to bootstrapModule and bootstrapModuleFactory

Closing as outdated. If this still happens, please let me know.


Fixed bug - No rule to make target 'stream_infer', needed by 'all'

System: Ubuntu 16.04 native
User account: Admin, but not the same admin account in which sdk was installed
Steps to reproduce:
cd ~/workspace
git clone https://github.com/movidius/ncappzoo
cd ncappzoo
make (or make all)

Error log: stream_infer_make_errorlog.txt
NOTE: make run works fine without this fix.

Adding pull request changes


Allow to match sockets using ServerSocketPredicate

Fixes #24

@ralscha I tried to implement your idea https://github.com/cettia/cettia-java-server/issues/22#issuecomment-408596569 when you get a chance. Could you review this PR? The following methods are added in Server:

Sentence select(ServerSocketPredicate predicate);
Server select(ServerSocketPredicate predicate, SerializableAction<ServerSocket> action);

For example, it can be used to implement 'send except me' like this.
String exclude = socket.id();
server.select(s -> !s.id().equals(exclude)).send("chat", msg);

Here are some points:

ServerSocketPredicate will extend Function<ServerSocket> of Java 8 after dropping support for Java 7.
Javadoc will be replaced and unit tests will be added in 1.1.0.

Hi
Looks very good.
I was thinking about the name select. It does not really match with all. Maybe some would be a better name. I'm not a native english speaker, so I'm not sure if this makes more sense or maybe there is a better word.
//send message to some clients
server.some(s -> !s.id().equals(exclude)).send("chat", msg);
//send message to all clients
server.all().send("chat", msg);

I'm not a native English speaker too ;) I was thinking a verb is better than a noun since it accepts a predicate and any other selectors can be built on top of that method.
Now I'm thinking that find may be better than select simply because there are too many variable names starting with s e.g. socket, skt, s, server.  🙃

Great! Thanks for your opinion.


Cannot login into Trakt via Extension

After loading the unpacked extension in Chrome.
Login to Trakt.tv takes me to popup with Trakt login page authorization for traktflix.
After login popup goes away but the extension is not authorized..
Please help!

same thing here. but on Edge beta

That's because the API is still down: https://status.trakt.tv/


Proposal for Implementing VRAM Tile Modification Script in GBStudio

My name is Max, and I am an enthusiastic user of GBStudio. I would like to propose a feature that I believe could greatly enhance the creative possibilities for GBStudio users: the ability to modify VRAM tiles through a script.
Feature Description: The proposed feature would allow users to dynamically modify VRAM tiles, with the option to select the VRAM Bank (0 or 1) and use a PNG file for the VRAM. Additionally, it is essential to have the capability to modify original GBStudio data, such as dialogues. This capability would enable users to create more complex visual effects, customize textures and game data in real-time, and add a higher degree of interactivity to the games created with GBStudio.
Benefits:

Enable the creation of more dynamic and complex visual effects
Enhance interactivity and customization within games
Expand the creative potential for GBStudio users

Example Script: Here is a conceptual example of how the script interface might look:
vramTiles = {
X = 0,
Y = 0,
VRAMBank = 0, -- Option to select VRAM Bank (0 or 1)
Tileset = "Select from dropdown menu",
Tile = "#0",
VRAMFile = "path/to/your/file.png"
}
This interface would provide users with an intuitive way to select and modify VRAM tiles, specify the VRAM Bank, and use a PNG file for VRAM data.
Examples of Use Cases:

Changing the tileset based on player actions
Updating tile textures in real-time
Modifying original GBStudio data, such as dialogues, dynamically
Creating advanced animation effects

While I am not a script developer myself, I strongly believe that this feature could be a valuable addition to GBStudio. I am available to discuss this proposal in more detail and provide any further information required.
Thank you for your time and for your incredible work on GBStudio!
Best regards, Max

Additionally, users would have the capability to place these tiles on specific coordinates within the map.


Add automatic kps detection

Hi, I added some nodes to workflow_ui.json that can automatically generate face kps and dwpose images. This makes it easier to test the character consistency effect on different poses. Hope it help~

hi @mymusise thank you! this helped me a bit more on the observability 🙌🏻
kinda stuck with instantid face analysis, do you happen to know any workaround for this?

hi @mymusise thank you! this helped me a bit more on the observability 🙌🏻 kinda stuck with instantid face analysis, do you happen to know any workaround for this?

hi @biswaroop1547 , I recommend using real human images as reference for action poses. YOLO and DWPose are not very friendly towards animated images.


Docz Playground dragging and reducing the screen size missing in new version

Hi,
This is old version of Docz 0.12.13, here playground looks super cool with drag and resize, expand collapse, mobile view, tablet view and desktop.Attaching the images for the same.

But In my other project I am using the version 2.3.1, Where Playground doesn't have this options, Should i add any configuration to get like above one ??
Current play ground

Please help here :)

These features went away with version 2 of Docz sadly. I opened a PR some time ago where I adressed these issues but didn't have time to continue and merge conflicts built up.
So you can't get the same view as in version 1. I will try to reopen my previous PR if I have the time as most of the work on this was done:
https://github.com/doczjs/docz/pull/1159


chore: pin setup-envtest version at working commit to unblock content provider

kubernetes-sigs/controller-runtime#2693 broke
the content provider while doing docker-build with following issue[1]
In order to unblock the CI, we are pinning
sigs.k8s.io/controller-runtime/tools/setup-envtest at previous working commit[2]
[1]. kubernetes-sigs/controller-runtime#2720
[2]. kubernetes-sigs/controller-runtime@c7e1dc9
Signed-off-by: Hongwei Liu<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered (check the PR coverage on codecov)
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

/retest

/retest

/test integration-service-e2e


Please Add OTC

College URL - https://www.otc.edu
College edu mail domian - "otc.edu"

@timothyjohnson324 First stage of verification passed, official domain for Ozarks Technical Community College is otc.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@timothyjohnson324 First stage of verification passed, official domain for Ozarks Technical Community College is otc.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thank You Sir

@timothyjohnson324 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


API Domain change

Hello!
Due to governance changes, we are now using the realworld.io domain for the RealWorld demo (both client and API).
Requests from conduit.productionready.io are redirected to api.realworld.io, but such a redirection might lead to inconsistent responses.
We encourage domain change for the community.
If this repository is maintained anymore, we'll consider hosting a demo of your implementation in a few weeks with the domain change.
The demo link will be added to the RealWorld documentation.

Should be updated now


Remap PIC

Remap the PIC so that...

IRQs 0-7 are mapped to interrupts 32-39
IRQs 8-15 are mapped to interrupts 40-54

Resources:

OSDev Wiki
BrokenThorn

got it.
void irq_remap (void)
{
outb (0x20, 0x11);
outb (0xA0, 0x11);
outb (0x21, 0x20);
outb (0xA1, 0x28);
outb (0x21, 0x04);
outb (0xA1, 0x02);
outb (0x21, 0x01);
outb (0xA1, 0x01);
outb (0x21, 0x0);
outb (0xA1, 0x0);
}

um don't you mean irq's 8-15 mapped to 40-47, not 54?

@ReewassSquared yes, fixed.


Clean up the closed channels from DefaultKeyedChannelPool

Motivation:
DefaultKeyedChannelPool uses Deque in FIFO manner to manage available
channels. This has the following issues:

An older channel gets higher chance of acquisition. This increases
overall lifespan of an idle channel unnecessarily.
We do not clean up the connections which were closed while they are in
the Deque. They will eventually be cleaned up, but it may take longer
time than expected, combined with the first issue.

Modifications:

Use LIFO so that a recently used channel get higher chance of
acquisition.
Clean up the both ends of the Deque so that the closed channels are
cleaned up more aggressively, combined with the first modification.
Use synchronous health checks instead of the asynchronous one because
we do not need it for HTTP.

Result:

Reduced memory footprint
Slightly lower number of client-side connections

Thanks, @minwoox!


How to override default view?

I want to hide add button in some crude. How can I remove add buttons for selected modules

Sorry, I found all the views in my resource folder. I failed to notice that. Thanks


'Morph to popover' animation is buggy on Chrome for Android

Hey developers,
I've found another bug (only for Android devices on Chrome):
If you click on the 'Morph to popover' floating action button the povover has rounded edges for 2-3 seconds, then it pops up completly.
I think this must be a rendering bug on Chrome, you only need to fix the animation.
This for 2-3 seconds:

Thank you!

I guess it is device-related, can't replicate it on my Android device

@nolimits4web
Maby you can change the animation

I have same problem with @J05HI in my android device (xiaomi redmi 2 with android KitKat 4.4.4/ API 19). When popover is rounded, the lists cannot be clicked.

@nolimits4web
What's up?
When do you merge my pull request?

It's working on latest chrome, not perfect but usable :)


[CI] Add CodeQL to CI

https://github.com/cosmos/cosmos-sdk/blob/main/.github/workflows/codeql-analysis.yml

@byte-bandit how much effort required here?

@taariq Not a lot from my initial judgement. Maybe 1-2 hours if that. Just keeping it in TODO For this week if I get around to it.

@byte-bandit let's give to @maharifu to get him started?

@taariq Absolutely.


AzDo/GitHub/GitLab shouldn't overwrite linkTemplates from .versionize

The LinkBuilderFactory overwrites linkTemplates (from .versionize) if the current repo has a remote that has a matching link builder.
Provided link templates should have the highest precedence.
This would also let people be able to fix issues like #105 without having to do a PR.

Good point. At first glance, this looks simple to do. I'll check it out soon.


Swift 3.0

The current SDK & samples are not working with Swift 3.0. Please update asap as we are unable to compile the code even though the library is using legacy version 2.2.
All the methods are forming like transferManager.upload(uploadRequest).continue(<#T##block: (AWSTask<AnyObject>) -> Any?##(AWSTask<AnyObject>) -> Any?#>)
As in Swift 3.0 all the methods are converted to continue & continue being a reserved word, we cannot compile the source code.

I think the issue #130 have the same origin.

I found a solution for this continue keyword issue. This works only for Swift 3.0 reserved word issue.
All you need to do is add round brackets outside the block inside the continue function. Earlier it was continue { (task) }, change it to continue ( { (task) } ).
Change the function to something like the below:
transferManager?.upload(uploadRequest).continue ({(task) -> AnyObject! in ....... })

Samples have been updated to Swift 3 using version 2.5.0 of the SDK. Note that Swift naming translations have been added and will break many Swift uses.
You may use XCode's autocomplete to see the new methods for AWSTask.


regression metrics example

regression metrics example
adding latest examples into documentation

Description
This repository needs
The commits in this pull request will
Changes

Imperative commit or change title (commit ID)

Add some bullet points to explain the change

Next commit or change (commit ID)

Related
Relates to organization/repo#number

Closes organization/repo#number

[ ] I have reviewed the Guidelines for Contributing and the Code of Conduct.

Drop the WHYLABS_API_ENDPOINT as its pointing at dev!

pip install whylogs[whylabs][datasets] isn't right is it? Shouldnt it be pip install whylogs[whylabs,datasets]. Also, datasets doesnt currently seem to be a separately installable package.

Drop the WHYLABS_API_ENDPOINT as its pointing at dev!

oh my! forgot about it, thanks!

pip install whylogs[whylabs][datasets] isn't right is it? Shouldnt it be pip install whylogs[whylabs,datasets]. Also, datasets doesnt currently seem to be a separately installable package.

that's right, changed it!
the only reason for [datasets] for the moment is installing dependencies: the only additional required dependency is pandas which should be already present in most cases.


The One with the Plan

Background
When developing mate we found out that one of the more difficult parts was calculating the diff from a current state to a desired state of dns records. In mate, this responsibility was part of each consumer implementation although many things could have been shared between consumers and it was difficult to test.
Glossary:

producer: source of desired dns records
consumer: adapter to the specific dns provider
controller: glue between producers and consumers

Proposal
We propose an intermediate object that's used to capture the transition that's needed to go from a current to a desired state of dns recors in a dns-provider-independent way. This object would then be used as input to the consumers and the logic is not part of each of them.
Hence, making the consumer implementations easier to write (less responsibilities) and allowing the intermediate object to be easier to test (less external dependencies). I would like to call this object Plan as it's a sort of execution plan.
A plan would be constructed from two input lists:

a desired list of records and a current list of records.

And it would return three lists as output:

a list of records to create
a list of records to update (including old and new records)
a list of records to delete

This plan object can be tested in isolation and many combinations and edge cases can easily be added to the test suite.
The plan would then be passed to a consumer object which would "just execute" the actions according to the dns provider. This also makes each consumer easier to test as one just needs to provide a Plan and see that the consumer runs the right actions against the dns provider. Any errors that may happen (e.g. because of records to delete that don't exist) can be considered errors and don't need to be handled necessarily.
The flow would be the following:

controller asks producer to return a list of desired dns records
controller asks consumer for the current list of dns records
controller passes list from producer (desired) and list from consumer (current) to plan calculator and retrieves a Plan
controller passes Plan to consumer for execution

We chose to represent the necessary actions as three lists as it seems to be the most compatible way of defining it between dns providers. For instance, AWS Route53 doesn't differentiate between creates and updates so it could just merge them into an upsert list before processing. On the other hand, Google CloudDNS doesn't support updates natively and one would have to convert the updates list to a combination of delete+create first. Other consumers will be different but we think those three lists capture all the information they would require.

Inspired by work we had planned for mate: https://github.com/zalando-incubator/mate/issues/46

/cc @ideahitme @justinsb @iterion

awesome write-up! 👍
this approach will allow us to have a standardise appraoch for managing dnsprovider state and make plugging new dnsprovider fairly simple (in theory :P)

I really like the idea.
I recall from a Slack convo with @justinsb (unfortunately that history is gone now) that one user has many thousands of dns records. So, in the back of our minds we should probably think about how we can do this efficiently at that scale. Perhaps we should target some specific SLA up front?

+1 on the great write up and I like the idea.

@iterion yes this is definitely something we should consider. Testing on such scenarios is something we should do as well :)

+1 @linki, well done

Thanks for the +1s :-)
We implemented the first working version of Plan in https://github.com/kubernetes-incubator/external-dns/pull/26.


AttributeError: 'NoneType' object has no attribute 'find'

Expected behaviour:
Properly rename movie files from imdb_lookup
Actual behaviour:
Steps to reproduce:
flexget --test inject "The.Iron.Giant.1999.Signature.Edition.1080p.BluRay.x264.AC3.mp4" execute --tasks movies_rename
Config:
--- config from task: movies_rename
accept_all: true
deluge:
  content_filename: '{% if imdb_name is defined %}{{imdb_name|replace('':'','''')}}
    ({{imdb_year}}) {% else %}{{title}} {% endif %}{{quality.resolution}}'
  host: XXXX
  label: movies_renamed
  main_file_only: true
  move_completed_path: ~/torrents/completed/_Movies/_renamed
  password: XXXX
  port: 2134
  username: XXXX
from_deluge:
  filter:
    label: movies
    state: Seeding
  host: XXXX
  password: XXXX
  port: 2134
  username: XXXX
if:
  - imdb_url == None: reject
imdb_lookup: true
no_entries_ok: true
require_field: imdb_id
template: no_global

---

Log:

(click to expand)
2021-05-26 07:31:18 DEBUG    imdb.utils    movies_rename   SUCCESS: only one movie remains
2021-05-26 07:31:18 VERBOSE  imdb_lookup   movies_rename   Found https://www.imdb.com/title/tt0129167/
2021-05-26 07:31:18 VERBOSE  imdb_lookup   movies_rename   Parsing imdb for `The.Iron.Giant.1999.Signature.Edition.1080p.BluRay.x264.AC3-PxHD.mp4`
2021-05-26 07:31:18 DEBUG    utils.requests movies_rename   Waiting 2.26 seconds until next request to imdb.com
2021-05-26 07:31:20 DEBUG    utils.requests movies_rename   GETing URL https://www.imdb.com/title/tt0129167/ with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2021-05-26 07:31:22 DEBUG    imdb.utils    movies_rename   No year found for tt0129167
2021-05-26 07:31:22 ERROR    lazy_lookup   movies_rename   Unhandled error in lazy lookup plugin: 'NoneType' object has no attribute 'find'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flexget/utils/lazy_dict.py", line 41, in __getitem__
    callee.func(self.store, *(callee.args or []), **(callee.kwargs or {}))
  File "/usr/local/lib/python3.6/dist-packages/flexget/components/imdb/imdb_lookup.py", line 69, in lazy_loader
    self.lookup(entry)
  File "/usr/local/lib/python3.6/dist-packages/flexget/plugin.py", line 126, in wrapped_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/flexget/utils/database.py", line 30, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/flexget/components/imdb/imdb_lookup.py", line 222, in lookup
    movie = self._parse_new_movie(entry['imdb_url'], session)
  File "/usr/local/lib/python3.6/dist-packages/flexget/components/imdb/imdb_lookup.py", line 267, in _parse_new_movie
    parser.parse(imdb_url)
  File "/usr/local/lib/python3.6/dist-packages/flexget/components/imdb/utils.py", line 327, in parse
    original_name_elem = title_wrapper.find('div', {'class': 'originalTitle'})
AttributeError: 'NoneType' object has no attribute 'find'

Additional information:

FlexGet version: 3.1.128
Python version: 3.6
Installation method: unsure (managed seedbox)
Using daemon (yes/no): yes
OS and version:  Ubuntu 18.04.4 LTS

I think IMDb updated their HTML again as that page doesn't have the originalTitle tag or the title_wrapper class that:
https://github.com/Flexget/Flexget/blob/97ca6d2219c43f723be67bfb7ef2021dbe3c1f72/flexget/components/imdb/utils.py#L327
is looking for. Let me know if there's any more info you need.

Imdb changed the layout again, I updated the parser to try the new layout if the old failed! Pushed a PR and should be reviewed in the next hours


in multi-root repo, build task dropdown is empty

open a multi-root repo that has default build tasks defined for both repos, ctrl/cmd shift b, 🐛 the quickpick is empty

the build tasks are resolved in the run task command though


GH-3678 migrate http_plugin to boost::beast EPE-9

Change Description

Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[x ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[x] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Rolled back IPv6, new branch PR: https://github.com/EOSIO/eos/pull/10689


Alternative Library with Angular 12/13 support?

Anyone knows of any alternative library that supports Angular 12 and/or 13?

You can clone it, upgrade it and reference it in your project manually

https://github.com/cloudfactorydk/ng2-tooltip-directive

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

Nope.

Anyone knows of any alternative library that supports Angular 12 and/or 13?

npm i @amin-karimi/ng2-tooltip-directive
upgrade to angular cli 14.2 , I will upgrade it to angular 15 soon

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

npm i @amin-karimi/ng2-tooltip-directive
upgrade to angular cli 14.2 , I will upgrade it to angular 15 soon

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

npm i @amin-karimi/ng2-tooltip-directive
upgrade to angular cli 14.2 , I will upgrade it to angular 15 soon

...doesn't seem to be working for me.

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

npm i @amin-karimi/ng2-tooltip-directive
upgrade to angular cli 14.2 , I will upgrade it to angular 15 soon

...doesn't seem to be working for me.

Use this version: npm i<EMAIL_ADDRESS>

@ThisIsIvan @mkariti @stefanolsenn Do we have a plan to upgrade this lib and use it without forking and making local updates for every next version?

npm i @amin-karimi/ng2-tooltip-directive
upgrade to angular cli 14.2 , I will upgrade it to angular 15 soon

...doesn't seem to be working for me.

If your project create by angular/cli 15 use version 2.0.0


[Icon Request] .gitbook

Icon Type

[x] Folder
[ ] File

Folder Names

.gitbook

Graphic ideas

i think taking that book and having a dark & light variants would be best

If anything, I made the following svg icon:


Execute build on save of some files

Hi,
This is a feature request. Sorry if here is not the place to put them.
I've been looking arround to see if this feature existed or if it was available with other plugins and I can't find it.
Is it possible to auto-trigger build when some set of files are saved? or on any save in the project?
I'm very new to gulp and atom build so I guess if that feature seems so obvious to me and it does not exist I'm doing something wrong (basically building everything at every save to be able to test locally) so please don't be affraid to correct me if the feature is useless with a correct workflow.
Thanks!

I've just discovered "gulp watch" so now I see why my need was not shared by most.
The issue can be closed if it seems that it's irrelevant or you can point me to other things I am not taking into account.
Thanks anyway!

I think what you experienced is the constant struggle of "what belongs in the build system and what belongs in the system executing the build system" :). I think this is one of those things that does not belong in atom-build. Gulp watch is great. For e.g. Make there is built in caching which on re-compiles the source files required etc. The build system will always know better than atom-build will.
Thanks for the suggestion though. I will close this.


Create search-results.html for search results page on VS CODE

WE NEED a separate index.html file to house the HTML coding for the search results page SO THAT the user can find the movie they want information on

Awaiting approval.


Get all HTMLRows in HTMLTable on page

Hi,
I'm trying to convert my backend scraper to an on-device scraper using your library, but I'm finding it hard to understand the documentation without examples, how would one use WKZombie to login and get a HTML Table, and how do you debug it? I can't seem to get document.title to print anything other than nil. I'm opening an URL that will redirect me to a page, where I can login.
I have the following code for now:
func testScraper(_ url: URL, user: String, password: String) {
    open(url)
        >>> get(by: .id("username"))
        >>> setAttribute("value", value: user)
        >>> get(by: .id("password"))
        >>> setAttribute("value", value: password)
        >>> get(by: .name("f"))
        >>> submit(then: .wait(2.0))
        >>> getAll(by: .contains("class", "DataSelect"))
        === handleResult
}

But I'm just getting a "error loading page: Not found" when printing the result, but I can't debug it without knowing if it has been redirected before It tries to get the table and forth? And do you recommend using browser.* instead of the >>> operators? I'm having a very difficult time adjusting the example code to my own use-case, as I keep getting errors like "operands here have types 'Action' and '([HTMLElement]) -> ()'.
All the best,
Christian

Hi Christian,
Thank you for trying out WKZombie. You're absolutely right. The documentation and better debugging is something that is always on the TODO list, but you know how it is 😬. Will try to improve that soon.
Anyway. Do you have the Logger enabled? If so, you should see output like this:
..

.SCRIPT
getElementByXpath("//*[@id='username']").setAttribute("value", "..."); document.documentElement.outerHTML;
[]

.SCRIPT
getElementByXpath("//*[@id='password']").setAttribute("value", "..."); document.documentElement.outerHTML;
[]

.SCRIPT
document.form2.submit();
[..................................]

...

This should give you a hint of what action was executed before it failed. Another way is to call the  dump() method, which prints the current content (e.g. HTML) to the console.
What other way of debugging would you like to see in WKZombie? I am always open for suggestions and pull requests of course 🙃
Hope that helps,
Mathias

Thanks for your long and helpful reply @mkoehnke,
How does WKZombie handle redirect? E.g.
I open URL #1, which immediately redirects me to URL #2, but the logger only shows the first page, which is empty
[....]

I see that there's a wait option for postActions only, is there something else for opening URLs? or awaiting redirection?

Run the inspect command after your execute. I had this same issue with an angular form and model
execute("loginPassword.value='password'")
execute("angular.element($('#loginPassword')).triggerHandler('input')")
execute("angular.element($('#submitButton')).triggerHandler('click')")
inspect
Hope this helps

Hi Christian,
I am so sorry about the late response. I have too much on my plate right now :-(
Did you find a solution for this issue?
Can you elaborate a bit more on why you think that webpages treat WKZombie as a JavaScript-disabled browser? Also, the form-snippet you've posted, is that the actual HTML source code or did you modify it to try working around that issue?
I would like to reproduce this issue on my side to hopefully come up with a solution.
Thanks!

Hope that helped. Will close this ticket for now due to inactivity. Feel free to reopen it if you're still seeing this issue.

Submit method wouldn't work on above mentioned form as the function requires form to have id or name attribute.
HTMLForm.swift:69
internal func actionScript() -> String? {
    if let name = name {
         return "document.\(name).submit();"
    } else if let id = id {
        return "document.getElementById('\(id)').submit();"
    }
    return nil
}


UI testing

This PR adds new test infrastructure for recording and replaying UI interactions, along with a couple of test cases.
UI interactions are recorded through normal usage of the UI, by running with the record-ui-test feature, which writes out an actions.json file describing all actions the user took, and an output.txt file containing all information displayed by the UI as a result.
A test case is created by adding a test name to tests/ui/tests.txt and creating a directory tests/ui/<name>, containing the actions.json and the expected output named as reference.txt. When the tests are run, the actions are replayed into the UI, and a new output.txt file is generated and compared to reference.txt.
To the extent I found practical, the replay test exercises all the same UI code as normal operation, including full use of the GTK toolkit, but without actually displaying a window. This raised a couple of side issues:

On Linux, there must be a valid X DISPLAY setting present to use GTK, so CI is modified to run the tests with an Xvfb server available.
On MacOS, GTK must run from the main thread. This constraint is incompatible with the standard Cargo test harness, which runs all tests in spawned threads, even if told to limit to one thread.

The replay test is therefore implemented as a separate test, test_replay, which does not use the standard harness.
Since test_replay is a separate program, this required moving most of Packetry into a library crate.
However, this means that the library target is always built without cfg(test) set, so blocks in the UI code that are required by test_replay have to be feature gated instead.
For this reason, the UI replay test must be included explicitly with cargo test --features=test-ui-replay.

Some changes are also made to the existing decoder tests:

The list of tests is read from tests/tests.txt, rather than listing the tests directory.
Sequences of identical items are deduplicated, with a single copy and a count included in the output.

This PR is part of the planned sequence documented in #54. The next PR will add interleaving support to the tree view. The  tests in this PR will be used to verify that the UI behaves correctly after the changes.

Oh, nice catch. I think that crept in due to some reordering; later in the #54 sequence itertools becomes a regular dependency so cargo test starts working again. Let me figure out which commits to tweak and I'll fix it.

Fixed!

Thanks!


Fix Dependencies for Packages

For Arch:

add dependency on gcc-libs

For Debian:

add dependency on libc6, libgcc1

Fixed with v0.1.1.


FirtzBox firmware 7.25 breaks script

The latest firmware update seems to brake the script or the readout of its output with telegraf:

Telegraf error message: Mar 13 09:41:36 pi telegraf[382407]: 2021-03-13T09:41:36Z E! [inputs.exec] Error in plugin: metric parse error: expected tag at 1:10: "FritzBox,,source=general ,WANAccessType=\"DSL\",Firmware=\"7.25\""
Script output:

python3 /usr/local/bin/telegrafFritzBox.py -i fritz.box -p _nope_
FritzBox,,source=general ,WANAccessType="DSL",Firmware="7.25"
FritzBox,,source=status
FritzBox,,source=wan ,Layer1DownstreamMaxBitRate=113992000i,Layer1UpstreamMaxBitRate=39822000i,ByteReceiveRate=461432i,ByteSendRate=12588i,PacketReceiveRate=0i,PacketSendRate=0i,TotalBytesReceived64=4180191888,TotalBytesSent64=2551277100
FritzBox,,source=dsl
FritzBox,,source=network ,HostNumberOfEntries=64i,HostsKnown=64i,HostsKnownLAN=1i,HostsKnownWLAN=18i,HostsActive=20i,HostsActiveLAN=1i,HostsActiveWLAN=18i
FritzBox,,source=lan
FritzBox,,source=wlan_2.4GHz
FritzBox,,source=wlan_5GHz
FritzBox,,source=wlan_Guest

I already updated fritzconnection and tried removing the double comma (Error in plugin: metric parse error: expected tag at 1:60: "FritzBox,source=general,WANAccessType=\"DSL\",Firmware=\"7.25\""). No I cannot really go on as I do not knowwhat the output should look like for it to work.

Hi,
the new FB-Firmware needs a username beside the password.
So please try:
python3 /usr/local/bin/telegrafFritzBox.py -i fritz.box -p secret -u me
But I wondering why you in general get an output without setting a username.
This way works for me (FB 7950 FW 7.25) without any problems.
Cheers,
Jan
Am 13.03.2021 um 10:46 schrieb mpsdskd:

The latest firmware update seems to brake the script or the readout of
its output with telegraf:

Telegraf error message: |Mar 13 09:41:36 pi telegraf[382407]:
2021-03-13T09:41:36Z E! [inputs.exec] Error in plugin: metric parse
error: expected tag at 1:10: "FritzBox,,source=general
,WANAccessType="DSL",Firmware="7.25""|
Script output:

|python3 /usr/local/bin/telegrafFritzBox.py -i fritz.box -p nope
FritzBox,,source=general ,WANAccessType="DSL",Firmware="7.25"
FritzBox,,source=status FritzBox,,source=wan
,Layer1DownstreamMaxBitRate=113992000i,Layer1UpstreamMaxBitRate=39822000i,ByteReceiveRate=461432i,ByteSendRate=12588i,PacketReceiveRate=0i,PacketSendRate=0i,TotalBytesReceived64=4180191888,TotalBytesSent64=2551277100
FritzBox,,source=dsl FritzBox,,source=network
,HostNumberOfEntries=64i,HostsKnown=64i,HostsKnownLAN=1i,HostsKnownWLAN=18i,HostsActive=20i,HostsActiveLAN=1i,HostsActiveWLAN=18i
FritzBox,,source=lan FritzBox,,source=wlan_2.4GHz
FritzBox,,source=wlan_5GHz FritzBox,,source=wlan_Guest |
I already updated fritzconnection and tried removing the double comma
(|Error in plugin: metric parse error: expected tag at 1:60:
"FritzBox,source=general,WANAccessType="DSL",Firmware="7.25""|). No
I cannot really go on as I do not knowwhat the output /should/ look like
for it to work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Schmidsfeld/TelegrafFritzBox/issues/9, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXOQF6I6OHIJPSDZS4BEG3TDMX5ZANCNFSM4ZDUUCJQ.

Thanks a lot, that did it! :+1:
At least I have the excuse that I DID get some data, so I did not assume any authentication problems ;)
It always used to worked for me that way with the password printed on the back of the FritzBox - until he upgrade yesterday.

Using a username + pass doesn't do the trick for me (7590):
$ python3 /opt/telegraffritzbox/telegrafFritzBox.py -u rico -p "super-secret" FritzBox,,source=general ,WANAccessType="DSL",Firmware="7.25" ...
Login to the webinterface with this user works fine.

What works for me is:
python3 /usr/local/bin/telegrafFritzBox.py -i fritz.box -p password -u user
with the password that's written on the label on the FirtzBox's underside and the user from
FritzBox UI --> System --> FRITZ!Box-Benutzer (Users) - chose the automatically created user.


[release-v1.16] Run make generate-release

Run make generate-release using openshift-knative/hack.

/lgtm
/approve


cmake: Test static build in CI

cmake: Use a shared SDL library if that's all we have

workflows: Exercise static linking with CMake
There are enough subtleties with the vendored libraries that it seems
worthwhile to test this.

workflows: Build (but don't run) the automated test for CMake builds
We can't run this yet, because the vendored libraries won't be in the
dlopen() search path.

Superseded by later PRs.


PXD019123, KeyError: 'trFE_BOVIN'

PXD019123, KeyError: 'trFE_BOVIN' when running compute_ibaqpy

@asierlarrea Are you using the correct library of protein sequences? Find the fasta file used in the pipeline_info/pipeline_report.txt file in each project. Common databases are here: https://github.com/multiomics/multiomics-configs/tree/master/databases

@WangHong007 Sorry, you are right. We have fixed this problem, but I forgot to close the issue. Now we are working with Homo-sapiens-uniprot-reviewed-contaminants-decoy-202210.fasta and it works correctly. thanks!


plumbing: object, Fix tag message decoding

The Decode method was adding one too many newlines to the tag message, causing signature verification to fail. This is because in signed tags produced by git, there is a newline after the PGP signature block, resulting in messageAndSig having one extra (empty) []byte element. This caused t.Message to receive one extra newline.

Can you provide a test? Thanks!

Included in https://github.com/src-d/go-git/pull/1118


Mark std.uni.MultiArray.slice and MultiArray.ptr as @nogc

MultiArray is a template struct but it does not affect the attributes of its method because
it only uses the sizes of the types in Types.
MultiArray.slice and ptr are template methods but their template arguments do not affect their @nogc-ness.

Auto-merge toggled on

Thanks!


throw error in mergeWith method if no merger is passed (#1503)

This ensures users get an informative error when calling mergeWith without a merge function
Details can be found at https://github.com/facebook/immutable-js/issues/1503.

@facebook-github-bot Just signed CLA

@asazernik thanks for taking a peak, pushed a commit.

Squash merged in 2ea44e0ed31206de90d9ae6fc8082d63a052e8a3, thanks!


Add and use a function for mandatory checkpoint

Motivation
We want to refactor the mandatory checkpoint code into a function. If merged this will close https://github.com/ZcashFoundation/zebra/issues/2305
Solution
Add a function into Network implementation. Use it.
Review
Anyone can review, is a minor cleanup change.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Apologies, the ticket was mentioning only https://github.com/ZcashFoundation/zebra/issues/1846 so i missed those changes. Will fix.

When you do the fix, can you also fix the clippy warnings as well?

When you do the fix, can you also fix the clippy warnings as well?

Sure, i think i missed that because since some time there are a lot of clippy warnings in the networking code and other unrelated code. I know is unrelated here but do we have a ticket for that ?

I also renamed a lot of acceptance tests (https://github.com/ZcashFoundation/zebra/pull/2314/commits/01a34385549976eac4f5d9f24b9185905ae18397) that were syncing up to canopy in favour of syncing up to the mandatory checkpoint. I hope I didn't go too far.

When you do the fix, can you also fix the clippy warnings as well?

Sure, i think i missed that because since some time there are a lot of clippy warnings in the networking code and other unrelated code. I know is unrelated here but do we have a ticket for that ?

There aren't any clippy warnings in Zebra's CI on the current main branch. Our CI runs clippy on every feature in every Zebra crate, including test code. PRs can't merge until they pass clippy.
We run clippy on:

Linux
rustc 1.52.1

Is your Rust install up to date? Sometimes warnings get fixed or removed from clippy.
Are your PRs based off an old version of the main branch?

I also renamed a lot of acceptance tests (01a3438) that were syncing up to canopy in favour of syncing up to the mandatory checkpoint. I hope I didn't go too far.

This is great, feel free to update function names or docs, but they're not strictly required for this change.

In regards to clippy, it must be something local (https://gist.github.com/oxarbitrage/8d741c1231335e97c50a06fc9b94ca65). Will research more.

In regards to clippy, it must be something local (https://gist.github.com/oxarbitrage/8d741c1231335e97c50a06fc9b94ca65). Will research more.

Your PR branch is up to date with our main branch.
What version of rustc are you using?

In regards to clippy, it must be something local (https://gist.github.com/oxarbitrage/8d741c1231335e97c50a06fc9b94ca65). Will research more.

Nevermind, i was in rust 1.51. Thanks.


Deal with tab aligned dpkg output correctly

Hey, thanks for the great package!
When I use the DebPackage fact on a .deb file, I noticed that it always returned an empty dictionary. This is caused on my system because at least some versions of dpkg align their output with tabs to make it look nice.
In this PR, I have added a complete and real output of dpkg with tab alignment and extended the regexes to parse this output correctly.
This should probably also go in the 3.x branch.
PS: Is there a way to signal an error in the process of a Fact? If so, it might make sense to signal an error if DebPackage is about to return an empty dictionary.

Looks like two checks failed because github was unavailable?! Should I force-push to trigger another run?

Looks like two checks failed because github was unavailable?! Should I force-push to trigger another run?

Very annoying! Kicked off a retry

Great, this time it worked and all checks pass.


Remove references to instantx and darksend in sendcoinsdialog.cpp

Can't just replace one with another, should check old settings first and, if they exist, re-apply their values to new ones. Otherwise it would be equivalent to partial settings reset.

I just figured resetting those settings wouldn't be that big of a deal. Afterall, you should review them every time you make a tx


IP address as a url param error

When declaring an IP address as a URL parameter req.params incorrectly parses the value.
Add the following param to the URL  :ip((?:[0-9]{1,3}\.){3}[0-9]{1,3})
Use the value <IP_ADDRESS> for ip
Then check  req.params.ip it will return as 1.
console.log('req.originalUrl',req.originalUrl);
console.log('(req.params.ip',req.params.ip);

Hi, Can you supply a full app that reproduces the error (as there are many things that can influence this?
Also, it may just be because your param definition does not work with path-to-regexp module. Try using :ip([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})

Unfortunately I don't have anything I can post at this time.
Thank you the reg ex you provided solved the issue.

Gotcha. If the updated reg ex worked, then it looks like it's just a limitation in path-to-regexp that we use, which is what I thought (you cannot use (?: in the reg ex).


[USERSNAP] abstract is misspelt as on the review you submission screen "Abstrtact" this is for both info and treasury proposals

Taken at: https://preview.gov.tools/proposal_discussion
Fields:

Add a comment: abstract is misspelt as on the review you submission screen "Abstrtact" this is for both info and treasury proposals

Browser: Chrome 127 (Windows 10)
Screen size: 1536x864
Open #100 in Usersnap
Powered by Usersnap.

this has been fixed


Drone Cloud CI support

Drone Cloud has CI support for x86, 32-bit Arm, and 64-bit Arm systems. Adding Drone to the CI mix would be useful not only on its own account to support existing x86 work but also to allow testing of the Arm server support contemplated in #31.
See https://cloud.drone.io/ for docs; the specific multi-platform detail is at https://docs.drone.io/user-guide/pipeline/multi-platform/ and there is some Rust specific info at https://docs.drone.io/examples/language/rust/ .

thanks! That's an awesome hint :) I totally wasn't aware of this trying it out on halfbrown right now (as that hopefully builds) and am already loving drone.io!

Technically this is resolved but I'll keep it open till the ARM code is merged to make the reference easier to find!


"libvips" and "windows-build-tools" are additional install or runtime dependencies, please design to remove that build process.

Most modern macOS, Windows and Linux systems running Node.js v10+ do not require any additional install or runtime dependencies.

We all prefer starter, instead of config, error caused by additional dependencies.
How to avoid actually additional requirements?
Let's see the 7zip of Node ecosystem.
A package may be named 7z-bin provides a cross-platform binary 7Zip.
A package node-7z provides a 7Zip object can extract, compress, check...
And  node-7z doesn't provides any 7Zip binary, so it add a dependency 7z-bin.
So only add node-7z as dependency, you can use 7Zip. No additional binaries, no additional build process.
This is a STARTER.

Network Issue showcase
$>npm install sharp

><EMAIL_ADDRESS>install D:\Workspaces\lyne\image-size-reducer\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-win32-x64.tar.brERR! sharp read ECONNRESET
info sharp Attempting to build from source via node-gyp but this may fail due to the above error
info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies

D:\Workspaces\lyne\image-size-reducer\node_modules\sharp>if not defined npm_config_node_gyp (node "D:\Program_Files\Node_14\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "D:\Program_Files\Node_14\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
  VError.cpp
  VConnection.cpp
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VConnection.cpp(34,10): fatal error C108
3: Cannot open include file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modul
es\sharp\build\libvips-cpp.vcxproj]
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VError.cpp(33,10): fatal error C1083: Ca
nnot open include file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sh
arp\build\libvips-cpp.vcxproj]
  VInterpolate.cpp
  VImage.cpp
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VInterpolate.cpp(34,10): fatal error C10
83: Cannot open include file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modu
les\sharp\build\libvips-cpp.vcxproj]
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VImage.cpp(41,10): fatal error C1083: Ca
nnot open include file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sh
arp\build\libvips-cpp.vcxproj]
  win_delay_load_hook.cc
  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\Release\\nothing.lib
gyp ERR! build error
gyp ERR! stack Error: `D:\Program_Files\Visual_Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (D:\Program_Files\Node_14\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "D:\\Program_Files\\Node_14\\node.exe" "D:\\Program_Files\\Node_14\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Workspaces\lyne\image-size-reducer\node_modules\sharp
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      D:\Program_Data\Customizable\Node\node_cache\_logs\2021-03-20T07_33_09_521Z-debug.log

D:\Workspaces\lyne\image-size-reducer>npm install sharp

><EMAIL_ADDRESS>install D:\Workspaces\lyne\image-size-reducer\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-win32-x64.tar.br
ERR! sharp connect ETIMEDOUT <IP_ADDRESS>:443
info sharp Attempting to build from source via node-gyp but this may fail due to the above error
info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies

D:\Workspaces\lyne\image-size-reducer\node_modules\sharp>if not defined npm_config_node_gyp (node "D:\Program_Files\Node_14\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "D:\Program_Files\Node_14\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
  VError.cpp
  VConnection.cpp
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VConnection.cpp(34,10): fatal error C1083: Cannot open include
file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\libvips-cpp.vcxproj]
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VError.cpp(33,10): fatal error C1083: Cannot open include file:
 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\libvips-cpp.vcxproj]
  VInterpolate.cpp
  VImage.cpp
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VInterpolate.cpp(34,10): fatal error C1083: Cannot open include
 file: 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\libvips-cpp.vcxproj]
D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\src\libvips\cplusplus\VImage.cpp(41,10): fatal error C1083: Cannot open include file:
 'vips/intl.h': No such file or directory [D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\libvips-cpp.vcxproj]
  win_delay_load_hook.cc
  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> D:\Workspaces\lyne\image-size-reducer\node_modules\sharp\build\Release\\nothing.lib
gyp ERR! build error
gyp ERR! stack Error: `D:\Program_Files\Visual_Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (D:\Program_Files\Node_14\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "D:\\Program_Files\\Node_14\\node.exe" "D:\\Program_Files\\Node_14\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Workspaces\lyne\image-size-reducer\node_modules\sharp
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      D:\Program_Data\Customizable\Node\node_cache\_logs\2021-03-20T07_52_32_053Z-debug.log

Build Error show case

Hello, in both of these examples there are networking errors during installation.

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-win32-x64.tar.br
ERR! sharp read ECONNRESET
info sharp Attempting to build from source via node-gyp but this may fail due to the above error

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-win32-x64.tar.br
ERR! sharp connect ETIMEDOUT <IP_ADDRESS>:443
info sharp Attempting to build from source via node-gyp but this may fail due to the above error

Both of these error messages are relatively clear that there has been a networking error and that the next step is likely to fail because of it.
On Windows machines this next step will almost always fail as there is no mechanism for finding a globally-installed libvips (unlike pkg-config on Linux and macOS machines).
To slightly improve the situation, we could trap common networking errors and provide further help for these to Windows users.
If you're based in China then I recommend the use of the mirror hosted there - see https://sharp.pixelplumbing.com/install#chinese-mirror


Item Collection: Enhance API

Closes #218
Prop Changes
Props Added

children - The Item Collection Items that will flex between either a list item or a table row.
requiredElements - the elements expected to be displayed. If a child is missing an element, ItemCollection will allocate space to maintain the provided layout.
onSelect - the callback function that is assigned as to a child's onClick and onKeyDown callback if the child isSelectable. The first parameter returned is the event and the second parameter is the child key.

Props Changed

rows - replaced with children prop
onChange - replaced with onSelect prop
listStyles - removed hasChevrons key. Chevrons are intended for single-selectable lists only to indicate clicking the item will reveal more information. This behavior is not currently present in selectable tables.

Behavior Changes
Added/Changed Behavior

Allows for either static and selectable implementation
OnSelect returns the event and child key for onClicks and onKeyDowns
Exports the following components: ItemCollection.Item, ItemCollection.Display and ItemCollection.Comment.
Table layout no longer dependent on first Item Collection item - Closes #213

Additional Notes

Set up to allow for Header and Subheader support - #216
Removed _TableHeaderCell for a different column width implementation.

Deployment

https://terra-clinical-deployed-pr-221.herokuapp.com/static/#/site/item-collection
https://terra-clinical-deployed-pr-221.herokuapp.com/static/#/tests/item-collection-tests

~Coming Soon~ Done

[x] Selectable Implementation Guide
[x] V1 to V2 Migration Guide

Can a selectable example be added to the examples page?

@JakeLaCombe I do not want to add an selectable example to the example page because the selectable implementation in 100% up to the consumer & I would not want to give the impression any certain behavior should be expected by the item collection. I added the test page to ensure it functioned as expected. If others also feel I should add an example to the site page, I can do so.

testing Item Collection in firefox, using the Item Collection - Varying Items Example  and Item Collection - Selectable Example tests, at the phone size the right accessory button is getting its left edge cut off.

@tm4027 This appears to be an issue with ItemView & overflow. Each browser handles this differently. I did some testing with https://terra-clinical-deployed-pr-221.herokuapp.com/static/#/tests/item-view-tests/accessory and it appears this displays incorrectly with Firefox, IE 10, Edge.
IE 10:

EDGE:

Functional review complete.  As explained by @emilyrohrbough the issue identified by @tm4027 is actually an problem in the item view.  No further issues identified.


[Suggestions] Assets Pack

Hi
I made a map for learning purposes in my module (MD - Random Stuff). The assets used are free (https://www.kenney.nl/assets/sokoban). Maybe you can add to this module.

Add to readme a list of videos showing off the module. I have one in Brazilian Portuguese (https://www.youtube.com/watch?v=jx7nEoQyOF0)

Wow, thank you. I will at earliest opportunity try to add a "language file" as well to this project. Maybe you could help me with the Brazilian Portuguese translation :)

Wow, thank you. I will at earliest opportunity try to add a "language file" as well to this project. Maybe you could help me with the Brazilian Portuguese translation :)

Sure. I add this to my modules help translators

I added an issue #10 here @brunocalado
No hurry. Take it when you have time :)

I'll close this issue. I added some crates as default assets.


Reorder integrated terminal panes via drag/drop

I really like the integrated terminal feature in VS Code, and how you can have multiple panes open. I use workspaces and I especially like how you can choose which directory to open the new terminal window in.
I like the familiarity of ordering my terminals consistently. Would it be possible to allow for reordering terminal windows via drag/drop? The current alternative is to manually cd in the terminal windows to order as I want them. (Which isn't so bad)

Closing in favor of https://github.com/Microsoft/vscode/issues/10546 for now, we've discussed the possibility of DND after tabs.


fix(curriculum): update detectFullHouse params

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #55790
Summary:
Modified the detectFullHouse function to receive an array of dice values and correctly handle full house scoring.

Hey @TofikE124
This PR seems to make similar changes as the existing PR #55794. As such, we are going to close this as duplicate.
If you feel you have additional changes to expand upon this PR, please feel free to push your commits and request this PR be reopened.
Thanks again! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.


cmd/bosun: always use State instead of current time

Previously epoch, since, and forcastlr would use time.Now.
fixes #789

+1


Phonology cache optimization

Used a new flush function for writing into cache file all changes at once. Used gzip to decrease file size.


Placement stays in Unbound phase if namespaceSelector is nil

Describe the bug
When creating a Placement, without specifying namespaceSelector, it stays in Unbound phase, while the documentation states the field is optional, and all namespaces are matched by default.
Steps To Reproduce
cat <<EOF | kubectl apply -f -
apiVersion: scheduling.kcp.dev/v1alpha1
kind: Placement
metadata:
  name: default
spec:
  locationWorkspace: root:location:workspace
  locationResource:
    group: workload.kcp.dev
    resource: synctargets
    version: v1alpha1
EOF

Expected Behaviour
The Placement should be bound, even if namespaceSelector is nil.
Additional Context
It works by adding namespaceSelector: {} to the Placement spec.

I think it is a doc bug, nil actually means select nothing, while an empty selector means select all.

I wonder:

What does it mean for namespaceSelector  to be optional then, in the sense that if nil means the Placement is always unbound in that case? Should it default to {}?
What's the semantic of namespaceSelector when locationResource points to cluster-scoped resources?

@ncdc I think this is what we were seeing?

/transfer-issue contrib-tmc


Scala Stream Collector: configurable cookie path

The snowplow collector does not set an explicit cookie path when dropping the 3rd party network_id cookie. According to wikipedia (https://en.wikipedia.org/wiki/HTTP_cookie) it does not have an effect, as the tracking endpoint is at /i, which will lead implicitly to an path set to "/" in the browser. But the track link endpoint is a nested resource at "/r/tp2" which would lead to set the cookie path to "/r" which is probably not desirable.
So i think the collector should either statically set the cookie path to "/" to make sure it is valid for all collector endpoints or let it be set in the config page. What do you think?

Good catch, I think we should set to "/"

It seems like the same issue affects the clojure collector as well.
Since no explicit path is set the default browser behavior is used which sets the sp cookie path to /com.snowplowanalytics.snowplow.

Bringing forwards (R82 is in test already)

Thanks for flagging @gyurist - created #2739 to explore this...

Closing this ticket in favour of PR


Unable to change the timeout when using mountService in ServletContextSyntax.scala

Comment from @rossabaker
Oh, I see the problem
https://github.com/http4s/http4s/blob/master/servlet/src/main/scala/org/http4s/servlet/syntax/ServletContextSyntax.scala
We're setting the timeout there, but not passing it through as a param. That's bad design.

@marcdanie Did you end up with a workaround that you'd like to submit as a PR?  Or should I try to come up with something?  I'd like to do better here.

I think this just needs a timeout parameter with a default value.  The mountService method is an old name as well -- mountRoutes would probably be more sensible.

Hello @rossabaker, is this still open? I can work on it if it is. My understanding is that we just need to add a param with a default value and update the name of the method right?

Hello @rossabaker, is this still open? I can work on it if it is. My understanding is that we just need to add a param with a default value and update the name of the method right?

@yuferpegom Thanks for volunteering!  Yes, that sounds like the correct approach for mountService, which we can deprecate.
Doing it for mountHttpApp is harder: we can't add a default parameter without breaking binary compatibility, and mountService calls mountHttpApp.  We can do this on the main branch today like you describe, but we'll need to think of a new name if we want to backport to series/0.22.

Hello @rossabaker . So just to double-check we are on the same page. We can just deprecate mountService and then create a new mountRoutes method that will receive a timeout that uses a default value.
As for the mountHttpApp I'm not following you, you mean we can add the default param for this version and merge it to main but eventually, we'd need to also create a new method and deprecate this one? If so, we can just do it now right?
Thanks!

Wow, servlet went from getting no attention to a few PRs today!  I'll comment on your PR.  Probably easier where there's code to talk about.

I have created a new PR against series/0.23, please take a look when you have a chance and thanks!


Add Whisper for auto transcription

Hi there, thanks for porting this to Cog/Replicate.
Would you be willing to add auto-transcription via Whisper?  See this demo on huggingface where it has already been implemented:
https://huggingface.co/spaces/mrfakename/E2-F5-TTS
And while we're at it, any interest in implementing the speech-editing feature as well?
Thanks again!

Hi! Auto transcription should already work (if you don't add reference text, it will automatically transcribe it).
I can look at speech editing, and folding in the chunking improvements.

@cuuupid awesome. I would be super grateful for that.

@cuuupid also, when doing inference without a transcription input, I get this error:
'NoneType' object has no attribute 'strip'


ARM (Linux) architecture support

Is your feature request related to a problem? Please describe.
Currently I cannot use the sensor with ARM/Linux-based devices. Many embedded/robotics targets run on ARM. For example, it would be nice if you'd support NVIDIA Jetson Nano or similar embedded dev platforms.
Describe the solution you'd like
It sounds like the only thing needed would be a precompiled version of the DepthEngine closed-source binary for a generic ARM target? Ideally provide versions for both hardfp and softfp ABI.

Thanks for the suggestion.
We want to consider this for a future release. We need more feedback from customers on which specific platforms they are interested in us supporting so that we can invest in the right build and test infrastructure to enable those platforms.

@szi, I just posted your suggestion to our new feedback forum. Go ahead and up vote it there to show your support for the feature, or comment if you want to provide more details.

:+1: for ARM support. Specifically, I'd love to be able to run it on a Jetson TX2.

@Brent-A, any update since this topic is closed on May 10?
One question about https://packages.microsoft.com/ubuntu/16.04/multiarch/prod/dists/xenial/main/binary-arm64/:
It seemed that this file https://packages.microsoft.com/config/ubuntu/16.04/multiarch/arm64/prod.list is wrong about the package location as below:
deb [arch=arm64] https://packages.microsoft.com/ubuntu/16.04/multiarch/arm64/prod xenial main
So I changed it to:
deb [arch=arm64] https://packages.microsoft.com/ubuntu/16.04/multiarch/prod xenial main


allow QVI to use same wallet to function as an LE also

Provenant QARs are also Provenant LARs. We think this will be common with other QVI organizations, too.
Because we are not using docker on dev boxes the same way GLEIF does, we want to use a single wallet in both roles. This means our wallet needs the ability to issue and join OOR AUTH credentials and a few other things that were scripted up in the LAR repo. So we're proposing to add these to the QVI repo as well. We also added a script that allows someone to create another personal AID. The PR also includes some minor bug fixes (like removing a / from in front of $QAR_DATA_DIR).

@dhh1128

Provenant QARs are also Provenant LARs. We think this will be common with other QVI organizations, too.

After our conversation yesterday I had some time to reflect your statement above. While I agree that the tooling in the CLI should not assume that a QAR AID MUST not be a LAR AID, I also think it may not be a good practice to reuse the same AID for both the QAR and LAR roles.  The reasons are as follows:

A LAR MAY be multi-sig and QARs MUST be multi-sig. So in the current way the KERI Agent manages group multi-sig AIDs each member AID contributes keys to the group multi-sig. For good hygiene once a contributed  public key has been exposed publically in the signing key list in a rotation event it MUST NOT be used in any subsequent rotation events. Meeting this requirement can be problematic when the same member AID is contributing keys to more than one group multi-sig AID. So a best practice would be to have a dedicated member AID for each multi-sig group.
KERI uses the principle of reputable authenticatable pseudonymity to mange both secure attribution and privacy. Specifically a transferable AID is a reputable authenticatable pseudonym because it is cryptographically derived from one or more public/private key pairs that provides control authority at inception over that AID and is also bound at inception to a verifiable data structure (KEL) that enables that control authority to evolve over time.  Privacy comes from the fact that a cryptonym is universally unique high collision resistance and the controlling keys are also universally unique with high collision resistance thus making both the AID and is controlling keys truly pseudonymous, i.e. the controlling entity is not correlated at inception to the AID or its keys.  The controlling entity can choose cloak its true idenity behind the pseudonym indefinately if it uses privacy preserving exchanges of information linked to the pseudonym. But because any exchange of information linked to the pseudonym can be securely non-repudiably attributed to that pseudonym, the pseudonym can buld a reputation (i.e. is reputable) and the secure attribution provides authenticity to the pseudonym.  A later attribution can link the pseudonym to the controlling enitity but is not always necessary nor desirable. What this means is that multiple AIDs as Pseudonynms should be employed to partition the activity of any entity to better manage both reputation and privacy.
The appropriate construct for having a natural person serve as both a QAR and LAR is  higher level contrcut than a KERI AID. The appropriate construct is called an Identity Graph or Identifier Graph. The natural person is represented by a node in the identity graph that points to AIDs used in differnet contexts

@SmithSamuelM : I think I have given the wrong impression somehow.
We are not trying to use the same AID in both an LAR and a QAR role. But we are trying to use the same wallet (with different AIDs).

I understand the desire to use the same datastore / keystore across the roles of QAR and LAR but I am concerned about combining the scripts in this was in this repo.   In the repo we built for GARs we created separate directories for each persona to keep the scripts clear distinct from each other.  There is nothing in that design that would prevent someone using both sets of scripts against the same datastore/keystore which accomplishes what you want but also makes it easier for users to differentiate between the tasks they are performing as a QAR vs those they are performing as an LAR.  Thoughts?

using both sets of scripts against the same datastore/keystore which accomplishes what you want but also makes it easier for users to differentiate between the tasks they are performing as a QAR vs those they are performing as an LAR. Thoughts?

Provenant's command-line wallet changes its bash prompt according to its AID context (which individual and multisig AID are active), and provides an easy command to switch contexts ("I used to be acting as a QAR; now I want to act as an LAR"). So we already have a good way to differentiate context without having two separate repos and two separate directories of scripts. We don't run scripts from the directory where they live; we put them in the path and run them from anywhere. I think this means that the value of making the context crisper by keeping scripts in different repos isn't high for us.
Also, I am not aware of a repo that actually has any LAR scripts. Does one exist?
Having said that, perhaps what this conversation is telling us is that Provenant should let its fork diverge from GLEIF's because our usage patterns are becoming genuinely different?

Having said that, perhaps what this conversation is telling us is that Provenant should let its fork diverge from GLEIF's because our usage patterns are becoming genuinely different?

I think this is probably the only path forward.  It seems clear that these scripts should not be open source because that puts GLEIF in the position of moderating which QVI has the "right" workflow.  This repo would better serve its purpose as a starting point for QVIs to fork and make their own.

I think this PR should not be merged. We should instead just let Provenant's codebase diverge.


Implementing the fetchSinkInfo in ConfigBasedIOResolver

I think we missed implementing the fetchSinkInfo method in the ConfigBasedResolver when the API was introduced which is breaking the samza sql console tool. This fixes it.
latest release of mac removed realpath so the command line tools are broken. Removed the usage of realpath to fix these tools.

Thanks to @nickpan47 for identifying these problems.

@xinyuiscool Can you take a look at this one?

Thanks. I will merge it to both master and 0.14.1 branch and verified the sql tutorial.


Bug: Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.

What happened?
启动时报错

What did you expect to happen?
正常启动
How can we reproduce it (as minimally and precisely as possible)?
按文档启动
Anything else we need to know?
No response
version
"open-im-sdk": "^3.5.1-alpha.7"
oimws: 3.5.1-alpha.8
Cloud provider

OS version

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

Install tools

删除node_modules重新安装就好了

You can use oimws3.5.0 for the time being


Tried to build and run this example but got an error

I am using react-native run-android to run this example on a emulator but got below error:

Is there anything wrong in the code or in my environment?

Whew, that one's a little crazy, but I don't think it's linked to any of the specific code in this project. Check out https://github.com/facebook/react-native/issues/11389 for more people with the same issue.


Latest update causing events to go haywire

When using a complex set of events to monitor how things move I'm noticing significant changes in how the page reacts when the DevTools are turned on compared to when they are off. This all started within the last couple of weeks with the new dev tools and creating significant headaches to the point where dev tools are nearly unusable for me.
This is most noticeable when using highly dynamic controls such as an interactive map. For example, if I use Azure Maps and monitor the movement of the map, the event should only fire when the map has moved. When dev tools are closed, this works as expected and has done so for years.  You can reproduce this here: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/vnext/Samples/Map/Map Events/Map Events.html
Here is an animation that shows the expected behavior, and then what happens when you open dev tools::

Thanks for reporting this issue @rbrundritt. I think I need some help reproducing the problem as, so far at least, it seems to be working fine for me.
Here are the steps I took to try to repro the bug:

Open https://samples.azuremaps.com/map/map-events in Edge (I tried Canary and Stable)
Click and drag to move the map ➡ events appear while the interaction happens, and eventually stop when I release the mouse.
Open DevTools
Do step 2 again ➡ I see the same thing again, events light up as I interact with the map, but when I stop, they stop too.

Did I miss a step?

Good news, I can no longer reproduce this either. I had come across this issue a couple of times earlier in the week but this morning it didn't seem to occur any longer. Either the issue is fixed, or a more complex set of steps to reproduce that I haven't noticed yet. Will close for now.

Great news! Thanks for testing again and closing this issue.


README.md

Are there any 2LCS documentation other than README.md?
How could the menu "Define custom links" and "Cookie" be used?

"Define custom links" is a feature where you can add additional menu items (links) into 2LCS instance context menu. Using placeholders you can "build" such URLs to access additional LCS or instance pages.
"Cookie" allows you to copy or paste cookie used to access LCS. This way you can in example temporarily share access to LCS without giving credentials. It was introduced only as a workaround for some logon problems people experienced when using accounts behind some proxy etc. It should not be used in normal circumstances.