Error on M1 mac build

Description
swift package --swift-sdk x86_64-swift-linux-musl \
build-container-image --repository registry.orb.local/myservice
Emitting module UnixSignals
/Users/stunjiturner/Downloads/CascadeProjects/hummingbird-sightmedialab/.build/checkouts/swift-service-lifecycle/Sources/UnixSignals/UnixSignal.swift:22:8: error: compiled module was created by a different version of the compiler ''; rebuild 'Dispatch' and try again: /Users/stunjiturner/Library/org.swift.swiftpm/swift-sdks/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle/swift-6.0.2-RELEASE_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/lib/swift_static/linux-static/aarch64/Dispatch.swiftmodule
20 | import Musl
21 | #endif
22 | import Dispatch
|        `- error: compiled module was created by a different version of the compiler ''; rebuild 'Dispatch' and try again: /Users/stunjiturner/Library/org.swift.swiftpm/swift-sdks/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle/swift-6.0.2-RELEASE_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/lib/swift_static/linux-static/aarch64/Dispatch.swiftmodule
23 |
24 | /// A struct representing a Unix signal.
Reproduction
[Please provide inputs to help us reproduce the problem.   Try to reduce the test case to the smallest amount of code possible which still reproduces the problem.]
Package versions
latest
Expected behavior
[Describe what you expect to happen.]
Environment
swift-driver version: 1.115 Apple Swift version 6.0.2 (swiftlang-<IP_ADDRESS>.2 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx15.0
Additional information
i am using SDK
swift-6.0.2-RELEASE_static-linux-0.0.1

This error can occur if you try to use the Static Linux SDK with the Swift toolchain which comes with Xcode.   The Static Linux SDK can only be used with an open source Swift toolchain from swift.org:
https://www.swift.org/documentation/articles/static-linux-getting-started.html#installing-the-sdk
Please check that you have installed the 6.0.2 swift.org toolchain:
https://www.swift.org/install/macos/package_installer/
Once the swift.org toolchain is installed, you can use it by setting the TOOLCHAINS environment variable:
export TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw /Library/Developer/Toolchains/swift-6.0.2-RELEASE.xctoolchain/Info.plist)
swift package --swift-sdk x86_64-swift-linux-musl build-container-image --repository registry.orb.local/myservice

@nonfungibletunji Were you able to build your container image?


Huge performance overhead in Docker container and by FastAPI itself

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from datetime import datetime
from typing import List, Optional

from fastapi import APIRouter, Depends, HTTPException
from fastapi.encoders import jsonable_encoder
from fastapi.responses import JSONResponse
from sqlalchemy.orm import Session
from sqlalchemy import exc

from commons import schemas
from commons.dependencies import get_db
from services.events import crud

router = APIRouter(
    tags=['Events']
)

@router.get('/v1/passages')
def get_passages(search_start_datetime: datetime,
                 search_end_datetime: datetime,
                 offset: int,
                 limit: int,
                 db: Session = Depends(get_db)):
    start = datetime.now()
    passages = crud.get_passages(db, search_start_datetime, search_end_datetime, offset, limit)
    print('CRUD took: ', datetime.now() - start)
    return passages
***
CRUD
***
def get_passages(
        db: Session,
        search_start_datetime: datetime,
        search_end_datetime: datetime,
        offset: int,
        limit: int
    ):
    passages = _get_common_passages_query(db) \
        .filter((models.Passage.event_datetime >= search_start_datetime) & (models.Passage.event_datetime <= search_end_datetime)) \
        .order_by(models.Passage.event_datetime) \
        .offset(offset) \
        .limit(limit) \
        .all()

    return _build_passages(passages) # auxiliary fn where I build Pydantic objects from ORM

Description
Hello everyone!
At the moment, for historical reasons, I am rewriting the project from Rust to Python (FastAPI, obviously). The project is an API layer in front of the PostgreSQL database. Unfortunately, I gain significantly lower performance than on Rust (in some endpoints 30-40 times slower), but I understand that it is incorrect to compare a framework and another language. So in the process of optimization, I first of all decided that performance issues lies in the CRUD operations on my part. But in the process of researching, I came to the following results (I will provide them with respect to certain input parameters):

Input: about 10,000 objects from ORM when using the code above and Postman for API requests, testing locally on one PC
About 3 seconds for an application in a Docker container
About 2 seconds without a container
About 1 second of the time above is taken by my CRUD manipulations and creating Pydantic objects (for some reason I have to create them manually). So yes, there is many things that I can improve

By the way, I also found out from other issues that even when the already created Pydantic objects are returned from router, the validation occurs again (so I removed the response_model param from the router)
Based on this, I understand that I can optimize my work with CRUD and Pydantic (I also use the orjson library to speed up serialization, but do not see any significant difference with the default one), but I do not understand why a one second of the request time added as overhead from the Docker container
It is also not quite obvious to me why FastAPI itself takes another second of the request time. In my opinion, this is subjectively too much, given that Pydantic objects are return from router without validation, just serialization with orjson
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.68.1
Python Version
Python 3.8.10
Additional Context
No response

I figured out that when I create JSON manually for GET requests (with orjson library and without any FastAPI dealing with response data) I can get tremendous performance improve from 3 secs to 400-500 ms overall which is quite acceptable for me (only 5 times slower than Rust version). I still don't why Docker affects the performance that much, but I think it will be better not to spam issues and close this one

@Michel-Bollinger One small suggestion to look at your base image.  If you are using official docker python image, you should note that this is on an alpine image and you can get performance improvements by moving to a rhel or ubuntu/debian based image (Source: https://pythonspeed.com/articles/base-image-python-docker-images/).


S3 download limited to 1000 files

Very nice utility to visualize our traffic. I was missing some ip adresses which should have been there.
It seems 's3.listObjects' only retrieves up to 1000 files. For more files pagination should be added.
https://github.com/FlorianPfisterer/vpc-flow-log-analysis/blob/3c68c4bc1b3a15fff86e5824c826a3b2f220c042/graph-generator/s3-download.ts#L35

Good point! Feel free to submit a PR that addresses this.

This functionality will be fixed in #7


Jats oa and subtitles.20230714

More comprehensive parsing of licenses
Better handling of multi-paragraph abstracts (e.g. A&A)
Suppression of BeautifulSoup/JATS parsing warnings involving URI/URL markup

Codecov Report
Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (2da7ab6) 88.31% compared to head (c166286) 88.28%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   88.31%   88.28%   -0.03%
==========================================
  Files          20       22       +2
  Lines        2183     2391     +208
==========================================
+ Hits         1928     2111     +183
- Misses        255      280      +25

Files
Coverage Δ

adsingestp/parsers/base.py
93.33% <ø> (+0.07%)
:arrow_up:

adsingestp/parsers/crossref.py
91.94% <100.00%> (+0.05%)
:arrow_up:

tests/test_jats.py
95.06% <100.00%> (+0.12%)
:arrow_up:

adsingestp/parsers/jats.py
90.51% <84.00%> (-0.64%)
:arrow_down:

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Latest commits include adding funding capture to jats parser


Storage does not call Free on tables

Storage uses a memory.Allocator to track the memory of each table that it produces here:
https://github.com/influxdata/influxdb/blob/master/storage/reads/table.go#L265-L294
However, the above calls to Allocate are never paired with a corresponding call to Free, and the max memory allocated climbs as storage produces more tables for the query tier to consume.


operator couchbase-enterprise-certified (2.5.1-1)

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline


User Interface is very overwhelming for beginners.

This issue is created to help beginners in understanding the microsoft docs.
It is very hard to read the docs as it is so overwhelming. The docs are surrounded by different navbars, and it is completely unnecessary. The reader loses focus on the main text and is distracted to the other bars. And it makes the docs look really difficult to implement in real life.
Can you make more space for the actual docs so that it is easier to read and more focus is given to the docs rather than all the useless surrounding navbars.

@Roshan-Thomas , Thank you for your feedback on your experience with the documentation. However I believe that the documentation uses a standard scheme of having the table of contents for the root document on the left and bookmarks within the current document on the right .

I can surely take the feedback to the design team however I feel the responsive design on the page does allow options to resize depending upon the screen you try to view it from . The same article appears clearly without the left and right details if accessed from a mobile device.

As a beginner which document are you having an issue with? If it is just about the readability of the document , I will surely take this back to the design team however if you have any technical issue while learning azure, you can always post it to Microsoft QnA or if its related to any improvement to any specific document , you can let me know about the document here and I can certainly help you with that or engage the right people here.

My issue is primarily about the readability of the document.
If there could be a feature of sliding back the table of contents, that would be great.

@Roshan-Thomas Thank you for clarification . We will make this recommendation to the documents design team. I will update the thread once I hear back from them.

@shashishailaj Thanks

We have created a suggestion item internally on this and the design team will be looking into the recommendations. As this pertains to a huge change throughout the complete docs website so this may go through multiple levels of discussion before any design change is seen. At this point we are closing this thread as there is no further update from our side . I am tracing this internally and would update once PG provides any new update.


[validate] implement validateAuthorSignaturesWithoutReferences

implement validateAuthorSignaturesWithoutReferences for witness proof

only support 'sig' verification for payment, other smart contract definitions are not supported

only used to verify the catchup message


https://insiders.liveshare.vsengsaas.visualstudio.com/join?FB289C8C91B6185C33608F16C7119A483639

<!--
For Visual Studio problems/feedback, please use the Report

Looks like you pasted a join in to the feedback box


C# Language Reference keywords: async

Starting in C# 7, async methods can now return types other than Task and Task. (The contract is to have an accessible GetAwaiter() method). The System.ValueTask type is one example of this.

Closed with #2253


Getting "[Tittle here]" Instead of title and no chapters (in dev build)

Steps to reproduce
Import epub
Mine: https://www.mediafire.com/file/op7hhylpa8111na/Date_A_Live_Volume_22_-_Tohka_Good_End_Second_Half.epub/file
Expected behavior
Should load the tittle and the chapters
Actual behavior

LNReader version
Github Action 2.0.0 (27/06/24 09:05 AM UTC) Commit: 9b4bdfea
Android version
Android 12
Device
Samsung S10+
Other details
Using this build
No descriptions either
I opened the file with moon reader and it seems to be fine, I didn't navigate too much because it could spoil the series for me
Acknowledgements

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

[Tittle here] is the actual title of that epub.

[Tittle here] is the actual title of that epub.

Oh, deamn, you're right lol


fix clippy failures

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/5080
Rationale for this change

New Rust nightly has new Clippy rules
What changes are included in this PR?
cargo clippy --fix

Are these changes tested?

Are there any user-facing changes?

🎉


Save to custom project

How to Save To Project which is in custom directory in the workspace?

I think the best way to handle this by supplying a new "BuildDirectory" in the config file we load from. This can be relative to the main path or can be an abs path itself.


AttributeError: 'Dirs' object has no attribute 'JSCFGDIR'

Traceback (most recent call last):
  File "jstest.py", line 47, in <module>
    compare('j', jgen, dj, 2)
  File "jstest.py", line 45, in compare
    compare("%s.%s" % (tree, subname), subobj1, subobj2, depth-1)
  File "jstest.py", line 43, in compare
    subobj1 = getattr(obj1, subname)
  File "/usr/local/lib/python3.6/dist-packages/jumpscale.py", line 18, in _lazyprop
    setattr(self, attr_name, fn(self))
  File "/usr/local/lib/python3.6/dist-packages/jumpscale.py", line 603, in objectinspector
    return JumpscaleLibToolsObjectinspectorObjectInspector()
  File "/usr/local/lib/python3.6/dist-packages/jumpscale.py", line 401, in JumpscaleLibToolsObjectinspectorObjectInspector
    return _ObjectInspector()
  File "/usr/local/lib/python3.6/dist-packages/JumpscaleLib/tools/objectinspector/ObjectInspector.py", line 198, in __init__
    self.apiFileLocation = j.sal.fs.joinPaths(j.dirs.JSCFGDIR, "codecompletionapi", "JumpscaleLib.api")
AttributeError: 'Dirs' object has no attribute 'JSCFGDIR'
[Fri10 12:42] - ErrorHandler.py   :257 :j.core.errorhandler  - ERROR    - 'Dirs' object has no attribute 'JSCFGDIR'

sigh renaming to CFGDIR on the basis of a complete and utter guess at the contents of j.dirs.

likewise in tools/testengine/TestEngine.py


error logging with example.unknown6.coffee

Using v2.0.0 on linux ubuntu 14.04
/root/pogo/pokemon-go-mitm-node/node_modules/pokemongo-protobuf/node_modules/node-protobuf/protobuf.js:86
var result = native.parseWithUnknown(buffer, schema, limit, warn, used_typed_array);
^
Error: Malformed protocol buffer
at Error (native)
at pb_wrapper.parseWithUnknown (/root/pogo/pokemon-go-mitm-node/node_modules/pokemongo-protobuf/node_modules/node-protobuf/protobuf.js:86:25)
at /root/pogo/pokemon-go-mitm-node/example.logTraffic.coffee:28:76
at PokemonGoMITM.handleRequest (/root/pogo/pokemon-go-mitm-node/lib/pokemon-go-mitm.coffee:203:14)
at /root/pogo/pokemon-go-mitm-node/lib/pokemon-go-mitm.coffee:171:37
at /root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/lib/proxy.js:968:12
at /root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/node_modules/async/lib/async.js:181:20
at Object.async.forEachOf.async.eachOf (/root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/node_modules/async/lib/async.js:233:13)
at Object.async.forEach.async.each (/root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/node_modules/async/lib/async.js:209:22)
at [object Object].Proxy._onRequestEnd (/root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/lib/proxy.js:967:9)
at [object Object].end (/root/pogo/pokemon-go-mitm-node/node_modules/http-mitm-proxy/lib/proxy.js:804:20)
at IncomingMessage.onend (_stream_readable.js:498:10)
at IncomingMessage.g (events.js:260:16)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:921:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)

Note: this happens only after some minutes of logging while app is working good. Not doing anything on the app, just open and standing still looking at map with charger and debug function to keep display on while charging

I'm not sure what happened to  cause an incorrectly encoded request (connection problems?), but it looks like protobuf.parse/parseWithUnknown doesn't catch parsing exceptions in some cases. Will address this.

I fixed an uncaught except in handleResponse but I don't see any exceptions in handleRequest that are not already accounted for, so I'm not really sure how this error is produced.

I think you are referincingyour commit:
https://github.com/rastapasta/pokemon-go-mitm/commit/9cffe6912543a70f34fae27f63c74efd0c863164
Can you please also update example.unknown6.coffee to use your new function?

I made it run for over an hour with your modification, no crash.
No errors either, but I think I need to run in debug mode to see them ?

Yeah, I see the problem in example.unknown6.coffee now. Let me know if this works:
--- a/example.unknown6.coffee
+++ b/example.unknown6.coffee
@@ -15,5 +15,5 @@ pcrypt = require 'pcrypt'
 server = new PokemonGoMITM port: 8081
        .addRequestEnvelopeHandler (data) ->
                buffer = pcrypt.decrypt data.unknown6?.unknown2?.encrypted_signature
-               console.log POGOProtos.parseWithUnknown buffer, 'POGOProtos.Networking.Envelopes.Signature'
+               console.log this.parseProtobuf buffer, 'POGOProtos.Networking.Envelopes.Signature'
                false

I have modified the base logTraffic simply adding this:
        .addRequestEnvelopeHandler (data) ->                 console.log  new Date().toJSON(), " [->] Envelope Signature", JSON.stringify(data, null, 4), "\n"                 false
And it works!

That prints the envelope, but doesn't show the signature, which is encrypted.

Fixed in current example.logTrafficFull.coffee (unknown6-only example will be deleted).


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
3f72dce -> b52801c

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.25.3 -> v1.25.6

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.25.6
Compare Source
Bug Fixes

deps: update module github.com/go-git/go-git/v5 to v5.11.0 (#714) (021df86)

v1.25.5
Compare Source
Bug Fixes

deps: update gomod (#711) (9a2a01d)

v1.25.4
Compare Source
Bug Fixes

deps: update module github.com/go-openapi/strfmt to v0.21.8 (#708) (46329a3)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


Run kubeadm-nspawn without a registry

docker import ...
https://github.com/kinvolk/kubeadm-nspawn/pull/36 allows to use release version of kubernetes which doesn't need a registry running

Closed via https://github.com/kinvolk/kubeadm-nspawn/pull/36


time: Date not handling location as it was in previous versions of go

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

$ go version
go1.13 darwin/amd64

Does this issue reproduce with the latest release?
yes, seems to be in 1.13.x currently.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/brian/Library/Caches/go-build"
GOENV="/Users/brian/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/brian/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/brian/software/knock/data-services/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/g0/633mr_rd6bvbx4g3__1hk7tc0000gn/T/go-build973777294=/tmp/go-build -gno-record-gcc-switches -fno-common"
$ uname -a
Darwin brians-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
osx version 10.14.6 (18G95)

What did you do?
https://play.golang.org/p/1-gK7cWKVEO
package main

import (
	"fmt"
	"time"
)

func main() {

    loc, err := time.LoadLocation("America/Los_Angeles")
    fmt.Println(err)
    expected := time.Date(0, time.January, 1, 12, 34, 56, 789000000, loc)

    fmt.Println(expected)
}

What did you expect to see?
1.13 you get
<nil>
0000-01-01 12:34:56.789 -0752 LMT

What did you see instead?
1.12.7 you get
<nil>
0000-01-01 12:34:56.789 -0800 PST

Do you see a change in behavior on the exact same machine?

Oh, never mind, I know what this is.  This is due to the fix for #30099.  We used to mishandle dates before December 13, 1901, like the date you are testing in the year 0.  Now we handle them correctly according the version of the tzdata database on your system.  The standard tzdata records that the U.S. switched from local time zones (LMT == Local Mean Time) to what are now the standard timezones in 1883, so dates before 1883 are recorded as being in LMT.  The offset for LMT in America/Los_Angeles is -7:52:58, which is why you are seeing these odd results.
Basically, timezones for very old dates are not very useful.


post confirmation lambda trigger

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Which Category is your question related to?
really not sure: post confirmation lambda triggers
I am not sure where to ask this but I am looking to use a lambda post confirmation trigger with cognito to create a fresh copy of documents/table in dynamo db every time a new user is created.  My schema uses the @amodel, @auth,  and @connection directives.
Can someone point me to some documentation/resources to help me build this out?
Amplify CLI Version 4.29.5
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
in process: AppSync (GraphQL), Lambda, Incognito, DynamboDb, possibily S3
*Provide additional details e.g. code snippets

@reinhal what is the use case that you're trying to solve? Creating a new table for each confirmed user may not scale well as there is limitation on the number of tables an account can have. Also keep in mind the GraphQL transformer works at the deployment time and provisions tables and creates DataSources to be used by AppSync service and does not support  creation dynamic DynamodDB table/DataSources that might be needed to connect to these new tables that created in Post confirmation lambda trigger.

@yuth Thank you for your patience as I try to explain what I am looking to accomplish.  There is a default set of data that each new user should have a copy of to create/update/delete for their account.  Maybe not a new table, but new copies of the default set of documents from each table.
I was told I could create a post confirmation lambda trigger to accomplish this, but maybe you have another approach?

@reinhal Post confirmation trigger makes sense. You could give the post confirmation lambda trigger access to the AppSync API and then can trigger an mutation from your lambda trigger which adds a record in the required table. You can give permission to your lambda trigger function by running amplify update function and then choosing the trigger function.
In Do you want to update the Lambda function permissions to access other resources in this project? answer Yes and allow permission to GraphQLAPI to get the IAM policy updated to execution of mutation from the function.

@yuth once I add that function and give it the appropriate access/permissions, are the next steps in the code for actually creating copies of the data items in each of the necessary tables? is their good documentation somewhere for that side of it?

Yes, You should have the API endpoint available to you as an env variable once the appropriate access is allowed. In your lambda you could fire an mutation request to add the data items and sing it using the IAM credentials.


Remote sensing tool tangent points not correct west of longitude 180°

I was playing around with the "Remote Sensing Tools" in the Top View window, while experiencing the following (see screenshot):

As you can see, tangent point locations are only displayed correctly east of longitude 180°, when crossing 180°. Adjusting the flight track to points only east of 180°, all tangent points are shown incorrectly. West of 180°, everything seems to be fine.
Tested with version 7.0.4.

A little update: when only having longitudes east of 180° (only negative lons or only positive lons), I got this message:

The original issue should be fixed with the Merge Request. I cannot reproduce the second one.
@soerenjoh could you check the fix, if it fixes the crash and, if not, provide me with better instructions to provoke the crash?

Thanks for the fix of the original issue. I found out that the crash is very difficult to provoke: It happens, when you clone a waypoint (e.g. for changing flight altitudes instantaneously). When moving one of the cloned way points a little horizontally, the crash does not occur. So, it's a different issue... I'll open it in a minute!


V laanjana/package creation/iron net collective defense

Change(s):
See guidance below
Reason for Change(s):
This PR is part of template spec solution migration for solution Illusive Attack Management System.
See guidance below
Version Updated:
2.0.0
See guidance below
Testing Completed:
The link for test results is
Sentinel Solution Migration IronNet Collective Defense
See guidance below
This is an Isv solution.

@v-laanjana  Please check if we need to have status: available key-value pair in Analytic Rules\IronDefense_Detection_Query.yaml file


When to create

When a node falls too far behind the Leader, the Leader creates a Snapshot and sends it to the corresponding follower.
When a user actively creates a Snapshot.

How to create
Create a Snapshot through the StorageApi's interface, which returns a Snapshot structure. The specific implementation is determined by the underlying storage engine and must implement the AsyncRead and AsyncWrite traits for reading and writing Snapshot-related files.
How to send
Snapshots are sent in two situations:

Leader sends to Follower - this is done through the InstallSnapshot RPC, where the curp client sends the Snapshot to the lagging Follower. The request is a stream that sends the Snapshot in chunks to the Follower.
User actively requests a Snapshot - this is done through the Snapshot RPC of the maintenance service, where the user sends a SnapshotRequest request and the server returns a stream that sends the Snapshot in chunks back to the user.

How to recover
When the Follower receives the InstallSnapshot RPC, it writes the Snapshot to its local storage and then applies the Snapshot to the local storage through the StorageApi's apply_snapshot interface, which is implemented by the underlying storage engine.
The Snapshot file obtained by the user is only used for disaster recovery and is recovered to obtain the business data through a separate tool.
Proto

message InstallSnapshotRequest {
    uint64 term = 1;
    uint64 leader_id = 2;
    uint64 last_included_index = 3;
    uint64 last_included_term = 4;
    uint64 offset = 5;
    bytes data = 6;
    bool done = 7;
}

message InstallSnapshotResponse {
    uint64 term = 1;
}

service Protocol {
    ...

    rpc InstallSnapshot (stream InstallSnapshotRequest) returns (InstallSnapshotResponse);

}

Abstract

trait StorageApi {
    type Error:  std::error::Error + Send + Sync + 'static;

    type Snapshot: Snapshot;

    ...

    fn snapshot(&self) -> Result<Self::Snapshot,Self::Error>;

    fn apply_snapshot(&self, snapshot: Self::Snapshot) -> Result<(),Self::Error>;
}

trait Snapshot: Read + Write {

    fn size(&self) -> u64;
}

Discussion
we will persist term and other metadata directly, do we need to create snapshots for them regularly? Or do we only need to regularly compact the log?

Bridge betweenCurp and Xline:
Curp will tell Xline to take a snapshot using command executor:

#[async_trait]
pub trait CommandExecutor<C>: Sync + Send + Clone + std::fmt::Debug
where
    C: Command,
{
    // ...

    /// Take a snapshot
    async fn snapshot(&self) -> Result<Arc<dyn SnapshotApi>, Self::Error>;

    /// Install a snapshot
    async fn install_snapshot(&self, snapshot: Arc<dyn SnapshotApi>) -> Result<(), Self::Error>;
}

And there should be Send + Sync + Seek for snapshot api


Repr

Closes #75
TODO

[ ] parse structs
[ ] parse unions

Wow, nice! I guess it's time that we get test fixtures ready to test IPLD Schema implementations across languages.

I commented out the default attribute as it requires more work. The struct fields would likely need to be parsed into an intermediate BTreeMap, so it isn't zero cost.


IDENTITY-6364: moving AuthorizationHeaderFilter to carbon-deployment

@kasunbg @pulasthi7 @dulanjal

This needs to be merged after https://github.com/wso2/carbon-deployment/pull/273 is merged, and the deployment version is updated.

Closing this PR since it was decided to create the filter mappings at each web app level rather than in the common tomcat web.xml config file.


bug: SARIF's artifact location URI fails  with does not conform to the "uri-reference" format

It originates from some findings that no source files are associated:
{
  "ruleId": "VulnerabilitiesID",
  "ruleIndex": 0,
  "message": {
    "text": "score is 8: 2 existing vulnerabilities detected:\nWarn: Project is vulnerable to: XXXX / YYYY\nClick Remediation section below to solve this issue"
  },
  "locations": [{
    "physicalLocation": {
      "region": {
        "startLine": 1
      },
      "artifactLocation": {
        "uri": "no file associated with this alert",
        "uriBaseId": "%SRCROOT%"
      }
    }
  }]
}

Sample error when trying to upload with github/codeql-action/upload-sarif@v2:
Error: Unable to upload "filteredResults.sarif" as it is not valid SARIF:
- instance.runs[1].results[0].locations[0].physicalLocation.artifactLocation.uri does not conform to the "uri-reference" format

Right now, I am using this hack to remove the locations when no source file is associated:
cat results.sarif | jq \
    '(.runs[].results[].locations) |= map(select(.physicalLocation.artifactLocation.uri != "no file associated with this alert"))' \
    > results.sarif

I ran into this error after updating<EMAIL_ADDRESS>

+1 on this issue

While we are working on a fix, a short term solution is to revert github/codeql-action to v2.3.3

Also, upstream discussion at https://github.com/github/codeql-action/issues/1703

This is resolved by upgrading to github/codeql-action v2.3.5.


[ibex] Enable bit-manipulation extension

This vendors in the latest version of Ibex supporting the OTEarlGrey bitmanip configuration and enables this config in Earl Grey. This adds support for the Zba, Zbb, Zbc and Zbs bit-manipulation sub-extensions ratified in v.1.0.0 of the RISC-V Bit- Manipulation ISA Extension, as well as support for the non-ratified sub-extensions Zbf, Zbp, Zbr, Zbt part of the draft v.0.93 spec.
The expected area increase is around 6 kGE or 12 kGE w/o or w/ lockstep, respectively.
Toolchain support is currently being worked on. Nevertheless, this should be sufficient to unblock some software work. AFAIK, the current toolchain already has support for draft v.0.92 of the bitmanip and the amount of changes are very low. For example, the are no changes around the carry-less multiplier (Zbc) instructions. For details, refer to this document.
This resolves lowRISC/OpenTitan#2708.

Thanks guys for the quick approval!


ENH: Replace LazyLinear in MLP with Linear

because:

Lazy modules are an experimental new feature under active development, and their API is likely to change.

now users can "opt-out" from lazylinear by explicitly specifying in_features.


Cross-platform keymap

How is difficult to implement cross-platform keymap? Or change hot-keys to Ctrl+Shift+*? It will allow to use Atom IDE on Win/Linux OS.

I only have access to OSX, so wouldn't be able to test any solutions personally. Any user is able to define their own custom keybindings in Atom.

Any user is able to define their own custom keybindings in Atom.

Cool!
P.S: Does "Command palette" Cmd+P work for you? I can't find any related platomformio commands :(

It does indeed:

Which is version of Atom?

If it helps I have found, on Ubuntu, Atom 1.09 that the suggested keymaps e.g. shift-cmd-B work using shift-super-B

thanks for the suggestion, I'll swap them out with super.


Default mdp files from the official gromacs tutorials

grompp (and grompp + mdrun) wrapper/s should use the official mdp files from the gromacs tutorials:
https://gitlab.com/gromacs/online-tutorials/md-intro-tutorial/-/tree/main/data/input
They have separated mdp files for amber and charmm, min, nvt, npt and md (free).

The common module mdp_preset:
mdp_creation
Should be modified


Specify public_suffix for ruby 1.9

I don't like broken builds, so this is my attempt to fix it

I really appreciate this but I didn't see it before I opened #219 -- I think at this point I'd rather just stop worrying about 1.9 entirely until/unless someone wants to own the maintenance of it breaking.
The core issue is that this repo is low-churn and will often go months without a build, so nailing down exact dependency breaks isn't always as easy as gem install bailouts like this specific case.


ValueError: not enough values to unpack (expected 3, got 2)

        for i, x, x_mark in zip(range(len(x_enc)), x_enc, x_mark_enc):
            B, T, N = x.size()
            x = self.normalize_layers[i](x, 'norm')
            if self.channel_independent:
                x = x.permute(0, 2, 1).contiguous().reshape(B * N, T, 1)
            x_list.append(x)

x.size()=2，how can B, T, N = x.size() ？

x_enc needs to include three dimensions, namely the batch dimension B, the time step dimension T, and the input dimension N. Please check if the input variable meets this requirement.


[Forge 1.18] Incompatibility with Go Prone

JEK does not work with Go Prone.
I assigned Crtr+C to be the new go-prone hotkey, but it does not work.
It still using the C key to activate, ignoring the ctrl

Fixed in 0.4.3


Map features

When I added a node, for example :
node = Rosemary::Node.new(:lat => x, :lon => y , :tags => "amenity=restaurant")

is this correct? and if it's not, is there a way to add features?

It would rather be something like this:
node = Rosemary::Node.new(:lat => x, :lon => y , :tags => { "amenity" => "restaurant"})

Would it be a good idea to update https://github.com/sozialhelden/rosemary#testing-your-code to include also an example with adding node with some tags?


Versioning: transition to calver

Calver offers a convenient alternative to semver. Semantic versioning of this project is difficult and arguably useless, since nothing programmatically depends on it. For the user, it is much more convenient to know when the last version was authored (which is something we already display, based on the tagged commit's timestamp). Because trying to comply with the semver standard is difficult and offers basically not benefits, let's just start using calver with the next release.

Now using YY.MINOR for all future releases!


How to use json

.net core 2.0 previewer 2
How can I parse a string to a json? I can't find the APIs.oh...Maybe I need find nuget packet.

Try JSon.NET NuGet package. It is widely used. There is also built-in JSon API for certain specific scenarios.

thank you


Azure Support for Kubicorn (WIP)

Final steps to getting Azure up and running with kubicorn

I promise this will get done - one day..

Closing - the SDK and ARM API are just too hard to use. Maybe one day we can support something with terraform.


remove sandbox failed

When I remove sandbox:
crictl stopp 5dc62a1a5e19c FATA[0010] stopping the pod sandbox "5dc62a1a5e19c" failed: rpc error: code = Unknown desc = failed to destroy network for sandbox "5dc62a1a5e19c4c1412cba8134372266a799205d5bf8b38e8deecc4555063528": dial tcp <IP_ADDRESS>:4001: getsockopt: connection refused

@Random-Liu Yes ,I am using calico.When I unstall the kubernetes environment,I find that I can not remove some sandboxes because the error above.I can not clean up the environment:(

@hmtai If I understand correctly, calico cni pod network teardown needs to talk with the calico demonset.
It seems that your either removed calico or apiserver before you stop this pod.
You may want to keep them running until you cleaned up all application pods.

@hmtai Can we close this issue? :)

@Random-Liu OK.

Close this issue based on https://github.com/containerd/cri/issues/732#issuecomment-383431820


Fix stage and tissue order when several are selected

Done,
cube_ordinal and img_ordinal on the layer table define the order of the stages and tissue on the cube and the expression images section


[Feature] Restart command

Perhaps some people would benefit from the /ptero restart command, which would restart the server.


Typo in licence it should be license

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Test plan (required)
Demonstrate the code is solid. If not, please add WIP: in its title.

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Self Check before Merge
Please check all items below before review.

[ ] Corresponding issues are created/updated or not needed
[ ] Docs are updated/provided or not needed
[ ] Examples are updated/provided or not needed
[ ] TypeScript definitions are updated/provided or not needed
[ ] Tests are updated/provided or not needed
[ ] Changesets are provided or not needed

They are the same word just two different versions. License is the British english version while License is the American english one.
I think you are also supposed to create an issue first before creating a PR.

They are the same word just two different versions. Licence is the British english version while License is the American english one. I think you are also supposed to create an issue first before creating a PR as well.

Okay.

Thank you for trying to contribute still!


TBOX-102-custom-dataframe-validation

↪ Pull Request

✔ PR Todo

[x] Add documentation
[x] Add examples
[x] Ensure you are following the practices in the contributor guide and coding_standards

Use consistent and descriptive name conventions
Uses google-style docstrings
Uses versioned API/client methods only
Avoid global variables
Avoid giant try/catch
Don't use mutable default variables
Use a main() function in your scripts

[x] Added/updated testing for this change (ensure you are testing any changes/new code!)
[x] Update title to link to TBOX issue (i.e. start pull request title with TBOX-xx)
[x] Approval from first code-reviewer
[x] Approval from second code-reviewer (only required if a second reviewer has left comments)
[x] Pass all checks

I accidentally included an old commit. Tried to fix it.
The conflicting file is the same as in develop.

I accidentally included an old commit. Tried to fix it. The conflicting file is the same as in develop.

One way of removing that commit is to run git rebase -i upstream/develop.  This should bring up a list of your commits.  You can drop the one you accidentally including by changing the word in front of it from pick to drop or just d.

I cannot view the details for the 3.7-test that failed. Should I push the same code again?

This is looking really good! One thing that I think is needed is putting some examples for how to use. This probably means making a dataframe folder and an example script here: https://github.com/Datatamer/tamr-toolbox/tree/develop/examples/scripts/data_io
and then also the relevant docs changes:  https://github.com/Datatamer/tamr-toolbox/tree/develop/doc_src/examples

Tried adding examples. Please let me know if I did so correctly or if I need to add anything.

Removing the brackets around 'Any' raised type error, because Callable needs a list of parameters.

Not sure if there is anything else to add. About adding multiple custom checks, I talked to Clint when creating the PR, and he decided to just do one at a time.

regarding the multiple checks: how hard would it be to take what is here now and just make a list, then iterate?

Ok I will add it. something like this [[func, cols()], [func, cols()]]

Ok I will add it. something like this [[func, cols()], [func, cols()]]

This is also what I think is best.  The only downside is that it's a fairly bulky argument, so I recommend making sure the type-hinting and examples in types are List[Tuple[Callable[[Any], bool], List[str]]], e.g. [(my_func_1, [col_a, col_b]), (my_func_2, [col_a, col_c])].

Is there any reason to do List[Tuple[]] instead of Tuple[Tuple[]]]. The code doesn't try to anything passed into the arguments.

Added the option to pass in multiple different custom-checks. Please let me know how it looks.

Is there any reason to do List[Tuple[]] instead of Tuple[Tuple[]]]. The code doesn't try to edit anything passed into the arguments.

That's a really good question.  Tuples are fine. This actually gets into some typing details. Based on your code, as long as the user passes something we can iterate over (which includes lists, tuples, sets, generators) all will be good.  The typing object Iterable would be a good generic to use here.

I cannot merge due to write access.


[now-static-build] Inject gatsby-plugin-now in Gatsby deployments

This PR is an attempt to automatically inject gatsby-plugin-now in Gatsby projects, as an optimisation.

[x] avoid conflicts with existing files
[x] refactor

Codecov Report

Merging #3182 into canary will decrease coverage by 2.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           canary    #3182      +/-   ##
==========================================
- Coverage   13.54%   11.48%   -2.07%
==========================================
  Files         268      268
  Lines       10335    10091     -244
  Branches     1212     1311      +99
==========================================
- Hits         1400     1159     -241
+ Misses       8873     8842      -31
- Partials       62       90      +28

Impacted Files
Coverage Δ

src/util/output/create-output.ts
59.37% <0%> (-7.3%)
:arrow_down:

src/util/dev/builder.ts
72.72% <0%> (-5.69%)
:arrow_down:

src/util/prefer-v2-deployment.ts
56.25% <0%> (-5.66%)
:arrow_down:

src/util/dev/server.ts
59.23% <0%> (-5.57%)
:arrow_down:

src/util/dev/yarn-installer.ts
85.71% <0%> (-5.03%)
:arrow_down:

src/util/get-files.ts
87.77% <0%> (-3.89%)
:arrow_down:

src/util/projects/get-project-by-id-or-name.ts
25% <0%> (-3.58%)
:arrow_down:

src/util/dev/builder-cache.ts
77.27% <0%> (-3.48%)
:arrow_down:

src/util/dev/router.ts
79.06% <0%> (-3.29%)
:arrow_down:

src/commands/deploy/args.js
0% <0%> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


fix: offset counts off by one in get offsets display

This implements the fix for off-by-one offset counts displayed by get offsets as described in #144

I'm pretty sure this is the flawed code, if you run get lags with the debug flag you'll see that every time we see negative values we are hitting this debug log

A more comprehensive fix in https://github.com/segmentio/topicctl/pull/171


[QUESTION] dose this project still maintained

Hi @Hadatko @MichalPrincNXP , dose this repository is still maintained?
For a long time there wasn't change and for longer there werent answers to questions.

[x] I checked if there is no related issue opened/closed.
[x] I checked that there doesn't exist opened/closed PR which is solving this issue.
[x] I looked in documentation if there is related information.

Hello @amgross , the new release has been done recently: https://github.com/EmbeddedRPC/erpc/releases/tag/1.13.0
The project is in maintenance mode now due to limited capacities, will try to go through open issues and PR soon ...
Regards
Michal

OK, thank you very much for this great repo (:


update token when push the file of  .travis.yml

In GitLab by @luotian-github on Nov 28, 2018, 10:09
add pvc on db

In GitLab by @sokril on Nov 8, 2019, 08:01
fix with pr #1881

In GitLab by @wknet123 on Nov 8, 2019, 08:01
Closing it as fixed.

In GitLab by @sokril on Nov 8, 2019, 08:29
closed

In GitLab by @sokril on Nov 8, 2019, 08:29
assigned to @wknet123

In GitLab by @sokril on Nov 12, 2019, 03:05
mentioned in merge request !1164

In GitLab by @sokril on Nov 13, 2019, 08:12
mentioned in merge request !857

In GitLab by @sokril on Nov 13, 2019, 09:35
mentioned in merge request !1427


[New game]: Catch me if you can

🎮 Game Request
I will be using mouse event for the assignment.
Create a box whose size changes dynamically according to viewport size. Now when you hover over the box, it should change its position randomly inside the viewport.
You can put box initially at any position inside the viewport; just make sure that it does not move out of the viewport at any given time.
Point down the features
Feature of the game is if some one want to catch box then he will not catch the box.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Khaleeq01 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

assign

Hello,
I hope you're doing well. I am interested in contributing to this project as part of GSSoC. It aligns with my skills and interests, and I believe I can make a meaningful contribution to the project Could you please assign this task to me?
Looking forward to hearing from you.
Thank you,
Lavesh Vishwakarma

@kunjgit will you assign me this issue so i will start working

/assign

Hello @Khaleeq01, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Khaleeq01 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


WIP initial Docker file. #6

Hi @Peque,
I told you that I plan to use Alpine instead of Debian before, but pandoc seems not available in the repositories. So the dependencies are like:

I tested to run the web server and seems well, but I can't say the same thing for dectape. I installed all the required dependencies, including google-chrome and puppeteer, but it needs some parameters, for example:
decktape --chrome-path=$(which google-chrome) --chrome-arg="--no-sandbox" https://google.com /home/mdr/files/test.pdf

Any idea about that? Can we inject some parameters to decktape for using it in Docker?

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   84.67%   84.67%
=======================================
  Files          13       13
  Lines         509      509
  Branches       42       42
=======================================
  Hits          431      431
  Misses         71       71
  Partials        7        7

Continue to review full report at Codecov.

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

@gkmngrgn Thanks for having a look at this.
I cannot give you any advise on how to fix Decktape issues.
I would suggest you to use Debian, or any other distro you like, if that makes your work easier. Having a light image I think is not the highest priority at this point, but rather having a working image. :blush:


update the showcase instructions to be more specific

I updated the showcase instructions during the docdown but after getting some more requests I think these should be more specific.
Two things in particular. It isn't very useful to link to some generic page on the company's own website, especially if the company has zero news coverage. Secondly, this content should be in English because that's what most readers know.
So I just updated the instructions to say this.

By analyzing the blame information on this pull request, we identified @RetroPoktan and @myusuf3 to be potential reviewers.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

@lacker Well the internal push failed -- so if you want to address @ide's comment before I reship, you can do that now.

@lacker why was Gyroscope removed? Post discusses technical topics, we are funded start up and have been using react native for close to 18 months.

It still appears in the showcase.js but isn't reflected in the application or website.

does this have something to do with version control, and new release not being cut?

Joel said shipit which is supposed to shipit so if it's not going then it's some sort of github bot problem.

This PR shipped. It is not going to show here https://facebook.github.io/react-native/showcase.html since that is the 0.29-stable docs, and this PR just went into master.
Am I missing something in this discussion?


Tree shaking problem

Issue description
I am using UglifyJsPlugin before the BundleAnalyzerPlugin.
I confirm that bundling my code with UglifyJsPlugin is tree shaking certain modules, but those modules still appear in the visualisation from BundleAnalyzerPlugin.
Technical info

Webpack Bundle Analyzer version: 2.8.1
Webpack version: 2.5.1
Node.js version:
npm/yarn version:
OS:

Debug info
How do you use this module? As CLI utility or as plugin? Plugin.
If plugin, what options were provided? No options.

I am using UglifyJsPlugin before the BundleAnalyzerPlugin.

What do you mean by that? If you're taking about the order in the plugins array then it doesn't matter.

I confirm that bundling my code with UglifyJsPlugin is tree shaking certain modules

Could you provide a simple reproduction repo?

Hi @th0r,
Yes I mean't the order in the plugins array.
I have created a simple reproduction repo and thanks for the suggestion because I think it's revealed that tree-shaking in webpack is just less affective than I thought, and that webpack-bundle-analyzer is working perfectly.
If you're interested the repo is here https://github.com/mattcolman/tree-shaking-test
It reveals that by importing polished and not using it all, some of it gets tree-shaken but a good chunk of it still remains. This was surprising to me as my understanding of tree-shaking was that unused imports get removed completely.
Anyway I'll send it to polished to see what they say.
Thanks!

Update: I found https://github.com/styled-components/babel-plugin-polished which compiles away polished helpers and does exactly what I expected. Problem solved. Thanks! webpack-bundle-analyzer is great 👍


Having issues with default_actions

  default_action = {
    action_type = "fixed-response"
    fixed_response = {
      content_type = "text/plain"
      message_body = "OK"
      status_code  = "200"
    }
  }

Is there something wrong with this configuration? It appears to always plan a "forward" response.
Does anyone have a working example or is this a bug?

I was bumping into this issue as well.  I believe what's needed is to remove the default_action wrapping map.  I got the same default_action idea from looking at the dynamic default_action block code.  However, it appears the issue is that since the code isn't using a custom iterator argument for the dynamic block, it "defaults to the label of the dynamic block" per TF documentation; in this case default_action.  Thinking about it some more, when configuring the listeners, the only available "action" option is the default action.  Any other actions are configured in the listener rules.  Since removing the default_action wrapper, my plans have output what I would expect.

I was bumping into this issue as well.  I believe what's needed is to remove the default_action wrapping map.  I got the same default_action idea from looking at the dynamic default_action block code.  However, it appears the issue is that since the code isn't using a custom iterator argument for the dynamic block, it "defaults to the label of the dynamic block" per TF documentation; in this case default_action.  Thinking about it some more, when configuring the listeners, the only available "action" option is the default action.  Any other actions are configured in the listener rules.  Since removing the default_action wrapper, my plans have output what I would expect.

It is working like this:
  https_listeners = [
    {
      ...
      action_type = "fixed-response"
      fixed_response = {
        status_code  = "401"
        content_type = "text/plain"
      }
      ...
    }
  ]

@wiegandf that worked
Could anyone please explain to me how would I find out how to do this using the documentation?
Here is the description for the https_listener field:

A list of maps describing the HTTPS listeners for this ALB. Required key/values: port, certificate_arn. Optional key/values: ssl_policy (defaults to ELBSecurityPolicy-2016-08), target_group_index (defaults to https_listeners[count.index])

Absolute no mention of fixed_response or anything of that sort.

It is working like this:
  https_listeners = [
    {
      ...
      action_type = "fixed-response"
      fixed_response = {
        status_code  = "401"
        content_type = "text/plain"
      }
      ...
    }
  ]

Saved me a bunch of hours totally worked.  Indeed, docs not great here.  Here's my complete example below:
  https_listeners = [
    {
      port            = 443
      protocol        = "HTTPS"
      ssl_policy      = var.ssl_security_policy
      certificate_arn = data.aws_acm_certificate.alb_tls.arn

      # Listener Default Action
      action_type = "fixed-response"
      fixed_response = {
        status_code  = "401"
        content_type = "text/plain"
        message_body = "OK"
      }
    }
  ]


net/http/cookiejar: Secured, HttpOnly Cookie values are not persisted in http.Client.Jar

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/username/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/username/Repositories/go_repo:/Users/username/selfie/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10.3/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/gq/h95qp68n6j57y0z5qlsmypb80000gp/T/go-build835835324=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I am trying to automate certain website user behavior using default HTTP/net package.  I have used http.Client with CookieJar to ensure Cookies are persisted between request/response.  Majority of Use cases worked a charm. But if a website using HttpOnly: true, Secured: true cookie values somehow cookies are not persisted and not authenticated properly.   Original Requests, Response contains proper cookie value but not client.CookieJar values for next Request to work on.
Ref: https://play.golang.org/p/Lhi2ZD_95AJ
Program prints Http.Response Cookies and Client.Jar.Cookies
What did you expect to see?
I expect client.CookieJar Cookie values should reflect current response cookie values.
What did you see instead?
client.CookieJar Cookie value not storing HttpOnly, Secured values properly.

@bradfitz

@sadhasivam in you example I see error https://play.golang.org/p/Lhi2ZD_95AJ:
prog.go:10:2: cannot find package "golang.org/x/net/publicsuffix" in any of:
	/usr/local/go/src/golang.org/x/net/publicsuffix (from $GOROOT)
	/go/src/golang.org/x/net/publicsuffix (from $GOPATH)

@andriisoldatenko thanks for trying out.  we may need to
go get golang.org/x/net/publicsuffix to get the program working.

any thoughts on this issue please ?

I defer to the cookie people: @vdobler @nigeltao. I don't generally handle cookie-related things.

I can't remember the details (maybe @vdobler does), but the Go cookie jar intentionally doesn't return all of the fields that were put into it. https://golang.org/src/net/http/cookiejar/jar.go#L119 is:
for _, e := range selected {
	cookies = append(cookies, &http.Cookie{Name: e.Name, Value: e.Value})
}

In other words, we explicitly return only Name and Value, not all of a Cookie's fields (including Secure and HttpOnly, but also e.g. Path, Expires, MaxAge and Raw).
As the CookieJar.Cookies doc comment says, the method "returns the cookies to send in a request". When sending cookies in a request, you don't need the Path, Secure or other fields, only the Name and Value fields.

Stepping back, this sounds a bit like an XY problem. You say, "I am trying to automate certain website user behavior using default HTTP/net package". You should be able automate user behavior (e.g. send HTTP requests) by sending only Name and Value. HTTP servers shouldn't need the HttpOnly or Secure fields. What sort of HTTP request isn't working? What sort of error are you getting?
For example, if I point my browser (with dev tools enabled) at https://www.chicos.com/, while the cookies that the browser receives have the HTTP and Secure fields set, it looks like the cookies the browser sends in follow-up HTTP requests do not.

Well, HTTPOnly Cookies are a more secure form of Cookie. ( https://www.owasp.org/index.php/HttpOnly ) .    Here is my Use case:
I am trying to simulate a Headless version of the browser and perform automated monitoring what Selenium, Cypress, Python[requests package], etc.  Problem is with CookieJar implementation. In a trail of website page navigation, CookieJar takes care of proper cookie management and authorize request correctly. Just that HttpOnly, Secure Cookie is not getting persisted and could not perform the request/response orchestration.

that HttpOnly, Secure Cookie is not getting persisted

It is. The relevant test is cookie d in https://golang.org/src/net/http/cookiejar/jar_test.go#L628
These values are persisted and are used in determining whether to send or not to send the cookie in a subsequent HTTP request.
As Nigel explained in details only the name=value pairs are sent and not the individual flags in a HTTP request Cookie header.

I am trying to simulate a Headless version of the browser ...

This seems to imply that you want to do more than net/http.CookieJar and its implementation *net/http/cookiejar.Jar can do: Manipulate cookies through anything else than HTTP requests/responses. You can manipulate cookies in a browser by two means:

Through a Set-Cookie header in a HTTP response and
Through JavaScript via document.cookie.

The cookiejar implementation in the stdlib implements the rules for setting and reading back cookies via HTTP responses and request only and it is incapable of implementing the needed security mechanism for JavaScript access. Wrapping the stdlib implementation and adding the necessary access control (like same origin policies, or honoring the HttpOnly flag) is impossible as you cannot inspect the cookiejar content. If you need to do that you will have to use a fork of the stdlib implementation which exports the whole content of the jar. net/http.CookieJar.Cookies is not capable of doing so.

Thanks a lot, @vdobler  @nigeltao  @bradfitz  Appreciate your explanation.  Got the Objective of Cookie/Jar implementation. let me hash my brain for some internal implementation.

I think this is not an issue, everything is working as intended and this issue should be closed.

I am also facing this issue, and am not sure if it is really "working as intended".
The problem is here:
https://github.com/golang/go/blob/master/src/net/http/cookiejar/jar.go#L120
Here all Secure cookies are filtered out when the protocol is HTTP. However, according to https://tools.ietf.org/html/rfc6265#section-<IP_ADDRESS> having attributes HttpOnly and Secure is a valid combination.
In my opinion, the restriction is overly conservative. If a server explicitly requests HttpOnly and Secure, I would expect the cookie to be sent even if the protocol is HTTP. So something like:
  ... && (https || !e.Secure || e.HttpOnly)

@vdobler @nigeltao @bradfitz

„Secure“ means „send over HTTPS only“ so this works correctly. The option HttpOnly has nothing to do with allowing to transfer a Secure cookie over HTTP: put roughly it prevents accessing the cookie via JavaScript.
Works as intended.

@vdobler here is my understanding about cookiejar.  cookiejar should persists all types of cookies for headless browser state management. In the context of GoLang headless browser is  HttpRequest, HttpResponse.
Based on my understanding, if i maintain a HTTP orchestration to maintain session dialogue with server and server URL sets HttpOnly cookie. I can't continue further Http request conversation to the server because server excepts that cookie to share information.

Works as intended.

So you're saying I have to hack around the behavior while talking to HTTP servers from major enterprise vendors. Can't say I'm thrilled...

@corani No I am mit saying you should do some hack. I‘m saying you Must not return cookies with Secure set over HTTP. If a HTTP server sends you a Secure cookie it does NOT want it back over plain http. Seems like you are trying to violate the security offered by setting Secure. Dont do that.

@vdobler  well at least in my case we are using https connection and using all SSL certificates for the handshake. Change here is instead of browser we are programmatically orchestrating network calls. In the world of HTML scraping, this is a common requirement. Python, Ruby, Java, Node languages provide fully-fledged Cookie Jar functionality out of the box.
Selenium is another framework that provides proper context to this use-case.

@sadhasivam I have to admit I do not understand the problem you are struggling with.


[SDK meeting] Adding a new API view link works when selecting a Lang/platform and leaving empty the api view link field

This is by design. The idea is to be able to select which languages the review is going to be about.
Maybe the UI needs to be improved to make this more clear though.
Closing for now


Fix wrong handling of insecure tls auth forward ingress annotation

What does this PR do?

Fixes wrong handling of the insecure tls auth forward Ingress annotation, closing the #4836
Motivation

Lack of "default" router configuration in traefik v2
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes
It is hotfix and should be merged asap (or faster)

@ldez done, but personally I would do it in slightly other way.

Please don't merge, our bot manage the rebase.

Ok, sorry

Wow. I  spent all day yesterday head-desking because of this. Glad to see someone is working on a fix asap.

Hi @woodcockjosh Traefik v1.7.15 has been released 11 days ago, and v1.7.16 10 days ago (ref. https://github.com/containous/traefik/releases)

@dduportal thanks. I actually upgraded to 2.0 since I couldn't get 1.7.16 working


Need QA Test Check-Sheet

Quality Assurance Testers need to have a list of LGROW defined features, functions, text  to check while working their way through the application.

We could use Pull Request (PR) templates for this: https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/
They can prepopulate a checklist of items on each PR for testers to go through on the review app.

I read the Pull Request templates page but it was mostly about the "how " of it rather than the "what.". Is there a good example out there in github land?

Here is one: https://github.com/sdispater/poetry/blob/master/.github/PULL_REQUEST_TEMPLATE.md
They're essentially just Markdown files named PULL_REQUEST_TEMPLATE.md or .github/PULL_REQUEST_TEMPLATE.md that will prefill the body of each PR.

to much for small group.


Add FA event for item select

Events for talk, speaker, empty slot.


Can't build axios for node using Webpack

I'm developing a React Server Side Rendering and using Axios as HTTP Client.
I'm trying to use webpack to create a bundle including axios. However, it always use lib/adapter/xhr.js instead of lib/adapter/http.js. That cause "XMLHttpRequest is undefined" when I'm trying to perform a request to API server.
However, when I change http.js to something.js (also change in lib/default.js too) then it working well.
So strange.
Does anybody have any answer?

Based on axios logic when you are building your webpack bundle XMLHttpRequest is defined.
You can try using webpack webpack.NormalModuleReplacementPlugin to pick lib/adapter/http.js even when axios requires lib/adapter/xhr.js

Facing a similar issue here. I am using webpack 2.6.0, and axios 0.16.1. The bundle builds successfully, but it looks like axios picks XMLHTTPRequest to send HTTP requests, rather than the http module.

Following the suggestions on this answer solved it for me. Basically you need to tell webpack to build for node (by default it builds for the browser)


markdown in comment text

a lot of comments will talk about code. markdown backticks ` are useful for doing so.

