[MX-364] Create 'Payment' menu in profile tab

https://artsyproduct.atlassian.net/browse/MX-364
This PR is getting too big so I want to merge a few of these changes before doing follow up.
Changes in this PR

New Payments menu item in the profile tab.
New 'Add new card' screen. (This uses easy-peasy to manage the form state. I originally did it only as an experiment and was planning to convert to Formik but honestly with the computed properties and actions I prefer it to Formik so i left it as-is)
Create component for adding the new style generic page header PageWithSimpleHeader
Create new modal component FancyModal based on the core react-native Modal for doing the fancypants iOS 13 presentation style (should work on android too)
Create new Select component. This is part of palette but I haven't put it in the palette repo because I'm not convinced that doing that provides any value while we only have one react-native app.
Fixed a minor UI bug with the home hero
Applied the UI fixes from @samchieng's QA the other day
Fixed the Input component so that the KeyboardAvoidingView can keep the whole thing in view (+ padding!)
Look into updating tipsi-stripe in the hopes that they've made the credit card input behave more like a text input (we could use an onEnter callback, and it has weird focus/blur behaviour too)

Planned Follow-up

Add an optional search field to the Select component
Tests!
Look into proving useful error messages to the user on the credit card form
Give the Select a ref prop so we can open the country select programatically after the user hits enter on the 'State, province, etc' field.

FancyModal
Here it is being used on the collections page with a custom sheet height

Select
This also demonstrates FancyModal with the default sheet height (full screen)

Payment

New Card

#skip_new_tests

Warnings

:warning:
Missing Test Files:

src/lib/Components/__tests__/CreditCardDetails-tests.tsx
src/lib/Components/__tests__/FancyModal-tests.tsx
src/lib/Components/__tests__/PageWithSimpleHeader-tests.tsx
src/lib/Components/__tests__/Select-tests.tsx
src/lib/Scenes/MyProfile/Components/__tests__/MyProfileMenuItem-tests.tsx
src/lib/Scenes/MyProfile/__tests__/MyProfilePayment-tests.tsx
src/lib/Scenes/MyProfile/__tests__/MyProfilePaymentNewCreditCard-tests.tsx
src/lib/utils/__tests__/useInterval-tests.ts

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS

Warnings

:warning:
Missing Test Files:

src/lib/Components/__tests__/CreditCardDetails-tests.tsx
src/lib/Components/__tests__/FancyModal-tests.tsx
src/lib/Components/__tests__/PageWithSimpleHeader-tests.tsx
src/lib/Components/__tests__/Select-tests.tsx
src/lib/Scenes/MyProfile/Components/__tests__/MyProfileMenuItem-tests.tsx
src/lib/Scenes/MyProfile/__tests__/MyProfilePayment-tests.tsx
src/lib/Scenes/MyProfile/__tests__/MyProfilePaymentNewCreditCard-tests.tsx
src/lib/utils/__tests__/useInterval-tests.ts

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS

Thanks for the helpful feedback 🙌
Yea it works fine on non-rounded-corner devices. Good thinking on the KeyboardAvoidingView though! I hadn't considered that, and indeed it didn't work properly with text inputs in the modal. I made some adjustments this morning to add basic support for keyboard avoiding in full-height fancy modals, but if we want to support non-full-height fancy modals it would require some native work.

very nice PR 🎉


Making this library router agnostic and only dependent on history

With the advent of react-router 1.0 there have been great API improvements. For this project the main part is that the user can now provide a history instance to the router. Since the history object is not specific to react-router and can be used with any type of router, the current library name isn't fitting anymore. I am proposing to rename this from redux-react-router-transitions to redux-history-transitions in order to make clear that this library works with any system which uses a history instance to manage url-state.
Furthermore the use of history introduces breaking changes. Originally you were able to return an object with a shape of { path, params, query, replace } and the library would then utilize react-router to merge params into path and append query as query-string.
This shape has changed and now looks like this: { path, query, replace, state }. This means that instead of returning a path like /some/path/:myParam, you now will use template strings to inject the params directly: /some/path/${myParamVar}. In order to use query strings, you will have to enhance the history object with the useQueries enhancer. How this works can be seen in the example project.
All in all what this means is that redux-history-transitions now can be used whether you are using react or angular or whatever view library/framework you prefer, as long as you use history to manage your urls. This also means that I will be dropping support for react-router 0.13
The code in the master branch is updated and a working example is provided.
I would love to hear some opinions about this (suggestions to improve the API are also welcome!).
I personally feel that this is the way to go.
/cc @gaearon @idolize

I wasnt familiar with the previous API but anytime you can minimize dependencies (without breaking DX) its a good thing!
I prefer the more explicit /some/path/${myParamVar} paths as well.

I just went ahead and did this - closing, but feel free to still comment on it!

I think this is a great idea! It's cool to see react-router and the surrounding ecosystem become more loosely coupled in general; it gives devs more control over their application routing and state.


[PE-D][Tester E] Behaviour differs from User Guide

The recommended commands given in the UG and Error display do not work for the add command.
For example,

add s/A0251647W n/amanda p/89064678<EMAIL_ADDRESS>g/4.3 c/Hardworking
add s/A0269357C n/john doe p/91234567<EMAIL_ADDRESS>g/5.0 c/ t/pastTA t/deanslist

gave me the error shown in the screenshot below:

I also tried to copy the command recommended in the results display box but it doesn't work as well.

Labels: severity.Medium type.FunctionalityBug
original: yuxunn/ped#3

This has been fixed.


Install error

Hi! A have problem with build.
Problem is:

dlib package installed from the PPA
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
I found this ticket on stackoverflow
https://stackoverflow.com/questions/47284705/c1z-dynamic-exception-specification-error
This is it?

I have the same error and now trying to downgrade gcc from 7.5.0 to 7.3.0

It seem likes you need upgrade your dlib to newest version with all accompanying dependencies from readme


Updated product name in line with branding guidance for Meta Work Accounts

@connortreacy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jeevansd
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@Jak-MS Can we bypass Jeevan's approval for this? He's oof for the next couple weeks

@connortreacy @twimmers Is there a companion PR to this one that updates inbound links and adds a redirect for the renamed file?
If not, this PR is likely the cause of the live build issue referenced in #208579.
Cc: @TimShererWithAquent @Jak-MS

@mmacy @TimShererWithAquent - i missed that the file was renamed. Do you need me to revert the file name change?

@mmacy @TimShererWithAquent - i missed that the file was renamed. Do you need me to revert the file name change?

@Jak-MS Not sure on that. I think @TimShererWithAquent fixed the build warnings in the PR referenced above, but there's no redirect for the old file name (it 404s). You might be good to go if you add a redirect, but @TimShererWithAquent might have more input on that depending on what was done in his PR.

I made changes to articles authored by @barclayn and @CelesteDG such as removing links and commenting out graphics. They will have to make changes to repair my edits.
As for the file name change, I did remove an entry from the TOC. You should make sure that your new file name has a TOC entry.
Don't revert your file name changes. It won't fix the changes that I made to address the warnings. Review this page to see if you need to put in a forwarding link:
https://review.docs.microsoft.com/en-us/help/contribute/delete-rename-archive-move-reference-for-cl?branch=main
cc @rmca14

@mmacy Marsh, thanks for the feedback. It appears we should add a redirect for the file name change. If you or someone from your team can provide a target file, we'll be glad to add the redirect via a new PR.

@rmca14 - I can do this (create the redirect PR) a little later in my shift this morning.  (As @TimShererWithAquent mentioned, we should also make sure that the renamed file has a TOC entry)...
If you prefer to do it, or get to it first, here are the details:
Old file name: /articles/active-directory/saas-apps/facebook-work-accounts-tutorial.md
New file name: articles/active-directory/saas-apps/meta-work-accounts-tutorial.md
Thanks.

@rmca14 @mmacy @TimShererWithAquent @twimmers @connortreacy
It looks like @v-hgampala took care of this is https://github.com/MicrosoftDocs/azure-docs-pr/pull/208799 ... The TOC also looks to be update in the live site.
No need for additional action.

@Jak-MS Perfect, thanks for checking all.


Not able to attach more than one host to kubernetes setup

