text:
Unordered, unreliable mode: Surprising behavior of packet dropping

Please try the following:

Open an usrsctp connection
Turn off the network
Send 200 packets with ordered=false, maxRetransmits = 0
Turn on the network

Expected result (from a naive reading of the API): All packets disappear.
Observed result (in a webrtc test): The first 110 packets get dropped, the rest get delivered.
Same result is observed when setting maxPacketLifetime = 1, but when maxPacketLifetime = 0, all packets get delivered.
This behavior causes problems for one of our uses, who is sending a fast stream of events, and expected usrsctp to take care of the dropping of packets when network dropouts happen; instead, there's a massive influx of packets when the network reestablishes.
Thoughts? Is this according to spec? Is this according to what the user should expect?

tag @orphis for interest

Please try the following:

Open an usrsctp connection
Turn off the network
Send 200 packets with ordered=false, maxRetransmits = 0
Turn on the network

Expected result (from a naive reading of the API): All packets disappear.

I guess you expect that SCTP sends the 200 packets out, if the upper layer provides them by calling 200 times send(). The crucial point here is that when SCTP can actually send out is limited by the congestion control, the flow control, and there is also a burst mitigation.
So I guess what happens is that congestion control and flow control allow that the first 110 packets get sent when the network connectivity does not exist. Once the network connectivity is re-established, the first 110 do not get retransmitted, since maxRetransmits is 0, but the remaining ones now can get transmitted for the first time, since congestion and flow control allows it now.
I think this is completely as described in specifications.

Observed result (in a webrtc test): The first 110 packets get dropped, the rest get delivered.
Same result is observed when setting maxPacketLifetime = 1, but when maxPacketLifetime = 0, all packets get delivered.

I guess you expect that when using maxPacketLifetime of 1ms, no packets go on the wire (either by transmitting them or by re-transmitting them) after 1ms of the point of time they were given to the SCTP stack by the send() call. I would agree with this view, but the code as it is right now only applies the partial reliability policy for retransmissions. Therefore you observe the same behaviour as in the case where you specify maxRetransmits as 0. This can be, and I think it should be fixed.
I guess you expect that when using maxPacketLifetime of 0ms, packets only go on the wire if the SCTP stack can send them out directly when they are given to the SCTP stack without any buffering or delaying. I just checked the W3C specification and I would agree with this expectation. However, I guess your implementation just maps the value provided for maxPacketLifetime to a corresponding in the SCTP socket API. In some fields (for example sinfo_timetolive) a value of 0 has the special meaning of reliable. The reason for this special case is that for a long time timed reliability was the only PR-SCTP policy and one needed to way to the timout or indicate that the message is reliable. However, this behaviour is also applied in other places where such a timeout is specified, but the specification does not explicitly require this special handling. I think the API you are used does not require the special handling.

This behavior causes problems for one of our uses, who is sending a fast stream of events, and expected usrsctp to take care of the dropping of packets when network dropouts happen; instead, there's a massive influx of packets when the network reestablishes.

OK, I see. So you actually want to limit the lifetime of the packets and would need that the PR-SCTP policies are also applied to retransmissions.

Thoughts? Is this according to spec? Is this according to what the user should expect?

Do the above explanations make things clearer? I do understand that you are not happy with the current state of the implementation...

thanks - that's more or less what I had intuited!
Can you cite spec chapter and verse on retransmissions only being counted when there's actually been a transmission? We're going to be asked about whether we can do a different behavior, and it's good to be able to cite a reference.
The special treatment of 0 seems like something that we can either warn the users about or map 0 -> 1 when the user specifies 0. The API used is here:
  struct sctp_sendv_spa spa = {0};
...
  // Ordered implies reliable.
  if (!params.ordered) {
    spa.sendv_sndinfo.snd_flags |= SCTP_UNORDERED;
    if (params.max_rtx_count >= 0 || params.max_rtx_ms == 0) {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_RTX;
      spa.sendv_prinfo.pr_value = params.max_rtx_count;
    } else {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_TTL;
      spa.sendv_prinfo.pr_value = params.max_rtx_ms;
    }
  }

So max_rtx_ms == 0 is supposed to be mapped to max_rtx_count == 0, which is not the behavior I observe. Worth debugging on our side.
So I read this as:

Behavior for max_rtx_count is WAI, and will not change
Behavior for max_rtx_ms should and will be changed to drop packets that are > x ms old (measured from the time of the send() call) even when they have never been transmitted before.

Am I reading this right?

thanks - that's more or less what I had intuited!
Can you cite spec chapter and verse on retransmissions only being counted when there's actually been a transmission? We're going to be asked about whether we can do a different behavior, and it's good to be able to cite a reference.

Limited Retransmissions Policy is the text specifying the PR-SCTP policy related to maxRetransmits. It clearly only talks about retransmissions, not transmissions. Is that the text you are looking for?

The special treatment of 0 seems like something that we can either warn the users about or map 0 -> 1 when the user specifies 0. The API used is here:
  struct sctp_sendv_spa spa = {0};
...
  // Ordered implies reliable.
  if (!params.ordered) {
    spa.sendv_sndinfo.snd_flags |= SCTP_UNORDERED;
    if (params.max_rtx_count >= 0 || params.max_rtx_ms == 0) {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_RTX;
      spa.sendv_prinfo.pr_value = params.max_rtx_count;
    } else {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_TTL;
      spa.sendv_prinfo.pr_value = params.max_rtx_ms;
    }
  }

I don't understand the "Ordered implies reliable" comment. You can have an ordered and unreliable data channel, at least this is my understanding for reading the W3C specification and this is also what SCTP would support.
Until the usrsctp library is improved, you might what to map 0 -> 1 if the user specifies 0.
The code you cite reads strange. I would expect something like:
spa.sendv_sndinfo.snd_flags = 0;
if (!params.ordered) {
    spa.sendv_sndinfo.snd_flags |= SCTP_UNORDERED;
}
/* At most one of params.max_rtx_count and params.max_rtx_ms can be non-negative. */
if (params.max_rtx_count >= 0) {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_RTX;
      spa.sendv_prinfo.pr_value = params.max_rtx_count;
}
if (params.max_rtx_ms >= 0) {
    /* Temporary workaround a bug in usrsctp interpreting 0 a reliable. */
    if (params.max_rtx_ms == 0) {
        params.max_rtx_ms = 1;
    }
    spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
    spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_TTL;
    spa.sendv_prinfo.pr_value = params.max_rtx_ms;
}

So max_rtx_ms == 0 is supposed to be mapped to max_rtx_count == 0, which is not the behavior I observe. Worth debugging on our side.
So I read this as:

Behavior for max_rtx_count is WAI, and will not change

Correct.

Behavior for max_rtx_ms should and will be changed to drop packets that are > x ms old (measured from the time of the send() call) even when they have never been transmitted before.

Correct.

Am I reading this right?

Yes. Please have a look at the code you cited...

I filed https://crbug.com/webrtc/12730 on the "ordered" issue. We'll fix that on our side.

I filed https://crbug.com/webrtc/12730 on the "ordered" issue. We'll fix that on our side.

Thanks. But please take also a look at
    if (params.max_rtx_count >= 0 || params.max_rtx_ms == 0) {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_RTX;
      spa.sendv_prinfo.pr_value = params.max_rtx_count;
    } else {
      spa.sendv_flags |= SCTP_SEND_PRINFO_VALID;
      spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_TTL;
      spa.sendv_prinfo.pr_value = params.max_rtx_ms;
    }

If params.max_rtx_count is negative and params.max_rtx_ms is zero, the code selects the limited retransmissions policy and sets spa.sendv_prinfo.pr_value to a large value, since pr_value has uint32_t as its type and negative numbers are large when considered as unsigned numbers.
Please note that even if usrsctp would interpret maxPacketLifetime of zero as you (and I) would expect, the code above transforms it into a lot of retransmissions, which actually would mean reliable transport. So you are not even hitting the code in usrsctp I was talking about. Or am I missing something?

Good catch! The source type is "unsigned int" a few abstraction layers above, with "-1" being used for "not set".
So if max_rtx_count is not set, and max_rtx_ms is set to zero .... reliable (sort of)!
Will fix this code.

Thanks. Let me double check if the SCTP stack actually handles pr_value = 0 for pr_policy = SCTP_PR_SCTP_TTL. Maybe I fixed it already sometime ago. A quick look at the code seems to indicate that. Then the temporary workaround:
    /* Temporary work around a bug in usrsctp interpreting 0 a reliable. */
    if (params.max_rtx_ms == 0) {
        params.max_rtx_ms = 1;
    }

would not be necessary. Will report here...

OK, I did some testing. The following packetdrill script runs successfully:
 0.000 `sysctl -i net.inet.sctp.ecn_enable=0`
+0.000 `sysctl -i net.inet.sctp.pr_enable=1`
+0.000 `sysctl -i net.inet.sctp.asconf_enable=0`
+0.000 `sysctl -i net.inet.sctp.pktdrop_enable=0`
+0.000 `sysctl -i net.inet.sctp.reconfig_enable=0`
+0.000 `sysctl -i net.inet.sctp.auth_enable=0`
+0.000 `sysctl -i net.inet.sctp.nrsack_enable=0`
+0.000 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3
+0.000 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
+0.000 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
+0.000 bind(3, ..., ...) = 0
+0.000 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress)
+0.000 > sctp: INIT[flgs=0, tag=1, a_rwnd=..., os=..., is=..., tsn=1, FORWARD_TSN_SUPPORTED[],
                                                                      SUPPORTED_EXTENSIONS[types=[FORWARD_TSN]],
                                                                      SUPPORTED_ADDRESS_TYPES[types=[IPv4]]]
+0.010 < sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=1500, os=16, is=16, tsn=1, STATE_COOKIE[len=4, val=...],
                                                                         FORWARD_TSN_SUPPORTED[]]
+0.000 > sctp: COOKIE_ECHO[flgs=0, len=4, val=...]
+0.010 < sctp: COOKIE_ACK[flgs=0]
+0.000 sctp_sendv(3, [{..., 1000}], 1, ..., 1, {sendv_flags=SCTP_SEND_SNDINFO_VALID|SCTP_SEND_PRINFO_VALID,
                                                sendv_sndinfo={snd_sid=0,
                                                               snd_flags=SCTP_UNORDERED,
                                                               snd_ppid=htonl(1234),
                                                               snd_context=0,
                                                               snd_assoc_id=0},
                                                sendv_prinfo={pr_policy=SCTP_PR_SCTP_TTL,
                                                              pr_value=0},
                                                sendv_authinfo={auth_keynumber=0}},
                                               32, SCTP_SENDV_SPA, 0) = 1000