Hi @aiqc, this is currently being addressed in #79.


Dockerized Wordnook

What is the change?
I've dockerized this project. 🐬🐬

Created an account of alphavio on the docker hub.
I created an image for the project and pushed it to the docker hub.
Created a docker-compose.yml file so that the setup instruction could be automated and run with just one command: docker-compose up --build
Also, update the READE.md file and added setup instructions for installation of the project.

@Pranav016 I know that you asked in the PR #705 to make the docker-compose file to pull the image from Docker Hub but the thing is that if a contributor pulls our image from docker hub then when they want to make any changes then those changes will not be replicated in our image at Docker Hub. So, they won't be able to develop and debug because every time they would run docker-compose up then only the image which we have already put on docker hub would be pulled which would not contain the changes.
So, I thought that let the contributor itself make a new image every time they make changes so that at least they can see the changes on their local system. Moreover, once they make a PR and we merge it, then we ourselves could push the new image to Docker Hub. Though we can also set up CI/CD pipeline using Jenkins but, I'm not sure about it yet as I'm still learning. Though we can raise an issue for it later or we could add it ourselves later on.
Also, I saw other projects as well which use Docker and they also make the contributor build the image for testing. They don't make the contributor pull the image from the docker hub. Even the docker docs repo was doing like this only.
I've shared alphavio's docker credentials on discord DM.
Let me know if you need any explanations about any part of this PR. Do share your views as well. 😁
Related issue?
close: #365
How was it tested?
Tested locally
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[x] Did you lint your code before making the Pull Request?
[x] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