Rancher Version:
Latest- v1.0.2
Docker Version:
1.12.1
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu-Bare Metal from Scaleway(https://www.scaleway.com)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node Rancher
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:

Start Rancher standalone
Change default environment to kubernetes
Add a host
Add second host

Results:

First host starts fine.
Second host fails to add to kubernetes
Backtrace from exception:
https://gist.github.com/vipulnsward/3c4802e8fca6f465f660f153876d0346

Expected:

kubernetes should pick up more hosts added to system

@vipulnsward rancher's latest version is not 1.0.2. Not sure if thats what you meant. Also the gist just shows scheduling container error and nothing relating to the host. Can you provide more details here.

closing due to inactivity.

Sorry, couldn't get back on this. I moved on to use cattle instead of kubernetes, since it was not messing up etcd sync up and multi-host setup.


Remove function declaration from block to allow strict mode

Apps that depend on this module cannot run with the --use_strict flag due to the use of a function declaration within the body of an if statement.

Fixed in #13.


Inferring a Parameterized State Machine

Hello Everyone!
I am newcomer in the field of Automata Learning. I am not sure whether its an appropriate forum to put such kind of query at this forum. Please guide me if there is a separate forum/research group/blog regarding queries of Model Learning/regular inference.
My question is very simple and as:
In Learnlib there is Implementation of Angluin's Algo and it is explained with an example. Then Nise modify it for Mealy Machine and its Implementation and running example is also available in Learnlib.
Is there any Implementation (in learnlib) of algorithm with running example/running project for inferring a pararmeterized system like communication protocol?

I am a newcomer and need your guidance please. Any link for a running example for it?

Dear @bazali,
what is your understanding of a 'parameterized system'? Do you want to model parameters in input words? For example, upon sending a packet with id 'x', the system should acknowledge the retrieval of the paket with id 'x' (just like in network portocols)?
Depending on how you model input words and their responses, this may already be possible with mealy machines. The Mapper interface allows you to define arbitrary transformations between 'abstract' input symbols (which will be used by the learning algorithm) and 'concrete' input symbols (which will be executed on the system under learning). So you could define a "correct acknowledgement" symbol, which will only be returned by the mapper, if the IDs of the packets actually match.
If you are interested in true parameter support, I would suggest having a look at register automata. There is also RALib (code at bitbucket) -- an extension of Learnlib -- that deals with modeling and learning register automata. (A little advertising: we are planning to reintegrate the work of RALib into the main Learnlib. However, the people behind this work are quite busy, so there is no concrete estimate when this will happen).

Thanks for your reply and valuable suggestion. It will help me alot. Is there any running example/project available in Learnlib that used Mapper for transformation (abstract into concrete and vice versa)....?

We currently don't have an example specifically targeting the usage of Mappers. However, there exist some utility classes (e.g. MappedSUL, TestDriver) that utilize mappers and should demonstrate their basic usage.
Previously the Mapper interface was mainly used in conjunction with SULs, which is why you will find a lot of occurrences in the corresponding maven modules. We recently split the old interface to a new, simpler Mapper interface and a SULMapper interface, which covers the SUL-specific semantics (exceptions, etc.)
If you still have questions regarding mappers, I can also create a small gist that explicitly demonstrates mapping for a concrete oracle.

Thanks for your valuable suggestions.
If you create a small gist that demonstrates mapping for a concrete oracle then i shall be grateful to you.
No hurry....take your time......
Thank you......

I uploaded an example for transforming input/ouput sequences here. You should be able to run this example, if you copy the class somewhere in the learnlib-examples module, where the other examples are. However, you'll need to add the following dependency to the pom.xml of the learnlib-examples module, because I used an example SUL from this module.
<dependency>
    <groupId>de.learnlib.testsupport</groupId>
    <artifactId>learnlib-learning-examples</artifactId>
    <scope>compile</scope>
</dependency>

While creating the example, I realized, that mappers alone are probably not sufficient enough for your task. In general, mappers are expected to be stateless and are currently used in this fashion throughout the learnlib. It is the combination of a specialized membership oracle and mapper (or just the membership oracle, if you want to put everything there) that allows to correctly handle the state of the SUL when transforming queries.
I added some JavaDoc for hinting you, where you could pick these ideas up, to handle network comminucation. However, keep in mind that this approach uses abstraction to capture a non regular property in a regular model, so it may sometimes feel unnatural. You should definitely also consider more complex models (such as register automata) where your required behaviour can be expressed more naturally.

Thank you so much. Your detailed mail help me alot now. I shall bring into your knowledge in case of any difficulty.
Once again thanks for your cooperation...........Issue Closed :)
Ali

thank you.
the example you created under the hyperlink "here" is not being opened. may be server end problem. I tired number of times and at different times but failed to open it.browser try to open the link   https://gist.github.com/mtf90/d644214fb7cee254f0eb669986b36769 and then showed connection time out message....
Besides, can you suggest some paper or book or presentation that describe/explain the concept of Abstract Messages, Concrete Messages, mapper/Abstraction etc
I shall be grateful to you...
AliPhD Candidate, BUAA, Beijing, China
On Wednesday, November 8, 2017 4:49 AM, mtf90<EMAIL_ADDRESS>wrote:

I uploaded an example for transforming input/ouput sequences here. You should be able to run this example, if you copy the class somewhere in the learnlib-examples module, where the other examples are. However, you'll need to add the following dependency to the pom.xml of the learnlib-examples module, because I used an example SUL from this module.
de.learnlib.testsupport
learnlib-learning-examples
compile

While creating the example, I realized, that mappers alone are probably not sufficient enough for your task. In general, mappers are expected to be stateless and are currently used in this fashion throughout the learnlib. It is the combination of a specialized membership oracle and mapper (or just the membership oracle, if you want to put everything there) that allows to correctly handle the state of the SUL when transforming queries.I added some JavaDoc for hinting you, where you could pick these ideas up, to handle network comminucation. However, keep in mind that this approach uses abstraction to capture a non regular property in a regular model, so it may sometimes feel unnatural. You should definitely also consider more complex models (such as register automata) where your required behaviour can be expressed more naturally.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello
I tried many times and at different times to open the example but the hyperlink "here" is not working. Browser take much time and at the end display the message "the connection has time out" ......at the link
https://gist.github.com/mtf90/d644214fb7cee254f0eb669986b36769
Its humbly requested to verify the link plz.

Reagarding your questions:

From the top of my head, I don't know about any specific work of learning network protocols. However, a quick Google search on e.g. "tcp mealy abstraction" yielded three theses from Radboud University, which (at least from the titles) sound like they just suite your need (1, 2, 3). For a more general approach to abstraction (e.g. how to handle infinite domains such as numbers), I can suggest the work of Falk, Maik and Malte. (4, 5).

The gist link should work fine. To me, the error message "connection timed out" indicates some technical problems on the server-side. If something was wrong with the gist (or the URL) it would more likely be something like "file not found", etc. While visiting the URL, I noticed that github tries to automatically authenticate me with their OAuth mechanism. Maybe this is the culprit for you. Since this is a public gist, you could try to logout of github and visit the link again.

thank you so much.......this will help me alot.....Actually i am newcomer and exploring this area of Model/Automata Learning. Besides, I am alone and not a part of research group. Your suggestions/messages will be very
helpful for me.
May you live long and May you succeed in your goals.....
Ali
On Sunday, November 12, 2017 6:00 PM, mtf90<EMAIL_ADDRESS>wrote:

Reagarding your questions:

From the top of my head, I don't know about any specific work of learning network protocols. However, a quick Google search on e.g. "tcp mealy abstraction" yielded three theses from Radboud University, which (at least from the titles) sound like they just suite your need (1, 2, 3). For a more general approach to abstraction (e.g. how to handle infinite domains such as numbers), I can suggest the work of Falk, Maik and Malte. (4, 5).
The gist link should work fine. To me, the error message "connection timed out" indicates some technical problems on the server-side. If something was wrong with the gist (or the URL) it would more likely be something like "file not found", etc. While visiting the URL, I noticed that github tries to automatically authenticate me with their OAuth mechanism. Maybe this is the culprit for you. Since this is a public gist, you could try to logout of github and visit the link again.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Execution continued after error

Trealla will continue to run even error has occurred, which I think is not quite appropriate. e.g.:
:- initialization(main).

foo(A) :- bar(A).
foo(a).

main :- foo(X), write(X), nl, halt.

Output:
% tpl foo.pro
ERROR: UNKNOWN -> 'bar/1'
a
Halted

Fix confirmed, thanks.


AssertionError: If capturable=False, state_steps should not be CUDA tensors.