+0.000 > sctp: DATA[flgs=UBE, len=1016, tsn=1, sid=0, ssn=0, ppid=1234]
*      > sctp: FORWARD_TSN[cum_tsn=1, ids=[]]
*      > sctp: FORWARD_TSN[cum_tsn=1, ids=[]]
+0.100 < sctp: SACK[flgs=0, cum_tsn=1, a_rwnd=10000, gaps=[], dups=[]]
+1.000 close(3) = 0
+0.000 > sctp: SHUTDOWN[flgs=0, cum_tsn=0]
+0.010 < sctp: SHUTDOWN_ACK[flgs=0]
+0.000 > sctp: SHUTDOWN_COMPLETE[flgs=0]

This means that using the parameters pr_value = 0 for pr_policy = SCTP_PR_SCTP_TTL is handled correctly in the sense, that the PR-SCTP policy is applied. Therefore:

The temporary workaround is not required.
The bug reported above that using pr_value = 0 for pr_policy = SCTP_PR_SCTP_TTL resulting in reliable transmission is caused by the bug described above in the code running as an upper layer of SCTP and not by a bug in SCTP implementation.

Sorry for the confusion on my side.

authors: alvestrand tuexen

repo: sctplab/usrsctp


text:
Scully getting stuck after creating route list on CircleCI

🐞 Bug report
Description
I ran Scully locally, and everything worked fine, but when I pushed my changes to CircleCI, Scully wouldn't get past this point as shown in the following image

🔬 Minimal Reproduction
.circleci/config.yml
version: 2.1
orbs:
    node: circleci/node@3.0.0
