Question: Correct rendered?

The first version in https://commons.wikimedia.org/wiki/File:Débit_de_Filtration_Glomérulaire.svg#filehistory is https://upload.wikimedia.org/wikipedia/commons/archive/e/e5/20200220180909!Débit_de_Filtration_Glomérulaire.svg
(I already made a workaround, therefore a new version exists.)
Is rendered differently in rsvg and resvg.

rsvg
resvg

I personally assume resvg is right, since writing-mode= is not allowed in tspan(acording to validators), but however I do not know and reporting librsvg bugs has imho a low respondance-rate.

resvg is correct.
https://www.w3.org/TR/SVG11/text.html#SettingInlineProgressionDirection

The ‘writing-mode’ property applies only to ‘text’ elements; the property is ignored for ‘tspan’, ‘tref’, ‘altGlyph’ and ‘textPath’ sub-elements.


[DOC] typo in readme: double negation is probably unintended

Good catch, thanks 🙏 I've added a comment.

Thank you very much 👍


Binary for aarch64?

I know it is a bit of an ask, but as a haskel noob I have found the process for getting a build environment up and running for arm64 to be a bit more complicated than I was prepared for.  Since you have an armv7 environment I am hoping that an aarch64 build is a simple tweak for you rather than the long and semi-borked process that they rest of us face...

Can you try this version https://github.com/erebe/wstunnel/releases/download/v3.0/wstunnel-aarch64 and let me know the outcome ?


Add link to default-report.xsl

We need to delay this until next year. Plan is to turn the configurations (XRechnung so far) into individual repositories.

Obsolete


fomm model

NotImplementedError:
There's 7 ops are not supported yet
=========== grid_sampler ===========
=========== conditional_block ===========
=========== logical_not ===========
=========== logical_or ===========
=========== inverse ===========
=========== reduce_any ===========
=========== select_input ===========
I want to convert the fomm(first order model on mobile net) paddle model to ONNX

Hello, paddle2onnx does not support control flow now.

https://github.com/PaddlePaddle/Paddle2ONNX/pull/1324


Permission Policy mismatch

The README has this:

The default permissions policy is empty, as this is the default expected behaviour. Note that the Permission Policy is still an Editor's Draft.

However with #3 we disable FLOC so do set a default permission policy.
And it’s also mentioned similarly inconsistent elsewhere in code comments.
Also should we warn that by setting this basic Permission Policy we will effective turn off a (potentially more fully scoped) Feature Policy for browsers that accept both? Or does that only happen if the same feature/permission is specified in both headers?

Also should we warn that by setting this basic Permission Policy we will effective turn off a (potentially more fully scoped) Feature Policy for browsers that accept both? Or does that only happen if the same feature/permission is specified in both headers?

OK did some testing and looks like Chrome and Edge at least (the only browsers that currently supports Permission Policy) are smart enough to only override the features set in both. So these headers:
Feature-Policy "accelerometer 'none'; camera 'none';"
Permissions-Policy "accelerometer=(), interest-cohort=()"

Will lead to this error:
Error with Feature-Policy header: Feature accelerometer has been specified in both Feature-Policy and Permissions-Policy header. Value defined in Permissions-Policy header will be used.

but the camera setting from the Feature-Policy will still presumably be used as it wasn't flagged as an error.
So given that I'm happy to still specify the default Permissions-Policy of interest-cohort=() given that that isn't a Feature Policy setting.
Edge does warn:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.

but think that's OK.
We should still clean up all the references though.


Variables/Custom fields support for scripts

Is your feature request related to a problem? Please describe.
I have a script with a custom field (mode), I would like to call. I thought I can do so with
target:
  entity_id: script.luftfiltermodus
data:
  mode: strong

but then I will get the error Failed to call service script/turn_on. extra keys not allowed @ data['modus"]
I tired different versions, also like nested in variables or in service_data.
Describe the solution you'd like
I would like to call my script with variables I provide. My current working example is:
 - type: custom:mushroom-template-card
            layout: vertical
            icon: mdi:fan-speed-2
            tap_action:
              action: call-service
              service: script.turn_on
              service_data:
                entity_id: script.luftfiltermodus
                variables:
                  mode: strong

Try using the script as the service instead of the target. AFAIK this should already work.

Then I’m getting the error Failed to call service script/turn_on. must contain at least one of entity_id, device_id, area_id, floor_id, label_id. even if there is an entity_id defined…

Wait, your config says custom:mushroom-template-card. This isn't the mushroom repo.

If that was a typo, your tap_action should be:
action: call-service
service: script.luftfiltermodus
data:
  variables:
    mode: strong

Can you also share your script? I haven't used scripts with input variables before and an example would help me debug if it is an issue with this repo.

Sorry for the confusion. The mushroom was just a working example, so with mushroom it works, with tile not. My script is
alias: Luftbefeuchtermodus
sequence:
  - service: humidifier.turn_on
    data:
      entity_id: humidifier.smartmi_humidifier_rainforest
  - service: select.select_option
    data:
      entity_id: select.smartmi_humidifier_rainforest_mode
      option: "{{ mode }}"
  - service: fan.turn_on
    data:
      entity_id: fan.smartmi_humidifier_rainforest_fan_homekit
  - choose:
      - conditions:
          - condition: template
            value_template: "{{ mode == 'Sleep' }}"
        sequence:
          - service: fan.set_percentage
            data:
              entity_id: fan.smartmi_humidifier_rainforest_fan_homekit
              percentage: 16
          - service: fan.turn_off
            data:
              entity_id: fan.smartmi_humidifier_rainforest_fan_homekit
fields:
  mode:
    description: The mode to set for the air humidifier
    example: auto
description: ""

If that was a typo, your tap_action should be:
action: call-service
service: script.luftfiltermodus
data:
  variables:
    mode: strong

This doesn’t work. Service should be script.turn_on I think.

This is working for me.
type: button
tap_action:
  action: call-service
  service: script.turn_on
  target:
    entity_id: script.script_args_test
  data:
    variables:
      speed: 25
autofill_entity_id: false

Maybe it's because you're using deprecated field service_data instead of data?

Ah that was the problem. It needs to be nested inside data and variables. It works now, thank you for your help and sorry.


Fabric8 2.2.8 release upgrade

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/664/
Test PASSed.


update UCP/DTR system requirements page

Problem description
https://docs.docker.com/datacenter/ucp/2.1/guides/admin/install/system-requirements/
still uses CS engine.
Also need to add requirement to have block device for devicemapper if using centos/rhel.
Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

Duplicate of #2517, and #2769


Novel View Synthesis

I am very excited about your work .  How can I render a picture in novel view?

Hi, Thanks for your interest in our work!
The following function is what we use for Replica Novel View Synthesis: https://github.com/spla-tam/SplaTAM/blob/a0bda58dd6fbf3e2ad31e40adc48514923bec4c0/utils/eval_helpers.py#L623
Similar code can be used to render novel views from a SplaTAM reconstruction. The main steps are as follows:

Initialize pose for the novel view (this is with respect to the first frame used for SLAM; this is the origin of the reconstruction).
Render the 3D Gaussian Map from the novel camera pose.

Our interactive visualizer also does the same thing: https://github.com/spla-tam/SplaTAM/blob/a0bda58dd6fbf3e2ad31e40adc48514923bec4c0/viz_scripts/final_recon.py#L241

Closing Issue due to inactivity.


Set up future payments | Payment sheet does not update default payment method.

Issue Details:

I have an app where I have a subscription service. I want users to have multiple payment methods available.
Using the payment sheet works well. If a user adds a new card, it attaches that payment method to their account.
However, when a user then successfully adds their card (or selects an existing stored card) for future payment, it does NOT update the card to be the default option.

I feel like this  should be possible, to make the most recent payment method (added or selected) to become the default method in the account.
Any suggested action to find a resolution to this? I feel I am missing something..... Thanks!

Hi! could you provide a couple more details around what you're trying to do?
I'm assuming you're using SetupIntents here, and when using the payment sheet, it does assign the payment method correctly. But then you'd like that payment method as the default method shown in the Payment Sheet UI?

@charliecruzan-stripe Hey Charlie, thanks for reaching out.
I am using PaymentSheet to capture users card information and store it in their account. I am not charging them, so yes like you mentioned I am using a setup intent.
I think my main question here is - Can I configure the setup intent to make the payment method created be the new default payment method for the attached customer?
Example:

User has 2 cards associated with account
User adds new payment method using payment sheet
Desired result: new payment method added immediately becomes that users default payment method.

I had the feeling the newly added card was set as default. I need to double check this then. @parkerbo Did you find a workaround ?
Also, if you want to attach the payment_method on a subscription (when it succeed), did you know you can use somethink like that on your backend ?
    const subscription = await stripe.subscriptions.create({
      // ...
      payment_settings: {
        save_default_payment_method: 'on_subscription',
      },
      / ....
    });

I don't know if this answers partially your question. Note that you need to be on latest stripe version, types has been added quite recently.

The concept of a "default payment method" only really exists in terms of subscriptions, so @adrien-may is correct in suggesting the usage of save_default_payment_method on the server-side :) Going to close this issue