Screenshots or Video:
https://user-images.githubusercontent.com/73700530/126799890-5efe7c47-c227-48eb-bc64-8c26ffa78d1f.mp4

Actually, I forgot to add the env variables in the docker-compose.yml file. So, I just added them.

What is the change?
I've dockerized this project. 🐬🐬

Created an account of alphavio on the docker hub.
I created an image for the project and pushed it to the docker hub.
Created a docker-compose.yml file so that the setup instruction could be automated and run with just one command: docker-compose up --build
Also, update the READE.md file and added setup instructions for installation of the project.

@Pranav016 I know that you asked in the PR #705 to make the docker-compose file to pull the image from Docker Hub but the thing is that if a contributor pulls our image from docker hub then when they want to make any changes then those changes will not be replicated in our image at Docker Hub. So, they won't be able to develop and debug because every time they would run docker-compose up then only the image which we have already put on docker hub would be pulled which would not contain the changes.
So, I thought that let the contributor itself make a new image every time they make changes so that at least they can see the changes on their local system. Moreover, once they make a PR and we merge it, then we ourselves could push the new image to Docker Hub. Though we can also set up CI/CD pipeline using Jenkins but, I'm not sure about it yet as I'm still learning. Though we can raise an issue for it later or we could add it ourselves later on.
Also, I saw other projects as well which use Docker and they also make the contributor build the image for testing. They don't make the contributor pull the image from the docker hub. Even the docker docs repo was doing like this only.
I've shared alphavio's docker credentials on discord DM.
Let me know if you need any explanations about any part of this PR. Do share your views as well. 😁