jobs:
    build:
        docker:
            - image: cimg/node:12.18.2
        steps:
            - checkout
            - run: npm install
            - run: npm run build
            - add_ssh_keys:
                fingerprints:
                    - ...
            - run:
                name: Deploy to gh-pages
                command: |
                    git reset --hard
                    git checkout -b gh-pages origin/gh-pages
                    DEPLOYMENT_NUMBER=$(git log -1 | grep -o 'Deployment [0-9]\+' | sed 's/Deployment //')
                    rm -rf *.html *.css *.js *.txt .ico assets
                    mv dist/static/* .
                    git add .
                    git config user.email ...
                    git config user.name ...
                    git commit -m "[ci skip] Deployment $(($DEPLOYMENT_NUMBER + 1)), $(date  '+%B %d %Y')"
                    git push origin gh-pages
workflow:
    version: 2.1
    build:
        jobs:
            - build

package.json
{
    "name": ...,
    "version": "0.0.0",
    "scripts": {
        "ng": "ng",
        "start": "ng serve",
        "build": "ng build --stats-json --prod && npm run scully",
        "test": "ng test",
        "lint": "ng lint",
        "e2e": "ng e2e",
        "scully": "scully --serverTimeout=30000",
        "scully:serve": "scully serve"
    },
    "husky": {
        "hooks": {
            "pre-commit": "npm run lint"
        }
    },
    "private": true,
    "dependencies": {
        "@angular/animations": "~10.0.6",
        "@angular/cdk": "^10.1.1",
        "@angular/common": "~10.0.6",
        "@angular/compiler": "~10.0.6",
        "@angular/core": "~10.0.6",
        "@angular/forms": "~10.0.6",
        "@angular/material": "^10.1.1",
        "@angular/platform-browser": "~10.0.6",
        "@angular/platform-browser-dynamic": "~10.0.6",
        "@angular/router": "~10.0.6",
        "@scullyio/init": "^1.0.0",
        "@scullyio/ng-lib": "^1.0.0-beta.1",
        "@scullyio/scully": "^1.0.0-beta.5",
        "d3-scale": "^3.2.1",
        "ngx-color": "^6.0.1",
        "rxjs": "~6.6.0",
        "tslib": "^2.0.0",
        "zone.js": "~0.10.2"
    },
    "devDependencies": {
        "@angular-devkit/build-angular": "~0.1000.4",
        "@angular/cli": "~10.0.4",
        "@angular/compiler-cli": "~10.0.6",
        "@angular/language-service": "~10.0.6",
        "@types/d3-scale": "^2.2.0",
        "@types/jasmine": "~3.5.11",
        "@types/jasminewd2": "~2.0.3",
        "@types/node": "^14.0.27",
        "codelyzer": "^6.0.0",
        "husky": "^4.2.5",
        "jasmine-core": "~3.5.0",
        "jasmine-spec-reporter": "~5.0.0",
        "karma": "~5.0.0",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage-istanbul-reporter": "~3.0.2",
        "karma-jasmine": "~3.3.0",
        "karma-jasmine-html-reporter": "^1.5.0",
        "protractor": "~7.0.0",
        "scully-plugin-disable-angular": "^5.5.0",
        "scully-plugin-minify-html": "^3.2.0",
        "ts-node": "~8.10.2",
        "tslint": "~6.1.0",
        "typescript": "~3.9.7"
    }
}

💻Your Environment
Angular Version:

10.0.6

Scully Version:

1.0.0

🔥 Exception or Error

Duplicate of #924.
We are in the process of adding a proper error message.

source: gharchive/issue

authors: SanderElias nhuyvan

repo: scullyio/scully

license: MIT

license_type: permissive

license_source: github-api


text:
add PathML package

In what way does it use scverse datastructures?
Seems spatial-related, so maybe @giovp can comment on this.
Ticks all other boxes though.

They use anndata, scanpy and squidpy!

source: gharchive/pull-request

authors: giovp mikelkou

repo: scverse/ecosystem-packages


text:
Importing segmentation mask into anndata and strange sq.pl.spatial_segment results

I have several images that I have successfully imported into image containers, along with their respective whole cell segmentation masks that was generated elsewhere (mesmer). I have separately generated anndata objects using extracted data from these segmentation masks (quantification is done outside of squidpy).
I am able to add the images from the containers back into the anndata objects, but I have no idea how to add the segmentation mask back into same anndata objects, and do plotting as shown in the tutorial.
I looked through all the examples, and couldn't find any info. all the example data already have segmentation masks built into the data object. Some direction and documentation would be much appreciated.

I was able to get the segmentation mask to load into anndata and plot somewhat successfully, after looking at data types and structure of the provided data.
However, I am getting some very strange behavior with sq.pl.spatial_segment. Firstly, the crop_coord documentation I believe is wrong. Instead of [left, right, top, bottom], it seems to be [x1, y1, x2, y2] where (x,y) 1 and 2 are top left and bottom right corner of the crop. I deduced this by looking at the tutorial usages.
When I plot the entire image, the segmentation masks and the image seem to align reasonable okay. however, when I use crop_coord, the background image becomes misalign with the segmentation mask. I set scaling factor to 1 when I imported the image.
Not only that, when I tried to plot values of the cells associated with the mask, they seem to change, depending on how I crop the image! I haven't tried categorical values yet, but this is odd, to say the least.

Hi @aandytu ,
apologies for late reply. for understanding how to import image and segemntation into anndata, this tutorial might be helpful https://squidpy.readthedocs.io/en/latest/tutorials.html#advanced-tutorials
for the plotting, I feel this is a but with the cropping function inside plotting. I am afraid I don't have time to fix it in the next weeks...

Hi @aandytu
I don't think this method can be robustly used for all spatial omics technologies anymore and it will also be deprecated eventually because plotting and visualization of spatial omics data is now done with spatialdata-plot and napari-spatialdata. I would recommend using those tools for plotting the segmentation mask on top of spatial omics data.

authors: LLehner aandytu giovp

repo: scverse/squidpy


text:
Update for Spring 5 Build Snapshot that includes reactive support

This repo seems to me that it serves as the canonical example of how Spring with reactive support looks like.
It would be great if it could be updated to use latest Spring 5 build snapshot that includes Reactive support.
Or perhaps is there some example inside the Spring Framework repository that better serves the purpose of demonstrating Spring's reactive capabilities?
Thanks!

Done :-)

Awesome!
Thanks!
On 31 Jul 2016 07:58, "Sébastien Deleuze" notifications@github.com wrote:

Done :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sdeleuze/spring-reactive-playground/issues/14#issuecomment-236410364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELBvyHt5TfzlOno7qI98kl0d0YoLJUDks5qbCuOgaJpZM4JQsUR
.

authors: geoand sdeleuze

repo: sdeleuze/spring-reactive-playground

license_source: bigquery


text:
Support pypi trove classifiers

Trove classifiers are somewhat important for software classification inside pypi. Moreover, it can help support better some data about the package.
Poet could be great place to abstract this concept in an higher-level way, like :
dev-status = 'beta'  # this add the 'Development Status :: 4 - Beta' classifier

Many information already provided, like compatible python versions, licence, or C/C++ extensions, can directly be understood as trove classifiers (Programming Language :: Python :: *, License :: *, Programming Language :: C*).
This is also a way to control the values given by user : if a licence is not recognized (because not convertible to trove classifiers), user should be warned during package building.

Python versions are already supported. For instance if you put python = ["~2.7", "^3.5"] in your poetry.toml file it will set the following classifiers:
Programming Language :: Python
Programming Language :: Python :: 2,
Programming Language :: Python :: 2.7,
Programming Language :: Python :: 3,
Programming Language :: Python :: 3.5,
Programming Language :: Python :: 3.6

The other classifiers are not currently supported but I think it would be a nice addition.

authors: Aluriak sdispater

repo: sdispater/poet

license: mit


text:
Bump version of max/awesome-lint

I just cut a new version of max/awesome-lint that makes use of the new GitHub Actions format. This updates the lint workflow to make use of it.

Dependabot has basic support for bumping actions now to make this easier going forward.
https://github.com/dependabot/dependabot-core/pull/1313

@xt0rted said...
Dependabot has basic support for bumping actions now to make this easier going forward.

Ooo, I hadn't heard about this feature of Dependabot, that is good to know, thanks!  I do not believe that I would have permissions to add dependabot onto this repository.  We would need @sdras to help with that.

@max thanks for adding this!

@max your changes have been merged, thanks for your contribution 👍

repo: sdras/awesome-actions


text:
Devel/adding stopping children to ifsupervisor

Just proving the APIs for proper stop / start of selected children of interface supervisor.

Looks good thanks

authors: metelik michaelkschmidt


text:
Use java.nio.file for file/path handling

Constructing paths using string operations is error prone, but there's lots of areas in the code base where this is done, which sets a bad example.
Lots of APIs in the code base also take in Strings as file paths, which further encourages this kind of code.

I'll start work on this!

     *
 If the {@code name} begins with a {@code '/'}
     * ('\u002f'), then the absolute name of the resource is the
     * portion of the {@code name} following the {@code '/'}.
     *
     *
 Otherwise, the absolute name is of the following form:
     *
     *

     *   {@code modified_package_name/name}
     *

It seems like Class#getResource takes in string paths that only use / as a file separator. As a result,  this results in the UI tests to fail as \ is being used for the file separator instead. This is because using java.nio.file.Path to handle file paths results in the conversion of the file separator based on the current operating system. Since Class#getResource only deems file paths that use / as valid, these tests would fail in a Windows computer as Class#getResource returns null. So in this case, is it better to leave the file path handling in the UI component to be just string concatenation?

@vivekscl

So in this case, is it better to leave the file path handling in the UI component to be just string concatenation?

Yeah you can leave it.

authors: pyokagan vivekscl


text:
PUT encounter/:id implementation and test

Implemented PUT /api/encounter/:id as specified in #116
Fixes #116

I think this needs to include the firebase auth before we merge it in.


text:
UI issues

Service detail page, change EndPoint to Endpoint

In component information, change enter a resource name to enter a component name

In workflow creation, change Limit Steps running in parallel to Parallel Step Limit

In workflow detail page,

Change Workflow to Workflows in breadcrumbs.
Change Records  to Executions
Change Started Running Time to Start Time

Verified in UI dev-1421030

repo: seal-io/walrus


text:
Update build configuration

The build configuration of this project is outdated and may no longer work.
This pull request will be merged automatically if there are no conflicts.

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

repo: sealsystems/node-request-service


text:
doesn't return id from upserted rows

it feels like it would be easy to return the ID of the upserted row... presumably this would help a lot of people

This would be extremely helpful. To emulate this right now, you have to do another find with the selector.

This should be do-able in both PostgreSQL and MySQL without too much difficulty (while still being transaction-safe) but I'm not sure about sqlite3 (see http://stackoverflow.com/questions/6242756/how-to-retrieve-inserted-id-after-inserting-row-in-sqlite-using-python for a python example).  I'll investigate and see what I can come up with :)

Anyone still interested in working on this?

@olivierlacan We need this for at work so it's on the roadmap, yes :)

@pnomolos Checking back in since this is a source of performance issues for us still.

@olivierlacan Yes, I'm going to try and get it in once 3.0 is released, but work has been crazy the last while so I haven't had much time.  I was trying to get 3.0 pushed out over Hacktober but you see how well that went :man_facepalming:

authors: EndangeredMassa olivierlacan pnomolos seamusabshere

repo: seamusabshere/upsert


text:
Create playerstationconsolegui.config.patch

之前的"車站"應該翻譯成太空站 抱歉

這個我昨天翻譯過了, 由於有衝突 我就直接關閉了


text:
continue to add Unit and Integration tests

Work in progress to improve code test coverage

closing, will regenerate as it seems to not be taking new commits after last merge of main 🤷♂

repo: seapagan/fastapi-template


text:
Modify a CMake so that one can build the project on Windows without MSVC project files

See e.g., an example of doing this here:
https://github.com/lemire/FastPFor/commit/8aa0f8528c8d4750f6561cce7403881722ec3ba7

This is actually possible now, but this needs to be tested properly.

repo: searchivarius/nmslib


text:
[ metric ] add mertics for getty

What would you like to be added:
Why is this needed:

hello, glad to be here😊

hello, glad to be here too

authors: georgehao gongna-au robynron

repo: seata/seata-go


text:
add convert ut

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #571 (1f1583a) into master (456373f) will decrease coverage by 0.53%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #571      +/-   ##
==========================================
- Coverage   37.40%   36.88%   -0.53%
==========================================
  Files         161      162       +1
  Lines       11243    11494     +251
==========================================
+ Hits         4206     4240      +34
- Misses       6675     6892     +217
  Partials      362      362

see 1 file with indirect coverage changes


text:
Question about tx-service-group【关于 tx-service-group参数的疑问】

如何使用tx-service-group参数？
假设我的事务分组1（tx-service-group）名称为 taobao。
seata-server集群在eureka的名称为 seata-server1。
假设我的事务分组1（tx-service-group）名称为 jd。
seata-server集群在eureka的名称为 seata-server2。
那么我的架构应该怎么样才合适？
seata-server1和seata-server2 可以同时属于一个tx-service-group吗？ 还是必须分开属于不同的tx-service-group。
文档中提到“事务分组”概念是为了发生故障时可以快速failover。
这种快速failover是大概是什么流程？以及什么情况下可以触发快速failover？

@slievrly
Here is my point of view. Please let me know if I'm wrong.
First, My two big business Jd and taobao are using "seata-server1" as seata server which I deploy many copies of it.  And "seata-server2" is not used.

Second, when seata-server1 clusters is down, I will change the cluster name of the transaction grouping map. That is say ,change all micro service to connect to seata-server2.

repo: seata/seata


text:
optimize: Generated instances that were not actually used when the class was loaded

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

MysqlTableMetaCache,PostgresqlTableMetaCache ,JacksonUndoLogParser, etc. classes with static variables.
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

Please assign it to me.


text:
Radio question defaults for first option

Describe the bug
When families try to apply to the ORCA middle school opportunity program they are asked about their income. When families select the last option on the radio question for "Household income" >> "Not income eligible" the form saves it as the 1st option "Family size 2, annual income $32,000". I deleted the radio question options, saved, and re-published and the issues doesn't seem to be there anymore. But thought I'd add a bug in case this is something to look into a big more
To Reproduce
Steps to reproduce the behavior:

Go to "ORCA Middle School Opportunity"
Complete the question for household income "Not income eligible"
Select "Next"
Complete the rest of the form
Review the form as see that the answer to household income saved as "Family size 2, include $32,000"

Screenshots
Attached
Additional context
I deleted all answers and re-added them and don't see the issue any longer.

I am unable to reproduce this bug -- let's keep a lookout to see if this keeps happening. Going to close this for now.

Thanks, Erin! I haven’t received any more emails about the issue.
[Title: City of Seattle logo]Elise Kalstad
She/Her/Hers
City of Seattle, Innovation & Performance
206-256-5515 | @.@.>
Learn more about Innovation & Performance: seattle.gov/innovation-performancehttps://www.seattle.gov/innovation-performance
From: Erin Ettenger @.>
Sent: Tuesday, November 09, 2021 9:54 AM
To: seattle-uat/civiform @.>
Cc: Kalstad, Elise @.>; Author @.>
Subject: Re: [seattle-uat/civiform] Radio question defaults for first option (Issue #1675)
CAUTION: External Email
I am unable to reproduce this bug -- let's keep a lookout to see if this keeps happening. Going to close this for now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/v1/url?k=95d52773-ca4e1e38-95d50fc3-867c6b071c6f-4474c729159a93cd&q=1&e=77ff3d95-ddf7-446e-a369-8b61b5e1f2a2&u=https%3A%2F%2Fgithub.com%2Fseattle-uat%2Fciviform%2Fissues%2F1675%23issuecomment-964439038, or unsubscribehttps://protect2.fireeye.com/v1/url?k=f148ff69-aed3c622-f148d7d9-867c6b071c6f-83c49837839a3810&q=1&e=77ff3d95-ddf7-446e-a369-8b61b5e1f2a2&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUQYIY7SGEDVUULZI4Q5ED3ULFU5FANCNFSM5HO75KCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://protect2.fireeye.com/v1/url?k=0634eefd-59afd7b6-0634c64d-867c6b071c6f-15bf47424a063b72&q=1&e=77ff3d95-ddf7-446e-a369-8b61b5e1f2a2&u=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub.

authors: elisekalstad ettengererin

repo: seattle-uat/civiform


text:
Wireframe out a Parks & Rec Scholarship Application

In general we want to take PDF applications and wireframe them out into question-by-question mobile app. Example of this can be found here. Visual assets for wireframes can be downloaded here.
We recommend starting with the Parks & Rec Scholarship Application PDF.

Take PDF applications and wireframe them out into question-by-question mobile app. Example of this can be found here. Visual assets for wireframes can be downloaded here.

Someone had a question about this in Slack; here's my response....

The plan is for all forms to lead off with a few basic questions like the person's name, phone number, and email. (I think that's it but @HansEngebretsen can confirm.) Specific forms will have to implement all the other questions like your address and such. But once the user fills out one form, they'll be able to skip all those questions in future forms, since their data will be auto-filled.

I think I am tackling this one, and welcome anyone interested to be part of this.

@baipai happy to work on this with you. Let me know how I can help.

authors: baipai gcapiel neel-a-mehta soomoon


text:
osinfo naming issue

Version: ^4.14.4
Documents: ...
7. Operating System
Function : si.osInfo(cb)
getAllData() doesn't contain osInfo, but it has os instead.
Naming should be consistent?

Also , networkInterfaces , networkInterfaceDefault is undefined, and etc.

repo: sebhildebrandt/systeminformation


text:
updated nvidia-smi detection logic to use the latest nvidia-smi available if the user has previous installations

If the user has previous installations of the Nvidia drivers, the current logic will use the first directory in the list of candidateDirs, but the directory may not be consistent with the user's currently installed Nvidia Drivers. This pull request will use the nvidia-smi with the most recent creation date, which will also be the installation date of the Nvidia drivers currently in use on the system.

@cconley717 thank you for the improvement! Version 4.33.7 just published.

@cconley717 thank you for the improvement! Version 4.33.7 just published.


text:
Cannot find name 'google'.

I got this kind of error: Cannot find name 'google' in Angular  10, I ran npm install @agm/core and add it in the module, but when I run it I got this kind of errors:
ERROR in node_modules/@agm/core/lib/directives/circle.d.ts:52:34 - error TS2304: Cannot find name 'google'.
52     strokePosition: keyof typeof google.maps.StrokePosition;
node_modules/@agm/core/lib/directives/circle.d.ts:68:32 - error TS2503: Cannot find namespace 'google'.
68     centerChange: EventEmitter<google.maps.LatLngLiteral>;
node_modules/@agm/core/lib/directives/circle.d.ts:72:31 - error TS2503: Cannot find namespace 'google'.
72     circleClick: EventEmitter<google.maps.MouseEvent>;
node_modules/@agm/core/lib/directives/circle.d.ts:76:34 - error TS2503: Cannot find namespace 'google'.
76     circleDblClick: EventEmitter<google.maps.MouseEvent>;
node_modules/@agm/core/lib/directives/circle.d.ts:80:24 - error TS2503: Cannot find namespace 'google'.
80     drag: EventEmitter<google.maps.MouseEvent>;
node_modules/@agm/core/lib/directives/circle.d.ts:84:27 - error TS2503: Cannot find namespace 'google'.
84     dragEnd: EventEmitter<google.maps.MouseEvent>;
node_modules/@agm/core/lib/directives/circle.d.ts:88:29 - error TS2503: Cannot find namespace 'google'.
any sugestions?
Thanks a lot

I fixed the problem with:
npm install @types/googlemaps

Thanks, fixed my issue.

TypeError: Cannot read property 'AutocompleteService' of undefined
I am getting this in console & in terminal "Cannot find namespace 'google'."
I did npm install @types/googlemaps but this doesn't worked for me.

TypeError: Cannot read property 'AutocompleteService' of undefined
I am getting this in console & in terminal "Cannot find namespace 'google'."
I did npm install @types/googlemaps but this doesn't worked for me.

@REPUNJAYRAVI just install ,
npm i @angular-material-extensions/google-maps-autocomplete
for autocomplete we use angular material extensions.

@REPUNJAYRAVI just install , npm i @angular-material-extensions/google-maps-autocomplete for autocomplete we use angular material extensions. or else try with npm i @types/googlemaps@3.39.13

Excellent info. This worked for me -> "npm i @types/googlemaps@3.39.13"

" npm i @types/googlemaps@3.39.13 " works for me, thank you

Yeah, I just got this message... keep this up.

@REPUNJAYRAVI  npm i @types/googlemaps@3.39.13
Ty, Works for me

Types for the Google Maps browser API have moved to @types/google.maps. Note: these types are not for the googlemaps npm package, which is a Node API
npm install @types/google.maps

what worked for me was
npm install @types/google-maps
which is an implementation of @types/google.maps
and added
"types": [
"google.maps"
]

Here is the official documentation from google to work with TS
https://developers.google.com/maps/documentation/javascript/using-typescript
There you can see they recommend you to install @types/google.maps

authors: MarcusGV MeryemTAIKOK PhilatPlay REPUNJAYRAVI TheSpiders-Kol marianadgeorgieva2 mateombar migueldv90 sudhakaradla vanishree165 vikingbr vishu3258

repo: sebholstein/angular-google-maps


text:
PerPixelLighting.cs

güneşin ve araç farlarının yere yansımasını düzenliyor. sadece yere yansımak yerine karakterlerin ve araçların üzerlerine yansımasını da sağlıyor. ne az, ne de aşırıya kaçacak bir görüntü.
https://cdn.discordapp.com/attachments/550365484906709009/808471307704074291/unknown.png
cleo linki:
https://cdn.discordapp.com/attachments/550365484906709009/808471335193673759/PerPixelLighting.cs

Eklendi.


text:
Execute the add.js example

Hi team.
Thanks for your efforts.
How can I execute add.js example using the wasmedge-cli and calculate sum of 1 and 2?
Actually, I'd like to know how we can have multiple exported functions in a single wasm file and use them by the host app.

https://wasmedge.org/docs/develop/javascript/hello_world#quick-start

authors: ShayanShiravani juntao

repo: second-state/wasmedge-quickjs


text:
进行pir时，输出目录被清空

Issue Type
Bug
Source
source
Secretflow Version
secretflow 1.5
OS Platform and Distribution
centos 7.9
Python version
3.10
Bazel version
6.5.0
GCC/Compiler version
11.2
What happend and What you expected to happen.
单机进行pir计算，然后我定义/home为输出目录，当我运行py脚本后发现，/home目录被清空

Reproduction code to reproduce the issue.
pir_input_path = '/home/gonghang.csv'
    # 服务器端随机密钥路径 用于将服务端数据初始化成数据库数据 (生成方式：dd if=/dev/urandom of=oprf_key.bin bs=32 count=1)
	pir_oprf_key_path = '/home/oprf_key.bin'
    # 服务端数据生成数据库文件生成路径
	pir_setup_path = '/home/'
    # 记录开始时间
    start = time.time()
    # 服务器端设置
    reports = spu.pir_setup(
        server='bob',
        input_path=pir_input_path,
        key_columns=key_columns,
        label_columns=label_columns,
        oprf_key_path=pir_oprf_key_path,
        setup_path=pir_setup_path,
        num_per_query=1, # 查询次数
        label_max_len=18,  # 查询结果过字段总和最大长度
		bucket_size=10
    )
    # 日志打印服务器设置后 reports 内容
    logging.info(f"offline psi reports: {reports}")
    # 日志打印服务器设置运行时间
	logging.info(f"cost time: {time.time() - start}")
    # alice查询数据路径
    alice_input_path = '/home/nonghang.csv'

    # 客户端配置
    alice_config = {
        'input_path': alice_input_path,
        'key_columns': key_columns,
        'output_path': '/home/nonghang_pir.csv',  // 查询结果输出路径
    }

    # 服务端配置
    bob_config = {
        'oprf_key_path': pir_oprf_key_path,
        'setup_path': pir_setup_path,
    }

    # 查询配置
    query_config = {
        alice: alice_config,
        bob: bob_config,
    }
    # 记录开始时间
    start = time.time()
    # 调用spu的匿踪查询方法
    reports = spu.pir_query(
        server='bob',
        config=query_config,
    )
    # 日志打印查询完成后的 reports 内容
    logging.info(f"online pir reports: {reports}")
    # 日志打印查询动作运行时间
	logging.info(f"cost time: {time.time() - start}")
	# 关闭sf
    sf.shutdown()

pir_setup_path 存储了server离线之后的cache，请不要和输入输出混在一起，比如可以设成 /home/server_setup

repo: secretflow/secretflow


text:
Question on the benchmark example, how to generate the data (80w_1500_1500)?

Issue Type
Documentation Feature Request
Source
source
Secretflow Version
latest
OS Platform and Distribution
Centos 7
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
When I'm reproduce the 'sf_component_test', dont know how to generate the 80w 1500 data file, is there any script to generate the data file, or the format of the csv file.
我在尝试复现sf_component_test时，不知如何生成里面的80w 1500特征的数据集，请问是否有相关的生成脚本，或者其所用的csv的格式。我使用自己生成的随机文件测试时，出现以下报错：

{"mem_peak": 0, "run_time": 0, "result": null, "error_msg": "run comp err: input attr input/train_dataset/feature_selects check_table_attr_col_cnt fails.", "error_code": -1}

Reproduction code to reproduce the issue.
{"mem_peak": 0, "run_time": 0, "result": null, "error_msg": "run comp err: input attr input/train_dataset/feature_selects check_table_attr_col_cnt fails.", "error_code": -1}

@LiuTxxx
你好，“80w 1500特征的数据集”所关联的页面辛苦贴一下

Hello, this data is just randomly generated csv. You can generate the data you want or use public datasets. For generating random data, you may find sklearn https://scikit-learn.org/stable/modules/generated/sklearn.datasets.make_classification.html helpful.

Hello, this data is just randomly generated csv. You can generate the data you want or use public datasets. For generating random data, you may find sklearn https://scikit-learn.org/stable/modules/generated/sklearn.datasets.make_classification.html helpful.
80w_1500 data means 800000 samples, 1500 feature dimensions each party

thanks for reply.
however, i try to generate the random data, but the benchmark still get error shown in my original post.
is it my format of csv have something wrong? or sth wrong on config?
my format of csv is: id, x1, x2....x1500, y, and i have modified the data.json to fit the input format.

OK, so in the ML train config file, the example (sgb e.g.) is as follows:
{
    "num_boost_round": 10,
    "max_depth": 4,
    "learning_rate": 0.3,
    "objective": "logistic",
    "sketch_eps": 0.007936507936507936,
    "subsample": 1.0,
    "colsample_by_tree": 1.0,
    "input/train_dataset/label": ["y"]
}

We should add one line based on your data, like this:
{
    "num_boost_round": 10,
    "max_depth": 4,
    "learning_rate": 0.3,
    "objective": "logistic",
    "sketch_eps": 0.007936507936507936,
    "subsample": 1.0,
    "colsample_by_tree": 1.0,
    "input/train_dataset/feature_selects: [f"x{i}" for i in range(1, 1501)],
    "input/train_dataset/label": ["y"]
}

authors: Chrisdehe LiuTxxx da-niao-dan


text:
Complete deps functionality

This PR contains the additional installations required to be able to use swig.
Note: There is a section that is commented. That is the safe way of installing swig. The other one (the simpler one with only one line) may not work if the distro does not have swig using apt install. Should be discussed which version to keep.

What do you mean by may not work if the distro does not have swig using apt install?

What I mean with that part is that if the distro does not have swig as an option to directly install (I think Alpine had this issue, or even debian), then you need to do the whole procedure: download the tar and install.

repo: secrethub/secrethub-xgo


text:
Implementing Rate Limiting in Flask APIs

NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Brief Summary:
Rate limiting is a strategy for limiting network traffic. It puts a cap on how often someone can repeat an action within a certain timeframe. In this article, we will be going over what rate limiting is, the advantages of limiting request rates, and explore implementing rate-limiting in Flask APIs.
Key Takeaways:
By the end of this tutorial, the reader will be able to:

define what rate limiting is
understand the importance of limiting request rates in APIs
build Flask APIs that limit the rate of requests received

References:
N/A

👋
@LordGhostX
(Good afternoon and thank you for your article submission to the EngEd program - we are meeting as our program is under a process of being streamlined.)
Thank you for your topic suggestion. Per the recent message posted in our EngEd Slack channel, we are pausing acceptance of new articles until further notice while we work through the backlog of submitted drafts. We will notify you when we are ready to accept new topic suggestions. Thank you for your patience.

authors: LordGhostX hectorkambow


text:
Using Google Maps API in your website

Proposed title of article
Using Google Maps API in your website
Introduction paragraph (2-3 paragraphs):
Google Maps API is web mapping API that allows  developers to easily add location maps in a website. The API provides satellite views, streets view, aerial photography and street maps. This API is very useful to locate places in a website like businesses, sportsgrounds, roads and streets.
This article will take the user through implementation of the API in JavaScript such that by the end of the article, a user should have a Google Map perfectly imbedded into a website with a functionality to autocomplete places search and get direction on the map using Places and Directs API. The user will be enter the location to start and the destination then we visualize the directions to the place and estimate the distance
Key takeaways:

Getting Google  API keys for Google map, Places, and Directions
Imbedding Google Map into a website using JavaScript
Adding place Markers and Different views in Google Maps
Getting directions on a map
Autocomplete city names

References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Hi, @mercymeave. Thanks for submitting a topic suggestion.
From looking at your article idea, it seems that there is much we could add for to benefit readers but we're really looking for unique/original content, and based on the content provided, it seems that information that you intend to cover is already readily available through the documentation and other blog sites.
Could you expand on the different views that you would cover and what makes this article unique from other Google Map API tutorials?

Hello @louisefindlay23 , thank you for the observation. I intend to add value by adding  autocomplete functionality in the map as well as showing directions on the map. So it is like using 3 APIs in a single project with a beginner friendly approach.
Let me know of any issues with that. Thank you.

Thanks, @mercymeave. That sounds great and will really add value. Topic approved ✔. I've implemented an autocomplete Google Map in the past and there's certainly a dearth of up to date simple guides on the topic.

That is amazing I will ping you so that you share the link, I would love to see what you did.

Thanks so much. I'm afraid it's part of an ongoing client project so I can't share right now but I'll be sure to PM you through the EngEd Slack channel when it's live.

Alright

@mercymeave
Just pinging you on this topic form - as were making some room in the topic queue.
No rush if you're still working on this one - if you need more time we can always re-open at a later date when the article is ready to publish.

authors: hectorkambow louisefindlay23 mercymeave


text:
[Languages] How to Build a Snake Game In JavaScript

Proposed title of article
How to Build a Snake Game In JavaScript
Proposed article introduction
Hands-on projects are the best way to learn any programming language. The Snake Game is a simple game that can be created using the fundamentals of JavaScript and HTML.
Snake is an old-school video game from the late 1970s. The basic goal is to navigate a snake while eating as many apples as possible while avoiding contact with the walls or the snake's body.
In this article, I’ll show you step-by-step how to create this Snake Game using JavaScript and HTML
Key takeaways

Display the board and a still snake
Make the snake move automatically
Use arrow keys to change the snake’s direction
Incorporate food and score

Article quality
This article will provide learners with a deep understanding of javaScript. Many articles on the internet rely on official documentation, and their examples are hard for beginners to understand. This article will be perfect for novices, as the code snippets will be well demonstrated and straight to the point.
References
N/A

Many articles exist that tailor to novices. Is there anything you can add to make it more unique?

@louisefindlay23  I believe that knowledge can never be exhausted, and when I look at nearly similar content online, the majority are not beginner-friendly and are not as engaging as they could be. Of course, this article will be one-of-a-kind, and it will address these issues as gracefully as possible in order to maintain quality and add value to the community. Thanks


text:
[Languages] Understanding memory leaks in managed languages

Proposed title of article
Understanding memory leaks in managed languages
Proposed article introduction
Memory leaks refer to the gradual deterioration of system performance that occurs over time as the result of the fragmentation of a computer's RAM. It is caused by poorly designed/programmed applications that fail to free up memory segments when they are no longer needed.
Memory leaks start when a program requests a chunk of memory from the operating system for itself and its data. As the program executes it may need additional memory and therefore makes another request. A well-programmed application explicitly releases the memory that it no longer requires. Unfortunately. not all programs are well-programmed and they do not delete objects properly thereby leading to memory leaks.
A memory leak contributes to the heap size which may not be of major concern. However, if left unattended it leads to memory usage problems. Finding the root cause of the problem in the program can be a difficult task. Unlike crash dump where reference to the specific line can be found, a memory leak remains hidden. In this article, we will look in detail at memory leaks in managed languages.
Key takeaways
At the end of the article the learner will understand:

the consequences of the memory leaks
types of heap RAM
profiling tools used for tracking and fixing memory leaks
how to detect memory leaks
common types of memory leaks
how memory leaks can be prevented

Article quality
The article will take a practical approach with examples on how to detect and handle memory leaks and provide possible solutions to the issue.
References
N/A

Thank you for submitting your topic. @g-wekesa
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


text:
How to Invoke a SOAP Web Service in Java

Article checklist
Formatting and structure checks

[X] Have you used the correct folder and file structure? - see Contribution Guidelines

[X] Is your article properly formatted in Markdown? - see Github Markdown guide

[X] Have you used our preferred heading structure? - H3 (###) and up

[X] Does your article follow any of the suggested structure formats? - see example formats

[X] Is your article over 750 words? - Tool: Wordcounter.net

[X] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[X] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[X] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[X] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[X] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[X] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[X] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[X] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[X] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[X] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
`This closes #4209

Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
How-to-invoke-a-SOA- web-service-in -java#4421

@ahmadmardeni1
requested changes are in place

Plagiarism check done ✔

@M0nicah
I've made the requested changes

jumping on this one

@section-engineering-education/content-moderator-team ? this seemed more like an article to me - wanted to get a couple other opinions.

@Tonnysage
Overall nice work - please be sure to go through any edits made by myself or your peer reviewer to improve future articles 🚀

Upon previewing it seems (most) of the copied and pasted material is having formatting issues.
This is troubling to a couple reasons.
This may indicate the content is NOT 100% original.
& the formatting (see image) is not pleasing to read for our audience.

@Tonnysage
Please rectify these issues. (I started to in the 1st paragraph - but then noticed it is throughout the entire article).
Can be easily seen if pasted into a spell check (online).

@hectorkambow
The requested revisions are in place

@hectorkambow The requested revisions are in place.

@Tonnysage
Not sure why various letters are still rendering rather oddly.
(see image)

@hectorkambow
kindly check the updated changes

@Tonnysage
Not sure why various letters are still rendering rather oddly.
(see image)

There are various other format/rendering issues than pictured in that snippet btw.

@Tonnysage Question - did you go through the entire article? Or just fixed the ones shown in the snippet?

@hectorkambow I've gone through the whole article this time round, kindly check.

Checking again

@Tonnysage Not sure what the issue there was - but I had to re-write many sentences to get this pushed across.
Please research the reason as to why this occurred to prevent from happening again - if another PR comes in with this same issue - we will simple close it.
👍
Also please ensure that you have a verified and fully setup paypal account that you are the owner of to prevent any payout being reverted or suspended by Paypal.

authors: Kayere Tonnysage ahmadmardeni1 hectorkambow


text:
Treat arithmetic overflow in non-spec code as an error rather than as uninterpreted

This should make it easier to diagnose verification failures caused by potential integer overflow.  See https://github.com/secure-foundations/verus/issues/45 .

could you explain & document the new ErasureMode and InferMode concepts? What problem are they solving, and how do they solve it?

authors: Chris-Hawblitzel tjhance

repo: secure-foundations/verus


text:
Unifying CLI Servers

All of our CLI Servers are now one again, tuftool lacks multiarch so I added the entry manually rather than using the method as it would add multiple empty entries to the CLI Downloads Page on cluster.

/test tas-operator-e2e

Please this code into cli e2e test. It will dump state of common objects from namespace which could be useful to find root of problem.
AfterEach(func() {
    if CurrentSpecReport().Failed() && support.IsCIEnvironment() {
	    support.DumpNamespace(ctx, cli, "trusted-artifact-signer")
    }
})

/test tas-operator-e2e

@tommyd450 I see this error message in events:
'Failed to apply default image tag "quay.io/securesign/client-server@sha256:8d98cc4648153c1aebbf2772139d05e560a150bf5070fd8e49057b2ac6dab67":
  couldn''t parse image reference "quay.io/securesign/client-server@sha256:8d98cc4648153c1aebbf2772139d05e560a150bf5070fd8e49057b2ac6dab67":
  invalid checksum digest length'

/test tas-operator-e2e

/override ci/prow/tas-operator-e2e

repo: securesign/secure-sign-operator


text:
fix(REST): Remove trailing "/" that is not part of the REST call

Otherwise 404 errors are thrown when accessing the backend.
Fixes Issue #446.

Please also add the changes in the FormEditor Tests.

repo: secvisogram/secvisogram


text:
Translate Extraterm, (French)

Hello,
I see repertory language and fr but in config panel not see the select language ?
Why ?
Thanks

Extraterm does not support different languages.
If other people want this, then say something on this issue. If enough people want this, then I can make Extraterm translatable.

I support this request.
Thanks.

I support this request also !

i do not intend to use translated version, but i could localize it for germans.

Similar as above, I could work with Czech and/or Russian

Same as above. Will not use a PT version, but willing to help in the translation

authors: GutZuFusss MeryllEssig Paul75 davidsmorais nocorners orangcrsh sedwards2009


text:
Trouble with frames

I considered adding several reports, but I thought it would be better to describe these issues together and split up later.
I'm using zsh 5.2 with several oh-my-zsh plugins, plus powerline, on Linux. I have configured extraterm with Fira Code Retina.
First problem: I get frames created all the time. After first starting extraterm, I set all the Frame checkboxes on the Frames page, but I didn't create any new rules. However, for instance running ll renders a frame. I have not found a command that does not create a frame.
This leads to problem two: it seems that each frame resets the terminal. The behavior varies a bit - sometimes the terminal is reset and the new frame is shown at the top of the output, followed by the prompt. I can see this behavior with ll, for instance. Sometimes, I can briefly see a frame popping up before the terminal resets, and then I'm left with just the new prompt at the top. This happens with a simple cd, for instance.
Finally, the rendering of frames is incorrect in that the title bar of the frame partially covers the first line of text inside it:

Please let me know if I can help with further details or debugging.

The idea with frames is that the output of each command is framed by default. In the frame settings you can customise the behaviour somewhat on a per command basis. i.e. you set rules which match commands and then you can disable the frame etc.
Did expect or want the default frame behaviour to be different?
Regarding the terminal being reset after every command, do you just mean that the screen is cleared and the last output is scrolled up and outside the visible window area?
Yes, I've also noticed how the contents of frames is often misaligned. It bugs me too and intend to give the problem some attention soon.

Thanks for explaining!

Did expect or want the default frame behaviour to be different?

Yes, indeed. I thought the settings page showed how commands could have frames activated - wondered briefly about the strange set of items and the fact that they were all unchecked, but it didn't cross my mind that all commands would be framed by default.
I'm not sure whether that's a good thing... I think my initial impression is that I'd rather be using the frames for specific output only, instead of trying to disable them selectively for all commands that don't need them. Perhaps it would be a good idea to have a "use frames by default" checkbox? Then each user could easily switch between an opt-in and an opt-out usage style.

Regarding the terminal being reset after every command, do you just mean that the screen is cleared and the last output is scrolled up and outside the visible window area?

Huh. Yes, turns out that's what I mean. I apologize, I guess I've been using tmux too much and I didn't notice that the content was available in the scrolled region.
Nevertheless, the behavior remains curious. Is it on purpose?

Yes. I'm struggling with the same issue, which really makes things unusable right now. Any space below your prompt is dead space and typically you want to see as much of your scrollback as possible. I know it's still present if you scroll up, but it gets annoying quickly if you are running a number of short commands which outputs 2-3 lines and you cannot see anything of the previous scrollback.

In the above example, there are numerous commands and output in the history/scrollback.

@oliversturm The whole frame settings were thrown together a long time ago and need to redone. At some stage the number of configurable options for each rule will be expanded and it won't just be one lonely checkbox. Adding something at the top for selecting the default behaviour isn't a bad idea. Even if it is not changed it will still communicate the default behaviour and make it more intelligible.

The clearing and scrolling problem is fall-out from when I added proper support for the clear command. I've already tried to tweak it once, but I also can see that it gives bad results. The reason why it is hard to get right is because of how the frames and normal terminal screen/area interact.
I've got some ideas about how to improve the situation though.

Would love to see a fix for the scrolling issue.

This issue is resolved in the 0.35 release.

authors: eSaner oliversturm sedwards2009 withnale


text:
[discussion]: Are we happy with the decision post on Fly?

What would you like to discuss?
The decision post on Fly is written quite recently, but does not follow the template for out Why documentation. It is a very comprehensive post, but it would require quite a bit of work to transfer it.

Can we live with a decision post which doesn't conform to the template?

@lwjohnst86 here is one for you (I think) to have a think about. I'd be happy to keep this one as is, and maybe one day re-work it.

I think it's fine the way it is, even though it doesn't follow the template. Closing.

repo: seedcase-project/decisions


text:
NPM install fails

Hello,
# npm install --save angular-oauth2
npm WARN package.json test@1.0.0 No description
npm WARN package.json test@1.0.0 No README data
/
> angular-oauth2@2.0.0 postinstall /Users/quozd/Development/test/node_modules/angular-oauth2
> ./node_modules/bower/bin/bower install

sh: ./node_modules/bower/bin/bower: No such file or directory
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "angular-oauth2"
npm ERR! node v0.10.36
npm ERR! npm  v2.3.0
npm ERR! code ELIFECYCLE

npm ERR! angular-oauth2@2.0.0 postinstall: `./node_modules/bower/bin/bower install`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the angular-oauth2@2.0.0 postinstall script './node_modules/bower/bin/bower install'.
npm ERR! This is most likely a problem with the angular-oauth2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./node_modules/bower/bin/bower install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-oauth2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/quozd/Development/test/npm-debug.log

Looks like installation is dependant on local bower files. Could you please fix this?

Hi @quozd!
Thanks for reporting this.
I've summited a PR to fix the issue and once it's merged we'll release a new version.

:+1: thank you

authors: quozd ruipenso


text:
Homebrew

can the client be added to homebrew?
thanks

Heya,
I've got homebrew forked with haste at
https://github.com/seejohnrun/homebrew but haven't had a chance to test it
yet.  I will tonight and will send up a pull request.
Thanks for the idea!
On Tue, Jan 24, 2012 at 4:23 AM, aristidesfl <
reply@reply.github.com

wrote:

can the client be added to homebrew?
thanks

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4

I get the following errors with that formula:
'''
~> brew install https://github.com/seejohnrun/homebrew/blob/master/Library/Formula/haste.rb                                                                                user@unknown
######################################################################## 100.0%
Error: /Users/user/Library/Caches/Homebrew/Formula/haste.rb:4: syntax error, unexpected '<'

^
/Users/user/Library/Caches/Homebrew/Formula/haste.rb:5: syntax error, unexpected '<'

 ^
/Users/user/Library/Caches/Homebrew/Formula/haste.rb:8: syntax error, unexpected '<'

     ^
/Users/user/Library/Caches/Homebrew/Formula/haste.rb:8: syntax error, unexpected tIDENTIFIER, expecting $end

                                              ^
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
/usr/local/Library/Homebrew/formula.rb:446:in `require'
/usr/local/Library/Homebrew/formula.rb:446:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:12:in `install'
/usr/local/bin/brew:83:in `send'
/usr/local/bin/brew:83
'''
On Friday, January 27, 2012 at 16:00 , John Crepezzi wrote:

Heya,
I've got homebrew forked with haste at
https://github.com/seejohnrun/homebrew but haven't had a chance to test it
yet. I will tonight and will send up a pull request.
Thanks for the idea!
On Tue, Jan 24, 2012 at 4:23 AM, aristidesfl <
reply@reply.github.com (mailto:reply@reply.github.com)

wrote:

can the client be added to homebrew?
thanks

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3687858

I get the following errors with that formula:
~> brew install https://github.com/seejohnrun/homebrew/raw/master/Library/Formula/haste.rb                                                                                user@unknown
######################################################################## 100.0%
Error: undefined local variable or method `bin' for Haste:Class
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
/Users/user/Library/Caches/Homebrew/Formula/haste.rb:10
/usr/local/Library/Homebrew/formula.rb:446:in `require'
/usr/local/Library/Homebrew/formula.rb:446:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:12:in `install'
/usr/local/bin/brew:83:in `send'
/usr/local/bin/brew:83

Added an update - I won't be able to run it myself until tonight, so not promising anything :)

I would test it, but you didn't push the changes..
On Friday, January 27, 2012 at 16:42 , John Crepezzi wrote:

Added an update - I won't be able to run it myself until tonight, so not promising anything :)

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3688643

Weird, github isn't showing the changeset as retrieved but if I clone it my
changes are there.
patch: http://hastebin.com/kaheqadahe.diff
On Fri, Jan 27, 2012 at 12:25 PM, aristidesfl <
reply@reply.github.com

wrote:

I would test it, but you didn't push the changes..
On Friday, January 27, 2012 at 16:42 , John Crepezzi wrote:

Added an update - I won't be able to run it myself until tonight, so not
promising anything :)

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3688643

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3690507

wrong branch?
On Friday, January 27, 2012 at 19:07 , John Crepezzi wrote:

Weird, github isn't showing the changeset as retrieved but if I clone it my
changes are there.
patch: http://hastebin.com/kaheqadahe.diff
On Fri, Jan 27, 2012 at 12:25 PM, aristidesfl <
reply@reply.github.com (mailto:reply@reply.github.com)

wrote:

I would test it, but you didn't push the changes..
On Friday, January 27, 2012 at 16:42 , John Crepezzi wrote:

Added an update - I won't be able to run it myself until tonight, so not
promising anything :)

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3688643

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3690507

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3691242

I don't think so - if you clone the library locally you should see the
changes.
Looks like github's post-receive may have just errored out
On Fri, Jan 27, 2012 at 2:01 PM, aristidesfl <
reply@reply.github.com

wrote:

wrong branch?
On Friday, January 27, 2012 at 19:07 , John Crepezzi wrote:

Weird, github isn't showing the changeset as retrieved but if I clone it
my
changes are there.
patch: http://hastebin.com/kaheqadahe.diff
On Fri, Jan 27, 2012 at 12:25 PM, aristidesfl <
reply@reply.github.com (mailto:reply@reply.github.com)

wrote:

I would test it, but you didn't push the changes..
On Friday, January 27, 2012 at 16:42 , John Crepezzi wrote:

Added an update - I won't be able to run it myself until tonight, so
not
promising anything :)

Reply to this email directly or view it on GitHub:

https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3688643

Reply to this email directly or view it on GitHub:

https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3690507

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3691242

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3692191

Ok I think it got updated on github and installed without errors.
Doesn't work the bin though:
~> echo peca | haste                                                                                user@unknown
/usr/local/bin/haste:3:in `require': no such file to load -- /usr/local/bin/../lib/haste (LoadError)
	from /usr/local/bin/haste:3

Cool - that's just a require issue I'll fix tonight when I get to testing this

Looks like they're not going to accept the formula anyway, since it is already packaged
on RubyGems - thanks for the feature req, but this one seems dead

Yeah… I kind of was expecting that already.. just wanted to make sure.. thanks for the effort anyway
On Sunday, January 29, 2012 at 16:01 , John Crepezzi wrote:

Looks like they're not going to accept the formula anyway, since it is already packaged
on RubyGems - thanks for the feature req, but this one seems dead

Reply to this email directly or view it on GitHub:
https://github.com/seejohnrun/haste-client/issues/4#issuecomment-3708777

authors: aristidesfl seejohnrun

repo: seejohnrun/haste-client


text:
Don't prioritize "Liquidity required" in the default sorting.

I think this is a duplicate of this issue: https://github.com/seer-pm/demo/issues/205

repo: seer-pm/demo


text:
Prevent name from being overridden

One of our customers is calling identify multiples times: sometimes with a name & sometimes without. In the without case, we were overriding the names to == the email address. This PR fixes that.

@ndhoule @amillet89 this is holding up a customer of ours integration Ramen, and while it's all my fault, a speedy merge of this PR would really make my week :)

Hey guys any word on this? Thx!

@ryana please squash and rebase the commits. Let me know when you're done and I can release today.

Squashed and pushed. Thanks @f2prateek!


text:
Release 1.0.3

Embeds latest integration code (version 5)
No more '_weq' global and 'widgetVersion' option
Integration does not assumesPageview() simply to capture any
initial page name, data
Integration is readyOnInitialize()
WebEngage 2.0 features data collection capablities - event
tracking, identifying users with their attributes etc.

Can you send these as separate PRs so it's easier to review the changes?

Yes though I can only logically break into two - one PR for changes 1 to 4 (all are related to the integration snippet) and another for 5.
Sound good?

I see, I think it's fine for now, we'll review this PR as is.

@f2prateek, is the review complete?

@segment-integrations/core ping

@f2prateek @segment-integrations/core this PR has been open for some time now. Can you please review?
A couple of our (WebEngage) customers use this Segment integration to enable WebEngage's engagement products on their websites and they have been inquiring for event tracking and user identification support with Segment.
Thanks
cc @WebEngage/team

@f2prateek PR has been open since late Feb. Can you please review?
As stated already, our customers need WebEngage's latest features available in this Segment integration.

Sorry but it needs to rebased against the changes on master https://github.com/segment-integrations/analytics.js-integration-webengage/commits/master

@f2prateek it was a straightforward rebase and passed tests, so I just did the update for them given how long we'd taken here. (Then I accidentally merged it from CLI instead of rebasing the pull request -- oops.)

as a result although it says "passed tests" here it really hasn't passed the new cross-browser tests in CI yet. I'll keep an eye on this as it builds in master and revert or fix if necessary.

Some minor test breakages but I think they are all related to browser timeouts; I'm on it from here. @mcmlxxxviii I will update when we release the new version. Thanks for bearing with us here.

Thanks!

Okay, I was premature in merging that; tests were not passing in Internet Explorer.
@mcmlxxxviii: I'm specifically seeing an error around calling remove in IE.

Can you rebase your code atop the current master of this repository (as @f2prateek suggested), fix the IE incompatibility, and then send a new pull request? That way the new tests should correctly screen for this issue.
Thanks!

Yes! we will send a fresh PR the week after the next.


text:
ethyclos.sol

line 242 error in browser solidity: Stack too Deep

yes, you are right.
I just complicated too much function createCommunity

I am testing a previous version at ropsten
https://testnet.etherscan.io/address/0x8df3a41f64fa7c019bee1d1fb13b33d79062058d#code
suggestions welcomed

better now?

Nice job, I will take a look and try to play with it. Thanks for updating!!!

HTML: its all designed with bootstrap css. I am moving everything to w3.css. It will take a while.
I would love to use ethereum style, but its so poorly documented!

authors: rfikki segovro

repo: segovro/ethyclos


text:
v3.9.0 Changelog

Adds changelog for v3.9.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.84%. Comparing base (c59b0bf) to head (aaed58c).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1569      +/-   ##
==========================================
- Coverage   62.92%   62.84%   -0.09%
==========================================
  Files         257      257
  Lines       16849    16849
==========================================
- Hits        10603    10589      -14
- Misses       5741     5754      +13
- Partials      505      506       +1

see 2 files with indirect coverage changes

repo: sei-protocol/sei-chain


text:
Fix partial message handling

Describe your changes and provide context
We should not add things to mem store if there could be errors being thrown later. This PR changes things such that we only add to mem store when there is no more error. This is still not ideal since there could be future logics slipping in, so we need a more robust mem store rollback mechanism.
Testing performed to validate your change
TODO unit test

We don't need this anymore now that we are moving from memstate to keeper. Closing


text:
[oracle] add sei to whitelist

We need sei's price for both integration test as well as incentivized testnet.

whitelist SEI price is only for integ test purposes correct? note that before we launch in mainnet the SEI token won't have real market price

@LCyson yes. Validators can abstain on sei's price now I think, so should be okay to include in the whitelist

authors: LCyson codchen


text:
java.lang.NoClassDefFoundError: javax/imageio/ImageTypeSpecifier

Got an error on
openjdk version "11.0.11" 2021-04-20
Unbuntu 20.04
When
ImageIO.write(myBufferedImage, "webp", myNewFile)
Caused by: java.lang.NoClassDefFoundError: javax/imageio/ImageTypeSpecifier
at com.luciad.imageio.webp.WebPImageWriterSpi.canEncodeImage(WebPImageWriterSpi.java:62)
at java.desktop/javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.filter(ImageIO.java:600)
at java.desktop/javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:876)
at java.desktop/javax.imageio.spi.FilterIterator.(ServiceRegistry.java:870)
at java.desktop/javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:518)
at java.desktop/javax.imageio.ImageIO.getImageWriters(ImageIO.java:1172)
at java.desktop/javax.imageio.ImageIO.getWriter(ImageIO.java:1609)
at java.desktop/javax.imageio.ImageIO.write(ImageIO.java:1540)
at eu.utilo.SuperController.saveImg(SuperController.groovy:167)
at eu.utilo.onlineAtelier.myArtPage.MyArtPageSuperController.saveUploadedImage(MyArtPageSuperController.groovy:69)
at eu.utilo.onlineAtelier.myArtPage.MyEventsController.$tt__doChangeEventPic(MyEventsController.groovy:141)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
... 37 common frames omitted

i have same question.

repo: sejda-pdf/webp-imageio


text:
Add "median" aggregator functionality to Local.Aggregate

In #693 we added all aggregation functions for the janusgraph connector, except a single one: median. This is because I couldn't find any resources on how to do that with Gremlin.
This is the follow-up issue to prevent the other issue from being blocked.
Possible Remedies

more in-depth search
ask external Janusgraph/Gremlin experts

Once we know how to do this, the fix should only be a very small change.

This was actually included in the 0.20.0 release. Closing as complete.

repo: semi-technologies/weaviate


text:
Adding L2 signals to CFG_SIGNAL list

High end devices are capable of selective enabling of L2 signals for each constellation. See section 5.9.21 of: https://www.u-blox.com/sites/default/files/ZED-F9P_InterfaceDescription_(UBX-18010854).pdf

Thanks for the contribution - appreciated


text:
BUG Negative items in the invoice break Paytrail integration

Description
The Paytrail API does not support negative items in the invoice and this breaks the online payment.
Subtasks

[ ] Paytrail API does not accept negative invoice prices or units. If the invoice contains these, we must remove the items section from the request
[ ] Paytrail API does not support non-integer units. We must remove the items from the Paytrail request completely if we have those.

I recall Paytrail might have fixed this now. Not sure though.


text:
Cancel Scheduled Sends formatting issue

This page renders slightly off under the "Batch IDs" header: https://sendgrid.com/docs/API_Reference/Web_API_v3/cancel_schedule_send.html
screenshot: https://www.dropbox.com/s/oij1h9cn1qgqmr2/Screenshot 2015-10-26 11.21.52.png?dl=0
I was going to submit a PR but the source looks fine:
https://github.com/sendgrid/docs/blob/develop/source/API_Reference/Web_API_v3/cancel_schedule_send.apiblueprint#L14-L20

Hello @dtjm,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

authors: dtjm thinkingserious

repo: sendgrid/docs


text:
Merge Develop to Master 12.14.17 - Unsubscribe module and release notes

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX

authors: Whatthefoxsays thinkingserious


text:
Ical events don't show as cards in an recipients email box

Issue Summary
I'm trying to send out calendar events to users using the iCalender standard. I want their inbox to automatically detect the event and display it to the user like the image below.

My isc data is
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
BEGIN:VEVENT
UID:a8b44b40-30fc-11e8-9cdf-ab421c95fe5f
SUMMARY:Test Event
DTSTAMP:20180326T125000Z
DTSTART:20180529
DTEND:20180530
DESCRIPTION:This is a test event
LOCATION:Somewhere in a building...
STATUS:CONFIRMED
ORGANIZER;CN=Admin:mailto:test@test.com
ATTENDEE;RSVP=TRUE;CN=test@test.com:mailto:test@test.com
END:VEVENT
END:VCALENDAR

I'm using the node package 'ics' to make the ics data and the following code to send the email.
var encodedEvent = Base64.encode(event)
    var msg = {
        to: to,
        from: from,
        subject: 'Registration an Event',
        text: 'Thanks for registering for an event.',
        html: 'Thanks for registering for an event.',
        attachments: [{
            content: encodedEvent,
            filename: 'invite.ics',
            type: 'text/calendar',
            disposition: 'attachment',
            contentId: 'mytext'
        }],
        headers: {
            method: "REQUEST"
        }
    }
    sgMail.setApiKey(apiKey)
    sgMail.send(msg)
        .then( (data) => { console.log("data", data) })
        .catch( (err) => { console.log("Error:", err) })

Now SendGrid is sending the email and the email has the attachment "invite.ics" but inboxes don't seem to detect it. From my research it might be a problem with headers but i'm not sure, i've tried a few things so far and nothing.
Any ideas?
Technical details:

sendgrid-nodejs Version: master (latest commit: [commit number])
Node.js Version: 6.10.2

Hello @sadzebra,
Please follow this thread for updates on this issue: https://github.com/sendgrid/sendgrid-php/issues/250
Can you please take a moment to comment on that issue to help increase its priority? Thanks!
With Best Regards,
Elmer

Closing as this was marked as a non-library issue.

authors: eshanholtz sadzebra thinkingserious

repo: sendgrid/sendgrid-nodejs


text:
Make Template guesser look at parent classes for bundle (The better way)

Solves the same issue as this pull request: https://github.com/sensio/SensioFrameworkExtraBundle/pull/98
but is a better way to do that - inside getBundleForClass() method and without catching exceptions (which must be slower and would be the default behavior for all secured via annotations controllers with the latest JMSSecurityExtraBundle)

Fixes https://github.com/symfony/symfony-standard/issues/285 after applying https://github.com/symfony/symfony-standard/pull/275

repo: sensio/SensioFrameworkExtraBundle


text:
Parser errors noted, but execution continues

This is a fix for #10 Output failing file on syntax error.
ParsedPhpFileFinder has been modified to collect PhpParser\Error and expose them to the outside.
CheckCommand can now detect if there were any parser errors and print them to the command line, but actual execution of the application continues

ping @slde-gorillaman  :)

pong @MarvinKlemp

Do you really need hasParserErrors() at all? Letting getParserErrors() return an empty array seems perfectly valid to me so there wouldn't be the need to check for errors first.

I'll merge this one now so that I can move tests and publish a new release

authors: MarvinKlemp slde-gorillaman xabbuh

repo: sensiolabs-de/deprecation-detector


text:
Use Case: Simpler OpenLimits binding

Turn
pub struct Binance {
  client: openlimits::binance::Binance
}

#[ligen(C)]
impl Binance {
  pub fn new(key: String, secret: String) -> Self { ... }

  pub fn get_balance(&self, asset: String) -> f64 { ... }
}

into
#include <Binance.h>

int main(int argc, char **argv) {
  Binance binance = Binance_new("key", "secret");
  printf("%f", Binance_get_balance(binance, "USDT"));
  Binance_destroy(binance);
  return 0;
}

Depends on #5

Replaced by https://github.com/sensorial-systems/ligen-core/milestone/1

repo: sensorial-systems/ligen-core


text:
make the settings available in the plugin base class

Pull Request Checklist
Is this in reference to an existing issue?
General

[ ] Update Changelog following the conventions laid out here

[ ] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[ ] Existing tests pass

Purpose
Known Compatibility Issues

@sufiyanghori and I are working our way through this on slack together.

@barryorourke can you please use the Status: Awaiting Response label? We filter PRs with those labels out of the slack reminders.

authors: barryorourke majormoses sufiyanghori

repo: sensu-plugins/sensu-plugin-python


text:
Create sensu-plugins-gearman repository

Hi,
I've created a set of basic gearman plugins modelled on the sensu-plugins-beanstalk repository - can a new repository please be created for it? I'm hosting it on my personal GitHub for now:
https://github.com/insom/sensu-plugins-gearman
Regards,
Aaron

Hey @insom, I created https://github.com/sensu-plugins/sensu-plugins-gearman from your repo and added the rest of the boilerplate. I'm still working on getting it setup in travis-ci and should have it soon. Thanks for the contribution!

authors: eheydrick insom


text:
Question: When should we be expected to restart sensu services?

After updating subscriptions and checks, I find myself restarting services on the server and client at random until the checks start and Uchiwa updates.
I'd like to build it into I my workflow to restart the right pieces - can anyone let me know which service to restart when?
Thanks!

in the open source version,   clients need to be restarted when their subscriptions are updated.  (or any of their local config, such as standalone checks safemode checks)   servers need to be restarted when  their config is changed. (such as non standalone check definitions)

NOTE: Sensu services must be restarted in order to pick up configuration changes. Sensu Enterprise can be reloaded.

https://sensuapp.org/docs/0.25/guides/getting-started/intro-to-checks.html

@absolutejam the answer provided by @fessyfoo is correct :+1: Thanks @fessyfoo.

authors: absolutejam fessyfoo portertech

repo: sensu/sensu


text:
Improve event last OK

Update check (and event) last OK when storing latest results. This PR uses a separate Redis key/value for last OK, instead of storing it within a current event (if exists).
Closes https://github.com/sensu/sensu/issues/1693

Will last_ok still be returned with events via the API?

@amdprophet yes, as its is still stored within current events (just no longer used as a record).

authors: amdprophet portertech


text:
layui.table,使用表头工具栏,获取不到点击复选框的数据.

表格html:

表头监听js:

debugger,调试,获取不到

checkStatus.data为空[],找不到什么问题,谁帮助下我,不胜感激.

你没有data这个属性啊

table.checkStatus(tableid)   我这样也是取不到，网上也有很网友遇到了

repo: sentsin/layui


text:
Public Key Appears to Only Support OpenSSH

TL;DR:
Two potential issues:

The way I read the docs it mentions the public keys for AWS are not required, however I cannot submit a new credential without specifying them.
If they are required, I cannot use my AWS generated public key or a local RSA key because only OpenSSH is supported.

More:
The library used in CloudBreak to validate public SSH keys used in new AWSCredential objects (https://github.com/fommil/openssh-java) appears to only support OpenSSH type keys. This may be by design as it is described for the Google and Azure accounts here: http://sequenceiq.com/cloudbreak/#quickstart-and-installation.
Even if this is by design may be good to support SSH2 public keys though. AFAIK, the keys generated by AWS are SSH2 and most local client generated keys will be generated by ssh-keygen which supports SSH type 2. In this case this is more of a feature request.

fixed for amazon credentials

repo: sequenceiq/cloudbreak


text:
Separated instance groups and host groups

@doktoric
There was some confusion in the code regarding host groups and instance groups
This PR separates the two concepts - instance groups belong to the stack layer, host groups belong to the cluster layer. Every host group belongs to an instance group, but they can have different names. This association must be provided when posting the cluster.
A new domain was introduced to hold the host groups - it has a name, and it contains a reference to the corresponding instance group. This domain object can be used later to hold some additional things, like recipe associations, or installed services if needed. HostMetadata entries now belong to HostGroups instead of directly to the cluster.
There are some major database changes, so the PR in the liquibase-changesets must be merged first:

https://github.com/sequenceiq/liquibase-changesets/pull/14

This PR changes the API so changes in Uluwatu, the rest-client and the Shell are also needed, these PRs contain the necessary changes:

https://github.com/sequenceiq/uluwatu/pull/187
https://github.com/sequenceiq/cloudbreak-rest-client/pull/43
https://github.com/sequenceiq/cloudbreak-shell/pull/59
Periscope must use the new cloudbreak-rest-client version if it is built by Jenkins

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/895/

I think this PR not include the integration test refactors which is needed.

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/896/

authors: doktoric jenkins-sequenceiq martonsereg


text:
Empty tuple variant does not call any de::VariantAccess methods

Given a
#[derive(Debug, Deserialize, PartialEq)]
enum Enum {
    Structured { i32: i32, f64: f64 },
    Tuple(u8, u8),
    Newtype(u8),
    Unit,
    EmptyTuple(),
}

, deserialising this (in this case within a struct or Vec) calls the expected de::VariantAccess methods for the first four variants, but does not call any of them after determining the variant is EmptyTuple() via de::EnumAccess.
I can work around this easily enough and I like that I (name aside) can distinguish EmptyTuple() from Unit, but this is still pretty odd and seems to contradict the documentation at https://docs.serde.rs/serde/de/trait.VariantAccess.html.
I'm using derived Deserialize implementations without further relevant configuration, and serde and serde_derive v1.0.114.

I think this is working correctly as far as I can tell; it calls VariantAccess::tuple_variant with len=0 as I would expect.
From inspecting with cargo expand the generated code contains:
(__Field::__field4, __variant) => {
    struct __Visitor<'de> {
        marker: _serde::export::PhantomData<Enum>,
        lifetime: _serde::export::PhantomData<&'de ()>,
    }
    impl<'de> _serde::de::Visitor<'de> for __Visitor<'de> {
        type Value = Enum;
        fn expecting(
            &self,
            __formatter: &mut _serde::export::Formatter,
        ) -> _serde::export::fmt::Result {
            _serde::export::Formatter::write_str(
                __formatter,
                "tuple variant Enum::EmptyTuple",
            )
        }
        #[inline]
        fn visit_seq<__A>(
            self,
            _: __A,
        ) -> _serde::export::Result<Self::Value, __A::Error>
        where
            __A: _serde::de::SeqAccess<'de>,
        {
            _serde::export::Ok(Enum::EmptyTuple())
        }
    }
    _serde::de::VariantAccess::tuple_variant(  // <--------------------------
        __variant,
        0usize,
        __Visitor {
            marker: _serde::export::PhantomData::<Enum>,
            lifetime: _serde::export::PhantomData,
        },
    )
}

You're right, apologies.
Fyi, what tripped me up was not hitting my breakpoint on the function for one of the variants between Tuple(u8, u8) and EmptyTuple() (Which seems to depend on the calling order, must be some strangeness with the Rust integration in Code.) and visit_seq not validating the end of the sequence.

authors: Tamschi dtolnay

repo: serde-rs/serde


text:
Differentiated Serialization Formats for Structs

Problem Statement
I have the following struct definitions:
#[derive(Serialize, Deserialize)]
struct TypeA {
    // ...
}

#[derive(Serialize, Deserialize)]
#[special_compact]
struct TypeB {
    // ...
}

The goal is to serialize TypeA and TypeB into different formats. Specifically, TypeB should be serialized into a more compact format than TypeA.
Expected Behavior

TypeA should be serialized using the default serialization format.
TypeB should be serialized using a custom, compact format as indicated by the #[special_compact] attribute.

Actual Behavior
Currently, both TypeA and TypeB are serialized using the same format, and there doesn't seem to be an out-of-the-box solution for differentiating their serialization formats.
Request for Solution
Is there a way to achieve this within the current framework of serde? If not, could you provide guidance or a potential feature enhancement to support this functionality?
Thank you!

Serde provides a framework for serialization and deserialization using Rust's trait system. Other crates, like serde_json  actually implement the data formats. If your types implement Serialize and Deserialize, then any data format that uses Serde can be used to serialize and deserialize data of these types. The homepage provides a list of such data formats.

Devnetsec's response speaks to your misconception, I think. There is no "default serialization format" that a Serialize impl gives you. You can serialize the same data structure in a variety of human-readable formats and compact formats with a single Serialize impl. The data format you serialize it to is not decided by the Serialize derive.

authors: XuJiandong devnetsec dtolnay


text:
Allowed Enum variants to be individually marked as untagged

This should hopefully resolve #1402.
This can be thought of as applying the following transformation
#[derive(Serialize, Deserialize)
enum Test {
  A(u32, u32),
  B(u32),
  #[serde(untagged)]
  C(u32),
  #[serde(untagged)]
  D(u32, u32),
}

to
#[derive(Serialize, Deserialize)
enum TestTagged {
  A(u32, u32),
  B(u32),
}

#[derive(Serialize, Deserialize)
#[serde(untagged)]
enum TestUntagged {
  Tagged(TestTagged),
  C(u32),
  D(u32, u32)
}

#[derive(Serialize, Deserialize)
#[serde(from = "TestUntagged")]
#[serde(into = "TestUntagged")]
enum Test {
  ...
}

The actual implementation generates the implementation directly allowing it to also work efficiently for recursive enums.
The current version includes a restriction that all variants marked as untagged appear at the end of the enum (after the tagged variants) in order to keep the implementation strategy consistent with an alternate strategy of attempting to deserialize each variant in order.
Deserialize could also be implemented to accept all of the variants with tags, only falling back to untagged if none of them match, I'm not sure if this would be preferred.

Thanks for all the feedback. I've tried to implement the suggestions.

I wasn't sure what the policy was on warning-like cases. Other cases to consider might be:

marking a variant as untagged when the enum itself is already untagged
marking a variant with rename/alias as well as untagged (I don't think this has a different effect than just using untagged)
marking a variant with rename/alias when the enum is untagged (This is currently allowed, so changing it would be a breaking change)

@oli-obk Hi! This feature is really usefull, but sadly there is no activity on PR more than a month. The PR itself looks quite finished except warnings. Can it be merged in this state?

Unfortunately no one on the issue has so far tested out this branch to see if it works for their use cases.

@oli-obk I tried to check it, but don't know how to replace serde dependency in serde_json

Someone was so kind and wrote instructions at https://github.com/serde-rs/serde/issues/1402#issuecomment-1565751691

@oli-obk My case was covered too. https://github.com/serde-rs/serde/issues/1402#issuecomment-1574550592

authors: dewert99 gavrilikhin-d oli-obk