"strongest" instead of "darkest"

I'm wondering if there is an option to configure/change the names of the text colours to be more abstract so the "-lightest" -> "-darkest" scale can be renamed to "weakest" -> "strongest"?
The use case is the dark themes where you may end up having a "text-darkest" class for actually white  text.

Totally! Just change the color names in your Tailwind config file:
https://tailwindcss.com/docs/colors/#customizing


Map not working on Android as it is on iOS

Summary
Im trying to create a map where I can draw a polygon on it. This works almost perfectly on iOS, but not on Android. On Android I can't change the map type, and the onPress() to add a Marker doesn't work.
Any help is greatly appreciated
Reproducible sample code
<ThemedText style={styles.textoAntesMapa}>
            Desenhe a área da sua sub-parcela
          </ThemedText>
        <TouchableOpacity style={[{ zIndex: 2 }]}activeOpacity={1} onPress={toggleMapHeight}>
          <View style={[styles.dot, {position: 'absolute', backgroundColor: 'grey', top: 5, left: 5 }]}>
            <Expand color={'white'} ></Expand>
          </View>
        </TouchableOpacity>

        <ThemedView style={[styles.mapaa]}>
          <MapView
          initialRegion={{
            latitude: 38.736946,
            longitude: -9.142685,
            latitudeDelta: 0.0922,
            longitudeDelta: 0.0421,
          }}
          provider={PROVIDER_GOOGLE}
          onPress={adicionarMarcador}
          onLongPress={handleLongPress}
          mapType={MAP_TYPES.HYBRID}
          showsUserLocation={true}
          style={[{ height: mapHeight, top: mapTop, width: mapWidth, left: mapLeft }]}>

              <Polygon
                coordinates={polygonCoordinates}
                fillColor="rgba(255, 0, 0, 0.3)" // Transparent red
                strokeColor="rgba(0, 0, 255, 0.5)" // Semi-transparent blue
                strokeWidth={2}
              />

              {polygonCoordinates.map((coordinate, index) => (
                <Marker
                key={index}
                coordinate={coordinate}
                draggable
                onDragStart={handleDragStart} // Inicia o estado de arrasto
                onDragEnd={(e) => handleDragEnd(index, e)} // Finaliza o estado de arrasto
              >
                  <View style={[styles.squareMarker]}>

                  </View>
                </Marker>
              ))}
          </MapView>
          <View style={styles.buttonContainer}>
            <Button title="Reset Polygon" onPress={handleResetPolygon} />
          </View>
        </ThemedView>

/// app.json

    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/adaptive-icon.png",
        "backgroundColor": "#ffffff"
      },
      "config": {
        "googleMapsApiKey": "mykey"
      },
      "permissions": [
        "READ_EXTERNAL_STORAGE",
        "WRITE_EXTERNAL_STORAGE"
      ]
    },

Steps to reproduce
Run the code
Expected result
The map to behave correctly, allowing me to add markers and change its looks (by changing its type)
Actual result
Only shows up.
React Native Maps Version
1.18.0
What platforms are you seeing the problem on?
Android
React Native Version
0.76.2
What version of Expo are you using?
SDK 52
Device(s)
Nokia 6.1
Additional information
I don't know if it's something about me setting the maps API key wrong or something, but I can't figure it out

@Lucena02 you're using a version of react-native / expo that we don't support yet
see https://github.com/react-native-maps/react-native-maps/issues/5206
and https://github.com/react-native-maps/react-native-maps/?tab=readme-ov-file#important-notes
we will need to solve this among other issues to be able to support new arch fully, (currently in progress)


Make source links in docs link to the correct branch

Change description
Make source links in docs link to the correct branch
What problem does this solve?
Getting to a 404 when clicking such a link
Issue number: (if applicable)
Example usage
Additional details and screenshots
https://hexdocs.pm/ex_doc/Mix.Tasks.Docs.html

:source_ref - The branch/commit/tag used for source link inference; default: "main".

Checklist

[ ] I have added unit tests to cover my changes.
[ ] I have added documentation to cover my changes.
[ ] My changes have passed unit tests and have been tested E2E in an example project.

Coverage decreased (-0.2%) to 83.933% when pulling cab728d09e697f15c42ee33d791e668b60fd26bb on LostKobrakai:patch-1 into 3557e828cf3905adaf6719003e68b65294b62288 on akoutmos:master.

Good catch! I'll merge this in as soon as GitHub actions does its thing. Thanks :)!


Re-root by clicking the node

Most essentials are working, except buggy as reflected in the paper we discussed.

The relevant paper we are addressing:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5435079/


Setting metadata on ExternalSecrets generated by a ClusterExternalSecret

Is your feature request related to a problem? Please describe.
I need a way to set certain labels on all the kubernetes resources that are automatically generated.
It is possible to do so for Secrets generated by an ExternalSecret, via the: target.template.metadata object, but it's not possible to do so (as far as I can see) for ExternalSecrets generated by a ClusterExternalSecret.
Describe the solution you'd like
That a new resource field externalSecretMetadata is added to the ClusterExternalSecretSpec, at the same level as externalSecretName, which behaves identically to the target.template.metadata in ExternalSecret, but sets the metadata for the ExternalSecret instead.

This sounds like a decent feature to have to me. Let me see if I can help with it 🙂


Remove SkipSynchronization

Fixes #13111
It also includes a slight change of the text during sync to emphasize that it will be longer on first launch.
This loading screen really doesn't make the job but well... out of scope.
Note that this PR is not aimed at master but at Downsize+FOSS, it is seeking for cACK or cNACK, I would accept either but take in mind that this feature creates maintenance burden
Ps: I noticed that the filters are longer to download than in the past

cACK. I think it should go in master.

cACK. I think it should go in master.

Say no more!
I will open a new PR because it's easier


Firm dependency on python-dateutil bad for importing

Hi @juanriaza ... I just PR'd #6.  Doesn't look like there is any need to firmly tie to dateutil==2.1 and for me, the downside is that its borking my local dependencies.  Thoughts on the change?

@whitej125 just merged your PR and published a new version, thanks


Running run-all apply on a fresh AWS account results in multiple bucket creation prompts

Imagine you're a new developer who just set up their own AWS root account and want to deploy your own copy of your company's cloud infrastructure. Being somewhat savvy to the way Terragrunt works, you navigate to the directory containing deployment configuration for the dev stage and run terragrunt run-all apply. Unfortunately, instead of the infrastructure being created, you get multiple overlapping prompts notifying you that the state bucket doesn't exist with offers to create it.
It could be argued that this is run-all working as expected. After all, this is a natural result of running terragrunt apply on each module in parallel. However, it's a bit of an unfortunate experience. It would be nice if there was a clean way to deploy an entire stack for the first time with a single command and terragrunt run-all apply is nearly there.
The way I've worked around this is to instruct new developers to deploy a single module with no dependencies (i.e. the VPC module) first, which will take care of creating the state bucket for you.

@velovix Have you tried passing --terragrunt-non-interactive, or setting the env TF_INPUT=0?

@lorengordon Thank you for the suggestion! That does work reasonably well. Naturally, since multiple commands are trying to create the state bucket at once, you'll get a few errors like this:
ERRO[0003] Create S3 bucket with retry ... returned an error: OperationAborted: A conflicting conditional operation is currently in progress against this resource. Please try again.
	status code: 409, request id: ..., host id: .... Sleeping for 10s and will try again.  prefix=[...]

However, since there's a retry mechanism, this doesn't seem to cause any problems and the deployment eventually completes.
I think it would be nice to have a more bespoke way to deploy multiple modules at once that smooths out some of these rough edges, but I'm pleased with this solution. Thanks again!

@velovix One option would be to use a single bucket for the backend within any given project. Within the backend config, use something like key = "tfstate/${path_relative_to_include()}/terraform.tfstate" to create a statefile per config.
Though perhaps you are saying that is what you are doing, and with run-all several configs are triggering the logic to create the one bucket all at the same time? I don't really have a workaround if so. Would really need to just be much more explicit about the workflow... i.e. create the backend, then run terragrunt. For terragrunt to manage that workflow more completely, I think this feature would need to be implemented... https://github.com/gruntwork-io/terragrunt/issues/924

@lorengordon That's right, I use one state bucket per stage for all modules in that stage. Like you're saying, all the modules are attempting to create that same bucket at the same time.


improve tableplus connection view

with latest tableplus version a connection label and color will be shown prominently in the header bar. By default it is gray and shows "PRODUCTION" for these ddev connections.
This change labels them as "DDEV" and sets the color to ddev's key color so you don't get confused whether it's a PROD connection or a DDEV connection.
See example:
Reference: https://twitter.com/TablePlus/status/1631300835530665985?s=20

Thanks!

I hope you'll be able to respond and check this out and we can get this in.

hey @rfay … can you quickly address how I can assist? Removal of set -x seems fine if we don't want the output. I don't care much so … fine to remove. However I cannot test the trial version, but I'm happy to shoot out a message to their dev team. They seemed to be quite fast responding to these issues. I'll keep you posted.

https://twitter.com/tableplus/status/1636890112410947589?s=46&t=IEaWKOHqOHo--eDWO8NnJg
So you’re using the current stable, I’m using the beta. We can keep this ticket open, till the next version is released, then it works for everyone.
rico

Thanks for checking. Just say the word and we'll reopen this when its' released. You can just comment here. Thanks for your work on this!
We will want to make sure that this doesn't break people who have older versions.

Hi guys, I just wanna confirm that it will work for all. The reasons it does not work for the current version are:

There is a typo in the current version, we use enviroment instead of environment. We fixed it in the next update, also alias it to tag/env (you can use any of these params). So please use the correct params: env or tag

The user who created this PR us the hotpatch, not the beta. Which fixed the issue.

You can download the hot patch release here: https://www.dropbox.com/s/3rbnoo74s03ekam/TablePlus.dmg?dl=0

I'm just amazed that @huyphams from tableplus follows the tweets to the pull request and takes the time to help! 🚀 😍


Ensure boundaries applied to bootstraps

for pmix and probably bounds for BurrIII as well.

I can confirm that this is already the case!


where is the PCB module？

Hi, I am sorry  that I can not find the code where the PCB module for re-weighting the box-predictor' cls scores refers to.
Hope someone who knows could help me :), thx.

Hi, you can find the PCB module here, and this line executes the calibration operation.

oh! Thanks a lot!  But this makes me strange because PCB module executes  during inference.
When I read your paper, I thought it may be a common module like 'channel wise add' or 'reweighting' during training.

My question is that when we reweight the score using PCB module, can we  improve AP?
I think during inference, the input is a image, the output is the list of proposals, each proposal have score, pred labels and pred box.  I am confused that I think coco eval api does not care about the scores for a proposal because label  and bbox  is certain.

In fact, it does affect. The score represents the confidence of each dt, which will be utilized to re-index dt-bboxes by cocoeval-api (sort dt highest score first, sort gt ignore last).
Please see these code (or code) in cocoeval-api.

Thanks you :)


Allow to strip dashes from options in result dictionary

From the project README:

The return value is a simple dictionary with options, arguments and commands as keys, spelled exactly like in your help message.

options['--file'] looks too odd though. That would be great if a user could invoke docopt with additional named parameter:
options = docopt(__doc__, strip_dashes=True)

So that result dictionary has no leading dashes, which is equivalent to:
def strip_dashes(options):
    return {k.lstrip('-'): v for k, v in options.items()}

options = strip_dashes(docopt(__doc__))

Will you accept pull request for this feature?

Had the same issue. I'm using this one liner:
args = {arg.lstrip('-') : value for arg, value in docopt(__doc__).items()}
Coming back to post it here, I realised @pavel-paulau has basically the same thing in his original post.


when sentinel runs an initialization script, it will create a secret by itself too (like a tombstone) if the secret is there, then it won’t run the initialization again.

Dupe of #479.


Raise an error with appending mismatching timeseries index dimensions

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[ ] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md (remove section after adding to RELEASE_NOTES.md)
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Added feature which does something

Description of PR
This PR closes #434 by ensuring that an error is raised when trying to append IamDataFrame instances with non-matching timeseries index dimensions.

Looks good. It might be best to test that the error message produced is the intended one, since these sorts of things can go wrong in a lot of ways.

Added explicit checks for the error messages per suggestion by @Rlamboll


post hook fails if Docker is not running

Generating a project fails if Docker is not running:

We should improve the docker pre-check to confirm not only the docker command version, but that the docker daemon is running. (Alternative: make the post hook succeed even if dockerd is not running)

Actually rather than require docker to be running in order to run the cookiecutter, I would suggest to just skip the "make format" command and print a warning about it if docker is not running.


removable channel handler + logging

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 1034 coins.


50254 - Palatine - Reassign song 9350, create new society

Song 9350 is not from Rhineland-Palatinate. Currently, its location in our metadata is "Swabia, Germany" but the source lists the location as Schlesien (Silesia). This seems to be a distinctive culture. I suggest creating a new society named "German Silesians," assigning this song to it, and changing the location name and lat-lon accordingly. Language lowe1388.

Or maybe Carpathian Germans (50258) would be appropriate instead of creating new culture? Language is already lowe1388.

From web research, it seems like German Silesians and Carpathian Germans are distinct from each other and shouldn't be grouped. So I have created new German Silesians society and assigned 9350 to it.


Enhancement: Add priority scheme when creating routes via admin dashboard

Currently routes added from dashboard will set priority's value to 0 which may not suitable for most users, so we may provide this ability to our user for a better experience. ;-)

ok

Due to some confusion, we just removed the filed temporally.


Better Initial Chat Experience

New Inbox Components
Adds a new button StartNewChat to the top of the inbox in place of ChatFilterRows when the user has not chats.
Additionally this adds a button at the bottom of the inbox, BuildTeam when the user is not part of a any teams (and thus has no chats), which takes the user to the teams page.

Storybook
Most of the work in this PR involves rewriting the stories for Chat/Inbox. Previously only the inbox rows were being rendered in a story. Now the stories will render an entire inbox including the header components (StartNewConversation or ChatFilteredRow), the row components, and BuildTeam component if it applies.

@keybase/react-hackers This could use a look

[ ] merge after the release

@keybase/react-hackers Updated after review - good for another look

@keybase/react-hackers good to go again

@keybase/react-hackers Could use another look por favor.


Update application-proxy-add-on-premises-application.md

changed the registry fields to present an exact copy of the values needed for a registry file
executing a registry file is easier than manually searching in the registry for a branch/value

@gabor-rozsa : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@msmimart Could you review the PR? Note that if the update is approved, the code needs to be fixed (indented); it doesn't display correctly in GitHub preview. The PR review team can do this. Thanks!

@japere, would please review these changes?

#reassign:kenwith

I checked with @japere and the addition is correct. For some reason the addition looks like it is outside of the code block in the preview but it looks correct in the Files Changed.. unfortunately I don't have permissions to edit the PR. @gabor-rozsa does it look correct on your end? If so I will just go ahead and merge and we can adjust later if needed.

@techdocprs - the code is correct, would you please make sure it is in the code block and then merge?

@jborsecnik : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Feature Request: Package System

Would it be possible to provide a wrapper for the new package system, perhaps the local system?
That way one could store the thing in one location and import it from everywhere.

Oh yes, a local package seems like a very nice idea! I will look into it.

With the new version 0.1.0, it should be possible to use it as a local package.

Thanks. GREAT stuff.
After extraction one must install (on the mac) as follows:
unzip typst-din-5008-letter-main.zip
mv typst-din-5008-letter-main ~/Library/Application\ Support/typst/packages/local/din-5008-letter-0.1.0

And the local package import then looks like:
#import "@local/din-5008-letter:0.1.0": *

The examples provided do not work (any more) since typst does not go up beyond the document root, so the statement
#import "../letter.typ" : letter, letter-styling, debug-options, block-hooks

can be replaced by
#import "@local/din-5008-letter:0.1.0": letter, letter-styling, debug-options, block-hooks

or shorter
#import "@local/din-5008-letter:0.1.0": *

Yes I think this should work exactly as you described.


Limit local and ci builds to arm64 and amd64

We now limit the architectures to build images for to linux/arm64 and linux/amd64 for local and ci builds. All platforms are still built for tags.
The specific platforms to build can still be overridden using the KO_PLATFORMS envvar setting the value all or a comma separate list of ${GOOS}/${GOARCH}. For example linux/amd64,linux/arm64.
This will speed up builds on machines with low CPU core counts (like GitHub Action runners).
Signed-off-by: Scott Andrews<EMAIL_ADDRESS>

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

