the page crased while searching "c++" keyword

Issue Summary
the page crased while searching "c++" keyword
Steps to Reproduce

the page crased while searching "c++" keyword

Ghost Version
5.62.0
Node.js Version
16.19.1
How did you install Ghost?
GHOST CLI & UBUNTU
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Issue Summary
the page crased while searching "c++" keyword
Steps to Reproduce

the page crased while searching "c++" keyword

Ghost Version
5.62.0
Node.js Version
16.19.1
How did you install Ghost?
GHOST CLI & UBUNTU
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[x]  I agree to be friendly and polite to people in this repository

search "+c" also crashed

Issue Summary
the page crased while searching "c++" keyword
Steps to Reproduce

the page crased while searching "c++" keyword

Ghost Version
5.62.0
Node.js Version
16.19.1
How did you install Ghost?
GHOST CLI & UBUNTU
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[x]  I agree to be friendly and polite to people in this repository

search "+c" "C}[" "C]/" "+/N" also crashed

search "+c" "C}[" "C]/" "+/N" also crashed

enther these keywords except for double quotation marks

Thanks for the report @JaydenForYou. There was a regular expression escaping bug that I was able to reproduce and have prepared a pull request to fix. I need another developer to test it before it is merged.

Thanks for the report @JaydenForYou. There was a regular expression escaping bug that I was able to reproduce and have prepared a pull request to fix. I need another developer to test it before it is merged.

let's see if i can help you.i got someone with dev enviroment to test it.

Thanks for the report @JaydenForYou. There was a regular expression escaping bug that I was able to reproduce and have prepared a pull request to fix. I need another developer to test it before it is merged.

passed.bug fixed.tks

Fix released: https://github.com/TryGhost/Ghost/releases/tag/v5.65.0


Support for ELB

currently WIP in a branch

https://github.com/simple-machines/ansible-template#elb


Unable to click continue in iOS pop (ASWebAuthenticationSession)

Description
Unable to click continue for iOS auth pop implemented using

[x] I have tested this issue on the latest Detox release and it still reproduces

Reproduction
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.

Implement a iOS ASWebAuthenticationSession login
click the login
A pop iOS native pop will be thrown
Detox is unable to click the "continue button"

Expected behavior
Detox should be able to click the continue button in the pop,
In the broser detox should be able to set the login credentials
Screenshots
Pop up screen

Environment (please complete the following information):

Detox: 16.5
React Native: 16.8.6
Node: 13.6
Device: tried in both Iphone x and Iphone 8
Xcode: 11
iOS: 13
macOS: catalina

Logs
there is not error logs ,
the detox fails on trying to interact with the next element

I tried the solution mentioned in the below stackoverflow issue,
but it doesn't work

This has been asked multiple times. We are not able to interact with this alert, as it is an alert presented from a different process. Please mock your API to not display it.


Write Converter against a form object

Write a test, that compares a standard request with a json ones https://github.com/saxulum/saxulum-rest-crud/blob/master/src/Request/ContentToFormDataConverter.php


Spring 5 support for spring-kafka-test

Hi all,
Can spring-kafka-test support spring 5 in the next release ?
I can help on that subject if needed.
Thx !

Would you mind being more precise?
Spring Kafka project is based on Spring 5 since version 2.0: https://docs.spring.io/spring-kafka/docs/2.0.0.RELEASE/reference/html/_introduction.html#compatibility

spring-kafka-test has spring-retry dependency wich refeers to a spring 4.x version and that leads my tests to have some class not found..
I did make a PR on it https://github.com/spring-projects/spring-retry/pull/117 to upgrade it.

Well, that's not so easy to move Spring Retry to Spring 5, because the last one requires Java 8 minimum and for that reason we would need to start a version 2.0.
That even might be a bad idea, but we don't have themes for 2.0 version yet.
On the other hand we haven't done that yet just because the current Spring Retry version is fully compatible with Spring 5 - we just only need to have proper dependencies in the classpath!
To fix the problem in your project you need to exclude Spring 4 transitive dependencies from the spring-retry dependency:
compile ("org.springframework.retry:spring-retry:1.2.2.RELEASE") {
    exclude group: 'org.springframework'
}

I would say that exactly this fix has to be done here in this Spring Kafka project.

I'm not sure to well understand why you don't want to upgrade versions, but
ok. I did try to exclude spring-retry and spring-core from transitive test
dependencies and it hasn't been enough. I'll try to exclude the whole
groupId and let you know. Thanks for your time
Le ven. 29 juin 2018 à 17:07, Artem Bilan<EMAIL_ADDRESS>a
écrit :

Well, that's not so easy to move Spring Retry to Spring 5, because the
last one requires Java 8 minimum and for that reason we would need to start
a version 2.0.
That even might be a bad idea, but we don't have themes for 2.0 version
yet.
On the other hand we haven't done that yet just because the current Spring
Retry version is fully compatible with Spring 5 - we just only need to have
proper dependencies in the classpath!
To fix the problem in your project you need to exclude Spring 4
transitive dependencies from the spring-retry dependency:
compile ("org.springframework.retry:spring-retry:1.2.2.RELEASE") {
exclude group: 'org.springframework'
}
I would say that exactly this fix has to be done here in this Spring Kafka
project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-projects/spring-kafka/issues/719#issuecomment-401383261,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATfWRb1K82qWU6MVOkD-axyTK-_wF25Uks5uBkK0gaJpZM4U9IEs
.

Just bumping version is not enough to start a new major version.
We can't do what you suggest in your PR in the current minor version: it is going to be a big breaking change for our users and we are very reluctant to make breaking change.
Another argument do not start a new major version I've explained before: Spring Retry works well with the latest Spring 5.0 - just need to adjust dependencies in your project a bit!
Otherwise we would need to support two major versions in parallel.
Nevertheless, there is no reason to start a new major version because everything is compatible in the current state.
I didn't tell you to exclude spring-retry. Its Spring transitive dependencies must be excluded.
We do that explicitly in other Spring 5 based projects, but have missed somehow here in Spring Kafka. That's what I suggest to do here in borders of this ticket.
Your PR to Spring Retry is a different story and I already explained my vision for that: I'm afraid it is going to be reject as non-valuable and fully breaking changes fix.

The PR is now opened about this issue : https://github.com/spring-projects/spring-kafka/pull/721


Migration: stack trace edits should include 'mark late'

I think this is a duplicate of https://github.com/dart-lang/sdk/issues/41389


Fixed misspelling of Styles

Docs Build status updates of commit b081609:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/how-to-apply-a-style-to-a-paragraph-in-a-word-processing-document.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@blakeholl DUH thank you so much for catching and fixing this.


fixing replace logic

The if condition didn't take account for allowing the current document to be replaced.

The debug logging should be out now.


Update yash-dj-films-and-studio.is-local.org

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

Link to Website

stopped updating records for 3 days removed and added and nameservers were changed

#1309


nanovg_d3d9: Stencil for path filling is bugged

Fills rendered with D3D9nvg__fill seems to have wrong stencil operations as the CCW part is always kept.

Maybe the two setencil mode is needed here?
Regards

Seems like this might be a problem on dx11 as well:

Thanks for looking into this! Wouldn't you want triangle strips instead of triangle fans?

Thanks for looking into this! Wouldn't you want triangle strips instead of triangle fans?

It wont make much sense, if you look at the dumped data of the shape, they're just sequential points, wich only allows trianglefan to be used, looking into implementation details, the GL implementation uses glStencilOpSeparate with GL_FRONT and GL_BACK stencil buffers, wich means the front-facing and back-facing triangles, in other hand, d3d9 has a concept of two-sided stencil, wich on paper should be the same, but it seems specifically respecting the winding order of the paths, so it seems theres no matching api on d3d9 for this gl feature, or im not able to replicate...
one way to check this would be draw the stencil, then draw it again with inverted set of points and using an EQUAL stencil comparison to just keep the pixels matching in both stencils, while it should produce the correct shape, theres an extra primitive rendering wich is better to avoid.
other approach may change the geometry inverting some points to make the two-side stencil mode to work.
in my case, i did not like both of those solutions, so ive used a tesselator library that just generated indices for indexed primitive rendering, this allows to use the same vertex data that is already on the pipeline, but render them  as TRIANGLELIST with the indices generated by the tesselator.
This way i can remove the convex fill, as the tesselattor supports it, and all the consecutve shapes can be done in a single call, as every triangle is independent.
I still have to fix the AA fringes, but i dont know if i will do it as i have enabled multisample for this call and the result is good
So, no AA, no convex and indices allocator are a bit broken but this is shaping correctly at least: https://pastebin.com/uCvz2KAD


Death Loop with this mod installed

I'm sure it's a conflict somewhere, but as my pack has over 250 mods, I'm not taking the time to test each individual mod to see where the conflict is. I don't have any error information or anything like that, cause there's no errors printed and no crashes caused...it just causes the deathstate of a player who has died to stay in perma-death. So upon respawning, you immediately are dead again. Teleporting somewhere else doesn't help. Creative mode/op doesn't help. The only thing that fixes it is deleting the playerdata.
This is the version of the pack that has this issue: https://minecraft.curseforge.com/projects/jakspack/files/2547306

