GLV parameters structure, v2

Description
Building on the work from #588 and introducing slight interface & implementation improvements:

Use [(bool, Self::ScalarField); 4] instead of separate structs for bools and scalars. (Best would be to use [(bool, num_bigint::BigInt); 4] but const initialization isn't supported for BigInt.
Simplify internal impl details by using num_bigint::BigInt instead of BigUint - this way we don't need to keep track of all the signs explicitly.

Benches:

without GLV:

Arithmetic for Bls12_381::G1/Scalar Multiplication
                        time:   [148.64 µs 148.69 µs 148.73 µs]

with GLV:

Arithmetic for Bls12_381::G1/Scalar Multiplication
			time:   [94.551 µs 94.621 µs 94.693 µs]

closes: #588
@simonmasson

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (master)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

@mmagician thank you for the PR! I have left some comments.


Highlight mouse click in video lessons

It's not clear when you perform click on important buttons inside IDE

@andreicoval, please check the implementation in this video
https://www.youtube.com/watch?v=1Ao2pZCpnCw&index=3&list=PLPkoWZmDIKwCvNeBpZMejx8gQhglUxw-w
if this works, mark close it

It's not the best solution, but if there is not a better one, than we can go ahead with it

yeah, I know.. still investigating to find a better one

I think we are going to use this aproach: https://youtu.be/JIm4oMb9hQ8


Native state after 0.6.0

CPU:

HALF support for Xeon Phi
Static compilation with MKL should use libsvml etc.
Configurable parallelism thresholds
Option to build for -march=native
Proper reductions

CUDA:

GC pauses

General:

Strides

To be noted: GC pauses solution should also affect CPU performance.

First part of strided edge cases solved now:
0.6.0:
Benchmark                    Mode     Cnt     Score   Error  Units
NativeOps.broadcastColumn  sample   11306  1768.687 ± 1.285  us/op
NativeOps.broadcastRow     sample  338307    59.033 ± 0.103  us/op

0.6.1:
Benchmark                    Mode     Cnt   Score   Error  Units
NativeOps.broadcastColumn  sample  363614  54.915 ± 0.800  us/op
NativeOps.broadcastRow     sample  317138  51.936 ± 0.084  us/op

Same tests on GPU:
0.6.0:
Benchmark                    Mode     Cnt    Score   Error  Units
NativeOps.broadcastColumn  sample  105550  189.342 ± 0.672  us/op
NativeOps.broadcastRow     sample  306240   65.242 ± 0.253  us/op

0.6.1:
Benchmark                    Mode     Cnt   Score   Error  Units
NativeOps.broadcastColumn  sample  317243  62.970 ± 0.223  us/op
NativeOps.broadcastRow     sample  311195  64.190 ± 0.217  us/op

Extended tests on GPU:
0.6.0:
Benchmark                         Mode     Cnt    Score   Error  Units
NativeOps.broadcastColumn       sample  107694  185.562 ± 0.620  us/op
NativeOps.broadcastOp2          sample  332287   60.123 ± 0.136  us/op
NativeOps.broadcastRow          sample  318889   62.645 ± 0.250  us/op
NativeOps.dupDifferentOrdersOp  sample  159204  125.537 ± 0.360  us/op
NativeOps.dupSameOrdersOp       sample  365222   15.764 ± 0.251  us/op
NativeOps.pairwiseOp1           sample  430449   12.114 ± 0.119  us/op
NativeOps.reduceOp1             sample  218762   91.427 ± 2.669  us/op
NativeOps.reduceOp2             sample  340175   58.798 ± 1.785  us/op
NativeOps.scalarOp1             sample  408489   12.731 ± 0.128  us/op
NativeOps.scalarOp2             sample  400968   16.678 ± 0.118  us/op
NativeOps.transformOp           sample  501473   10.244 ± 0.084  us/op

0.6.1:
Will be added later
To be noted: that's synchronous execution.

CPU results on @AlexDBlack 's TinyImageNet
https://gist.github.com/raver119/0d3e2a981593e0b5cf9da983313c9774

Results for same Lenet code from dl4j benchmarks, but on different ubuntu versions:
Ubuntu 16.04:
o.d.M.d.Dl4j_1Main - ****************Example finished********************
o.d.M.d.Dl4j_1Main - Data time: 0 min, 0 sec | 307 milliseconds
o.d.M.d.Dl4j_1Main - Train time: 9 min, 29 sec | 569453 milliseconds
o.d.M.d.Dl4j_1Main - Test time: 0 min, 3 sec | 3282 milliseconds
o.d.M.d.Dl4j_1Main - Total time: 9 min, 38 sec | 578235 milliseconds

However, with slightly different launch params i've got 9m 0s later.
Ubuntu 14.04:
o.d.M.d.Dl4j_1Main - ****************Example finished********************
o.d.M.d.Dl4j_1Main - Data time: 0 min, 0 sec | 96 milliseconds
o.d.M.d.Dl4j_1Main - Train time: 12 min, 0 sec | 720442 milliseconds
o.d.M.d.Dl4j_1Main - Test time: 0 min, 3 sec | 3815 milliseconds
o.d.M.d.Dl4j_1Main - Total time: 12 min, 9 sec | 729139 milliseconds

warp-wise kernels are not needed, because we already have launch params tuning, which is aware of TAD length. So technically, due to CUDA scheduler, in case of micro tad - we just have blockDim of 32.

IsMax along dimension should be rewritten for CUDA.

This done?

Yes, 90%


Worker timeout and service 502 on api/upload/complete call

The service seems to die when i try to complete an upload.
backend            | [2023-08-09 12:14:55 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:170)
backend            | [2023-08-09 12:14:57 +0000] [108] [ERROR] Worker (pid:170) was sent SIGKILL! Perhaps out of memory?
backend            | [2023-08-09 12:14:57 +0000] [182] [INFO] Booting worker with pid: 182
I have checked that the system has enough free ram btw.
Full logs:
[2023-08-09 09:14:21 +0000] [108] [INFO] Starting gunicorn 21.2.0
[2023-08-09 09:14:21 +0000] [108] [INFO] Listening at: http://<IP_ADDRESS>:8001 (108)
[2023-08-09 09:14:21 +0000] [108] [INFO] Using worker: gevent
[2023-08-09 09:14:21 +0000] [110] [INFO] Booting worker with pid: 110
[2023-08-09 09:14:21 +0000] [111] [INFO] Booting worker with pid: 111
use SECRET_KEY from env
use SECRET_KEY from env
Unauthorized: /api/albums/date/list/
Unauthorized: /api/albums/date/1508/
10:54:07 [Q] INFO Enqueued [DjangORM] 19
Internal Server Error: /api/photos/baf52319d94bbecd131ee440559429b41/summary/
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
    return view_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/viewsets.py", line 125, in view
    return self.dispatch(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/code/api/views/photos.py", line 375, in summary
    return Response(serializer.data)
                    ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 555, in data
    ret = super().data
          ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 522, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/fields.py", line 1838, in to_representation
    return method(value)
           ^^^^^^^^^^^^^
  File "/code/api/serializers/photos.py", line 144, in get_photo_summary
    return PhotoSummarySerializer(obj.get()).data
                                  ^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(
api.models.photo.Photo.DoesNotExist: Photo matching query does not exist.
Unauthorized: /api/photos/baf52319d94bbecd131ee440559429b41/summary/
Unauthorized: /api/photos/baf52319d94bbecd131ee440559429b41/summary/
Not Found: /api/static/rest_framework/js/ajax-form.js
Not Found: /api/static/rest_framework/css/bootstrap-tweaks.css
Not Found: /api/static/rest_framework/js/bootstrap.min.js
Not Found: /api/static/rest_framework/css/prettify.css
Not Found: /api/static/rest_framework/css/bootstrap.min.css
Not Found: /api/static/rest_framework/css/default.css
Not Found: /api/static/rest_framework/js/default.js
Not Found: /api/static/rest_framework/js/jquery-3.5.1.min.js
Not Found: /api/static/rest_framework/js/csrf.js
Not Found: /api/static/rest_framework/js/prettify-min.js
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
11:11:43 [Q] INFO Enqueued [DjangORM] 20
Internal Server Error: /api/photos/8e26638d1515b7406abcf14d648440871/summary/
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
    return view_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/viewsets.py", line 125, in view
    return self.dispatch(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/code/api/views/photos.py", line 375, in summary
    return Response(serializer.data)
                    ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 555, in data
    ret = super().data
          ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 522, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/fields.py", line 1838, in to_representation
    return method(value)
           ^^^^^^^^^^^^^
  File "/code/api/serializers/photos.py", line 144, in get_photo_summary
    return PhotoSummarySerializer(obj.get()).data
                                  ^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(
api.models.photo.Photo.DoesNotExist: Photo matching query does not exist.
11:23:14 [Q] INFO Enqueued [DjangORM] 21
Internal Server Error: /api/photos/269c5a5c84dd91bf2310bc9e1bba367f1/summary/
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
    return view_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/viewsets.py", line 125, in view
    return self.dispatch(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/code/api/views/photos.py", line 375, in summary
    return Response(serializer.data)
                    ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 555, in data
    ret = super().data
          ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 522, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/fields.py", line 1838, in to_representation
    return method(value)
           ^^^^^^^^^^^^^
  File "/code/api/serializers/photos.py", line 144, in get_photo_summary
    return PhotoSummarySerializer(obj.get()).data
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 555, in data
    ret = super().data
          ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/serializers.py", line 522, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rest_framework/fields.py", line 1838, in to_representation
    return method(value)
           ^^^^^^^^^^^^^
  File "/code/api/serializers/photos.py", line 82, in get_type
    if obj.main_file.embedded_media.count() > 0:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'embedded_media'
Unauthorized: /api/user/1/
Unauthorized: /api/user/1/
Unauthorized: /api/albums/date/list/
Unauthorized: /api/albums/date/1471/
Unauthorized: /api/albums/date/1529/
[2023-08-09 12:05:20 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:110)
[2023-08-09 12:05:25 +0000] [108] [ERROR] Worker (pid:110) was sent SIGKILL! Perhaps out of memory?
[2023-08-09 12:05:25 +0000] [170] [INFO] Booting worker with pid: 170
use SECRET_KEY from env
[2023-08-09 12:13:12 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:111)
[2023-08-09 12:13:17 +0000] [108] [ERROR] Worker (pid:111) was sent SIGKILL! Perhaps out of memory?
[2023-08-09 12:13:17 +0000] [176] [INFO] Booting worker with pid: 176
use SECRET_KEY from env
[2023-08-09 12:14:55 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:170)
[2023-08-09 12:14:57 +0000] [108] [ERROR] Worker (pid:170) was sent SIGKILL! Perhaps out of memory?
[2023-08-09 12:14:57 +0000] [182] [INFO] Booting worker with pid: 182
use SECRET_KEY from env
[2023-08-09 12:17:41 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:176)
[2023-08-09 12:18:43 +0000] [108] [ERROR] Worker (pid:176) was sent SIGKILL! Perhaps out of memory?
[2023-08-09 12:18:43 +0000] [188] [INFO] Booting worker with pid: 188
use SECRET_KEY from env
[2023-08-09 12:22:40 +0000] [108] [CRITICAL] WORKER TIMEOUT (pid:182)
[2023-08-09 12:23:06 +0000] [108] [ERROR] Worker (pid:182) was sent SIGKILL! Perhaps out of memory?
[2023-08-09 12:23:06 +0000] [194] [INFO] Booting worker with pid: 194
use SECRET_KEY from env

i will give the next dev build a try and report back

latest dev seems to have fixed this


Pointers technique

Describe your change:
Two pointers is really an easy and effective technique that is typically used for searching pairs in a sorted array. I added this technique by an exercise .

[X] Add an algorithm?
[ ] Fix a bug or typo in an existing algorithm?
[ ]     Documentation change?

Checklist:

[X] I have read CONTRIBUTING.md.
[X] This pull request is all my own work -- I have not plagiarized.
[X] I know that pull requests will not be merged if they fail the automated tests.
[X] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
[X] All new Python files are placed inside an existing directory.
[X] All filenames are in all lowercase characters with no spaces or dashes.
[X] All functions and variable names follow Python naming conventions.
[X] All function parameters and return values are annotated with Python type hints.

What do I need to improve?

I fixed,the solution file has the correct format.


Jump to keyword does not work if keyword contains embedded arguments

At least the user defined keywords, the jump does not work. Check with library keywords.
Also showing the documentation doesn't work
If I have this keyword:
| Keyword "${var}" argument |
When I use it like:
| Keyword "text here" argument |
Then jump to keyword source does not work.

This is also fixed in https://github.com/andriyko/sublime-robot-framework-assistant/commit/9e159b68d59857f7193aa73a93c59cc04167c688

Actually it was not, re-opening

Fixed in https://github.com/andriyko/sublime-robot-framework-assistant/commit/9efd0f476d4218f9cfdd1f7007894a37d980a9bd


Buggy TTS, looping chapter

Steps to reproduce

Start tts
After end of chapter, it starts reading again from beginning

Expected behavior
Stop or goto next chapter
The chapter should be marked as finished!
Actual behavior
Loop chapter
The chapter is not marked as finished!
LNReader version
2.0.0 Beta 2
Android version
Android 11
Device
Realme X2
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 2.0.0.
[X] I will fill out all of the requested information in this form.

looping should be fixed in latest code


feat: Finsets of cardinality > 1 in Pi types

Add an equivalent condition for 1 < m * n in Nat, and two lemmas about Finsets of cardinality > 1.

useful for a refactoring of a proof in https://github.com/leanprover-community/mathlib4/pull/6723#issuecomment-1694527020

Hmm hoskinson3 seems to run out of space, and I didn't get assigned a different runner after two retries:

Current runner version: '2.309.0'
Runner name: 'hoskinson3'
Runner group name: 'Default'
Machine name: '1477649d818f'
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: No space left on device : '/home/lean/actions-runner/_work/_actions/dcarbone/install-jq-action/v1.0.1'


Many PID's are not limited, which causes Robothub to not send a message.

Describe the bug
The max velocity (so (sqrt(xvel^2+yvel^2)) in a robotcommand should be 8.191 m/s (see robothub). Many skills use PID's (Keeper, Interceptball,Attack, GoToPos, DefendOnRobot,GetBall, Harrass, GoToPosLuth). If these are too high robothub will not send a command. We should build a limiter that tests if a skill is not sending too high commands. This also goes for most of the other things in a robotcommand, although velocity and orientation most commonly are the ones that break.

maybe fix this in publishrobotcommand OR in robothub, by just limiting it and sending an error message through the (RTT AI) terminal.


[firestore-vector-search] text changed but text_embedding no changed

Describe your configuration

Extension name: firestore-vector-search
Extension version: 0.0.4
Configuration values (redact info where appropriate):

Describe the problem
Text changed but embedding values & status not changed.
Steps to reproduce:

change values in text field (config's input field name)
cloud function trigged but status and text_embedding fields not changed.

Expected result

status & text_embedding fields changed.

Actual result
Screenshots

Can you provide what exactly did not change? I need more details.


⚠ Bofrost.lu has degraded performance

In 18ba698, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1339 ms

Resolved: Bofrost.lu performance has improved in d0b0468 after 6 minutes.


Text edit support

Recently, OpenAI introduced a new API endpoint for text processing: https://platform.openai.com/docs/api-reference/edits/create
Could you please implement support for it in ChatFred?
It would be so great to be able to select any text, press a hot key, type (or select from a list?) something along the lines of "rewrite in bussiness english" or "translate to french", hit enter and get the result?

Hey @niksite!
That actually sounds pretty interesting. At the moment I am still working on some other features and bug fixes. Maybe you want to create a pull request?

Any updates on this? :)

Hey, @skynet01!
Not really. Currently, I am working on something different. Maybe someone wants to contribute?


Issue #SB-19635 fix: Deprecated APIs removed from whitelisting.

Issue #SB-19635 fix: Deprecated APIs removed from whitelisting.

To be for 3.0.1


certificate verify failed: certificate has expired (_ssl.c:1007)

OS: Windows 10 64bit
Error: Unable to install picozero.
Error Message:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)>

Is there any known solution for this issue?


Add menu class for SA selector (fixes #380)

@akegan just needs some space between the last dropdown and the summary table maybe?

we can fix that in a PR from master, right? Let's just get the feature branch merged in ASAP


fix: re-disable in buffers where b:completion is false

Fixes logic from #574 for when b:completion is false. Also updated example configuration in README.md.

I ought to have looked more carefully, sorry about that. Would this be functionally equivalent to the original code? return vim.bo.buftype ~= 'prompt' and vim.b.completion ~= false

Revert the commit on main, thanks!

Ah, you're right. I'm not sure why @soifou was experiencing the issue, as the original logic does seem correct (tested in a prompt buffer and a b:completion = false buffer).

I'm sorry guys, I mixed up 'nofile' and 'prompt' buffers... I was suprised that editing a DressingInput trigger the completion list.


Added tutorial on Supervised Word Mover Distance

Project for the OT course ENSAE 2022.
Authors: COURRIER Violaine, MICHEL Gaspard

LMK if you would like to reopen this.


Notarization

This is not an issue, but I wanted to share my experience with Platypus users.
I was able to get Apple's notarization to my application which was generated by Platypus.
As the result, I was able to put my app on the public website and let people download and run. Without notarization, macOS 10.15 rejects the execution of downloaded app and there is no way to override it.
I referred this article as a starting point. Thank you, @dpid
Prerequisite

Xcode is installed on your machine.
You understand signing application and notarization. I do not explain about them.
You have Apple ID which is registered to Apple developer program, and you have already generated and downloaded Developer ID Application certificate.

Steps
All of them are done from command line (Terminal).
Please read this document for more details about notarization from command line tools.
Let's assume your app is generated as ./Example.app and bundle name is com.example.app. Also assume the name of Developer ID Application certificate as "Developer ID Application: Example Company (A1BC234DEF)".

Sign your application.

chmod -R a+xr ./Example.app
codesign --deep --force --verify --verbose --timestamp --options runtime --sign "Developer ID Application: Example Company (A1BC234DEF)" ./Example.app

Create archive ZIP for notarization. This is different from the final product.

ditto -c -k --keepParent ./Example.app ./Example.archive.zip

Submitting notarization. You might need --asc-provider option if your Apple ID is associated to two or more teams.

xcrun altool --notarize-app -f ./Example.archive.zip --primary-bundle-id "com.example.app" -u<EMAIL_ADDRESS>-p PassWordForAppleId

You should see RequestUUID as the result of previous step. Note that UUID. We assume 12345678-1234-5678-90ab-cdef12345678 here. Type the command periodically until the Status becomes 'success'.

xcrun altool --notarization-info 12345678-1234-5678-90ab-cdef12345678 -u<EMAIL_ADDRESS>-p PassWordForAppleId

After notarization succeeds, staple the ticket to the package.

xcrun stapler staple ./Example.app

Zip the app as final product. This Example.zip may be put on the public web server, and people may download and run it.

zip -r ./Example.zip ./Example.app

Notes

This is the info as of May 10, 2020.
My app is with zsh script, using Text Window UI, and requiring admin privilege. I guess those do not matter for notarization, but I did not verify other variations.
Since my app does not use Mac App Store, I cannot say whether this would mean good for Mac App Store or not.
Sveinbjorn, Platypus is awesome. This made my script as a real app with very little effort! Thank you, thank you, thank you.

This is great, thank you very much.

I only have a free Apple Development certificate which is not suitable for distribution, but I still give my Platypus apps a valid code signature with my own third-party certificate.
In those Platypus apps meant for distribution, the script has a test for path randomization (app translocation).
You could also have your app open an info text file or an info webpage on your domain which then explains how to remove the quarantine extended attribute to the user.
uiprocess="app_name"
process="process_name"
mypath="$0"
myname=$(basename "$mypath")
[[ $myname == "script" ]] && myname="$process"
scr_parent=$(dirname "$mypath") # Resources (in Contents)

_quit-app () {
	printf "QUITAPP\n"
}

_error () {
	afplay "$scr_parent/error.aif" &>/dev/null
}

_syswarning () {
	_error &
	osascript &>/dev/null << EOT
display alert "$1" message "$2" as critical buttons {"Quit"} default button "Quit" giving up after 180
EOT
	_quit-app
	exit 1
}

if echo "$mypath" | grep -q "/AppTranslocation/" &>/dev/null ; then
	echo "ERROR[04]: application $uiprocess ($myname) has been translocated"
	_syswarning "Internal error [04]: AppTranslocation" "Please quit $uiprocess ($myname), dequarantine the app, and try again!"
fi

This looks great. However, I got this issue when trying to validate the notarization
>$ spctl -vvv --assess --type exec "$TFILE"
lol.app: rejected (the code is valid but does not seem to be an app)
origin=Developer ID Application: XXXXXX

Looks like the Gatekeeper still fails the app even though it's properly signed?
I found this thread, not sure if it's relevant

For some reason, the correct command is spctl -vvv --assess --type install <filepath> or short-form spctl -vvv -a -t install <filepath>, even though an app is not an installer.

Uh, I see... Then it looks everything got passed. But my apps still cannot execute on other machines once I upload them to Github (dmg, zipped or not zipped).
Began to doubt my life as I only got problems but don't know where it went wrong...

That's weird. If your app is notarized, it should run just fine.

Yup, that's what I was struggling about. I got green lights all the way to staple and verified each step, but still unable to download from another computer.

Two questions:
(1) Does the main script at ./Contents/Resources/script have the executable bit set? You can check with e.g. stat -x script. It should read something like rwxr-xr-x. You can also safely change those even after code-signing with the usual chmod +x script command. (I'm asking, because maybe some x-bits got flipped by Apple's notarization service.)
(2) Are you using any additional nested code or scripts besides ./Contents/MacOS/<Executable> and ./Contents/Resources/script? That would probably need to be notarized too.

PS: maybe there's another problem… if you use additional code/scripts, it should be in one of the default directories assigned by Apple for nested code:
./Contents/Frameworks
./Contents/SharedFrameworks
./Contents/PlugIns
./Contents/Plug-ins
./Contents/XPCServices
./Contents/Helpers
./Contents/MacOS
./Contents/Library/Automator
./Contents/Library/Spotlight
./Contents/Library/LoginItems

Many developers tend to nest code in irregular subpaths like ./Contents/Resources, which can lead to problems. I also asked the Platypus dev to change this, i.e. move script from ./Contents/Resources/script to e.g. ./Contents/Helpers/bin/script or ./Contents/MacOS/script.
So you could maybe try to move your script into one of the default directoriess, e.g. Helpers or macOS, and then recreate ./Contents/Resources/script as a symbolic link to the new location. (Would need to be a relative path symlink, e.g. ../Helpers/script.)

If you are not notarized, e.g. demoing w/out a cert the solution is the user must have admin access from https://apple.stackexchange.com/a/253943/222813.
running sudo xattr -r -d com.apple.quarantine /Applications/Some.app will unquarantine the app

You normally don't need sudo. If the app is a drag & drop installation, the installing user has ownership & control, at the very least in ~/Applications, so privilege escalation isn't necessary.

Thank you all for the info, I followed it, however I have an issue when I try to sign the app.
Here's what I'm doing: I have an .app created by pyinstaller that doesn't work on its own, I need a shell script to launch it.
So, with platypus, I create an .app from the shell script, and put the pyinstaller created .app in the ressources folder. This launches with no issues.
However, platypus converts my shell script to a file named "script" without extension, in the Resources folder. This causes codesign to give me this error:
"resource fork, Finder information, or similar detritus not allowed"
This is caused by that file that doesn't have an extension. If I remove the "script" file of the bundle, I can sign with no issue... but of course, the app then doesn't find the script, and crashes. Did anybody find a solution to this? I don't see how you can sign an app if platypus created a file with no extension.
Thank you

Always run xattr -cr /Applications/<yourPlatypus>.app before codesigning. And always codesign at the very end, after you have finished modifying the bundle. If you have another bundle nested within your Platypus app, you have to sign that first, and then the main bundle at the end.
Additionally, try not to use Finder when navigating the nested contents of a bundle including app bundles. Finder is a catastrophe in these scenarios.
PS: executing code should not be in ./Contents/Resources. Only non-Mach-O scripts go there. I don't know what kind of an executable the pyinstaller app has… if it's a script, it's fine in Resources… otherwise put it e.g. in ./Contents/MacOS or /Contents/Helpers
See e.g. here s.v. "Nested Code": https://developer.apple.com/library/archive/technotes/tn2206/_index.html

Thanks @hohno-panopto for this great share. The PassWordForAppleId should be App specific password I guess, as normal password of Apple ID didn't worked for me. Then I created App specific password at https://appleid.apple.com/account/home which worked.


[FEATURE] Support Typora-style mermaid markdown rendering

Describe the feature you want

use typora-style mermaid markdown rending.
Currently, most Hugo themes use short-codes as their way of importing multimedia content, and it does useful and convenient.
However, as a visual studio code user (or markdown preview enhanced user, more precisely), shortcodes are not working in its editor; Typora uses the following syntax to import mermaid graphs.

```mermaid
#mermaid diagram scripts
```    e.g.

Then the editor will directly render them into graphs, what you see is what you got.

What if the theme could directly render such syntax of markdown text? then we needn't search through the whole text and replace them one by one.

I've tried adding such a feature into Hugo-theme-even in February, however, the author seems to have abandoned the project and did not take even a look into my pull request, maybe the change in the PR may be of help to you...

is this related to the 3rd party markdown editor?

is this related to the 3rd party markdown editor?

Not at all, I mean if the theme could render mermaid code blocks as mermaid shortcodes, it'll be of convenience.

Not at all, I mean if the theme could render mermaid code blocks as mermaid shortcodes, it'll be of convenience.

Did you mean converting FeelIt default codeblock?
from
{{< mermaid >}}
{{< /mermaid >}}

into
```mermaid

Not at all, I mean if the theme could render mermaid code blocks as mermaid shortcodes, it'll be of convenience.

Did you mean converting FeelIt default codeblock?
from
{{< mermaid >}}
{{< /mermaid >}}

into
```mermaid

Yes, exactly :)


should i custom fieldname default mapping rule？（without tags）

i want to custom all fieldname in no tagged struct map to “firstLowerCaseForm”，what should i do?
for example
type GuestBindInfo struct {
	PhoneNumber string
	VerifyCode  string
}

to:

{"phoneNumber":"","verifyCode",""}

detail:
i don`t know how to extend the field name mapping behavior , if somewhere can inject callback for extensionable will fit my case, please let me know ,many thanks.

use https://github.com/json-iterator/go/blob/master/extra/naming_strategy.go as the demo to write your own extension


Issues with Nbody6xx inside AMUSE

Describe the bug
Hi,
I wanted to use Nbody6xx in AMUSE to simulate the evolution of a star cluster. However, I encountered a MPI errors when using it. The error was not reproducible with other codes including phiGRAPE and HiGPUs.
I got the following error:
File "nbody6_first_run.py", line 30, in <module>     code.evolve_model(4  )   File "/home/mukherjeed2/senior_comp/amuse/src/amuse/rfi/core.py", line 115, in __call__     raise exceptions.CodeException("Exception when calling function '{0}', of code '{1}', exception was '{2}'".format(self.specification.name, type(self.interface).__name__, ex)) amuse.support.exceptions.CodeException: Exception when calling function 'evolve_model', of code 'Nbody6xxInterface', exception was 'Other MPI error, error stack: PMPI_Wait(183)............: MPI_Wait(request=0x7f52fc365ee0, status=0x1) failed MPIR_Wait_impl(77)........: dequeue_and_set_error(596): Communication error with rank 0'
I ran the program using
mpiexec -n 1 python nbody6_first_run.py

this could indicate that the code has crashed - do you have a minimal example script that shows this behaviour??

Also, you could start nbody6 with: Nbody6xx(redirection="none")
This may give some more output and would help in finding the problem

I tried running that code (with added lines for importing), it seems to work fine for me.
Is your computer connected to a network when running the script?

Hi,
Thank you all for your help. It turns out there was an error with my mpi libraries. I reinstalled amuse with the correct libraries and it worked fine. One small question, does Nbody6xx inside AMUSE use CUDA by any chance?

@maxwelltsai can you answer that?

It seems to not be implemented yet.

@dipto4 No, the Nbody6xx inside AMUSE only uses MPI.


Add publish button for administrators

Allow administrators to publish the item on the admin page with a button.

@jcoyne Can you explain to me a bit better what this is about? Thanks.

I don't know, that's why I closed it.


Move tags into the profile metadata

Part of the fix for #251

Couple of minor comments, then LGTM.

I'm assuming that old profiles will currently just be silently allowed by calicoctl without any warning that tags have moved, but that this will be fixed by another PR in calicoctl to add validation for malformed / unsupported fields?

@caseydavenport re your last point.  Yes old profile YAML will silently ignore the old tag field until I add in the updated validation.


feat: Create Snackbar When Copying Schedules

Summary

Open snackbar when copying (appending) schedules; happens on success and on failure

Test Plan

Check that the snackbar opens appropriately on success and on failure

Issues
Closes #

I'm not sure if my type definition for the CallbackOptions is proper, so just lmk @ap0nia

I kinda wanna write tests for it, but I don't wanna write tests for it lol.
What do you wanna do Kevin? If you don't wanna test, then I'll just approve and merge 🤓

If it breaks it breaks, and somebody gets extra contribution history 😋

TLDR let's merge 😅, do you need me to do a noop?

lol it's not working


Thanos UI Enhancements

The Thanos project has recently migrated its UI to one built on re-usable and shareable components written in React, with the goal of fostering collaboration with the broader Prometheus community. We would like to propose enhancements to the UI to better surface information in every Thanos component. This includes: exposing build- and run-time configuration; creating an API discovery page to provide living documentation of all of the endpoints exposed by Thanos components; and adding benchmarks for the UI. These enhancements all have the additional benefit of being relevant to and useful in the Prometheus project. As part of this proposal, we would like to further collaborate with the Prometheus community to continue building a shared UI component library and to contribute upstream to Prometheus so that it can leverage these components in its UI.
cc @thanos-io/thanos-maintainers
cc @prmsrswt

Still valid. Wait for #3423 #3316 to get merged.
cc @prmsrswt @Oghenebrume50

Hello there! I have experience with working in React, as this is marked as good first issue how can I contribute? Thanks.

Hello,
After doing a couple of PR to report the changes done on Prometheus side, in Thanos, definitely sharing component / service / pages would be great so we don't have to do the job twice.
On the prometheus point of view, it would be painful to put the different shared component outside of the Prometheus repository.
So we could create one or multiple shared package in the Prometheus repository that then can be used directly in Prometheus without waiting for the release of each package (probably using the local path linked in the package.json of the react-app)
I think we could have something like that:
prometheus/prometheus
  |
  |
  ------ web/ui/shared
          |
          |
          -------- package.json
          |
          |
          -------- index.ts
          |
          |
          ------- services
         |         |
         |         |
         |         ----- prometheus.ts // http client that matches the prometheus API
         |
         -------- components
                   |
                   |
                   ----- flag.ts // a page to display the flag

Regarding the versioning, we can release the package @prometheus/shared (didn't find better name) every 6 weeks when prometheus is released with the same version (currently v2.28)
WDYT @juliusv @onprem ?
/cc @bwplotka @roidelapluie

and not sure it's really a good first issue. But that's maybe just me haha.

On prometheus side we are starting to make some changes in the way the UI is managed.
We are currently looking at using the npm workspace. It will ease the usage of local npm package. We are starting with codemirror-promql.
Moving to npm workspace required many update and changes. It will take some times to have it in place.
But once it is done, it will probably interesting to create a new npm module that would be common between Prometheus and Thanos
The move to npm workspace is handled through this PR: https://github.com/prometheus/prometheus/pull/9227

We finally finished to move to the npm workspace on Prometheus side.
Probably it will make sense to start with https://github.com/thanos-io/thanos/issues/4685 in order to have a common module between Prometheus and thanos managing the PromQL expression

Still valid

happy to take a look 👀

I traced it until https://github.com/open-telemetry/wg-prometheus/issues/63 but I could use hints on what the next step would be today (cc: @Nexucis)


Default profile does not reflect deprecation of global settings

Environment
Windows build number: Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable): 0.11.1191.0

Steps to reproduce
Open the settings after a fresh install
Expected behavior
Either the comment about global settings is missing or there is a predefined empty global section
Actual behavior
The comment mentions global settings.

That sure sounds wrong - should you share the contents of your settings.json file? Note that I think it's possible that if you have a profiles.json file laying around, we'll first try to migrate that to settings.json if settings.json doesn't exist, so that might be what happened.

Also, which comment are you referring to?

Sorry if I am off-topic, but it seems like the new settings.json file in 0.11 got "polluted" due to changes and deprecations or whatever. Maybe I am being way too picky, but it seems very hackish. I want this file to represent my overrides and settings, not a place to hack on changes to the defaults. Anyway, I came here to open up a new issue on this, but didn't want to rock the boat too much and found this open issue in regards to the 0.11 settings.json file. So figured I would post this here.

I have some things to do right now, when I'm done I will delete my settings document and reinstall to give feedback

Deleted it, here's the resulting file after reinstallation: https://gist.github.com/schuelermine/03579d6951ea422f083880acdddcb436

Still contains this:
    // You can add more global application settings here.
    // To learn more about global settings, visit https://aka.ms/terminal-global-settings

with not tags following it

What it looked like beforehand: https://gist.github.com/schuelermine/261e678c54fa2c365bb741790c2c4b25

Okay, I guess I misunderstood your original bug report. Is the problem here just "There's a comment saying I should put global settings here, but there's no here to put them"? Because that's definitely by-design. There's not supposed to be a globals anymore. You can just put global settings right into the root of the json object, like copyOnSelect (for example).

But if there isn't supposed to be a globals, why encourage people to put them?

Oh no, global settings are just a category of settings. All of these settings are categorically "global" settings, not "per-profile" settings.

OK. I understand.

Sorry if I am off-topic, but it seems like the new settings.json file in 0.11 got "polluted" due to changes and deprecations or whatever. Maybe I am being way too picky, but it seems very hackish. I want this file to represent my overrides and settings, not a place to hack on changes to the defaults. Anyway, I came here to open up a new issue on this, but didn't want to rock the boat too much and found this open issue in regards to the 0.11 settings.json file. So figured I would post this here.

@OssDesign no, you're completely correct. This is something we've struggled with since we don't really have any live documentation (🤞): user education. A lot of people come back to us surprised that "Terminal can do Xxx? Yyy?!", and we wanted the "settings template" to be informative and contain thoughtful callouts to things people might not be aware of.
It's structured so that they are overrides, and you can delete or replace anything you wish to get the "default" behavior back.
A couple of times, we decided to make the template differ from the defaults so we didn't break existing users. copyFormatting is one of those things: when we add a setting for something that used to be on, but new users overwhelmingly shouted at us for having ti be on, we had to make it "on by default, off by user choice" the stock out-of-box state so we didn't break people with old settings files who simply didn't have copyFormatting in them. Know what I mean?
Happy to discuss this more :smile:

@DHowett-MSFT Sorry it took me so long to get back to this. I am not really a developer, though I like to dabble with some things. I do have no fear of the terminal, and have been a dual-booter for some time. I am also just starting to dig deeper into GitHub. Basically, I've got some skills, but also have got some learning to do ;) On that terminal front, thanks for the work being done on this, it was needed. Btw, I have been using "envy code r" font for some time now everywhere, and it has started to render very nice in the new terminal and also VS Code. Not sure if some underlying text rendering engine changes have started to happen. But I like it!
Ok, so back on topic. I wanted to make sure I thought about this a bit before responding. I don't really know how overrides and whatnot work in the new terminal settings. In an ideal world, I would see "defaults.json", which you should not change, reflect the defaults, and "settings.json" only be the user modified settings. But I get that in a situation where you want to make changes to the defaults, but not "anger" those who expect different/previous behaviors, that you would maybe take a hybrid approach.
Like a lot of things in life, I don't see that there is that one right and correct answer how to handle here. You could make changes to "defaults" and comment in how to change settings in "settings", but people may not look there. You could just make the changes to "defaults" that you want going forward, then have a section in "settings" that has commented out overrides, and mention that hey, uncomment these to revert behavior. But that would mean generating a new and fresh "settings". At any rate, I understand there is not an ideal solutions. But again, in an ideal world, "settings" reflects my overrides and wishes over and above "defaults", at least that is how I would see it. Again, in an ideal world. And if you can find me an ideal world, please point me in that direction!!

@OssDesign Thanks for the thoughtful response :smile:
I can almost offer you that ideal world -- everything in settings.json right now can be deleted and replaced with just your overrides. Until we land some additional work, we'll only touch it to add newly detected profiles (like extra WSL distributions, if you install more) and because of a tracking issue we'll re-add ones your explicitly delete. That bit is pretty annoying, so we're working on fixing it.
Hopefully, we'll get there. Hopefully. 🤞

Thanks, and it is all good. It is hard to have to make evolving changes, yet also respect previous behavior. I will come out fine with all of this and be okay. I promise ;) Thanks!


PhaseScriptExecution Strip\ Frameworks /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh

When I run react-native run-ios on my command line terminal I continue to get this error:
   /bin/sh -c /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh

/Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh: line 2: null: command not found

Command /bin/sh failed with exit code 127

** BUILD FAILED **

The following build commands failed:

	PhaseScriptExecution Strip\ Frameworks /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/NFIBEngage.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/NFIBEngage.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

React Native version:
Environment:
  OS: macOS High Sierra 10.13.6
  Node: 11.10.1
  Yarn: 1.10.1
  npm: 6.7.0
  Watchman: 4.7.0
  Xcode: Xcode 10.1 Build version 10B61
  Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: 0.53.3 => 0.53.3

Steps To Reproduce

After downloading, run npm install && npm run setup && react-native run-ios

Describe what you expected to happen:
I expected for there to be a successful build in terminal from xcode.
Snack, code example, or link to a repository:
https://www.dropbox.com/s/cr96xfxuh3nqjtu/sampleRN.zip?dl=0

Okay I have upgraded to the latest release, v0.59:
React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
      Memory: 117.53 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.10.1 - /usr/local/bin/node
      Yarn: 1.10.1 - /usr/local/bin/yarn
      npm: 6.7.0 - /usr/local/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.3
    IDEs:
      Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.9 => 0.59.9
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

And now I get this error when attempting to build:
info <module-includes>:1:1: warning: umbrella header for module 'AppCenter' does not include header 'MSUserInformation.h' [-Wincomplete-umbrella]
#import "Headers/AppCenter.h"
^
<module-includes>:1:1: warning: umbrella header for module 'AppCenter' does not include header 'MSLogger.h' [-Wincomplete-umbrella]
2 warnings generated.
/Users/danale/Projects/engage-application.mobile/node_modules/appcenter/ios/AppCenterReactNative/AppCenterReactNative.m:45:26: error: no known class method for selector 'startFromLibraryWithServices:'
            [MSAppCenter startFromLibraryWithServices:@[serviceClass]];
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/danale/Projects/engage-application.mobile/node_modules/appcenter/ios/AppCenterReactNative/AppCenterReactNative.m:89:18: error: no known class method for selector 'setUserId:'
    [MSAppCenter setUserId:userId];
                 ^~~~~~~~~
2 warnings and 2 errors generated.

info

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening NFIBEngage.xcworkspace

** BUILD FAILED **

The following build commands failed:
	CompileC /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/AppCenterReactNative.build/Debug-iphonesimulator/AppCenterReactNative.build/Objects-normal/x86_64/AppCenterReactNative.o AppCenterReactNative/AppCenterReactNative.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
. Run CLI with --verbose flag for more details.

There was some configuration inside of referencing #import <AppCenterReactNativeCrashes/AppCenterReactNativeCrashes.h> as well as other imports and then implementing them. This configuration while it is documented in the AppCenter docs, it was creating the bug documented above and the only way I was able to resolve it was by removing and reverting back to a previous configuration without said code.


display "inactive" icon and 0 cheese

Inactive: Currently the behavior is to display the "tracked" icon if tracked and nothing if the user is not tracked.  I think it's beneficial to display for example a "Zzz" icon to indicate the user is inactive.  That way the user can more quickly figure out why their matches aren't being parsed.

Currently no icon is displayed for 0 cheese.  I recently added this in the current UI to aid spacing/layout issues (easier to debug if it shows up on all pages).

I believe that display the cheese icon for those who don't have it has no sense.

OK, that makes sense.  Will change to only the first item.


investigate why some messages are private and some are public

ah, these are usually commands. We were trying to avoid these :)

two of these messages were extraneous, but one is essentially a signal to another cell to prepare the actual message which needs to be communicated.


fix: upgrade to cairo 2.1.1 missing versions

The latest commit missed a couple of correct versions which is causing issues.
This PR fixes that

The latest commit missed a couple of correct versions which is causing issues.

what issues are you facing? afaik, as long cairo follow semver rules properly then there shouldn't be any issue. but will merge anyway


[Feature Request] Assign actions to scroll wheel

I noticed that the Zoom option by doing Ctrl+Scroll Wheel is already available, but as far as I can tell, there is no way to assign actions to the scroll wheel.
The feature that I would be very happy to have would be to do "Shift+Mouse Wheel Up" to fold another level and "Shift+Mouse Wheel Down" to unfold another level. Even cooler would be to have the folding action apply only to the folding tree under the mouse cursor. Even coolerer(!) would be to have the code ignore all subsequent mouse wheel ticks after the first if they happen in less than 200ms from the previous. This would allow the user to just swipe the mouse wheel and not have to worry about each individual tick.
This would probably fit well in the context of an extension, but I honestly wouldn't be able to do it myself alone.

/duplicate of #3130


DynDNS Idea

Its possible to use the remote API for DynDNS like
https://pdns.example.com/api/remote.php?action=updateRecord&domain=home.example.com&id=1&password=secret&content=<IP_ADDRESS>
but its difficult to configure, especially setting the IP.
What about an api/dyndns.php endpoint?

Validation with simple token
Content (IP) from $_SERVER['REMOTE_ADDR']?

So I could configure in my Box https://pdns.example.com/api/dyndns.php?token=asd and I'm ready?

I currently have a dynamic DNS working with mine using a windows client we programmed and some front end code to update the database.   We have a linux script you can cron somewhere.  But I have not seen it in a while so we may have to remake that.  We are working on integrating the database key into the GUI of PDNS Manager.  Once I have enough to work with I will post a thread with all source code.  Should not be much longer.  Just waiting on one of my programmers to finish up some priority stuff.

As the API will be completely reworked for 2.0, I will close this issue.
An endpoint using the REMOTE_ADDR is planned for this, too to make DynDNS updates easier.


Numeric based validation rules issue

At the moment the validator does a basic type-check to see if it should compare the length or actual value.
For example, this should validate that the person is a min of 18 years old, but because it's a string of 20 it's validated against it's character length, even though the 'integer' rule is there.
var v = new Validator({ age: '20' }, { age: 'required|integer|min:18' });
if (v.fails())
{
	console.log('error', v.errors); // The age must be at least 18 characters.
}

Laravel handles this by a getSize method and checking if there is numeric-based rules, if so compares it as such, if not then compares it's length. This is how it also supports arrays etc.

I have a similar issue as such...
var Validator = require('validatorjs');

var v = new Validator({ amount: '123000.45' }, { amount: 'required|numeric|min:4|max:9' });
if (v.fails())
{
    console.log('error', v.errors);

    // error { errors: { amount: [ 'The amount must be less than 9 characters.' ] } }

}

I can't tell when min, max is checking length or the actual numeric value.
In our cases, we're using web forms so it's always a string... we think it's trying to check value which is fine, we can set it like this instead...
var Validator = require('validatorjs');

var v = new Validator({ amount: '123000.45' }, { amount: 'required|numeric|min:1000|max:99999' });
if (v.fails())
{
    console.log('error', v.errors);

    // error { errors: { amount: [ 'The amount must be less than 99999 characters.' ] } }
}

but it's default error message makes no sense because it still thinks it's failing on "characters" instead of a value out of range.
I think the BUG is that when the type is numeric and min and max are value ranges, the error message is incorrect.


new test shape composable

Current dependencies on/for this PR:

main

PR #1   (this PR)

PR #2

This comment was auto-generated by Graphite.


[release-3.1] cherry pick: Generate flamegraph at runtime  (#5697)

Signed-off-by: Yang Keao<EMAIL_ADDRESS>What have you changed?
cherry-pick: #5697  #5933
What is the type of the changes?

New feature (a change which adds functionality)

How is the PR tested?
They have just been tested manually :(
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No
Refer to a related PR or issue link
#5666
Any examples?
Assume that tikv status_server is listening at localhost:8080
curl "http://localhost:8080/debug/pprof/profile?frequency=50&seconds=10" # this will start cpu sampler at 10/sec frequency and continues 10 secs.

curl "http://localhost:8080/debug/pprof/profile?frequency=50&seconds=10" --header  "Content-Type: application/protobuf" # this will return a pprof protobuf

Notice:
The implementation of rsperftools is not efficient (some performance improvement will land these days). So too high frequency will make it hold lock all the time and may lead to long response time and high cpu usage.
Panic:
Under these situations, rsperftools will crash or deadlock:

profiling tick happens when program is propagating thrown exception

flamegraph.svg.gz

/run-all-tests

/run-integration-common-test

/run-integration-common-test

/run-integration-common-test tidb-test=pr/955

/run-integration-common-test

friendly ping @YangKeao

/merge

/merge


Print the measurement result details for each time window.

Motivation:
Print the measurement result details for each time window.For example：
[testApp]measure info: service[com.alipay.sofa.rpc.client.aft.bean.FaultHelloService];stats{<IP_ADDRESS>};details{timeWindow[3];leastWindowCount[10];averageExceptionRate[0.2];leastWindowExceptionRateMultiple[1.0];detail[(ip:<IP_ADDRESS>,abnormalRate:0.2,invocationLeastWindowCount:10,measureState:ABNORMAL)]

Modification:
add method ‘com.alipay.sofa.rpc.client.aft.impl.ServiceHorizontalMeasureStrategy#logMeasureResult’
Result:
Fixes #109 .

Codecov Report

Merging #121 into master will increase coverage by 0.01%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##             master     #121      +/-   ##
============================================
+ Coverage     65.85%   65.86%   +0.01%
- Complexity      648      652       +4
============================================
  Files           270      270
  Lines         11407    11440      +33
  Branches       1903     1907       +4
============================================
+ Hits           7512     7535      +23
- Misses         2933     2941       +8
- Partials        962      964       +2

Impacted Files
Coverage Δ
Complexity Δ

...ent/aft/impl/ServiceHorizontalMeasureStrategy.java
83.21% <81.81%> (-0.45%)
26 <4> (+4)

...sian/MultipleClassLoaderSofaSerializerFactory.java
86.66% <0%> (-6.67%)
4% <0%> (-1%)

...y/sofa/rpc/bootstrap/DefaultProviderBootstrap.java
60.91% <0%> (-2.54%)
0% <0%> (ø)

...n/java/com/alipay/sofa/rpc/common/SofaConfigs.java
85.71% <0%> (+1.78%)
0% <0%> (ø)
:arrow_down:

...a/com/alipay/sofa/rpc/client/aft/MeasureModel.java
47.82% <0%> (+4.34%)
6% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Automatically generate partition filters for generated columns using the trunc date function

Description
We are adding support for partition filter on partition columns that use the generation expression trunc date. We are considering the following data filters:

lessThan
lessThanOrEqual
equalTo
greaterThan
greaterThanOrEqual
isNull

Because the date resolution of the partition column has truncated information, we need to reuse the implementation of the following functions:

lessThanOrEqual reused in lessThan function.
greaterThanOrEqual reused in greaterThan function.

This PR resolves issue #1446

How was this patch tested?
I added three new tests to the OptimizeGeneratedColumnSuite class.

Does this PR introduce any user-facing changes?

No

@brayanjuls Do you have an email address I can use to sign the commit? Thanks

@allisonport-db - yes, you can use<EMAIL_ADDRESS>


Feature request: Allow for different models

The first version of gptcommit uses text-davinci-003 in a hardcoded way that can't be customized.
See code snippet:
https://github.com/zurawiki/gptcommit/blob/257ff0084254dda821486b1ce26d9833deac380a/src/openai.rs#L12-L20
gptcommit should have a configuration system in place that allows users to select different models and other parameters.
This should be done after #20 is closed, to eliminate duplication of work

Closed now that we can specify models


Change LocationID to string type

I have not had a chance to test this, but I believe this is the right direction to remove the interface type.


Kitchen Sink: Investment Calculator

Describe the feature
I would like to implement the Investment Calculator feature!

It will take inputs of the Total investment amount, interest rate, and duration from the user.
Based on the input from the user it will calculate and display the Total amount after duration.

Hey @tobySolutions, Please assign this issue to me under hactoberfest label. Thank you!
Additional information

[X] Would you be willing to help implement this feature?

Sure thing @lalitkumawat1m; it's all yours!


Move to clang 7.0.0 for Darwin

All system clang has been migrated to clang 7.0.0, but clang 6.0.0 for Darwin remains in cmake/DownloadAndExtractClang.cmake. and there is no hash file for clang 6.0.0/6.0.1, it will get an error when cmake ..
-- Using downloaded Clang
CMake Error at cmake/DownloadAndExtractClang.cmake:72 (message):
  No SHA256 hash available for the current platform (Darwin) + clang version
  (6.0.0) combination.  Please file an issue to get it added.
Call Stack (most recent call first):
  CMakeLists.txt:94 (download_and_extract_clang)

I totally missed that. @jacobdufault This is good to merge, just an oversight from the previous pr.


Trap responsibleParty with no contact

HTML writer fails when responsibleParty contactId does not have a matching contactId in the contact array.  The ISO writer does not fail but also does not report the error.  This condition should be trapped in the mdJson reader, set readerPass to false, and prevent execution of the writer.

Tests and messages added to mdTranslator version 1.2.0.  Completed


[docs] Translate the docs

Hey guys, what do you think about documentation translation?
I think it could be nice for v1.
How can it could be done following your current documentation system?

We would need to start benchmarking how others are handling the issue and copying the best solution. Vue seems to just fork the documentation: https://github.com/vuejs-ru/old.ru.vuejs.org.

@oliviertassinari But what about API docs?

what about API docs?

@mbrookes I don't know. It can be done with translation key. Like componentName.propertyName. But this is such an overhead to support i18n.

Honestly, I think in a world where the majority of development resources are in English, trying to maintain multiple translations of the docs would be an exercise in futility, and for marginal gain.

Crowdin is a company that provides translation services. For Open Source projects, Crowdin provides free string translations

https://docusaurus.io/docs/en/translation.html

Docusaurus could be a nice solution

@TorzuoliH Docusaurus isn't an option. It's critical for us to dogfood our components.

Happy to help with any Spanish/Portuguese translations if needed as well!

Looking at our market share in China, I think that we really need to push the translation story of Material-UI forward. For instance, we have less traffic from China than from France.

I have started benchmarking what the industry is doing. Some solutions to look at that are interesting from an architectural point of view:

Docusaurus. It's used by Jest.
Hexo. It's used by Vue.

It's encouraging the community to fork the documentation and to do the translation on their side. [...] I find it inefficient.

I agree - I started to write a comment before you submitted yours, to the effect that whatever we do, change tracking needs to be automated. Otherwise there's no simple way for translation contributors to keep up to date with changes, and no way for users of the translated docs to know which parts may be out-of-date.
Ideally a user could hover over text flagged as out-of-date text to see the up-to-date English original, and perhaps even submit an updated translation in context. Similarly, for newly added  text, it would display the English, and allow translations to be submitted inline.
I have to assume there's something available to support this, as it's the only practical solution to keeping multiple translations of a living document up-to-date, while allowing users to see the original in context... We just have to find it :-)

I'd be happy to help with French translation if needed.

Chinese here! Also working for Hai... More than willing to help with Chinese doc.

I can help with Portuguese translation.

@oliviertassinari material-ui is very popular with developers in China, but many companies do not like it. Because it uses React! I come from China. I started using material-ui from the 0.x version. I like him very much. By the way, my friends also like material-ui. If necessary, I would like to contribute my ability to convert documents into Chinese. But I currently see the official document structure is not conducive to fork modified to other languages!

Looking at the traffic origin on GitHub, I think that we should only be focusing on English and Chinese to start with.

https://www.similarweb.com/website/github.com
I have been benchmarking the approach used by Bootstrap. They relly on the community to do it. The Chinese versions have around 10% of the global traffic. It's not too bad.
@medz Thanks for the feedback. Yes, we would need to work on the core documentation structure.
One important challenge is to stay up to date. What process should we use?
I have seen some website relying on Google Translate… but people don't need us to use Google Translate.

@oliviertassinari The i18n structure or the directory structure of the language package is all good, or the structure that can provide the fork modification language is also a good choice, but the structure of the fork modification language needs a new domain name to be deployed. From the perspective of user use, the i18n language Package structure or directory structure is a better choice.

If there are Chinese documents, material-ui will be more popular in China. To reveal a small fact, many English developers in China are very bad. Seeing English there is an urge to give up, my English ability is also very bad, I believe there are a lot of grammar problems in my reply!

😄Sorry, I understand what you mean by mistake. What you mean is to keep the documentation in other languages up-to-date. I saw that Docusaurus used the Crowdin for translation after using the i18n structure to generate files. I experienced a very unusual version of Crowdin's translation! According to docusaurus, Crowdin can provide free translation support for open source projects. In this way, translators only need to join in submitting translations to the document. Crowdin automatically identifies the parts that need to be updated based on the build of the warehouse file.
Thanks.

Honestly, I think in a world where the majority of development resources are in English, trying to maintain multiple translations of the docs would be an exercise in futility, and for marginal gain.

Sound's good!

@oliviertassinari I understand you, but in my opinion the reason why other countries aren't using it, it's because is in English. I'm pretty sure that with a Portuguese version of it, per example, brazilian would use it more in their projects.

trying to maintain multiple translations of the docs would be an exercise in futility
Sound's good!

Perhaps a better choice of words would have been "trying to manually maintain", otherwise changes to the source material might be missed in the translations, or the translations might be supplemented with content not included in the source (or other) languages.
I subsequently described an idealised solution (https://github.com/mui-org/material-ui/issues/9511#issuecomment-377815552), and it does seem that there are third party services that attempt to deliver on this.
We need to find one that can be integrated in the the Material-UI docs site and structure without a massive overhaul, but which also provides sufficient utility to make it worthwhile.

I'd be happy to help with Chinese translation. @ me is needed. :)

😂

@earvinLi @medz @xiaoyu-tamu Thanks for your patience - I think we're finally ready for you! https://crowdin.com/project/material-ui-docs
@earvinLi Are you happy to be the owner for Chinese translations?

I can help with any Spanish translation necessary!

I’m circling back and offering myself again to translate it to Portuguese.

@opusartificus, @fpudo, thank you. We’re starting with Chinese, but watch this space.
@earvinLi, sure, thanks. Could you translate a page or two to test the processs and let me know how it goes?

@mbrookes Right on!

@earvinLi Please could you ping me on Gitter? (https://gitter.im/mbrookes)

@earvinLi Thanks for making a start! I have set the top ten based on usage as "high priority" indicated by the up arrow. I have also deprioritised the bottom 10 files, and bottom 3 directories.
Number one (markdown file) is getting-started/installation - we will also, separately, need to translate the home page, but I'll need to code that up first.
Here's the hot-list:

I'm going to push a notification asking for help to translate the docs. Do you think you could come up with a suitable "call to action" in Chinese?

Great! Happy to help with Chinese.

@akaxiaok You can follow our effort & help us in https://translate.material-ui.com/project/material-ui-docs.

Hi, is there a way to turn off the auto-translate of the mui website? I'd like to view the original English documentation but don't know how to do it.

Hi, is there a way to turn off the auto-translate of the mui website? I'd like to view the original English documentation but don't know how to do it.

@mbrookes Might have to move forward with the subfolder approach if we want to support this use case out side of the box. @marsonmao ?lang=zh was supposed to work 🤔.

@oliviertassinari Hmm tried url like this and not working: https://material-ui.com/demos/chips/?lang=en, also tried changing the language setting of my Chrome browser and not working either. I now open the doc website using my IE edge lol.
It's just that, shouldn't this translate function be manually controlled? I'm not sure if everyone wants to view the documentation in their native language all the time? For myself I read English doc most of the time since it's more consistent with the source code. I read Chiese docs only when I need a quick learn of something new. So I think a manual switch is a more reasonable approach?

@marsonmao We went with the simplest possible solution to get it working, end-to-end. It's feedback like this one that we can leverage for improving the docs. Yes, I agree.

@oliviertassinari Great, then hope I can use it in the future. I'll use IE to open the doc for a work-around 😄 Also thanks for the work of material ui!

@marsonmao  - @oliviertassinari is correct. If as you say, your preference is to read websites in English, you need to change your browser language preferences. I have tested it again with Firefox, Safari and Chrome, and it is working as expected.
In the future we might add the option to override the language preference set in the browser, but for now, use the browser settings.

I can help with any Portuguese translate. Most of the entry-level and middle-level developers in Brazil don't know enligsh.

@andreacornaglia @fpudo @caiobessa  Thanks for offering to help. Brazilian Portuguese is now live!

Hey, I can also help with the Portuguese translation. I'm just wondering how the process of translating strings in Crowdin looks like? Who approves the translations, and who should create the pull request with the new translations, the reviewer or the author?

Sorry! I just realized that we have a bot that pushes the translation changes to the repository, so I guess that, after being approved, the translations are automagically included on a new pull request for review, correct?

@nicolasiensen Correct!

I’ll start translating tomorrow!!! Super cool!

If someone could please suggest some wording for a notification in Portuguese, I'll add it to the docs.
For Chinese, I suggested "Help translate the Material-UI documentation into Chinese", the translation came back as "Help Material-UI translate the documentation into Chinese", so anything along those lines would be good. Feel free to be creative – whatever you think will bring in the most help.

Also, here are a few tips to make translating easier:

The copy button is your friend! Use to copy the source text with formatting before translating any text.
Don't literally translate project names, such as Material-UI, React etc.
Do translate comments and rendered strings (such as button labels) in code samples.
Don't translate component names such as "Button". (It's fine to translate it when it refers to the generic object, for example: "you can use a button"; or "Buttons" as a heading referring to buttons in general.

Invite as many people as you can to work with you on it. It's a big job!
If something doesn't seem to be working right, let us know. There are lots of settings we can tweak.

If you are a proofreader, please don't approve your own translations, other than the those that are copied directly from the source such as demo objects, for example {{"demo": "pages/demos/app-bar/SimpleAppBar.js"}} which should be copied untranslated using the copy button, so can be approved immediately.

@mbrookes thanks :)

@mbrookes tranlations to Portuguese are similiar to spanish a "little". Some people could help with spanish translations.

@fizzvr Traction on Brazilian Portuguese translations has been disappointing to say the least, we might yet abandon it. I don't know about Spanish either - there hasn't been much call for it. I suspect most (European) Spanish speakers are pretty fluent in English.

Please wait until December 31st to abandon. It gets very quiet at my
workplace this time of year and I'll have lots of time to work on it.
On Tue, Dec 11, 2018 at 1:05 PM Matt Brookes<EMAIL_ADDRESS>wrote:

@fizzvr https://github.com/fizzvr Traction on Brazilian Portuguese
translations has been disappointing to say the least, we might yet abandon
it. I don't know about Spanish either - there hasn't been much call for it.
I suspect most (European) Spanish speakers are pretty fluent in English.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/9511#issuecomment-446361232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCZhFXCB2P5cEA2dVlX3MRP5rpr4CeLks5u4B4cgaJpZM4RDrI2
.

@mbrookes @fpudo As far as I know, the Portuguese translation isn't featured anywhere. I don't think that it can work without an edit button as we have for the Chinese :
        if (userLanguage === 'zh') {
          return (
            <Button component="a" href="https://translate.material-ui.com/project/material-ui-docs">
              {'将此页面翻译成中文'}
            </Button>
          );
        }

        return (
          <Button component="a" href={`${sourceCodeRootUrl}${markdownLocation}`}>
            {'Edit this page'}
          </Button>
        );

It would even be better with a banner when the translation is missing.

@oliviertassinari what helped initially with Chinese was the notification, but I asked the volunteers on CorowdIn and and here for suggested wording in Portuguese (giving the English translation of the Chinese notification as an example), and got no suggestions.
@fpudo, thanks for offering to work on this when you are less busy. As a priority, please suggest a call to action for the docs notifications, and lets see if we can get things moving!
If the volunteers can’t translate one sentence, there isn’t much hope for the rest of the docs...

Dunno if this is the place but if you were to look for help with the italian translation I could lend a hand

@mbrookes Notifications won't scale to multiple languages. I propose the following:

We move forward with #13765.
We add all the languages we eventually want to support.
We implement a fallback, if the translation isn't available, we server the default version (1. enable that).
We translate the edit button in the languages we support
If we fallback, we display a nice banner asking for help in the translation. (optional)

Notifications won't scale to multiple languages.

Huh? That’s like saying notifications won’t scale to multiple releases.
I’d rather we test the waters with a couple of languages before we turn on the tap for all potential translations. A notification hopefully help kickstart the Portuguese translation effort, as it did for Chinese, then once there is enough content we go live with Portuguese with the localised edit button.
1  / 3 won’t work - like I’ve mentioned in the #13765 discussion, once CrowdIn sync is enabled (permanently or periodically), there won’t be any missing translations.
Other than the code simplification, the fallback PR is redundant.

Huh? That’s like saying notifications won’t scale to multiple releases.

What I mean by is that the Chinese translation velocity has greatly reduced, I believe it's correlated to the end of the documentation notification usage. While it can kickstart the process, I don't think that it's enough to sustain it. It's why I don't think that it can scale. Worse, it's displaying a message to people who have zero interest in the matter. I think that there is a room for improvement.

there won’t be any missing translations.

But they will be missing content we can detect. We can compare the existance and the translation length. If the size between target and source is very similar, then we can conclude nothing was translated.

Your first two comments seem at odds - if removing the notification (why was it removed?) lead to the drop in translation activity, then keeping it would have sustained it. - to the point that Chinese translations would probably now be mostly complete.
That said, I wonder why the button CTA is ineffective?
I agree that if we were to launch multiple translations in parallel (or near so) the current notifications wouldn’t scale.
I wonder if IP geolocation for those would help?

I believe that the edit button isn't really visible. It's not always clear help is needed. IP geolocation can help.

We can close the issue now: https://next.material-ui.com/discover-more/languages/.


Create WDK-Known-Issues

The MSDN Forums are closing down and this type of information doesn't fit well in Microsoft Q&A.

Editing in the eliot-issues branch of windows-driver-docs-pr


Add Bashmatic

New App Submission

[X] I've read the contribution guidelines.

Repo or homepage link:
https://github.com/kigster/bashmatic
Description:
Bashmatic is a rich BASH library consisting of nearly 900 BASH functions, and yet it takes about 80ms to load all 900 of them. The library includes helpers covering a wide range of functionality, such as array functions, database, color, UI elements (try h1 "hello"), and many many more.
Bashmatic comes with easy-to-read PDF documentation. Please take a quick look.
Bashmatic's programming style is heavily influenced by the DSL languages that are similar to those of popular Ruby projects.
Why I think it's awesome:
When writing BASH-based installers or a glue script, one of the most frustrating experiences is not knowing what is running, where it broke, and so on. Bashmatic prints every command it runs, including the time it took and the exit code. This is called the "runtime" sub-system of Bashmastic.
Take a look at a couple of examples:

A simple example that installs minicube and k8s
A much more complete example is this one: ${BASHMATIC_HOME}/bin/dev-setup

At least several dozen of dev-environment setup projects use Bashmatic with huge success.

Nice thank you :)


It is messed up in Sublime Text since build 3116

With build 3113 it worked fine. Now it looks like:

Sorry but I don't have time to maintain this, I haven't even used mako in a long time. Just happy to merge changes.

I'd appreciate it if you don't close issues that aren't fixed. I'll be looking into this when I have some time.

Sure.

I'm interested in this issue too, and try to help, if I can. I had to downgrade to build 3114 because of this.


Site dead?

The official site http://www.ironbee.com is dead.

It looks as if there really wasnt a real beginning, I mean if you think how enormous the task is you cant even consider this as something other than the very first grounds in which to build.
Just look up the code in the build or common carpets.
Also the strange ocurrings of Wno unussed parammeter that only exists for the heavy calls


Cluster: no such endpoint for service

I have 3 servers deployment on AWS. Sometimes one of my servers returns 404s for socks.js requests like this: /sockjs/info?cb=_4xxw5rmad
And my app in that server stops to function.
Servers' upstart log is plenty of these lines:
Kadira: Error sending payload (dropped after 5 tries) undefined
Cluster: no such endpoint for service:notification
Cluster: no such endpoint for service:notification
Cluster: no such endpoint for service:web
Cluster: there is no endpoint but we've a hash: f3439f2f4d2dc847b6f86d2580f721107277dd64
Cluster: there is no endpoint but we've a hash: f3439f2f4d2dc847b6f86d2580f721107277dd64

I can't even display my server ip under the hosts' selectbox of kadira.

I found this exception today in the logs.
Exception in setTimeout callback: TypeError: Cannot read property 'serviceName' of undefined^M
    at MongoDiscoveryStore.remove (packages/meteorhacks:cluster/lib/server/discovery_backends/mongo/store.js:37:1)^M
    at packages/meteorhacks:cluster/lib/server/discovery_backends/mongo/discovery.js:239:1^M
    at Array.forEach (native)^M
    at fecthAndWatch (packages/meteorhacks:cluster/lib/server/discovery_backends/mongo/discovery.js:237:1)^M
    at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)^M
    at packages/meteor/timers.js:6:1^M
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)^M

Fixed with 4e0d719.
Will do a fix soon.


Allow Mongo null dates

Allow Mongo toExt() to pass through dates as null, vs converting to empty MongoDate();
Add unit test for null dates within an assoc array

:shipit:


Paddings must be non-negative: 0 -49

------------------------- epoch 0 -------------------------
Traceback (most recent call last):
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Paddings must be non-negative: 0 -49
[[{{node PadV2}}]]
[[{{node IteratorGetNext}}]]
[[{{node IteratorGetNext}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 93, in
mean_loss = retinanet.train_one_epoch(lr)
File "/mnt/fu03/lvzhen/test/RetinaNet-tensorflow/RetinaNet.py", line 492, in _train_detection_epoch
_, loss = self.sess.run([self.train_op, self.loss], feed_dict={self.lr: lr})
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/mnt/fu03/lvzhen/miniconda3/envs/deepfacelab/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Paddings must be non-negative: 0 -49
[[{{node PadV2}}]]
[[node IteratorGetNext (defined at /mnt/fu03/lvzhen/test/RetinaNet-tensorflow/RetinaNet.py:110) ]]
[[node IteratorGetNext (defined at /mnt/fu03/lvzhen/test/RetinaNet-tensorflow/RetinaNet.py:110) ]]

all the problem disappeared.
check https://github.com/tensorflow/models/issues/4798#issuecomment-406418855


New check: should we warn if fonts have no locl table when expected?

What needs to be checked?
I am not seeing any checks for the locl table in fonts, when I would expect there to be.
Caveat: this subject is a good deal bigger than my knowledge of it. If anyone with more familiarity of Latin script localization is willing to correct me or add any detail here, I would be very happy for any insights!
Detailed description of the problem
My understanding is that it is often useful to include a locl feature in fonts, at least when they have characters for languages that have slightly special rules, such as Turkish when small caps and ligatures exist, Catalan for L·L, Romanian and Moldovan for comma accented S & T, Dutch for the IJacute, and sometimes Polish for the acute vs kreska.
The exact needs for localization varies from font to font, based on the character set and the design itself. However, my guess is, most Latin script fonts with a character set beyond basic English would usually be better with some localization.
So, my proposal is: should there perhaps be a check that simply checks whether a locl table exists, if a font has a sufficiently large glyph set? It could probably warrant a WARN if the table is missing entirely.
This could definitely be made more specific, checking for specific cases, such as:

If a font has small caps, it should have an /idotless and dotted-i small cap in the TRK block in the locl feature.
If a font has a /periodcentered and /Ldot, it should probably have a CAT block in the locl feature.
If a font has an /ijacute, it should probably have an NLD block in the locl feature.
If a font has /Scedilla and/or /Tcedilla, it should probably have a ROM and MOL blocks in the locl feature. (Though, per the Glyphs tutorial, this is solved in modern texts because there are now distinct Unicodes for comma-accented vs cedilla-accented characters.)

Or, does such a check already exist, and I have simply missed it? The closest check I can find is com.google.fonts/check/meta/script_lang_tags, but that only checks for a meta table.
Suggested profile
Universal (broadly accepted best practices on the type design community)
Suggested result
Which log result level should the check have:
⚠ WARN (A potential issues that may need to be addressed)
Severity assessment
2, though maybe my ranking would be higher if I were writing in another language.

From a conversation in a side channel, it sounds like check com.google.fonts/check/glyphsets/shape_languages is being made for this, using https://github.com/googlefonts/shaperglot to check shaping in a smarter way than simply checking for a few heuristics in a cmap table or locl feature. I’ll close this issue, then, as it seems there is a better answer.


Feature request: add a search button

I was going to make this a separate request but since it would need a search bar i thought to add it to this request.
Implement #hashtags to be part of the search function so we can use tags in our notes and filter them in search. Possibly allow using the + #topicA + #topicD to combine filters.

X-plore could do it in both text viewer and editor.


More testing

Test the template(s) on multiple platforms (use https://travis-ci.org/?)

This is now tested with travis-ci


Fix invalid URL in README

Description

Coverage decreased (-0.01%) to 67.798% when pulling e42ce492ef7772980ddbeadb09714ca04209ec49 on fix_rm into 2ac29f5bce9e0a4df7ac14960ec63e47c7260f92 on master.


[windows] Fixes crashes when listening to update streams in

battery_plus_windows.
This commit only contains the changes to battery_plus_windows, without the fixes that caused compilation issues in connectivity_plus_windows.
Description
Reapplies the reverted changes to battery_plus_windows
Related Issues
#1086
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated the version in pubspec.yaml and CHANGELOG.md.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[ ] No, this is not a breaking change.

sorry this took too long to get through!


Definitions page

https://www.figma.com/file/RzD5vk0OOHEUEHtNR5VveC/The-Factory?type=design&node-id=0-1&mode=design&t=lDkKlJMxegq3R0zp-0


more eager "remove-filter-covered-by-index" rule

make optimizer rule "remove-filter-covered-by-index" not stop after removing
a sub-condition from a FILTER statement, but pass the optimized FILTER
statement again into the optimizer rule for further optimizations.
This allows optimizing away some more FILTER conditions than before.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr-linux/608/


fix(validation): recalculating values from draft before validation

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          72     72
  Branches        3      3
=====================================
  Hits           72     72

Impacted Files
Coverage Δ

src/use-formstate.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Gradient Boosting Algorithm

I would like to work on this project under SSOC'23.  Please assign me this issue.

@Kumar-laxmi
I would like to explain Gradient Boosting Algorithm along with it's implementation using scikit-learn.


v1 release

Description of the change

PR to review the v1 release of jotai-hook-form as a standalone npm package. This release should include an initial storybook setup, strong typing and JSdoc documentation.

Links

Jira issue number: (PUT IT HERE)
Process.st launch checklist: (PUT IT HERE)

Checklists
Development

[ ] Prettier was run (if applicable)
[ ] The behaviour changes in the pull request are covered by specs
[ ] All tests related to the changed code pass in development

Paperwork

[ ] This pull request has a descriptive title and information useful to a reviewer
[ ] This pull request has a Jira number
[ ] This pull request has a Process.st launch checklist

Code review

[ ] Changes have been reviewed by at least one other engineer
[ ] Security impacts of this change have been considered

Merged in #3


SkyboxDemo not working

No skybox is rendered at all. Just a while clear with the visible ground grid.

Examples have been added into the main repo. Finally got to fixing this example as part of that. I think it is still a useful example to have though I think it could be improved further to make it less error prone.


Added the ability to upload images to many products

Added the ability to upload images to many products

hi, i setup composer ok but can not install SellerCenterSDK-PHP, help me !

you can simply download SDK without composer and add to your index.php file (or other)
require_once('vendor/autoload.php');

After downloading you must have a directory tree like this

pless send to me zip file email<EMAIL_ADDRESS>thanks
2016-12-09 15:33 GMT+07:00 Iurii<EMAIL_ADDRESS>
After downloading you must have a directory tree like this
[image: image]
https://cloud.githubusercontent.com/assets/15319072/21042550/c229431c-bdfa-11e6-8d58-32ea3bf75cc1.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rocket-internet-berlin/SellerCenterSDK-PHP/pull/19#issuecomment-265961045,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Nx7g-EGv-byTsAs4Ue1aqJ4p_G5X3ks5rGRJ3gaJpZM4LIPeR
.

--
Thân ái
Nguyễn Phú Thụy
Phone: 0985.910.350
Email<EMAIL_ADDRESS>Website: Himi.vn

tell me where to download ?

You use Lazada API, which not related to this SDK.


Set content-type header to application/json

This PR adds Content-Type: application/json header to the response of relay.Handler's ServerHTTP method.
I would like to submit more PRs to add some unit tests and improve the way gqltesting reports errors. For both of these I would like to add some dependencies like github.com/stretchr/testify. Do you have any dependency management tool preferences? I was thinking about dep or glide, WDYT?

I appreciate that you want to contribute. However, github.com/stretchr/testify looks like a repo full of testing stuff that is unnecessary and especially in the Go world frowned upon. Please take a look at this related talk from the dotGo conference: https://www.youtube.com/watch?v=yi5A3cK1LNA

Yeah, it makes sense. I get it why you don't want to introduce big dependences. I wanted to just use one method assert.JSONEq - it gives you a very detailed message showing which fields are different and can save development time. Maybe I should just copy this method to the gqltesting package - do you think it is a good idea?
I also wanted to use the testify mock package, but I can add unit tests without it - I'll use your example schema and will not mock methods.
You do not have CONTRIBUTING.md document and this is why I ask what are your preferences before I spend time writing code, that might be declined later.
I am using this project and would like to contribute to it as well.
What do you think about the content-type: application/json header? We have a 3rd party tool which consumes JSON data it requires the content type header to be present, though. This is why I added it.

Cool. Thanks for contributing!


What happen to the tensorflow/lite/micro/examples/hello_world/create_sine_model.ipynb ?

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there and provide better and faster support for such issues. Thanks!