(fulltext-search example): database event notation ($ to {})

$ notation for events (instead of {}) returns whole database data
within the event.data.val() instead of the data at the path of the event.
{} notation:
exports.indexentry = functions.database.ref('/blog-posts/{blogid}').onWrite(event => {
...

$ notation:
exports.indexentry = functions.database.ref('/blog-posts/$blogid').onWrite(event => {
...

How to reproduce these conditions
Sample name or URL where you found the bug
fulltext-search example
Steps to set up and reproduce

Deploy  fulltext-search example with a console.log to check event.data.val()
Push to '/blog-posts
See that event.data.val() is whole database data instead of just event's data

Sample data pasted or attached as JSON (not an image)
Included in behavior sections below
Expected behavior
When event is triggered

Just event data is returned within the event.data.val():

{
  text: "post"
}

Event key is returned with event.data.key: "0123ASDF" or whatever push key the event has

Actual behavior
When event is triggered

whole database is returned within the event.data.val():

{
  "blog-posts": {
    "0123ASDF": {
      text: "something"
    }
  },
  queries: {
    search: {
      query: "some",
    },
    results: {
      hits: [...]
    }
  },
  users: {
    "0EPGxlw6VPfH6z6GINWeC8VSKQC3": {
      displayName: "Some User",
      email<EMAIL_ADDRESS>    }
  }
}

undefined is returned for event.data.key

More Info
See this Google Group topic for more information

Thanks @prescottprue ! looks good :)


Types renaming

This does:

@{reject} to @{not}
intXX and uintXX
double
full-date to date
full-time to time
date-time to datetime
base64url, plus hex, base32 and base32hex
ip4 -> ipv4, ip6 -> ipv6, ipaddr

I've called base16 'hex' because that seems a more common name for that sort of thing.  I can easily change that if desired.

Thanks a lot Pete!

Pete,
You're awesome! I wasn't expecting a full implementation of all those new types. I was only expecting the syntax to be updated. This is a amazing stuff. Thanks very much.
-andy

Cheers.  I am cut and paste (and edit) king ;-)  I was a bit worried about the intXX/uintXX, but Ruby's automatic conversion to BigNum made it pretty trivial in the end.


Test MKRWAN_v2

There is a v2 version available of the MRKWAN lib, may be it solves some of the timing issues we have. More details see:
Name: "MKRWAN_v2"
Autor: Arduino<EMAIL_ADDRESS>Maintainer: Arduino<EMAIL_ADDRESS>Sentence: Support library for MKR WAN 1300/1310 - firmware 1.3.1
Paragraph: Provides APIs to communicate with LoRa and LoraWAN networks
Website: http://github.com/arduino-libraries/MKRWAN_v2
Category: Communication
Architektur: samd, mbed
Types: Arduino
Versions: [1.3.1, 1.3.2]
The currently used lib version is no longer further developed:
Name: "MKRWAN"
Autor: Arduino<EMAIL_ADDRESS>Maintainer: Arduino<EMAIL_ADDRESS>Sentence: Support library for MKR WAN 1300/1310
Paragraph: Provides APIs to communicate with LoRa and LoRaWAN networks
Website: http://github.com/arduino-libraries/MKRWAN
Category: Communication
Architektur: samd, mbed, mbed_portenta
Types: Arduino
Versions: [1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.1.0]

No activity in repo for a long time.


Version selection should update the URL

If I search for something, e.g. "chart", I end up in https://vaadin.com/directory-beta/?q=chart. Then I add a filter to e.g. Vaadin 14. I'd like to send a link of the search results to someone who is interested in Vaadin 14 chart add-ons, but the URL is not updated so I can only send a link to the page with all versions.

The underlying functionality is available through special query parameter https://vaadin.com/directory-beta/?q=chart+v%3A14 but this is not updated if the version selection is made from dropdown.


[QUESTION] How to determine the value of rss.worker.flush.queue.capacity？

@xunxunmimi5577
The value rss.worker.flush.queue.capacity is calculated by the worker`s direct memory size.
rss.worker.flush.queue.capacity = (worker direct memory size)/(rss.worker.flush.buffer.size)/2/(worker's disk count)

The worker's flush queue is designed to hold shuffle data to merge write requests.

ok，Thank you


Incorrect Locked PNK amount

Juror 0x36b6c8fe413ba60c0db27b2a67a3a0e4cd97b651 is missing 9850 PNK.
There should be 300 PNK locked across 2 disputes but the contract says only 150 locked.
Context

The same bug as addressed in this #1148 , affects lockedPNK, the lockedPNK is set for the court in which the dispute originates, even if the juror is staked in a lower court. . . this may require kleros core to be redeployed. . .

was this fixed with the latest redeployments?


cant find char key

its not under local storage, where is it?

It's going to be the part after the last slash in the URL for the new UI.

The new version has new authorization methods


[Storage][Vm] bugs in paging

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

https://github.com/Azure/azure-cli/blob/db539d485890e65da4ca5fbccd651526845535f5/src/azure-cli/azure/cli/command_modules/storage/track2_util.py#L82-L84
https://github.com/Azure/azure-cli/blob/38bd80bd72a7ee6bfee874f96e645c5c1ae5e7bc/src/azure-cli/azure/cli/command_modules/vm/custom.py#L5122-L5124
When num_results is not divisible by page number, the break will be ignored and it will get all items.
Should use >= here
if num_results >= len(result):

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

bugs in paging

Since num_results is a parameter just called as result_per_page in azure-cli/blob.py/list_blobs,  the situation 'num_results is not divisible by page number' will not happen in storage. The code in azure-cli/track2_util.py L83 is good and does not need to be modified. For the code in azure-cli/custom.py L5128, I raised the PR #25400 which revised == to <= to meet the scenario mentioned in this issue.


ci(helm-test): add upgrade check

Description

closes #276
Note: in TRG 5.09 it's indicated that we use first tractusx-dev[CHART] -> I expected it to be a typo and used charts/[CHART]
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

incorporated changes, please review


Skip tree examples if mpi feature is disabled

@skailasa What do you think?
I think it's very good that cargo test no longer gives errors if you forget --lib, but it makes the example files a little uglier

Can I assume we don't need this pull request anymore?


⚠ Bofrost.de has degraded performance

In bee497a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 743 ms

Resolved: Bofrost.de performance has improved in 521d42b after 6 minutes.


Add support for track descriptions

Add a description to the track data. Try to load it, where the schema has one, from the database. Otherwise provide some interpretive text. The latter descriptions are derived in a few different ways:

database schema descriptions in the Perfetto documentation
documentation from related systems (e.g., proc(5) manpage)
mimic AGI (e.g., the display of the number of threads in a process)

Also fix the build script to account for the output directory that it needs to clean now being a real directory and not a symbolic link.

Thanks for the review, @jfaltermeier ! Commit d3919804f4ca1203fac1acc480e153cbefb37126 addresses the comments.
I did choose to revert the tsconfig change because I have no evidence that it solves a problem for anyone but me.


Add Deutsche Bahn as Easy

For some reason, the instructions are not documented in French, but they are in German (obviously) and in english.

Thanks for your contribution!


Update unicode-transact-sql.md

Couple of changes made:-

CONVERT(char(17) ... ) is not needed

2)Tested against Unicode string such as abृ

Posted about same here

SQL Server – Transact SQL – Function – Unicode – Online Sample
https://learningintheopen.org/2020/08/27/sql-server-transact-sql-function-unicode-online-sample/

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

@DanielAdeniji thanks. Made other changes to the script so I updated separately (PR #17105).
#please-close

Thank you Pedro!
Thank you,
Julie
From: Pedro Lopes<EMAIL_ADDRESS>Sent: Monday, September 21, 2020 5:20 PM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Julie Rasnick<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/sql-docs] Update unicode-transact-sql.md (#5377)
@DanielAdenijihttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDanielAdeniji&data=02|01|Julie.Rasnick%40microsoft.com|7e63c469f4cf4c88099308d85e8d33cd|72f988bf86f141af91ab2d7cd011db47|1|0|637363307835636580&sdata=H4hYBsQpcB1AfBjoltwpV6f2TeKMpwYFBJ1eCOIF9gY%3D&reserved=0 thanks. Made other changes to the script so I updated separately (PR #17105).
#please-close
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fsql-docs%2Fpull%2F5377%23issuecomment-696448374&data=02|01|Julie.Rasnick%40microsoft.com|7e63c469f4cf4c88099308d85e8d33cd|72f988bf86f141af91ab2d7cd011db47|1|0|637363307835636580&sdata=VIA%2FgzcgoMDW9QF88aihAV9v0c7JHNj5nUuI2EFMlhc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVKA6RTZ6KCPO3M7GL2IIDSG7UR5ANCNFSM4QNF4SSQ&data=02|01|Julie.Rasnick%40microsoft.com|7e63c469f4cf4c88099308d85e8d33cd|72f988bf86f141af91ab2d7cd011db47|1|0|637363307835636580&sdata=1KJzDqalChdvVk0I2MvjmoFcD2Je15YVOr%2Bs0NCFRaw%3D&reserved=0.


[Dilato]: [Core]: The predictive transformation window points to the wrong location.

Problem: The predictive transformation window points to the wrong location.
Test device: Ubuntu 17.10
Test build: <IP_ADDRESS>83
Method:

Launch Brackets 1.13.
Change to Wubi/Korean input state.
Right-click a file/folder ->rename.
Input some characters and the predictive transformation popup.
Observe.

Result:
The predictive transformation window points to the wrong location.
And that leads to the overlap issue.
Expected:
The predictive transformation window should point to the correct location.
image:

Verified issue is also reproed in 1.12 build.


[FEATURE REQUEST] More structured StaticHistory file/snippets and multiline selection support

First off, loving this and rofi on my i3 system at the moment. It duplicates most of what I needed in a keyboard driven workflow like Alfred's clip and snippets manager on OSX.
For more elaborate snippets in the static history, it would be nice if "multiline" snippets in StaticHistory (which I call greenclipsnips :stuck_out_tongue_winking_eye: ) could support multiline snippets (ie. selections with line breaks in them) but somehow show a digest of the selection or otherwise show the selection on one line in the rofi indicator.
Secondly, it was totally unclear to me what the separator for selections was from the documentation (and apologies if I missed it) between selections. Looking at the cache.History file it appears to be ^@^@^@^@^@^@^@^@^@ a number of times? Is there some other demarcation we could use to be more explicit? (is there a reason for that or is it some strange sort of thing with cahce files?
(The only other wishlist thing I would love here would be a way to have selection evaluated in a super basic sort of template sort of way... so something like a {{ date %Y-%m-%d }} could be passed along to expand a small selection of super basic shortcodes for the snippet. Or some lever way to pull that off.).
thanks for all your clever on this. Really great tool.

Hello,
For the multiline in static history file, it is wanky but already possible. Please see https://github.com/erebe/greenclip/issues/78
Regarding the second question, the history file is a binary format. So it is not meant to be edited/modified outside greenclip, that why there is the static history file to allow a more friendly addition of snippets.
For the wishlist, you can do it but you need to glue things by yourself.
For example, if you have in your selection

hello from $(date)

You can do your template engine with something like

greenclip print | fzf | xargs -I R /bin/sh -c "echo R"
hello from Sun 09 Aug 2020 12:54:57 PM CEST

I see. Considering this is something that I imagine quite a few people would want, might it not be better to add support for a yaml or toml file in order to make this easier to configure and maintain? (hehehe... I like the way you called it wanky. =p ).
This would seriously make it considerably user friendly (as I did not see this, I kind of wrote a template in emacs lisp). Unfortunately as the code base is in Haskell I can't just wade in and add this like I would go, crystal, or such... :-/
(I am also seriously in awe od you puzzling out the templating that way... =]  Impressive. That would work more or less once I sort out a strftime on that... =] ).
thanks for the quick response! I seriously do like the program. Super handy so thanks for all your work on this!  (going to puzzle out how to get it working with xdotool to do direct pastes next... =] ).

(the other possibility to implement this better/quicker might just be to just have individual lines in the static history file point at a file reference that got plugged in. That may be the easiest way to handle this... I know that's what I just did in emacs rather than try to do a big one line \n\n multtiple times for a line and try to figure out org-capture's syntax...
Easier. quicker. I'd assume. Also, perhaps a little cleaner since we all love text files.  =]

I don't work much on greenclip anymore, I will add your request in the backlog. Eventually, I would like to replace the config file and static history by a yaml file, but it will introduce some breaking changes :x
It is planned, but when it will happen/have time, I can't tell you

Done in version 4.0
you can use toml format in config file now, like this
static_history = [
 '''¯\_(ツ)_/¯''',
]

Thank you!


I set maxdate yesterday, how to make today still have blue background but still disabled?

I set maxdate yesterday, how to make today still have blue background but still disabled?

each date has a data-date="DATE" and a class of day and today has a class of today so you can add whatever styles you want to it

.day.today.active{
background-color: red;
}
yes, today is red,
but when i set options maxdate into yesterday,
today has disabled and not red anymore.
is possible for today to still disabled, but have red background?


feat(share): collect absence proof if namespace is not present in merkle tree

Overview
Implements non-inclusion proof collector. Higher level integration (e.g. shrex) is coming as separate PR.

Codecov Report

Merging #2242 (3d2fe23) into main (7efdbbe) will increase coverage by 0.19%.
The diff coverage is 3.22%.

@@            Coverage Diff             @@
##             main    #2242      +/-   ##
==========================================
+ Coverage   50.46%   50.66%   +0.19%
==========================================
  Files         150      154       +4
  Lines        9305     9695     +390
==========================================
+ Hits         4696     4912     +216
- Misses       4212     4356     +144
- Partials      397      427      +30

Impacted Files
Coverage Δ

share/ipld/namespace_data.go
0.00% <0.00%> (ø)

share/ipld/get.go
37.28% <20.00%> (-4.23%)
:arrow_down:

... and 34 files with indirect coverage changes


refactor(config): use serde default on each struct directly

Why
simplifies default value logic for configs. Functionality should be the exact same
Checklist

[x] I have made corresponding changes to the tests
[x] I have made corresponding changes to the documentation
[x] I have run the app using my feature and ensured that no functionality is broken

I thought we already agreed on which pattern to use?

@b0xtch Didn't realize before that we can just put the serde default attribute directly on the entire struct, previously I thought that it was only available for individual fields. @qti3e brought up that we can use this pattern instead when I asked about it for the ursa-consensus crate's default pattern

@b0xtch Didn't realize before that we can just put the serde default attribute directly on the entire struct, previously I thought that it was only available for individual fields. @qti3e brought up that we can use this pattern instead when I asked about it for the ursa-consensus crate's default pattern.
I also triple checked the functionality is the exact same

I brought it up in this PR https://github.com/fleek-network/ursa/pull/242

Yeah at the time wasn't aware the attribute works on structs directly, the docs only gave examples/details of it used for fields only

Yeah at the time wasn't aware the attribute works on structs directly, the docs only gave examples/details of it used for fields only

Yeah at the time wasn't aware the attribute works on structs directly, the docs only gave examples/details of it used for fields only

But in that PR I explain that, but I remember the decision was to use the function defaults instead as the new pattern.


How to infer mask for multiple images?

Thanks for your great work!
I would like to use the mask generator (see notebooks/automatic_mask_generator_example.ipynb) to get masks for multiple images. Therefore, the dimension will be 4 (batch, channel, height, width). It seems that only predictor can do that?

I think the easiest option would just be to process each of them separately (in a loop for example), unless that's a problem for your use case?
Something like:
image_1 = cv2.imread('images/dog.jpg')
image_2 = cv2.imread('images/someotherpicture.jpg')
image_3 = cv2.imread('images/yetanotherimage.jpg')
...
images_list = [image_1, image_2, image_3, ... (however many images you have)]
results_list = [mask_generator.generate(image) for image in images_list]

The results would end up in a list which you'd have to index into to get the results for a specific input image (e.g. results_list[0] gives the dictionary of results for image_1 in this case).

Thank you for your reply. Yes, the most intuitive way is to process them one by one.
I opened this issue because there is an example of processing a batch in the predictor_example.ipynb, but not in the mask generator. So I was wondering if the team did not implement this function.

As far as I can tell, the automatic mask generator does still use the same underlying (predictor) code as in the predictor example. For example, the .set_image(...) call is here, while the prompt/mask decoder call is here. Both of these calls should still support batched inputs (it seems like the grid of points used by the generator is handled as a batch internally?).
The reason for not having it be batched may be due to the outputs not being directly batch compatible (i.e. the output of the auto mask generator is a dictionary, instead of a tensor), as well as the potential cropping step of the mask generator, which is implemented as a loop.
That being said, with a bit of work, it should be possible to convert more parts of the mask generator to use batched inputs, if you wanted the extra speed up. Though it doesn't seem to support this as-is.

https://github.com/ByungKwanLee/Full-Segment-Anything addresses the ciritical issues of SAM, which supports batch-input on the full-grid prompt (automatic mask generation) with post-processing: removing duplicated or small regions and holes, under flexible input image size


Dark mode appearance related issues in version 2.4.0

1
Instead of a filled square that makes the text inside it barely readable because it's still white, there should be a different design, for example use a blue frame around the option instead of a filled square.

2
The black font background should be removed. As you can see in the screenshots, they look bad and they're unnecessary. The text is white, the background is black, there is no need for another shade of black surrounding the texts.

3
When clicking/tapping/hovering over these buttons, a light blue shape appears which doesn't look good. It can be replaced with an animation, or if animation can't be done then consider removing it.

4
This one is a suggestion: What if you use Win UI3 and all the new beautiful elements offered by it and Windows 11 design such as Mica effect etc.?

5
This one required a video recording to show. In the dark mode, when selecting/deselecting a checkbox it stays blue/filled until the mouse cursor leaves that area. The last part shouldn't be necessary. The checkbox should be emptied properly when mouse click happens.
https://github.com/MicrosoftDocs/WDAC-Toolkit/assets/118815227/7ddab834-1518-45bf-b47e-633c09ebe252

1 - Can you check this to see if this is OK? (https://github.com/MicrosoftDocs/WDAC-Toolkit/pull/306)
2 - This one was fixed with this PR (https://github.com/MicrosoftDocs/WDAC-Toolkit/pull/305)
3 - I haven't fixed this one yet. There are similar mouseover issues on Template page as well.
4 - Question for Jordan.
5 - This should be a quick and easy fix. I will see if I can make a PR on this.

@HotCakeX  Regarding number 5, can you have a look at this and see if this is how you like it?
I will submit a PR soon for Jordan to check the code.

@WildByDesign
Thanks for quick fixing,
Yes, for #5 it looks good

You’re welcome. I’m pretty sure that I can use the same (or similar) technique to fix number 4 later as well.

@jgeurten Regarding issue number 3 that she pointed out here, I can't seem to find anywhere in the code that would cause this.
Dark mode:
In dark mode it only seems to have on click.

Light mode:
In light mode it happens on mouse over and click. The weird thing is that there are no mouseover events associated with these buttons at all.

I think that this has something to do with the transparency in the PNG toggle images. I found a way to fix this. I tested by filling the background of the toggle buttons (transparent areas) with the appropriate matching background colors. White for the light mode background and RGB 15,15,15 for the dark mode toggle buttons. This fixed the problem 100%.
There was only one remaining problem with this. The untoggle.png button is shared between dark mode and light mode. If you could possibly create and add darkmode-untoggle.png and add it to the project then I can fix this issue.
This would be more of a workaround. Unless you can find a problem in the code that would cause this.

The workaround that I mentioned in the previous comment (above) is unnecessary now since I have figured out a proper (and easy) fix for the issue. Fixed in pull request (https://github.com/MicrosoftDocs/WDAC-Toolkit/pull/331).
This concludes the fixable issues included in this issue. Once that PR is merged, this issue can be Closed.

Thank you!

You’re welcome.


Fix disabled tabs being selected when removing the current one

Currently, if a tab is removed from TabBar/Container, it will change to the tab that has replaced the previous index, even if the tab is disabled/hidden. This PR now makes it try to pick an active tab first, and only falling back to them if no valid one was found.
This PR also fixes a bug with the select_*_available() methods selecting hidden tabs.

Thanks!


Separate cookbook and build gem dependencies

This PR defines a :cookbook group so we can use the --without flag when we want to bundle install and not have to wait forever for dep-selector-libgecode to install.

Coverage remained the same at 98.734% when pulling 56b0264a3bade4a6cf847bee521e41ca59b066fe on gem-groups into 4690bb434bb3926bffa1ea38b8082fa827901805 on master.


Search and Get_Playlist() Issues

Hey, I've been working on this project for a while now and am almost all the way through. I have only two major issues left on the software side and wanted to see if anyone could help me solve them.
1: When I try to use the search feature I get the following error and on the frontend the screen in just left with "loading..."
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.spotify.com/v1/search?q=&limit=5&offset=0&type=track
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/retro-ipod-spotify-client/frontend/view_model.py", line 155, in
spotify_manager.run_async(lambda: self.run_search(self.live_render.query))
File "/home/pi/retro-ipod-spotify-client/frontend/view_model.py", line 150, in run_search
self.live_render.results = spotify_manager.search(query)
File "/home/pi/retro-ipod-spotify-client/frontend/spotify_manager.py", line 418, in search
track_results = sp.search(query, limit=5, type='track')
File "/home/pi/.local/lib/python3.9/site-packages/spotipy/client.py", line 553, in search
return self._get(
File "/home/pi/.local/lib/python3.9/site-packages/spotipy/client.py", line 297, in _get
return self._internal_call("GET", url, payload, kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/spotipy/client.py", line 267, in _internal_call
raise SpotifyException(
spotipy.exceptions.SpotifyException: http status: 400, code:-1 - https://api.spotify.com/v1/search?q=&limit=5&offset=0&type=track:
No search query, reason: None
That was me searching just 'q'
2: I can never fetch any of my playlists
I'm not sure what else to put here but the only lead I have are that, if I'm actively listening to a playlist while booting it up it will have it saved. I have no clue what is the problem here but it seems like there were a lot more steps that needed to be taken around the coding for the playlist function after looking at the comments next to them.
If anyone could help fill me in on anything I may be missing or doing wrong please let me know and thank you in advance!

Had any Luck Yet?

I'd be willing to help you!


sometimes VS Code cursor position not updated, it seems

For example, here I move onto an identifier with hjkl and VS Code highlights the matching occurrences. But when I press * and n to go to the next matches, VS Code stops showing matches, and finally if I move with hjkl again then VS Code shows matches again:

this is limitation. till 0.0.70 the HL matching hasn't been working at all. From 0.0.70 cursor movement by +-1 line uses vscode cursor command which triggers HL, anything beyond that sets cursor directly which doesn't trigger HL

Is that a limitation of VS Code? As in, VS Code cursor is in fact moving to a new place, just no HL?

Oops, the title was totally wrong. Updated.
It is indeed a VS Code issue (tested without any extensions). Opened a new issue:
https://github.com/microsoft/vscode/issues/113603


[WIP] Phi2 Generation example

Describe your changes

Phi2 generation example run in linux and windows.
Update the way to match input's past_key_values in conversion passes with regex match.

Checklist before requesting a review

[ ] Add unit tests for this change.
[ ] Make sure all tests can pass.
[ ] Update documents if necessary.
[ ] Lint and apply fixes to your code by running lintrunner -a
[ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
[ ] Is this PR including examples changes? If yes, please remember to update example documentation in a follow-up PR.

(Optional) Issue link

Update how past_key_values is different between Windows and Linux in description for more clarification.


Could not set text to MFTextField programatically.

Setting a string value for text simply clears the field. Does not do anything.

Hi @arvindrajnaidu, I have been unable to reproduce this bug. I'm closing this issue, but if you're still having problems with this bug please open a new issue with some extra information on how to reproduce. Thanks!


Upgrade to Angular 2 RC1

Are there any plans for the upgrade to RC1?

Yes, now is updated

Have you created a new release?

Of course

thx.

Please excuse the interruption again: is it automatically published to npm?

No, but now is published ;)


Multiple contact number in the footer

Describe the bug
the footer section contains multiple contact details of same number either it could be updated with another number or we should remove any one from the footer!
To Reproduce
Either remove it or change either one of the one
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

duplicate of #50

my bad.! please close this issue!


Show amount of tokens and actual destination address when sending ERC-20 tokens

I recently sent DAI using a Ledger account, and when I was prompted to sign the tx using my Ledger Nano S, the default confirmation screen showed essentially no useful information aside from the max fee I was paying. The send amount was shown as "0 ETH" and "Send to" address was shown as the DAI contract address rather than the actual destination address I was sending to.
If I turn on "Display data" then one of the parameter fields on the confirmation screen does show the actual destination address I'm sending to, however this is not very user friendly since it just says "Parameter" rather than "Send to" or something like that. And even with "Display data" turned on, the actual token amount that I'm sending (e.g. 100 DAI) still isn't shown on the screen.

$8M was lost by the CEO of Nexus Mutual due to hackers installing a malicious MetaMask on his device. All though he was using a hardware wallet, it didn't show the destination/amount because the display did not have ERC20 support. If this issue was resolved the CEO would still have his tokens today. I hope this adds some incentive to implement the amount+destination for ERC20 compliant contracts.

I would like to add my +1 here. It is extremely disconcerting to have the "address" shown not be the expected destination address.


YouCompleteMe unavailable: requires Vim compiled with Python 2.x support or crash

I've installed and have YCM working with vim, I wanted to move over to neovim for better window support.
vim and vundle are already working but I get a crash when I try to setup neovim to work with YCM
I installed neovim with brew as directed in the readme for mac.
brew tap neovim/neovim
brew install --HEAD neovim
this part goes smoothly and I can launch neovim, the problem, there's no color or syntax highlighting like in my vim. So I follow the instructions to create symbolic links for that brew recommends.
ln -s ~/.vimrc ~/.nvimrc
ln -s ~/.vim ~/.nvim

my machine has pip pip2 and pip3 installed
Brother:~ blubee$ which pip
/usr/local/bin/pip
Brother:~ blubee$ which pip2
/usr/local/bin/pip2
Brother:~ blubee$ which pip3
/usr/local/bin/pip3
but neovim isn't installed under any of them, currently
python:
Brother:~ blubee$ python
Python 2.7.10 (default, Sep 23 2015, 04:34:14)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

quit()

Brother:~ blubee$ which python
/usr/local/bin/python
when I do pip2 install --user neovim, that runs just fine but I get a crash as soon as I try to run vim or neovim.
This is my .nvimrc which is a symlink of my .vimrc
1 let g:python_host_prog='/usr/bin/python'
2
3
4 set nocompatible              " be iMproved, required
5 filetype off                  " required
6
7 set rtp+=~/.vim/bundle/Vundle.vim
8 call vundle#begin()
9
10 Plugin 'VundleVim/Vundle.vim'
11 Plugin 'Valloric/YouCompleteMe'
12
13 call vundle#end()            " required
14 filetype plugin indent on    " required
15
16 let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
17 autocmd FileType c nnoremap   <C-]> :YcmCompleter GoTo
18
19 set tabstop=4 shiftwidth=4 expandtab
20
21 :set number
22
23 :syntax on
here is the crash:
Process:               Python [28854]
Path:                  /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.10 (2.7.10)
Code Type:             X86-64 (Native)
Parent Process:        vim [28853]
Responsible:           Terminal [1149]
User ID:               501
Date/Time:             2015-09-29 16:14:17.824 +0800
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        4E8C36FD-0912-0AE0-25A6-1422E78852A0
Sleep/Wake UUID:       D3A387BF-D723-4815-A767-243D3F062AD7
Time Awake Since Boot: 1600000 seconds
Time Since Wake:       530000 seconds
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff8925b286 _pthread_kill + 10
1   libsystem_c.dylib             	0x00007fff901bdb53 abort + 129
2   org.python.python             	0x00000001059a4a57 Py_FatalError + 49
3   org.python.python             	0x00000001059a3f39 PyThreadState_Get + 28
4   org.python.python             	0x00000001059a0d96 Py_InitModule4_64 + 62
5   ycm_client_support.so         	0x0000000105874363 boost::python::detail::init_module(char const*, void (*)()) + 35
6   org.python.python             	0x000000010558bb4f PyImport_LoadDynamicModule + 140
7   org.python.python             	0x000000010558a84d import_submodule + 267
8   org.python.python             	0x000000010558a413 load_next + 284
9   org.python.python             	0x00000001055895f7 PyImport_ImportModuleLevel + 1139
10  org.python.python             	0x000000010556ee22 builtin___import + 135
11  org.python.python             	0x00000001054fa635 PyObject_Call + 99
12  org.python.python             	0x00000001055794fb PyEval_CallObjectWithKeywords + 165
13  org.python.python             	0x000000010557589e PyEval_EvalFrameEx + 7891
14  org.python.python             	0x00000001055737d9 PyEval_EvalCodeEx + 1583
15  org.python.python             	0x00000001055731a4 PyEval_EvalCode + 54
16  org.python.python             	0x00000001055930da run_mod + 53
17  org.python.python             	0x000000010559317d PyRun_FileExFlags + 133
18  org.python.python             	0x0000000105592ccc PyRun_SimpleFileExFlags + 698
19  org.python.python             	0x00000001055a467d Py_Main + 3137
20  libdyld.dylib                 	0x00007fff841315c9 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5a718eb8  rdx: 0x0000000000000000
rdi: 0x0000000000000713  rsi: 0x0000000000000006  rbp: 0x00007fff5a718ee0  rsp: 0x00007fff5a718eb8
r8: 0x00007fff5a718ed0   r9: 0x00007fff73727300  r10: 0x0000000008000000  r11: 0x0000000000000206
r12: 0x00007faa3a800000  r13: 0x00000001058af962  r14: 0x00007fff73727300  r15: 0x000000010561bb10
rip: 0x00007fff8925b286  rfl: 0x0000000000000206  cr2: 0x00007fff747b0fd8
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Binary Images:
0x1054e6000 -        0x1054e7fff +org.python.python (2.7.10 - 2.7.10) <80FA436B-40B8-3368-BECF-8049CA37CBE7> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
0x1054f0000 -        0x1055e1fff +org.python.python (2.7.10, [c] 2001-2015 Python Software Foundation. - 2.7.10) <6FF87EB7-764F-3113-9591-8D30096102C1> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/Python
0x1057ff000 -        0x105801fff +_locale.so (0) <20687CD8-F52A-3BAD-88FB-9BE03FEFC81C> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
0x105844000 -        0x1058b5fff +ycm_client_support.so (0) <433B1514-033F-30F6-91F5-303D71C61620> /Users/USER/*/ycm_client_support.so
0x105902000 -        0x1059f3ff7  org.python.python (2.7.6 - 2.7.6)  /System/Library/Frameworks/Python.framework/Versions/2.7/Python
0x7fff667ee000 -     0x7fff66824837  dyld (353.2.1) <65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld
0x7fff82eb0000 -     0x7fff82eb6ff7  libsystem_networkextension.dylib (167.1.10) <29AB225B-D7FB-30ED-9600-65D44B9A9442> /usr/lib/system/libsystem_networkextension.dylib
0x7fff830a6000 -     0x7fff830a8ff7  libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
0x7fff830da000 -     0x7fff830dcfff  libsystem_sandbox.dylib (358.20.5) <4CF77128-6BE0-3958-B646-707FA9CE61B2> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8412e000 -     0x7fff84131ff7  libdyld.dylib (353.2.1) <9EACCA38-291D-38CC-811F-7E9D1451E2D3> /usr/lib/system/libdyld.dylib
0x7fff863cf000 -     0x7fff86767ff7  com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff86906000 -     0x7fff8691cff7  libsystem_asl.dylib (267)  /usr/lib/system/libsystem_asl.dylib
0x7fff879b7000 -     0x7fff879c0ff7  libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
0x7fff88782000 -     0x7fff887acff7  libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
0x7fff889a5000 -     0x7fff88b9f46f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
0x7fff88ba0000 -     0x7fff88bc8fff  libsystem_info.dylib (459.20.1)  /usr/lib/system/libsystem_info.dylib
0x7fff89245000 -     0x7fff89262fff  libsystem_kernel.dylib (2782.20.48)  /usr/lib/system/libsystem_kernel.dylib
0x7fff89392000 -     0x7fff8939bfff  libsystem_pthread.dylib (105.10.1) <3103AA7F-3BAE-3673-9649-47FFD7E15C97> /usr/lib/system/libsystem_pthread.dylib
0x7fff89b59000 -     0x7fff89b59ff7  liblaunch.dylib (559.20.9)  /usr/lib/system/liblaunch.dylib
0x7fff89bc0000 -     0x7fff89bc0ff7  libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
0x7fff89bfb000 -     0x7fff89c00ff7  libunwind.dylib (35.3)  /usr/lib/system/libunwind.dylib
0x7fff89f8e000 -     0x7fff89f95ff7  libcompiler_rt.dylib (35)  /usr/lib/system/libcompiler_rt.dylib
0x7fff8a0e6000 -     0x7fff8a12cff7  libauto.dylib (186)  /usr/lib/libauto.dylib
0x7fff8a12d000 -     0x7fff8a312ff7  libicucore.A.dylib (531.48) <3CD34752-B1F9-31D2-865D-B5B0F0BE3111> /usr/lib/libicucore.A.dylib
0x7fff8b298000 -     0x7fff8b2a0fff  libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
0x7fff8c395000 -     0x7fff8c399fff  libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
0x7fff8c39a000 -     0x7fff8c39cfff  libquarantine.dylib (76.20.1) <7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
0x7fff8d1db000 -     0x7fff8d1dcfff  libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
0x7fff8d238000 -     0x7fff8d239ff7  libsystem_blocks.dylib (65) <9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
0x7fff8d324000 -     0x7fff8d34cfff  libxpc.dylib (559.20.9)  /usr/lib/system/libxpc.dylib
0x7fff8d76b000 -     0x7fff8d77cfff  libsystem_coretls.dylib (35.20.2) <6084A531-2523-39F8-B030-811FA1A32FB5> /usr/lib/system/libsystem_coretls.dylib
0x7fff8d77f000 -     0x7fff8d7f5fe7  libcorecrypto.dylib (233.1.2)  /usr/lib/system/libcorecrypto.dylib
0x7fff8e43d000 -     0x7fff8e475fff  libsystem_network.dylib (412.20.3) <589A5F67-BE2A-3245-A181-0ECC9B53EB00> /usr/lib/system/libsystem_network.dylib
0x7fff8e724000 -     0x7fff8e740ff7  libsystem_malloc.dylib (53.1.1) <19BCC257-5717-3502-A71F-95D65AFA861B> /usr/lib/system/libsystem_malloc.dylib
0x7fff8f5cb000 -     0x7fff8f5dcff7  libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
0x7fff90160000 -     0x7fff901ecff7  libsystem_c.dylib (1044.10.1) <86FBED7A-F2C8-3591-AD6F-486DD57E6B6A> /usr/lib/system/libsystem_c.dylib
0x7fff906ed000 -     0x7fff906eefff  libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff90bf4000 -     0x7fff90bfafff  libsystem_trace.dylib (72.20.1) <840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
0x7fff90c4e000 -     0x7fff90c56fff  libsystem_dnssd.dylib (561.1.1) <62B70ECA-E40D-3C63-896E-7F00EC386DDB> /usr/lib/system/libsystem_dnssd.dylib
0x7fff90c5b000 -     0x7fff90c5cff3  libSystem.B.dylib (1213)  /usr/lib/libSystem.B.dylib
0x7fff90d0a000 -     0x7fff90d5efff  libc++.1.dylib (120) <1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
0x7fff911f3000 -     0x7fff91223fff  libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
0x7fff91224000 -     0x7fff9122cffb  libcopyfile.dylib (118.1.2) <0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
0x7fff91693000 -     0x7fff91694ffb  libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
0x7fff9169d000 -     0x7fff916a2fff  libsystem_stats.dylib (163.20.16)  /usr/lib/system/libsystem_stats.dylib
0x7fff9184b000 -     0x7fff91876fff  libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
0x7fff91877000 -     0x7fff91877ff7  libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
0x7fff919f7000 -     0x7fff91a02fff  libcommonCrypto.dylib (60061)  /usr/lib/system/libcommonCrypto.dylib
0x7fff91aa6000 -     0x7fff91aabff7  libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
0x7fff922c9000 -     0x7fff922cbfff  libsystem_configuration.dylib (699.1.5) <20F3B077-179D-3CB0-A3C1-C8602D53B4DB> /usr/lib/system/libsystem_configuration.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1334344
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=85.2M resident=103.9M(122%) swapped_out_or_unallocated=16777216.0T(20638832001024%)
Writable regions: Total=37.2M written=2592K(7%) resident=4124K(11%) swapped_out=0K(0%) unallocated=33.2M(89%)
REGION TYPE                      VIRTUAL
===========                      =======
Kernel Alloc Once                     4K
MALLOC                             28.9M
MALLOC (admin)                       16K
STACK GUARD                        56.0M
Stack                              8192K
VM_ALLOCATE                           8K
__DATA                             1744K
__LINKEDIT                         71.5M
__TEXT                             13.7M
__UNICODE                           552K
shared memory                         4K
===========                      =======
TOTAL                             180.4M
Model: MacBookPro11,3, BootROM MBP112.0138.B14, 4 processors, Intel Core i7, 2.3 GHz, 16 GB, SMC 2.19f12
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (<IP_ADDRESS>.3)
Bluetooth: Version 4.3.4f4 15601, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: Internal Memory Card Reader
USB Device: SAMSUNG_Android
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1

I get a crash as soon as I try to run vim or neovim.

Just to clarify, Vim crashes after you install the Neovim Python module?
Also, you should format your post with some code blocks.

My apologizes, this was not a problem with neovim but more of a problem with mac os x and the way to handle multiple versions of python.
I uninstalled all versions of python and pip from brew. Then I re-downloaded pip with curl, re-installed only pip for python 2.7 restarted nvim and it worked as expected.

@teamblubee could you elaborate? I'm having the same issue, but ditching the convenience of homebrew, nuking everything, and manually installing python 2.7 system-wide seems quite extreme. Could there be another way? I'm not sure what the root problem is.

I should say a similar issue. Mine doesn't crash, just complains YouCompleteMe unavailable: requires Vim compiled with Python 2.x support when python --version shows 2.7.10 and sudo pip install neovim was successful.

@woahdae Did you try https://github.com/neovim/neovim/wiki/FAQ#python-support-isnt-working?

Oh! That gives me some leads. Thanks.
On Thu, May 5, 2016 at 11:32 AM, Florian Walch<EMAIL_ADDRESS>wrote:

@woahdae https://github.com/woahdae Did you try
https://github.com/neovim/neovim/wiki/FAQ#python-support-isnt-working?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/neovim/python-client/issues/138#issuecomment-217235541


wrong module name?

https://github.com/ENCCS/supercomputing4ai/blob/fe27a5ddab51b222483fd6dd8386b86f2232d2cb/content/software_modules.rst?plain=1#L38
i get:
> ml ImageMagick
Lmod has detected the following error:  The following module(s) are
unknown: "ImageMagick"

Seems like the module was brought down. I commented those parts in the rst, will try to see if support can do anything about it.


fix(lib): unable to express empty objects and array

We used to remove all empty objects and array from synthesized objects. This is a problem in the k8s world since empty objects are sometimes used to represent a value.
For example, the volumes.emptyDir field.

[ ] Wait for https://github.com/awslabs/cdk8s/pull/200

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@eladb I believe the body and title of this PR are not correct...? Its exactly the same as #200


Add support for Logpush API endpoints

This PR add support for all Cloudflare Logpush API endpoints.

Merged latest changes from master branch + fixed code style issues.


Add support for CSI snapshot beta APIs

Change Overview
Add support for CSI snapshot beta APIs
Refactor snapshot tests to support beta snapshots
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[x] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[x] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

#XXX

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

Otherwise looks good to me, however you it's quite a big change you should get a second opinion from Tom.


Ignoring SSL certificates

Why is the gem explicitly ignoring the SSL cert verification? Is there a good reason and if not, could you please enable the SSL verification?
Thank you!

This is a good question. Locally, I just changed :verify_ssl => true, and it seemed to work OK still. Any reason this can't be changed to true? @jsboulanger


JavaScript heap out of memory

I tried to convert a medium sized existing Razzle project to Typescript. It should be all setup correctly because when I remove all but one imports from my App.tsx it does compile and show the home view.
However, when I add back all the imports (via loadable-components), then trying to run yarn start results in this:
<--- Last few GCs --->

[47780:0x103a7a000]    44764 ms: Mark-sweep 3965.8 (4033.5) -> 3965.5 (4031.5) MB, 234.7 / 0.0 ms  (average mu = 0.168,
 current mu = 0.073) allocation failure GC in old space requested
[47780:0x103a7a000]    45012 ms: Mark-sweep 3965.5 (4031.5) -> 3965.1 (4034.5) MB, 247.5 / 0.0 ms  (average mu = 0.088,
 current mu = 0.000) allocation failure GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

[...]

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x100033aa9 node::Abort() [/usr/local/Cellar/node/10.6.0/bin/node]

I have browsed the web for 2 hours now but no solution seems to be working. Has anyone encountered this? I should say that all files in this project are still JS files, I have configured Typescript so that it runs alongside babel. Could this be an issue? Should I convert the entire application to TSX files to get rid of this problem?

Running into similar issues on the production build in a monrepo. Jared just released a project with a out of the box typescript setup. Perhaps that will help you.

I managed to resolve this by "build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 yarn build",
Give that a go. Put the cross-env NODE_OPTIONS=--max_old_space_size=8192 in front of whatever command is leading to your outcome

I already tried 8129 yesterday with no luck.

Running into similar issues on the production build in a monrepo. Jared just released a project with a out of the box typescript setup. Perhaps that will help you.

@mschipperheyn what project are you referring to?

@mschipperheyn whoa! The cross-env thing actually works! Thank you SO much!
What I did yesterday was to change the options of the typescipt plugin in razzle.config.js so that it says Using 1 worker with 8192MB memory limit but it seems that that was not enough.

Aha!
I disabled devtool in razzle.config.js like this:
  modify: (config, { target, dev }, webpack) => {
    if (dev) {
      config.devtool = 'none'
    }

I never need sourcemaps during local development anyways. Now I get away with 4GB:
  "scripts": {
    "start": "cross-env NODE_OPTIONS=--max_old_space_size=4096 razzle start",
    "build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 razzle build",


Added failing workload and namespace file

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks like your deployment liveliness-check is failing.
Specifically, it looks like these pods are failing:

Pod: liveliness-check-6bf98bd74-brxx7 with the error listed below.
Pod: liveliness-check-6bf98bd74-kcvsq with the error listed below.
Pod: liveliness-check-6bf98bd74-tzqcx with the error listed below.

Logs for pod liveliness-check-6bf98bd74-brxx7:
The last conditions your pods went through were:

2023-08-24T17:27:45+00:00 - Reason: None 	 Type: Initialized
2023-08-24T19:10:20+00:00 - Reason: ContainersNotReady 	 Type: Ready
2023-08-24T19:10:20+00:00 - Reason: ContainersNotReady 	 Type: ContainersReady
2023-08-24T17:27:45+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://07e366a3a81fd042eb1b4c4fe3f7c36afe608376c380289d9e0b678ae8dba6c5 has restarted: 31 number of times.

Logs for pod liveliness-check-6bf98bd74-kcvsq:
The last conditions your pods went through were:

2023-08-24T17:27:45+00:00 - Reason: None 	 Type: Initialized
2023-08-24T19:10:05+00:00 - Reason: ContainersNotReady 	 Type: Ready
2023-08-24T19:10:05+00:00 - Reason: ContainersNotReady 	 Type: ContainersReady
2023-08-24T17:27:45+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://b7d3538eed1ddb9064128c81139345f1567f9ec36b7abca0bea3c329f4621f62 has restarted: 31 number of times.

Logs for pod liveliness-check-6bf98bd74-tzqcx:
The last conditions your pods went through were:

2023-08-24T17:27:45+00:00 - Reason: None 	 Type: Initialized
2023-08-24T19:10:13+00:00 - Reason: None 	 Type: Ready
2023-08-24T19:10:13+00:00 - Reason: None 	 Type: ContainersReady
2023-08-24T17:27:45+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://720335af9a4b165d2188734f16417103cad6819669e9a477210249110b0a3646 has restarted: 30 number of times.


[client] lag when exit battle

all chat is recomputed it seems ?

I think because the component is unmounted and mounted back this is unavoidable, but I can just only fetch the last 30-40 messages
Just pushed a PR that should hopefully already make it better but tell me if it's not the case


Downloading secrets from s3 takes ~10s every time

When using Elastic CI stack's s3 secrets, we notice that every step of the build pipeline takes ~10s longer to complete. This wouldn't be bad if it was once in the pipeline, but it happens for every step when reading the secrets from S3.
Is it possible to cache the secrets, or speed up this process somehow? If we have a pipeline of 10 steps, that's 100s of additional wait time, which isn't really acceptable for us.

Thanks for submitting this @jessebye. We've actually been discussing this internally very recently and trying to figure out ways to improve the performance.

we've replaced s3-secrets with https://github.com/mikeknox/aws-paramstore-secrets-buildkite-plugin a while ago and it works much better in terms of performance.

@vgrigoruk thanks for sharing the plugin! 👌
I think a lot of folks will find that extremely useful, I will also share it internally with the team!

In EC2 Environment, Now it takes 0 seconds (<1sec) to download secrets from s3. See: https://github.com/buildkite/elastic-ci-stack-s3-secrets-hooks/pull/37
Thank you so much for this!

https://github.com/buildkite/elastic-ci-stack-for-aws/releases/tag/v5.1.0


Sync with other calendars

Hi! I was wondering if maybe calendar sync with other providers such as Google or Outlook is on the roadmap. Like they all have their API's but maybe a way to simplify this process internally by schedule-x would be cool.

Hey there!
This is currently not on the roadmap for me. I'd be open to anyone wanting to write a plugin for this, but I don't see myself building this anytime soon.


TensorFlow.Lite and Protobuf.Lite added

No idea what happened. I lost network. Closing this one. There is duplicate PR


How to create a pure client?

tl;dr I'm looking for something like the createConnection() function in vscode-languageclient:
https://github.com/microsoft/vscode-languageserver-node/blob/901fd8829ee0af8f457bc2a2b1ab5910abd669f6/client/src/common/client.ts#L169
I feel like a lot of the pieces are here to make a "pure LSP client," but I am unclear as to whether it's possible today. By a "pure client," I mean to assume you have an existing LSP server that can be treated as a black box. The caller is responsible for producing a bidrectional channel (often this is achieved by launching the LSP server and connecting stdin/stdio), which should be used to instantiate some sort of Client object. The vscode-languageclient npm module is a good example of a proper API+implementation for this:
https://github.com/microsoft/vscode-languageserver-node/blob/master/client/src/common/client.ts
As it stands, tower_lsp::Client::new is private and the only way to create one seems to be via LspService::new(), which requires returning an implementation of tower_lsp::LanguageServer. Assuming someone else has implemented the LSP server, why should I be required to implement LanguageServer in order to connect to it?

Thanks for the question, @bolinfest! I think I may need to clarify the scope and purpose of this library a bit. As it stands, tower-lsp is more akin to vscode-languageserver rather than vscode-languageclient. It is intended as a scaffold for the creation of LSP servers and not clients, which is currently out of scope for this library. It assumes that a language client compatible with the editor you're targeting is already available or developed separately using the recommended toolkit, e.g. vscode-language client. The channel provided by tower-lsp allows for bidirectional communication insofar that it allows the server you are implementing to make requests back to the outside client and await responses. At present, tower-lsp provides no facilities for writing your own language client.
Although the development of language clients isn't currently on the radar, we can always discuss the merits of extending the existing library or shipping a companion library for writing clients in this issue thread. Hope this clarifies things for you!

Closing this issue for now, since I believe the project scope described above summarizes the situation pretty well (this is a helper library for implementing language servers, not clients). However, anyone who's interested in this should feel free to reopen the issue for further discussion!


Change the size of the input image

Hello, your work is very helpful to me. I want the input RGB image and the output depth map to be 1000 * 1000 pixels. How can I change the code?

our current method only supports the size of multiple of 64，you might need to resize the image before feeding the network and resize predicted depth back to 1000x1000

Thank you for your reply. If I understand correctly, your method is to get relative depth, not absolute depth, right?

Hi, yes. Only relative depth.


2 diff addresses from the same HD prvkey

I created a privkey from my HD master key:
mk = bitcoin.bip32_master_key('seed')
prv = bitcoin.bip32_ckd(mk,0)
Which of the below should I use to get the address?
bitcoin.pubkey_to_address(bitcoin.bip32_privtopub(prv))

'1PryoY2TVGno95zueXavej8xetFxxWmwXq'

bitcoin.privkey_to_address(bitcoin.encode_privkey(bitcoin.bip32_extract_key(prv), 'wif'))

'1LbQvv9Xzxmm3RPVgCVhnmyfDR4Tke2GLB'

Ah!
You want bitcoin.privkey_to_address(bitcoin.encode_privkey(bitcoin.bip32_extract_key(prv), 'wif_compressed')) . You were using compressed privkeys, and 'wif' converted it to standard, ie. uncompressed form, which produces different addresses.


Does Vue router work at all with single-spa?

None of the examples seem to use the Vue router and I'm struggling to get it working.
I've tried history mode and hash mode, and different "base" URLs.
const router = new Router({
  base: '/vue-spa/',
  mode: 'history',
  routes,
});

Does some sort of a wrapper need to be written to make the Vue router compatible?  Do we need to run Vue in an iframe(puke) to make the router work?

I got it to work.  I put the router into abstract mode where it doesn't touch or listen to the DOM.
I listen to hash change and hand the changes to Vue, after taking out the first part which is put in by single-spa.
 function inheritRoute() {
    let newRoute = window.location.hash.replace(/^#\/(vue-spa\/?|)/, ''); // in the future get the prefix programatically
    if (newRoute === '') newRoute = '/';
    console.log('newroute is ', newRoute);
    Vue.$router.push(newRoute);
  }

  inheritRoute();
  window.onhashchange = (e) => {
    console.log('Updating router from hashchange with e ', e, 'and hash ', window.location.hash);
    inheritRoute();
  };

Parameters and lazy loading and everything seem to be working fine.  Vue is really the most extensible thing.


Is there a way to use puppeteer plugins with puppeteer-extra

Hello guys. I have already built project with puppeteer-extra (https://www.npmjs.com/package/puppeteer-extra) and I'm using few plugins from there. Is there a way implement your technique somehow alongside with this puppeteer wrapper.

Nvm i just cant read i guess - https://github.com/thomasdondorf/puppeteer-cluster/blob/master/examples/different-puppeteer-library.js


Supply tries to upload app-debug.apk to instead of app-release.apk

Hello everyone!
Issue Description
Supply tries to upload app-debug.apk instead of app-release.apk (I guess it checks for apk_paths instead of apk if running gradle and supply in the same lane... but why is apk_paths not empty?).
The interested line in the log output is:
 [14:48:08]: Preparing apk at path '/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-debug.apk' for upload...
Complete output when running fastlane, including the stack trace and command used
matteo@Mini-di-Patrick ~/d/tony-app-react (master)> fastlane android alpha
[14:46:55]: -------------------------------------------------
[14:46:55]: --- Step: Verifying required fastlane version ---
[14:46:55]: -------------------------------------------------
[14:46:55]: fastlane version valid
[14:46:55]: ------------------------------
[14:46:55]: --- Step: default_platform ---
[14:46:55]: ------------------------------
[14:46:55]: Driving the lane 'android alpha' 🚀
[14:46:55]: --------------------
[14:46:55]: --- Step: gradle ---
[14:46:55]: --------------------
[14:46:55]: $ /Users/matteo/dev/tony-app-react/android/gradlew assembleRelease -p android/
[14:46:57]: ▸ :app:preBuild UP-TO-DATE
[14:46:57]: ▸ :app:preReleaseBuild UP-TO-DATE
[14:46:57]: ▸ :app:checkReleaseManifest
[14:46:57]: ▸ :app:preDebugBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:compileLint
[14:46:57]: ▸ :react-native-vector-icons:copyReleaseLint UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:preBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:preReleaseBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:checkReleaseManifest
[14:46:57]: ▸ :react-native-vector-icons:preDebugAndroidTestBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:preDebugBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:preDebugUnitTestBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:preReleaseUnitTestBuild UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookFrescoDrawee081Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookFrescoFbcore081Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookFrescoFresco081Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookFrescoImagepipeline081Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookFrescoImagepipelineOkhttp081Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareComFacebookReactReactNative0161Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:prepareReleaseDependencies
[14:46:57]: ▸ :react-native-vector-icons:compileReleaseAidl UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:compileReleaseRenderscript UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:generateReleaseBuildConfig UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:generateReleaseAssets UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:mergeReleaseAssets UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:generateReleaseResValues UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:generateReleaseResources UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:mergeReleaseResources UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:processReleaseManifest UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:processReleaseResources UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:generateReleaseSources UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:processReleaseJavaRes UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:compileReleaseJavaWithJavac UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:extractReleaseAnnotations UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:mergeReleaseProguardFiles UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:packageReleaseJar UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:compileReleaseNdk UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:packageReleaseJniLibs UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:packageReleaseLocalJar UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:packageReleaseRenderscript UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:packageReleaseResources UP-TO-DATE
[14:46:57]: ▸ :react-native-vector-icons:bundleRelease UP-TO-DATE
[14:46:57]: ▸ :app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookFrescoDrawee081Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookFrescoFbcore081Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookFrescoFresco081Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookFrescoImagepipeline081Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookFrescoImagepipelineOkhttp081Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareComFacebookReactReactNative0222Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
[14:46:57]: ▸ :app:prepareTonyReactNativeVectorIconsUnspecifiedLibrary UP-TO-DATE
[14:46:57]: ▸ :app:prepareReleaseDependencies
[14:46:57]: ▸ :app:compileReleaseAidl UP-TO-DATE
[14:46:57]: ▸ :app:compileReleaseRenderscript UP-TO-DATE
[14:46:57]: ▸ :app:generateReleaseBuildConfig UP-TO-DATE
[14:46:57]: ▸ :app:generateReleaseAssets UP-TO-DATE
[14:46:57]: ▸ :app:mergeReleaseAssets UP-TO-DATE
[14:46:57]: ▸ :app:generateReleaseResValues UP-TO-DATE
[14:46:57]: ▸ :app:generateReleaseResources UP-TO-DATE
[14:46:58]: ▸ :app:mergeReleaseResources
[14:47:04]: ▸ :app:bundleReleaseJsAndAssets
[14:47:04]: ▸ bundle: Created ReactPackager
[14:47:14]: ▸ bundle: start
[14:47:14]: ▸ [14:47:14] <START> Whole Program Optimisations
[14:47:41]: ▸ [14:47:41] <END>   Whole Program Optimisations (26146ms)
[14:47:41]: ▸ [14:47:41] <START> minify
[14:47:54]: ▸ [14:47:54] <END>   minify (13722ms)
[14:47:54]: ▸ bundle: finish
[14:47:54]: ▸ bundle: Writing bundle output to: /Users/matteo/dev/tony-app-react/android/app/build/intermediates/assets/release/index.android.bundle
[14:47:54]: ▸ bundle: Closing client
[14:47:54]: ▸ bundle: Copying 7 asset files
[14:47:54]: ▸ bundle: Done writing bundle output
[14:47:54]: ▸ bundle: Done copying assets
[14:47:55]: ▸ :app:processReleaseManifest UP-TO-DATE
[14:47:55]: ▸ :app:processReleaseResourcesUnknown source file : warning: string 'catalyst_debugjs' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_element_inspector' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_jsload_error' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_jsload_message' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_jsload_title' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_reloadjs' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_settings' has no default translation.
[14:47:55]: ▸ Unknown source file : warning: string 'catalyst_settings_title' has no default translation.
[14:47:55]: ▸ :app:generateReleaseSources
[14:47:55]: ▸ :app:processReleaseJavaRes UP-TO-DATE
[14:47:55]: ▸ :app:compileReleaseJavaWithJavac UP-TO-DATE
[14:47:55]: ▸ :app:compileReleaseNdk UP-TO-DATE
[14:47:55]: ▸ :app:compileReleaseSources UP-TO-DATE
[14:47:56]: ▸ :app:lintVitalRelease
[14:47:56]: ▸ :app:preDexRelease UP-TO-DATE
[14:47:56]: ▸ :app:dexRelease UP-TO-DATE
[14:47:56]: ▸ :app:validateReleaseSigning
[14:47:59]: ▸ :app:packageRelease
[14:47:59]: ▸ :app:zipalignRelease
[14:47:59]: ▸ :app:assembleRelease
[14:47:59]: ▸ :react-native-vector-icons:compileReleaseSources UP-TO-DATE
[14:47:59]: ▸ :react-native-vector-icons:assembleRelease UP-TO-DATE
[14:47:59]: ▸ BUILD SUCCESSFUL
[14:47:59]: ▸ Total time: 1 mins 3.73 secs
[14:48:00]: --------------------
[14:48:00]: --- Step: supply ---
[14:48:00]: --------------------

+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                Summary for supply 0.7.0                                                                                |
+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| track                   | alpha                                                                                |
| apk                     | android/app/build/outputs/apk/app-release.apk                                                                                |
| apk_paths               | ["/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-debug.apk", "/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-release.apk"] |
| package_name            | it.myapp.myapp                                                                                |
| rollout                 | 1.0                                                                                |
| metadata_path           | ./fastlane/metadata/android                                                                                |
| json_key                | ./google-play-api-secret.json                                                                                |
| skip_upload_apk         | false                                                                                |
| skip_upload_metadata    | false                                                                                |
| skip_upload_images      | false                                                                                |
| skip_upload_screenshots | false                                                                                |
+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+

[14:48:04]: Preparing to upload for language 'it-IT'...
[14:48:06]: Uploading image file ./fastlane/metadata/android/it-IT/images/icon.png...
[14:48:07]: Updating changelog for code version '3' and language 'it-IT'...
[14:48:08]: Updating changelog for code version '4' and language 'it-IT'...
[14:48:08]: Preparing apk at path '/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-debug.apk' for upload...
[14:48:18]: Variable Dump:
[14:48:18]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:android, :LANE_NAME=>"android alpha", :GRADLE_BUILD_TYPE=>"Release", :GRADLE_ALL_APK_OUTPUT_PATHS=>["/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-debug.apk", "/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-release.apk"], :GRADLE_APK_OUTPUT_PATH=>"/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-release.apk"}
[14:48:18]: apkUpgradeVersionConflict: APK specifies a version code that has already been used.

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | gradle                              | 64          |
| 4    | supply                              | 18          |
+------+-------------------------------------+-------------+

[14:48:18]: fastlane finished with errors
-------------------------------------------------------------------------------------------
😨  An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.
👍  This makes resolving issues much easier and helps improve fastlane.
🔒  The reports will be stored securely on getsentry.com.
🙊  More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3
-------------------------------------------------------------------------------------------
/Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/http_command.rb:211:in `check_status': [!] apkUpgradeVersionConflict: APK specifies a version code that has already been used. (Google::Apis::ClientError)
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/api_command.rb:102:in `check_status'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/http_command.rb:179:in `process_response'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/upload.rb:198:in `process_response'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/upload.rb:275:in `execute_once'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/http_command.rb:107:in `block (2 levels) in execute'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/http_command.rb:104:in `block in execute'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
	from /Library/Ruby/Gems/2.0.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/http_command.rb:96:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/lib/google/apis/core/base_service.rb:345:in `execute_or_queue_command'
	from /Library/Ruby/Gems/2.0.0/gems/google-api-client-0.9.4/generated/google/apis/androidpublisher_v2/service.rb:660:in `upload_apk'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/client.rb:188:in `upload_apk'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/uploader.rb:126:in `upload_binary_data'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/uploader.rb:107:in `block in upload_binaries'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/uploader.rb:106:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/uploader.rb:106:in `upload_binaries'
	from /Library/Ruby/Gems/2.0.0/gems/supply-0.7.0/lib/supply/uploader.rb:26:in `perform_upload'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/actions/supply.rb:20:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:177:in `block (2 levels) in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:162:in `block in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:161:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:161:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:109:in `trigger_action_by_name'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:32:in `block (2 levels) in parsing_binding'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:50:in `block in execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:46:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:46:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:42:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.43.5/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:175:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:13:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.89.0/bin/fastlane:5:in `<top (required)>'
	from /usr/local/bin/fastlane:23:in `load'
	from /usr/local/bin/fastlane:23:in `<main>'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
fastlane_version "1.86.1"

default_platform :ios

platform :ios do
  before_all do
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :alpha do
    sigh
    increment_build_number(xcodeproj: './ios/Tony.xcodeproj')
    gym(scheme: "Tony", project: './ios/Tony.xcodeproj')
    pilot(skip_submission: true)
  end

  after_all do |lane|
    slack(channel: "deploys", message: "Successfully deployed new Tony-iOS beta update.")
  end
end

platform :android do
  before_all do
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Submit a new Alpha Build to Play Store"
  lane :alpha do
    gradle(task: "assemble", build_type: "Release", project_dir: "android/")
    supply(track: "alpha", apk: "android/app/build/outputs/apk/app-release.apk")
  end

  after_all do |lane|
    slack(channel: "deploys", message: "Successfully deployed new Tony-Android beta update.")
  end
end

Environment
fastlane version (run fastlane -v): 1.89.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

@mmazzarolo Thanks for the report. I'm surprised that apk_paths is not empty since I see that you're only running assembleRelease via gradle. Can you try adding a gradle(task: 'clean') before the assemble?

Sure! I'll give it a try tomorrow.

Hey @asfalcone, cleaning the project before assembling it worked, thank you and thanks for this awesome tool! 🌻
desc "Submit a new Alpha Build to Play Store"
lane :alpha do
  gradle(task: 'clean', project_dir: "android/") # <- Fixes it
  gradle(task: "assemble", build_type: "Release", project_dir: "android/")
  supply(track: "alpha", apk: "android/app/build/outputs/apk/app-release.apk")
end

@mmazzarolo So glad you're up and running! 👍

same happened to me, i know it could be fixed with gradle clean, or setting apk_paths to ["RELEASE_APK_PATH"] instead of apk. But the sounds like more of a problem about the "apk_paths" setting. Shouldn't the default value be empty when apk is specified already? 😃

@colinyip Interesting suggestion. Right now we are going to stick with it the way it is as to not break others setups.


Pre-publish: Remove duplicate low image resolution check

Summary
Remove 1x warning in lieu of just the 2x guidance as per recommendation from team.
Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

Add a small image and stretch it until it's lower than 2x density. Without this branch, you should just see one low image resolution error. On main, you'd see two (one past 1x, two past 2x).
Here's an example image to use 😄

Fixes #5376

Mmm Furbean...


[Bug]: jq expected filter fails with "out" defined

What happened?
okay i can confirm when i use your example out of the box
jq(
name = "stamped",
srcs = [],
filter = "|".join([
# Don't directly reference $STAMP as it's only set when stamping
# This 'as' syntax results in $stamp being null in unstamped builds.
"$ARGS.named.STAMP as $stamp",
# Provide a default using the "alternative operator" in case $stamp is null.
".version = ($stamp.BUILD_EMBED_LABEL // "development")",
]),
)
i get a file _stamped_stamped.json with my full Stamp object with vars and values.
as soon as i add an out, in this case out = "blob.json", i get a file called blob.json that looks like
{
"version": ""
}
Version
Development (host) and target OS/architectures: repeatable locally on mac
Output of bazel --version: bazel 6.1.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: v1.25.0
Language(s) and/or frameworks involved: javascript react
How to reproduce
add an "out" argument to your jq definition and run with --stamp and the stamped attributes are not captured in that new file. remove the out and it works as expected with the generic file naming. I can access those variables and set them myself by refactoring the filter arg.

Any other information?
No response

Hmm, I'm not sure I can reproduce. In this repo, bazel build lib/tests/jq:all
$ more bazel-bin/lib/tests/jq/*stamped.json
::::::::::::::
bazel-bin/lib/tests/jq/stamped.json
::::::::::::::
{
  "foo": "v1.2.3",
  "value":<PHONE_NUMBER>,
  "moo": [
    1,
    2,
    3
  ],
  "a": true
}
::::::::::::::
bazel-bin/lib/tests/jq/unstamped.json
::::::::::::::
{
  "foo": "<unstamped>",
  "value": 1,
  "moo": [
    1,
    2,
    3
  ],
  "a": true
}

If I then add an out attribute:
--- a/lib/tests/jq/BUILD.bazel
+++ b/lib/tests/jq/BUILD.bazel
@@ -100,6 +100,7 @@ diff_test(
 [
     jq(
         name = ("" if stamp else "un") + "stamped",
+        out = ("" if stamp else "un") + "stamped.json",
         srcs = ["a.json"],
         filter = "|".join([
             # Don't directly reference $STAMP as it's only set when stamping

it still produces the same build output.

I'll try running this repo when i get a chance.. thanks for looking into this... must be something in my setup.

please file another one if you can repro 🙏🏻


Possible rare crash in avcodec_send_packet() ?

In general the player code runs for days without issues, no leak, no crash. However occasionally there is a crash, freeing memory which was not allocated,  and it seems to be in the av freeing methods, and also in avcodec_send_packet(). (It might have to do with unclean input data.)
While debugging, I stumbled over this:
in  qavdemuxer.cpp line 605, at QAVDemuxer::read()  if av_read_frame() returns an error, and if the error is not EOF, an empty, uninitialized QAVPacket / AVPacket is used in the following processing and avcodec_send_packet() ?
    QAVPacket pkt;
    locker.unlock();
    int ret = av_read_frame(d->ctx, pkt.packet());
    if (ret < 0) {
        if (ret == AVERROR_EOF || avio_feof(d->ctx->pb)) {
            locker.relock();
            d->eof = true;
            locker.unlock();
        }
    }
    locker.relock();
    ...

The crash is not often enough, so I'm not sure yet if the code above (ret < 0 but not eof) is indeed a problem. (I have currently 3 PCs running trying to reproduce, and 2 of them didn't show it again for the last 2 days.)

One iMac just caught a crash, after running for about 48 hours without any issues.
Apparently in av_frame_unref.
Here the relevant parts of the MacOS crash report:
Crashed Thread:        13  QThread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
MyPlayer(36284,0x7000107dc000) malloc: *** error for object 0x7fad1497df68: pointer being freed was not allocated

Thread 13 Crashed:: QThread
0   libsystem_kernel.dylib        	0x00007fff2047b90e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff204aa5bd pthread_kill + 263
2   libsystem_c.dylib             	0x00007fff203ff406 abort + 125
3   libsystem_malloc.dylib        	0x00007fff202df165 malloc_vreport + 548
4   libsystem_malloc.dylib        	0x00007fff202e22aa malloc_report + 151
5   libavutil.58.dylib            	0x000000010823e092 av_frame_unref + 146
6   org.qt-project.QtCore         	0x000000010c43a738 QMetaType::destroy(void*) const + 72
7   org.qt-project.QtCore         	0x000000010c45d992 QMetaCallEvent::~QMetaCallEvent() + 114
8   org.qt-project.QtCore         	0x000000010c45da4e QMetaCallEvent::~QMetaCallEvent() + 14
9   org.qt-project.QtCore         	0x000000010c419cd3 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1491
10  org.qt-project.QtCore         	0x000000010c5a6c1b QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 75
11  org.qt-project.QtCore         	0x000000010c422616 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 486
12  org.qt-project.QtCore         	0x000000010c50872a QThread::exec() + 298
13  org.qt-project.QtCore         	0x000000010c5ab179 0x10c394000 + 2191737
14  libsystem_pthread.dylib       	0x00007fff204aa8fc _pthread_start + 224
15  libsystem_pthread.dylib       	0x00007fff204a6443 thread_start + 15

Thread 13 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007000107dc000  rcx: 0x00007000107dbb08  rdx: 0x0000000000000000
  rdi: 0x000000000000d107  rsi: 0x0000000000000006  rbp: 0x00007000107dbb30  rsp: 0x00007000107dbb08
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x000000000000d107  r13: 0x0000000000000050  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff2047b90e  rfl: 0x0000000000000246  cr2: 0x0000000111f62000

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Update:
After I added handling of av_read_frame() returning error (which is not eof), there are no more crashes on windows, despite the player running for more than a week non stop.
On Mac there are still crashes from time to time, with always a quite minimal report like this:
Crashed Thread:        37  Thread (pooled)

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [58190]
...
Thread 37 Crashed:: Thread (pooled)
0   ???                                            0x0 ???
1   libavutil.58.dylib                     0x10bd0fef7 0x10bd04000 + 48887

This happens sometimes after an hour, and sometimes after a day running non stop.
I will continue to research.

uninitialized QAVPacket / AVPacket is used in the following processing and avcodec_send_packet() ?

looks you are right, thanks, hope it is the same as you got on mac too

did you print out result of av_read_frame? why it failed

https://github.com/valbok/QtAVPlayer/pull/465


Formal Project Proposal

Choose a public data set from the web that you are interested in to carry out a small data analysis. You may also use any data set we have previously worked with in MDS. Correctly cite where your data set is coming from in your proposal. Be sure that it is a data set that is licensed to be shared and used openly on the internet.
With your data set, identify one main predictive or inferential research question that you will attempt to answer with analyses and visualizations (more on this below). Clearly state the research question and any natural sub-questions you need to address, and their type.
Make a plan of how you will analyze the data (report an estimate and confidence intervals? hypothesis test? classification with a decision tree?). Choose something you already learned how to do in another MDS course.
Discuss at least one exploratory data analysis (EDA) table and one exploratory data analysis figure you will create that makes sense for your research question, the data that you have, and the analysis you plan to do.
Suggest how you would share the results of your analysis as one or more tables and/or figures.

Dataset chosen, other items here have been split into Issues 19-21


ValueError: A boolean value must be only 'true' or 'false'

I am not sure what is wrong here:
% enasearch retrieve_data --ids ERR924889  --display report

Traceback (most recent call last):
  File "/home/linuxbrew/.linuxbrew/bin/enasearch", line 11, in <module>
    load_entry_point('enasearch==0.0.5', 'console_scripts', 'enasearch')()
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/enasearch/__main__.py", line 251, in retrieve_data
    header=header)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/enasearch/__init__.py", line 407, in retrieve_data
    header=header)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/enasearch/__init__.py", line 365, in build_retrieve_url
    check_boolean(expanded)
  File "/home/linuxbrew/.linuxbrew/opt/python3/lib/python3.6/site-packages/enasearch/__init__.py", line 281, in check_boolean
    raise ValueError(err_str)
ValueError: A boolean value must be only 'true' or 'false'

Thanks @tseemann for spotting it (some remains of the first version...). Should be fixed with #9


Messages are not coming dynamically

as you type message and send message it is not auto loading..we have to refresh then only it is getting displayed.

Having the same problem, No messages are showing on the console

Maybe this will help

Other variables are defined but i'm failing to understand where the App is imported or defined

Screen Recording 2019-10-15 at 15.58.34.zip
please check the zipped video. It is now not giving me that error, Only problem its not sending as real time. always need to refresh

Okay I am having this issue only now: Uncaught ReferenceError: App is not defined
it is showing on the console log

See my comment on issue #25

I am closing the issue. Feel free to re-open it if you still have the described problem.
@Yardboy Thank you for answering!


Negative RT DDM implementation and misc

Hi @kiante-fernandez. I am moving a discussion of the PR here. Unfortunately, I couldn't figure out how to view the PR locally before merging it (it's possible that it would have worked, but I was in the wrong folder).
I would like to bring up some issues. First, the constructors were not working. I ended up commenting out the following to get it to work:
# function DDM(ν::T, α::T, τ::T, z::T; check_args::Bool=true) where {T <: Real}
#     check_args && Distributions.@check_args DDM (α, α > zero(α)) (τ, τ > zero(τ)) (z, z ≥ 0 && z ≤ 1)
#     return DDM{T}(ν, α, τ, z)
# end

# function DDM(ν::T, α::T, τ::T; check_args::Bool=true) where {T <: Real}
#     return DDM(ν, α, τ, 0.5; check_args=check_args)
# end

# DDM(ν::Real, α::Real, τ::Real, z::Real; check_args::Bool=true) = DDM(promote(ν, α, τ, z)...; check_args=check_args)
# DDM(ν::Real, α::Real, τ::Real; check_args::Bool=true) = DDM(promote(ν, α, τ)...; check_args=check_args)

I don't think you will be able to use DDM with a keyword argument because Julia unfortunately does not dispatch keyword arguments. A different approach will be needed if you would like to include checks on the correctness of the arguments. It might not be possible to opt in/out.
I'm not much of a fan about the negative RT scheme. It might be a clever way to make the model faster but I think it has two drawbacks worth considering. First, it has the potential to lead to confusion or errors. What if a person computes a mean over rts, or some other operation unaware of the presence of negative rts? Perhaps it might be easier to code correctly this way, but we only have to do that once. By contrast, users will have to use it appropriately everytime. A second drawback is that it is an exception to the general interface, which is to return an index vector of choices, and a vector of RTs. I think having a standardized interface is important because it sets up expectations for how the package works, and allows the user to potentially use the same code without having to modify depending on whether it uses LBA or DDM.
Another issue I noticed was that pdf returns NaN for negative RTs. I'm not sure why it does that. As a user, I would expect that I could pass simulated data to pdf without a problem. A similar problem exists for logpdf
Example
Random.seed!(5484)
dist = DDM(.5, .8, .3, .4)

rts = rand(dist, 10)

logpdf.(dist, rts)

Output
10-element Vector{Float64}:
 NaN
 NaN
  -2.0485034773320545
 NaN
 NaN
 NaN
  -2.6704531377602465
  -3.9876172218519876
 NaN
   0.34653192776453606

My guess is that there is a bug due to method ambiguity:
pdf(d::DDM{T}, t::Real; ϵ::Real = 1.0e-12) where {T<:Real}
pdf(d::DDM, t::Real; ϵ::Real = 1.0e-12)

I don't believe these methods can be distinguished based on their signatures, which causes the last one specified to be used. The last method has
    if τ ≥ t
        return T(NaN)
    end

which presumably is producing the NaN above.
But those are small details which should be easy to fix.
I am opposed to breaking the interface, but I wonder whether a solution would be to transform the data coming in and out? For example, in the pdf function, you might have:
rts = copy(_rts_in)
rts[choice .== 1] .= -rts[choice .==1]

Its less than ideal because it is copying data, but I would be amenable to that solution because it preserves the interface. If that is not a viable solution for you, I think the best approach moving forward would be keep the packages separate.  In my opinion, the benefit of having models within the same  package is that they follow the same interface. Eventually, I or someone else will add the full DDM (where the negative RT scheme possibly does not apply).

Also, I want to apologize for bringing up this issue now. If I knew that approach outputs negative RTs, I would have raised the issue before you made the PR.

All good. Thanks @itsdfish catching those things.
I suggested the negative RT solution because it is canonical. People who have used these models are aware of it and feel comfortable with it, which makes it less error-prone when implementing and requires less coding. It was widely agreed upon that the JAGS version used a more intuitive coding approach that was less error-prone. For instance in Turing code, if only positive numbers were used and there was no negative sign, when faced with lower bound responses, the user now needs to invert both the starting point and the drift rate. This doubles the code length and increases the probability of making an error.
Additionally, I thought it might aid in our challenges with the Tupled output issue. But all that said, I agree that having a coherent interface across all the models is important, and the negative RT solution does not work when you have more than two boundaries (although the negative solution works in all cases involving only two).
Lets stick with the standardized interface. I can make the changes throughout for you to review!

Thanks for your understanding. Sounds like a plan.
In case you were not following the thread on discourse, I found a similar issue with predict for the Wald and InverseGaussian (implemented in Distributions.jl).  Neither of those distributions return a tuple, but instead follow the interface for  ContinuousUnivariateDistribution as intended. Based on that issue, it's not clear to me whether the Tuple is the problem (or at least only problem).

I am closing this in anticipation of merging the PR. By the way, I misunderstood the nature of the problem with predict.


[doc] auto-gen Python doc using Sphinx

This PR adds required files for generating python docs by Sphinx 3.x.

Where should we serve these docs? Should we add the docs to openthread.io? @jwhui @Vyrastas

I haven't used Sphinx before and don't know if there's support to convert its output to DevSite-friendly pages (for openthread.io).  So for the moment we wouldn't put them there.

Seems pydoc3 can serve documents well.
Normally users can just use pydoc3 -b to open the documents and navigate to the otns module.
I will later close this PR and create another one to better support pydoc3.

Close in favor of #10