I can't run the modpack so I can't test it. I don't have enough ram
But, I'm pretty sure it's not my mod that's causing this. I don't touch the player death / respawn or whatever.

I dunno. I all I do know is that we have the issue with PB installed, and don't have the issue when it isn't. shrug I just wanted you to know.

BTW, this happens in singleplayer as well as multiplayer (we don't use sponge, so it's not that either)

I run it with 6gb.
sadly I have only 6gb so can't go over 5gb :/

Do you have potion core installed in the pack? Seems like is some kind of incompatibility with it.

Yes. One of the mods we are running in my pack requires it.

It is then. The PotionCore causes it. just tested it.
I'll try to reach the dev and talk with him

Removing one of the mods will make the player be able to respawn properly again?

Only after deleting player data in my experience...but I never attempted removing Potion Core obviously

Sadly I got no response from the Potion core guy.
I'll try again


Toggling true/false in ADVANCED makes certain definitions PARTIAL and unable to be toggled.

GD 1.5.0 bukkit
Paper 1.16.1 build 135
If you toggle a definition from the PRESET page, things work fine. But as soon as you toggle the value in the ADVANCED tab, other definitions using part of the same contexts no longer are able to be toggled. It appears that it's anything with no target, will affect definitions with the same source, but that have targets.
                    player-block-interact {
                        contexts=[
                            "gd_claim_default=user"
                        ]
                        default-value=false
                        description="Controls whether players can interact with blocks.\n&bNote&f: This does not include inventory blocks such as chests."
                        enabled=true
                        permissions=[
                            "flag=interact-block-secondary, source=minecraft:player"
                        ]

Change this PRESET to TRUE, go to ADVANCED under CLAIM and set it to FALSE
You will note that on the PRESET tab now, that the sleep definition can no longer be toggled.
Will affect any definition that exists that uses interact-block-secondary, source=minecraft:player as it also affects a definition viveleroi is using below that I initially tested this with, and only realized the problem was with touching the flag set by player-block-interact in ADVANCED.
                    barrel-access {
                        contexts=[
                            "gd_claim_default=user"
                        ]
                        default-value=false
                        description="Controls whether a player can access barrel inventories."
                        enabled=true
                        permissions=[
                            "flag=interact-block-secondary, target=minecraft:barrel, source=minecraft:player",
                            "flag=interact-inventory, target=minecraft:barrel, source=minecraft:player"
                        ]
                    }

I understand that PARTIAL when you change something in ADVANCED, but not when the contexts are different. There is no target in the player-block-interact flag that is set, where there is in the sleep and barrel-access ones.

Fixed in commit https://github.com/bloodmc/GriefDefender/commit/b5b61b8b7a436b14ebd551f495670c2ae8a68d50


Create the home page

Purpose

The purpose of this PR is to fix #3
Goals

The UI was developed referring the Home Page mockup
Text in Ant Design Typography is utilized to add all the text
Testimonial section was created using Carousel in Ant Design
Questions and answers in FAQ sections were showcased using Collapse in Ant Design
Separate components were defined to display each Testimonial Card and FAQs
Separate CSS files are used to describe common styles related to elements
Ant Design Grid is used to create the UI responsively
The UI is responsive for all the devices defined in the default chrome

Approach

The UI of the home page of ScholarX version 2 was implemented using Grid, Typography, Carousel, Card, Button and Collapse components in Ant Design. Refer Ant Design documentation for more information.
Screenshots

Main title and the statistics section

Testimonials section

Success stories and archive section

FAQs for mentors and mentees section

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[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
[ ] I have made corresponding changes to the documentation

Thank you for the support @anjula-sack !


Add article type into item-tags and refactor class names to be relevant

Not sure whether this is the same pattern. Looking at the latest designs:

We have a few differences:

Varying delimiters (nothing between the type and date, a hyphen (I hope a dash was meant!) between the date and issue name)
Different colour
Varying case (date in lower)

I think the differences in colour and case can be handled legitimately using pattern variants. The delimiter differences might make them different patterns though.

Putting this on hold until @chugginselifesciences gets back off holiday as there are some questions on design.

Edit: separate to this, but I've just noticed that there are different colours in

(Might be linked vs unlinked?)

My assumption for these was that the "Categories and tags" would always be links as I've never seen otherwise.
If I remember correctly I added the "JEL classification" based on what is currently in an IJM issue, but I don't actually know for sure what it is, whether it's needed for MVP, or if they should be links.
@Maelplaine do you know more about the JEL classification? Do you know when/why we would have items in the "Categories and Tags" that aren't links?

@chugginselifesciences My understanding is that the MVP will support different groups of keyboards. The name of the group of keywords will come from the XML (in that example JEL Classification). There is no need to hardcode the name of these groups (Organism, JEL Classification, Classification & Tags...) in Libero Publisher. Is that correct @thewilkybarkid ?
I don't know why some items in the list of tags aren't linked. If you click on one tag then you will be redirected to a search page showing the pages that contain this keyword. I would expect the same behaviour for each keyword group.

@chugginselifesciences My understanding is that the MVP will support different groups of keyboards. The name of the group of keywords will come from the XML (in that example JEL Classification). There is no need to hardcode the name of these groups (Organism, JEL Classification, Classification & Tags...) in Libero Publisher. Is that correct @thewilkybarkid ?

Yep, if it comes with a human-readable title then we can display it. Otherwise if it comes with a certain machine-readable type we can display that too (at the minute https://github.com/libero/jats-support/blob/84a3d3e81731ef5d31aaed01e66938730788674c/src/support.sch#L107-L108, which uses a translation file (https://github.com/libero/browser/blob/dc3a02d8a8c9a75bac19e1a99d55d39b591d94fb/vendor-extra/JatsContentBundle/src/Resources/translations/messages%2Bintl-icu.en.xlf#L11-L17), hence why we can only support a set list).

Closing PR as reverting article type back to it's own pattern and renaming it item details for the time being.


Fix address-sanitizer error when parsing literal strings having invalid UTF-8 characters

The inner iterator in parse_ml_literal_string() and parse_literal_string() was being reset to an iterator into a different region of memory.  Fix that by using the same iterator initialization as is used in the parse*_basic_string().
Fixes #199.
Demonstration of the fix:
poc2.zip
$ unzip poc2.zip
$ g++ -fsanitize=address -g -o issue199 issue199.cpp && ./issue199 poc.toml ; echo $?
[error] parse_ml_basic_string: invalid utf8 sequence found
 --> poc.toml
   |
 1 | str3 = 'C:\highway\to\�he\danger\zone'
   |                       ^--- here
1

LGTM. Thank you!


Book Member

The member should be able to book other members on the rides they offer. Your system should list all rides the member offers with the number of available seats for each ride (i.e., seats that are not booked). If there are more than 5 matching rides, at most 5 will be shown at a time, and the member will have the option to see more. The member should be able to select a ride and book a member for that ride by entering the member email, the number of seats booked, the cost per seat, and pickup and drop off location codes. Your system should assign a unique booking number (bno) to the booking. Your system should give a warning if a ride is being overbooked (i.e. the number of seats booked exceeds the number of seats offered), but will allow overbooking if the member confirms it. After a successful booking, a proper message should be sent to the other member that s/he is booked on the ride.

Waiting on #55


Test for correct permissions

I attempted to assign the farcy user read-only access to a repository. While the API had the correct OAuth permissions needed, it didn't have the correct permissions to perform the set/update pull request status. No exception occurred either.
Perhaps set_status returns some value if it actually occurred, or perhaps there is some way to verify that the authenticated user actually has the correct access to (1) obtain the code (2) make comments and (3) set/update the PR status.

Closing as I'm not planning to implement since we are moving away from using farcy.


[refer #379] Add inactiveConnectionDeadline configuration settings pa…

…rameter

Coverage remained the same at 46.984% when pulling 4086aec438057c7c32ec6214252949e7085865e1 on i379 into 539a4d340b56cdb9a47cd9d8d07bcb7c58109e25 on master.


[AutoDiff] Checks for inout arguments in differentiable functions.

cc @rxwei

@rxwei I added a test but it doesn't seem to throw the expected error. Do you see something clearly wrong with the added check?

This is now fixed and the tests pass locally.

@rxwei let me know when the auto-diff changes are complete and I can go ahead with the inout support implementation.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@rxwei could you please let me know what the next steps are and when I can start working on them?


Non-stop notifications cycling after connecting to 2019 Rav4

Bug Report
Non-stop notifications cycling after connecting to 2019 Rav4
Preconditions

Pair Android device via BT to the Rav4
Make sure all apps are logged in and permissions enabled on the phone. You do not need to login to the apps in Entune 3.0

Reproduction Steps

Restart the phone
Launch Toyota Entune 3.0 App Suite Connect on the phone
Turn on the car and press the Apps button. Ensure that apps show up and are connected.
Turn off the car and ensure the device disconnects from BT

Expected Behavior
No SDL notifications would be seen
Observed Behavior
Constant notifications:
Toyota Entune (with Toyota logo) "Ready to connect to your vehicle, Tap to launch"
Toyota Entune  (with SDL logo) "SmartDeviceLink Connected to"  (This is not a typo, it just cuts off)
Toyota+Alexa (with Alexa logo) "Toyota+Alexa is running"
Ford+Alexa (with Alexa logo) "Ford+Alexa is running"
Notifications that keep coming back every ~10 seconds. Each one has a timer that starts at 00:00 and counts down to -00:05 then disappears:
Toyota+Alexa (with SDL Logo) "SmartDeviceLink Waiting for connection..."
OS & Version Information

Google Pixel 2 XL
Android 10
2019 Rav4

SDL Apps:

Ford+Alexa 1.0.17
Pandora 2001.2
Toyota Entune 3.0 App Suite Connect 1.1.9
Toyota+Alexa 1.0.8

This has happened 3/3 times tried

Here's a video:
Non-stop Notifications.zip

@kshala-ford @mrapitis
I made a ticket for the issue that I saw in Toyota systems, since I know you're starting to look at Android notifications and this is one of the pieces of that puzzle

Is it possible you narrow down the apps a little bit? This list is very long and it would be good to understand if it's a bad actor or not. Also can you confirm all of these apps have been SDL certified?

@joeygrover working with @bilal-alsharifi now to simplify and get logs. All the apps I have are from the play store, how can we figure out if they're officially SDL certified?

You can use your OEMs page to view app partners that are available. Looking through our records only Webex Meet and Ford+Alexa are currently certified.

Drastically cut down on apps required to do the test

Logcat logs,
logcat_02-06-2020_14-23-35.txt

Most of the apps that are used to reproduce the steps use old versions of sdl that have some issues related to the router service:
Pandora uses 4.6.3
Toyota Entune: 4.7.2
Toyota+Alexa: 4.7.2
These issues were fixed in later versions of sdl.

After testing with @MichaelCrimando, we couldn't reproduce the issue on our Pixel 2XL or Pixel 3XL. The issue is only reproducible currently on @MichaelCrimando Pixel 2XL phone. Is it possible that other apps installed on that phone are affecting the result?

@bilal-alsharifi possibly, but I have 110 apps on my phone. I think we just gotta go based on logs at this point

It looks like the issue is happening on some Android devices because Android takes some extra time (~5 seconds) to dismiss the router service notification after calling this.stopForeground(true):
https://github.com/smartdevicelink/sdl_java_suite/blob/797b7a14a7fd67fdf6faa504865e4e22228858ef/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java#L1518


🔧 Update Node.js version in .nvmrc

🔧 Update node.js version in .nvmrc
Related to https://github.com/tiangolo/full-stack-fastapi-template/discussions/1189

Great, thanks! :cake:


Android/NVPACK detection fixes, new helper file

Here, made it working for Tegra NDK.
Refactored cross-compilation section.
Added select_compute_arch helper module to facilitate setting nvcc arch parameters.
Some outdated checks and settings cleaned up.

I think I should open a new request


Fluentd read a file from its beginning again when CPU load is 100%

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
Fluentd starts to read a log file from its beggining after Host CPU usage goes 100%, instead of where it was reading. Fluentd was not restarted, but the application which creates the log file was restarted. Inode of the log file might have changed.
To Reproduce
Was not able to reproduce this error.
Expected behavior
Fluentd starts to read from middle of a file instead of begining when CPU load gets down.
Your Environment

Fluentd or td-agent version: td-agent 1.2.6
Operating system:

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Kernel version: 3.10.0-693.11.6.el7.x86_64

If you hit the problem with older fluentd version, try latest version first.
Your Configuration
<system>
  workers 1
</system>

<worker 0>
  <source>
    @type tail
    @log_level error
    path /nn/myapp/events/events.today
    tag as.event
    refresh_interval 1
    <parse>
      @type json
      enum json
    </parse>
    pos_file /tmp/as-event.pos
  </source>

  <match as.event>
    @type kinesis_streams_aggregated
    ...
  </match>
</worker>

Your Error Log
2020-02-03 00:00:01 +0000 [info]: #0 flushing all buffer forcedly
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.32
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.35
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.28
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.29
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.35
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.30
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.58
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.68
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.61
2020-02-03 09:21:17 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.64
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.54
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.32
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.26
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.28
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.30
2020-02-03 09:21:18 +0000 [warn]: #0 Retrying to request batch. Retry count:   3, Retry records:   1, Wait seconds 1.03
...
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   4, Retry records:   1, Wait seconds 2.36
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.60
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   7, Retry records:   1, Wait seconds 21.95
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   3, Retry records:   1, Wait seconds 1.24
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   2, Retry records:   1, Wait seconds 0.51
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   7, Retry records:   1, Wait seconds 17.95
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   5, Retry records:   1, Wait seconds 4.43
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   5, Retry records:   1, Wait seconds 4.18
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   4, Retry records:   1, Wait seconds 2.36
2020-02-03 09:21:25 +0000 [warn]: #0 Retrying to request batch. Retry count:   3, Retry records:   1, Wait seconds 1.34
2020-02-03 09:21:26 +0000 [warn]: #0 Retrying to request batch. Retry count:   7, Retry records:   1, Wait seconds 19.23
2020-02-03 09:21:26 +0000 [error]: #0 Could not put record, Error: ProvisionedThroughputExceededException/Rate exceeded for shard shardId-000000000000 in stream kinesis-stream under account 123., Record: [["{\"UnixTimestamp\":\"1580688068415\",\"EventID\":\"KISkyv0YWi8nZg6g\"}"],
2020-02-03 09:21:26 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.29
2020-02-03 09:21:26 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.26
2020-02-03 09:21:26 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.28
2020-02-03 09:21:26 +0000 [warn]: #0 Retrying to request batch. Retry count:   1, Retry records:   1, Wait seconds 0.33
...
2020-02-03 09:25:02 +0000 [warn]: #0 Retrying to request batch. Retry count:   6, Retry records:   1, Wait seconds 10.35
2020-02-03 09:25:02 +0000 [warn]: #0 failed to write data into buffer by buffer overflow action=:throw_exception
2020-02-03 09:25:02 +0000 [warn]: #0 emit transaction failed: error_class=Fluent::Plugin::Buffer::BufferOverflowError error="buffer space has too many data" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/buffer.rb:269:in `write'" tag="as.event"
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/buffer.rb:269:in `write'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/compat/output.rb:364:in `block in handle_stream_simple'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:866:in `write_guard'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/compat/output.rb:363:in `handle_stream_simple'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:856:in `execute_chunking'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:779:in `emit_buffered'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/event_router.rb:96:in `emit_stream'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:397:in `receive_lines'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:515:in `wrap_receive_lines'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:739:in `block in handle_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:783:in `with_io'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:717:in `handle_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `block in on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `synchronize'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:545:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:519:in `attach'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:268:in `setup_watcher'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:340:in `update_watcher'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:608:in `call'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:608:in `on_rotate'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:833:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:543:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:646:in `on_change'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run_once'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2020-02-03 09:25:02 +0000 [warn]: #0 failed to write data into buffer by buffer overflow action=:throw_exception
2020-02-03 09:25:02 +0000 [warn]: #0 emit transaction failed: error_class=Fluent::Plugin::Buffer::BufferOverflowError error="buffer space has too many data" location="/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/buffer.rb:269:in `write'" tag="as.event"
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/buffer.rb:269:in `write'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/compat/output.rb:364:in `block in handle_stream_simple'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:866:in `write_guard'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/compat/output.rb:363:in `handle_stream_simple'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:856:in `execute_chunking'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/output.rb:779:in `emit_buffered'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/event_router.rb:96:in `emit_stream'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:397:in `receive_lines'
2020-02-03 09:25:02 +0000 [warn]: #0 Retrying to request batch. Retry count:   7, Retry records:   1, Wait seconds 19.90
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:515:in `wrap_receive_lines'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:739:in `block in handle_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:783:in `with_io'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:717:in `handle_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `block in on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `synchronize'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:713:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:545:in `on_notify'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin/in_tail.rb:646:in `on_change'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run_once'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
  2020-02-03 09:25:02 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.6/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2020-02-03 09:25:02 +0000 [warn]: #0 failed to write data into buffer by buffer overflow action=:throw_exception

Additional context

Hi @didhd we got similar problem on our two different installations. Have you found a solution?

@yusufgungor Nope, we just decreased the size of the log file to 1/10.

Hi @didhd , thanks for your reply. In our case log source is cloud service provider managed docker daemon and we are not be able to decrease the log file size.


Generating dna sequence embeddings with evaluation mode or not

Hi, I notice that in the example code, the model embeddings generation do not contain model.eval() instruction, will this cause the model to have different embeddings under the same inputs? Thanks.

Hey, the from_pretrained function by default does model.eval() so it's fine.


HELP

i need Video how to install plugins :P please help me :P Shift + mouse right ?

You would use the plugin command, whilst the game is running.
Since you need only a video of how to install plugins then I guess you have already passed the installation phase.
Do search a plugin you can use the command plugin search [keyword] which the keyboard will be a filter upon searching for a plugin.
You can then install tha plugin by its name Case Sensitive using the plugin install command for example plugin install MassStart.
That plugin will then be installed without having to restart. Some plugins needs to be configured for preference before use, which there will be a plugin folder and the plugin names containing in that folder the plugin directory, and configurations and other files.
Good luck

And yes, if you have ogarul dependencies installed then yes. If you go inside the src folder of Ogar-unlimited then shift + right click on an empty space inside where files and folders are listed then you can select an option that says Open command window or prompt here.
Then, a prompt/console/basic terminal will open and then you would run ogarul simply typing node index.
Then whilst the game is loaded, you can use the game ogarul commands using the opened command window which I explained above.

you have the video ? :P i need your facebook :P

Um, are you using cigar? Then you can't use these plugins.

And I don't have facebook. My fiancé won't let me, and I won't let her have one lol.

@Agarian close pplease

@dinhduynhat You can only use these plugins in OgarUL.


[QUESTION] 安装hyperf/validation后 启动无反应

安装hyperf/validation后 启动无反应 卸载后能正常启动
php版本 7.4.7
swoole
Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.5.5
Built => Oct 19 2020 14:17:30
coroutine => enabled
kqueue => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777223/D16777223
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144
mac系统

提供完整复现代码，组件信息等。

提供完整复现代码，组件信息等。
发现卡在这个位置

组件信息
"php": ">=7.2",
"ext-swoole": ">=4.5",
"hyperf/cache": "~2.0.0",
"hyperf/command": "~2.0.0",
"hyperf/config": "~2.0.0",
"hyperf/db-connection": "~2.0.0",
"hyperf/framework": "~2.0.0",
"hyperf/guzzle": "~2.0.0",
"hyperf/http-server": "~2.0.0",
"hyperf/logger": "~2.0.0",
"hyperf/memory": "~2.0.0",
"hyperf/process": "~2.0.0",
"hyperf/redis": "~2.0.0",
"hyperf/database": "~2.0.0",
"hyperf/json-rpc": "~2.0.0",
"hyperf/rpc": "~2.0.0",
"hyperf/rpc-client": "~2.0.0",
"hyperf/rpc-server": "~2.0.0",
"hyperf/service-governance": "~2.0.0",
"hyperf/constants": "~2.0.0",
"ext-json": "*",
"hyperf/translation": "^2.0",
"hyperf/validation": "^2.0"
没有错误信息

composer dumpautoload -o 执行下

还是不可以

composer dumpautoload -o 执行下

composer analyse

composer analyse

复现代码打个包吧

复现代码打个包吧

我就是从官网下载的 然后加载hyperf/validation 就启动不起来了

复现代码打个包吧

找到问题了 PHP内存太小了  调高就好了


Initial commit

A simple golang url-shortener with:

in memory storage
a local k8s development environment
CI Buildable

GIF

better now @vicentgodella ?


nil key in seaborn-data

Dataset below in seaborn-data, #to_a, #to_table.column_names ,etc will fail.

airquality
attenu
presidents

This is because these datasets have nil key as an index column.
I will make a fix to change nil to :index.

(FYI)
Another way is to remove column with nil key like Rdatasets .
# in rdatasets.rb
      CSV.open(@data_path, headers: :first_row, converters: :all) do |csv|
        csv.each do |row|
          record = row.to_h
          record.delete("")  # <==(line 88)
          record.transform_keys!(&:to_sym)
          yield record


laserscan2costmap occupancy grid map orientation not right

Laser scan doesn't align with ring map, the laser should rotate clockwise pi/2 to align with the map.
it seems that following line in laserscan2costmap.cpp is wrong,
static double laser_offset = fabs(scan.angle_min);

should be
static double laser_offset = scan.angle_min + 2 * M_PI;

Thanks for using Autoware and for your question. However the issue tracker is for posting confirmed bugs and feature requests.
We ask that you please ask questions on the Autoware Discourse category following our support guidelines: https://github.com/autowarefoundation/autoware/wiki/Support-guidelines. Please pay particular attention to the information we ask you to provide.

Thanks for using Autoware and for your bug report.
Your report does not give us enough information to reproduce the bug. If we cannot reproduce it, we will be unable to find the cause and fix it. We ask that you please follow our support guidelines when making a bug report: https://github.com/autowarefoundation/autoware/wiki/Support-guidelines. Please pay particular attention to the information we ask you to provide.
If you think that this may not be a bug but is instead a problem in your use of Autoware, then consider closing this bug report and opening a topic on the Autoware Discourse category requesting help. This may get you past your problem faster. Link to your new topic from this issue so we know where to continue the discussion.


Question regarding status of adrenal gland hyperfunction MONDO:0006640

adrenal gland hyperfunction MONDO:0006640
Has comment
"Editor note: consider obsoleting as is phenotypic feature"
Will this be obsoleted or maintained? There is an active UMLS entry for the same concept, so if this will be maintained, GTR/MedGen will add the Mondo ID to our data.

If you will use this term, we'll keep it!
@sabrinatoro could you please remove the comment and add a seeAlso to this ticket? Thanks!


Do not fail workflow if Codecov results are not uploaded successfully. That step is too brittle and fails intermittently.

Codecov Report

Merging #21 (a86bec2) into main (137f1f9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          153       153
=========================================
  Hits           153       153

Continue to review full report at Codecov.

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


Encoding performance of DER and XER

This is not really a bug report, but more of a question regarding performance. (Honestly, I suspect a bug in my own code, but insofar have been unable to find it.)
I'm trying to evaluate a certain ASN.1 schema using asn1c. I've written a simple test that measures the time needed to encode a bunch of messages in memory, and I find it strange that XER encoding outperforms DER encoding by roughly a factor of 2. Is such a result expected?
Here's the code doing the measurement.
// byte consumer func
print2fp(const void *buffer, size_t size, void *app_key) {
    FILE *stream = (FILE *)app_key;
    if (fwrite(buffer, 1, size, stream) != size)
        return -1;
    return 0;
}

// utility for measuring time
long double duration(const struct timeval *start, const struct timeval *stop) {
    return (long double)(stop->tv_usec - start->tv_usec) / 1000000 + (long double)(stop->tv_sec - start->tv_sec);
}

Each code snippet gets the following variables
struct timeval start, stop;
long double total = 0.0;

char buff[200];
size_t errSize = sizeof(buff);
size_t encodedSize;
size_t iterations = 100000;
FILE *dev_null = fopen("/dev/null", "w");

DER encoding
for (uint64_t i = 0; i < iterations; i++) {
    asn_enc_rval_t ec;
    gettimeofday(&start, NULL);
    // could also invoke with der_encode(&asn_DEF_Message, message, NULL, NULL)
    // but the same does not work with xer_encode, so I'm using /dev/null
    ec = der_encode(&asn_DEF_Message, message, print2fp, dev_null);
    gettimeofday(&stop, NULL);

    assert(ec.encoded != -1);
    assert(asn_check_constraints(&asn_DEF_Message, message, buff, &errSize) == 0);
    encodedSize = ec.encoded;

    total += duration(&start, &stop);
}

XER encoding:
for (uint64_t i = 0; i < iterations; i++) {
    asn_enc_rval_t ec;
    gettimeofday(&start, NULL);
    // invoking xer_encode(&asn_DEF_Message, message, XER_F_BASIC, NULL, NULL) segfaults,
    // because the function for consuming bytes (set to `NULL`)  is being dereferenced,
    // so I use /dev/null, instead
    ec = xer_encode(&asn_DEF_Message, message, XER_F_BASIC, print2fp, dev_null);
    gettimeofday(&stop, NULL);

    assert(ec.encoded != -1);
    assert(asn_check_constraints(&asn_DEF_Message, message, buff, &errSize) == 0);
    encodedSize = ec.encoded;

    total += duration(&start, &stop);
}

Running these two functions on a series of messages I consistently get that encoding DER is about a factor of 2 slower than XER. I find this surprising, since in the analog decoding example, DER consistently outperforms XER.

How fast is BER encoding?  DER is usually used in cryptographic operations where performance is less important.


Fix aiopg tests

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1178 opened

Start Time: 2021-06-30T15:49:00.358+0000

Duration: 29 min 56 sec

Commit: ff2b912d10d29f70659663d6f8e5d4e092597f57

Test stats :test_tube:

Test
Results

Failed
4

Passed
9432

Skipped
8447

Total
17883

Trends :test_tube:

Test errors
Expand to view the tests failures
Initializing / Test / Python-python-3.8-4 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests

Expand to view the error details
 assert 100 < 0.5095749999100008

Expand to view the stacktrace
 instrument = None, cursor = <aiopg.connection::Cursor name=None, closed=False>
elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7fab41b60fa0>

    async def test_select_sleep(instrument, cursor, elasticapm_client):
        elasticapm_client.begin_transaction("test")
        await cursor.execute("SELECT pg_sleep(0.1); SELECT * FROM test")
        elasticapm_client.end_transaction("test", "OK")

        transaction = elasticapm_client.events[constants.TRANSACTION][0]
        spans = elasticapm_client.spans_for_transaction(transaction)
        assert len(spans) == 1
        span = spans[0]
>       assert 100 < span["duration"] < 110
E       assert 100 < 0.5095749999100008

tests/instrumentation/asyncio_tests/aiopg_tests.py:94: AssertionError

Initializing / Test / Python-python-3.7-4 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests

Expand to view the error details
 assert 100 < 0.4913919999580685

Expand to view the stacktrace
 instrument = None, cursor = <aiopg.connection::Cursor name=None, closed=False>
elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7f22e7d7b3d0>

    async def test_select_sleep(instrument, cursor, elasticapm_client):
        elasticapm_client.begin_transaction("test")
        await cursor.execute("SELECT pg_sleep(0.1); SELECT * FROM test")
        elasticapm_client.end_transaction("test", "OK")

        transaction = elasticapm_client.events[constants.TRANSACTION][0]
        spans = elasticapm_client.spans_for_transaction(transaction)
        assert len(spans) == 1
        span = spans[0]
>       assert 100 < span["duration"] < 110
E       assert 100 < 0.4913919999580685

tests/instrumentation/asyncio_tests/aiopg_tests.py:94: AssertionError

Initializing / Test / Python-python-3.9-3 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests

Expand to view the error details
 assert 100 < 0.6452449999869714

Expand to view the stacktrace
 instrument = None, cursor = <aiopg.connection::Cursor name=None, closed=False>
elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7f1372f11250>

    async def test_select_sleep(instrument, cursor, elasticapm_client):
        elasticapm_client.begin_transaction("test")
        await cursor.execute("SELECT pg_sleep(0.1); SELECT * FROM test")
        elasticapm_client.end_transaction("test", "OK")

        transaction = elasticapm_client.events[constants.TRANSACTION][0]
        spans = elasticapm_client.spans_for_transaction(transaction)
        assert len(spans) == 1
        span = spans[0]
>       assert 100 < span["duration"] < 110
E       assert 100 < 0.6452449999869714

tests/instrumentation/asyncio_tests/aiopg_tests.py:94: AssertionError

Initializing / Test / Python-python-3.10-rc-1 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests

Expand to view the error details
 assert 100 < 0.6728369999109418

Expand to view the stacktrace
 instrument = None, cursor = <aiopg.connection::Cursor name=None, closed=False>
elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7fa99611d1b0>

    async def test_select_sleep(instrument, cursor, elasticapm_client):
        elasticapm_client.begin_transaction("test")
        await cursor.execute("SELECT pg_sleep(0.1); SELECT * FROM test")
        elasticapm_client.end_transaction("test", "OK")

        transaction = elasticapm_client.events[constants.TRANSACTION][0]
        spans = elasticapm_client.spans_for_transaction(transaction)
        assert len(spans) == 1
        span = spans[0]
>       assert 100 < span["duration"] < 110
E       assert 100 < 0.6728369999109418

tests/instrumentation/asyncio_tests/aiopg_tests.py:94: AssertionError

Steps errors
Expand to view the steps failures

Show only the first 10 steps failures

Shell Script

Took 1 min 40 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.9 aiopg-newest

Shell Script

Took 0 min 21 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.9 aiopg-newest

Shell Script

Took 1 min 46 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.10-rc aiopg-newest

Shell Script

Took 0 min 19 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.10-rc aiopg-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.7-httpx-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.8-httpx-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.9-httpx-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.10-rc-prometheus_client-newest

Archive the artifacts

Took 0 min 0 sec . View more details on here
Description: [2021-06-30T16:17:54.152Z] Archiving artifacts
Python-python-3.8-aiopg-newest tests failed : hudson

Error signal

Took 0 min 0 sec . View more details on here
Description: Python-python-3.7-aiopg-newest tests failed : hudson.AbortException: script returned exit code 2

Log output
Expand to view the last 100 lines of log output

[2021-06-30T16:17:06.376Z] ERROR: No such saved stash ‘coverage-python-3.9-httpx-newest’
[2021-06-30T16:17:11.406Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-prometheus_client-newest’
[2021-06-30T16:17:17.755Z] + python3 -m coverage combine
[2021-06-30T16:17:49.922Z] + python3 -m coverage xml
[2021-06-30T16:17:53.234Z] [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...
[2021-06-30T16:17:53.234Z]
[2021-06-30T16:17:53.647Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2021-06-30T16:17:53.947Z] + curl -sLO<EMAIL_ADDRESS>[2021-06-30T16:17:54.152Z] Archiving artifacts
[2021-06-30T16:17:54.309Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-06-30T16:17:54.409Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-06-30T16:17:54.501Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-06-30T16:17:54.715Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-30T16:17:54.758Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-30T16:17:54.851Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-30T16:17:54.950Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-30T16:17:55.413Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1178
[2021-06-30T16:17:55.682Z] [INFO] getVaultSecret: Getting secrets
[2021-06-30T16:17:55.731Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-30T16:17:56.660Z] + chmod 755 generate-build-data.sh
[2021-06-30T16:17:56.660Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1178/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1178/runs/1 FAILURE 1736031
[2021-06-30T16:17:56.660Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1178/runs/1/steps/?limit=10000 -o steps-info.json

:bug: Flaky test report
:grey_exclamation: There are test failures but not known flaky tests.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
4

Passed
9432

Skipped
8447

Total
17883

Genuine test errors
:broken_heart: There are test failures but not known flaky tests, most likely a genuine test failure.

Name: Initializing / Test / Python-python-3.8-4 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests
Name: Initializing / Test / Python-python-3.7-4 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests
Name: Initializing / Test / Python-python-3.9-3 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests
Name: Initializing / Test / Python-python-3.10-rc-1 / test_select_sleep – tests.instrumentation.asyncio_tests.aiopg_tests


feat: add rollup circuit sample inputs

Closes #10602
Generated by running fs.writeFileSync("./SampleInputs.toml", TOML.stringify({inputs: mapped })) on the circuit inputs (mapped) in yarn-project/noir-protocol-circuits-types/src/index.ts on the relevant conversion fns. Any test that involves the protocol circuits will reach those. I chose yarn-project/prover-client/src/orchestrator/orchestrator_multiple_blocks.test.ts simply because it's fast and uses all rollup circuits.
@TomAFrench if this is what you were looking for and you also need kernel circuits, I'm happy to add those.
Note: I named them SampleInputs.toml rather than Prover.toml because the latter is in gitignore.

Hey thanks @MirandaWood, this is exactly what we need. We can deal with the inputs being in a differently named file but it would simplify things if we used Prover.toml.
It would be nice to have something in CI to ensure these are kept up to date but we can see if that becomes a problem first.

fyi @vezenovm on the topic of protocol circuit benchmarks.

I'm not sure why that is, I can ask around and remove it if it's easier for you?

Thanks, it's just a matter of an extra CLI flag on our side so it doesn't really matter at the end of the day though.


Make CJKAnalyzer that use Trigram instead of Bigram

Description
Hi. I want to make Trigram Filter for CJK Analyzer since I am Japanese.
And I have written some simple code to achieve it. It is below inspired by original CJKBigramFilter.java file. It is work fine at my environment.
But I still cannot understand how I should do conditional branch for flushUnigram ( and if necessary flushBigram) instead of add-on method that flush trigram flushTrigram.
Is there any idea that teach me how and why I should flushUnigram at if (offsetAtt.startOffset() != lastEndOffset) case3.
Thank you.
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.lucene.analysis.cjk;

import java.io.IOException;
import org.apache.lucene.analysis.TokenFilter;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.standard.StandardTokenizer;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute;
import org.apache.lucene.analysis.tokenattributes.TypeAttribute;
import org.apache.lucene.util.ArrayUtil;

/**
 * Forms bigrams of CJK terms that are generated from StandardTokenizer or ICUTokenizer.
 *
 *
CJK types are set by these tokenizers, but you can also use {@link
 * #CJKBigramFilter(TokenStream, int)} to explicitly control which of the CJK scripts are turned
 * into bigrams.
 *
 *
By default, when a CJK character has no adjacent characters to form a bigram, it is output in
 * unigram form. If you want to always output both unigrams and bigrams, set the
 * outputUnigrams flag in {@link CJKBigramFilter#CJKBigramFilter(TokenStream, int, boolean)}.
 * This can be used for a combined unigram+bigram approach.
 *
 *
Unlike ICUTokenizer, StandardTokenizer does not split at script boundaries. Korean Hangul
 * characters are treated the same as many other scripts' letters, and as a result,
 * StandardTokenizer can produce tokens that mix Hangul and non-Hangul characters, e.g. "한국abc".
 * Such mixed-script tokens are typed as <ALPHANUM> rather than
 * <HANGUL>, and as a result, will not be converted to bigrams by CJKBigramFilter.
 *
 *
In all cases, all non-CJK input is passed thru unmodified.
 */
public final class CJKTrigramFilter extends TokenFilter {
  // configuration
  /** bigram flag for Han Ideographs */
  public static final int HAN = 1;
  /** bigram flag for Hiragana */
  public static final int HIRAGANA = 2;
  /** bigram flag for Katakana */
  public static final int KATAKANA = 4;
  /** bigram flag for Hangul */
  public static final int HANGUL = 8;

  /** when we emit a bigram, it's then marked as this type */
  public static final String DOUBLE_TYPE = "<DOUBLE>";
  /** when we emit a unigram, it's then marked as this type */
  public static final String SINGLE_TYPE = "<SINGLE>";
  /*  */
+  public static final String TRIPLE_TYPE = "<TRIPLE>";

  // the types from standardtokenizer
  private static final String HAN_TYPE =
      StandardTokenizer.TOKEN_TYPES[StandardTokenizer.IDEOGRAPHIC];
  private static final String HIRAGANA_TYPE =
      StandardTokenizer.TOKEN_TYPES[StandardTokenizer.HIRAGANA];
  private static final String KATAKANA_TYPE =
      StandardTokenizer.TOKEN_TYPES[StandardTokenizer.KATAKANA];
  private static final String HANGUL_TYPE = StandardTokenizer.TOKEN_TYPES[StandardTokenizer.HANGUL];

  // sentinel value for ignoring a script
  private static final Object NO = new Object();

  // these are set to either their type or NO if we want to pass them thru
  private final Object doHan;
  private final Object doHiragana;
  private final Object doKatakana;
  private final Object doHangul;

  // true if we should output unigram tokens always
  private final boolean outputUnigrams;
  private boolean ngramState; // false = output unigram, true = output bigram

  private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class);
  private final TypeAttribute typeAtt = addAttribute(TypeAttribute.class);
  private final OffsetAttribute offsetAtt = addAttribute(OffsetAttribute.class);
  private final PositionIncrementAttribute posIncAtt =
      addAttribute(PositionIncrementAttribute.class);
  private final PositionLengthAttribute posLengthAtt = addAttribute(PositionLengthAttribute.class);

  // buffers containing codepoint and offsets in parallel
+   int[] buffer = new int[12];
+   int[] startOffset = new int[12];
+   int[] endOffset = new int[12];
  // length of valid buffer
  int bufferLen;
  // current buffer index
  int index;

  // the last end offset, to determine if we should bigram across tokens
  int lastEndOffset;

  private boolean exhausted;

  /**
   * Calls {@link CJKBigramFilter#CJKBigramFilter(TokenStream, int) CJKBigramFilter(in, HAN |
   * HIRAGANA | KATAKANA | HANGUL)}
   */
  public CJKTrigramFilter(TokenStream in) {
    this(in, HAN | HIRAGANA | KATAKANA | HANGUL);
  }

  /**
   * Calls {@link CJKBigramFilter#CJKBigramFilter(TokenStream, int, boolean) CJKBigramFilter(in,
   * flags, false)}
   */
  public CJKTrigramFilter(TokenStream in, int flags) {
    this(in, flags, false);
  }

  /**
   * Create a new CJKBigramFilter, specifying which writing systems should be bigrammed, and whether
   * or not unigrams should also be output.
   *
   * @param flags OR'ed set from {@link CJKBigramFilter#HAN}, {@link CJKBigramFilter#HIRAGANA},
   *     {@link CJKBigramFilter#KATAKANA}, {@link CJKBigramFilter#HANGUL}
   * @param outputUnigrams true if unigrams for the selected writing systems should also be output.
   *     when this is false, this is only done when there are no adjacent characters to form a
   *     bigram.
   */
  public CJKTrigramFilter(TokenStream in, int flags, boolean outputUnigrams) {
    super(in);
    doHan = (flags & HAN) == 0 ? NO : HAN_TYPE;
    doHiragana = (flags & HIRAGANA) == 0 ? NO : HIRAGANA_TYPE;
    doKatakana = (flags & KATAKANA) == 0 ? NO : KATAKANA_TYPE;
    doHangul = (flags & HANGUL) == 0 ? NO : HANGUL_TYPE;
    this.outputUnigrams = outputUnigrams;
  }

  /*
   * much of this complexity revolves around handling the special case of a
   * "lone cjk character" where cjktokenizer would output a unigram. this
   * is also the only time we ever have to captureState.
   */
  @Override
  public boolean incrementToken() throws IOException {
    while (true) {
+    if (hasBufferedTrigram()) {

        // case 1: we have multiple remaining codepoints buffered,
        // so we can emit a bigram here.

        if (outputUnigrams) {

          // when also outputting unigrams, we output the unigram first,
          // then rewind back to revisit the bigram.
          // so an input of ABC is A + (rewind)AB + B + (rewind)BC + C
          // the logic in hasBufferedUnigram ensures we output the C,
          // even though it did actually have adjacent CJK characters.

          if (ngramState) {
+            flushTrigram();
          } else {
            flushUnigram();
            index--;
          }
          ngramState = !ngramState;
        } else {
+          flushTrigram();
        }
        return true;
      } else if (doNext()) {

        // case 2: look at the token type. should we form any n-grams?

        String type = typeAtt.type();
        if (type == doHan || type == doHiragana || type == doKatakana || type == doHangul) {

          // acceptable CJK type: we form n-grams from these.
          // as long as the offsets are aligned, we just add these to our current buffer.
          // otherwise, we clear the buffer and start over.

          if (offsetAtt.startOffset() != lastEndOffset) { // unaligned, clear queue
            if (hasBufferedUnigram()) {

              // we have a buffered unigram, and we peeked ahead to see if we could form
              // a bigram, but we can't, because the offsets are unaligned. capture the state
              // of this peeked data to be revisited next time thru the loop, and dump our unigram.

              loneState = captureState();
              flushUnigram();
              return true;
            }
            index = 0;
            bufferLen = 0;
          }
          refill();
        } else {

          // not a CJK type: we just return these as-is.

          if (hasBufferedUnigram()) {

            // we have a buffered unigram, and we peeked ahead to see if we could form
            // a bigram, but we can't, because it's not a CJK type. capture the state
            // of this peeked data to be revisited next time thru the loop, and dump our unigram.

            loneState = captureState();
            flushUnigram();
            return true;
          }
          return true;
        }
      } else {

        // case 3: we have only zero or 1 codepoints buffered,
        // so not enough to form a bigram. But, we also have no
        // more input. So if we have a buffered codepoint, emit
        // a unigram, otherwise, it's end of stream.

        if (hasBufferedUnigram()) {
          flushUnigram(); // flush our remaining unigram
          return true;
        }
+        if (hasBufferedBigram()) {
+          flushBigram();
+          return true;
+        }
        return false;
      }
    }
  }

  private State loneState; // rarely used: only for "lone cjk characters", where we emit unigrams

  /** looks at next input token, returning false is none is available */
  private boolean doNext() throws IOException {
    if (loneState != null) {
      restoreState(loneState);
      loneState = null;
      return true;
    } else {
      if (exhausted) {
        return false;
      } else if (input.incrementToken()) {
        return true;
      } else {
        exhausted = true;
        return false;
      }
    }
  }

  /** refills buffers with new data from the current token. */
  private void refill() {
    // compact buffers to keep them smallish if they become large
    // just a safety check, but technically we only need the last codepoint
    if (bufferLen > 64) {
      int last = bufferLen - 1;
      buffer[0] = buffer[last];
      startOffset[0] = startOffset[last];
      endOffset[0] = endOffset[last];
      bufferLen = 1;
      index -= last;
    }

    char[] termBuffer = termAtt.buffer();
    int len = termAtt.length();
    int start = offsetAtt.startOffset();
    int end = offsetAtt.endOffset();

    int newSize = bufferLen + len;
    buffer = ArrayUtil.grow(buffer, newSize);
    startOffset = ArrayUtil.grow(startOffset, newSize);
    endOffset = ArrayUtil.grow(endOffset, newSize);
    lastEndOffset = end;

    if (end - start != len) {
      // crazy offsets (modified by synonym or charfilter): just preserve
      for (int i = 0, cp = 0; i < len; i += Character.charCount(cp)) {
        cp = buffer[bufferLen] = Character.codePointAt(termBuffer, i, len);
        startOffset[bufferLen] = start;
        endOffset[bufferLen] = end;
        bufferLen++;
      }
    } else {
      // normal offsets
      for (int i = 0, cp = 0, cpLen = 0; i < len; i += cpLen) {
        cp = buffer[bufferLen] = Character.codePointAt(termBuffer, i, len);
        cpLen = Character.charCount(cp);
        startOffset[bufferLen] = start;
        start = endOffset[bufferLen] = start + cpLen;
        bufferLen++;
      }
    }
  }

+  /**
+    Flushes a trigram token
+  */
+  private void flushTrigram() {
+    clearAttributes();
+    char[] termBuffer = termAtt.resizeBuffer(6);
+    int len1 = Character.toChars(buffer[index], termBuffer, 0);
+    int len2 = len1 + Character.toChars(buffer[index + 1], termBuffer, len1);
+    int len3 = len2 + Character.toChars(buffer[index + 2], termBuffer, len2);
+    termAtt.setLength(len3);
+    offsetAtt.setOffset(startOffset[index], endOffset[index+2]);
+    typeAtt.setType(TRIPLE_TYPE);
+    if (outputUnigrams) {
+      posIncAtt.setPositionIncrement(0);
+      posLengthAtt.setPositionLength(2);
+    }
+    index++;
+  }

  /**
   * Flushes a bigram token to output from our buffer This is the normal case, e.g. ABC -> AB BC
   */
  private void flushBigram() {
    clearAttributes();
    char[] termBuffer =
        termAtt.resizeBuffer(4); // maximum bigram length in code units (2 supplementaries)
    int len1 = Character.toChars(buffer[index], termBuffer, 0);
    int len2 = len1 + Character.toChars(buffer[index + 1], termBuffer, len1);
    termAtt.setLength(len2);
    offsetAtt.setOffset(startOffset[index], endOffset[index + 1]);
    typeAtt.setType(DOUBLE_TYPE);
    // when outputting unigrams, all bigrams are synonyms that span two unigrams
    if (outputUnigrams) {
      posIncAtt.setPositionIncrement(0);
      posLengthAtt.setPositionLength(2);
    }
    index++;
  }

  /**
   * Flushes a unigram token to output from our buffer. This happens when we encounter isolated CJK
   * characters, either the whole CJK string is a single character, or we encounter a CJK character
   * surrounded by space, punctuation, english, etc, but not beside any other CJK.
   */
  private void flushUnigram() {
    clearAttributes();
    char[] termBuffer = termAtt.resizeBuffer(2); // maximum unigram length (2 surrogates)
    int len = Character.toChars(buffer[index], termBuffer, 0);
    termAtt.setLength(len);
    offsetAtt.setOffset(startOffset[index], endOffset[index]);
    typeAtt.setType(SINGLE_TYPE);
    index++;
  }

+  /* */
+  private boolean hasBufferedTrigram() {
+    return bufferLen - index > 2;
+  }

  /** True if we have multiple codepoints sitting in our buffer */
  private boolean hasBufferedBigram() {
    return bufferLen - index > 1;
  }

  /**
   * True if we have a single codepoint sitting in our buffer, where its future (whether it is
   * emitted as unigram or forms a bigram) depends upon not-yet-seen inputs.
   */
  private boolean hasBufferedUnigram() {
    if (outputUnigrams) {
      // when outputting unigrams always
      return bufferLen - index == 1;
    } else {
      // otherwise it's only when we have a lone CJK character
      return bufferLen == 1 && index == 0;
    }
  }

  @Override
  public void reset() throws IOException {
    super.reset();
    bufferLen = 0;
    index = 0;
    lastEndOffset = 0;
    loneState = null;
    exhausted = false;
    ngramState = false;
  }
}

If you want to do things like trigrams, just use n-gram tokenizer instead...


pre-commit: PR118726

Link: https://github.com/llvm/llvm-project/pull/118726
Requested by: @dtcxzyw

/add-label reviewed
/close


Commit & Push Does Not Publish Unpublished Branch

Testing #153317
Commit & Push does not publish unpublished branch.
I would expect this to happen.
Currently, when on an unpublished branch, Commit & Push behaves as Commit.

This seems to be a problem with both the "Commit & Push" action button as well as the push post commit command setting. "Commit & Sync" does work as expected, as well as invoking the "Git Push" command from the "Source Control" viewlet also works.

I'm unable to verify this issue right now because clicking on the chevron doesn't work

Chevron seemed to work for me so I'm marking verified.


🚀 [Feature] Backend: Migration problem in deploy

🚀 Feature
As Dev-Op I want to deploy the backend even when their is a migration
🤖 ToDo

[ ] Make migration before building

@ulfgebhardt This seems not to be a problem anymore.


Coverage update

Updated

Error for above code . Correct it Cannot create build folder D:\host\transistor: Could not find a part of the path 'D:\host\transistor'     Please check whether path is set

Some error because path is not set I think


During Exeution ansible-playbook tower_dr_standup.yaml

TASK [tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el : Copy bundle packages to repo source directory] *******************************************
fatal: [towerdb3]: FAILED! => changed=false
cmd:
sshpass -d4 /usr/bin/rsync --delay-updates -F --compress --delete-after --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --rsync-path=sudo rsync --out-format=<>%i %n%L /bundle/el7/repos/ root@<IP_ADDRESS>:/var/lib/tower-bundle
msg: |-
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
rsync: change_dir "/bundle/el7/repos" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
rc: 23
fatal: [towerdb2]: FAILED! => changed=false
cmd:
sshpass -d4 /usr/bin/rsync --delay-updates -F --compress --delete-after --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --rsync-path=sudo rsync --out-format=<>%i %n%L /bundle/el7/repos/ root@<IP_ADDRESS>:/var/lib/tower-bundle
msg: |-
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
rsync: change_dir "/bundle/el7/repos" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]

ASK [tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el : Copy bundle packages to repo source directory] *******************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [towerdb2]: FAILED! => changed=false
msg: |-
Could not find or access '../../../bundle/el7/repos/'
Searched in:
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/roles/tower_postgres_base/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/roles/tower_postgres_base/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/../../../bundle/el7/repos/ on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [towerdb3]: FAILED! => changed=false
msg: |-
Could not find or access '../../../bundle/el7/repos/'
Searched in:
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/roles/tower_postgres_base/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/roles/tower_postgres_base/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/files/../../../bundle/el7/repos/
/root/automate-tower-ha-dr-master/../../../bundle/el7/repos/ on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option

Not able to find  the /root/automate-tower-ha-dr-master/tower-installer/ansible-tower-setup-3.6.4-1/roles/repos_el/../../../bundle/el7/repos/  is need to create  or automatically build by automation


Redis Chart

Describe the bug
A clear and concise description of what the bug is.
Bug
Version of Helm and Kubernetes:
v2.11
Which chart:
Redis Chart
What happened:
I have installed redis chart on kubernetes cluster using the below command:
helm install --name redis stable/redis --set password=Redis@12345  --set cluster.enabled=true --set sentinel.enabled=true
I have connected this to a voting app where a person selects a vote. It captures voting count details for sometime and then sometimes i start to get Redis exceptionwhen person click on giving the vote. Basically a POST call is given which updates the entry . Sometimes i am getting the below error. My application service is pointing to redis-headless service
2019-05-26 02:27:13,575] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "./main.py", line 66, in index
r.incr(vote,1)
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1011, in incr
return self.execute_command('INCRBY', name, amount)
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 668, in execute_command
return self.parse_response(connection, command_name, **options)
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 680, in parse_response
response = connection.read_response()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 629, in read_response
raise response
redis.exceptions.ReadOnlyError: You can't write against a read only replica.
What you expected to happen:
Ideally redis should have run flawlessly
How to reproduce it (as minimally and precisely as possible):
Installing a cluster enabled redis
Anything else we need to know:

You are likely connecting to the default redis port and you need to connect to the sentinel port:

Redis service: Exposes port 6379 for Redis read-only operations and port 26379 for accesing Redis Sentinel.
For read-only operations, access the service using port 6379. For write operations, it's necessary to access the Redis Sentinel cluster and query the current master using the command below (using redis-cli or similar:


Set maximum bit width for classical operations according to pytket support

Description
See also https://github.com/CQCL/tket/pull/1456 .
Fixes #165 .
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have performed a self-review of my code
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have updated the changelog with any user-facing changes

One question, do we still require a maxwidth parameter for pytket-phir as mentioned in #165?
To me it seems it's being fully handled in pytket and pulled in here with your change in this PR. So perhaps not.

One question, do we still require a maxwidth parameter for pytket-phir as mentioned in #165?
To me it seems it's being fully handled in pytket and pulled in here with your change in this PR. So perhaps not.

I agree, we probably don't need that parameter now.

Feel free to merge. I can make a new release once https://github.com/CQCL/tket/pull/1456 is merged and released so we can do integration testing.

In that case, let me take it from here and make a new release.

Thanks!


Zooz ZSE30 Zwave+ water sensor is not detected

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):
Hassbian from this week.
Python release (python3 --version):
3.4
Component/platform:
Description of problem:
The Zooz ZSE30 is supposed to be a binary water sensor.  It adds to my zwave network correctly but HomeAssistant doesn't see the sensor.  It only sees the raw zwave device.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Oddly enough, it popped up.  Sorry for the issue.  I don't know why it took hours to pop up even when ozwcp saw it?

I have exactly the same problem, have you done anything specific so it popped up?

I had to give it days worth of time. How did you add it to your network?

I put my zwave stick into discovery mode and pressed zeave button on the zooz 3 times

That's basically what I did too.  Did it not complete sometimes because the sensor goes to sleep?

Exactly, it adds a device without a name and the sensor keeps sleeping:/

Try adding it with the unlock?
I must've added that thing 20 times before it worked.

how do I add it with the unlock?

There was a lock next to include for me.


Clarify use of the html option

While this fixes the documentation, IMO a better solution would be to infer html if the value is a jQuery object, since the user is unlikely to want to see a balloon displaying [object Object].


Add free, beginner focused books from Launch School

We've written a few beginner focused books that are openly available.

Great, thanks!


More relevant info needed

In the section https://docs.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview#data-disk it states "The size of the virtual machine determines how many data disks you can attach to it and the type of storage you can use to host the disks."
Can you explain what those limits are or link to the relevant doc please

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

ID: 0fa17494-67b2-5eed-5359-c8efcbd78254
Version Independent ID: c6e32ef4-3636-e00a-349d-01cac7e1654b
Content: Azure Disk Storage overview - Azure Virtual Machines
Content Source: articles/virtual-machines/managed-disks-overview.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for the question, I'll take a look.

Hi @thommck ,
You can the VM specific specs on the VMs corresponding page under the VMs Types and Sizes doc here. For example the Standard_A1_v2 VM of the Av2-series supports a maximum of 2 data disks and does not support preimium storage. I found that information from the Av2-series VM page here. Let me know if you have a follow-up question, otherwise I will close this issue. Thanks!


Explicit literal types in serialized RDF

Currently, when a document is serialized as RDF, literal types for datatype property objects are lost. For example, the value 4 for an integer datatype property is written as 4 rather than "4"^^xsd:int. When the file is read in using rdflib, it looks like all the literals are interpreted as strings. This causes problems for SHACL validation and could potentially cause other problems.

Is it possible this has something to do with the turtle format, which I think you're using? Can you try to format the file in ntriples (sbol3.NTRIPLES) and see if the output shows your property with the integer type?
Here is an example using RDFlib, independent of pySBOL3, which demonstrates that RDFlib does not include the type in turtle and does include the type in ntriples.
$ python3
Python 3.8.5 (v3.8.5:580fbb018f, Jul 20 2020, 12:11:27)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdflib
RDFLib Version: 5.0.0
>>> bob = rdflib.URIRef("http://example.org/people/Bob")
>>> g = rdflib.Graph()
>>> g.add((bob, rdflib.namespace.FOAF.age, rdflib.Literal(42)))
>>> print(g.serialize(format="turtle").decode("utf-8"))
@prefix ns1: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/people/Bob> ns1:age 42 .

>>> print(g.serialize(format="nt").decode("utf-8"))
<http://example.org/people/Bob> <http://xmlns.com/foaf/0.1/age> "42"^^<http://www.w3.org/2001/XMLSchema#integer> .

>>>

It may also be possible to ask RDFlib to include the type annotations in turtle. I don't know enough about the turtle format to know one way or the other.

I don't see a way to include the datatype annotation you desire in the RDFlib turtle output. I'd be happy to add that capability and/or expose an ability to add datatype annotations if you can show me how to manipulate the RDFlib turtle serializer to do so. I don't see that capability via manual code inspection and the documentation is limited.
My read of the turtle specification, Section 2.4, indicates that the datatype annotation is optional for integers, so I think RDFlib is writing valid turtle. I'm not sure why your validator is requiring the datatype annotation.

Here is an example of turtle serialization with explicit integer type.  Interestingly, I can't seem to get it to serialize an explicit string type.  However, per W3C specification of Turtle, writing just "my_string" implicitly means it's xsd:string
import rdflib

my_foo = rdflib.URIRef('http://example.org#my_foo')
has_bar = rdflib.URIRef('http://example.org#has_bar')
bar = rdflib.Literal(4, datatype='http://www.w3.org/TR/xmlschema11-2/#int')
g = rdflib.Graph()
g.add((my_foo, has_bar, bar))
g.serialize('foo.ttl', format='ttl')

This results in the following serialization:
@prefix ns1: <http://example.org#> .

ns1:my_foo ns1:has_bar "4"^^<http://www.w3.org/TR/xmlschema11-2/#int> .

Actually, I take that back.  I can explicitly indicate string type.  Not sure why it didn't seem to work previously:
import rdflib

my_foo = rdflib.URIRef('http://example.org#my_foo')
has_bar = rdflib.URIRef('http://example.org#has_bar')
bar = rdflib.Literal(4, datatype='http://www.w3.org/TR/xmlschema11-2/#string')
g = rdflib.Graph()
g.add((my_foo, has_bar, bar))
g.serialize('foo.ttl', format='ttl')

Serialization:
@prefix ns1: <http://example.org#> .

ns1:my_foo ns1:has_bar "4"^^<http://www.w3.org/TR/xmlschema11-2/#string> .

I guess this gets at what the correct expansion of xsd: is. RDFlib thinks the XMLSchema Namespace is http://www.w3.org/2001/XMLSchema#.
>>> import rdflib
RDFLib Version: 5.0.0
>>> x = rdflib.Literal(42)
>>> x.datatype
rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#integer')
>>> rdflib.namespace.XSD
Namespace('http://www.w3.org/2001/XMLSchema#')
>>>

You're using a different namespace for the xsd: expansion, http://www.w3.org/TR/xmlschema11-2/#. In effect, you're labeling the value with a different data type. Does http://www.w3.org/TR/xmlschema11-2/#int work with the pySHACL validation?
Do we want to have pySBOL3 bypass the RDFlib concept of XSD being http://www.w3.org/2001/XMLSchema# and replace it with http://www.w3.org/TR/xmlschema11-2/#? That seems risky, and I don't know how portable it will be.

But wait, there's more.

The SBOL 3.0 specification, Section 5.2, page 12, specifically says that the datatype for integers is http://www.w3.org/TR/xmlschema11-2/#integer. That has been changed in the draft 3.1 specification to http://www.w3.org/2001/XMLSchema#integer.
The turtle specification, in Section 2.4. Abbreviating common datatypes, expands xsd:integer to http://www.w3.org/2001/XMLSchema#integer.

The SBOL specification issue concerning the proper namespace links to the appropriate places in the XML Schema documentation that indicates that the proper namespace should be http://www.w3.org/2001/XMLSchema#, not http://www.w3.org/TR/xmlschema11-2/# as you have specified above:

https://www.w3.org/TR/xmlschema11-2/#namespaces
https://www.w3.org/TR/xmlschema11-2/#sec-prim-nxsd

The bottom line is that I think we should stick with the standard namespace (http://www.w3.org/2001/XMLSchema#) and thus I think we're back where we started. I don't know how to get RDFlib to add the datatype annotation http://www.w3.org/2001/XMLSchema#integer to the turtle output.

Since the explicit literal types appear with NTriples serialization, but not with Turtle, this must be a quirk of rdflib. If we need to do SHACL validation of graphs that are read in from files, using NTriples serialization is a reasonable workaround.
As far as I know http://www.w3.org/2001/XMLSchema# has always been the standard  XMLSchema namespace. We should use that and spurn any other namespace.


cmd/go process started with go run can't be debugged

What version of Go are you using (go version)?

$ go version
go version go1.15.3 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/nitishch/Library/Caches/go-build"
GOENV="/Users/nitishch/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/nitishch/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/nitishch/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/k6/1g590ls933j17r_sqm5_nnw40000gn/T/go-build190492030=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
 Start another process using go build -o output <file>; ./output. Then I tried to attach debuggers to both these processes.

What did you expect to see?
I expected to be able to successfully attach debuggers to these processes.
What did you see instead?
But, the debug symbols are missing from the executable created using go run. In https://golang.org/src/cmd/go/internal/run/run.go, there is p.Internal.OmitDebug = true without any option to override.
There is no mention of this behavior in https://golang.org/pkg/cmd/go/internal/run/. Without looking at the source code, it's quite difficult to understand why debugger can't be attached to the process run using go run.

This is intentional behavior.  go run is a convenience function that builds and runs a program for you.    Attaching a debugger to a program run by go run is  corner case that we have decided to not support.  Use go build instead.

If that's the case, shouldn't the intent be at least mentioned in the documentation? https://golang.org/pkg/cmd/go/internal/run/ doesn't say anything about this.


Missing requireSpacesInFunction (disallowSpacesInFunction exists)

disallowSpacesInFunction exists as a shorthand for all of the function rules, but there is no requireSpacesInFunction as a shorthand as well.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10867420-missing-requirespacesinfunction-disallowspacesinfunction-exists?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

Misread the docs. My bad.


broken link

Problem description
on this site (https://docs.docker.com/machine/overview/) I tried to follow the link that says (Provision a Docker Swarm cluster with Docker Machine (Legacy Swarm)) to the URL (https://docs.docker.com/machine/swarm/provision-with-machine.md) and got a 404 error.
Problem location
I saw a problem on the following URL: https://docs.docker.com/machine/overview/

Thanks for sharing the issue. The issue is no longer applicable.


Clean up support for "aligning the backing store of allocations"

In https://github.com/rust-lang/rust/pull/108022 I raised some concerns post-landing. Let's track here that these need to be resolved, or else we should remove the interface again. In its current form it is at the very least insufficiently documented; more likely the trait needs to be adjusted.
Cc @CraftSpider

I'm tied whether to respond here or on the original comments - I'll respond there, but copy them over here if you would rather all discussion have one spot.

I'm fine with discussing in that PR, this issue is to make sure we don't forget creating a new PR that resolves the problems. :)


Add new param to OsmAnd protocol

Added a new param for getting a text description. Holds additional information about the position, for saving manual POIs.

Thanks for the pull request.


vte: 0.72.0 -> 0.72.1

Description of changes
https://gitlab.gnome.org/GNOME/vte/-/compare/0.72.0...0.72.1
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build vte vte-gtk4 vte.passthru.tests vte-gtk4.passthru.tests