Coverage data is based on head (2c486fa) compared to base (8bc7e8b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   82.34%   82.34%
=======================================
  Files          15       15
  Lines        1348     1348
=======================================
  Hits         1110     1110
  Misses        204      204
  Partials       34       34

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.

This change shaves ~10 minutes off the stage job in ci. (4m vs 14m)


chore(doc): add conformance matrix of csi capabilities

Add CSI controller and node driver capabilities and their status (implemented or not implemented) and description.

@kmova can you review the format of this doc?

@pawanpraka1 PTAL


estimateKeyWitnessCount only needs to work in recent eras

[x] Replace IsShelleyBasedEra with IsRecentEra in estimateKeyWitnessCount.

Comments

Issue Number
ADP-2849

bors r+


Translation spans

@owikle I quickly doc-ed and test implemented the span approach we discussed today. Actually seems pretty powerful??
I added it to the JS figuring out the current site_language, BUT did not actually combine the two. I didn't go far, so some possible kinks to work out, such as adding ifs to ensure there is a far back if nothing is configured, etc. It shouldn't be hard to integrate, just need to call it after figuring out the page language on load, then when ever the switch language buttons are pressed.
I think this could replace part of what you did (with the hiding and showing classes). For example, you can use the spans directly in config-nav, which is probably easier than adding the extra columns.
This doesn't currently relate to item page metadata display--but you might be able to use the approach there too (i.e. spans with id of the metadata fields to display, query the metadata to find the correct language; rather than setting up a bunch of spans with classes to hide/show).

@owikle sorry, closing this and opening a PR on your site-wide branch instead to make it easier to see what I did!


Tombstone and Nav Components

#23107

Implements very basic Tombstone (basic component part of the Edit Record Layout)
Very basic nav footer, with some event emits
Refactors Edit Record Page to meet some design changes
Basic unit testing

/gcbrun

Temporary Url for review: https://documents-ui-dev--pr-43-rtuuivw8.web.app


Update to SDK 0.34

This PR follows on from https://github.com/cosmos/peggy/pull/60 and deprecates that PR.
This PR includes:

use go mod instead of dep
Initial updates to SDK 0.34
Code works again, builds and compiles properly, is linted properly
Tests pass and functionality is fully preserved
Some fixes for https://github.com/cosmos/peggy/issues/52 related to the update

This PR does not include:

Updates to SDK 0.37 and related potential code improvements related to new refactors/features in that version (Comments on this will be appreciated, though ideally will be addressed in a follow up PR)
Some fixes for https://github.com/cosmos/peggy/issues/52 that will be done in follow up PRs (eg: using newly available functions, supply module, simulator, events. They will be addressed in a follow up PR)

Questions/Notes:

I see you golangci as well as some other linting tools were added. I've cut this down to just golangci and gofmt, as our golangci config includes all those other linters
I removed your invCheckPeriod stuff, deferring it to 0.37 update in next PR
I see you use https://github.com/rigelrozanski/multitool to generate the alias files? It's not really documented, but could you share the commands you use and maybe we can add the tool and instructions to the README?
Not sure contrib is a good idea, would it make sense to remove that and just use a simpler go get to install golangci? No big deal either way i suppose

ah you are actually updating to 0.37, just when you go get github.com/cosmos/cosmos-sdk@master 0.34.4 shows up in go.mod file. ignore the comment on the supply import.

Sorry mobile github slipup

fixed in latest push

@musnit mind pushing the changes to this PR so we can merge it before next week?

@fedekunze sorry for late response, was traveling to japan. have rebased all and pushed. should be good to merge!

Could you add the above linters to the Golangci.yml in the disable section

@musnit going to merge this. Could you add the changelog entry in another PR?


Don't ignore npm and yarn package lock files.

From previous discussion with @sjmiles and review of documentation:
https://docs.npmjs.com/files/package-locks
https://yarnpkg.com/lang/en/docs/yarn-lock/
These seem like files we should not have in .gitignore and should commit to the repository.

Partly addresses https://github.com/PolymerLabs/arcs/issues/728

It seems that this is the recommended approach based on those URLs, but I'm curious if we chose to not check these in for a specific reason? @sjmiles or @dstockwell do either of you know the history here?

Yeah, here's the conversation I had with @sjmiles about this a week or two ago: https://github.com/PolymerLabs/arcs-cdn/pull/176#issuecomment-362015960
I think the issue is that what will happen without having them in .gitignore is that random team eng may run npm install, and get a newer version of a package, and the lock file will be updated, and then they'll see it as dirty in their local checkout and have to know to commit.
However, in the absence of checking in the lock files, my impression from the docs is that we can't be as confident that a checkout will build out of the box, since we could pull a newer version of a module that breaks things in some manner.

Having the history for the files show a consistent record of engineers (all engineers, not just a few who're working on the build) will go a long way to answering that question for new engineers.
That answers my question, thanks!


x/tools/gopls: 'span' should support the import module path with upper-case

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

$ go version
go version go1.12 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/henrywong/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/henrywong/workspace/gopath"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fm/bk0wqlkj523gdp9pbtnyvxmm0000gn/T/go-build295263798=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Clone https://github.com/nytimes/gizmo and put gizmo under module mode,   jump to definition for gizmo/pubsub/kafka/config.go: Config *sarama.Config.

What did you expect to see?
The expected trace log for the definition jump.
[Trace - 6:58:12 PM] Received response 'textDocument/definition - (5)' in 75ms.
Params: [{"uri":"file:///Users/henrywong/workspace/gopath/pkg/mod/github.com/!shopify/sarama@v1.23.1/config.go","range":{"start":{"line":20,"character":5},"end":{"line":20,"character":11}}}]

What did you see instead?
There is %21 in the uri. %21 corresponds to "!", the exclamation mark is intended, see https://github.com/golang/go/issues/26456.
[Trace - 6:58:12 PM] Received response 'textDocument/definition - (5)' in 75ms.
Params: [{"uri":"file:///Users/henrywong/workspace/gopath/pkg/mod/github.com/%21shopify/sarama@v1.23.1/config.go","range":{"start":{"line":20,"character":5},"end":{"line":20,"character":11}}}]

vscode-go can handle this because of https://github.com/microsoft/vscode/blob/master/src/vs/base/common/uri.ts#L478. However I think it would be better convert the %21 back to ! when gopls reply the result to the clients.

Does CL 195618 fix this for you?

It works for now, thanks!


Add ARMv7 Linux builds

A user asked for ARMv7 Linux builds, this config adds only that build,
Not sure if there's a better way to check this but currently running goreleaser build on main locally builds these targets:
 • building binaries
      • building                  binary=dist/pscale_darwin_amd64/pscale
      • building                  binary=dist/pscale_darwin_arm64/pscale
      • building                  binary=dist/pscale_linux_386/pscale
      • building                  binary=dist/pscale_linux_amd64/pscale
      • building                  binary=dist/pscale_linux_arm64/pscale
      • building                  binary=dist/pscale_windows_386/pscale.exe
      • building                  binary=dist/pscale_windows_amd64/pscale.exe
      • building                  binary=dist/pscale_windows_arm64/pscale.exe

And for this branch, we add exactly one more:
      • building                  binary=dist/pscale_darwin_amd64/pscale
      • building                  binary=dist/pscale_darwin_arm64/pscale
      • building                  binary=dist/pscale_linux_386/pscale
      • building                  binary=dist/pscale_linux_amd64/pscale
      • building                  binary=dist/pscale_linux_arm64/pscale
+     • building                  binary=dist/pscale_linux_arm_7/pscale
      • building                  binary=dist/pscale_windows_386/pscale.exe
      • building                  binary=dist/pscale_windows_amd64/pscale.exe
      • building                  binary=dist/pscale_windows_arm64/pscale.exe

Followed https://goreleaser.com/customization/build/

This now adds uses the defaults for 32bit ARM and adds 2 builds, 1 each for Linux and Windows
   • building binaries
      • building                  binary=dist/pscale_darwin_amd64/pscale
      • building                  binary=dist/pscale_darwin_arm64/pscale
      • building                  binary=dist/pscale_linux_386/pscale
      • building                  binary=dist/pscale_linux_amd64/pscale
      • building                  binary=dist/pscale_linux_arm64/pscale
+     • building                  binary=dist/pscale_linux_arm_6/pscale
      • building                  binary=dist/pscale_windows_386/pscale.exe
      • building                  binary=dist/pscale_windows_amd64/pscale.exe
      • building                  binary=dist/pscale_windows_arm64/pscale.exe
+     • building                  binary=dist/pscale_windows_arm_6/pscale.exe


Best Practices in Docs

from #608
Some patterns in the docs would help newcomers.

We've already got a bit of this started here, it may be worthwhile to pick through old issues and see what we can pull out as examples.

We've got a decent start here.


[CWS] Fix signed division causing compilation errors with clang 13

What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

You need to compile system probe in order to generate the integrity check


Support parallel builds

This unwinds some complexity that was added in #48.
Where previously the only metadata that was set was docker-compose-plugin-built-image-tag-${service}, that PR added numerically indexed keys like docker-compose-plugin-built-image-tag-0 and docker-compose-plugin-built-image-count.
The idea behind that was to allow subsequent run and pull steps to pull down ALL prebuilt images, rather than those that matched the name of the service in the run and pull step.
The huge downside of the change introduced in #48 is that a) it creates a race condition if you have parallel build steps and b) generally you don't want to pull down all the images.
This PR rolls us back to the docker-compose-plugin-built-image-tag-${service} keys, and drops support for "pull down all the things". In future, we can opt-in to pulling down extra pre-builts with something like a pull directive.
This should make parallel builds work again!

a) it creates a race condition if you have parallel build steps

Could you describe this a bit further? Anything we should be worried about?

Any build steps that are in parallel will race to set docker-compose-plugin-built-image-count. Until this is merged, I'd encourage running your builds in serial.

We'll get a release out today @KevinGrandon.

@toolmantim pointed out that my description was confusing @KevinGrandon. This PR removes the race condition, as opposed to introducing one 😅

Got it, thanks! 👍

That diff 😍


Create a Preset for Backdrop CMS (the Drupal fork)

The following PR provides a preset config for Backdrop CMS.

Hello @jenlampton!
Currently nginxconfig.io handles the following (most used) PHP based systems: Symfony (+ Laravel), WordPress, Drupal, Magento.
Any other CMS / framework configuration will remain the user's responsibility.

Hi there, Backdrop CMS is a fork of Drupal and is PHP based. Does that help clarify? Thanks!


netlify dev: correctly mirror Lambda's behaviour when returning synchronously

As captured in https://github.com/netlify/functions/pull/308, there's currently a difference in behaviour between ntl dev and production behaviour for functions that respond synchronously:
export const handler = (event) => {
  return { statusCode: 200, body: "test" }
}

While ntl dev will takes this as a literal response, a deployed function will discard this return value. Since that behaviour is controlled by Lambda, we should move ntl dev's behaviour in-line.

I opened an upstream PR to lambda-local to address this: https://github.com/ashiina/lambda-local/pull/220


Feat:recovereable error functions in scope src/cli

Motivation

Solve a partial #600 in scope src/cli.

More context
If this PR look good, I will continue update for another scope like @arthurpaulino suggest in this comment
Thank you for all review and suggestions!

Hi, just to offer some directions in terms of prioritization for a first round of work (this doesn't need to be resolved on a single PR).
These are the places that contain the most important parts of the codebase, as far as I can tell:

src/cli
src/lem
src/proof

So starting on those is a better first step 👍🏼

Thank @arthurpaulino and @wwared for useful suggestions. I will check it after Lunar New Year.
Happy Year of the Dragon 🐉! 🥰🥰🥰

The current changes look good. I will wait until you set the PR as ready for review before I do another check and run the tests


RE: /integrations/pivotal-tracker

How can I integrate the same Airbrake project with two different Pivotal Tracker projects?

This seems to be a support request and is almost 2 years old.

Hi @morristhai,
Sorry for the big delay in addressing your question. This is currently not supported but if you let us know more about how you would want this to work, we could add a feature request for it.


Added support for new database backends API from Django 1.8

This probably needs probably needs proper unit test coverage. However it looked like 1.7 didn't have coverage either.

:+1:

Looks like these changes are already in the codebase. Can we close this PR?


NET 7 isolated AFv4 - OpenAPI error (QueryCollection could not be loaded) - MacOS (M2) VS 2022

I have created an AF v4 (Isolated) with OpenAPI on NET 7.  When the AF runs, the following error is generated
--- ENVIRONMENT VS2022/Mac/M2
Executed 'Functions.RenderSwaggerUI' (Failed, Id=7ed1a6bf-4909-4535-a229-595cafe4f27b, Duration=243ms)
[2023-01-23T11:11:23.647Z] System.Private.CoreLib: Exception while executing function: Functions.RenderSwaggerUI. System.Private.CoreLib: Result: Failure
[2023-01-23T11:11:23.647Z] Exception: System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)
[2023-01-23T11:11:23.647Z]  ---> System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Http.Internal.QueryCollection' from assembly 'Microsoft.AspNetCore.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
[2023-01-23T11:11:23.647Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Extensions.OpenApiHttpRequestDataExtensions.Queries(HttpRequestData req)
[2023-01-23T11:11:23.647Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.HttpRequestObject..ctor(HttpRequestData req)
[2023-01-23T11:11:23.647Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Functions.OpenApiTriggerFunction.RenderSwaggerUI(HttpRequestData req, FunctionContext ctx)
[2023-01-23T11:11:23.647Z]    at Microsoft.Azure.Functions.Worker.Extensions.OpenApi.DefaultOpenApiHttpTrigger.RenderSwaggerUI(HttpRequestData req, FunctionContext ctx)
[2023-01-23T11:11:23.648Z]    --- End of inner exception stack trace ---
[2023-01-23T11:11:23.648Z]    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-01-23T11:11:23.648Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) [2023-01-23T11:11:23.648Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32 [2023-01-23T11:11:23.649Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-01-23T11:11:23.649Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-01-23T11:11:23.649Z] --- End of stack trace from previous location ---
[2023-01-23T11:11:23.649Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-01-23T11:11:23.649Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-01-23T11:11:23.650Z] --- End of stack trace from previous location ---
[2023-01-23T11:11:23.650Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 44
[2023-01-23T11:11:23.650Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-01-23T11:11:23.652Z]    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 82
[2023-01-23T11:11:23.652Z] Stack:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
[2023-01-23T11:11:23.652Z]    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) [2023-01-23T11:11:23.652Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionInvoker2.<>c.b__6_0(Task1 t) in D:\a\_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionInvoker.cs:line 32 [2023-01-23T11:11:23.652Z]    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
[2023-01-23T11:11:23.652Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-01-23T11:11:23.652Z] --- End of stack trace from previous location ---
[2023-01-23T11:11:23.652Z]    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
[2023-01-23T11:11:23.653Z]    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[2023-01-23T11:11:23.653Z] --- End of stack trace from previous location ---
[2023-01-23T11:11:23.653Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionContext context) in D:\a_work\1\s\src\DotNetWorker.Core\Invocation\DefaultFunctionExecutor.cs:line 44
[2023-01-23T11:11:23.653Z]    at Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a_work\1\s\src\DotNetWorker.Core\OutputBindings\OutputBindingsMiddleware.cs:line 13
[2023-01-23T11:11:23.654Z]    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 82.

Isn't this the same issue as #536 ?

Yes, but I have no references to Microsoft.AspNetCore and I am not using ConfigureOpenApi().  AF created out of the box


Mldb 1344 test enh

I added various test cases. I would update the DOD to

remove manual
remove unittest.expectedFailure

+1


Introduce enum version of configuration options to ease developer usage.

By having several key configuration options captured as an enum, it's easier for developers to plug them in using their IDE's code completion options.
Resolves #55.

It looks like the most common options are DB_CLOSE_DELAY, MODE, IFEXISTS, DATABASE_TO_UPPER, DATABASE_TO_LOWER, INIT, AUTO_SERVER, FILE_LOCK, MULTI_THREADED and possibly some others.
I don't understand how the old set was constructed. It does not contain useful options, but contains some weird options like PAGE_SIZE, CACHE_TYPE, IGNORE_UNKNOWN_SETTINGS, etc. I think that the new enumeration should not copy that set as is.
I also don't think that an enumeration is a good choice for unstable things, but it's just my personal opinion.

I don't understand how the old set was constructed.

I checked the source code and the docs for supported options.
With R2DBC H2, we're always at risk that upgrading to a newer H2 version can break our implementation, therefore we need to catch up in a timely manner.

I also don't think that an enumeration is a good choice for unstable things

Why do you think these options are unstable? IMO they are documented and therefore part of the public API contract in the sense that when the value is configured, users expect that the setting gets applied.

There are no public contracts except for JDBC specification. The online documentation is valid only for the latest released version and each release also has an offline copy.
Usually we don't remove the settings from H2, but there are some exclusions. For example, MVCC, NESTED_JOINS, and STANDARD_DROP_TABLE_RESTRICT were removed recently.

I checked the source code and the docs for supported options.

Connection time only settings are here (see static {} initializer):
https://github.com/h2database/h2database/blob/master/h2/src/main/org/h2/engine/ConnectionInfo.java
Other database-specific settings usable in connection URLs are here:
https://github.com/h2database/h2database/blob/master/h2/src/main/org/h2/engine/DbSettings.java
Note that MVCC is silently ignored and NESTED_JOINS is simply disallowed.

But some of these settings are not intended for normal users. EARLY_FILTER is for Apache Ignite I guess. You shouldn't expose SCOPE_GENERATED_KEYS, it is for bug-for-bug emulation of older versions of H2 and it affects only the JDBC layer that is not used in R2DBC. NO_UPGRADE is for archaic databases. AUTH*** settings are experimental only. Some settings are only for the legacy PageStore engine (however, this engine is still used by some users of H2).

Regarding an enumeration, it provides a useful mechanism to set configuration options through the developer's IDE. Since individual options can be deprecated using Java's mechanisms, we can alway leverage that should the options change. One thing we can NOT deprecate and signal in the client's code is a bare string.

If you want better usability you should also restrict data types of values somehow. Some settings need a boolean argument, some expect a number, some use strings. As an example you can check some options from a Java, such as java.net.SocketOption with java.net.StandardSocketOptions.

Some settings need a boolean argument, some expect a number, some use strings

I also wondered whether it would make sense to encode the desired property type along with a default String to T converter. So I think it makes sense to have typing for the individual options in the sense that we keep String based configuration towards the user (R2DBC URL is a String) and then apply type conversion just right when we create the Properties object for ConnectionInfo.

I wasn’t considering generics or a validator. More of a Integer.parseInt behind the scenes of H2 cannot cope with String parameter values. Didn’t check though.


add format for QIIME 1 demultiplexed fastq

this will simplify importing data from QIIME 1.

Hi @gregcaporaso couple questions

Is this to address already demultiplexed samples?
Is there an easy way to look up the available types in a help menu.  Its not intuitive how to do this without digging into the source code atm.

It would, but now that we have the q2-demux plugin I'm not so sure that this is necessary.
No, not yet. It's planned, but we haven't got to it yet. If you're looking for a type, just ping us on Slack with a question - we'll handle it that way for now.

There isn't an automated generation of available types, but I updated the semantic types page for the 2.0.5 train release and we'll do our best to keep it updated with future releases:
http://2.qiime.org/docs/semantic-types.html

Sorry, forgot about that page!

Came up on the forum.


Fix some RBIs that actually take blocks

Motivation

Pre-work for #4061
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_J4cm2vYDACdsHs
→ https://go/builds/bui_J4cmDfj6tNxdsu

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_J5o0eLM0LxhwfQ
→ https://go/builds/bui_J5o0lPx3H4b9Lm

Why did so many signatures get Elem removed in favor of T.untyped?

The accumulator of reduce is not required to accumulate into the same type. You'll notice that for the non-block overloads, they take T.untyped. Many have tried and failed to add a proper generic type for reduce, but Sorbet's generics aren't good enough for it.


Design:Page headers have bad position on high res monitor

On a high resolution monitor the titles of the pages have a bad position. All of them are partly overlapping the blue page header. See attached images for examples.
All pages that need to be checked:

https://open-elements-de.netlify.app
https://open-elements-de.netlify.app/about/
https://open-elements-de.netlify.app/about-hendrik/
https://open-elements-de.netlify.app/contact/
https://open-elements-de.netlify.app/privacy-policy/
https://open-elements-de.netlify.app/impressum/

Currently my idea is to find a way how the background image can stay the same but extended to left and right with a simple background (horizontal color split)

Okay I will try find some way to fix this issue.

@Subtain-Farooq I have seen that the behavior is much better now. The designer provided a new header for all pages. Please have a look at the new FIGMA file: https://www.figma.com/file/uNorvr0G3GjpeUruOTOGwk/Open-elements_design?type=design&node-id=0%3A1&t=4tXyvG3BoPg17v4Z-1
Open elements_design.fig.zip
Can you please update the header.

fixed


Add config for golangci-lint

Probably should add a config to enable a few other linters.  Golangci-lint also includes gosec so dont need a separate job for that.
See:
https://medium.com/wesionary-team/introduction-to-linters-in-go-and-know-about-golangci-lint-6486fb2864b3

Can also probably cleanup the separate go fmt and go vet since golangci can check for those as well

Removed go vet  from the workflow.
Doesnt seem like fmt was copied over.

This seems to be ok now.


[SPARK-40071][BUILD] Update plugins to latest versions

What changes were proposed in this pull request?
This PR updates plugins to latest versions.
Why are the changes needed?
This brings improvment & bug fixes like the following:

1.maven-compiler-plugin(from 3.8.1 to 3.10.1)
https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.10.1
https://issues.apache.org/jira/browse/MCOMPILER-346

2.maven-jar-plugin(from 3.1.2 to 3.2.2)
https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.1.2...maven-jar-plugin-3.2.2

3.maven-javadoc-plugin(from 3.1.1 to 3.4.0)
https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.1.1...maven-javadoc-plugin-3.4.0
https://issues.apache.org/jira/browse/MJAVADOC-696

4.checkstyle(from 8.43 to 9.3)
https://checkstyle.org/releasenotes.html#Release_8.44
https://checkstyle.org/releasenotes.html#Release_8.45
https://checkstyle.org/releasenotes.html#Release_8.45.1
https://checkstyle.org/releasenotes.html#Release_9.0
https://checkstyle.org/releasenotes.html#Release_9.0.1
https://checkstyle.org/releasenotes.html#Release_9.1
https://checkstyle.org/releasenotes.html#Release_9.2
https://checkstyle.org/releasenotes.html#Release_9.2.1
https://checkstyle.org/releasenotes.html#Release_9.3
why not 10.3.2 : https://checkstyle.org/#JRE_and_JDK

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA and testing with the existing code.

Merged to master


Develop a Devfile Lifecycle management process

Which area this feature is related to?
/area documentation
Which area is this documentation change is related to?

/area registry
Issue details
Currently, we only have onboarding instructions for our registry.  We need to expand on what we have and document what it means to own and maintain a devfile throughout the course of its lifespan

What mistake did you find / what is missing in the documentation?

March 20, 2023:
Discussed details of the deprecation process in today's community call and it was suggested that we set a 1 yr time limit to remove community devfiles whereas, we can leave deprecated devfiles in the product registry indefinitely for now.  We can always adjust the timeframes as needed.

As discussed in our stand up today, we will not publish this just yet because there are dependent items in the Epic that need to be in place.   We will put this PR in waiting state and create a proposal which will link to this.

Bringing this item back in progress and handle the review & merge of the related PR

Putting item in progress status as a discussion over the proposed PR will be open

The issue is now under review as the proposed PR is ready to get more reviews from the team & the stack owners

https://github.com/devfile/registry/pull/208 is now merged. The only detail remains for the documentation is to merge the proposal PR https://github.com/devfile/api/pull/1286 too
cc @kim-tsao

cc @kim-tsao
Closing this issue as the #1286  is now merged


Exclude examples and media folders from crates

Hello, @ItsEthra, I have updated the Cargo.toml file to exclude the examples and media folders from uploading to crates.io which should reduce the size of the lib by quite a bit. Let me know what you think!

Thanks


Some emoji cannot delete once

Try this emoji: ♥ , and delete it, you will saw a black heart.
Unicode is: \u2764\ufe0f
Can pick this emoji form macOS's input method.

This is a duplicate of #1105


[ASGenerator] Improved Generate Function. fixes #1645

@Neverbirth please review this PR and merge :)


Got setTraceNotification ignoring

I use coc.nvim, I think this is due to an unimplemented LSP feature and you are almost certainly already aware about it but the issue could help track a resolution:
I get this message from times to times, I believe when I change the coc-settings.json, which may trigger send in turn some notificiation to the LSP server:
Error output from languageserver.haskell: haskell-lsp:Got setTraceNotification ignoring

@teto this one should be fixed by https://github.com/alanz/haskell-lsp/pull/171,the change is is already included in hie master.
Feel free to reopen if you continue experiencing the issue.


The property '***' cannot be found on this object. Verify that the property exists and can be set.

System Details

posh-git version/path: <IP_ADDRESS> beta2x E:\Users\Daniel\Documents\GitHub\posh-git\src
PowerShell version: 5.1.16299.492
git version 2.18.0.windows.1
OS: Microsoft Windows NT 10.0.16299.0

Issue Description
I want to use Gitlab with PowerShell, so I followed this tutorial: https://www.develves.net/blogs/asd/articles/using-git-with-powershell-on-windows-10/
My Document folder is on another drive then my profile so the environment variables doesn't link to them. Because of this I hardcoded every $Env:USERPROFILE to E:\Users"USERNAME"\Documents
All worked out until the point I had to set up a ssh-key. When I'm running the script for that (Windows PowerShell (posh-git) from the tutorial) I get the following error messages:

Is it possible that some variables changed now that were different when the tutorial was written?
This is the part of the script where these variables get changed:

Yes, the settings infrastructure changed between posh-git 0.x and 1.x to better handle Windows 10 support for ANSI ESC/VT sequences for color.  I suggest you check out the 1.x readme - https://github.com/dahlbyk/posh-git/blob/master/README.md.
You probably don't need to set those colors unless you're background is something like DarkMagenta.  Anyway, the above translates to in v1:
$s.LocalDefaultStatusSymbol.ForegroundColor = [ConsoleColor]::Green
$s.LocalWorkingStatusSymbol.ForegroundColor = [ConsoleColor]::Red

$s.BeforeIndex.ForegroundColor = [ConsoleColor]::Green

$s.IndexColor.ForegroundColor = [ConsoleColor]::Green
$s.WorkingColor.ForegroundColor = [ConsoleColor]::Red

If this doesn't resolve your issue, let me know.


kubectl doesn't use specified HTTP/HTTPS proxy if server is http://

I'm running mitmproxy locally to inspect kubectl→apiserver requests. Here's how I start the capture:
mitmproxy --listen-port 5000 --ssl-insecure

To make sure I can capture requests both for HTTP and HTTPS, I use curl:

curl -x localhost:5000 http://example.com
curl -k -x localhost:5000 https://example.com

Now, I try to use this HTTP/S proxy with kubectl.
I choose a context (a GKE cluster) with a server entry that has https://
server: https://<master-IP>/

I run:
http_proxy=:5000 https_proxy=:5000 kubectl get nodes --insecure-skip-tls-verify

and I can see the request being captured.

Now I point my kubeconfig to a cluster that has a local apiserver running on http://:
server: http://localhost:8080/

and I delete the fields like certificate-authority-data (because it's not https anymore).
I run the same kubectl command with http_proxy and https_proxy env vars (I've tried uppercase as well), and the kubectl command works.
However, when the server is http://*, the client request does not go through the configured proxy, it directly hits the localhost:8080, making it inconsistent behavior (and also hard to debug via a tool like mitmproxy).
/kind bug

FWIW: To make sure this is a http vs https issue, and not something like "mitmproxy can't capture localhost or <IP_ADDRESS>" I have tried:
curl -k -x localhost:5000 http://localhost:8080/apis

and mitmproxy captures this request:

So it makes me believe more that kubectl doesn't use proxy from environment when server is not https://.

Scratch that. It appears like Go net/http is the problem here. https://github.com/golang/net/blob/ec77196f6094c3492a8b61f2c11cf937f78992ae/http/httpproxy/proxy.go#L172-L208
It doesn't use the specified http_proxy, if hostname is a loopback IP or "localhost".
I am not sure if this can be fixed in kubectl easily (also not sure if the repo above is what's making net/http work today). But IMO this is a problem, most users won't be able to debug easily.


Running Tabula from source doesn't work

Hi @DavidUser,
Are you running JRuby? Make sure that gem and bundler are being ran by JRuby.

Closing due to inactivity.

I just follow the step-by-step installation guide on README.md.
If it doesn't work there are more steps to add on it.


How to use in websocket controller

I want to use the transform context in the websocket controller but it returns null. Kindly help

Got it already.


Jest doesn't ignore snapshots in ignored directories

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When adding a folder to testPathIgnorePatterns then jest will ignore tests in those files, but it will complain about any obsolete snapshots in those folders.
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.

Add a path to testPathIgnorePatterns
Create a snapshot file in that path
Run yarn test

A minimal repository can be found here. Running yarn test ignores the test in ignored/, but still complains about the snapshot file in that directory.
What is the expected behavior?
I expect jest to ignore snapshots in ignored folders.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest config:
{
    "testPathIgnorePatterns" : [
      "<rootDir>/ignored/"
    ]
}

Jest version: 20.0.4
Node version: 8.1.2
yarn version: 0.27.5
OS: Linux (Fedora 24)

Also since the new behavior is to fail on obsolete snapshot files, it is quite frustrating as there is nothing we can do about it!
In my case I'm using react-styleguidist with the snapguidist plugin that does output coverage files in a .snapguidist subfolder.

@TiddoLangerak I ran into this same issue, and I used the roots configuration in addition to the testPathIgnorePatterns. This lets you limit where jest looks for test files. I tested it against your repo and it solved the issue
  "jest" : {
    "roots": [
      "<rootDir>/included/"
    ],
    "testPathIgnorePatterns" : [
      "<rootDir>/ignored/"
    ]
  }

Same here, we have a folder which generates .snap for rspec snapshots and it's conflicting with jest. Nothing we can do.


npx react-native init fails

Description
I ran "npx react-native init Test"
 Downloading template
✔ Copying template
✔ Processing template
ℹ Installing dependencies
✔ CocoaPods (https://cocoapods.org/) is not installed. CocoaPods is necessary for the iOS project to run correctly. Do you want to install it? › Yes, with Homebrew
✔ Installing CocoaPods
✖ Installing CocoaPods dependencies (this may take a few minutes)
✖ Installing CocoaPods dependencies (this may take a few minutes)
error Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template.

but CocoaPods is installed:
pod --version returns 1.11.3
Version
8.0.6
Output of npx react-native info
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-native-info - Not found
npm ERR! 404
npm ERR! 404  'react-native-info@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR!      /Users/susancrayne/.npm/_logs/2022-09-02T19_18_29_413Z-debug.log
Install for [ 'react-native-info@latest' ] failed with code 1

Steps to reproduce
see Description above
Snack, code example, screenshot, or link to a repository
See Description above

Hey, can you post the output of npx react-native info again. It looks like you ran npx react-native-info instead of npx react-native info. Thanks

Thank you for your reply.  I am on vacation now without my computer.  I will be back 9/14 and will send you what you requested then.Susan
Sent from Yahoo Mail on Android
On Mon, Sep 5, 2022 at 9:55 PM, Jonathan @.***> wrote:
Hey, can you post the output of npx react-native info again. It looks like you ran npx react-native-info instead of npx react-native info. Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Can you run pod install --verbose inside the ios/ folder and post the output?

OK, will do shortly
On Friday, September 16, 2022 at 09:49:51 AM EDT, Nicola Corti @.***> wrote:
Can you run pod install --verbose inside the ios/ folder and post the output?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

npx react-native info
error Unrecognized command "info".

pod install --verbose
Traceback (most recent call last):
4: from /Users/susancrayne/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in <main>' 	3: from /Users/susancrayne/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in eval'
2: from /Users/susancrayne/.rvm/gems/ruby-2.6.3/bin/pod:23:in <main>' 	1: from /Users/susancrayne/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems.rb:303:in activate_bin_path'
/Users/susancrayne/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems.rb:284:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)

Hey, are there any insights on this?

Thank you for you reply.  Here is what happens when I try to install ruby 2.7.5:
MacBook-Pro:glurg susancrayne$ rvm install "ruby-2.7.5"
Warning, new version of rvm available '1.29.12', you are using older version '1.29.10'.
You can disable this warning with:   echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with:     echo rvm_autoupdate_flag=2 >> ~/.rvmrc
You can update manually with:        rvm get VERSION                         (e.g. 'rvm get stable')

ruby-2.7.5 - #removing src/ruby-2.7.5..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/12.0/x86_64/ruby-2.7.5.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
opencl-icd-loader

You have 27 outdated formulae and 1 outdated cask installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

==> Upgrading 2 outdated packages:
libksba 1.6.0 -> 1.6.1
zlib 1.2.12 -> 1.2.12_1
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.2.12_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/blobs/sha256:bdfd57b2672b1
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libksba/manifests/1.6.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libksba/blobs/sha256:1f6a8d0652
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Upgrading zlib
  1.2.12 -> 1.2.12_1

==> Pouring zlib--1.2.12_1.monterey.bottle.tar.gz
==> Caveats
zlib is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

For compilers to find zlib you may need to set:
  export LDFLAGS="-L/usr/local/opt/zlib/lib"
  export CPPFLAGS="-I/usr/local/opt/zlib/include"

==> Summary
🍺  /usr/local/Cellar/zlib/1.2.12_1: 12 files, 407.9KB
==> Running `brew cleanup zlib`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/zlib/1.2.12... (12 files, 407KB)
==> Upgrading libksba
  1.6.0 -> 1.6.1

==> Pouring libksba--1.6.1.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/libksba/1.6.1: 18 files, 492.2KB
==> Running `brew cleanup libksba`...
Removing: /usr/local/Cellar/libksba/1.6.0... (18 files, 488.9KB)
Removing: /Users/susancrayne/Library/Caches/Homebrew/libksba--1.6.0... (170.3KB)
==> Upgrading 1 dependent of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
mysql 8.0.30 -> 8.0.30_1
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/71.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/blobs/sha256:87617a04333c
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/manifests/21.6
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/blobs/sha256:a2896da73
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mysql/manifests/8.0.30_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mysql/blobs/sha256:084a01b67a7b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Upgrading mysql
  8.0.30 -> 8.0.30_1

==> Installing dependencies for mysql: icu4c and protobuf
==> Installing mysql dependency: icu4c
==> Pouring icu4c--71.1.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/icu4c/71.1: 262 files, 76.2MB
==> Installing mysql dependency: protobuf
==> Pouring protobuf--21.6.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/protobuf/21.6: 279 files, 19MB
==> Installing mysql
==> Pouring mysql--8.0.30_1.monterey.bottle.tar.gz
==> Caveats
We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
    mysql -uroot

To restart mysql after an upgrade:
  brew services restart mysql
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/mysql/bin/mysqld_safe --datadir=/usr/local/var/mysql
==> Summary
🍺  /usr/local/Cellar/mysql/8.0.30_1: 312 files, 296.2MB
==> Running `brew cleanup mysql`...
Removing: /usr/local/Cellar/mysql/8.0.30... (312 files, 296.2MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents to reinstall!
==> `brew cleanup` has not been run in the last 30 days, running now...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

For compilers to find zlib you may need to set:
  export LDFLAGS="-L/usr/local/opt/zlib/lib"
  export CPPFLAGS="-I/usr/local/opt/zlib/include"

==> mysql
We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
    mysql -uroot

To restart mysql after an upgrade:
  brew services restart mysql
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/mysql/bin/mysqld_safe --datadir=/usr/local/var/mysql
Updating certificates bundle<EMAIL_ADDRESS>Requirements installation successful.
Installing Ruby from source to: /Users/susancrayne/.rvm/rubies/ruby-2.7.5, this may take a while depending on your cpu(s)...
ruby-2.7.5 - #downloading ruby-2.7.5, this may take a while depending on your connection...
ruby-2.7.5 - #extracting ruby-2.7.5 to /Users/susancrayne/.rvm/src/ruby-2.7.5..|
ruby-2.7.5 - #configuring......................................................|
ruby-2.7.5 - #post-configuration.
ruby-2.7.5 - #compiling....................
Error running '__rvm_make -j8',
please read /Users/susancrayne/.rvm/log/1663763386_ruby-2.7.5/make.log

There has been an error while running make. Halting the installation.

BTW my react-native version is 0.66.2

Thank you for you reply. Here is what happens when I try to install ruby 2.7.5:

I don't know what's going on with your setup and we can't offer support for every specific configuration sadly. This seems like an issue specific to your setup.
Error running '__rvm_make -j8',
please read /Users/susancrayne/.rvm/log/1663763386_ruby-2.7.5/make.log

Have you tried googling for this error?
A simple Github Search brings this up: https://github.com/rvm/rvm/issues/5202

Have you tried googling for this error?

Closing as I received no further responses


https://hexdocs.pm/docs leads to Page Not Found

In the readme file, there's a link to https://hexdocs.pm/docs which leads to a Page Not Found page.

Hey there, thanks for the issue! I couldn't find the exact link you're talking about, but I went through and updated all the docs links anyway so hopefully that's sorted now :) Let me know if anything is still missing!


Please remove unnecessary dependency that causes troubles

This removes the need to force replace go-sdk using
replace github.com/blend/go-sdk => github.com/blend/go-sdk v1.20210104.2
in some environments

Thanks, not sure how that dependency got in there...

I know, it keeps creeping in, and go mod why keeps saying we don't need it


Wiki is missing reference for simple Provider

I cannot access the component value without a provider, whatever that might be. The Wiki just says "anything will work, as long as a module allows it!" which tempted me to use the player entity as the provider, which threw a runtime exception.
So now I will go through the "Advanced" Section of the Wiki and build my own provider somehow, but surely there is an easy way? A ready-to-use implementation, maybe? Didn't found anything in the base, utils or block jar :(

I just found the SimpleComponentProvider I couldn't find before, so it's in the code, but the wiki is still missing a reference.

And now I need a ComponentContainer. Great. I shifted the problem...

Ah, SimpleComponentProvider is in a package marked for removal

But ComponentProvider has from methods. This should REALLY be mentioned in the Wiki.

I believe you forgot to add the entity module, may I see your build.gradle file ?

I got the code to work, I am suggesting an improvement in the wiki. On this page at the bottom the code example is only
public static void useMagik(Entity provider) { // anything will work, as long as a module allows it!     // Retrieve a provided component     int magik = MAGIK.get(provider).getValue();     // Or, if the object is not guaranteed to provide that component:     int magik = MAGIK.maybeGet(provider).map(IntComponent::getValue).orElse(0);     // ... }
but no examples of how to create such "anything" provider is created. I suggest to add an example, because it took me a lot of time to figure it out and I have some years of programming experience.
I personally use
ComponentProvider provider = ComponentProvider.fromWorld(world);

Alright, added a note to the relevant page. I believe what you're doing is a bit unnecessary though, KEY.get(world) should work fine.


Build failed. Please check the logs above to see what went wrong.

My PC:
http://pastebin.com/q7HGfYti
All I did is:
sudo apt-get install build-essential texinfo flex bison
than check packages, seems all needed already installed
chown +x Setup.sh from src/Build/ and run with sudo
some last lines from my terminal:
AtomOS/src/Build/Temp/newlib-1.19.0/newlib/doc/makedoc.c:1349:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
isp[0] = *(int *)(isp[0]);
^
i386-atomos-ar: creating libnosys.a
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
./Setup.sh: line 178: nasm: command not found
Build failed. Please check the logs above to see what went wrong.
Setup.log download:
http://www.mediafire.com/file/8dte5x3ohzw56n4/Setup.log

./Setup.sh: line 178: nasm: command not found

Please install all the dependencies
execute:
sudo apt-get install nasm

Thank you!
but now I see some new issue:
$  sudo ./Setup.sh
Fetching Tarballs...
automake-1.12.tar.gz...SKIPPED
autoconf-2.65.tar.gz...SKIPPED
binutils-2.26.tar.gz...SKIPPED
gcc-5.3.0.tar.gz...SKIPPED
newlib-1.19.0.tar.gz...SKIPPED
~/AtomOS/src/Build
~/AtomOS/src/Build
~/AtomOS/src/Build
Building Stuffs...
~/AtomOS/src/Build
and without sudo the same thing

Because setup was interrupted in between. It might be possible that some conflicts are made.
delete newlib directory from Bin folder. and execute ./Setup.sh --newlib

I delete and execute, than it says:
AtomOS/src/Build/Temp/newlib-1.19.0/newlib/doc/makedoc.c:1349:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
isp[0] = *(int *)(isp[0]);
^
i386-atomos-ar: creating libnosys.a
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
Compiling gcc again
configure: WARNING: decimal float is not supported for this target, ignored
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
~/AtomOS/src/Build

Yes, this is expected behavior. Let it run completely

$  sudo ./Setup.sh
Fetching Tarballs...
automake-1.12.tar.gz...SKIPPED
autoconf-2.65.tar.gz...SKIPPED
binutils-2.26.tar.gz...SKIPPED
gcc-5.3.0.tar.gz...SKIPPED
newlib-1.19.0.tar.gz...SKIPPED
~/AtomOS/src/Build
~/AtomOS/src/Build
~/AtomOS/src/Build
Building Stuffs...
~/AtomOS/src/Build
and that's all

$ sudo ./Setup.sh

It should be sudo ./Setup.sh --newlib

Sorry for my mistake. I do and have long output. Last strings are:
AtomOS/src/Build/Temp/newlib-1.19.0/newlib/doc/makedoc.c:1349:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
isp[0] = *(int *)(isp[0]);
^
i386-atomos-ar: creating libnosys.a
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
Compiling gcc again
~/AtomOS/src/Build/Bin ~/AtomOS/src/Build
~/AtomOS/src/Build
seems we already have such output

Did it exit without any error?

Only warnings, none of error

Great. It is completed then. Follow with further build process

Thank you again. I've builded libraries.
nasm, genisoimage were already installed, but next step I just do not know how to do.
what exactly shoul I do to "Build Atomix.Kernel_H and Atomixilc Projects"?
or I just should "Build.sh --mono"?
P.S. fust for your information, I should also notice that "Execute Build-cairo.sh" took more time that other steps.

what exactly shoul I do to "Build Atomix.Kernel_H and Atomixilc Projects"?

Execute xbuild /p:Configuration=Release ./src/Atomix.sln
And then execute Build.sh --mono

"Execute xbuild /p:Configuration=Release ./src/Atomix.sln"
that step was finished without an error, only warnings about unused fields.
next step "Build.sh --mono" bring too much output. there were red strings:
"System.Exception: UnImplemented 'Blt_Un'
at Atomixilc.IL.Blt_Un_il.Execute (Atomixilc.Options Config, Atomixilc.IL.OpCodeType xOp, System.Reflection.MethodBase method, Atomixilc.Optimizer Optimizer) <0x41061070 + 0x00543> in :0
at Atomixilc.Compiler.ProcessMethod (System.Reflection.MethodBase method, Atomixilc.FunctionalBlock& block) <0x41052500 + 0x00e9b> in :0
at Atomixilc.Compiler.ScanMethod (System.Reflection.MethodBase method) <0x4104d450 + 0x00207> in :0
at Atomixilc.Compiler.Execute () <0x41049f80 + 0x002c3> in :0
at Atomixilc.Program.Main (System.String[] args) <0x4103ed50 + 0x0009f> in :0"
and folder Output consist only Kernel.asm file
Is it right?

Could you remove Apps folder from Bin directory. And re-run Build.sh --mono

Done.
red strings:
"System.Exception: UnImplemented 'Blt_Un'
at Atomixilc.IL.Blt_Un_il.Execute (Atomixilc.Options Config, Atomixilc.IL.OpCodeType xOp, System.Reflection.MethodBase method, Atomixilc.Optimizer Optimizer) <0x400bd070 + 0x00543> in :0
at Atomixilc.Compiler.ProcessMethod (System.Reflection.MethodBase method, Atomixilc.FunctionalBlock& block) <0x400ae500 + 0x00e9b> in :0
at Atomixilc.Compiler.ScanMethod (System.Reflection.MethodBase method) <0x400a9450 + 0x00207> in :0
at Atomixilc.Compiler.Execute () <0x400a5f80 + 0x002c3> in :0
at Atomixilc.Program.Main (System.String[] args) <0x4009ad50 + 0x0009f> in :0"

That is not an expected output. Could you send me your Kernel.asm file?

http://www.mediafire.com/file/sxsji9y45hooxxo/Kernel.asm
done

Could you join me on IRC? #atomos @ freenote.net

"System.Exception: UnImplemented 'Blt_Un'

This problem has been reported on Mono <IP_ADDRESS>. Seems like something is wrong with that release. Added Mono JIT compiler version 4.8.0 as Build requirement.


eclairs, affectioned

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,e]

/trunk merge


REFACT: Clean up variables.py file

As title says.
Related to #4552

Codecov Report
Attention: Patch coverage is 7.14286% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 34.39%. Comparing base (2eb1acd) to head (03b385f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4554       +/-   ##
===========================================
- Coverage   81.51%   34.39%   -47.13%
===========================================
  Files         110      110
  Lines       53745    53757       +12
===========================================
- Hits        43811    18489    -25322
- Misses       9934    35268    +25334


numpy version

if you install numpy 1.14.5
rasa-core 0.11.4 has requirement numpy~=1.15, but you'll have numpy 1.14.5 which is incompatible.

if you install numpy 1.15
tensorflow 1.10.1 has requirement numpy<=1.14.5,>=1.13.3, but you'll have numpy 1.15.1 which is incompatible.

This is caused by latest rasa core. closed


Background Location in iOS

It looks like Exponent.Permissions.askAsync(Permissions.LOCATION) only asks for user location while using the app. To obtain location data while the app is backgrounded we need to set the NSLocationAlwaysUsageDescription key in Info.plist. I looked in exp.json but couldn't find anything. Is this a supported feature?

Background geolocation is a lot more complex than just enabling this option, unfortunately. We are planning on building it but don't have an ETA.
If you just use React Native (without Exponent), you can use this for iOS: https://github.com/transistorsoft/react-native-background-geolocation -- the Android version of it is costs $300 per app, though (hey if it saves you that much time maybe it's worth it!). We'll be building something similar to this for Exponent.

I've only tested this in the simulator, but if I create a new React Native project like so:
$ react-native init geolocation_test

And then change index.ios.js to the following: https://gist.github.com/bbar/f058cfb7d82cd9b465d2c82fac3d9046
The location will be logged in the console while the app is in use. If it's backgrounded, however, then it stops. But if I modify Info.plist in the following way, location seems to work fine while the app is backgrounded:
Remove the default NSLocationWhenInUseUsageDescription key and add NSLocationAlwaysUsageDescription instead. It will work like this, but I've also added the key, UIBackgroundModes, which is an array. I've set Item 0 to type string and value to location.
I haven't messed with this on the Android side at all, and I know your goal with Exponent is to incorporate both platforms, which I think is great, but am I missing something on the iOS side? I assume battery life is a concern, as it is with me.

The App Store policies are also a concern, each app that uses NSLocationAlwaysUsageDescription must explain in the app description how/why the app uses your background location and must include a disclaimer that it hurts battery life. We don't yet have a way for different developers to specify that info when Exponent builds IPAs for them, we support just the common case.

Alright, cool -- thanks for the responses, guys. I think we can close this issue. Background location is definitely a fringe case use, but unfortunately I'm writing a fleet management app so without it, I'm dead in the water using Exponent. I'll definitely give it a shot again with my next project. Keep up the great work!

Hey all, curious if there's any movement on this for android or if there's anything on the roadmap?

We haven't started working on it yet. For now you can detach and use ExpoKit if you need it.

Gotcha. Thanks @jesseruder.

Is there still no rough ETA on this? Glad to see its on canny though.

this is a big project, we're currently working on building infrastructure into the expo client to support background tasks in general, and then we will build apis like background geolocation on top of that. we don't have an ETA

@brentvatne thanks for the prompt reply


Reject promise on invalid seek

Context
When an invalid seek is provided, simple-thumbnail does not throw an error; it fails silently
Objective

Ensure an error is thrown if ffmpeg fails to encode the medium

References

Issue: https://github.com/ScottyFillups/simple-thumbnail/issues/56

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update README.md - duplicated data

Pull Request (PR) description
Just checking out this resource for the first time and for some reason a number of resource descriptors are duplicated in README.md.
This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based
help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

Great! good catch! 🙂


bundle error during metasploit install

――― ERROR REPORT TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――

What did you do?
followed metasploit install http://hackerforhire.com.au/installing-metasploit-framework-on-os-x-yosemite/

Error details
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/usr/local/opt/ruby21/bin/ruby extconf.rb

/Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in initialize': Permission denied @ rb_sysopen - /usr/local/Cellar/ruby21/2.1.5/bin/rdoc (Errno::EACCES) 	from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in open'
from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in block in try_to_fix_binstubs' 	from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:69:in map'
from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:69:in try_to_fix_binstubs' 	from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:46:in block in execute_no_wrapper'
from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:44:in each' 	from /Users/chadbernick/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:44:in execute_no_wrapper'
from extconf.rb:19:in `'
bundler 1.9.2
bundler 1.7.6
cucumber 1.2.1
diff-lcs 1.2.5
erubis 2.7.0
executable-hooks 1.3.2
rack 1.4.5
rake 10.4.2
rake 10.1.0
rdoc 4.1.0
extconf failed, exit code 1
Gem files will remain installed in<EMAIL_ADDRESS>for inspection.
Results logged to<EMAIL_ADDRESS>/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/tempfile.rb:324:in `open'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:17:in `build'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `chdir'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `block in build_extension'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `build_extension'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `each'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `build_extensions'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:1436:in `block in build_extensions'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/user_interaction.rb:45:in `use_ui'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:1434:in `build_extensions'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/stub_specification.rb:60:in `build_extensions'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:924:in `each'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find_inactive_by_path'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems.rb:185:in `try_activate'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendor/net/http/persistent.rb:12:in `<top (required)>'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendored_persistent.rb:11:in `<top (required)>'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Cellar/ruby21/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/fetcher.rb:1:in `<top (required)>'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/cli/install.rb:72:in `run'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/cli.rb:157:in `install'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/cli.rb:10:in `start'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/bin/bundle:20:in `block in <top (required)>'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/gems/bundler-1.9.2/bin/bundle:18:in `<top (required)>'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/bin/bundle:23:in `load'
/Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework/bin/bundle:23:in `<main>'

Environment
Bundler   1.9.2
Rubygems  2.2.2
Ruby      2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
GEM_HOME  /Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework
GEM_PATH  /Users/chadbernick/.rvm/gems/ruby-2.1.5@metasploit-framework:/Users/chadbernick/.rvm/gems/ruby-2.1.5@global
RVM       1.26.11 (latest)
Git       2.3.4
rubygems-bundler (1.4.4)

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Does not appear to be an issue with bundler
it looks like you have a ruby install from both brew and rvm.  Just use one.  start by brew uninstall ruby ing and then trying again.  that guide assumed you aren't using RVM.  for the record, using RVM is fine... this guide just assumes you aren't
it would be useful if you could tell us the output of the following two commands
which -a ruby and which -a bundler

Sorry for disappearing on this.
I had to move our Corp HQ and got buried under 600 unread emails.
Here’s the output of the commands.
brew uninstall ruby ing
osdoom:~ chadbernick$ brew uninstall ruby ing
Error: No such keg: /usr/local/Cellar/ruby
osdoom:~ chadbernick$ which -a ruby and which -a bundler
/Users/chadbernick/.rvm/rubies/ruby-2.1.5/bin/ruby
/usr/local/bin/ruby
/usr/local/bin/ruby
/usr/bin/ruby
/usr/bin/which
/Users/chadbernick/.rvm/gems/ruby-2.1.5@global/bin/bundler
/Users/chadbernick/.rvm/rubies/ruby-2.1.5/bin/bundler
Chad

On Apr 20, 2015, at 6:00 PM, Christopher Lubaway<EMAIL_ADDRESS>wrote:
Does not appear to be an issue with bundler
it looks like you have a ruby install from both brew and rvm. Just use one. start by brew uninstall ruby ing and then trying again. that guide assumed you aren't using RVM. for the record, using RVM is fine... this guide just assumes you aren't
it would be useful if you could tell us the output of the following two commands
which -a ruby and which -a bundler
—
Reply to this email directly or view it on GitHub https://github.com/bundler/bundler/issues/3538#issuecomment-94587922.

Try running brew doctor
This error is a clue: Permission denied @ rb_sysopen - /usr/local/Cellar/ruby21/2.1.5/bin/rdoc
Normally /usr/local/Cellar should be writable by the current normal user (as running sudo for brew is not ideal).

Thanks, I got it sorted.
On Nov 24, 2015 9:32 PM, "Nigel Sheridan-Smith"<EMAIL_ADDRESS>wrote:

Try running brew doctor
This error is a clue: Permission denied @ rb_sysopen -
/usr/local/Cellar/ruby21/2.1.5/bin/rdoc
Normally /usr/local/Cellar should be writable by the current normal user
(as running sudo for brew is not ideal).
—
Reply to this email directly or view it on GitHub
https://github.com/bundler/bundler/issues/3538#issuecomment-159478292.


Chat history poofs when TB gets auto disabled such as inside guild hall

Any chat that occurs while inside of my guild hall gets wiped from existence whenever I zone out back into an area where toolbox re-enables.

4min gap in screenshot, even though my alliance was being some chatty Kathy's and I was discussing further with the person I was trading.

Disable chat log module until it’s fixed


ERROR: argument --collection-priority: expected one argument

https://github.com/Azure-Samples/private-aks-cluster-terraform-devops/blob/38e586f1f4d706be93ff9ad868a51f350f437d34/pipelines/cd-test-web-app.yml#L461
--collection-priority has no value and it crashes the pipeline

hello, i just want to ask if you resolve this issue and if this sample code - private-aks-cluster-terraform-devops worked for you?  thanks!

Hi @goodwoodrevival Unfortunately I did not fixed firewall issue yet. Storage account, Key Vault, AKS ado agent bastion all working as expected. But firewall for ingress is still not working.

az network firewall policy rule-collection-group collection add-filter-collection \
  --name $(dnatRuleCollectionName) \
  --policy-name $(firewallPolicyName) \
  --rule-collection-group-name $(ruleCollectionGroupName) \
  --resource-group $(resourceGroupName) \
  --action Allow \
  --rule-type NatRule \
  --collection-priority 100 1>/dev/null


Cookie not removed in production

Using a Next.js api route, the cookie doesn't get removed in production. The api route is simple:
import { withIronSessionApiRoute } from 'iron-session/next';
import { ironSessionConfig } from '@lib/config';

async function logoutRoute(req, res) {
  req.session.destroy();
  res.json({ isLoggedIn: false });
}

export default withIronSessionApiRoute(logoutRoute, ironSessionConfig);

When running in production, req.session is an empty object after calling destroy but the cookie is never removed.

This seems weird as we already have a test running against this: https://github.com/vvo/iron-session/blob/27c5dbe09e4e8777c28bde1c574ffc49c9541446/next/index.test.ts#L103-L109
And according to the spec, a zero or negative Max-Age should expire the cookie immediately.

Yeah - I logged out res.getHeader('set-cookie') and it's showing Max-Age=0, so it seems like something else is going on. Does destroy need await or is it possible there's something happening that stopping the headers from being sent?

Nah, await isn't required. Can you inspect the response headers in your browser's dev tools (network tab) and see if it is receiving headers properly?

No it doesn't appear to be.
Here it is in develop:

And here it is deployed to Vercel on a preview branch:

Any ideas about what could be causing this discrepancy?

@brc-dd figured it out - changing to a POST request fixes it, probably due to Vercel caching. Staring at those 2 screenshots helped! Thanks for the assistance.


Add AWS Console extension

Description
Add AWS Console extension.  The extension lets you easily launch AWS console links directly from Raycast.
Type of change

New extension

Screencast
https://user-images.githubusercontent.com/893162/144675374-82e010f7-ff4d-4b6b-b949-8a627fb77519.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing

Hi @Hodglim 👋
A smart way to open AWS services is not a bad idea, could it be an idea to somehow merge it into #316 (https://www.raycast.com/Falcon/aws) to have one extension — what do you think?

Hey @pernielsentikaer !
Definitely not against the idea and it would certainly be less confusing if there was just the one AWS extension in the store.
I will see what I can do.

What do you think @victor-falcon - sounds like fine idea?

Yes, of course! 👌

Hi @pernielsentikaer, I have now merged my extension functionality with @victor-falcon's extension.
Please can you both check and make sure you are happy and this is what you had in mind?
Thanks!

In my opinion the subtitle of all commands should be "Amazon AWS" so that you can see which App is behind the command. What do you think @pernielsentikaer? 😃

You are correct @victor-falcon, that does seem to be the standard from looking at a few other extensions. 🤔
Personally I find having a whole list of commands with identical subtitles not particularly useful and prefer a bit more info on what each command does however to keep in line with other extensions I think you are right.
I know each command does also have a description property in package.json, however I don't think this is displayed in the UI?


chore: release 1.1.2

:robot: I have created a release *beep* *boop*
1.1.2 (2019-06-26)
Bug Fixes

docs: link to reference docs section on googleapis.dev (#51) (8976320)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-datalabeling/releases/tag/v1.1.2

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Increase Operation external_id length

Increase Operation external_id length
Motivation
Some brokers returns operation strings longer than 100 symbols (the current cap). Also OSB spec states that 10 000 characters should be the max: https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#body-4
Approach
Migrations added.
Pull Request status

[x] Initial implementation

Coverage remained the same at 87.766% when pulling dc46ef191964bef7b7d5eea527ebe39060755ab4 on increase-op-ext-id-length into 22c55e2b9465a3251091a40191fb70e244d538ca on master.