Thanks all. My desired result here was a payment method becomes default immediately when it gets added to a customer account.
I just opted for sending an API request to change the customer's default method, I was just seeing if it was possible to not have that extra step (in my case the card isn't being added via a subscription, but via a SetupIntent)

@parkerbo What about using a webhook once your newly added card is attached to your customer ?

@parkerbo Hi, can you please share the API you used for making it default.

this flow is broken stripe, you need to extend the setupintent to allow for adding the payment method as the primary default payment method upon saving. There is currently a huge hassle the only ways I see are to use webhooks to then set this as default after saving or have a hack check and update to do so before create the subscription intent as subscriptions are requiring a default payment. Additionally it would be a good improvement to extend the subscription to allow for creating and saving the default payment in this process or simply not requiring a default payment for the customer and only for the subscription (this is the fastest solution to simplifying the process for integrations)

@keshavsharma0712 Sorry for late reply. You can update default payment method by updating the Stripe customer.
See here
Small code snippet example:
stripe.customers.update(customerId, { 					invoice_settings: { 						default_payment_method: paymentMethodId, 					}, 					expand: ["invoice_settings.default_payment_method"], 				}),

@parkerbo Hi, I am integrating payment sheet, how do you get the payment method ID from payment sheet. or how are you setting card as default.


Diabolik Lovers Limited [PCSG00272]

App summary

App name: Diabolik Lovers Limited V Edition
App serial:  [PCSG00272]
App version: v1.01

Vita3K summary

Version: Unsure how to check but latest version from Vita3k website directly, downloaded few days ago
Build number: 3596
Commit hash: https://github.com/vita3k/vita3k/commit/418f234
CPU backend: Dynarmic
GPU backend: OpenGL

Test environment summary

Tested by: sherry5122
OS: Windows 11
CPU: AMD Ryzen 7 5700U with Radeon Graphics            1.80 GHz
GPU: AMD Radeon(TM) Graphics
RAM: 16.0 GB (15.3 GB usable)

Issues
Game is playable, audio, speech and characters work fine but the background is a black screen from the start of gameplay.
Screenshots

Log
vita3k.log
Recommended labels
Playable, black screen
First time using this website and Vita3k so there's a lot of information I don't understand. If you're able to help me, I will provide the information to the best of my abilities :) I don't know what commit hash is, so i used a random one. Thank you!

https://github.com/Vita3K/compatibility/issues/452


Adding material-ui

Hi,
I recently discovered react and the material ui library.
I wanted to create a first attempt for this library.
It's a proof of concept hoping to find other contributors.

@nojaf Excellent. :) I'm thinking about the project setup. One way, I suppose, would be to have a separate building system to TSC, but what I think would be nice is for the Material-UI project to include in their distribution release (NPM package) a built JS file that we can just <script src... in, and include this definition that you've started on. What do you think?

Yes it would be ideal if the material-ui project had some sort of build step that generates the d.ts file.
My short term solution is to add components as I'm using them in my project.
F.ex

  interface CardProp extends React.HTMLAttributes {

  }

  interface CardState {

  }

  interface Card extends React.ReactElement<CardProp> {}

  interface CardClass extends React.ComponentClass<CardProp> {}

  var Card:CardClass;

It might suffice for the time being.

material-ui/material-ui.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/material-ui
http://bower.io/search/?q=material-ui
others?

[ ] has a test file? (material-ui/material-ui-tests.ts or others)
[ ] pass the Travis-CI test?

I already have a much more complete implementation of this. I am just missing the tests.  I'll work on adding tests at home over the weekend.

@nojaf Try #5918, it implements FlatButton and quite a bit more.  Please close this pull request and contribute to that pull request.

@ngbrown wow, nice work.
We should indeed start from your code as a base for this library.


Awd lm

Description
Add AWD-LSTM model for language model, add multi-gpu support for the model training, refine the data loader as the input for the model, and update related README for easily trying out.
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@szha The rnn_cell has been tested and updated. Pls refer to the updated version.


Fix errors at boot time

Description:
After running a yarn build:gaia from develop I encountred some errors

--moniker seems not to be a named parameter anymore
tls seems to be disabled by default instead of what the --help states

❤ Thank you!

[ ] Added entries in CHANGELOG.md with issue # and GitHub username
[ ] Reviewed Files changed in the github PR explorer

from our develop or from SDK develop? can we confirm these are intended changes, not just bugs or mistakes?

also, changelog 😄

From our develop, I removed the local-testnet folder and tried to build and start, then some errors occurred

The seed phrase was stripped recently as was printed in non standard way, I just created an issue to restore it https://github.com/cosmos/cosmos-sdk/issues/3518

from our develop or from SDK develop? can we confirm these are intended changes, not just bugs or mistakes?

Yep, except the huge amount of stakes needed to boot. I shuould report also that one.


Simultaneous accesses, but modification requires exclusive access.

I got this issue when I try to set up the first time a pin. When I want to set the last number this error occurs in "PasscodeLock" class in line 62.
Anybody now how can I fix this?

+1

the demo app is not working when you put the password for the first time it crashes

Any solutions ?

A fix have been set on the origin project :
https://github.com/yankodimitrov/SwiftPasscodeLock/issues/88#issuecomment-349039701


Certman Operator not working

I have an Openshift 4.3.12 cluster, I deployed Hive on it and created an Openshift 4.3.2 cluster on Azure using Hive. My ClusterDeployment Instance has set installed to true. I deployed Certman Operator using the manifest given in deploy folder, without any tag so latest will have been deployed but Certman is not creating any CertificateRequest. The logs are
{"level":"info","ts":1589193396.991396,"logger":"userMetrics","msg":"Metrics Route object updated Route.Name certman-operator and Route.Namespace certman-operator"}
{"level":"info","ts":1589193396.9914522,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1589193431.2917986,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"clusterdeployment-controller"}
{"level":"info","ts":1589193431.2921095,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"certificaterequest-controller"}
{"level":"info","ts":1589193431.3921175,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"clusterdeployment-controller","worker count":1}
{"level":"info","ts":1589193431.3922951,"logger":"controller_clusterdeployment","msg":"reconciling ClusterDeployment","Request.Namespace":"cluster-azure","Request.Name":"openshift-cluster-azure"}
{"level":"info","ts":1589193431.392353,"logger":"controller_clusterdeployment","msg":"not a managed cluster","Request.Namespace":"cluster-azure","Request.Name":"openshift-cluster-azure"}
{"level":"info","ts":1589193431.3924532,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"certificaterequest-controller","worker count":1}

Hi @kahootali, thank you for the report and welcome to the project.
Looking at the logs you provided it looks like the ClusterDeployment that it's attempting to reconcile is missing a label. Certman-Operator will skip over any ClusterDeployment that is missing api.openshift.com/managed: "true". This is to make sure that it it only attempts to reconcile for clusters that are a part of the OpenShift Dedicated Platform, and not clusters self hosted clusters that were added to the OpenShift Cluster Manager dashboard and platform. If you're running your own Hive you will likely want to make sure that all your clusters get that label applied.

Yeah this issue was solved, but I think there is some documentation gap, I will try to add to it. Thanks.


How to declare additional Webpack Entry Points

