Disable animation/transition?

Hi, nice job with the package!
Is it possible to disable the animation/transition when changing theme? It is not very smooth on my PC. I would prefer an immediate transition.
/ Erik

What do you mean by it is not very smooth?

Maybe it's my PC that is slow, but the transition from light to dark (and vice versa) is like 2 fps and not very pretty. I noticed that it looks good on my faster PC. It's not a big deal. I can live with it.

Transitions are very smooth on my 'old' laptop and looks really nice (HP EliteBook 850 G6, i7-8665U @ 1.90GHz)


MSID: 89270 Version: 1 DOI: 2<IP_ADDRESS>1886

"msas": "Genetics and Genomics", "Immunology and Inflammation"
"msid": "89270"
"preprintDoi": "10.1101/2<IP_ADDRESS>1886"
"Reviewed Preprint posted": "2023-08-24"
"Sent for peer review": "2023-05-25"
"Posted to bioRxiv": "2023-05-09" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1886v2/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=89270)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/89270/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1886)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/89270/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/89270)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/89270

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/89270

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/89270/v1/89270-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/89270)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Hi @KJT08, just want to double-check - the eLife assessment for this one has a formatting issue on Sciety:

and is not appearing on bioRxiv under the TRiP reviews:

Are we waiting for this to update (in the past you've said it can take ~24 hrs), or does this one still need editing/correction?

Also blocked because the email for one of the corresponding authors is wrong:

Good to know - thanks

Fix in https://github.com/elifesciences/enhanced-preprints-biorxiv-xslt/pull/78


Support (KMS) SSE

It would be fascinating to see how S3's SSE (both KMS and the old-fashioned flavor) affect throughput and latencies. Might require some finagling to figure out how/if per-object data keys are getting cached somewhere in S3 after getting KMS to decrypt the data key.

Yes, good idea. Should be easy to do. S3 will likely cache the keys, but it would still be interesting to see if the download rate gets affected beyond any hit to the first byte latency. I suspect the download rate won't change though. S3's sends you data at about 93 MB/s per thread, and decryption shouldn't be anywhere close to the bottleneck at that rate.

Yeah, I'd hope not. It would also be interesting to see what kind of latency (distribution) it adds to retrieval as well though. Anyway, thanks for the neat tool and all the data!


Documentation of packageSourceCredentials mismatch between key-value-table and examples

There is a mismatch at the packageSourceCredentials section between the key-value-table and the examples.
i.e., the keys are all lowercase (username, password, ...) where as in the examples the keys are written in pascal case (Username, Password, ClearTextPassword, ...).
As to my knowledge, the Pascal Case is correct notation.
PS: I also noted, that the credentials in nuget are in Pascal Case, whereas everything else is written in Camel Case. Just a minor inconsistency, but annoying nontheless.

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

ID: 0ea1390e-db36-6759-3095-ebab9d546fdb
Version Independent ID: ca88d8c6-0515-a267-aac3-a508c54157ab
Content: nuget.config File Reference
Content Source: docs/reference/nuget-config-file.md
Product: nuget
GitHub Login: @JonDouglas
Microsoft Alias: jodou

Just double-checked, the official documentation still contains this glitch. The keywords in the table are still Lower Case, while they should be written in Pascal Case.

Again, hust double-checked, the official documentation still contains this glitch. The keywords in the table are still Lower Case, while they should be written in Pascal Case.
Since this issue does not get much love: Shall I prepare a pull request?
I'm still determined to get this defect fixed somehow 😃. Although my attempts might be futile.

@daFritz84 A pull request would be great! We are moving away from GH issues for Doc feedback and will be closing down issues soon.

We apologize for the inconvenience. We are phasing out GitHub issues as the feedback mechanism on NuGet documentation content and replacing it with a new feedback system using the Feedback link within the articles. If you believe your feedback needs to be preserved and addressed, please submit a PR or open a new issue at https://github.com/NuGet/Home/issues


Release 0.3.1: Widened range of lxml package compatibility.

Widened range of lxml package compatibility.
Also added tox for testing range of python versions. Updated docs.

Hi. Oh, I'm sorry, I didn't saw this PR (I've too many notification, so I miss a lot...). I've looked at the code, and it looks all good to me.
I'll give it a try this WE, just to be sure (and maybe add even more?). Anyway, thanks for your efforts, and all my apologies for the miss.


How to stop besu correctly via cmd?

to start I use
i=0
while [ "$i" -lt $threads ]; do
    tmpdir=$(mktemp -d -t ci-XXXXXXXXXX)
    besu --Xberlin-enabled true retesteth --rpc-http-port $((47710+$i)) --data-path=$tmpdir &
    i=$(( i + 1 ))
done
sleep 16

to stop
killall -9 java
sleep 6

However after the restart, besu seems to have issues serving first rpc request.
Is there a better way to shutdown besu from cmd correctly?

are you running a container or on the actual instance itself?

The instance compiled locally.

     No    Name         Default Action       Description
     1     SIGHUP       terminate process    terminal line hangup
 *   2     SIGINT       terminate process    interrupt program
     3     SIGQUIT      create core image    quit program
     4     SIGILL       create core image    illegal instruction
     5     SIGTRAP      create core image    trace trap
     6     SIGABRT      create core image    abort program (formerly SIGIOT)
     7     SIGEMT       create core image    emulate instruction executed
     8     SIGFPE       create core image    floating-point exception
 *   9     SIGKILL      terminate process    kill program
     10    SIGBUS       create core image    bus error
     11    SIGSEGV      create core image    segmentation violation
     12    SIGSYS       create core image    non-existent system call invoked
     13    SIGPIPE      terminate process    write on a pipe with no reader
     14    SIGALRM      terminate process    real-time timer expired
 *   15    SIGTERM      terminate process    software termination signal
     16    SIGURG       discard signal       urgent condition present on socket
     17    SIGSTOP      stop process         stop (cannot be caught or ignored)
     18    SIGTSTP      stop process         stop signal generated from keyboard
     19    SIGCONT      discard signal       continue after stop
     20    SIGCHLD      discard signal       child status has changed
     21    SIGTTIN      stop process         background read attempted from control terminal
     22    SIGTTOU      stop process         background write attempted to control terminal
     23    SIGIO        discard signal       I/O is possible on a descriptor (see fcntl(2))
     24    SIGXCPU      terminate process    cpu time limit exceeded (see setrlimit(2))
     25    SIGXFSZ      terminate process    file size limit exceeded (see setrlimit(2))
     26    SIGVTALRM    terminate process    virtual time alarm (see setitimer(2))
     27    SIGPROF      terminate process    profiling timer alarm (see setitimer(2))
     28    SIGWINCH     discard signal       Window size change
     29    SIGINFO      discard signal       status request from keyboard
     30    SIGUSR1      terminate process    User defined signal 1
     31    SIGUSR2      terminate process    User defined signal 2

I wouldn't SIGTERM a node that was a consensus reaching node (signer/authority), vs. just an RPC node. Generally speaking though, you would want your node to actually fail fast rather than persist in a sub optimal state as you are describing. Process termination is dependent ultimately on what distro/terminal/jvm implementation you are using, as they all have varying degrees of influence on how processes have (obviously).

I think the issue might be that a VM I work with is unstable through out the time of execution as it is a shared vm. This can be the cause of instability and execution interruptions

The besu with 3 nodes works on a VPS for the first time. However, when I restarted/rebooted the machine(VPS), it just stuck on the following line.

Are there a lot of VMs on that machine that require entropy?  i.e. are all 3 nodes on the same physical box?  I think the random number entrpoy is being drained.
Add BESU_OPTS=-Dsecp256k1.randomize=false as an environmental argument to your startup script.  This flag reduces the use of entropy in that library. (see https://github.com/hyperledger/besu/issues/1464#issuecomment-710062915).  It is present to prevent side channel attacks against node keys.

Closing this one - @winsvega reach out if you're still having issues!


navigation to Java implementations of String, Integer, Float, Character, etc

When navigating to one of these special language module types, or to their members, we should offer the option to go to the native Java implementation instead of to the header, just like we offer the option of navigating to native implementations written in Ceylon.

Looks like this isn't for 1.3.0 after all.


3D coordinates of a an object

Hello @wiedemeyer I am very new to this #271 and have successfully interfaced the kinect2 with ros using your repository, but i have a similar problem. I have already visualized images and 3D point clouds using various packages like rqt, rviz and image_view and so everything seems to be working fine. But now I want to find out the 3D co-ordinates of specific points in a point cloud (mostly of the centroid of some particular object). So can I know how to find out the real world 3D co-ordinates (in metres) of such a centroid (say taking kinect as the reference frame and also origin). And then also the 16-bit depth values corresponding to the same points. Thanks in advance.

Those question got answered a couple of times already. Please search in the closed issues for answers first.
The coordinates of a point from a point cloud are the x, y, z values stored in that point, they are stored in meters and the reference frame is the sensor. Each point x_i, y_i (2D image coordinates) corresponds to pixel with the same coordinates in color or depth image of the same size.


Tradfri fails with multiple gateways

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.56.2
Python release (python3 --version):
3.5.4
Component/platform:
tradfri
Description of problem:
Tradfri not working correctly with multiple gateways
Expected:
Should work
Problem-relevant configuration.yaml entries and steps to reproduce:
When multiple Tradfri gateways are detected, each of them can be configured using its own key. This is working fine, all devices connected to each of the Tradfri gateways are discovered.
However, when controlling devices, this doesn't work well. Sometimes, it is working, sometimes not. It looks a bit like a concurrency issue.
Traceback (if applicable):
Additional info:
I see a lot (hundreds to thousands) of these messages in the log file
Oct 30 12:44:52 nuc-ha hass[15897]: 2017-10-30 12:44:52 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Oct 30 12:44:52 nuc-ha hass[15897]: Oct 30 12:44:52 WARN received alert, peer has been invalidated
Oct 30 12:44:52 nuc-ha hass[15897]: 2017-10-30 12:44:52 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Oct 30 12:44:52 nuc-ha hass[15897]: Oct 30 12:44:52 ALRT 20 invalidate peer

Looks like this is what happens after IKEA Tradfri Gateway updates to the latest version.
https://github.com/home-assistant/home-assistant/issues/10252
We just need to wait for the source library to be updated and then fix release of HA include new dependency.
Expected in logs also:
2017-10-31 19:28:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1026, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/light/__init__.py", line 280, in async_handle_light_service
    yield from light.async_turn_on(**params)
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/light/tradfri.py", line 267, in async_turn_on
    **keys)))
  File "/usr/lib/python3.6/site-packages/pytradfri/device.py", line 164, in set_dimmer
    return self.set_values(values, index=index)
  File "/usr/lib/python3.6/site-packages/pytradfri/device.py", line 199, in set_values
    assert len(self.raw) == 1, \
  File "/usr/lib/python3.6/site-packages/pytradfri/device.py", line 144, in raw
    return self._device.raw[ATTR_LIGHT_CONTROL]