Got your point, you are right 👍

Should we add docker files to slugignore since they are not required to be pushed to heroku right ?

Should we add docker files to slugignore since they are not required to be pushed to heroku right ?

Yes, I think we should do it. 👍

I've added docker files to .slugignore
Also, added the .env file in .dockerignore so that if contributor by chance setups .env file for using standard installations and then want to go for docker installation as well, then docker build won't get confused from environment variables coming from .env file as well as docker-compose.yml file.

I've added docker files to .slugignore
Also, added the .env file in .dockerignore so that if contributor by chance setups .env file for using standard installations and then want to go for docker installation as well, then docker build won't get confused from environment variables coming from .env file as well as docker-compose.yml file.

Gotcha 👍


flyway.locations not respected

Instead of reading the locations from the system property flyway.locations, the default location is hardcoded:
https://github.com/radcortez/flyway-junit5-extensions/blob/4c0b6a494b766ab0e4e5b4772575f49d6145bab2/extension/src/main/java/com/radcortez/flyway/test/junit/FlywayExtension.java#L69
Workaround: use additionalLocations, but this way the test wouldn't catch invalid configurations.

I'll have a look. Or if you want you can submit a PR. That will probably make things faster :)


SelectionTree returns wrong common ancestor in multiple variable declaration

int main() {
  int a = 1;
  int a = 1, b = 2;
}