Problem
I'm trying to understand how could I extend Slate configuration to declare additional Webpack entry points, however when I try adding a entry object to slate.config.js I get an error reporting multiple entry points being declared to the same name.
module.exports = {
  slateCssVarLoader: {
    cssVarLoaderLiquidPath: ['src/snippets/css-variables.liquid']
  },
  slateTools: {
    extends: {
      dev: {
        entry: {
           `redirect:` './assets/scripts/redirect.js'
        },
        resolve: { extensions, alias },
        module: {
          rules: [
            {
              test: /\.jsx/,
              loader: 'babel-loader'
            }
          ]
        }
      }
  }
};

I assume there will be a specific syntax for the use case, can you confirm what would that be?
The use case here is that I to have a script run very early on a specific page, where waiting for the main bundle to load is a little too late.
Is there a way to achieve this while retaining Slate abilities?

Hey @lmartins -- will need you to be using the latest version of Slate for me to help. The structure and options available in slate.config.js have changed from the example you have pasted.

@t-kelly  understandable. I will try figure out a different approach then, as updating this project at this time is not feasible given the changes in the assets directory/processing, etc.
Thank you for looking into this though.

Hey @lmartins,
I've successfully upgraded quite large stores from as low as beta 0.1 to 0.14 if you'd like some advice on how to do this. We've also added PostCSS in to our stack over Sass so it is slightly more complex than it should be as well.

Thank you @dan-gamble, that is awesome!
I've done a few upgrades too, I'm avoiding doing it in this case due to the changes with SVG assets, which I'm using extensively on this project. I will eventually move things on this project too.
Thanks again for being available.


Move common kvstore code into interface

Each kvstore backend implementation has some duplicated code which can be moved into a common interface.

@tgraf was looking at the kvstore and was wonder if this issue has already been completed?
saw this under the kvstore package in kvstore.go
type KVClient interface {
	LockPath(path string) (KVLocker, error)
	GetValue(k string) (json.RawMessage, error)
	SetValue(k string, v interface{}) error
	InitializeFreeID(path string, firstID uint32) error
	GetMaxID(key string, firstID uint32) (uint32, error)
	SetMaxID(key string, firstID, maxID uint32) error

	GASNewSecLabelID(baseKeyPath string, baseID uint32, secCtxLabels *policy.Identity) error
	GASNewL3n4AddrID(basePath string, baseID uint32, lAddrID *types.L3n4AddrID) error

	DeleteTree(path string) error

	GetWatcher(key string, timeSleep time.Duration) <-chan []policy.NumericIdentity

	Status() (string, error)
}

type KVLocker interface {
	Unlock() error
}

was just wondering if there more you were wanting to do with this issue?

@travissalascox I think it's mostly complete. I noticed some code duplication while doing the local kvstore backend which ideally would be factored out into a common piece of code. Not supercritical though.


🪲 Considerable number of tests failing

changes to the execution engine have led to broad failures across the regression suite - the failures are so catastrophic that the suite currently doesn't run.
this should have been done in a feature branch before being merged to main.

147 failed, 4608 passed, 75 warnings in 406.14s (0:06:46)

New tests have been added to the SQLite suite.
119 failed, 4719 passed, 75 warnings in 291.23s (0:04:51)

103 failed, 4811 passed, 75 warnings in 430.09s (0:07:10)

90 failed, 4824 passed, 75 warnings in 281.83s (0:04:41)

TPCH regression suite failing x3
Memcached suite failing x1
Syntax suite failing x1
Short suite failing for the rest
Down to four suites with failures (of about 50)
79 failed, 4835 passed, 75 warnings in 297.06s (0:04:57)

30 failed, 4885 passed, 79 warnings in 385.99s (0:06:25)

19 failed, 4896 passed, 79 warnings in 314.54s (0:05:14)
All in the Short Suite (which is about 1900 tests)

6 failed, 4907 passed, 90 warnings in 338.02s (0:05:38)

100% pass locally, checking the same result on GitHub Actions.

Mac suite runs with 100% pass rate, Ubuntu test doesn't load, suspect it's a problem with valkey.


It does not work as a dependency of a package

A package with the following:
Package.onUse(function(api) {
  api.versionsFrom('1.2.1');

  api.use([
    'semantic:ui',
    'flemay:less-autoprefixer',
    'jquery'
  ], ['client']);

  api.addFiles([
    'semantic/custom.semantic.json'
  ], ['client'])
});

Does not generate files inside the package. In fact, it generates a file semantic/custom.semantic.json in the root of the app (but package is inside packages).

There are some recommendations out there to move Semantic-UI into its own package to keep build times down.
But not sure if this would work given the issue noted above by @mitar (and is it still a problem on 1.4.x?)


How to run this application ?

How to run this app ,Some one help

Keep in mind that the exact steps and options may vary depending on the specific server model and RAID controller used in your CyberPowerPC server. It's always a good idea to refer to the server's user manual or contact CyberPowerPC support for detailed instructions tailored to your hardware configuration. check here


python311Packages.myfitnesspal: 2.0.1 -> 2.1.0

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

4 packages built:

myfitnesspal (python311Packages.myfitnesspal)
myfitnesspal.dist (python311Packages.myfitnesspal.dist)
python310Packages.myfitnesspal
python310Packages.myfitnesspal.dist

Result of nixpkgs-review pr 280098 run on aarch64-linux 1

4 packages built:

myfitnesspal (python311Packages.myfitnesspal)
myfitnesspal.dist (python311Packages.myfitnesspal.dist)
python310Packages.myfitnesspal
python310Packages.myfitnesspal.dist


Error: unexpected server response (404) and sometime getting 504 and restarting Chrome error

Hey Guys,
Somehow our prerender middleware started giving errors
sometime it returns error
27|PRERENDER_API  | 2021-11-17T14:42:01.514Z getting https://www.agfolks.com/product/quick-hitch-adapter
27|PRERENDER_API  | 2021-11-17T14:42:01.545Z Error: unexpected server response (404)
27|PRERENDER_API  |     at ClientRequest. (/home/missio/public_html/cms/api-prerender/node_modules/ws/lib/WebSocket.js:653:21)
27|PRERENDER_API  |     at ClientRequest.emit (events.js:400:28)
27|PRERENDER_API  |     at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
27|PRERENDER_API  |     at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
27|PRERENDER_API  |     at Socket.socketOnData (_http_client.js:515:22)
27|PRERENDER_API  |     at Socket.emit (events.js:400:28)
27|PRERENDER_API  |     at addChunk (internal/streams/readable.js:293:12)
27|PRERENDER_API  |     at readableAddChunk (internal/streams/readable.js:267:9)
27|PRERENDER_API  |     at Socket.Readable.push (internal/streams/readable.js:206:10)
27|PRERENDER_API  |     at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
and also
some times getting this
26|PRERENDER_API  | 2021-11-17T14:29:45.266Z got 504 in 34ms for https://www.agfolks.com/product/mini-pallet-fork-add-a-grapple
26|PRERENDER_API  | 2021-11-17T14:29:45.281Z Chrome connection closed... restarting Chrome
26|PRERENDER_API  | 2021-11-17T14:29:45.281Z Starting Chrome
26|PRERENDER_API  | 2021-11-17T14:29:45.791Z Started Chrome: HeadlessChrome/97.0.4692.20
Please help

You may try using pm2 and starting it with:
pm2 start index.js --node-args="--max-old-space-size=4096"

I've fixed this issue by decreasing the restart period from 10 mins to 2 mins by setting BROWSER_TRY_RESTART_PERIOD


convert piano pedal from 0 to 127 and 127 to zero

Hi all,
I hope it's appropriate to raise an "issue" like this ..
I couldn't find a mailing list .. I emailed this to olemb ..
I am trying to iterate over a bunch of midi files and reverse the
polarity of the sustain pedal messages. When the control change 064
message is 0 I want it to be 127 and vise versa ..
I have a lot of files to fix and I thought a little python script might do it ..
I don't quite understand your documentation ..
Is this possible ?
I wrote a little script but it doesn't do much at the moment .. ..
import mido
from mido import Message, MidiFile, MidiTrack
mid = mido.MidiFile('DarkSoul_110BPM_Gmin_Groove1.mid')
for msg in mid.play():
if msg.type == 'control_change':

   ped = msg.value

   pedfix = abs(ped-127)

   msg = msg.copy( value = pedfix )

mid.save('new_song.mid')
Let me know if you have any ideas!
Thanks for your help in advance ..
Best Sean

Hi Sean,
Your code creates a new message but doesn't update the track. Something like this should work:
mid = mido.MidiFile('DarkSoul_110BPM_Gmin_Groove1.mid')
for msg in mid.play():
    for track in mid.tracks:
        for i, msg in enumerate(track):
            if msg.type == 'control_change':
                ped = msg.value
                pedfix = abs(ped-127)
                # Replace message in track.
                track[i] = msg.copy(value=pedfix)

mid.save('new_song.mid')

Note that I'm explicitly looping over the tracks to get the actual message. (mid.play() will do some tempo computations that change the time values and also merge everything into one track.)

Hi Ole,
Thanks very much for your reply!
I have this .py file (below) saved in the same directory as the midi file . If I run it from idle or call the program directly from the terminal it runs but nothing happens. I have to close the terminal to quit the program .. I tried putting ./ or various pathnames in the mid.save and have searched my filesystem but can't find the saved file anywhere .. Let me know if I am missing something obvious! Thanks Sean
import mido
from mido import Message, MidiFile, MidiTrack
mid = mido.MidiFile('DarkSoul_110BPM_Gmin_Groove1.mid')
for msg in mid.play():
for track in mid.tracks:
for i, msg in enumerate(track):
if msg.type == 'control_change':
ped = msg.value
pedfix = abs(ped-127)
# Replace message in track.
track[i] = msg.copy(value=pedfix)
mid.save('new_song.mid')

This program hangs too even with a sys.exit() at the end ..
It's like the for msg line is generating an endless loop ..
It just prints all the messages out in the file and then hangs ..
I am running from idle using python 2.7.13
import mido
from mido import Message, MidiFile, MidiTrack
import sys
mid = mido.MidiFile('DarkSoul_110BPM_Gmin_Groove1.mid')
for msg in mid.play():
print(msg)
for track in mid.tracks:
for i, msg in enumerate(track):
if msg.type == 'control_change':
ped = msg.value
pedfix = abs(ped-127)
# Replace message in track.
track[i] = msg.copy(value=pedfix)
print(msg)
#mid.save('new_song.mid')
sys.exit()

If you don't specify a path the file should be saved to the current working directory which you can find by doing this:
import os
print(os.getcwd())

BTW, are you using Windows?

Your example code just went bold. :) The hash character will mark the text as bold. You can surround your code example with triple backticks:
```
# Comment.
print('Code example')
```