TypeError: 'NoneType' object is not subscriptable

and per device:
2017-10-31 17:30:55 WARNING (MainThread) [homeassistant.components.light.tradfri] Observation failed for TRADFRI bulb GU10 WS 400lm 3
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 69, in _get_response
    r = yield from pr.response
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 814, in _run_outer
    yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)
  File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 863, in _run
    blockresponse = yield from blockrequest.response
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
aiocoap.error.RequestTimedOut

With the latest update, Tradfri is now working fine with multiple gateways. This bug can be closed.

After some more testing, the problem is still there. Sometimes it's working fine, sometimes it isn't. Looks like a concurrency issue to me.

Just check the HassIO, same problem there. I see errors like this:
2017-11-07 12:47:49 ERROR (MainThread) [coap] Fatal DTLS error: code 20
2017-11-07 12:47:49 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2017-11-07 12:47:49 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/tasks.py", line 181, in _step
result = coro.throw(exc)
File "/usr/lib/python3.6/site-packages/homeassistant/components/tradfri.py", line 66, in configuration_callback
psk = yield from api_factory.generate_psk(callback_data.get('key'))
File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 193, in generate_psk
self._psk = yield from self.request(command)
File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 149, in request
result = yield from self._execute(api_commands)
File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 139, in _execute
_, res = yield from self._get_response(msg)
File "/usr/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 92, in _get_response
r = yield from pr.response
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 814, in _run_outer
yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)
File "/usr/lib/python3.6/site-packages/aiocoap/protocol.py", line 863, in _run
blockresponse = yield from blockrequest.response
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
OSError: [Errno -1] No error information
2017-11-07 12:47:50 ERROR (MainThread) [coap] Fatal DTLS error: code 20
2017-11-07 12:47:50 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2017-11-07 12:47:50 ERROR (MainThread) [coap] Fatal DTLS error: code 20
2017-11-07 12:47:50 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
2017-11-07 12:47:50 ERROR (MainThread) [coap] Fatal DTLS error: code 20

Is somebody looking into this? I can help if needed, but right now I don't know where to start debugging this.

According to the athours of PyTradfri, the library works fine with multiple gateways. However, even with the latest version 0.59, Home assistant still fails:
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1.
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 ALRT 20 invalidate peer
Dec 03 19:24:40 nuc-ha hass[16308]: 2017-12-03 19:24:40 ERROR (MainThread) [coap] Fatal DTLS error: code 20
Dec 03 19:24:40 nuc-ha hass[16308]: Dec 03 19:24:40 WARN received alert, peer has been invalidated


"Consider following to scan them" message looks awkward

Check your version before submitting the bug
0.42
Describe the bug
When I run the git-trim, I can see the message like below:
Some branches are skipped. Consider following to scan them:
    *2: Set an upstream to make it a tracking branch or add `--delete 'local' flag.
    *3: Make it upstream of a tracking branch or add `--delete 'remote:origin' flag.

To Reproduce

Clone git-trim: git clone git-trim
Move to the git-trim directory: cd git-trim
Create any branch: git branch -f x
Run git-trim: git-trim

Expected behavior
There is a ` before --delete 'remove:origin'. There is no closing ` in the message. Shouldn' it be `--delete 'remote:origin'` ?
Actual behaviour
git-trim prints add `--delete 'remote:origin' flag. The message does not close `.
Additional context and logs & dumps if necessary
Logs and stacktraces if necessary

I really appreciate a PR for it.


How to insert Array value into field?

For example
CREATE TABLE public.catalog (
   id           SERIAL PRIMARY KEY
  ,name         VARCHAR(100) NOT NULL
  ,price        decimal(6,2) NOT NULL
  ,retail_price decimal(6,2) NOT NULL
  ,code         VARCHAR(100) NOT NULL
  ,property_values   integer[]
  ,images	VARCHAR[]
);

    sql = str(
        pypika.PostgreSQLQuery
        .into(pypika.Table('catalog', schema='public'))
        .insert(
            (
               1,
               'test',
               '0.00',
               '0.00',
               'test',
               [1, 2, 3],
               ["some", "cool"],
            )
        )
    )

My temporary solution
class Array(terms.Term):
    def __init__(self, value, alias=None):
        super().__init__(alias=alias)
        self.value = value

    def value_to_sql(self, value):
        if isinstance(value, (list, set, tuple)):
            return self.array_to_sql(self.value)
        if isinstance(value, str):
            return '\'%s\'' % value.replace('\'', '\'\'')
        return str(value)

    def array_to_sql(self, array):
        return '[%s]' % ','.join(map(self.value_to_sql, array))

    def get_sql(self, quote_char=None, **kwargs):
        return alias_sql('ARRAY' + self.array_to_sql(self.value), self.alias, quote_char)

hi @lordent
If this isn't working it's a bug. There is an implementation already which should handle array inputs. Tuples are also supported. I'll take a look. Thanks for the examples.

@twheys

class Array(terms.Term):

    def __init__(self, value, alias=None):
        super().__init__(alias=alias)
        self.value = value

    def fields(self):
        return []

    def value_to_sql(self, value):
        if isinstance(value, (list, set, tuple)):
            return self.array_to_sql(self.value)
        if isinstance(value, str):
            return '\'%s\'' % value.replace('\'', '\'\'')
        return str(value)

    def array_to_sql(self, array):
        return '[%s]' % ','.join(tuple(self.value_to_sql(v) for v in array))

    def get_sql(self, quote_char=None, **kwargs):
        return alias_sql(
            'ARRAY' + self.array_to_sql(self.value)
            if self.value else 'DEFAULT',
            self.alias,
            quote_char
        )

class ArrayComparator(enums.Comparator):
    contains = '@>'
    isContainedBy = '<@'
    overlap = '&&'

# examples:
creterion = (
            terms.BasicCriterion(
                ArrayComparator.contains,
                catalog_table.property_values,
                Array(values)
            )
        )
        query = (
            query
            .where(creterion)
        )

    sql = str(
        pypika.PostgreSQLQuery
        .into(pypika.Table('catalog', schema='public'))
        .insert(*set(
            (
               product['id'],
               product['name'] or '',
               '0.00',
               '0.00',
               product['code'] or '',
               Array(product['property_values']),
               Array(product['images'])
            ) for product in products.values()
        ))
    )

tuples are not the same as arrays https://www.postgresql.org/docs/9.1/static/functions-array.html

@twheys It will be great if you add operators to work with arrays