Upon selecting 1, the common ancestor should just be 1 with the type IntegerLiteral in both statements but in the second statement, the common ancestor is the whole declaration.

Another test case:
int a[] = {1, 3};

not sure about the second case, but for the first case there is decls() inside DeclContext.
we can check if there is any other VarDecl inside current context that is overlapping with current one and choose the one with minimum length(which should be the first decl).


The Auto function is not streaming video with mpd format

Well First of all thanks for your vg-quality plugin I am able to integrate the  different quality source feature in the videgular but u has also provided the" Auto" function with the "mpd" format video in  your js file, Every other resolution files run except this "Auto" I have inclue the dash.js and dash.all.js as well.
Still the problem remains the same

@sickhary Are your "mpd" can play in the original dash.js player?, Or you can send that "mpd" url to me.


2.x.x - Websocket Client

I'd like to consider non-TLS connections for Network.framework, looks really good in general

If the user passes in a NIOTSEventLoopGroup it will then use an NIOTSConnectionClient for the connection which is basically using the Network framework


[libra framework] Check that account is DD in publish_preburn.

Also uncomments an assert and makes configs only publishable at genesis.

:umbrella: The latest upstream changes (presumably 4bcbbb2ad98cd3c0f7871ecdd1ad892fc7dd9078) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=junkil-park