or indent the code 4 spaces (which I find less cut and paste friendly so I always use the triple backticks).

Thanks Ole!
I added the backticks ! I am pretty new to git !
I am running osx 10.12 on an intel corei7
I added the print command and the directory I am in is indeed the directory I opened the file from in idle
/Users/seanwayland/Desktop/jonahmidi
I also tried running this very old mido program from the same directory  I wrote years ago and it works and saves a file :
import mido
import random
import sys

from mido import Message, MidiFile, MidiTrack

notes = [64, 64+7, 64+12]

with MidiFile() as outfile:
    track = MidiTrack()
    outfile.tracks.append(track)

    track.append(Message('program_change', program=12))

    delta = 16
    for i in range(2):

        track.append(Message('note_on', note=notes[i], velocity=100, time=0))
    for i in range(2):
        if i==0:
                    track.append(Message('note_off', note=notes[i], velocity=100, time=delta))
        else:
                    track.append(Message('note_off', note=notes[i], velocity=100, time=0))

    outfile.save('seanstest.mid')

A, I made a mistake and left the for msg in mid.play() in which means it would still play back the file in addition to converting each message for each message. Sorry.
This should work:
from mido import Message, MidiFile, MidiTrack
import sys

mid = MidiFile('DarkSoul_110BPM_Gmin_Groove1.mid')
for track in mid.tracks:
   for i, msg in enumerate(track):
        if msg.type == 'control_change':
            ped = msg.value
            pedfix = abs(ped-127)
            # Replace message in track.
            track[i] = msg.copy(value=pedfix)
            print(msg)

#mid.save('new_song.mid')

eggsellent !!
It's working !!
Now I need to figure out how to pass a file as an argument to the program and batch convert a whole folder of midi files ..
I should be able to figure that out !!
Thanks so much for your help !!

No problem! I'm happy to hear that it works.
I guess I'll just close the issue. Just let me know if you run into more problems.

thanks again !!


Calendar control renders on a page [POC]

react calendar
Proof of concept for events page

yep, it certainly does!  we saw it today


Rearrange dockerfile

Hi.
If you rearrange the Dockerfile to run the install&update as the last action, docker could reuse the previous layers of mkdir and Add.
Presumed the parent image does not change.

Thanks! Fixed in cff0960.


Added MMTEB

We are getting ready to add MMTEB, so I have added it here to make sure that everything links up. I still consider it a work in progress so it is not linked it in the readme.
This PR:

Add the mmteb folder
Add documentation for adding datasets

Updates existing documentation
Added docstring to metadata object

Moved metadata_dict attribute to abstask
Added the point system. Did a slight refactor here, let me know what you think
Added minor tweaks to the MMTEB description (mostly fixing links)

I have updated the PR. Just swinging it out for a final review, before merging it in (the discussion can still continue)

Hei everyone, will merge this in (as it is e.g. holding up other PRs), but do feel free to open new PRs with corrections


Image file is truncated (4 bytes not processed)

Hello,
I was implementing this system and i got an error:
Epoch: 0 | Iteration: 46941 | Classification loss: 0.39337 | Regression loss: 0.51541 | Running loss: 0.83944
Epoch: 0 | Iteration: 46942 | Classification loss: 0.26286 | Regression loss: 0.14560 | Running loss: 0.83871
Traceback (most recent call last):
  File "train.py", line 179, in <module>
    main()
  File "train.py", line 125, in main
    for iter_num, data in enumerate(dataloader_train):
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 582, in __next__
    return self._process_next_batch(batch)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 608, in _process_next_batch
    raise batch.exc_type(batch.exc_msg)
ValueError: Traceback (most recent call last):
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/plugins/pillow.py", line 518, in pil_try_read
    im.getdata()[0]
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/PIL/Image.py", line 1308, in getdata
    self.load()
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/PIL/ImageFile.py", line 249, in load
    "(%d bytes not processed)" % len(b)
OSError: image file is truncated (4 bytes not processed)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in <listcomp>
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/dataloader.py", line 65, in __getitem__
    img = self.load_image(idx)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/dataloader.py", line 76, in load_image
    img = skimage.io.imread(path)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/skimage/io/_io.py", line 61, in imread
    img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/skimage/io/manage_plugins.py", line 210, in call_plugin
    return func(*args, **kwargs)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/core/functions.py", line 221, in imread
    reader = read(uri, format, "i", **kwargs)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/core/functions.py", line 143, in get_reader
    return format.get_reader(request)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/core/format.py", line 164, in get_reader
    return self.Reader(self, request)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/core/format.py", line 214, in __init__
    self._open(**self.request.kwargs.copy())
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/plugins/pillow.py", line 423, in _open
    return PillowFormat.Reader._open(self, pilmode=pilmode, as_gray=as_gray)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/plugins/pillow.py", line 137, in _open
    pil_try_read(self._im)
  File "/home/joselito92/Projects/thesis/retinanet/pytorch-retinanet/lib/python3.7/site-packages/imageio/plugins/pillow.py", line 529, in pil_try_read
    raise ValueError(error_message)
ValueError: Could not load ""
Reason: "image file is truncated (4 bytes not processed)"
Please see documentation at: http://pillow.readthedocs.io/en/latest/installation.html#external-libraries

Why?

in dataloader.py add this:
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True


PlatformInit() namespacing

PlatformInit() namespacing is a bit generic and has caused an issue in a porting exercise I am doing, Would it be possible to change it to otPlatInit() in line with the other platform files? The same would apply to PlatformProcessDrivers().

@robertcragie, thanks for raising this issue.
We want to reserve the otPlat* prefix for platform functions that the OpenThread library actually uses.  Things like PlatformInit() and PlatformProcessDrivers() are specific to the particular examples that are using OpenThread.  Would something like otExampleInit() and otExampleProcessDrivers() help?

I'd like to throw the proposed namespace of otRuntime* into the hat.  So PlatformInit() and PlatformProcessDrivers () would become otRuntimeInit() and otRuntimeProcessDrivers().

@turon, not sure I see "runtime" as a good fit.  A "runtime" typically implements an execution model, or portions thereof.  In this case, PlatformInit() and PlatformProcessDrivers() have nothing to do with the execution model.

@jwhui I see your point as these are called by the example apps' main(), not the OpenThread library and are indeed specific to the way the examples are structured. The otExample prefix works for me but I would suggest making that distinction clear in the porting guide, i.e. separating what is actually platform abstraction from specific example implementation API.


Suspect that UART loss some data intermittently.

Suspect that UART loss some data intermittently.
Correct
+IPD,0,497:GET / HTTP/1.1
Sometimes
+IPD,0,497:GET / HTP/1.1
+IPD,0,497:GET /HTTP/1.1
+IPD,0,47:ET / HTP/1.1

This issue is caused when using ESP8266 AT command. ESP8266 module could be the problem. More investigation required.

Tested with another ESP8266 module, but there is the same problem.
We need to investigate the possibility of the loss of some UART data.

An experiment

Connect two Pico with UART0 (TX <--> RX)
Pico A sends 1440 bytes every 1s.
Pico B prints the size of received data every 1s.
In Pico B's terminal hitting enter key several time, it seems losses some data.

Capture

// for Pico A

var UART = require('uart').UART;
var serial = new UART(0, {bufferSize: 4096});

pinMode(25, OUTPUT);

setInterval(() => {
  var msg = '01234567890-=!@#$%^&*()_+qwertyuiop[]asdfghjkl;zxcvbnm,./QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>?';
  serial.write(msg+msg+msg+msg); // 360
  serial.write(msg+msg+msg+msg); // 720
  serial.write(msg+msg+msg+msg); // 1080
  serial.write(msg+msg+msg+msg); // 1440
  digitalToggle(25);
}, 1000);

// for Pico B

var UART = require('uart').UART;
var serial = new UART(0, {bufferSize: 4096});

var c = 0;

serial.on('data', function (data) {
  c = c + data.length;
});

setInterval(() => {
  console.log(c);
  c = 0;
}, 1000);


Presubmits are failing with HTTP 400 on dart.googlesource.com repos.

There are numerous instances of these failures.
Some are able to reproduce this locally. I could not do so on my Mac host from home.
Logs are:
src/third_party/dart/third_party/pkg_tested/dart_style (ERROR)
----------------------------------------
[0:01:44] Started.
[0:01:44]

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://dart.googlesource.com/dart_style.git /tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/_gclient_dart_style_58vpkdez' in '/tmp/clean_engine'

[0:01:44] Cloning into '/tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/_gclient_dart_style_58vpkdez'...
[0:01:44] remote: Counting objects: 1
[0:01:44] remote: Counting objects: 84, done
[0:01:44] Receiving objects:   0% (1/7305)
[0:01:44] Receiving objects:  10% (731/7305)
[0:01:45] Receiving objects:  60% (4383/7305)
[0:01:46] remote: Total 7305 (delta 5156), reused 7305 (delta 5156)
[0:01:46] Receiving objects: 100% (7305/7305)
[0:01:46] Resolving deltas:   0% (0/5156)
[0:01:47] Resolving deltas:  10% (521/5156)
[0:01:47] Resolving deltas: 100% (5156/5156)
[0:01:47] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:47] fatal: The remote end hung up unexpectedly
[0:01:48] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:48] fatal: The remote end hung up unexpectedly
[0:01:49] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:49] fatal: The remote end hung up unexpectedly
[0:01:52] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:52] fatal: The remote end hung up unexpectedly
[0:01:56] _____ Conflicting directory found in /tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/dart_style. Moving to /tmp/clean_engine/_bad_scm/src/third_party/dart/third_party/pkg_tested/dart_styleq3i438an.
[0:01:56]
[0:01:56]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://dart.googlesource.com/dart_style.git /tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/_gclient_dart_style_gfo01p6r' in '/tmp/clean_engine'

[0:01:56] Cloning into '/tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/_gclient_dart_style_gfo01p6r'...
[0:01:56] remote: Counting objects: 1
[0:01:56] remote: Counting objects: 84, done
[0:01:56] Receiving objects:   0% (1/7305)
[0:01:56] Receiving objects:  10% (731/7305)
[0:01:56] remote: Total 7305 (delta 5156), reused 7305 (delta 5156)
[0:01:56] Receiving objects: 100% (7305/7305)
[0:01:56] Resolving deltas:   0% (0/5156)
[0:01:56] Resolving deltas:  10% (526/5156)
[0:01:57] Resolving deltas: 100% (5156/5156)
[0:01:57] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:57] fatal: The remote end hung up unexpectedly
[0:01:58] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:58] fatal: The remote end hung up unexpectedly
[0:01:59] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:01:59] fatal: The remote end hung up unexpectedly
[0:02:01] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
[0:02:01] fatal: The remote end hung up unexpectedly
----------------------------------------
Error: Command 'git -c core.deltaBaseCacheLimit=2g fetch origin 0fe592042eda5d9eea6fc240a8ee0fe531bb0794 --no-tags' returned non-zero exit status 128 in /tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/dart_style

Warnings:
Conflicting directory /tmp/clean_engine/src/third_party/dart/third_party/pkg_tested/dart_style moved to /tmp/clean_engine/_bad_scm/src/third_party/dart/third_party/pkg_tested/dart_styleq3i438an.

I was able to run this locally but @freiling wasn't. When attempting to run git show 0fe592042eda5d9eea6fc240a8ee0fe531bb0794, his result was fatal: bad object 0fe592042eda5d9eea6fc240a8ee0fe531bb0794. while mine was
commit 0fe592042eda5d9eea6fc240a8ee0fe531bb0794 (HEAD, origin/bump-2.0.2)
Author: Robert Nystrom<EMAIL_ADDRESS>Date:   Fri Jul 2 14:48:25 2021 -0700

    Bump version to publish 2.0.2.

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4903665..a3e9013 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-# 2.0.2-dev
+# 2.0.2

 * Don't unnecessarily split argument lists with `/* */` comments (#837).
 * Return correct exit code from `FormatCommand` when formatting stdin (#1035).
diff --git a/lib/src/cli/formatter_options.dart b/lib/src/cli/formatter_options.dart
index a60cc7f..ac888ab 100644
--- a/lib/src/cli/formatter_options.dart
+++ b/lib/src/cli/formatter_options.dart
@@ -13,7 +13,7 @@ import 'show.dart';
 import 'summary.dart';

 // Note: The following line of code is modified by tool/grind.dart.
-const dartStyleVersion = '2.0.1';
+const dartStyleVersion = '2.0.2';

 /// Global options that affect how the formatter produces and uses its outputs.
 class FormatterOptions {
diff --git a/pubspec.yaml b/pubspec.yaml
index 7bc89ec..8665162 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
 name: dart_style
 # Note: See tool/grind.dart for how to bump the version.
-version: 2.0.2-dev
+version: 2.0.2
 description: >-
   Opinionated, automatic Dart source code formatter.
   Provides an API and a CLI tool.
(END)

Note that origin/bump-2.0.2 that I have locally is not present on the remote https://dart.googlesource.com/dart_style/+refs.
The commit seems to have been authored by @munificent. Perhaps a deleted branch is being referenced?

Are we running into resource request limits for Git on Borg?

The dart_style hash in DEPS is wrong, and does not refer to the 2.0.2 commit on the master branch and tagged with label '2.0.2'.
I will restore the lost commit with that hash, and correct the hash to the right one.

https://ci.chromium.org/p/flutter/g/engine/console is not showing any more purple, so closing this. Please reopen if this continues to be a problem.


Uncaught TypeError: Cannot read property 'prototype' of undefined

Got this error on launch
Would be happy to retry
Atom Version: 1.0.0
System: Mac OS X 10.9.5
Thrown From: snake package, v0.2.0
Stack Trace
Uncaught TypeError: Cannot read property 'prototype' of undefined
At /Users/ramseybarghouti/.atom/packages/snake/lib/snake-view.coffee:5

TypeError: Cannot read property 'prototype' of undefined
  at __extends (/Users/ramseybarghouti/.atom/packages/snake/lib/snake-view.coffee:5:199)
  at /Users/ramseybarghouti/.atom/packages/snake/lib/snake-view.coffee:6:3
  at Object.<anonymous> (/Users/ramseybarghouti/.atom/packages/snake/lib/snake-view.coffee:145:5)
  at Object.<anonymous> (/Users/ramseybarghouti/.atom/packages/snake/lib/snake-view.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/ramseybarghouti/.atom/packages/snake/lib/snake.coffee:1:13)
  at Object.<anonymous> (/Users/ramseybarghouti/.atom/packages/snake/lib/snake.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:709:34)
  at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:257:12)
  at PackageDetailView.module.exports.PackageDetailView.activate (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:163:26)
  at PackageDetailView.module.exports.PackageDetailView.initialize (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:146:12)
  at PackageDetailView.View (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
  at new PackageDetailView (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:38:54)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-view.js:256:22
  at SettingsView.module.exports.SettingsView.getOrCreatePanel (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-view.js:261:19)
  at SettingsView.module.exports.SettingsView.showPanel (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-view.js:306:24)
  at space-pen-div.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:260:26)
  at space-pen-div.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at space-pen-div.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -1:42.5.0 editor:select-to-first-character-of-line (atom-text-editor.editor.mini.is-focused)
     -1:40.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{}

Installed Packages
# User
autocomplete-plus-python-jedi, v0.3.6
autocomplete-python, v0.5.1
linter-python-pep8, v0.2.0
linter-python-pyflakes, v0.1.0

# Dev
No dev packages

Closed do to inactivity.


Separate download for options and weights

Hi @PhilipMay,
thanks for releasing this German ELMo model :+1:
I've one question: would it be possible that you provide the options.json and weights.hdf5 as separate downloads 🤔
I would really like to include the model in Flair and this could be done directly whenever there's a direct url for options and the weights file.
E.g. for my recently trained model on Basque it would be possible with:
embeddings = ELMoEmbeddings(options_file="https://schweter.eu/cloud/eu-elmo/options.json",
                            weight_file="https://schweter.eu/cloud/eu-elmo/weights.hdf5")

As you can see, it is only necessary to pass an url to the options.json and weights.hdf5 file.
Would be really awesome if you can provide these two files :heart:
Thanks in advance,
Stefan

Hey @stefan-it - here are the two files:
https://github.com/t-systems-on-site-services-gmbh/german-elmo-model/releases/download/files_1/options.json
https://github.com/t-systems-on-site-services-gmbh/german-elmo-model/releases/download/files_1/weights.hdf5

@stefan-it can you please tell me if I can close the issue now?
PS: Maybe you should try to fine tune this model with your language data. That might improve merformance.

@PhilipMay Thanks for adding this! When I download options and weights locally it is perfectly working! I'll do some more experiments on CoNLL-2003 in a few days :)


only add debuginfo=2 when generating asm/wasm

The primary purpose of setting debuginfo=2 is to map back from ASM/WASM output to rust source. That's not necessary for LLVM IR output, or MCA, and LLVM IR gets substantially cleaner without debuginfo.
However, debuginfo=2 is also (currently) needed for function boundary detection on ASM output on both Windows and Mac OS.
Related: https://github.com/pacak/cargo-show-asm/pull/143#discussion_r1114247796

Oh, I messed up...

I think MCA also needs debug-info too since it uses the same code as asm to detect where function boundaries are... I'll add them separately and I guess MCA needs to be added to CI too.


Set the version of clang-format to be the same as used in DuckDB

Behavior differs between versions of clang-format, to be sure that the entire codebase doesn't have to be reformatted when clang-format updates I've locked it to 11.0.1 (the same that DuckDB uses)
Primary reason I'm making this change is that I am currently having to switch back and forth my clang-format version, which I would prefer to not do.

It's not running the CI, I'm having some trouble figuring out why it's not

Yeah it makes sense to align clang-format versions across different duckdb projects. And changing it here seems easiest by far. It might be worth bumping the clang-format version on the repos soonish again though, since it's 7 major versions behind at this point.

It's not running the CI, I'm having some trouble figuring out why it's not

Maybe try something like this:
git commit --allow-empty 'bump ci'
git push

GitHub actions sometimes have a bad moment.

ah, ci didnt run on that last commit because .clang-format isn't in the list here:
https://github.com/duckdb/pg_duckdb/blob/de8fa8e3590ff6cb1be86607ea3ab7af305a9590/.github/workflows/build_and_test.yaml#L4-L13


Update Composer dependencies (2023-08-21-00-12)

Visual regression test passed!
View the visual regression test report


AMP ADS01 fails to start or restart unless the host machine is restarted. Docker related issue.

Bug Report
System Information

Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-122-generic x86_64)
v<IP_ADDRESS>, built 09/08/2022 19:02
Bleeding release

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do? Restart ADS01 on a Target AMP VM.
What are you expecting to happen? It to work
What is actually happening? Console output from the instance manager says it started normally, but when I run the status command ADS01 is down. The only way to bring it back up is by restarting the entire host (VM) which is not great for my setup.

Reproduction
Setup an AMP Controller and a separate AMP target server.  I noticed that this started happening when I enabled the use of docker for instances. I have since then disabled the use of Docker, and yet the issue persists. I also tried following Mikes's advice here by running service docker restart  but it simply says that docker is not installed. I think this issue must be related to Docker, is there any way I can completely disable the use of Docker in my entire system so I can get back to normal?
Here is the console log for ADS01 crashing.
I'm also putting some of the console logs here in case someone tries searching for similar errors on the interwebs:
[Error] [0] (PlatformException) : ApplicationName='/snap/bin/docker', CommandLine='ps --format {{.Names}}', CurrentDirectory='', Native error= Cannot find the specified file
[Error]   at Diagnostics.Process.StartWithCreateProcess (Diagnostics.ProcessStartInfo startInfo)
  at Diagnostics.Process.Start ()
  at ModuleShared.AMPProcess.Start ()
  at (wrapper remoting-invoke-with-check) ModuleShared.AMPProcess.Start()
  at ModuleShared.AMPProcess.Start (Diagnostics.ProcessStartInfo info, String AsUser, Boolean WithEvents, Boolean SensitiveArgs, Boolean SkipJobRegistration)
  at ModuleShared.Utilities.GetUtilityOutput (String ExecutableFile, String Arguments, String WorkingDirectory, String RunAsUser, Boolean IncludeStdErr, Int32 timeoutMs, String input)
  at InstanceManagerPlugin.LocalInstanceManager.RefreshRunningDockerInstances ()

[22:44:45] [ErrorReporter Info]   : ####################################
[22:44:45] [ErrorReporter Info]   : #         Self Diagnostics         #
[22:44:45] [ErrorReporter Info]   : ####################################
[22:44:45] [ErrorReporter Info]   : AMP Diagnostics could not establish a solution for this exception.

Thanks for your help.

How did you install docker?
Amp has a built in script

bash <(wget -qO- getamp.sh) installDocker

How did you install docker?
Amp has a built in script

bash <(wget -qO- getamp.sh) installDocker

Yep that fixed the issue for me, thanks.


Locking around SSLSecret::secret_map access

This fixes an infrequent crash that would happen in getOrLoadSecret.
Looking at the core, the iterators for SSLSecret::secret_map in
SSLSecret::getOrLoadSecret were corrupted. This patch serializes access
to the structure so that multiple threads don't stomp on each other.

Cherry-picked to v9.2.x branch.


fix: update to eye v10.19.5

fix: update to eye v10.19.5

:tada: This issue has been resolved in version 16.18.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.18.3

Your semantic-release bot :package::rocket:


Flyout appears to scroll too quickly on Firefox wheel event

I remember something in the code about Firefox's events being 10x in magnitude of other browsers. Maybe this got lost on the flyout implementation of wheel?

I think this one got fixed by an upstream change.

It still scrolls noticeably faster for me in FF, so that it basically jumps from top of the flyout to bottom of the flyout in a couple of frames. To be precise, it's with the trackpad scroll on a macbook pro using Firefox 52. It does have the same behavior in upstream, so either it's broken everywhere or maybe that's "how it's suppose to be" or could just be my laptop :)
this is what I suspected was relevant: https://github.com/LLK/scratch-blocks/blob/fb51d1a0784e23f817b4588d1cf4c422646ffced/core/flyout_vertical.js#L321
Hope things are going well!!!

Fixed here (as part of a PR) and upstream: https://github.com/google/blockly/pull/1324


events like navigation on month is not working for dynamically loaded mat datepicker

Reproduction

I was working on a personal project, and one of the features is the dynamic loading of the mat date picker component in the page. I noticed that when you clicking on the year or navigating to month is not working, it just closes the date picker

Expected Behavior

When clicking on year or navigating to month should function correctly

Actual Behavior

It closes the datepicker when clicking on year label or navigating to any month by clicking arrow

Environment

Angular: ~8.2.14
CDK/Material: ^8.2.3
Browser(s): Chrome
Windows

Ignore this .. found the error, partly on my code


Synthesis failed for nodejs-spanner

Hello! Autosynth couldn't regenerate nodejs-spanner. :broken_heart:
Here's the output from running synth.py:
b'05 04:41:31,984 synthtool [DEBUG] > Cloning googleapis.\nDEBUG:synthtool:Cloning googleapis.\n2020-06-05 04:41:31,985 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\n2020-06-05 04:41:31,988 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 04:41:32,869 synthtool [DEBUG] > Generating code for: google/spanner/v1.\nDEBUG:synthtool:Generating code for: google/spanner/v1.\n2020-06-05 04:41:33,723 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>\n    \'package-name\': \'@google-cloud/spanner\'\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp2u3w46d2 is empty.\n2020-06-05 04:41:33,764 autosynth [ERROR] > Synthesis failed\n2020-06-05 04:41:33,764 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 04:41:33,771 autosynth [DEBUG] > Running: git checkout autosynth-self\nSwitched to branch \'autosynth-self\'\n2020-06-05 04:41:33,776 autosynth [ERROR] > Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n2020-06-05 04:41:33,918 autosynth [DEBUG] > Running: git checkout 57106a7aa288a3244edda78bba518b13746e8c62\nNote: checking out \'57106a7aa288a3244edda78bba518b13746e8c62\'.\n\nYou are in \'detached HEAD\' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n  git checkout -b <new-branch-name>\n\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 04:41:33,924 autosynth [DEBUG] > Running: git checkout d53a5b45c46920932dbe7d0a95e10d8b58933dae\nPrevious HEAD position was be74d3e build: do not fail builds on codecov errors (#528)\nHEAD is now at d53a5b4 docs: improve README (#600)\n2020-06-05 04:41:33,939 autosynth [DEBUG] > Running: git checkout cd804bab06e46dd1a4f16c32155fd3cddb931b52\nPrevious HEAD position was 973c6718 Update grpc config files to be consistent.\nHEAD is now at cd804bab docs: cleaned docs for the Agents service and resource.\n2020-06-05 04:41:33,990 autosynth [DEBUG] > Running: git branch -f autosynth-85\n2020-06-05 04:41:33,994 autosynth [DEBUG] > Running: git checkout autosynth-85\nSwitched to branch \'autosynth-85\'\n2020-06-05 04:41:33,999 autosynth [INFO] > Running synthtool\n2020-06-05 04:41:33,999 autosynth [INFO] > [\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\n2020-06-05 04:41:34,001 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --\n2020-06-05 04:41:34,206 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py.\nOn branch autosynth-85\nnothing to commit, working tree clean\n2020-06-05 04:41:34,336 synthtool [DEBUG] > Ensuring dependencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 04:41:34,341 synthtool [DEBUG] > Cloning googleapis.\nDEBUG:synthtool:Cloning googleapis.\n2020-06-05 04:41:34,342 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\n2020-06-05 04:41:34,346 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 04:41:35,244 synthtool [DEBUG] > Generating code for: google/spanner/v1.\nDEBUG:synthtool:Generating code for: google/spanner/v1.\n2020-06-05 04:41:36,094 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>\n    \'package-name\': \'@google-cloud/spanner\'\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp5ehvbxl9 is empty.\n2020-06-05 04:41:36,135 autosynth [ERROR] > Synthesis failed\n2020-06-05 04:41:36,136 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 04:41:36,142 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-06-05 04:41:36,147 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n    return _inner_main(temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main\n    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop\n    synthesize_inner_loop(toolbox, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop\n    synthesizer, len(toolbox.versions) - 1\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch\n    synthesizer.synthesize(synth_log_path, self.environ)\n  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize\n    synth_proc.check_returncode()  # Raise an exception.\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode\n    self.stderr)\nsubprocess.CalledProcessError: Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n'

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-spanner. :sob:
Here's the output from running synth.py:
b'20-06-05 10:34:01,820 synthtool [DEBUG] > Cloning googleapis.\nDEBUG:synthtool:Cloning googleapis.\n2020-06-05 10:34:01,821 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\n2020-06-05 10:34:01,824 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 10:34:02,754 synthtool [DEBUG] > Generating code for: google/spanner/v1.\nDEBUG:synthtool:Generating code for: google/spanner/v1.\n2020-06-05 10:34:03,668 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>\n    \'package-name\': \'@google-cloud/spanner\'\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmpq3u6ox5a is empty.\n2020-06-05 10:34:03,707 autosynth [ERROR] > Synthesis failed\n2020-06-05 10:34:03,708 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 10:34:03,714 autosynth [DEBUG] > Running: git checkout autosynth-self\nSwitched to branch \'autosynth-self\'\n2020-06-05 10:34:03,719 autosynth [ERROR] > Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n2020-06-05 10:34:03,842 autosynth [DEBUG] > Running: git checkout 57106a7aa288a3244edda78bba518b13746e8c62\nNote: checking out \'57106a7aa288a3244edda78bba518b13746e8c62\'.\n\nYou are in \'detached HEAD\' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n  git checkout -b <new-branch-name>\n\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 10:34:03,847 autosynth [DEBUG] > Running: git checkout d53a5b45c46920932dbe7d0a95e10d8b58933dae\nPrevious HEAD position was be74d3e build: do not fail builds on codecov errors (#528)\nHEAD is now at d53a5b4 docs: improve README (#600)\n2020-06-05 10:34:03,864 autosynth [DEBUG] > Running: git checkout 40a354b0f47454be4986f9db504cca4d4371c8c3\nPrevious HEAD position was 973c6718 Update grpc config files to be consistent.\nHEAD is now at 40a354b0 chore: add protoc proto3_optional flag in bazelrc\n2020-06-05 10:34:03,916 autosynth [DEBUG] > Running: git branch -f autosynth-86\n2020-06-05 10:34:03,920 autosynth [DEBUG] > Running: git checkout autosynth-86\nSwitched to branch \'autosynth-86\'\n2020-06-05 10:34:03,926 autosynth [INFO] > Running synthtool\n2020-06-05 10:34:03,926 autosynth [INFO] > [\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\n2020-06-05 10:34:03,928 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --\n2020-06-05 10:34:04,161 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py.\nOn branch autosynth-86\nnothing to commit, working tree clean\n2020-06-05 10:34:04,306 synthtool [DEBUG] > Ensuring dependencies.\nDEBUG:synthtool:Ensuring dependencies.\n2020-06-05 10:34:04,311 synthtool [DEBUG] > Cloning googleapis.\nDEBUG:synthtool:Cloning googleapis.\n2020-06-05 10:34:04,312 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\nDEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\n2020-06-05 10:34:04,315 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest\nDEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest\nlatest: Pulling from gapic-images/gapic-generator-typescript\nDigest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66\nStatus: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest\n2020-06-05 10:34:05,260 synthtool [DEBUG] > Generating code for: google/spanner/v1.\nDEBUG:synthtool:Generating code for: google/spanner/v1.\n2020-06-05 10:34:06,095 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n    return self.main(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n    rv = self.invoke(ctx)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n    return callback(*args, **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n    spec.loader.exec_module(synth_module)  # type: ignore\n  File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>\n    \'package-name\': \'@google-cloud/spanner\'\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library\n    return self._generate_code(service, version, "typescript", **kwargs)\n  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code\n    f"Code generation seemed to succeed, but {output_dir} is empty."\nRuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp5jkvdl65 is empty.\n2020-06-05 10:34:06,137 autosynth [ERROR] > Synthesis failed\n2020-06-05 10:34:06,137 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)\n2020-06-05 10:34:06,143 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-06-05 10:34:06,148 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n    return _inner_main(temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main\n    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop\n    synthesize_inner_loop(toolbox, synthesizer)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop\n    synthesizer, len(toolbox.versions) - 1\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch\n    synthesizer.synthesize(synth_log_path, self.environ)\n  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize\n    synth_proc.check_returncode()  # Raise an exception.\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode\n    self.stderr)\nsubprocess.CalledProcessError: Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n'

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-spanner. :sob:
Here's the output from running synth.py:
e 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>
    'package-name': '@google-cloud/spanner'
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library
    return self._generate_code(service, version, "typescript", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code
    f"Code generation seemed to succeed, but {output_dir} is empty."
RuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp1_xn9mi_ is empty.
2020-06-05 15:59:25,678 autosynth [ERROR] > Synthesis failed
2020-06-05 15:59:25,678 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)
2020-06-05 15:59:25,684 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-05 15:59:25,689 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-05 15:59:25,826 autosynth [DEBUG] > Running: git checkout 57106a7aa288a3244edda78bba518b13746e8c62
Note: checking out '57106a7aa288a3244edda78bba518b13746e8c62'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)
2020-06-05 15:59:25,831 autosynth [DEBUG] > Running: git checkout 9c2913e1831eb00fa01317f3fea4ce25d3f657eb
Previous HEAD position was be74d3e build: do not fail builds on codecov errors (#528)
HEAD is now at 9c2913e feat: show output from microgenerator runs (#575)
2020-06-05 15:59:25,846 autosynth [DEBUG] > Running: git checkout 40a354b0f47454be4986f9db504cca4d4371c8c3
Previous HEAD position was 973c6718 Update grpc config files to be consistent.
HEAD is now at 40a354b0 chore: add protoc proto3_optional flag in bazelrc
2020-06-05 15:59:25,905 autosynth [DEBUG] > Running: git branch -f autosynth-92
2020-06-05 15:59:25,909 autosynth [DEBUG] > Running: git checkout autosynth-92
Switched to branch 'autosynth-92'
2020-06-05 15:59:25,913 autosynth [INFO] > Running synthtool
2020-06-05 15:59:25,914 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-05 15:59:25,916 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-05 15:59:26,139 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py.
On branch autosynth-92
nothing to commit, working tree clean
2020-06-05 15:59:26,280 synthtool [DEBUG] > Ensuring dependencies.
DEBUG:synthtool:Ensuring dependencies.
2020-06-05 15:59:26,284 synthtool [DEBUG] > Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2020-06-05 15:59:26,285 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-05 15:59:26,289 synthtool [DEBUG] > Pulling Docker image: gapic-generator-typescript:latest
DEBUG:synthtool:Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:c9bc12024eddcfb94501627ff5b3ea302370995e9a2c9cde6b3317375d7e7b66
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-06-05 15:59:27,209 synthtool [DEBUG] > Generating code for: google/spanner/v1.
DEBUG:synthtool:Generating code for: google/spanner/v1.
gapic-generator-typescript: https://github.com/googleapis/gapic-generator-typescript
Latest commit:
commit a858a371e225254fca1c32d8d6b142b42cb711ad
Author: release-please[bot]<EMAIL_ADDRESS>Date:   Thu Jun 4 16:54:54 2020 -0700

child_process.js:642
    throw err;
    ^

Error: spawnSync protoc EACCES
    at Object.spawnSync (internal/child_process.js:1041:20)
    at spawnSync (child_process.js:607:24)
    at Object.execFileSync (child_process.js:634:15)
    at Object.<anonymous> (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/gapic-generator-typescript.js:117:17)
    at Module._compile (internal/modules/cjs/loader.js:955:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
    at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
    at internal/main/run_main_module.js:17:11 {
  errno: 'EACCES',
  code: 'EACCES',
  syscall: 'spawnSync protoc',
  path: 'protoc',
  spawnargs: [
<EMAIL_ADDRESS>    '--typescript_gapic_out=/out',
    '--gapic-validator_out=.',
    '--typescript_gapic_opt="grpc-service-config=google/spanner/v1/spanner_grpc_service_config.json"',
    '--typescript_gapic_opt="package-name=@google-cloud/spanner"',
    '--typescript_gapic_opt="main-service=spanner"',
    '--experimental_allow_proto3_optional',
    '-I/in',
    '/in/google/spanner/v1/mutation.proto',
    '/in/google/spanner/v1/spanner.proto',
    '/in/google/spanner/v1/type.proto',
    '/in/google/spanner/v1/keys.proto',
    '/in/google/spanner/v1/result_set.proto',
    '/in/google/spanner/v1/transaction.proto',
    '/in/google/spanner/v1/query_plan.proto',
    '-I/protos/api-common-protos-master'
  ],
  error: [Circular],
  status: null,
  signal: null,
  output: null,
  pid: 17,
  stdout: null,
  stderr: null
}
2020-06-05 15:59:28,113 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-spanner/synth.py", line 19, in <module>
    'package-name': '@google-cloud/spanner'
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 66, in typescript_library
    return self._generate_code(service, version, "typescript", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 195, in _generate_code
    f"Code generation seemed to succeed, but {output_dir} is empty."
RuntimeError: Code generation seemed to succeed, but /tmpfs/tmp/tmp4_ibitnr is empty.
2020-06-05 15:59:28,149 autosynth [ERROR] > Synthesis failed
2020-06-05 15:59:28,149 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57106a7 chore(deps): update dependency teeny-request to v7 (#1076)
2020-06-05 15:59:28,155 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-06-05 15:59:28,160 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Coding best practices

I open this issue to create a list of coding best practices that we can discuss and publish afterwards:

all UI texts must be localized i18n
avoid dependency to non-mature and/or non well adopted external libraries

should we move that to the wiki?

should we move that to the wiki?

it is currently in the README https://github.com/roots-id/rootswallet#readme, but maybe it is better in the wiki

wiki page created.
https://github.com/roots-id/rootswallet/wiki/Contributor-Recommendations


fix copy_tensor being called on the src buffer instead of the dst buffer

This includes other changes:

always initialize views in the view_src buffer

add RPC backend to Makefile build

add endpoint to all RPC object names

I'll add rpc-server to the Makefile as well.


router.query = undefine in useEffect

Hi, I tried to get router.query in useeffect but it is undefine. But outside of useeffect router.query have a value. Is this an error ? I just want to take a value in url pathname.

This it's more a Next.js issue rather than an SWR issue.
Answering your question, are you adding an empty array to your effect? Try passing router.query as dependency.

This it's more a Next.js issue rather than an SWR issue.
Answering your question, are you adding an empty array to your effect? Try passing router.query as dependency.

Yes i tried pass process.browser as dependency, it work, just don't like page render loading component.

It's the Next.js behavior, that query will be empty ({}) during the hydration (first render/prerender).
Check https://nextjs.org/docs/api-reference/next/router#router-object, you need to put the value directly in the dependency array or the SWR key value:
useEffect(() => {
  if (!router.query.foo) return
  // ...
}, [router.query.foo])

useSWR(router.query.foo ? myKey : null, fetcher)


Sample Kubernetes Architecture

Using DO's Kubernetes Clusters is not as simple as setting up a standard LB/Droplet stack.
Please provide a good reference architecture for standing up a network isolated Kubernetes Cluster within a VPC which is only accessible from the internet via a Load Balancer and Ingress.

A nginx ingress with traffic forwarding to different services would be super.
Like: domain.com/authentication (hits my authentication service); domain.com/payments (hits my payment process service).


Support torch tensors

Hi,
First of all i would like to comment that the repo is very useful and super easy to use as well as very well written! Amazing work!
I was wondering if you are planning on supporting torch tensors as input to Fxp alongside with the rest of the supported formats and types.
Thanks

Hello,
Thank you very much for your comments! I'm glad to hear about fxpmath is useful.
About torch tensor, the general answer is yes, but "support" is a quite broad concept. Because I have few time, maybe the new features are not coming soon.
In the meantime, it would be nice to know if you have in mind some features that you consider most important to supporting torch.
Let me move this issue into Discussions panel.


Update Readme.md and Install.md

Description
Update readme md and give instructions to install md
https://github.com/eclipse-tractusx/vas-country-risk/issues/89
https://github.com/eclipse-tractusx/vas-country-risk/issues/90
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hi @fabiodmota little remark you can update the issues as well with some funcion keyword whithin your PR
maybe
updates https://github.com/eclipse-tractusx/vas-country-risk/issues/89
or
fixes https://github.com/eclipse-tractusx/vas-country-risk/issues/90
can help here to your working mode.


Select Date and Cancel Not Clickable on IOS - View not in SafeArea

Current behaviour
On the iOS platform, the "Select Date" and "Cancel" icons are appearing in the top bar and are not clickable
Expected behaviour
On the iOS platform, the "Select Date" and "Cancel" icons  should be under SafeArea View
How to reproduce?
Run the App on IOS and Open Calendar Modal
Preview

What have you tried so far?
I have fixed this by giving Maring from top,
modalRoot: {
justifyContent: 'center',
alignItems: 'center',
flex: 1,
marginTop:Platform.OS==="ios"?40:0
},
Your Environment

software
version

ios
12

android
x

react-native
x.x.x

react-native-paper
x.x.x

node
x.x.x

npm or yarn
x.x.x

expo sdk
x.x.x

Here is a working example with SafeAreaProvider https://web-ridge.github.io/react-native-paper-dates/docs/date-picker/single-date-picker

@iM-GeeKy

<InputField
editable={false}
textColor="#0B0A14"
value={
modeLocal === "single"
? formatDateForDisplayingInputValue(startDate)
: ${formatDateForDisplayingInputValue(startDate)} - ${formatDateForDisplayingInputValue(endDate)}
}
disableIconClick={true}
icon={() => (

)}
direction="right"
customTextStyle={{fontSize: 16, fontWeight: "400"}}
/>

<DatePickerModal
mode={modeLocal as any}
saveLabel={"Save"}
theme={{color: "red"}}
validRange={{
endDate: new Date(
new Date().getFullYear(),
new Date().getMonth(),
new Date().getDate()
) // optional
}}
maxDate={new Date()}
visible={isModalVisible}
onDismiss={toggleModal}
label="Select Date"
onConfirm={
modeLocal === "single"
? handleConfirmDateSingle
: handleConfirmDateRange
}
{...(rest as any)}
/** any is used becase Library typescript has some issue */
/>

here is my code

@iM-GeeKy Is this working for you?


Remove the long-deprecated BooleanParameter

Description
That parameter has been deprecated since way over one year. I believe also before 2.0.
The correct  parameter to use is BoolParameter.

This will break so much code. I did not even know it was long deprecated ;) - but I guess is an easy-fix for existing code-base.

@mfcabrera, sure, but then you've ignored BooleanParameter is deprecated, use BoolParameter instead being printed out to your console for over a year. So my sympathy is not as high. But actually it's really good for me to know that people still use the deprecated version. I wish maintainers had more time to do deprecations properly, but that takes too much time.

FYI, BoolParameter was introduced in 1.0.21. BooleanParameter was deprecated in 2.0.0 and removed in 2.5.0.


Blog post on understanding Entropy

Please review and approve.

update the date maybe

@andrewm4894 : Approve once you check.

@cakrit : All changes are made. Please approve.