So I played around with this a little bit...
sql = str(
        PostgreSQLQuery
        .into(Table('catalog', schema='public'))
        .insert(
            (
               1,
               'test',
               '0.00',
               '0.00',
               'test',
               [1, 2, 3],
               ["some", "cool"],
            )
        )
    )
print(sql)

Currently pypika converts this array into a tuple, which is what it supports already:
INSERT INTO "public"."catalog" VALUES (1,'test','0.00','0.00','test',(1,2,3),('some','cool'))
I'm guessing the syntax doesn't work with psql arrays, right? Unfortunately I don't have access to a psql instance to test.
We don't need a special array class for the insert function, a python list would be good enough. The insert function wraps raw data types with a wrapper. Currently, these arrays are getting wrapped as a tuple. The tricky part is knowing when it's supposed to be an array syntax and when it should be a tuple, without forcing the users to always use a list or tuple when it's appropriate. However, maybe that's not a bad option either.

@twheys tuples is not a same as arrays
test1=# INSERT INTO "public"."catalog" VALUES (1,'test','0.00','0.00','test',(1,2,3),('some','cool'));
ERROR:  column "property_values" is of type integer[] but expression is of type record
LINE 1: ..."."catalog" VALUES (1,'test','0.00','0.00','test',(1,2,3),('...
                                                             ^
HINT:  You will need to rewrite or cast the expression.
test1=# INSERT INTO "public"."catalog" VALUES (1,'test','0.00','0.00','test',array[1,2,3],array['some','cool']);
test1=# INSERT INTO "public"."catalog" VALUES (2,'test','0.00','0.00','test',array[1,2,3],array['some','cool']);
INSERT 0 1

Right, just wanted to confirm what I was seeing. I'll change it to render lists as arrays and tuples as tuples.

published in version 0.15.1, could you please check your use case and let me know if you have any additional issues?


Try to fixes CI

PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING
Before submitting a PR, please, make sure that:

Changes are in a separate branch, not in master.
The branch contains only one commit on top of master (if not, squash them into
one commit).

The commit message contains fixes #XXXX or closes #XXXX to auto-close the
issue(s) that the PR fixes (if any).
Tests for the changes have been added (for bug fixes / features).
Documentation has been added / updated (if applicable).
All new and existing tests passed locally (if not, fix them first and amend
the commit).

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing
guidelines.
PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING

Closing because violating almost all requirements of a PR
"""
PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING
Before submitting a PR, please, make sure that:
Changes are in a separate branch, not in master.
The branch contains only one commit on top of master (if not, squash them into
one commit).
The commit has a descriptive commit message with a concise title (first line).
"""

template not removed
opened from master
multiple commits stacked onto each other, result from continuous development on master
non-descriptive, non-English commit messages


AK1000: Need to add IIndirectActorProducer support for creating actor instances

Need this to support things like DI et al:
private class TestProducer : IIndirectActorProducer
        {
            TestLatch latchActor;

            public TestProducer(TestLatch lp, TestLatch la)
            {
                latchActor = la;
                lp.Reset();
                lp.CountDown();
            }

            public ActorBase Produce()
            {
                latchActor.CountDown();
                return new PropsTestActor();
            }

            public Type ActorType
            {
                get { return typeof(PropsTestActor); }
            }

            public void Release(ActorBase actor)
            {
                actor = null;
            }
        }

This should not trigger AK1000.

Resolved via https://github.com/akkadotnet/akka.analyzers/pull/31


New Bundle from Main

Tom: This bundle did not include the fully-scoped SQL in the src repo. Please replace with a new bundle file using most recent commit from src repo.
https://github.com/looker-open-source/app-ml-accelerator-src/commit/07ee75a931b47f5a4bdbfc4a56955a36c95a2016


Roll Flutter Engine from 39ee1a549581 to 939546134a6c (2 revisions)