I got this error when running python main.py data/obama/ --workspace trial_obama/ -O --iters 125000 --finetune_lips --patch_size 32:
loss=0.0060 (0.0036), lr=0.000087: :   0% 4/6364 [00:01<2:21:59,  1.34s/it]Traceback (most recent call last):
  File "main.py", line 248, in <module>
    trainer.train(train_loader, valid_loader, max_epochs)
  File "/workspace/ER-Nerf/nerf_triplane/utils.py", line 983, in train
    self.train_one_epoch(train_loader)
  File "/workspace/ER-Nerf/nerf_triplane/utils.py", line 1252, in train_one_epoch
    self.scaler.step(self.optimizer)
  File "/opt/conda/lib/python3.8/site-packages/torch/cuda/amp/grad_scaler.py", line 338, in step
    retval = self._maybe_opt_step(optimizer, optimizer_state, *args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/cuda/amp/grad_scaler.py", line 285, in _maybe_opt_step
    retval = optimizer.step(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 65, in wrapper
    return wrapped(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/optimizer.py", line 109, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/adamw.py", line 161, in step
    adamw(params_with_grad,
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/adamw.py", line 218, in adamw
    func(params,
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/adamw.py", line 259, in _single_tensor_adamw
    assert not step_t.is_cuda, "If capturable=False, state_steps should not be CUDA tensors."
AssertionError: If capturable=False, state_steps should not be CUDA tensors.
loss=0.0060 (0.0036), lr=0.000087: :   0% 5/6364 [00:01<31:14,  3.39it/s]

Can someone please help?

I have same question, do you know how to deal with it

@1flyingpig  I fixed it. Just comment out the two lines in /opt/conda/lib/python3.8/site-packages/torch/optim/adamw.py that asserts capturable

@1flyingpig I fixed it. Just comment out the two lines (in my case line 259) in /opt/conda/lib/python3.8/site-packages/torch/optim/adamw.py that asserts capturable

I have also resolved it following your method. I want to ask if this will have any impact on subsequent training and results, please translate this sentence into English.

Please let me know if any impact :) @pengpengzi @1flyingpig thanks!


Implement best_seen_block loader for NetworkService

To complement is_major_syncing, ideally there should be a way of loading the best_seen_block (Target sync block number) from the NetworkService.

I believe this is a duplicate of https://github.com/paritytech/substrate/issues/5727
Please reopen if that's not the case.

I wouldn't call it duplicate, but related. If the shared NetworkWorker::service would have a best_seen_block loader, then it could be used to fix the RPC issue you mentioned, but is not RPC exclusive.
I leave it to you to decide if that is reason enough to have both issues open.

Now when https://github.com/paritytech/substrate/issues/5727 is implemented, do we still need this issue?

Closing as completed as best seen block is part of NetworkStatus: https://github.com/paritytech/substrate/blob/master/client/network/common/src/service.rs#L103


allow /* comment */ in json parser

Hi Jacob.
 If you think this needs more work or you don't like this feature please let me know :)

LGTM, thanks! Closes #22

Thanks for the quick turnover!


AKSampler connect after AudioKit.start() - (Middle C sine wave)

I am currently having an issue whereby I have multiple AKSamplers being created dynamically, and as I connect them to the master AKMixer, these samples play a middle-C sine wave when more than one sampler is present. According to the forum, this is attributable by connecting nodes to the mixer AFTER AudioKit.start() has been called. Unfortunately due to the nature of my app this has to happen. I have created a simplified example:
let sampler1 = AKSampler()
let sampler2 = AKSampler()

sampler1.loadWav("Sounds/fmpia1")
sampler2.loadWav("Sounds/fmpia1")

let mixer = AKMixer()

mixer.connect(sampler1)
// mixer.connect(sampler2)   // No sine wave heard

AudioKit.output = mixer
AudioKit.start()

mixer.connect(sampler2)  // sine wave is heard

sampler1.play()
sampler2.play()

Please can someone tell me a way to be able to add new samplers to the mixer on the fly without incurring this added sine wave?
Thanks

This was also posted to the forum which I think is a more appropriate place for the discussion.


2.8.2 Does not render check boxes on pdf

I've noticed that if I have a pdf that has check boxes on it and they are checked then it will not render them. Is there a setting or something that I am missing or is this an implementation issue?
I did notice that chrome also doesn't display the check boxes but firefox and edge do. So maybe its a pdf problem?

Here is a screenshot of the pdf in a pdf viewer.

I apologize this is not an issue with the library. It is an issue with how the pdf was made. Closing ticket now


to_json publication purposes

Returns error AttributeError: 'InstrumentedList' object has no attribute 'to_json_simple'
currently commented out
line causing error because of move from 1-to-1 relationship to 1-to-many relationship
'purposes' : self.purposes.to_json_simple(key) if self.purposes else None,

This is because a list is being returned as opposed to a single Query. to_json_simple is a method of a model. So you'll need to make sure you are returning only one model as opposed to multiple of them. You can just do this by array indexing []
Sent from my iPhone

On 2 Mar 2017, at 13:35, Simon Rolph<EMAIL_ADDRESS>wrote:
Returns error AttributeError: 'InstrumentedList' object has no attribute 'to_json_simple'
currently commented out
line causing error because of move from 1-to-1 relationship to 1-to-many relationship
'purposes' : self.purposes.to_json_simple(key) if self.purposes else None,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix HfFileSystem

Fix usage of HfFileSystem (instead of HTTPFileSystem) and filename format of data_files.
Additionally, fix fill_builder_info with additional builder information: builder_name, dataset_name, config_name and version.
Fix partially #1589.

This fix makes CI number of errors pass from 12 to 7.


Add support for Webpack resolving

The Webpack resolver is nicely factored out of the core Webpack code (webpack/enhanced-resolver). It looks like it should be feasible to implement a plugin to read a Webpack config file and resolve dependencies using the Webpack resolver plugins.
It looks like there would be some overlap between the Webpack plugins and the Tern plugins (modules, es_modules, etc.). It may be best to bypass those plugins when using Webpack.
See:

Webpack resolver - webpack/enhanced-resolver
An example of Webpack using the resolver plugins - webpack/webpack

I may take a stab at this, if I have time and energy. Any advice on what the integration should look like would be greatly appreciated.

You'll want to take inspiration from plugin/node_resolve.js -- load the "modules" plugin, and then push a function to server.mod.modules.resolvers that implements your resolution algorithm.

Here's my plugin for webpack https://gist.github.com/chemzqm/7ceee3040f1377a534e6 using webpack/enhanced-resolver and changed code from plugin/node_resolve.js.
It works great on my webpack project!

Where do WebPack's rules differ from node's rules?

The main different for me is webpack can understand browser field, it's kind of module name alias https://gist.github.com/defunctzombie/4339901, as the modules I use relay on this field to work. The resolving process could also be configured by the user https://webpack.github.io/docs/resolving.html#resolving-a-module-path it's not well documented yet

@chemzqm I've cleaned up and integrated your plugin in the webpack branch, but the test I added to verify that it is actually respecting the "browser" field is failing. Could you look into that?

This line https://github.com/ternjs/tern/blob/webpack/plugin/webpack.js#L18
need to add browser filed
new req.DirectoryDescriptionFilePlugin("package.json", ["browser","main"]),

would works,  I've tested this on my machine.
It's not for webpack only, other browser bundler like browserify also use the browser field

That does help. I've merged the fixed plugin in ae3ce30. At some point in the future, we might want to move to a single, configurable module resolution plugin based on enhanced-resolve (since this is cleaner and more portable than calling into node.js internals, as node_resolve does), but for now I don't have the time to look into that.


Add target_ prefix for CreateOrUpdateNexusIncomingServiceRequest fields

What changed?
See title.
Why?
Server considers requests with a namespace field as being scoped to that namespace which this request should be cluster scoped.
Breaking changes
Yes

LGTM assuming open source only. Would like to set a general suggestion of namespace of all requests being field 1 for compat assistance for edge proxies, but since this is open source only it's not a big deal.
Can you confirm all workflowservice calls for Nexus are string namespace = 1?

I didn't add any more workflowservice RPCs, but the operatorservice outgoing registry RPCs all include a string namespace = 1:
https://github.com/temporalio/api/pull/363/files#diff-43cdd5e82c4820416a2f6b04aa800be6229b4790d74e71f9873e608a3382c442R188


Stack chores

See individual commits.

Out of scope, but to you happen to feel like porting this from Jackson to KxS, like I just did for Bundler?

Out of scope, but to you happen to feel like porting this from Jackson to KxS, like I just did for Bundler?

I planned to do that, and this PR was a preparation. I'll make another simplifications PR and then port it over to KxS.


How to use

How can I use or install this plugin in my Intellij

It is a demo plugin, you can find more information about it in this article.
You can build it locally as it is described in the article and you can install it following this guide.


use mdi:car-connected rather than mdi-update for the update-switch

I find the Tesla's use of the word 'update' confusing. It seems to expose:

update available - a sensor indicating that there is an update for the car's software.
update-switch - an entity controlling whether HA continues to poll the car.

I think it would be better if we used the "mdi:car-connected" icon for the update-switch, and considered renaming it to 'enable polling' or 'enable scans' (as 'scan' is the word used in the configuration).
I've tweaked my dashboard to show these values so that I'm no longer confused, but I wonder if others might benefit from making the change in the actual integration.

This is a good point. Feel free to submit a PR if you want. We can just fix the display name without making it a breaking change.

Good work, @alandtse. Thanks.


hello, may i ask you what time will the readme be released

Maybe by the end of this month, and at the same time I will streamline the code and upload the pretrained model.

thanks for your reply！ I have a question about the recroped_parts, noticed that every dataset initial have used it, how to get it

im back to future you have covid? ;)


rapidoc double encodes query parameters

You're encoding a value and then giving it to URLSearchParams...
see (say) here:
https://github.com/mrin9/RapiDoc/blob/master/src/components/api-request.js#L499
This results in a comma becoming not a %2C but the encoded version of that: %252C

Thanks for taking time and pointing out the very location of the issue, helps us save time.
this should be fixed in 5.0.5. Feel free to reopen incase it is not working as you expect it to


bug: grid vars aren't being inferred onto relevant property type

Summary
Disclaimer: This is actually a bug report (no need to merge this PR) – aka. PR as a minimal reproducible example.
It seems that when I add some grid tokens to my system, those variables aren't being inferred onto the css properties that support grid vars.

thanks for this @jxom, i'll take a look tomorrow 🙏

@jxom i've had a closer look at this today, and trying to understand how you ended up here and what you're trying to do specifically.
when the docs say that padding accepts "grid" values, it means you can set a singular grid value in your config and then apply multiples of that value to grid properties. for example:
export default createConfig({
  grid: '4px',
  theme: {}
});

usage:

this will be 8px because 2 * 4px = 8px.
if your preference is to create custom var prefixes instead like your PR here, then you'll need to choose a name that isn't grid. that name maps to the grid multiplier value mentioned above, so any properties that are configured to map to grid will accept a number value.
a nice name might be space, and the docs explain how to configure your new theme key for each property here. it would look something like this:
export default createConfig({
  theme: {
    space: { small: '8px' },
  },
  properties: {
    ...defaultConfig.properties,
    'padding-top': ['space', ...defaultConfig.properties['padding-top']],
    'padding-right': ['space', ...defaultConfig.properties['padding-right']],
    'padding-bottom': ['space', ...defaultConfig.properties['padding-bottom']],
    'padding-left': ['space', ...defaultConfig.properties['padding-left']],
  },
});

i realise that having grid as a reserved key for grid multiplier here wasn't obvious so would 100% welcome any suggestions you have to help make this all a little clearer.

i've made a change to allow both for now. let me know if you have other ideas :)

Oh, that makes sense then! Previously, in alpha.39, I actually had a theme.grid property and var(--grid_*) actually worked on the relevant CSS properties. It seemed to have broken in alpha.40 which made me think it might have been a bug.
Accepting both seems cool!


A plugin can be a simple function

In the same vein as stores, plugins can now simply be functions:
so given:
let Plugin = {
    register(app, options, next) {
        // do stuff
        next()
    }
}

you can additionally do:
function register(app, options, next) {
    // do stuff
    next()
}

I also refactored the plugin storage mechanism a bit. Oddly enough, this actually reduces the build size as well.

looks gud :+1:


Create Travis deployment steps

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   94.29%   94.29%
=======================================
  Files           1        1
  Lines         841      841
=======================================
  Hits          793      793
  Misses         48       48

Continue to review full report at Codecov.

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


adding mapping of anidb to anime from dump

We will need to run the media_assoc rake task again

Just want to make a note that Stream is returning a 500 for this endpoint currently.


when using the same mask and same query/key/value.shape, how to fix the kernel instead of recompiling the flexattention?

print("flex:", layer_index)

def expand_to_128(tensor):
    padding_size = 128 - tensor.size(-1)
    return torch.nn.functional.pad(tensor, (0, padding_size))

query_expanded = expand_to_128(query)
key_expanded = expand_to_128(key)
value_expanded = expand_to_128(value)

@lru_cache
def create_block_mask_cached(score_mod, B, H, M, N, device="cuda"):
    block_mask = create_block_mask(score_mod, B, H, M, N, device=device)
    return block_mask

def noop(score, b, h, q_idx, kv_idx):
    return score
print(query_expanded.shape, key_expanded.shape, value_expanded.shape)

torch.cuda.synchronize()
before_time = time.perf_counter()
block_mask = create_block_mask_cached(prefix_lm_causal_mask, 1, 1, seq_len, seq_len)

hidden_states = flex_attention(query_expanded, key_expanded, value_expanded, block_mask=block_mask, scale=1./math.sqrt(d_k))

del block_mask
torch.cuda.synchronize()
end_time = time.perf_counter()
print("flex_attn: ", end_time - before_time)

def shrink_to_96(tensor):
    return tensor[..., :96]

hidden_states = shrink_to_96(hidden_states)

code to reference

the flexattention kernel is compiled by
from torch.nn.attention.flex_attention import flex_attention, create_block_mask
from functools import lru_cache
torch._dynamo.config.cache_size_limit = 1000

# Compile the flex_attention function
flex_attention = torch.compile(flex_attention, dynamic=False) #, mode="max-autotune-no-cudagraphs")

I want to keep the kernel static and avoid using recompile. How can I do that?

This shouldn't require a recompile. Where are you seeing that it needed to recompile?


consider moving protobuf serializers to its own package

that way we only take the protobuf dep if using the package.

closed by #146


fix(ExpressionEditor): Fix stale data in Expression Editor

Currently, the ExpressionEditor and DataFormatEditor hold stale data about the selected node, hence forcing the node to update with old data.
The issue behaves as the following:

The user updates the expression field using the ExpressionEditor
After that, a change in an endpoint parameter is made
Another update is made in the ExpressionEditor At this point, the ExpressionEditor doesn't know the latest change from the endpoint parameters, hence updating the model with stale information and ignoring the pending changes.

Changes
The fix is to refresh the data in the ExpressionEditor before making the changes.
This issue will behave the same for the DataFormatEditor
fix: https://github.com/KaotoIO/kaoto-next/issues/518

Hi @tplevko, I would like to reorder one of our e2e tests to force the reproduction of this issue.
Another way could be adding a new test for interacting with the ExpressionEditor and DataFormatEditor.

Hi @tplevko, I would like to reorder one of our e2e tests to force the reproduction of this issue.
Another way could be adding a new test for interacting with the ExpressionEditor and DataFormatEditor.

Hi @lordrip, I will add separate tests for interacting with the ExpressionEditor and DataFormatEditor. I will also include scenario from this issue.


Allow a flow to specify the root directory of the package

This PR is intended to address #355 and is an alternative approach to the one implemented in #1260. It is not finished and should serve as a discussion point.
A new flow-level decorator is introduced which allows the user to specify a relative path:
@packager(root="..")
class MyFlow(FlowSpec):
  ....

When an explicit value for the root is specified, the content of the package is taken from that value as opposed to the directory of the flow file.
In its current state this PR will only work for the Kubernetes runner.

Let me take a look at this and discuss it. I should get back to you this week. Thanks for the contribution!

I am running a little late but have not forgotten. I apologize for the delay.

Sorry for the delay -- wanted to discuss with the team. @savingoyal will follow-up a bit more as we had some additional questions/concerns.

time="2023-09-06T09:13:40 UTC" level=info msg="capturing logs" argo=true
Setting up task environment.
Downloading code package...
Code package downloaded.
Task is starting.
/usr/local/bin/python: Error while finding module specification for 'metaflow.mflog.tee' (ModuleNotFoundError: No module named 'metaflow')
/usr/local/bin/python: Error while finding module specification for 'metaflow.mflog.tee' (ModuleNotFoundError: No module named 'metaflow')
/usr/local/bin/python: Error while finding module specification for 'metaflow.mflog.save_logs' (ModuleNotFoundError: No module named 'metaflow')
time="2023-09-06T09:14:00 UTC" level=info msg="sub-process exited" argo=true error="<nil>"
time="2023-09-06T09:14:00 UTC" level=info msg="no need to save parameter - on overlapping volume: /mnt/out/task_id" argo=true
Error: exit status 2

use argo-workflow, when trigger ， this will call error like

@romain-intel @savingoyal what is your verdict on this one? Go / no-go? I am very interested in this feature and would be willing to put in some effort to make it work for Argo Workflow.


Support for preset images

I would love for it to have support for a list of available images.
The custom toolbar is pretty close but It would require some sort of sub options under the main toolbar icon.
would be really useful for CMS.
Thanks for the great work.

Not sure if I fully understand this use case...

@WesCossick Having the ability have a callback function, that would allow one to show a modal with images that exist on the server which can be selected from.

That seems quite a bit too specific of a use case to build into SimpleMDE. You can use the options to create your own toolbar button with your own JavaScript code, though.


sdkmanager changed location (?)

I just installed flutter to use it with VSCode
These are the android studio tools i installed

Logs
flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Versione 10.0.18363.720], locale it-IT)
    • Flutter version 1.12.13+hotfix.8 at C:\tools\flutter
    • Framework revision 0b8abb4724 (5 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\vincenzo\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[!] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.43.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.8.1

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

From google i found an issue where someone suggested top run flutter doctor --android-licenses
Android sdkmanager tool not found (C:\Users\vincenzo\AppData\Local\Android\Sdk\tools\bin\sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed instructions.

and actually flutter is right: ls C:\Users\vincenzo\AppData\Local\Android\Sdk
    Directory: C:\Users\vincenzo\AppData\Local\Android\Sdk

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       14/03/2020     17:19                .downloadIntermediates
d-----       14/03/2020     17:19                .temp
d-----       14/03/2020     16:20                build-tools
d-----       14/03/2020     16:20                cmdline-tools
d-----       14/03/2020     15:55                emulator
d-----       14/03/2020     16:21                extras
d-----       14/03/2020     17:27                licenses
d-----       14/03/2020     15:53                patcher
d-----       14/03/2020     17:19                platform-tools
d-----       14/03/2020     15:53                platforms
d-----       14/03/2020     15:53                sources
-a----       14/03/2020     17:29             16 .knownPackages

As you can see there is no tools folder. So i did C:\Users\vincenzo\AppData\Local\Android\Sdk\cmdline-tools\latest\bin/sdkmanager --licenses and signed everything
now the output is:
All SDK package licenses accepted.======] 100% Computing updates...

but still flutter doctor -v output the same problem

closing since it is a duplicate of #52209


GradualPerformance.next() does not work properly with lazer(true)

call next() until the calculation is finished, the final result is less than the direct calculation, if this is the expected behavior, I close the PR.

My test for it is currently passing
https://github.com/MaxOhn/rosu-pp/blob/48414de0174bdc405819a205e8a8d32b67349756/src/osu/performance/gradual.rs#L171-L181
Can you give a small example or maybe just a map id I should test with?

The reason the pp values differ is because you only increment n300 which is sufficient on stable but with lazer set to true you also need to specify osu_large_tick_hits and slider_end_hits.
Similarly, osu!mania requires two hitresults per hold note or the values won't match. Only osu!taiko and osu!catch work the same with and without lazer.

Thanks for your response! I have another question to ask. I'd like to know why you use mut self instead of &mut self when setting properties in Difficulty or Performance. I'm writing a dynamic library and need to use Box to obtain raw pointers, so every modification requires an additional Box::new().

I'd like to know why you use mut self instead of &mut self when setting properties in Difficulty or Performance.

There's a few minor reasons for that

&mut wouldn't allow some of the methods to be const
Methods like Difficulty::gradual_difficulty require ownership so using it like Difficulty::new().mods(0).gradual_difficulty(map) wouldn't work
I prefer using the same pattern for all builders so it would preferably need to be a change to &mut for all builders which amplifies the first two points

I'm not entirely against the &mut builder pattern here but I don't quite think I have enough reason to change it.

I'm writing a dynamic library and need to use Box to obtain raw pointers, so every modification requires an additional Box::new().

The builder pattern can indeed be quite annoying across FFI and such. What I could recommend is either

provide one method that takes all optional parameters at once
don't store parameters directly in a Difficulty but instead use a new field for each parameter and only create the Difficulty at the end

Thanks


Add para [Parameter] Code Snippet

Should complete the idea of #965
Adds support for auto complete of para > tab > tab
[Parameter] protected int MyParameter {get;set;}

just like prop > tab > tab
public int MyProperty { get; set; }

A new VSIX project was created to separate the snippets from the templates. However I'm not sure if this is the way to go and or if we still need some build steps?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: vertonghenb sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

It would be preferrable to keep this in a single VSIX. Could you try adding the pkfdef to the existing VSIX? We already do this for the templates.

Reverted and added to the existing vsix.
@rynowak  is the namespace of the snippet ok? (Blazor) or rather "Visual C#"?

Just gonna clean-up the PR (new one)


Debug branch for coverage

@garrettmflynn Feel free to utilize this branch to try to test various fixes to get actions to count coverage correctly

@garrettmflynn Ahhhh OK, wow
Running the tests in an editable environment (pip install -e .) causes it to work. Actually, that's a good catch. I remember we've seen this before and it's necessary for all coverage cases.


API Rework

Fixes #25
This PR splits the API into a lower-level and a high-level API.
The low-level API is only concerned with "one" level of UCANs. I.e. it doesn't look through a whole ucan chain. It will only parse or encode one layer at a time.
The high-level API is concerned with UCANs as a whole. It'll parse UCANs in to a recursive structure and provide tools to extract what capabilities a UCAN encompasses. These tools are meant to be general enough to support custom use-cases. And this is the layer I'm looking to add support for features in the spirit of #20 and #21.
I consider the rework of the lower-level API pretty much done right now.
The main changes are:

All functions are now based on the outer-most layer of a UCAN passed as an argument or only construct one layer of a UCAN
I've combined token.isValid and token.decode into one function token.validate. This is to fix #25, by doing the signature checking on the original encoding.
I've removed attenuation checking from the low level API for a couple of reasons:

Attenuation checking so far was based on structural JSON-equivalence. However, the semantics can be different for each kind of capability.
Even if the above semantics is the right one for some cases (e.g. a simple "allow sending email" semantic), it's still implemented incorrectly. An attenuation is valid even if it appears in a child, but not in a parent. However, we consider it to be "originated" by the issuer from the UCAN that first mentioned said capability.
Due to the last point, we can't just validate attenuations, but for each capability we need to determine the "originator" of that capability. The spec calls this "created/owned/originated by the iss DID". So again, we can't just validate, we need to parse.
Also, we just need to look multiple layers deep into a UCAN to validate the attenuation, so it's pushed up into the "high-level" API.

The high level API isn't done yet, thus this is only a draft.
The beginnings of it are in chain.ts and attenuation.ts.
In chain.ts there's an opaque class Chained (naming is hard please help). It encapsulates a parsed UCAN chain with both its original encoding as well as a decoded internal representation. Constructing it will verify the UCAN chains, i.e. that all aud and iss fields match up.
In attenutation.ts I've implemented a simple emailCapabilities function which extracts information about what a UCAN claims it has gotten capability for. It nicely illustrates how we need to parse out information out of a complete UCAN chain to arrive at what exactly a UCAN is capable of.

Reduced the scope for this PR.
Capabilities will be another PR.
This includes:

Single-layer low-level validate function combining encode and isValid. Fixes #25
Added chain.ts as a way to interact with UCANs that are parsed deeply.

just saw this @matheus23 ill take a more in depth look here in the next couple days :eyes:

Thanks for the review and great catch with the utf8 vs. ascii stuff!


How can I train this model from scratch?

How can I train this model from scratch without pretrained model?
I try to
./script/run_iu_xray.sh debug checkpoint_name plan_model_name_or_path plan_eval_file
without checkpoint_model but bleu-4 accuracy is not increase above 0.06

Hi,
Can you provide more details of your training process and command? Have you set the debug flag to 1 for training?
Best,
Ethan

It is tempting to continue to ignore the above process.
Is there a way to do training from scratch without a pre-trained model?

Have you done the stage 1 training and obtained the planner and predicted plan?
If you have, then you can simply set the loading condition to False in the model file ORGan/src/models/modeling_bart.py at line 861.
You may also refer to issue #3.
Best,
Ethan

Thank you for answer!


return the evm address in the from field when calling getTransactionByHash

Signed-off-by: lukelee-sl<EMAIL_ADDRESS>Description:
Currently we are returning the long-zero address in the from field.  We need to return the evm address for the account if one exists.
Related issue(s):
Fixes #505

[x] Tested (unit, integration, etc.)

Codecov Report
Base: 74.92% // Head: 74.94% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (1f2d66d) compared to base (47cb305).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #551      +/-   ##
==========================================
+ Coverage   74.92%   74.94%   +0.02%
==========================================
  Files          12       12
  Lines         961      966       +5
  Branches      150      152       +2
==========================================
+ Hits          720      724       +4
  Misses        194      194
- Partials       47       48       +1

Impacted Files
Coverage Δ

packages/relay/src/lib/eth.ts
84.95% <80.00%> (-0.06%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Cannot find module /src/iconVersion

Describe the bug
While attempting to use svelte-kit, I'm unable to use auro-select. I think it could possibly be an SSR issue?
[vite] Error when evaluating SSR module /src/routes/contactdetails/+page.svelte: failed to import "@aurodesignsystem/auro-select"
|- Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/Michael.Archer@alaskaair.com/Documents/Projects/ManageContactDetails/node_modules/@aurodesignsystem/auro-menu/src/iconVersion' imported from /Users/Michael.Archer<EMAIL_ADDRESS>    at finalizeResolution (node:internal/modules/esm/resolve:264:11)
    at moduleResolve (node:internal/modules/esm/resolve:917:10)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36)

To Reproduce
Steps to reproduce the behavior:

Create a svelte-kit app
npm i @aurodesignsystem/auro-menu
Import component import '@aurodesignsystem/auro-select'
See error

Expected behavior

Screenshots

Desktop (please complete the following information):

OS: MacOS (m1)
Browser: Chrome
Version: 126.0.6478.127

first glance looks like this might be an issue with either the build process or the bundler.  @jason-capsule42 to do further investigation.

Hi @jason-capsule42, is there an update on this? I'm not blocked yet, but very close to being a blocker on using auro for our current project.

The auro-select component has not been updated to be fully ESM SSR compatible, please see https://github.com/orgs/AlaskaAirlines/discussions/502
The auro-select element has a dependency on auro-menu which has a dependency on mark.js which hasn't had a release for 5 years.
Unless we can find a ESM workaround for mark.js, please see this recommendation:
https://github.com/orgs/AlaskaAirlines/discussions/502#discussioncomment-8456578

Your error stack does elude to this line of code:
https://github.com/AlaskaAirlines/auro-menu/blob/main/src/auro-menuoption.js#L13
To be ESM compatible, this JavaScript reference needs to use .js, .cjs or .mjs. That could also be part of the issue.

This was fixed by auro-menu v4.0.0 release and therefore this ticket can be closed.


restrict registration

restrict registration so only a current user (or admin) can register a new user who will receive an email to reset password.

now restricted but email is not working.


Imp: Only use alphanumeric characters in a service key

Otherwise there were problems e.g. escaped characters when loading the key from a properties file.

@ThomasBri can you do it on 5.0?


WIP: Explore

Why did you have to choose an existing branch name ? 😢

issues on my screen

BTW why am I not seeing popular?

Another issue, search box, explore title and leftmost recipe card must align, as well as right edge and rightmost recipe card.

@hagaishapira I fixed everything you mentioned but popular & personal. I want to see it in production because at the moment I am not getting these.

Ok @hagaishapira what you're going to see now when you launch the client is a loading screen that I created, it's supposed to go away once explore is populated (atm just explore as I never got to experience popular & personal, never got them from the server in the first place). Then I started working on replacing the gifs when my computer crashed, and after reboot I started getting these 404s consistently.

@LeshemNoa can you rebase ?


Tried to compile with error

Hello,
Here is what I did:
okazdal@LOK:~/GolandProjects$ git clone https://github.com/furkansenharputlu/f-license.git
Cloning into 'f-license'...
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 1562 (delta 11), reused 21 (delta 6), pack-reused 1530
Receiving objects: 100% (1562/1562), 2.55 MiB | 2.33 MiB/s, done.
Resolving deltas: 100% (436/436), done.
okazdal@LOK:~/GolandProjects$ cd f-license/
okazdal@LOK:~/GolandProjects/f-license$ cp sample_config.json config.json
okazdal@LOK:~/GolandProjects/f-license$ go build
build github.com/furkansenharputlu/f-license: cannot load f-license/config: malformed module path "f-license/config": missing dot in first path element

What is the problem?

Can you please retry ? It should be fixed now. Try to build with go build -mod=vendor after enabling go modules.

Yes. Compiling now. Thanks...


Possible optimization on Contract viewing page

Hi, I'm not sure if its correct in saying this as I'm still reading through the API docs. I noticed that on the page that displays the contract (https://app.openlaw.io/contract/{contractId}), the call /contract/raw/?contractId is repeatedly made, even though the contract is already signed. I guess it makes sense to keep polling this while there is no signature so the UI is immediately updated once there is a signature, but after a valid signature is there then it doesn't seem like the data changes?

Hi, @javaadpatel thanks for reporting this! Looking only at this GH issue, I tend to agree with you. I haven't looked at the underlying causes, just yet. We eventually want to move things like this to Server-sent Events, or possibly Web Sockets.

Also, we need to do better on routing support issues. Here's the correct places for most OpenLaw bugs:

OpenLaw web app: https://github.com/openlawteam/openlaw-issue-tracker/issues
OpenLaw web site (marketing & info): https://github.com/openlawteam/openlaw-website/issues
OpenLaw Core ("under the hood"): https://github.com/openlawteam/openlaw-core/issues
OpenLaw Client (JS interface to Core & helper lib for API calls): https://github.com/openlawteam/openlaw-client/issues

Most times I also have to guess between App/Core/Client 🧐!  I'll move this to the app's issue tracker for you!

Moved: https://github.com/openlawteam/openlaw-issue-tracker/issues/23


Random 502 Bad Gateway when someone cancels an upload

That's highly annoying and I don't know what causes that. Needs investigation.

Probably related with the way Caddy handles the keepalive option


Make test teardown mirror setup

Per @engelsanchez's feedback on #1121, unset the platform_data_dir application variable.

+1 c5af124

@borshop merge


tvOS Framework build

Hi, we've been having considerable difficulty getting a framework compiled for support on tvOS devices and simulators. We've created the "fat" file that contains both simulator and device frameworks but when attempting to build for distribution or test flight testing we would receive the error that the framework is not compiled with full bit code. We then used the Xcode command line build function to create a framework with bit code enabled. We needed to use command line as doing it through the gui would strip bit code from the build. Once this was done we were able to begin uploading to iTunes but the upload will not complete, instead throwing errors that the SDWebImage framework is not valid and that it was not compiled using llib compiler. If possible can you provide a fully ready version of the tvOS framework for download that will support simulator, device and bit code? Thanks a lot

I'm not sure how to achieve this fat framework, but I think it's a generic question for packing frameworks and is not an issue with this library.

How did you created the Fat framework with Bit code enabled using command line function as I am also facing this problem.


'jpype._jarray.byte[]' to utf-8 string

I have what I think is a Unicode issue which I can't figure out.
I'm getting back a TEXT/CLOB column from a datasource via a JDBC call using JayDeBeApi,
which in turn used jpype (jpype1 0.6.2). It works fine for normal datatypes. I just can't seem to figure out
how to process the data into a string I can use in a report.
I was getting jpype._jarray._byte[] as the type.
I looked in
Python\Python35\Lib\site-packages\jpype_jarray.py
and found the byteArrayStr function which made the byte[] a str.
I just don't see how to take it further and get a usable UTF-8 string. Is byte[] a bytearray?
ba = str(tx,'UTF-8') which I found on StackExchange throws the error:
TypeError: coercing to str: need a bytes-like object, byte[] found
If I use a Java program such as DBVisualizer, I see the data in that tool (I just copied the first
19 columns of the first few rows, have to protect confidentiality of company information)
T_MESSAGE
[FIRCOSOFT     X]
[FIRCOSOFT     X]
[BUSINESS      X]
[APPLI         X]
[UNIT          X]
[TYPE          X]
[AMOUNT        X]
[REFERENCE     X]
[SERVICE       X]
[USERREF       X]
[VALUEDATE     X]
[MNE           X]
[DB            X]
[CR            X]
[ACCT          X]
`
............................................

jdbc database call to get the column
............................................
def get_message_tx2(self):
    """
    get the text data which is returned as a TEXT/CLOB in the JDBC call
    """
    qu = "SELECT T_MESSAGE FROM TABLE LIMIT TO 1 ROWS"
    csr = conn.cursor()
    try:
        csr.execute(qu)
    except Exception as e:
        logging.error(e)
        logging.error(qu)
        raise
    else:
        try:
            data = csr.fetchall()
        except Exception as e:
            logging.error(e)
            raise
        else:
            csr.close()
            return data
............................................
Code to look at the data, needed for a report
............................................
data = get_message_tx2()
import jpype
for tx1 in data:
    tx = tx1[0] # tx is a 'jpype._jarray.byte[]'
    bas = jpype._jarray._byteArrayStr(tx) # bas is now a str
    uni = bas.encode('UTF-8')
    logging.info(uni)
    `logging.info(uni.decode('UTF-8'))`

```............................................
logging information from log
............................................
2018-10-26 07:44:29,010 INFO b'\x10\x00\xc3\x96\xc3\xb0\x08\x00\x00\x00'
2018-10-26 07:44:29,010 INFO  Öð

Full support for unicode UTF-8 was not added until 0.7.0 (currently unreleased devel branch).
You should be able to do it manually in 0.6.2.
import jpype
import jpype.imports
jpype.startJVM(jpype.getDefaultJVMPath())
from java.lang import String

s= bytes('My String', 'UTF-8')  # Convert the python string into bytes
print(String(s, 'UTF-8'))            # Manually decode the string into java string

I added this code, to test the system before working it into my code.
import jpype
import jpype.imports
jpype.startJVM(jpype.getDefaultJVMPath())
from java.lang import String
s= bytes('My String', 'UTF-8')
print(String(s, 'UTF-8'))
When run in 3.5.4 with 0.6.2 jpype
JayDeBeApi        1.1.1
jdcal             1.3
jira              1.0.10
jpype1            0.6.2
ldif3             3.2.2
macholib          1.9
JAVA connect exception cannot import name 'JClassUtil'
error url jdbc:attconnect://r08jp10ha:2551/OSA;DefTdpName=OSAPRD_test;user=xeaa2ll;password=pw;CHARSET=UTF8
Traceback (most recent call last):
File "OSA_Test.py", line 44, in
import jpype
File "c:\Users\xeaa2ll\AppData\Local\Programs\Python\Python35\lib\site-packages\jpype_init_.py", line 21, in
from ._jproxy import *
File "c:\Users\xeaa2ll\AppData\Local\Programs\Python\Python35\lib\site-packages\jpype_jproxy.py", line 23, in
from . import JClassUtil
ImportError: cannot import name 'JClassUtil'
It had originally failed on the import jpype.imports, and then I tried to upgrade jpype1 but that failed because no C++ environment and backed itself out.
Traceback (most recent call last):
File "OSA_Test.py", line 45, in
import jpype.imports
ImportError: No module named 'jpype.imports'
C:\Users\XEAA2LL\Documents\code\ILMG\ODM\python\OSA>py5 -m pip install jpype --upgrade
Collecting jpype
Could not find a version that satisfies the requirement jpype (from versions: )
No matching distribution found for jpype
C:\Users\XEAA2LL\Documents\code\ILMG\ODM\python\OSA>py5 -m pip install jpype1 --upgrade
....
building '_jpype' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------

Rolling back uninstall of JPype1
Command "c:\Users\xeaa2ll\AppData\Local\Programs\Python\Python35\python.exe -u -c "import setuptools, tokenize;file='c:\Users\xeaa2ll\AppData\Local\Temp\pip-install-e31rrtkk\jpype1\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\Users\xeaa2ll\AppData\Local\Temp\pip-record-xl3zn_yj\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\Users\xeaa2ll\AppData\Local\Temp\pip-install-e31rrtkk\jpype1\
Is there another mode to upgrade and would an upgrade help?


Feature files running in Random order (Folders) instead of Sequential order using  multiple TAGS

Current behaviour
I have multiple folders and it contains more no of feature files in it. When I run the feature files using the TAGS the order of execution is happening in random order instead of the sequential order of the folder..
Each and every folder is dependent on the previous folder in my project. So it should run in the sequential order
Eg: When I run the below script then It should start running from FormFIlling,  OrangeHRM and SauceDemofolder. But sometimes it picks the random folder in random order for the execution. It is not happening all the time.
npx cypress run --env TAGS="@Formor @HRMor @SDemo"
---e2e
-----FeatureFiles
---FormFIlling
cucumberTag  : @Form
----- 01_FillForm_AdamDetails.feature
----- 02_FillForm_jacobDetails.feature
----- 03_FillForm_johnDetails.feature
     ---OrangeHRM
                   cucumberTag: @HRM
         ----- 01_OrangeHRM_Invalidlogin.feature
         ----- 02_OrangeHRM_validlogin.feature

    ---SauceDemo
             cucumberTag: @SDemo
        ----- 01_SourceDemo_Invalidlogin.feature
        ----- 02_SourceDemo_lockedUser.feature
        ----- 03_SourceDemo_validlogin.feature

Versions

cypress": "^12.4.0:
@badeball/cypress-cucumber-preprocessor": "^15.1.2:
Node version : v16.17.0:

Checklist

[ ] I've read the FAQ.
[ ] I've read Instructions for logging issues.
[ ] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Hye @JomyGeo, you need to provide me with a runnable example that illustrates this behavior.

@badeball  please find the repo URL - https://github.com/JomyGeo/DemoAutomationProject.git
Execution command :  npx cypress run --headed  --spec "cypress/e2e/FeatureFiles/DSD_FeatureFiles///.feature" -e stepDefinitions="cypress/e2e/StepDefinitions/DSD_StepDefinitions///.js",TAGS="@Form or @HRM or @SDemo"
Folder structure:

Execution Order :

Can't reproduce, I'm getting the expected execution order.
$ npx cypress run --headed  --spec "cypress/e2e/FeatureFiles/DSD_FeatureFiles/**/**/*.feature" -e stepDefinitions="cypress/e2e/StepDefinitions/DSD_StepDefinitions/**/**/*.js",TAGS="@Form or @HRM or @SDemo

...

        So that you can reproduce it

I ran it ten times, still observing expected behavior.

@badeball  It usually occurs when we have more feature files and more scenarios on a feature. Can you please run the same in multiple terminal at same time. Then you can reproduce the issue in the second Terminal

I understand that you're seeing this in CI, but have you yourself tried to use the example to reproduce the behavior locally? IE. does your example work at all?

@badeball Yes, It is reproducing in the local machine and CI. The screenshot that I attached above is reproduced on a local machine.

Still can't reproduce despite running it in parallel.

Somewhere it is breaking the execution. I'm able to reproduce the issue 2 out of 5 times. I suspect, More load on a machine makes the issue. (Running high volume scripts parallel ) Please run this example along with any other projects/scripts that you have on your local machine.  Meanwhile, i will attach the screen record of the issue during the execution.

@badeball  Consistently reproducing the issue in Windows machine.
Click to view the screenrecord

I can see from the video that Cypress has resolved specs out-of-order from the initial output, before the preprocessor is ever invoked. I'm guessing this is due to the fact that fast-node, which globby is based on, which cypress use, does not return in a defined order:

This package provides methods for traversing the file system and returning pathnames that matched a defined set of a specified pattern according to the rules used by the Unix Bash shell with some simplifications, meanwhile results are returned in arbitrary order.

(from https://github.com/mrmlnc/fast-glob)
Closing as this has got nothing to do with the preprocessor.

I was actually able to reproduce this on Windows and I confirmed that glob isn't the culprit here. The preprocessor returns the same specPattern property, yet Cypress somehow still runs them out-of-order. I can't look more into why.


Access to client's peer certificate in a handler

Hi
Background: I want to authenticate a client using the X509 certificate. For security reasons I need to have access to some fields in the cert and process them.
I am using poem with rustls and I am struggling with a way to access certficate in the handler.
I would really appreciate a working example of accessing the cert in a handler (or passing some data from the cert to the handler) if it's possible.
Thanks in advance!

There's no way to do this yet, I'll think about it.


bug(Steps): Responsive issue on smaller screens

Reproduction link
https://stackblitz.com/edit/angular-rv6uq8?file=src/app/app.component.ts
Steps to reproduce
Using some default examples of the nz-steps component, you will see that when viewing the steps on smaller pages, they do not render correctly.
What is expected?
The steps should switch into nzDirection="vertical" when their space is constricted by smaller form factors.
What is actually happening?

The nz-steps is not being rendered correctly on smaller form factors.

Environment
Info

ng-zorro-antd
8.5.2

Browser
Chrome 79

@dylanvdmerwe The link did not reproduce your problem, and the dot progress does not support responsive (https://github.com/ant-design/ant-design/issues/14463);

Pity about dots not supporting responsive. Why is this?

Hello!
Horizontal stepper still have issue with responsive. This is because stepper item tail made by margins (see screenshot 2)


vault: verify server with TLS

[x] Installs cleanly on a fresh build of most recent master branch
[x] Upgrades cleanly from the most recent release
[x] Updates documentation relevant to the changes

This has also been tested with #1463.
Replace -tls-skip-verify (one of those "highly not recommended" options) with --ca-cert.

👍


borgmatic: 1.8.14 -> 1.9.5

This moves borgmatic substantially from 1.8.14 to 1.9.5.
https://projects.torsion.org/borgmatic-collective/borgmatic/releases
There were several potentially breaking changes in 1.9.0, which are documented at https://projects.torsion.org/borgmatic-collective/borgmatic/releases/tag/1.9.0
I am unable to reproduce or see any of the breaking changes within a standard NixOS services.borgmatic deployment, or with a home-manager based programs.borgmatic model. Both rely on pkgs.borgbackup which appears to be version 1.4.0 as of the time of this PR and I can't cause any issues. Testing from others may be useful to make sure there are no gotchas.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

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

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

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368632

x86_64-linux

:fast_forward: 2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

:white_check_mark: 4 packages built:

borgmatic
borgmatic.dist
prometheus-borgmatic-exporter
prometheus-borgmatic-exporter.dist


Cache all our gems during spec runs

This should speed up our unit tests a good amount
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

This cut the time in half


Select/Dropdown onChange not receiving values

I may just be doing this wrong, but I am unable to capture a value through onChange inside of either a select or dropdown. Here is an example implementation:
<Field
      component={SelectField}
      name='choose'
      label="Choose One"
      options={options}
      onChange={() => (e, { name, value }) => console.log(value);}
      placeholder="Story"
/>

I am always getting undefined on the change. Do you have a better example of how onChange should be implemented, or is this a bug?
Thanks!

@brianbolnick  Use this snippet and refer this https://codesandbox.io/s/2o061l65yp
<Field         component={SelectField}         name='choose'         label="Choose One"         options={options}         onChange={(e, value) => {console.log(value);}}         placeholder="Choose One"/>

Perfect! Thanks @ckshekhar73 I'll close this out!


Publish release

Friendly reminder to publish a release to npm. Looks like the last (001f859d0c13b28b2a48617ea6f115a439dc1ee4) was in November 2015.

closable


Add more detail to the Java Agent Extension docs

Desired feature or idea:
As a user of the java agent, I want documentation that lays out everything I need to know in order to understand use cases for extensions, how to leverage an existing extension, and how to approach writing my own. The existing page provides context for use cases but doesn't have any of the technical details in order to get started.
There is a lot of good information in the example section of the instrumentation repo and elsewhere that I think would be worth unifying and porting over.
Additional context:
Here is what I am thinking for the updated page structure:
## Introduction
all the current information around use cases will remain here.

## Loading an extension at runtime
detail using the `-Dotel.javaagent.extensions` startup command.

## Embedding extensions in the Agent
detail the `extendedAgent` gradle task approach from the example repo

## Writing an extension
provide example code for an extension, and the steps needed to use it with an agent

## Extension examples
keep this existing section with a link to the example section of the instrumentation library

I would be happy to work on contributing this.

Thanks @jaydeluca, this would be a great addition indeed!
@open-telemetry/java-approvers please take a look as well, is this something the SIG would like to see as well?

Some ideas, what could be documented:

The SPI classes in io.opentelemetry.sdk.autoconfigure.spi.
Logging and/or monitoring in the extension, e.g., the usage of jul
Conventions on configuration parameter naming and their usage.
Exchanging information between the application and the agent. Especially, when the application uses the OTel API, e.g., to create spans.
Troubleshooting during agent and extension development.


Docs: Error on migration guides

Describe the bug
Hello,
Migration guides are broken. Looks like they miss some plugin for the code viewer.

Language diff is not included in this bundle. You may want to load it from external source.

https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v3
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v4
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5
Your minimal, reproducible example
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5
Steps to reproduce
Go to any of the following pages
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v3
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v4
https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5
Expected behavior
See docs
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Any browser
Tanstack Query adapter
None
TanStack Query version
5
TypeScript version
No response
Additional context
No response

this needs to be fixed in the tanstack.com repo


Problems creating a second WordPress install with a shared database

I have successfully set up separate WordPress installs without changing the service names in the docker-compose.yml as referenced by #24, but rather installing in subdomains with different container names for WP and the db and housing the sites in separate directories. This spins up separate db containers. Now I want to be able to share an already running database container, but create a new WP container. How can I accomplish this?
version: '3'
services:
   db:
     container_name: ${CONTAINER_DB_NAME}
     image: mariadb:latest
     restart: unless-stopped
     volumes:
        - ${DB_PATH}:/var/lib/mysql
     environment:
       MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
       MYSQL_DATABASE: ${MYSQL_DATABASE}
       MYSQL_USER: ${MYSQL_USER}
       MYSQL_PASSWORD: ${MYSQL_PASSWORD}
     external_links:
        - sitename-db
...

with .env showing:
...

# Path to store your database
#DB_PATH=/path/to/your/local/database/folder
DB_PATH=../sitename/data

...

outputs
ERROR: for sitename-db  Cannot create container for service db: Conflict. The container name "/sitename-db" is already in use by container "13rjbwdv98wdvb2...". You have to remove (or rename) that container to be able to reuse that name.

After connecting to a shared database, I can edit the WP install itself.

Hello @avidsapp,
Try the following:

remove the db service and dependecy from the composer example

rename the service for the cotnainer

put this container new wp container in the same network of the db you want to connect

set the access details

change the database name or prefix

and fire it up!
It should work like a charm!

Hi @evertramos. Thanks for the walkthrough. I have actually decided to do a multisite instead, but may return to this if needed.


Add llama.cpp plugin

Added a new file so that llm load test can support llama.cpp runtimes using openai plugin. Not compatible with instructlab.

Hi @kelchen123 can you please squash the 3 commits into 1?


Custom health checks to automatically ban delayed replicas

We use pgcat to front a set of read replicas. If one has significant replication delay, it leads to degraded user experience as queries hitting it have stale data. While we can manually ban and unban servers in this state, it would be nice if pgcat handled it for us.
I could see adding a specific control for maximum allowed replication delay, however that seems overly-specific. A custom health check query and health check period would be more general. This query would be expected to return a single boolean as its result.
This would use the existing ban mechanism, and so the ban list is cleared as usual if all replicas are failing the custom health check, ie, are overly behind the primary.
Would the maintainers accept a patch adding such a feature? If so, which of the following approaches is most palatable? (Config names can be bikeshedded independently! 🙂)

add a healthcheck_query that allows specifying a custom query to use instead of ;
custom_healthceck_query, custom_healthcheck_timeout and possibly other custom_ equivalents of the healtcheck_* options; existing ; query healthchecks are left unchanged
maximum_replication_delay, replication_delay_check_interval to handle just this specific use case

My personal leaning is towards (2) for generality, and since the ; query is useful as an especially cheap way to determine if the socket is still connected and can run more frequently than the custom query.

Hey,
This is an interesting idea and I did encounter use cases where I needed this. However, I feel like it would be somewhat difficult to make this generic to cover all use cases and will add a quite a bit of complexity to PgCat.
I am wondering if you could instead have a side process live within PgCat's container that reads the config file and as such can talk to all the instances that PgCat talks to and can use the BAN/UNBAN commands to control routing decision.
That side process could be written in any language and can be customized in whichever ways you want. For example, you can make complex decisions like checking if only one replica is lagging or more than one and make decisions based on that (e.g instead of banning all replicas that are lagging, ban the worst two).

@drdrsh thanks for the quick response. A side process calling BAN/UNBAN was what I meant by "manually" in the initial message. I wanted to get a sense for whether you thought this was a general enough issue to make sense to address inside pgcat.
It sounds like that's not the case, so I'm going to close this :-)