:pushpin: Commit 5fe3253 has been approved by junkil-park

@bors-libra r-

@bors-libra r=junkil-park

:pushpin: Commit 670cb77 has been approved by junkil-park

:umbrella: The latest upstream changes (presumably 632f97b2d2a56fe4ae4c5604ef6f18e572b6a548) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=junkil-park

:pushpin: Commit d3e3817 has been approved by junkil-park

@bors-libra cancel

@bors-libra r-

[move-prover] Move Prover test (language/move-prover/cargo test) on commit d3e3817 did fail. See details.

A timeout occurred in the verification of TransactionFee:: preburn_burn_fees. I don't see any changes in this PR that can break the spec of the function. Then, could the verification for that function be turned off, @emmazzz?

:umbrella: The latest upstream changes (presumably ffcac7a8ac3b5888cd5f8566efcd18ba5573c506) made this pull request unmergeable. Please resolve the merge conflicts.

I'll turn off that check for now and add a todo comment for it.

I'll turn off that check for now and add a todo comment for it.

I was writing this:
@tzakian, @emmazzz said that you could turn off the verification for the functions causing timeouts ("pragma verify = false;"). She would take a look at them once it's landed.

Tried things out locally with T=20 and it all passed. I'm going to start the land if if mirai-bot complains again I'll stop it.
@bors-libra r=junkil-park

:pushpin: Commit c3f46ef has been approved by junkil-park

:hourglass: Testing commit c3f46ef61e8214539350b7481cb1d8fe6e18e9c8 with merge e74c5d80302280bbc2e9450305708a16df825821...

@bors-libra r-

@bors-libra r=junkil-park

:pushpin: Commit f7a977f has been approved by junkil-park

:hourglass: Testing commit f7a977f9989db1c5b619b02143a4c3382673d936 with merge ce164585c0ea04f0ec259d78ee8b98855fa0d293...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: junkil-park
Pushing ce164585c0ea04f0ec259d78ee8b98855fa0d293 to master...


docs(figma notes): add figma and design notes

Alaska Airlines Pull Request
Added Figma embed link and release notes.
Fixes: #71  (issue, if applicable)
Type of change:
Please delete options that are not relevant.

[ ] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[x] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Intel Video GUI. Error...

According to your testing, does the issue occur with ONLY Immersive Portals mod installed?
Yes
Forge Version
1.18.2
ImmersivePortals Version
1.18.2
Latest Log

Crash Report (if applicable)

Steps to Reproduce

What You Expected
I expected it to work...
What Happened Instead
I got this error...
Additional Details

Please Read and Confirm The Following

[X] I have confirmed this bug can be replicated without the use of Optifine.
[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this does not happen on the fabric version (If it does please report to here instead).
[X] I have confirmed I'm not using a hybrid server (Magma, Cauldron) or a different (non official) Forge Server release.
[X] I have confirmed this issue is unique and has not been reported already.

what error

It seems your issue is missing logs as well as a detailed description. Without those things we are not able to help you.

Closing due to no reply


[Documents] Wrong slot count in 'Slot Table'

In the Design document 6.2 https://github.com/apache/rocketmq/blob/master/docs/cn/design.md
The 'Slot Table' in the picture flag from 0 to 500w, if it should be 0 to (500w-1) or 1 to 500w?

@ypren 1 to 500w

@ypren 0 to 499w


We should document the k8s 1.24+ lack of auto-serviceaccounttoken generation

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#urgent-upgrade-notes

apiVersion: v1
kind: ServiceAccount
metadata:
  namespace: foo
  name: bar
secrets:
- name: fum
---
apiVersion: v1
kind: Secret
metadata:
  namespace: foo
  name: bar
  annotations:
    kubernetes.io/service-account.name: bar
type: kubernetes.io/service-account-token

Made an attempt to document in this PR: https://github.com/crumbhole/argocd-vault-replacer/pull/92

Closed by #92


Homebrew version of bluepill is out of date

The readme suggests getting bluepill via homebrew, but the latest version available through homebrew is 5.8.1, which is almost a year old. A pull request to bump that up to the current release was closed because it failed to build on apple silicon.

It seems the failure is due to CoreSimulator.framework not having arm64 support... perhaps we need to wait for https://github.com/actions/virtual-environments/issues/2187#issuecomment-737339211

Same problem on Macbook pro i7

This is fixed in https://github.com/Homebrew/homebrew-core/commit/2c9cc459b2502290d506f58fc602b20c1faade36


fix: fix import/export path

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (a2563ea) compared to base (4cd94c1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #289   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           77        77
  Lines          530       530
  Branches       131       131
=========================================
  Hits           530       530

Impacted Files
Coverage Δ

src/yaml.ts
100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Move sensitive data to Keychain

To secure sensitive data I have moved authentication token and other user details to  keychain .
@aleffert  @nasthagiri  Please review .

Major new pieces of functionality should have test coverage.

@aleffert  Please Review .

If migration works, looks good


Revert "[Backport 2.x] Require MediaType in Strings.toString API (#6009) (#6414)"

Description
This reverts commit c4ab2364f8de2c55a2a18043b2436eff401a57a9 on the 2.6 branch. The change will be retained in the 2.x branch so it can be a part of the next 2.* release
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@joshpalis


Add GOFLAGS option to makefile

By default this is set to "-a", but it allows you to unset it like:
make GOFLAGS="" build

to speed up builds.
none

/lgtm
/approve
On Wed, 18 Apr 2018 at 12:58, jetstack-bot<EMAIL_ADDRESS>wrote:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: munnerz
Assign the PR to them by writing /assign @munnerz in a comment when ready.
The full list of commands accepted by this bot can be found here
https://go.k8s.io/bot-commands.
The pull request process is described here
https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process
Needs approval from an approver in each of these files:

OWNERS https://github.com/jetstack/navigator/blob/master/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jetstack/navigator/pull/338#issuecomment-382362050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMbP_XnC5Ev4COyhaj8gzIeqZ4YvO9sks5tpypngaJpZM4TZ7lX
.


Sound won't load in "Release" build - iOS

No issues at all when running in Debug mode, but when running my release build I'm getting the ENSOSSTATUSERRORDOMAIN-10875 error. Assets are all included in the correct targets. I've tried everything. Any ideas?

Does your release target have spaces or other funny characters in it's Product Name? (ie. "MyApp (Live)") - if so, get rid of them and try again :)

I'm having the same issue on both debug and release mode and my target name has no space nor any special char...

@patmisch did you find a solution?

having the same issue on Android , everything works perfectly on debug mode , but on release i'm getting source returned error -1, 0 retries left

Any updates for iOS?

wrap base path with  encodeURIComponent(Sound.MAIN_BUNDLE)

hi,
I have the same issue, no sound working only in release mode on IOS.
Any suggest please ?


Add work score trait and impls

Description of change
This PR introduces the WorkScore trait and impls it for all required types (BlockWrapper et al).
Links to any relevant issues
Closes #1018
Type of change
Choose a type of change, and delete any options that are not relevant.

Enhancement (a non-breaking change which adds functionality)

How the change has been tested
Not (yet)

conflicts


[Help]: Fail to export netcdf file even with dask modifications

Describe the problem you met
I've been reading your Yamchi Dam notebooks and adapting my own script accordingly. I have now added in the SBAS.pickle file and certain checks to avoid unnecessary reprocessing. However, when running on a large enough dataset, dask seems to fail due to a memory error. I've attempted to process a netCDF with all dates, and when that didn't work I attempted to iterate through the dates individually with a simple for-in loop which gets me further - but still fails before completion. Problems start at line 8386 in the log.txt supplied below. I have increased the chunk size and I am using tqdm_dask/ cluster with n_workers at 1 and dask.persist, instead of dask.compute as from what I'm reading that works better for large datasets. I've also increased the timeouts to 60 seconds. I'm attempting to process 94 Sentinel-1 SLC IW images (with all three sub swaths of data merged).
Keeping an eye on my memory, I do not see it exceeding anything beyond reasonable (~60%), specs:

12th Gen Intel© Core™ i7-12700H × 14 (20 threads)
32GB RAM

OS and software version
OS: Linux Mint (Cinnamon 21.1) with mobigroup/pygtmsar docker (id: 6cd0e53e4011)
Log file
log.txt
script.txt

You have mixed lat/lon and y/x coordinates, resulting in an enormous grid of 2580 x 3340 x 3268 x 4252, which does not fit within a reasonable amount of RAM:
<xarray.DataArray (lat: 2580, lon: 3340, y: 3268, x: 4252)>
dask.array<getitem, shape=(2580, 3340, 3268, 4252), dtype=float32, chunksize=(512, 512, 1024, 1024), chunktype=numpy.ndarray>
...

Thank you for spotting my silly mistake.


As a developer, the Weevil application should monitor UI responsiveness, to evaluate UX in a production environment.

Google searches:

monitor WPF UI responsiveness
wpf dispatcher detect ui freezing

Monitoring UI responsiveness is not a new concept.  Here are a couple of related articles on the subject, specific to WPF:

StackOverflow: How to detect unresponsive UI updates?
StackExchange: Detecting UI thread hanging and logging stacktrace
StackOverflow: DispatchTimer
JeBrains: Mechanism for determining UI Freeze in Timeline view impacting WPF Dispatcher Efficiency?

Lessons Learned

to avoid false positives, start the UI monitoring after the application has fully started

MainWindow.Loaded

calls to the operating  system are sometimes slower than expected

For example: it is not uncommon for Windows' "Open As" dialog take ~1.5 seconds to appear, which often trips the UiResponsivenessMonitor


Version bump to 2.185.1

Auto-generated by fastlane 🤖
Changes since release '2.185.0':

[Fastlane.Swift] Treat Bool as optional to avoid config issues (#18827) via Jorge Revuelta
[action][crashlytics] remove all instances of is_string in options and use type (#18855) via Manish Rathi
[Fastlane.Swift] Fix Fastfile.swift template syntax error (#18589) via Soohan Lee
[action][danger] remove all instances of is_string in options and use type (#18859) via Manish Rathi
[action][create_pull_request] remove all instances of is_string in options and use type (#18858) via Manish Rathi
[action][create_keychain] remove all instances of is_string in options and use type (#18857) via Manish Rathi
[action][create_app_on_managed_play_store] fixed the input options formatting (#18856) via Manish Rathi
[action][copy_artifacts] remove all instances of is_string in options and use type (#18854) via Manish Rathi
[action][commit_version_bump] remove all instances of is_string in options and use type (#18852) via Manish Rathi
[action][commit_github_file] remove all instances of is_string in options and use type (#18851) via Manish Rathi
[action][cocoapods] remove all instances of is_string in options and use type (#18850) via Manish Rathi
[action][cloc] remove all instances of is_string in options and use type (#18849) via Manish Rathi
[action][clean_cocoapods_cache] remove all instances of is_string in options and use type (#18848) via Manish Rathi
[action][clean_build_artifacts] clean up options default_value (#18847) via Manish Rathi
[action][badge] remove all instances of is_string in options and use type (#18833) via Manish Rathi
Migrate Psych#safe_load to support Psych v4.0 in upcoming Ruby 3.1 (#18825) via Satoshi Namai
[action][appium] remove all instances of is_string in options and use type (#18828) via Manish Rathi
[action][apteligent] clean-up input options (#18829) via Manish Rathi
[action][artifactory] remove all instances of is_string in options and use type (#18830) via Manish Rathi
[action][automatic_code_signing] remove all instances of is_string in options and use type (#18831) via Manish Rathi
[action][backup_xcarchive] remove all instances of is_string in options and use type (#18832) via Manish Rathi
[action][changelog_from_git_commits] remove all instances of is_string in options and use type (#18837) via Manish Rathi
[circle] Bump Xcode to 12.5 (#18826) via Jorge Revuelta
[action][build_and_upload_to_appetize] remove all instances of is_string in options and use type (#18834) via Manish Rathi
[action][bundle_install] remove all instances of is_string in options and use type (#18835) via Manish Rathi
[action][carthage] remove all instances of is_string in options and use type (#18836) via Manish Rathi
[action][chatwork] remove all instances of is_string in options and use type (#18838) via Manish Rathi
add environment variable to skip lane summaries (#18839) via Tejas Sharma
[snapshot] Allow iPods to run alongside iPhone and iPad (#18843) via mdubs
Fix latest version badge for screengrab (#18810) via Unpublished
[action][appetize] remove all instances of is_string in options and use type (#18809) via Manish Rathi
Add pods project schemes environment variable (#18815) via Tejas Sharma

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger


18836 Joseph Riske

Leonard Brinkley missing from list of approvers
Lindley Academy Charter School missing from school list

Lindley is applicant not permitted location.
Staff person added. UPdated permit


Absolute tolerance

I find this library really useful, however sometimes you actually want to compare two numbers using their absolute difference. Could it perhaps be desirable to have an additional macro for this purpose? I find this perhaps particularly useful when comparing with zero.
// The name is perhaps not perfect
assert_absdiff_eq!(x, y, tol = 1e-8);

// I actually suggest not providing a default tolerance, as I believe
// absolute difference should only be used when you already have
// a specific tolerance in mind

I could certainly try to make a PR for this, but I thought I'd see if there's interest in it first.

Hmm, I would like to understand the use cases more. Maybe having some examples would help? Could we potentially have another function on the trait for this?

Sorry for the super delayed reply too! 😰

Sure! ULP-based comparison is useful if you know that two floating point numbers are supposed to be almost identical. However, for more involved algorithms the numerical drift from roundoff errors becomes significant, and you usually don't have any idea about how many ULPs you need to use for your tolerance.
I do a lot of numerical analysis. In these cases, you often have an error bound expressed in terms of absolute difference. For example, the (backward) error for a standard dot product of vectors x and y is
| fl(dot(x, y)) - dot(x, y) | <= c * n * eps * dot(|x|, |y|)

where n is the length of the vectors x and y, c is a constant of order unity (i.e. close to 1), eps is the machine epsilon and |x| denotes a vector whose elements are absolute values of those in x.
This isn't actually a practical error bound because you don't possess the exact solution for dot(|x|, |y|) - I just grabbed a result from a nearby book. In any case, my point is that error bounds are almost always specified in terms of some kind of absolute value difference (or more generally differences in norms).
Moreover, the relative/ULP-based comparison is far superior when comparing arbitrary numbers (as seen in e.g. the randomascii blog post), but if you know the quantities of the numbers you are comparing, it's often far easier (and equally correct) to judiciously choose an absolute value difference.
Computing absolute difference is pretty trivial, of course:
let a = 3.6;
let b = 3.7;
assert!((a - b).abs() <= 0.2);

but compare the last line to:
// Again, not so sure about name
assert_absdiff_eq!(x, y, tol = 0.2)

One additional benefit here is that the macro can also display an error message with the actual error involved if the assertion fails. The first homegrown example is super annoying to debug, because it doesn't tell you the size of the numbers, so you have to hook up a debugger or add print statements. We use this to provide useful assertions on matrices in rulinalg.
My original issue is perhaps confusing because I said " I find this perhaps particularly useful when comparing with zero." According to the aforementioned randomascii blog post, comparing with zero is usually the very reason one should not use absolute differences! I don't remember what I meant here, but I can imagine I had in mind knowing the quantities of the numbers involved, in which case comparing with zero using absolute differences can be justified.

I'm wondering if having a base trait would be useful. Could then implement it for signed and unsigned integers too, which could address @sebcrozet's comment on #6:
pub trait AbsDiffEq {
    type Tolerance;

    fn abs_diff_eq(&self, other: &Self, tolerance: Self::Tolerance) -> bool;

    fn abs_diff_ne(&self, other: &Self, tolerance: Self::Tolerance) -> bool {
        !Self::abs_diff_eq(self, other, tolerance)
    }
}

Would you prefer it be called 'tolerance' over 'epsilon'?

Well, epsilon can perhaps easily be mistaken for machine epsilon, which is why I personally prefer tolerance.
As for supporting absolute difference comparison of integers, we do this in rulinalg, but this has the unfortunate effect of not allowing us to use e.g. LowerExp for scientific notation when displaying error messages, since it's not implemented for integers (I guess this is the real problem - why is it not?). I can imagine that the use cases for approximate comparison of integers are almost non-existent though.

@Andlon I've started a new issue regarding naming!


Use double quotes for unseal endpoint

Fixes Error loading configuration from /opt/vault/config: error loading "/opt/vault/config/default.hcl": At 5:16: illegal char
HCL does not support single quoting strings.

thanks for catching this!


Array types not supported; types with ] leads to a syntax error

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Versions
v3.1.1
A minimal reproducible example
.
Description
Running the generator with types that include ] as part of their name generates a type definition file with a syntax error. The brackets are not properly closed.
Steps to Reproduce
model URL {
  /// ![[string, string][]]
  queryParams Json
}

Type definition generated for this definition contains the following field:
queryParams: ([string, string)

Note that the bracket is not properly closed.
Expected Behavior
This is likely caused by a non-greedy matching in the type regex. Removing the ? mark in .*? will likely fix the problem.
https://github.com/arthurfiorette/prisma-json-types-generator/blob/869a559c22b868227db1a753ef948498697d749c/src/helpers/regex.ts#L6
Before: https://regexr.com/883c6
After: https://regexr.com/883c9
As a workaround, it is possible to define the array type directly into PrismaJson namespace.
// schema.prisma
model URL {
  /// ![KeyValueArray]
  queryParams Json
}

// TypeScript
declare global {
  namespace PrismaJson {
    type KeyValueArray = [string, string][];
  }
}

Hmm, I don't think this will be possible to solve with regexes. Any ideas?