https://github.com/flutter/engine/compare/39ee1a549581...939546134a6c
2024-07-17<EMAIL_ADDRESS>[macOS] Archive universal gen_snapshot binaries (flutter/engine#53962)
2024-07-17<EMAIL_ADDRESS>Roll Skia from 4d2047aa3c8d to 485bf4ff886b (1 revision) (flutter/engine#53963)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Fix links in documents

Some links to pkg.go.dev in the documentation seems incorrect, so fixed.

Pull Request Test Coverage Report for Build 344794817

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 344669974:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

Oof. Thank you SO much for this one!


Add misc ci-helper tests

A TestCIHelper class extends CIHelper.  It provides methods to
mock GitHubGlue methods as needed to avoid github interaction.
The methods are called with the objects to return.
For full testing, ci testing config settings are needed to set
an alternate email server.  Tests for /submit and /preview are skipped
if these are not set.
Sample config settings:
gitgitgadget.CIsmtpuser =<EMAIL_ADDRESS>gitgitgadget.CIsmtphost = smtp.ethereal.email
gitgitgadget.CIsmtppass = feedeadbeeffeeddeadbeef
gitgitgadget.CIsmtpopts = { "port": 587, "secure": false,
"tls": { "rejectUnauthorized": false } }
The CIsmtpopts must have the keys quoted.
Signed-off-by: Chris. Webster<EMAIL_ADDRESS>

@dscho Sorry about the failed check.  Your review is appreciated.

Thank you, once again, and a happy new year to you @webstech!

Thanks for finishing up the implementation details.  Nice to see it run and the timing is better than I get - would like to know why (windows? node on windows? long in the tooth processor? network?) but not experienced in profiling.
Happy new year to you as well @dscho.

the timing is better than I get - would like to know why

Almost certainly I/O (and anti-virus, as you figured out). The Linux kernel is much better optimized for server loads (including spawning the git executable thousands of times) than the Windows kernel...

@dscho Just curious about the setup intention.  It appears the extra SMTP testing is happening on the merge (individual CI) and not on the PR pushes (PR automated).  Is this intentional?  I expected it to be the reverse to ensure problems are found before the merge.  Sorry if this is not clear - just looking at the jobs and steps not running.

It appears the extra SMTP testing is happening on the merge (individual CI) and not on the PR pushes (PR automated). Is this intentional? I expected it to be the reverse to ensure problems are found before the merge. Sorry if this is not clear - just looking at the jobs and steps not running.

@webstech The reason is purely technical: secret variables are not available in PR builds. The underlying rationale is that any user could open a PR that, say, base64-encodes the secret variable and prints it to the log, and then the secret variable would not be secret at all anymore.
Of course, ideally even PRs would be tested for the SMTP functionality, but within the current framework provided by Azure Pipelines, that is simply not possible.
So I'd still prefer to have it at least in the CI builds. If we ever see a PR where we suspect SMTP functionality might be broken, we can always trigger a manual build (I think that /azp run might work in this instance, but I have not checked the documentation).

@dscho Thanks for the info.


Gracefully handle infinite outputs

Currently the following code would freeze the browser:
for _ <- Stream.cycle([:up]) do
  IO.puts("line")
end

It goes forever and keeps pushing data to the client, so we need to restart the server. We need to improve this, possibly by limiting the output.

I think that, after we have 1000 lines in the client, we should say something like "More than 1000 lines of output, discarding results". Notice that a line with "\r\n" in it should not count towards the total.

Notice that a line with "\r\n" in it should not count towards the total.

I believe \r\n that is the DOS equivalent for the UNIX \n. Should we make an exception for Windows machines?

@Benjamin-Philip I think we normalize those at some point. @jonatanklosko would know better.

Actually, consecutive text outputs are merged, because we want to handle cases like aaa then \rbbb. Then for rendering we split the output on newlines, because we use the virtual scroll. So for the output we don't even normalize \r\n to \n, because it doesn't matter.
@josevalim though as far as I understand your point is that whatever fix we apply it shouldn't affect cases like "ok\n" |> String.duplicate(10000) |> IO.puts(), so we need to distinguish outputs rather lines.

I would say it could equally distinguish "ok\n" |> String.duplicate(10000) |> IO.puts(). It is way too much text in both cases where probably it is not beneficial to keep that much text anywhere (including the session).

I think that, after we have 1000 lines in the client, we should say something like "More than 1000 lines of output, discarding results". Notice that a line with "\r\n" in it should not count towards the total.

I agree here - and on demand, we can show more result rows if a user interested to see. Kind of pagination.

@mudssrali we already use virtualization, which addresses huge text outputs. Here it's rather that we want to limit how much lines we keep in the memory altogether, otherwise an infinite loop could eventually lead to overflow :)

I think that, after we have 1000 lines in the client, we should say something like "More than 1000 lines of output, discarding results". Notice that a line with "\r\n" in it should not count towards the total.

Would truncating 1 line from the beginning, and appending the next line (once 1000 lines have been outputted) help?

Cycling the lines sounds good to me. On the LiveView side we are already only appending lines, so this part is optimised. To support capping we need a change in two places:

limit the stdout we keep on the server to last 10_000 lines (Notebook.add_output)
on the JS side we need to remove DOM elements once we start having more than 10_000 lines (on updated in the VirtualizedLines hook) - even though the elements are not visible, at some point the browser would start to struggle


Replace all underscores with hyphen if attribute name starts with 'data_...

...', not just the first underscore.
See Issue #48.

Going to accept https://github.com/wtforms/wtforms/pull/248 instead


ITVR - Change rebate expiry notice to NCDA

Title: Change rebate expiry notice to NCDA to 15 days
Description: Currently there is a 2 day grace period before sending rebate expiry to the NCDA which deletes the rebate on the NCDA side. This should be changed to be 15 days to match the amount of time dealers have to claim the rebate from the NCDA.
Wireframe:
Purpose and benefit to user: This will allow the dealers time to claim a rebate within their 15 day period.
Acceptance Criteria:

[ ] Given I am a new car dealer employee, When I am claiming a rebate from the NCDA, then I can do this up to 15 days after the rebate has expired.

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Hey team! Please add your planning poker estimate with Zenhub @JulianForeman @tim738745

This card has been approved today by the programs manager and is now ready for production.


artwork buttons do not work

go to artwork page, try to tap contact button, nothing happens, tapping heart, share, auction results, nothing happens. Go to different artwork try all the same buttons again, nothing.
http://cl.ly/image/0q210b0z1j0N

I don't see this happening for me

i got this to happen in the simulator, but i can't figure out how

i can not for the life of me figure out how to make this bug happen but it is real


agent.instance_name is too long and can not to show full

My java app is run in kubernetes, and configure the skywalking agent.instance_name=uuid@hostname,  the uuid is 32 bit ,  the hostname is longer than 20  or is longer than 50, but the agent.instace_name max length is 50, I can cancel the uuid in instance name , but the name still more than 50, so in skywalking ui can not show full.  I want to show full , What should i do ?

The reason behind this limitation is, the instance id is part of storage id, such as ElasticSearch row id. Once you use the super long key, it will break the storage.
This is the backend default setting
    /**
     * The max length of the service name.
     */
    private int serviceNameMaxLength = 70;
    /**
     * The max length of the service instance name.
     */
    private int instanceNameMaxLength = 70;
    /**
     * The max length of the endpoint name.
     *
     *
NOTICE

     * In the current practice, we don't recommend the length over 190.
     */
    private int endpointNameMaxLength = 150;

If 70 works for you, welcome to submit a pull request to change org.apache.skywalking.apm.agent.core.conf.Config.

agent supports env as instance ，such as MY_POD_NAME


feat: Adds custom check support

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Azure SQL Managed Instance - why allow_management_inbound is that open?

I can't find an explanation for the allow_management_inbound rule to be open to all sources from all ports. Why is this not a security issue?
The same appears here.
az network nsg rule create --name "allow_management_inbound" --nsg-name $nsg --priority 100 --resource-group $resourceGroup
--access Allow --destination-address-prefixes <IP_ADDRESS>/24 --destination-port-ranges 9000 9003 1438 1440 1452
--direction Inbound --protocol Tcp --source-address-prefixes "*" --source-port-ranges "*"

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

ID: 6514ec98-57f0-d05f-b163-cbc31b759fd1
Version Independent ID: ee9f97ff-0da8-e9cb-deba-ceb4364ea0d4
Content: Azure CLI example: Create a managed instance - Azure SQL Managed Instance
Content Source: azure-sql/managed-instance/scripts/create-configure-managed-instance-cli.md
Service: sql-managed-instance
Sub-service: deployment-configuration
GitHub Login: @urosmil
Microsoft Alias: urmilano

@KamilPacanek
Thanks for your feedback! We will investigate and update as appropriate.

Hi @urosmil,
Could you please look into this document question, thanks.

#assign @zoran-rilak-msft

#assign @zoran-rilak-msft

Zorane, can you help with this question as our networking area owner? Thanks

Hi @KamilPacanek, this rule establishes inbound connectivity to the management endpoint which allows SQL MI's control ring to reach out to the virtual cluster and initiate management operations, such as service tier change, up/downscale, changes in configuration, and similar.
You can find more information about the management endpoint here, including how we secure it: https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/connectivity-architecture-overview?view=azuresql&tabs=before-feature-wave#management-endpoint

No problem, @KamilPacanek! Glad it helped!


[keycloak:4.0.8] You need local access to create the initial admin user ?

Is this a request for help?: yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug-report
Version of Helm and Kubernetes:  2.12.1, 1.10.x
Which chart: keycloak 4.0.8
What happened:
installed with following values:
keycloak:
  password: "my-secret"
  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: internal
      ingress.kubernetes.io/affinity: cookie
    hosts:
      - keycloak.me.com
    tls:
      - hosts:
        - keycloak.me.com

What you expected to happen:
expect to be able to login with user = keycloak and password = my-secret
How to reproduce it (as minimally and precisely as possible):
helm install with above values
Anything else we need to know:

Confirmed

Same error on our own
Chart version: 4.0.8

Same issue
Chart version: 4.0.8

Same error.

I am also hitting same issue with stable version. Is keycloak helm chart can be configured to create initial user ?
@okgolove, you have any suggestions ?

there is always this as a work around

@shiva075gowda hi! Haven't any time to work on this. As far as I remember, enabling PVC has resolved the problem.
If I have any news I will write about.

BTW, keycloak chart is deprecated and moved here https://github.com/codecentric/helm-charts

Goto .../keycloak/services/src/main/java/org/keycloak/services/resources/WelcomeResource.java this file and find isLocal() method set the return value as true.
When you trying to login with new DB even you are hosted, It will redirect to Admin user registration page.

docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAL_PASSWORD=pass jboss/keycloak

You have typo in your command (KEYCLOAL). KEYCLOAK_PASSWORD solved the problem for me

Goto .../keycloak/services/src/main/java/org/keycloak/services/resources/WelcomeResource.java this file and find isLocal() method set the return value as true.
When you trying to login with new DB even you are hosted, It will redirect to Admin user registration page.
I tried with docker.

did you install keycloak application?
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAL_PASSWORD=pass jboss/keycloak
this command also giving same error

There is typo error in the above command. Please use the below command,
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAK
_PASSWORD=pass jboss/keycloak

it is done. my mistake, thanks for response


Metrics for Levenshtein edit-distance between two strings

🚀 Feature
I want to calculate edit_distance between two strings. I would prefer an API similar to NLTK.metrics

Motivation

Pitch
from torchmetrics.functional import edit_distance

text1 = "rain"
text2 = "shine"

print(edit_distance(text1, text2)

# >> 3

Alternatives
from nltk.metrics.distance import edit_distance

text1 = "rain"
text2 = "shine"

print(edit_distance(text1, text2)

Additional context

cc: @Borda @stancld

@SkafteNicki @Borda Can I take this up?

@avinashsai sure, you are more than welcome!

@avinashsai I think this implementation can be definitely used for creating Public API metric :] However, I'm not really sure if this implementation matches the one from NLTK metrics as I suspect there are multiple edit distance implementations.


[EventGrid] Address feedbacks that left on the closed PR.

Description
Address the feedbacks left on the PR: https://github.com/Azure/azure-sdk-for-java/pull/25131
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/check-enforcer evaluate

/check-enforcer override


Update generated Go source code for proto libraries [phab:D901]

Created by schroederc at 2016-05-19 17:05:14:

shahms accepted this revision at 2016-05-19 17:15:16

schroederc closed via commit 03ce5a3761e62de4a15bb3511a37f0350c6edb03 at 2016-05-19 17:16:49


Separator for namespace and handle for Blueprints

In statamic/cms whe have :: as separator for namespace and handle when loading a blueprint, see this line.
So we can call:
\Statamic\Facades\Blueprint::find("foo::bar");

Now "foo" is treated as namespace and "bar" as the handle.
Let's peek into the counterpart in statamic/eloquent-driver at this line. Here we are not able to use :: as a separator, but instead we have to use the dot . es separator.
We use statamic-rad-pack/runway in combination with statamic/eloquent-driver, so we store our blueprints in the database.
This code won't work with the eloquent driver:
    public function blueprint(): Blueprint
    {
        $blueprint = Blueprint::find("runway::{$this->handle}");

        if (! $blueprint) {
            $blueprint = Blueprint::make($this->handle)->setNamespace('runway')->save();
        }

        return $blueprint;
    }

$blueprint will always be null. If we call Blueprint::find("runway.{$this->handle}"); (so with a dot as the separator), everything works fine.
Just spent a few seconds to think about in which project to report this issue, but for me it seems clear that if statamic/cms supports :: as a separator to distinguish between namespace and handle when loading a blueprint, the eloquent driver should also support this behaviour to stay compatible? Developers should rely on that if they use a Facade of statamic (e.g. \Statamic\Facades\Blueprint) in their app code and switch to the eloquent driver that everything works the same as before.

I've opened a PR here - https://github.com/statamic/eloquent-driver/pull/238
let me know if this works as expected

Thanks for the fast reply! 🚀
Yes, this would work generally, but there's a little syntax error () instead of ]).
And I think you could shrink it to:
        if (str_contains($blueprint, '::')) {
            return explode('::', $blueprint);
        }

Already fixed that


Where I can find the encoding, codepage for different different languages? Any Idea

Selects a code page n from the character code table as follows.
n Character Type Remark (size)
0 Page 0 USA, Standard Europe [CP437]
1 Page 1 Katakana
2 Page 2 Multilingual(Latin-1) [CP850]
3 Page 3Portuguese [CP860]
4 Page 4 Canadian-French [CP863]
5 Page 5 Nordic [CP865]
6 Page 6 Slavic(Latin-2) [CP852]
7 Page 7 Turkish [CP857]
8 Page 8 Greek [CP737]
9 Page 9 Russian(Cyrillic) [CP866]
10 Page 10 Hebrew [CP862]
11 Page 11 Baltic [CP775]
12 Page 12 Polish
13 Page 13 Latin-9 [ISO8859-15]
14 Page 14 Latin1[Win1252]
15 Page 15 Multilingual Latin I + Euro[CP858]
16 Page 16 Russian(Cyrillic)[CP855]
17 Page 17 Russian(Cyrillic)[Win1251]
18 Page 18 Central Europe[Win1250]
19 Page 19 Greek[Win1253]
20 Page 20 Turkish[Win1254]
21 Page 21 Hebrew[Win1255]
22 Page 22 Vietnam[Win1258]
23 Page 23 Baltic[Win1257]
24 Page 24 Azerbaijani
25-29 Reserved
30 Thai[CP874]
31-39 Reserved
40 Page 25 Arabic [CP720]
41 Page 26 Arabic [Win 1256]
42 Page 27 Arabic (Farsi)
43 Page 28 Arabic presentation forms B
44-49 Reserved
50 Page 29 Hindi_Devanagari
252 Page 30 Japanese [CP932]
253 Page 31 Korean [CP949]
254 Page 32 Traditional Chinese [CP950]
255 Page 33 Simplified Chinese [CP936]

encoding for Devanagari ?

It's not working for me.
22 Page 22 Vietnam[Win1258] dont work

My priter crashed when i use "22 Page 22 Vietnam[Win1258]"

I have tried these codes
BluetoothEscposPrinter.printText("Hoş geldin\r\n", {
codepage: 7,
encoding: 'CP857',
widthtimes: 1,
heigthtimes: 1,
fonttype: 1
});
BluetoothEscposPrinter.printText("Hoş geldin\r\n", {
codepage: 20,
encoding: 'Win1254',
widthtimes: 1,
heigthtimes: 1,
fonttype: 1
});
I attatched image, that's what I am getting, some times I ge '?'  instead of 'ş' and sometimes I get some type of chinese character

cant print arabic

tried given encoding not working for arabic


django.db.utils.OperationalError: database is locked

https://stackoverflow.com/questions/3172929/operationalerror-database-is-locked
can u check this issue please

This occurs for me when using the docker image and a previously open session interacts with a fresh instance using a bad token. Database locks right up.
^[[AInternal Server Error: /api/workspaces/
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.7/dist-packages/django/db/backends/sqlite3/base.py", line 383, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: database is locked

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


fix support index error

many testcase show some errors
E1120 12:39:38.438683   75471 remote_runtime.go:135] RunPodSandbox from runtime service failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: failed to mount rootfs component: invalid argument: unknown
    main_test.go:233:
        	Error Trace:	/go/src/github.com/containerd/containerd/integration/main_test.go:233
        	            				/go/src/github.com/containerd/containerd/integration/addition_gids_test.go:92
        	Error:      	Received unexpected error:
        	            	rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: failed to mount rootfs component: invalid argument: unknown
        	Test:       	TestAdditionalGids/case-6
--- FAIL: TestAdditionalGids (3.51s)
    --- FAIL: TestAdditionalGids/case-0 (0.54s)
    --- FAIL: TestAdditionalGids/case-1 (0.46s)
    --- FAIL: TestAdditionalGids/case-2 (0.47s)
    --- FAIL: TestAdditionalGids/case-3 (0.48s)
    --- FAIL: TestAdditionalGids/case-4 (0.49s)
    --- FAIL: TestAdditionalGids/case-5 (0.50s)
    --- FAIL: TestAdditionalGids/case-6 (0.45s)

[root@localhost parameters]# cat /sys/module/overlay/parameters/index
N

some  similar issue https://github.com/containerd/containerd/issues/9260


Clarity of alpha power output in PROCESS

In GitLab by @jmorris-uk on Apr 30, 2020, 13:27
Pointed out by Rich, the output of the alpha power and the power deposited in the plasma is not clear in PROCESS output file.
The total power deposited include the injected power (pinjwm) in the calculation but in the table in the OUT.DAT it only list the neutral beam power. If another HCD option is chosen the NB value is zero and it seems as if power is missing.
Also he requested that the output file make it clear that only 95% of the alpha power is deposited in the plasma (via input falpha).

The current output is found in OUT.DAT is:
 Ohmic heating power (MW)                                                 (pohmmw)                  6.548E-01  OP
 Fraction of alpha power deposited in plasma                              (falpha)                      0.950  IP
 Fraction of alpha power to electrons                                     (falpe)                       0.733  OP
 Fraction of alpha power to ions                                          (falpi)                       0.267  OP
 Ion transport (MW)                                                       (ptrimw)                  1.233E+02  OP
 Electron transport (MW)                                                  (ptremw)                  1.346E+02  OP
 Injection power to ions (MW)                                             (pinjimw)                 0.000E+00  OP
 Injection power to electrons (MW)                                        (pinjemw)                 1.052E+01  OP
 Ignited plasma switch (0=not ignited, 1=ignited)                         (ignite)                          0

 Alpha power deposited in plasma (MW)                                     (falpha*palpmw)             335.442  OP
 Power from charged products of DD and/or D-He3 fusion (MW)               (pchargemw.)                  1.321  OP
 Ohmic heating (MW)                                                       (pohmmw.)                     0.655  OP
 Injected power deposited in plasma (MW)                                  (pinjmw)                     10.516  OP
 Total (MW)                                                                                347.933  OP

I think captures the points raise in the issue and has already been addressed.


A proper mean to get the list of InputMap actions

Operating system or device - Godot version:
Official 2.0.3stable win64
Issue description (what happened, and what was expected):
I've found no clean way to iterate through InputMap actions, and i've found no way to get the list of actions names.
If I do something like this, this ends up with an error.
	var index = 1 # <------ index 0 seems unavailable
	var action = InputMap.get_action_from_id(index)
	while action != "":
		print(action)
		index+=1
		action = InputMap.get_action_from_id(index)

ERROR: InputMap::get_action_from_id: Condition ' !input_id_map.has(p_id) ' is true. returned: StringName()
   At: core\input_map.cpp:74
Steps to reproduce:
Link to minimal example project (optional but very welcome):

How about... InputMap.get_action_list()? :D

@akien-mga :
Array InputMap.get_action_list(action) requires the name of an action as parameter.
So, I guess the "list" it returns is the list of inputs associated to the action.
What I need is the get the list of the name of all actions stored into the InputMap of the project settings.

I've done the test to be sure, and I was right. .get_action_list(action) returns the list of inputs associated to an action. It is not what I need.

Hm indeed. It should be implemented then.

I think get_action_list(var action) is rather misleading and should be renamed to action_list_events(var action) to go with: action_add_event, action_has_event, action_erase_event and something like get_actions() or even get_action_list() should be used for this new function.
@akien-mga Do you think it's possible to rename it, or will it break too much stuff?

or instead of changing the API, there could be a get_list_of_actions() ?

Well, then you would have InputMap.get_list_of_actions() and InputMap.get_action_list(var action) which is kind of misleading I think. Since it's really just a different wording of the same thing(while behavior is different), and the parameter doesn't explain much.

Try:
var properties = Globals.get_property_list()

	var id = 1
	for property in properties:
		if not property.name.begins_with("input/"):
			continue;
		var name = property.name.substr(property.name.find("/") + 1, property.name.length())
		var id = InputMap.get_action_id(name)

		assert(name == InputMap.get_action_from_id(id))

		id += 1

It's based on InputMap::load_from_globals().

@neikeq : great workaround ! thanks !


combine low and high token id

[ ] follows contribution guide

Combination of the NFTs high and low token id hex value into a single Integer value.

Thank you


Replace static image in README with animated image

Because gifs are great. Shouldn't be hard. Just make sure it doesn't take too long to load.

Fixed in #32


Remove VLA from flex_trit/tryte conversion functions

Remove VLA from flex_trit/tryte conversion functions (fixes #360)
Depends on PR #346 and PR #362
Test Plan:
Usual test plan

Could you also make num_flex_trits_for_trits a #define macro as part of this PR?

You mean instead of inline?


Existing routes not updating when _routes.json updates

After updating previously existing routes in the _routes.json file and changing languages, it will still redirect to the old route and will give a 404. I was able to recreate with the example project, I downloaded it and ran it, then changed the french redirect from "blog" to "blo" and re-ran the project, I was still redirected to "blog" when switching languages. If there is something I have to do after updating the file let me know.

Deleting the contents of the .next folder updates the file


Use rust-lang/rust linkchecker on CI.

This can help ensure submodule updates go smoothly.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit d1a0040e8000cf941367b9443a8cba91aecb99e8 has been approved by alexcrichton

:hourglass: Testing commit d1a0040e8000cf941367b9443a8cba91aecb99e8 with merge 1f5fbcaa9ab80c094d8dabede43075b6c07e53b6...

:sunny: Test successful - checks-azure
Approved by: alexcrichton
Pushing 1f5fbcaa9ab80c094d8dabede43075b6c07e53b6 to master...


Lists do not contain only  elements and script supporting elements

It looks like this is happening in the List component, I think because the <ul> or <ol> has the heading nested inside of it and shouldn't. I think this comes from a lighthouse scan so should be straightforward to check.

Had a look at this @justintemps,
Tried two approaches for this :-

Converted existing  to

This adds the list styling to the heading as well.

Moved the  out of  and

This breaks the layout for horizontal.

Looks like we will have to do alot of changes to the style and layout as well @justintemps What do you think we should do ?

@Shashika6 can we not just wrap the whole thing in a  that you can nest the heading under?


Safer UX for Python users

:tada: This PR is included in version 0.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Extra space in the label when setting InputLabelProps={{ required: false }}

When setting InputLabelProps={{ required: false }}  in a required TextField, it hides the asterisk but don't remove the space of it.  It was working fine until version 4.8.3.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

The issue was introduced in version 4.9.0.
https://codesandbox.io/s/asterisk-material-ui-4911-fyozj
Expected Behavior 🤔

It was working fine in version 4.8.3 and bellow:
https://codesandbox.io/s/asterisk-material-ui-483-p9p16
Steps to Reproduce 🕹
https://codesandbox.io/s/asterisk-material-ui-4911-fyozj
Steps:

Click in the "Name" field;
Note that the label move from the middle to the top of the field.
You will notice the gap where the asterisk used to be.

Context 🔦
Remove the extra space when not showing the asterisk for required fields.
Your Environment 🌎

Tech
Version

Material-UI
v4.9.x

The same problem happens if you set required inputLabelProps and not required the TextField. Why you use required true and false in the same time? You want to hide the * but make the input required?

Well, we are signing required fields in the other way, but it doesn't matter to be honest. The point is that the api allows it, and behaves correctly, but for for the extra-space. It was working fine in the previous minor version, as I pointed out.
The way I see it, the current minor version broke an expected visual behaviour, furthermore if this behaviour was not desired, TextField should not accept InputLabelProps={{ required: false }} and should look into it's own to decide to set that attribute.

Yes yes it makes sense. I need to understand why is broken now

@ronaldotijucas Thanks for raising, however, I don't think that we should handle this case.

That is definitely an issue because:

filled behaves different
Hiding the "asterisk" is a common use case since it is somewhat controversial whether a * is a sufficient indicator for a required field.

In the mean time a workaround can be done using the elements which compose a TextField:
<FormControl variant="outlined">
   <InputLabel htmlFor="component-outlined">Name</InputLabel>
   <OutlinedInput id="component-outlined" label="Name" required />
   <FormHelperText>Some help</FormHelperText>
</FormControl>

https://codesandbox.io/s/asterisk-material-ui-49x-l9xjt

Currently getting this issue:

@arjunmadgavkar A reproduction on v5 would help us verify that it's still relevant.

Currently, we have a way to avoid this problem. I will share it here because I have been looking for a solution on the whole web.
The problem
Using required: false on InputLabelProps in Material UI can introduce unwanted extra space next to the label when the input is not focused. This happens because an additional element, a span within a legend element, renders alongside the label in this state.
The Solution
To eliminate the extra space, we need to hide this asterisk element. However, if you aren't using required: false, you'll need to adjust the spacing between the label and the border. In this case, you can apply a negative margin with a size equal to half the width of a character (using the "ch length unity") to compensate for the asterisk's width and achieve the desired spacing.
.MuiOutlinedInput-notchedOutline > legend > span{
  padding-right: 0px;
  margin-right: -0.5ch;
}
.MuiFormLabel-root{
  span{
    display: none;
  }
}

I hope this help you reader! 😄 ❤


Update Installation section in docs for MacOS Big Sur, add section for FSLeyes

Description
This pull request does the following:

Add a section for installing FSLeyes in docs
Add a section for installing FSLeyes on MacOS Big Sur (not officially supported by FSLeyes so we needed a workaround)
Add a new section called FSLeyes Integration, which describes how to use the SCT plugin in FSLeyes

Linked issues
https://github.com/neuropoly/spinalcordtoolbox/issues/3223
Related issues
https://github.com/pauldmccarthy/fsleyes/issues/70

Also, if anyone has anything to add, let me know! I haven't added the section for Linux users, although I'm guessing it's the same as the Windows subsystem one?

Checked on Big Sur, the documentation is correct.


Feat/configure cluster endpoint

PR Description
There are no variables to configure public and private access to the eks cluster endpoint.
It is not possible to restrict access to the eks endpoint to only the vpn server.
There is no variable to set the IP address that will have access to the web console.
Type of change

[x] New variable pritunl_vpn_access_cidr_blocks
[x] New variable eks_cluster_endpoint_only_pritunl
[x] New variable eks_cluster_endpoint_public_access
[x] New variable eks_cluster_endpoint_private_access
[x] Documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

@fulv0us Could you plz push formatted aws-eks.tf?
https://github.com/maddevsio/aws-eks-base/runs/5182345124?check_suite_focus=true#step:4:26

@fulv0us Could you plz push formatted aws-eks.tf? https://github.com/maddevsio/aws-eks-base/runs/5182345124?check_suite_focus=true#step:4:26

okay

@fulv0us Could you plz push formatted aws-eks.tf? https://github.com/maddevsio/aws-eks-base/runs/5182345124?check_suite_focus=true#step:4:26

ready


I wish /docs/getting-started-guides/juju/ Was tested to work with Ubuntu 16.04

I wish /docs/getting-started-guides/juju/ Was tested to work with Ubuntu 16.04
Seems that most of the steps are not working for trying to install a kuber cluster on AWS using juju on ubuntu16.04

Consolidating with https://github.com/kubernetes/kubernetes.github.io/issues/1391


[pigeon][video_player] Support for asynchronous generators on iOS

Is it possible to generate async return values in pigeon? If not, is this a feature that could be added? This could be useful for several native plugins I'm working on.
In particular, the video_player plugin defines the create pigeon method as follows:
// messages.dart
TextureMessage create(CreateMessage msg);

The Obj-C implementation becomes:
- (FLTTextureMessage*)create:(FLTCreateMessage*)input error:(FlutterError**)error {
         ...
         return textureMessage;
}

I maintain a video_player fork which adds support for PHAsset videos. My implementation creates a TextureMessage within a callback in the create method which in turn makes the TextureMessage instance unreachable when the create function returns.
I'm looking for something like the following:
// messages.dart
Future<TextureMessage> create(CreateMessage msg);

Which would generate the following code on iOS:
- (void)create:(FLTCreateMessage*)input
                       error:(FlutterError* __strong*)error
                    callback:(FlutterReplyForFLTTextureMessage)callback {
         ...
         callback(textureMessage, *error));
         ...
}

For now, I have manually edited the pigeon generated files to overcome this limitation in my video_player fork: https://github.com/recastrodiaz/plugins/commit/c228f21229c870fb01ea1e0ae4d137b146744084#diff-8e327466253211b3b37c9a42a44ba65dR230
Manually edited create method: https://github.com/recastrodiaz/plugins/blob/c228f21229c870fb01ea1e0ae4d137b146744084/packages/video_player/video_player/ios/Classes/FLTVideoPlayerPlugin.m#L884
@gaaclarke Let me know if this is possible to do or if this is something that you may consider adding.
Thanks!

It's definitely on the roadmap.  The chances of me getting to it soon are slim.  Here is what I had in mind, if the pigeon file declared the method async the generated methods would be async:
class Foo {
  String bar;
}

@HostApi
abstract class Api {
  Future<Foo> doit() async;
}

- (void)doit:(FooReplyCallback)callback {
         ...
         callback(foo, error));
         ...
}

That would work for my use cases. I'm looking forward to this feature.
Not passing the ** error pointer as parameter to doit  is a good choice. The code in my previous message did not actually work in release mode (it was ok in debug mode). Setting the parameter as __strong seemed to have had no effect and by the time the callback function was called, the error variable pointed to an invalid address:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000ef41820a0

My work around was to declare error within the block scope: https://github.com/recastrodiaz/plugins/commit/a31d0ec0263c065f2c9325568b8a3802fcf16a0f#diff-b8b3fa6c990e0fc6b09b10abac5904caR886

@recastrodiaz you should check out the Pigeon repo https://github.com/flutter/packages/tree/master/packages/pigeon, it might be something you'd want to implement ;)  I'm a bit biased but I think it's pretty fun to work on.

Alright, I'll check your code out and I'll try to come up with a proof of concept :). What should the Java Generated API interface/implementaion look like?
void doit(FooReplyCallback callback) {
    ...
    callback(foo, error);
    ...
}

@recastrodiaz Yea, check out how MethodChannel's do it get an idea since they use async methods by default:  https://api.flutter.dev/javadoc/io/flutter/plugin/common/MethodChannel.html#invokeMethod-java.lang.String-java.lang.Object-io.flutter.plugin.common.MethodChannel.Result-

Thanks. Will check that out.

@recastrodiaz I forgot to mention that you can implement asynchronous functions by creating 2 APIs as a workaround:
class Query {
  String keyword;
}

class Task {
  int id;
}

class Result {
  Query query;
  Task task;
}

@HostApi
abstract class HostApi {
  Task search(Query query);
}

@FlutterApi
abstract class FlutterApi {
  Result onSearchResult();
}

That might be a hint to how we could easily implement the feature, too, but I haven't thought that far.

+1 for this feature!

Hi it has been another 1 month... Any updates?

Hi @fzyzcjy I got busy with work. It might still take me another month before getting to this. If someone would like to give it a go in the meantime, feel free.

@recastrodiaz OK... I will try to do it when having some time

This PR started working on it: https://github.com/flutter/packages/pull/201  It still doesn't handle @HostApi.  I didn't look closely at the approach yet since it is half implemented.

@gaaclarke Thanks!

I've created a doc that lays out potential future investments in Pigeon to help the company understand the long term vision.  Even though we are in the middle of implementing async callbacks, it's on the list.  You might be interested in the doc and have some feedback:
https://docs.google.com/document/d/1R-jjZnYUIwpG7Y5EkoHODmlvVeN1zz2Y-lCjTOku9Y0/edit#
cc @xsahil03x

@gaaclarke 🎉 🎉 🎉 The merge PR looks wonderful! And the features in doc also looks appealing!

@gaaclarke Any updates for @HostApi? Thanks!

any updates?

@gaaclak

This PR started working on it: flutter/packages#201 It still doesn't handle @HostApi. I didn't look closely at the approach yet since it is half implemented.

This mr only work for android platfrom . The synchronization code is still generated on iOS.  Thanks!

Implemented for ios in https://github.com/flutter/packages/pull/282


Links break images

When trying to create an image link (anchor link), the image disappears. Images have to be manually linked.

fixed in the latest release


PR-1. Shuffle the namenodes in the NamenodeProxy

There is no need to store the active namenode index in the local file
We just need to shuffle the namenodes so that libhdfs3 can support ObserverRead in the future

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zengqiang.xu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Truncation error of the last element when there is rhs area

A minimal config to reproduce:
require('cokeline').setup {
    rhs = {
        {
            text = '  ' .. vim.fn.fnamemodify(vim.fn.getcwd(), ':t') .. ' ',
            fg = get_hex('TabLineSel', 'fg'),
            bg = get_hex('TabLineSel', 'bg'),
        },
    },
}

nvim-cokeline will crash when there is no spaace left for the last buffer component. This won't happen if rhs is not defined.
E5108: Error executing lua ...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:186: attempt to index local 'last_removed_component' (a nil value)
stack traceback:
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:186: in function 'shorten'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:165: in function 'prepare'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:183: in function <...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:182>
E5108: Error executing lua ...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:186: attempt to index local 'last_removed_component' (a nil value)
stack traceback:
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:186: in function 'shorten'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:165: in function 'prepare'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:183: in function <...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:182>

Thanks for reporting, I'll look into this ASAP!

Added nil checks, should be fixed.

Just updated to the latest commit on master. I got another error this time:
E5108: Error executing lua ...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:148: bad argument #2 to 'rep' (number expected, got no value)
stack traceback:
	[C]: in function 'rep'
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:148: in function 'shorten'
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:204: in function 'shorten'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:165: in function 'prepare'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:184: in function <...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:183>
E5108: Error executing lua ...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:148: bad argument #2 to 'rep' (number expected, got no value)
stack traceback:
	[C]: in function 'rep'
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:148: in function 'shorten'
	...hare/nvim/lazy/nvim-cokeline/lua/cokeline/components.lua:204: in function 'shorten'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:165: in function 'prepare'
	...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:184: in function <...share/nvim/lazy/nvim-cokeline/lua/cokeline/rendering.lua:183>

Also, would it be nice to have truncation for the custom elements on the right (text content truncation is enough)?

Interesting. What version of Neovim are you using? And yes, I'll look into truncating right elements as needed.

It seems to work correctly now. Thanks for the quick fix!
If right element truncation can be done, should I open another issue requesting for it? Or else we can close this one, I suppose.

I'm gonna close this one and create an issue marking that as a planned feature. Thanks! Glad it works :)


uguid: Fix non-upper-case-globals linter warning

Currently the guid! macro creates a const called g, this triggers the non-upper-case-globals lint:
https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#non-upper-case-globals

Codecov Report

Merging #137 (705ec40) into main (2c9caad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   94.33%   94.33%
=======================================
  Files          14       14
  Lines        1500     1500
=======================================
  Hits         1415     1415
  Misses         85       85


Remove cursor from cache when set to default

Fixes #32486
The cache doesn't seem to hold information necessary to set the cursor, so removing it makes sense in this case.

Superseded by #32518.


fix "torrent file button grayed out for old torrents (anicache.com link)"

…e exists

Coverage increased (+0.05%) to 39.84% when pulling 15c8baa774c5888de069e4a6b882d174ba8f22c0 on owo into 5b1c6aed4e29fc6da5377f3756f44ba8536fbf70 on dev.


Update contributor guide for hatch

resolves #164
Problem
The contributor guide referenced the previous development workflows using pip.
Solution
Update the contributor guide to reference hatch development workflows.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development, and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc.) or this PR has already received feedback and approval from Product or DX

in the About this document section we talk about how functional tests would require a database connection.
Should we provide an example of setting up for functional testing? or would it make sense to openly suggest using our ci/cd to test functional tests. (maybe thinking too much in a way for outward-facing/new hire setup docs)

just a nit from looking at link in slack:
the link to the functional tests link in top of Testing section seems to be dead.

Loving these updates!

in the About this document section we talk about how functional tests would require a database connection.
Should we provide an example of setting up for functional testing? or would it make sense to openly suggest using our ci/cd to test functional tests. (maybe thinking too much in a way for outward-facing/new hire setup docs)

Good catch, given we don't have functional tests at the moment, this reference should just be removed and then added back once we figure out how to incorporate the target adapter in the CI workflows.

just a nit from looking at link in slack:
the link to the functional tests link in top of Testing section seems to be dead.

Same as above, this reference just needs to be removed. I replaced it with a blurb about the fact that we're working on adding functional testing back in.

Should we also update a guide for dbt-tests-adapter for local testing as we can use functional testing there? few thoughts of useful context would be like how to reinstall the environment from a local repo to make sure your testing an adapter with most recent updates between the repos

in the About this document section we talk about how functional tests would require a database connection.
Should we provide an example of setting up for functional testing? or would it make sense to openly suggest using our ci/cd to test functional tests. (maybe thinking too much in a way for outward-facing/new hire setup docs)

I think we should leave that to the concrete adapter repos. It gets too complicated. I removed it for now, until we come up with a way to easily run functional tests against downstream repos.

Should we also update a guide for dbt-tests-adapter for local testing as we can use functional testing there? few thoughts of useful context would be like how to reinstall the environment from a local repo to make sure your testing an adapter with most recent updates between the repos

I updated the guide for this for GitHub updates. Per conversations this week, we may want to expand this to use local directories as well, but I'll leave that for a future PR.


[RDY] cmake: don't override cmakeDir when set

When dontUseCmakeBuildDir is true (aka the default), it overrides
cmakeDir regardless of the package configuration.
While packaging netbee, I needed to both keep dontUseCmakeBuildDir to
true (some hardcoded paths expect the build folder) and set cmakeDir
(since CMakeList.txt was in a subfolder) which proved impossible.
Here is the fix.
Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: cmake
Partial log (click to expand)
shrinking /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/bin/cpack
shrinking /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/bin/ctest
shrinking /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/bin/cmake
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/bin
patching script interpreter paths in /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2
/nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/share/cmake-3.10/Modules/CPack.STGZ_Header.sh.in: interpreter directive changed from "/bin/sh" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/sh"
/nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/share/cmake-3.10/Modules/Squish4RunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/sh"
/nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2/share/cmake-3.10/Modules/SquishRunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/5swiv9yffrx052zmdfis55kwglyb64sl-cmake-3.10.2...

Success on x86_64-linux (full log)
Attempted: cmake
Partial log (click to expand)
shrinking /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/bin/cmake
shrinking /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/bin/ctest
shrinking /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/bin/cpack
strip is /nix/store/mgyvr3kil9qv0mywikpi0dbli061bpg4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/bin
patching script interpreter paths in /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2
/nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/share/cmake-3.10/Modules/SquishRunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3r4wp5drzynkz6hccmjpifkzwgqbs5nb-bash-4.4-p19/bin/sh"
/nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/share/cmake-3.10/Modules/CPack.STGZ_Header.sh.in: interpreter directive changed from "/bin/sh" to "/nix/store/3r4wp5drzynkz6hccmjpifkzwgqbs5nb-bash-4.4-p19/bin/sh"
/nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2/share/cmake-3.10/Modules/Squish4RunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/3r4wp5drzynkz6hccmjpifkzwgqbs5nb-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/0mi0j5iw3q5q18xrxsq1j0fwk99s06ak-cmake-3.10.2...

I hadn't realize I could change the branch myself. It's done.

Success on aarch64-linux (full log)
Attempted: cmake
Partial log (click to expand)
shrinking /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/bin/cpack
shrinking /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/bin/ctest
shrinking /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/bin/cmake
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/bin
patching script interpreter paths in /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2
/nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/share/cmake-3.10/Modules/CPack.STGZ_Header.sh.in: interpreter directive changed from "/bin/sh" to "/nix/store/vnb8q2h7951gd551nm2vq2g6n8296g5b-bash-4.4-p19/bin/sh"
/nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/share/cmake-3.10/Modules/Squish4RunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/vnb8q2h7951gd551nm2vq2g6n8296g5b-bash-4.4-p19/bin/sh"
/nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2/share/cmake-3.10/Modules/SquishRunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/vnb8q2h7951gd551nm2vq2g6n8296g5b-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/ipwrqln1ln9d8gsb1mm75rymwwl3lqw6-cmake-3.10.2...

@LnL7 is that ok ?


feat: ILP over HTTP (InfluxDB compatibility)

Support for ILP over HTTP.
Features:

Basic auth
Bearer (token) auth
Auto-retry with timeout
Keepalive
Transactional flushes (i.e. restricted to a single table)

Additional minor Buffer API enhancements:

Table name count per buffer
Row count tally

For the related Python client changes, see https://github.com/questdb/py-questdb-client/pull/59


background-image css

What's the currently best solution to fixing the bug with file imports not working from css? There are a lot of old issues from ~June 2016 which suggest patching webpack, but I assume there are better ways of going about it now.
I'm talking about just doing this, for example:
const Wrapper = styled.div`
  background-image: url('${(props) => props.backgroundImage}');
`;

Where props.backgroundImage is 'img/background.jpg' for example.
When doing this the image doesn't show up at all, even though the path looks correct when inspecting the html element.

Have you tried simply:
import MyImage from '../images/background_image.png';

const Wrapper = styled.div`
  background-image: url(`{MyImage}`);
`;

? or 2. can you exclude image path as being the issue?

Importing it worked fine... for some reason my brain didn't realize I was working with a .js file now with styled-components.


spec.sh: enumerate cellular modems with USB addr included

Now that EVE supports multiple cellular modems, it is preferred to use USB addresses to reference modems from the device model. This is because interface names are not deterministic and depend on the order of modem initialization, which may differ on each boot.
It is therefore desirable for spec.sh to enumerate cellular modems with the USB address included.
Moreover, assigngrp is now properly set to avoid USB controller used for a modem to be accidentally assigned to an application.
Lastly, to make it easier for users to identify multiple attached modems, spec.sh obtains description for each modem using Hayes command ATI.

The JSON formatting code is slightly entangled

Maybe I would suggest something like that, but I don't mind to leave it as it is as well.
...

Your code snippet looks nice, thanks! I will try it out and get back. For now let's leave this PR open.

@OhmSpectator Your code looks better, but the problem is that it uses arrays which are not supported by Bourne shell:
/bin/sh
$ declare -A modemInfo
/bin/sh: 1: declare: not found

spec.sh should work when run inside the EVE debug container where we do not have more advanced shell, such as Bash.


fix: Allow babel 7 as dependecy of config and runtime

Summary

See issue #7433
Test plan

Not yet tested. I don't really know how to test with the packages actually being published as the problem is what version yarn places in the root node_module folder. This changes should allow yarn to not install babel-core v6 at all.
Fixes #7433

I would be glad with either or, but the current situation is quite painful so if #7016 might take some time I would still prefer a quick release with fixed dependency ranges. jest-config and jest-runtime works fine with 7.0.0-bridge.0 so if I remove version 6 manually and move 7.0.0-bridge.0 to the root of node modules, jest work again.

We've landed way too many breaking changes on master to be able to easily cut a patch. However, if @rickhanlonii wants to so that, I won't stand in the way 🙂

Can you use jest@beta?

We haven't landed babel 7 yet. However, we might wanna ignore the buggy Istanbul and roll a new beta release?

We'll be landing #7016 very soon (hopefully today, depending on if we care about Travis failing or not). At that point I'm sure we can convince some FB peeps to make an alpha release.
Thanks for the PR, though!


0.9.0 Master Issue

Tasks and issues that need to be completed to publish 0.9.0.
Generic Issues:

[x] #42

Actor Sheet Issues:

[x] #54
[x] #56
[x] #57
[x] #58

Item Sheet Issues:

[x] #45
[ ] #46
[x] #31
[ ] #48
[x] #49
[x] #50
[x] #53
[ ] #55
[x] #56
[x] #61

Chat Card Issues:

[ ] #52

New Item Types:
Migrations:

[x] #51

I think this issue may have outlived its usefulness. We can already filter issues by their milestone, and this issue isn't being updated with new tasks. We have 11 open issues for 0.9.0, but there are only 3 listed here, and to keep updating this issue adds another maintenance burden.
Closing this for now, but feel free to reopen it if you think there's good reason to.


Glia iOS Widgets SDK to 0.7.1

Do we not need to update Package.swift also?

@kuldar-daniel  good catch, thank you. Updated Package.swift.


Adding operators with different keyboard layouts (except US) doesn't work

Hello @ststaynov
We've met again, haha
I'm sorry but i don't understand what is mean this issue..
Can you write more detail of the issue?
Thank you :)

Hey again, the thing is that I have a German layout keyboard. I see that in this plugin you filter out keystrokes by event.which . This way when I press a '-' operator on my German keyboard it doesn't show up in the formula because the e.which is a different number than it would be on an US layout keyboard.

Hello, the same happens with spanish keyboard. I have to press 9 and 0 to draw parenthesis, when they are on 8 and 9 keys in my keyboard

Same problem with italian keyboard.
For example, when I type Shift + 9 I get ( instead of )
Italian Keyboard:

English Keyboard:


Community profile is missing important files

I see your community profile is missing this files
Can I send a PR

Not sure where you are getting that dashboard from, but for now I'll pass on this suggestion, thanks for the interest!

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Added support for documenting headers in @RequestMapping

Added documentation of headers from the headers attribute of @RequestMapping annotations
Fix for issue #1287

Thanks for the PR as you may have noticed the copyright check isn't upto date... ill need to fix it and merge it manually.

Should I change the copyright notice in the files I changed back to 2015 so that this PR can go through?

@ry4n-sc0tt sorry it took so long! thanks for the PR! :metal: