chore: standardizes labels

This PR attempts to standardize our use of labels to a set of well known labels taken from Kubernetes and Helm. All components will have the following common labels:
app.kubernetes.io/instance=<RELEASE NAME>
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=<CHART NAME>
app.kubernetes.io/version=<APP VERSION>
helm.sh/chart=zeebe-cluster-<CHART VERSION>

Additionally, the gateway and the broker will have an app.kubernetes.io/component=<broker|gateway> labels, which is applied to all resources pertaining to either.
The PR also standardizes the names of the ConfigMap and the ServiceMonitor by using the pre-generated zeebe-cluster.fullname template which ensures that the given name is compliant with Kubernetes rules about names, and uses a combination of the chart and release name (but can be overriden with .Values.fullnameOverride).
I based this off Helm docs and different charts, let me know what you guys think - I think in some aspect this could be considered a breaking change as well, so happy to discuss this.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign npepinpe
You can assign the PR to them by writing /assign @npepinpe in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

One breaking change here is that the app label on the gateway will now be different; but I'm not sure this is a good idea. I didn't change the service monitor selector to avoid breaking that, so maybe it makes no sense :sweat_smile:
I think going forward a better set up is to use the well known labels (https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/), and use the app.kubernetes.io/name label for the service monitor as well and drop the custom app label, but idk how we want to deal with breaking changes here.
Let me know what you guys think

I mean the service monitor is just for zeebe right? If you change the labels in a way that both still works then I see no breaking change. I mean if they update this will still work and apply the new labels?

I don't know, I could imagine people piggy backing off of the service monitor - but I also don't know how likely that is. Yeah we could drop the app label and use the well known ones only and it will all still work, but maybe someone was still using the app label? That was my concern, but it's purely theoretical :tongue

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Zelldon
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Zelldon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

This ends up putting labels with version numbers in them in the Deployment's selector.matchLabels field, as well as in the StatefulSet labels. Both of these are immutable, you cannot change them without recreating the resources entirely, at least in Kube 1.16 (what I'm using). This means that going forward, every time a new helm chart version is released, or a new version of Zeebe is used, you have to create an entirely new cluster instead of changing the existing one. Is this intentional behavior?
Errors I get when trying to update my helm chart to 0.0.128:
(on the gateway Deployment)
 MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

StatefulSet.apps "my-zeebe" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden

From my point of view no, not at all the intended behavior. I completely oversaw this, you're right, and we should ensure labels are immutable.

@salaboy should be sufficient to just remove the labels from the template I think

@pinkertonpg see https://github.com/zeebe-io/zeebe-cluster-helm/pull/88


Show auction entry and exit conditions

Somewhere obvious in Console 2 (maybe header), Show:

Why is this market in auction
Why/When did it go into auction
What are the conditions for it exiting
explanation of auction on vega (link to docs)

note: this was created after https://github.com/vegaprotocol/frontend-monorepo/issues/656#issuecomment-1172211912

possibly link to https://github.com/vegaprotocol/frontend-monorepo/issues/491 when there is a liquidity auction

Added designs here:
https://www.figma.com/file/K49Nx7XfocShhHcwwQzQkm/Console-V2?node-id=2634%3A33560

@candida-d please review/revise the trading mode descriptions.
I was hoping we could explain Price monitoring auctions with some trigger explanation like 'the price dropped more than 5% in 1 minute', but my understanding from the price monitoring docs is that the best we could say is "matching orders were found outside the price range that would be expected 95% of the time based on the last 2 hours' trading". Not sure that is clear/helpful enough to warrant showing?

That said… it looks like we can get the high/low from a given interval so I think we could work out the amount it's changed in that period and show that?
markets {
    candles(since:"2022-08-03T16:00:00.999999999Z", interval:I1M) {
     high,
     low
}

Then work out the percentage swing from ( (highest high - lowest low ) / lowest low ) * 100
And show 'The price moved more than X% in Y minutes'.
I think? Perhaps one for a later iteration though…

@PeteWilliams @candida-d I wonder if "indicative" is better than "estimated" in the uncrossing price and volume?. The spec uses "indicative".


Add caching for test suite

If somebody is interested, please leave a note so I can assign you.

sure, can you provide more info on the issue?

Thanks for the offer!
I didn't think much about it when I opened the issue but I've seen this somewhere and thought it might make sense for rustic. We can add a cache for the directories where the dependencies are stored like rust stuff and emacs packages https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows


[Feature] Add voice command Feature to search Bar

Description
I will Add voice command Feature to search Bar to search calculators based on voice input.
Kindly assign this issue to me under IWOC2024.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Go ahead @Prince-kushwaha-2004


Documentation of field property DataClassification is missing

See title

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

ID: 79016d40-4bc6-49b0-4275-9641cf17071e
Version Independent ID: 79016d40-4bc6-49b0-4275-9641cf17071e
Content: Table, Table Fields, and Table Extension Properties - Business Central
Content Source: dev-itpro/developer/properties/devenv-table-property-overview.md
Service: dynamics-365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Any update regarding missing DataClassification documentation?
It's been reporting as missing multiple times since August last year, and yet it is still missing. Or is it decommissioned completely and we should not use this property at all?


Ability to run this API against any Core instance?

Currently, it appears that when you use this package, it spins up its own Core instance and hooks into that to give you access to GraphQL queries for that specific instance. Is there a way to leverage that GraphQL query layer with any Core instance? That would be much more desirable to me. For example, I've got several Core containers running on my machine related to various projects. I'd love to leverage the GraphQL query layer as an independent service that I can use with any of those instances as needed.

Thx for this feedback and thx for pointing this out.
The idea behind this solution is that you can actually connect to any existing engine, regardless whether it is:

Qlik Core
Qlik Sense Enterprise
Qlik Sense Multi Cloud

Basically you just need the docker-image stefanwalther/qix-graphql (https://hub.docker.com/r/stefanwalther/qix-graphql/) and this already works right now (without considering the various security configurations).
But this needs to be clarified in the documentation, spinning up an engine for the examples is really just the demo using this, that's not a real world scenario, in real world I expect that qix-graphql will be attached to an existing environment so provide a common development interface, regardless whether it is front- or backend development.
Makes sense?

Have a look at the (radically) changed README ... does this help?

Ping @skokenes ^

Hey, thanks for updating. It is better but I still struggled at a few places:

Because the sample code uses the -d parameter, theres no way for me to really kill all the processes without manually removing all the containers that are created. Some sort of centralized, easy command to take down the whole thing would be nice? But maybe I'm missing the point, if its just an example GraphQL server and QIX integration, then maybe thats ok.

I couldn't quickly figure out how to use the Configuration variables defined to have the example point at my own Core instance. I tried
QIX_ENGINE_VER=12.171.0 QIX_ACCEPT_EULA=yes QIX_HOST=localhost QIX_PORT=19076  docker-compose up -d
with no luck

I couldn't quickly figure out how to use the Configuration variables defined to have the example point at my own Core instance.

Yes, that will not work, in the docker-compose.yml I am setting the environment variables, and not re-using it, the easiest way is probably just creating a copy of https://github.com/stefanwalther/qix-graphql/blob/master/docker-compose.yml, pointing that to your environment variables
version: '3.3'
services:

 qix-graphql:
    container_name: qix-graphql
    image: "stefanwalther/qix-graphql:latest@sha256:f5a4d89ff5e56a43b039ba7a127d40ba7c64101232ace266d8f50a5484f7d414"
    ports:
      - "3004:3004"
    environment:
      - QIX_HOST= localhost             ##  <== I have changed this
      - QIX_PORT= 19076                  ## <== I have changed this, too
      - HOST=localhost
      - PORT=3004
    command: ["npm", "run", "start"]
#    depends_on:
#     - qix
#      - sense-docs

Then do a docker-compose up
So to explain:

I have removed qix, sense-docs from the original docker-compose.yml file as you already seem to have it
The settings (QIX_HOST & QIX_PORT) are changed in the copy of docker-compose.yml

But probably you create a new compose file, using all your existing services + qix-graphql and combine it ... happy to help.

@skokenes I am closing this, feel free to re-open or create another issues if the problems still remain.


Collision Shape was Disabeled

It totally was just that the collision shape was disabled, but because we made the enemy local to the level scene, the changes we made to the enemy scene didn't propagate. Deleting the enemy and re-importing it as a reference to the scene fixes the issue.
Now you just have to figure out why it's flying lol.

Thank You!


Add NFT1 tests for token type allowance

WRT this test: When the input is an SLP-invalid BCH-only tx, the GENESIS tx should be SLP-invalid since not token type 1.
Need to add a couple of tests showing allowance of NFT1 parent/child types.

This is handled by tests:

When the first input is an SLP-valid token type 1 GENESIS tx w/ 2 output, the NFT1 child GENESIS tx w/ qty=1 should be SLP-invalid because of wrong parent type.

When the first input is an SLP-valid NFT1 parent GENESIS tx w/ 0 output, the NFT1 child GENESIS tx w/ qty=1 should be SLP-invalid.

When given two SLP-valid type 0x01 inputs, the SEND should be SLP-invalid since token version/type changed to NFT1 child type (having fake child NFT1 GENESIS txid)

When given two SLP-valid type 0x01 inputs, the SEND should be SLP-invalid since token version/type changed to NFT1 child type (having a valid child NFT1 GENESIS txid)

When given two SLP-valid type 0x01 inputs, the SEND should be SLP-invalid since token version/type changed to NFT1 parent type (having fake child GENESIS txid)


Opinion on data fetch script getdata.py

Hi Team,
As of now the getdata.py script takes two arguments the url and the target filename along the path. If the target file path is invalid it raises an exception.
Please let me know if this is okay or you want the script to create the file path in case if the target path is invalid?

Hi Deb,
As we have talked during our meetings, let's keep this script the same as you did. I am going to close this issue now.


rpc messages larger than the limit silently fail

Godot version
3.3 hash 5e92619a64696e948326ab38936f7036f41d5bfa
System information
MacOS 11.6
Issue description
When I do rpc("method", big_object) and big_object is larger than my RPC size limits, it fails silently - no error or warnings are displayed.
It'd be nice if the server printed or warned somehow. Honestly, it was pretty hard for me to even find the settings that I needed to adjust, so specific instructions would be really useful. The way I would suggest to improve this is with a warning like this:
RPC to "method" failed: big_object is 100kb which is greater than the limit (64kb). To allow larger limits, adjust network/limits/websocket_server/max_out_buffer_kb in your Project settings."
Steps to reproduce

Create a new project
Paste this code as a script for any node in the project
Notice if you adjust 64000 to 1, the RPC works.

extends Node2D

func _ready():
  var peer: WebSocketMultiplayerPeer

  var is_server = OS.has_feature("Server") or "--server" in OS.get_cmdline_args()

  print("Running as %s" % ("server" if is_server else "client"))

  if is_server:
    peer = WebSocketServer.new()
    peer.listen(4321, [], true)
  else:
    peer = WebSocketClient.new()
    peer.connect_to_url('ws://localhost:4321', [], true, [])

  if peer == null:
    OS.exit_code = 1
    get_tree().quit()

  get_tree().connect("network_peer_connected", self, "_player_connected")
  get_tree().network_peer = peer

func _player_connected(id):
  var bigarray = []
  bigarray.resize(64000) # Adjust this to 1 and the rpc works

  rpc_id(id, "register_player", bigarray)

remote func register_player(info):
  print("Rpc received", info)

Minimal reproduction project
No response

(Also, obligatory fluff comment that I love Godot, it's pretty much the best thing ever. :-))


Improve permission check of packages

If org users have write permission of other units, but have no permission of packages, they can also get write permission of packages.

please add tests to cover that cases :)

If org users have write permission of other units, but have no permission of packages, they can also get write permission of packages.

So this is the problem you want to fix, not the thing you want to do, right? It confused me for a minute. 😂

I will add tests for this later.

I was unable to create a backport for 1.19. @yp05327, please send one manually. :tea:

This change break access to packages for team members with Administrator Access Permission

This change break access to packages for team members with Administrator Access Permission. After i changed to General Access with all write perms and change back to Administrator Access, packages stays available. Looks like stale permissions in db or somewhere else.

There is a same problem here: https://github.com/go-gitea/gitea/pull/23675
It will be fixed in #24012

We lock pull requests 3 months after they were closed. If there's any need for further discussion, please open a new issue. :tea:


Streaming HTTP requests & awaiting promises

Rather unsure on where to post this because it involves streams, async/await, the event loop and http libraries, so don't hesitate to tell me to move it somewhere else.
Currently, I'm trying to pass on a readable stream from a server request to a HTTP client. However, whenever you call await before passing on the stream*, the stream receives data in the event loop and is closed before the HTTP client is able to make a request, eventually raising an exception as the HTTP client's timeout has been reached.
*I need to do some - eventually cached - async I/O in a middleware.
$server = new HttpServer(
  new StreamingRequestMiddleware,
  async(function (ServerRequestInterface $request) {
      try {
          $body = $request->getBody();
          assert($body instanceof ReadableStreamInterface);

          await(\React\Promise\Timer\sleep(1));

          $browser = new Browser;

          // $body->closed === true
          await($browser->put(
            'http://httpstat.us/200',
            ['Content-Length' => $body->getSize()],
            $body
          ));

          fwrite(STDOUT, 'done');
          $response = new Response(200);
      } catch (Exception $e) {
          fwrite(STDERR, $e->getMessage());
          $response = new Response(500);
      }

      return $response;
  }));

Versions used: react/async:4.x-dev and react/http:1.6.0.
Is this a bug or just not possible in the current design of the libraries? Is there a workaround for this?

Hey @bartvanhoutte
There could be two reasons for that:

Your incoming stream could be empty and closes immediately, because there is nothing to do.
Your incoming stream receives data, you sleep for one second and at the same time your stream already received all data and closes, which leads to loosing all data.

You could try to buffer everything and see if you receive data as a first step to see where the problem is and then work your way up to fixing it.
I hope this helps!

Hi @SimonFrings
what happens is what you describe in case 2. When calling await control is turned over to the Loop, calling stream_select, reading data from the stream and eventually closing it.
Buffering the data beats the purpose of using a stream in my case. Is there a way to tell the loop to pause the stream after parsing headers or something like that?

@bartvanhoutte A stream is by definition something that happens over a period of time. If you want to do something "in between", you have to manage the stream flow using explicit instructions. For this, you can pause() and resume() the input stream at any time. However, note that pausing is advisory only and there may be some bytes still left in incoming receive buffer that will still be emitted. That's why you may also have to set up a small buffer to make sure you're not missing this "initial" data.
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can always reopen this :+1:


Appropriate attribution and License

[ ] Add a section to the README explaining

[ ] what it shares in common with Skeleton
[ ] how this diverges from Skelton

[ ] Give appropriate attribution to Skelton in the LICENSE

@bertrandk you working on this? I was about to update the README with how to use skeletor and skeletor vs skeleton

@winkerVSbecks if you have time, please have at it.

@bertrandk I can take care of this. Thanks


add calculator to find distance between two points under 3d geometry calculator

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

i would like to work on this issue

Go ahead
Deadline 10 May,2021


Oddball NaN entry for 2020-04-08,Scotland,S08000028,Western Isles

Not sure whether it's just being true to the upstream or something else going wrong somewhere.  Don't think I've seen any NaNs before in this stuff.  Different enough from the other "to be confirmed" / "unknown location" type  things to be worth remarking on anyway:
$ grep S08000028 data/covid-19-cases-uk.csv
2020-03-01,Scotland,S08000028,Western Isles,0
2020-03-02,Scotland,S08000028,Western Isles,0
2020-03-03,Scotland,S08000028,Western Isles,0
2020-03-04,Scotland,S08000028,Western Isles,0
2020-03-05,Scotland,S08000028,Western Isles,0
2020-04-01,Scotland,S08000028,Western Isles,3
2020-04-02,Scotland,S08000028,Western Isles,3
2020-04-03,Scotland,S08000028,Western Isles,3
2020-04-04,Scotland,S08000028,Western Isles,3
2020-04-05,Scotland,S08000028,Western Isles,4
2020-04-06,Scotland,S08000028,Western Isles,4
2020-04-07,Scotland,S08000028,Western Isles,4
2020-04-08,Scotland,S08000028,Western Isles,NaN

Oh just noticed there's another one too
$ grep S08000025 data/covid-19-cases-uk.csv
2020-03-01,Scotland,S08000025,Orkney,0
2020-03-02,Scotland,S08000025,Orkney,0
2020-03-03,Scotland,S08000025,Orkney,0
2020-03-04,Scotland,S08000025,Orkney,0
2020-03-05,Scotland,S08000025,Orkney,0
2020-04-01,Scotland,S08000025,Orkney,2
2020-04-02,Scotland,S08000025,Orkney,2
2020-04-03,Scotland,S08000025,Orkney,2
2020-04-04,Scotland,S08000025,Orkney,4
2020-04-05,Scotland,S08000025,Orkney,4
2020-04-06,Scotland,S08000025,Orkney,4
2020-04-07,Scotland,S08000025,Orkney,4
2020-04-08,Scotland,S08000025,Orkney,NaN

It's a new change meaning less than 5, see https://www.gov.scot/publications/coronavirus-covid-19-tests-and-cases-in-scotland/

yep this is breaking my data, it's not ideal to be fixing the feed processor.  I have been mapping '1 to 4' to 3, I think I would prefer if feasible '1 to 5' and then I can add a check and replace with 3, would it be feasible just to use previous days value in these cases. NaN or null is ugly.

Ah, the equivalent of those "1 to 4" strings that appear in the English data then.  (But arguably a bit more computer friendly, at least if your code deals with NaNs sensibly).  I have a vague idea from somewhere that ranges are given for low counts because of data protection/privacy/anonymisation type concerns rather than any real uncertainty about the actual number.  Anyway, thanks for the pointer to the gov.scot source.  Closing.


My First PR commit

PR comments

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cjxd-bot-test
If they are not already assigned, you can assign the PR to them by writing /assign @cjxd-bot-test in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cjxd-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr-build
984bc59a3f2c3e6015208a6b4dc248e2614f120c
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Added Palindrome in C

palindrome_number.c Add Palindrome code
In this palindrome problem it will check whether a number reads same backwards as forward
Closes [Algorithm]Palindrom[C] #209

@Rahul-45 : Thanks for Contributing


Depend on the 4.8 version of the .NET Framework SDK

@rainersigwald @livarcocc Are we ready to move forward with this change?


adb: error: failed to get feature set: no devices/emulators found ERROR: "adb push" returned with value 1

scrcpy was working fine about a month ago but now it's giving me this error, can someone help me fix it?

This error occurs to me whenever I forgot to attach my phone before running scrcpy, so I assume that the error is caused by a faulty connection between your phone and computer. You may need to provide further detail so you can be helped: Do you mean to connect your devices via a USB cable? If so, first make sure that the phone as USB debugging enabled. Second, attach your phone via a USB cable to your computer and make sure it is detected as plugged-in. If it is not detected, PC drivers may be an issue - ensure you have the proper Android USB driver installed.
Once your phone is plugged in & detected, you may need to unlock it and grant file access or whitelist the device or similar, basically accepting the prompt to allow for device access. Now your phone should be detected. You can try by running scrcpy or alternatively adb devices and checking if your phone is listed.

USB debugging is enabled like normal, I think it's detected as plugged in? A USB icon comes up in the bottom right anytime I plug it in so I'm guessing as much. How do I grant it file access/whitelist it?

I meant that you may need to grant access on your phone after connecting
it. This would be in form of a popup / notification in the notification
tray, so unlock your phone and see if there's anything like that.
Have you tried running the shell conmand adb devices on your computer yet?
On Sun, Aug 16, 2020, 09:11 burritoblaster<EMAIL_ADDRESS>wrote:

USB debugging is enabled like normal, I think it's detected as plugged in?
A USB icon comes up in the bottom right anytime I plug it in so I'm
guessing as much. How do I grant it file access/whitelist it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1680#issuecomment-674489929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF3NFJVTM5QXNK4LHPB2BTSA6BCJANCNFSM4QASYC6Q
.

the list of devices comes up blank

Then you should search on the internet something like "adb not detecting my
device". Here's a stackoverflow post that lists some steps you can try.
On Sun, Aug 16, 2020, 09:30 burritoblaster<EMAIL_ADDRESS>wrote:

the list of devices comes up blank
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1680#issuecomment-674491984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF3NFMWDH6CKSI5AH2EQCDSA6DI7ANCNFSM4QASYC6Q
.

Somehow the drivers for my phone got uninstalled, but I got them back. Thank you for helping me narrow down the issue!

I'm glad I could help! :)
On Sun, Aug 16, 2020, 10:03 burritoblaster<EMAIL_ADDRESS>wrote:

Somehow the drivers for my phone got uninstalled, but I got them back.
Thank you for helping me narrow down the issue!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1680#issuecomment-674495253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF3NFMUFCRYXAFCGKZGH5LSA6HGZANCNFSM4QASYC6Q
.


Add raw.line

Adds a new sub-element called raw.line that allows access to individual lines of stylized code.
The raw.line contains the following properties:

the line number (int, starting at 1)
the raw text (string)
the highlighted text (content)
whether it's the first line (bool)
whether it's the last line (bool)

Line of raw code can be either individually show-ruled or accessed on a synthesized field called lines on raw.
It allows the following:
#show raw: it => stack(dir: ttb, ..it.lines)
#show raw.line: it => {
  box(
    width: 100%,
    height: 1.75em,
    inset: 0.25em,
    fill: if calc.rem(it.line, 2) == 0 { luma(90%) } else { white },
    align(horizon, stack(
      dir: ltr,
      box(width: 15pt)[#it.line],
      it.body,
    ))
  )
}

```typ
#show raw.line: block.with(
  fill: luma(60%)
);

Hello, world!

= A heading for good measure
```

Maybe we could rename raw.line.line to raw.line.number, like enum.item.number? line.line seems extremely ambiguous to me and a bit inconsistent.

Maybe we could rename raw.line.line to raw.line.number, like enum.item.number? line.line seems extremely ambiguous to me and a bit inconsistent.

I didn't think of that, I will rename it ;)

What about about number/total instead of number/first/last? seems more flexible.

What about about number/total instead of number/first/last? seems more flexible.

The main reason why I didn't do it was that (initially) I had a hard time doing it for typst code because I didn't want to manually split/iterate over the code to count the number of lines, but I think there is a nicer way, I'll give it a try.

What is the nicer way? I think iterating the code once to count the lines should be pretty cheap.

What is the nicer way? I think iterating the code once to count the lines should be pretty cheap.

The nicer way would be doing it as you're iterating over the lines, but it turns out to not really work since I would need a second pass to update all of them anyway. So I added a count value with the max number of lines.

Thanks once more!


onConfigure is called twice

I am seeing multiple invocations of the onConfigure without any requests:
[2019-05-29 14:00:03.707][26336][info][wasm] [source/extensions/common/wasm/wasm.cc:1033] wasm log: context 0
...
[2019-05-29 14:00:03.719][26336][info][config] [source/server/configuration_impl.cc:85] loading tracing configuration
[2019-05-29 14:00:03.719][26336][info][config] [source/server/configuration_impl.cc:105] loading stats sink configuration
[2019-05-29 14:00:03.719][26336][info][main] [source/server/server.cc:487] all clusters initialized. initializing init manager
[2019-05-29 14:00:03.719][26336][info][config] [source/server/listener_manager_impl.cc:1012] all dependencies initialized. starting workers
[2019-05-29 14:00:03.719][26336][info][main] [source/server/server.cc:503] starting main dispatch loop
[2019-05-29 14:00:03.720][26342][info][wasm] [source/extensions/common/wasm/wasm.cc:1033] wasm log: context 0

I am trying to offload expensive computation to onConfigure so I want it to be called exactly once (and there is no reason to call it twice).
/cc @jplevyak
/cc @PiotrSikora

It is called once inside general context in main thread and once in silo thread. You could distinguish them based on context id (0 for general context).

They both have context ID 0. In fact, I have two routes set-up with WASM filters in them, so I'm seeing 4 context ID 0 calls.

Oh sorry, yeah, context id should be the same. I was wrong, it was triggered once by the general context in base wasm in main thread and once by general context in silo wasm sandbox. Don't know if there is a way to distinguish them...

Same VM can be used by multiple filters (using id), and onConfigure() is called when creating a VM (passing initial_configuration ) and then for each filter that uses it (passing configuration).
Perhaps we should differentiate those 2 events.

OK. Can this be documented somewhere? Can we have two callbacks for initial and per-filter configuration so we can distinguish the two events? How do we share this configuration with the request-bound context?

https://github.com/envoyproxy/envoy-wasm/pull/91


Statement "SELECT GET_LOCK('lock10086')" doesn't work as  expected

SELECT GET_LOCK('lock10086',1000);
SELECT RELEASE_LOCK('lock10086');

while executing two statements above, UnicastRoutingEngine was chosen because not logic tables is empty.
And the first statement may be executed on database db1, second on database db2, resulting that the lock is not freed.
Can you support an option for using DefaultDatabaseRoutingEngine while no logic table exists.

What is your version?

What is your version?

shardingsphere : 4.0.0-RC2
mysql: mysql  Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using  EditLine wrapper
java: java version "1.8.0_201"

What is your expected action to using lock in a sharding databases? just lock all of the table?

What is your expected action to using lock in a sharding databases? just lock all of the table?
Using lock with ShardingSphere is not a good practice, because ShardingSphere on Sharding is for horizontal split. If you want use distribute lock, maybe you can try zookeeper.

I'm integrating Shardingsphere into an old application. The lock is worked in another dependent jar related to db, and it's just a distributed lock for intializing. To keep the jar pure, we don't want to introduce another jar like zookeeper or redis for a distribute lock in the jar at moment.  Keeping the lock and release work on the same database is just ok for us at moment.

Distribute solution is not Silver Bullet, please refactor old system towards distribute solution.

Distribute solution is not Silver Bullet, please refactor old system towards distribute solution.

Firstly, I don't think db lock on the same database is not a distribute solution, although it may not be the best solution in most cases.
Then, let's skip the distribute lock.
The case that database partition is only required for some special tables exists, which means all other tables being in a default or primary database, sql with no tables is the same. default-data-source-name is worked for the case on other tables,  if support for no table is added,  the function of default-data-source-name can be better.

Do we talk about horizontal sharding?

Do we talk about horizontal sharding?

I'm sorry for using inappropriatethe case, which made us be involed into distributed lock.
Let me describle my case agnin:
I have two db db1 and db2.  db1 ows table t1,t2,t3, function f1,  and  db2 only onws t2.
Only table  t2 was in partition, so I want sql related to  t1 , t3, f1 to be executed on db1, only t2 be executed on db1 and db2 according to it's condition. I use the configuration spring.shardingsphere.sharding.default-data-source-name, now sql related to  t1 or 't3was executed ond1as expected, butf2`'s execution was in random.
My point is on adding default database support for sql without tables.

This is make sense, can you close this issue and open a new issue to talk about it?
Because the title and content of this issue is mismatched.

This is make sense, can you close this issue and open a new issue to talk about it?
Because the title and content of this issue is mismatched.

Okay!

This is make sense, can you close this issue and open a new issue to talk about it?
Because the title and content of this issue is mismatched.

Okay!
New issue #3273


Pull out phones from locations and create new HSDS phones CSV

Co-authored-by: Steven Phan<EMAIL_ADDRESS>Addresses https://github.com/switzersc/open_referral_transformer/issues/1
Creates phone records from numbers in the location file.
Adds concept of foreign keys in the mapping.yaml.

We may want to add the ability to pull phones from other input CSVs too before we merge.

Rebased with master after merging #13


Scuba Gear

The scuba gear doesn't provide oxygen (I Know how to switch modes) and when I right click on a machine with a item I crash.

Version?
Are you sure you have a Gas Mask on, as well as a Scuba Tank, with the oxygen flowing and filled?
Also, I'll need the log of the crash.

I was wearing a gas mask and a fully filled Scuba tank and here is the crash report.
 I'll do better next time, I promise!
Time: 3/22/15 7:54 PM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: cofh/api/item/IToolHammer
at mekanism.common.util.MekanismUtils.hasUsableWrench(MekanismUtils.java:1414)
at mekanism.common.block.BlockMachine.func_149727_a(BlockMachine.java:612)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:376)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassNotFoundException: cofh.api.item.IToolHammer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 13 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_75, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 809114560 bytes (771 MB) /<PHONE_NUMBER> bytes (2400 MB) up to<PHONE_NUMBER> bytes (7282 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8192m -XX:MaxPermSize=256m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v<IP_ADDRESS>1 Minecraft Forge <IP_ADDRESS>1 Optifine OptiFine_1.7.10_HD_B4 40 mods loaded, 40 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{<IP_ADDRESS>1} [Forge Mod Loader] (modpack.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{<IP_ADDRESS>1} [Minecraft Forge] (modpack.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{<IP_ADDRESS>} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MobiusCore{1.2.3} [MobiusCore] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{<IP_ADDRESS>} [Not Enough Items] (NotEnoughItems-1.7.10-<IP_ADDRESS>-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PlayerAPI{1.2} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartCore{1.0} [Smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.15} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.15.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.10} [Treecapitator] ([1.7.10]Treecapitator-universal-2.0.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Backpack{2.0.1} [Backpack] (Backpacks-Mod.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BetterFoliage{1.0.4} [Better Foliage] (BetterFoliage-mc1.7-1.0.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{6.4.2} [BuildCraft] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{6.4.2} [BC Transport] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{6.4.2} [BC Silicon] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{6.4.2} [BC Builders] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{6.4.2} [BC Energy] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{6.4.2} [BC Factory] (buildcraft-6.4.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{<IP_ADDRESS>0} [Forge Multipart] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
chisel{<IP_ADDRESS>} [Chisel 2] (Chisel2-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
customnpcs{1.7.10} [CustomNpcs] (CustomNPCs_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
DamageIndicatorsMod{3.2.0} [Damage Indicators] (Damage-Indicators-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flansmod{4.7.0} [Flan's Mod] (Flans-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
inventorytweaks{1.58-147-645ca10} [Inventory Tweaks] (InventoryTweaks-1.58-147 -.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{<IP_ADDRESS>2} [Iron Chest] (ironchest-1.7.10-<IP_ADDRESS>2-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Waila{1.5.8} [Waila] (Waila-1.5.9_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
JABBA{1.1.4} [JABBA] (Jabba-1.1.4_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
aapijc{1.2.4-JC} [JCAnimationAPI] (JurassiCraft-1.3.2-daily_build-2015_01_15-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
jurassicraft{1.3.2-daily_build-2015_01_15} [JurassiCraft] (JurassiCraft-1.3.2-daily_build-2015_01_15-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Mekanism{8.0.1} [Mekanism] (Mekanism-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismGenerators{8.0.1} [MekanismGenerators] (MekanismGenerators-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MekanismTools{8.0.1} [MekanismTools] (MekanismTools-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
morechisels{@VERSION@} [More Chisels] (MoreChisels-1.7.10-1.0-19.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MapWriter{2.1.1} [MapWriter] (Opis-1.2.3_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Opis{1.2.3} [Opis] (Opis-1.2.3_1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
simplerecipes{1.7.2a} [Pam's Simple Recipes] (Pams-Simple-Recipes-Mod-1.7.10.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartMoving{15.1} [Smart Moving] (SmartMoving-1.7.10-15.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{<IP_ADDRESS>0} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{<IP_ADDRESS>0} [Forge Microblocks] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Coca_Spartan'/563, l='Dino Land 3', x=255.18, y=51.00, z=-241.12]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

Fixed!


Add Welcome Message/Instructions

Add the following text under the title:
"Hi, welcome to The EXCELsior Project! Would you like to Download or Upload a file?"
Instructions for the user to follow
Time estimate: 1D

Done.


fix: check if today_button is defined before use it

Thanks!

this.$today_button.style.left = ${t.left + 20}px``
There is also a lack of judgment here, otherwise when today_futton is false, if the button does not exist here, an error will be reported

@mantou568 this is the code:
if (this.$today_button) {
    this.$today_button.style.left = `${containerRect.left + 20}px`;
}


Problems with the scannetv2 dataset

The following issues occur while the scannetv2 dataset is running and do not know how to solve them.

Please check your data_path.

请检查您的data_path。

Is there anything else I need to change the path to in addition to the .yaml file?

No, you only need to modify the .yaml file. But it seems that the data_path you entered is not eligible.


Duplicate method name but unique BDD step throws NotYetImplementedException()

QAF Version:

4.0.0-RC2

Steps To Reproduce
1. Have a unique BDD step name but use a duplicate method name (not in the same file).
2.
3.

Expected behavior

Should execute the test

Actual behavior

Throws NotYetImplementedException()

Is the issue reproducible on runner?

[] QAS
[X ] Maven
[ ] Gradle
[] Ant
[ X] Eclipse

Test case sample
@QAFTestStep(description = "Verify-Text:{0} in Page:{1}")
public static void verifyText(String text, String page) throws Exception {
      // some internal implementation

}
Note: If I change the method name to "verifyTextInPage" then it will work.
Looks like "verifyText" is part of QAF common step too.
I can see another ticket raised but closed.

did you tried adding stepName = "uniqueName" in QAFTestStep declaration?


How is pcb-aoi.onnx generated?

Hi,
Could someone help me about the following issue?
In the example shown in https://blogs.technet.microsoft.com/machinelearning/2018/03/13/how-three-lines-of-code-and-windows-machine-learning-empower-net-developers-to-run-ai-locally-on-windows-10-devices/ ,  a input (PcbModelInput) and output (PcbModelOutput) class is generated using the pcb-aoi.onnx. Here, the input type is VideoFrame, and the output type is IList.
However, when I use my own alexnet.onnx file which is generated from pytorch using script such as "torch.onnx.export(model, dummy_input, "alexnet.onnx") “ . Then, the variable type within both Input and Output class is ILIST that is different from that in the example.  In this case, how to read the input data which should be image as shown in the example?  I guess the difference may be produced during the *.onnx file generation. How is the pcb-aoi.onnx produced? Does there have some additional operations for generating the pcb-aoi.onnx?   Could someone help me about this point? Thanks.

Hello !   Couple of notes, that blog post was on Windows.AI.MachineLearning.Preview api .    The current samples and bits have been updated to use the new non preview version shipping in windows insider builds.
The model in that blog post was trained using the azure custom vision service.  You can totally still do that , you just need to make sure you have ONNX 1.2.2 version files to work with the new api .
Right now we don't have that sample (WinMLExplorer updated to the new API .
What are you trying to do ?    You can download models from the ONNX model zoo, or you can use your own models and use our converter tools to get them into ONNX 1.2.2.
Let us know a bit more details and we will totally get you running !   thanks.


Create pro.html

Pro.html will link to bunny's cursor experiments and have a back button to quasimatt.com classic


Split kernel-related packages

Depends on #494
This allows to consume the kernel and initrd separately. In context of #231 for
example could be tackled by reusing the kernel and (maybe) initrd
generated from other flavors.

It actually supersedes #494 , so if tests are passing here should be good to go


Is it supposed to work on Heroku?

When I ran it locally, it worked. But when I deployed to Heroku (free tier, used default settings), the start page looked broken like the screen capture below, and I could not see the device page.
https://imgur.com/a/70MEi

It looks like Bower was not used to install the Polymer elements. Are there any logs in the developer console? It should work fine for me.

Thank you for the information. As a novice of Google Home and Node.js (I mean, I would have chosen another language if the sample were provided in different languages than Node.js), I just wanted to run it as it is. The only things I changed were the API key and the "start" script. At first I used the "start" as it was, but it did not run, so I changed it as the code below as showed in the read me.
  "scripts": {
    "start": "node cloud/smart-home-provider-cloud.js smart-home=\"https://****.herokuapp.com\"",
    "test": "echo \"Error: no test specified\" && exit 1"
  },

The build log.
-----> Node.js app detected
-----> Creating runtime environment

       NPM_CONFIG_LOGLEVEL=error
       NODE_VERBOSE=false
       NODE_ENV=production
       NODE_MODULES_CACHE=true
-----> Installing binaries
       engines.node (package.json):  >=6.2.2
       engines.npm (package.json):   unspecified (use default)

       Resolving node version >=6.2.2...
       Downloading and installing node 9.8.0...
       Using default npm version: 5.6.0
-----> Restoring cache
       Loading 2 from cacheDirectories (default):
       - node_modules
       - bower_components (not cached - skipping)
-----> Building dependencies
       Installing node modules (package.json + package-lock)
       up to date in 0.981s
-----> Caching build
       Clearing previous node cache
       Saving 2 cacheDirectories (default):
       - node_modules
       - bower_components (nothing to cache)
-----> Pruning devDependencies
       Skipping because npm 5.6.0 sometimes fails when running 'npm prune' due to a known issue
       https://github.com/npm/npm/issues/19356

       You can silence this warning by updating to at least npm 5.7.1 in your package.json
       https://devcenter.heroku.com/articles/nodejs-support#specifying-an-npm-version
-----> Build succeeded!
-----> Discovering process types
       Procfile declares types     -> (none)
       Default types for buildpack -> web
-----> Compressing...
       Done: 25M
-----> Launching...
       Released v4
       https://****.herokuapp.com/ deployed to Heroku

Application log when I accessed the site with a web browser.
2018-03-11T17:51:35.432362+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-dialog/paper-dialog.html" host=*****.herokuapp.com request_id=fa5ad548-d855-45aa-9c23-865900ce9b7f fwd="27.118.**.**" dyno=web.1 connect=1ms service=23ms status=404 bytes=430 protocol=https
2018-03-12T17:43:47.750458+00:00 heroku[web.1]: Unidling
2018-03-12T17:43:50.447553+00:00 heroku[web.1]: Starting process with command `npm start`
2018-03-12T17:43:52.378449+00:00 app[web.1]:

2018-03-12T17:43:52.378474+00:00 app[web.1]: ><EMAIL_ADDRESS>start /app

2018-03-12T17:43:52.378477+00:00 app[web.1]: > node cloud/smart-home-provider-cloud.js smart-home="https://*****.herokuapp.com"

2018-03-12T17:43:52.378479+00:00 app[web.1]:
2018-03-12T17:43:52.829708+00:00 app[web.1]: config:  { devPortSmartHome: '3000',
2018-03-12T17:43:53.427085+00:00 heroku[web.1]: State changed from starting to up
2018-03-12T17:43:54.945724+00:00 app[web.1]: GET / 304 55.364 ms - -
2018-03-12T17:43:54.940445+00:00 heroku[router]: at=info method=GET path="/" host=*****.herokuapp.com request_id=30a1bc23-4836-487d-812b-3d886f756e2d fwd="27.118.**.**" dyno=web.1 connect=1ms service=75ms status=304 bytes=357 protocol=https
2018-03-12T17:43:55.228387+00:00 heroku[router]: at=info method=GET path="/getauthcode" host=*****.herokuapp.com request_id=53dfb6b6-7263-47d6-abbc-8cb4e148e729 fwd="27.118.**.**" dyno=web.1 connect=7ms service=16ms status=304 bytes=150 protocol=https
2018-03-12T17:43:55.233081+00:00 heroku[router]: at=info method=GET path="/src/my-app.html" host=*****.herokuapp.com request_id=7598852f-5b55-4e14-a531-652357132771 fwd="27.118.**.**" dyno=web.1 connect=11ms service=13ms status=304 bytes=238 protocol=https
2018-03-12T17:43:55.230755+00:00 app[web.1]: GET /getauthcode 304 5.979 ms - -
2018-03-12T17:43:55.518546+00:00 app[web.1]: GET /login?client_id=ZxjqWpsYj3&redirect_uri=/frontend&state=cool_jazz 304 3.197 ms - -
2018-03-12T17:43:55.518596+00:00 heroku[router]: at=info method=GET path="/login?client_id=ZxjqWpsYj3&redirect_uri=/frontend&state=cool_jazz" host=*****.herokuapp.com request_id=3b37ed7a-6132-4c20-bab3-81411734318d fwd="27.118.**.**" dyno=web.1 connect=1ms service=7ms status=304 bytes=238 protocol=https
2018-03-12T17:43:55.768753+00:00 heroku[router]: at=info method=GET path="/bower_components/polymer/polymer.html" host=*****.herokuapp.com request_id=2f0fcd8b-a50a-4bdb-8fe5-36e3cea50f5c fwd="27.118.**.**" dyno=web.1 connect=1ms service=6ms status=404 bytes=420 protocol=https
2018-03-12T17:43:55.771344+00:00 heroku[router]: at=info method=GET path="/bower_components/app-layout/app-header/app-header.html" host=*****.herokuapp.com request_id=4cc19f6c-940f-4cf7-bdf4-8139f2976d51 fwd="27.118.**.**" dyno=web.1 connect=1ms service=6ms status=404 bytes=437 protocol=https
2018-03-12T17:43:55.772484+00:00 heroku[router]: at=info method=GET path="/bower_components/app-layout/app-toolbar/app-toolbar.html" host=*****.herokuapp.com request_id=4bb1d7ba-129e-4e88-8e2c-dc686a4fbc5e fwd="27.118.**.**" dyno=web.1 connect=0ms service=6ms status=404 bytes=439 protocol=https
2018-03-12T17:43:55.772997+00:00 app[web.1]: GET /bower_components/app-layout/app-toolbar/app-toolbar.html 404 1.834 ms - 195
2018-03-12T17:43:55.777958+00:00 heroku[router]: at=info method=GET path="/bower_components/iron-icon/iron-icon.html" host=*****.herokuapp.com request_id=08f7387b-619f-4c76-bbbf-f83a32352641 fwd="27.118.**.**" dyno=web.1 connect=1ms service=5ms status=404 bytes=424 protocol=https
2018-03-12T17:43:55.778855+00:00 heroku[router]: at=info method=GET path="/bower_components/app-layout/app-scroll-effects/app-scroll-effects.html" host=*****.herokuapp.com request_id=f0c7db3e-c2fb-40e2-8620-80439123315b fwd="27.118.**.**" dyno=web.1 connect=0ms service=7ms status=404 bytes=453 protocol=https
2018-03-12T17:43:55.992372+00:00 heroku[router]: at=info method=GET path="/bower_components/iron-icons/communication-icons.html" host=*****.herokuapp.com request_id=1d17f76c-8825-4ead-b28c-c60497dc0695 fwd="27.118.**.**" dyno=web.1 connect=2ms service=2ms status=404 bytes=435 protocol=https
2018-03-12T17:43:55.993917+00:00 heroku[router]: at=info method=GET path="/bower_components/iron-icons/social-icons.html" host=*****.herokuapp.com request_id=34d1ed8b-ebb6-42e6-b3cd-51bec675ee6e fwd="27.118.**.**" dyno=web.1 connect=1ms service=2ms status=404 bytes=428 protocol=https
2018-03-12T17:43:56.013960+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-input/paper-input.html" host=*****.herokuapp.com request_id=744db894-6b7d-4cd3-8da9-d7c2e721348f fwd="27.118.**.**" dyno=web.1 connect=2ms service=2ms status=404 bytes=428 protocol=https
2018-03-12T17:43:56.012290+00:00 heroku[router]: at=info method=GET path="/bower_components/iron-list/iron-list.html" host=*****.herokuapp.com request_id=0b19ba9d-855c-4ef9-af14-279a970f6cd8 fwd="27.118.**.**" dyno=web.1 connect=0ms service=3ms status=404 bytes=424 protocol=https
2018-03-12T17:43:56.234535+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-toast/paper-toast.html" host=*****.herokuapp.com request_id=1a5b7eb7-dace-4369-9918-b4b127cc69c5 fwd="27.118.**.**" dyno=web.1 connect=8ms service=11ms status=404 bytes=428 protocol=https
2018-03-12T17:43:56.233275+00:00 app[web.1]: GET /bower_components/paper-icon-button/paper-icon-button.html 404 1.107 ms - 196
2018-03-12T17:43:56.233868+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-icon-button/paper-icon-button.html" host=*****.herokuapp.com request_id=1404c12f-16cd-4f98-bdd3-d5867dd7e7fd fwd="27.118.**.**" dyno=web.1 connect=8ms service=11ms status=404 bytes=440 protocol=https
2018-03-12T17:43:56.243881+00:00 heroku[router]: at=info method=GET path="/images/assistant-small.png" host=*****.herokuapp.com request_id=743a3373-32fa-4dfd-925c-8d079ce009e9 fwd="27.118.**.**" dyno=web.1 connect=0ms service=3ms status=304 bytes=237 protocol=https
2018-03-12T17:43:57.487448+00:00 heroku[router]: at=info method=GET path="/service-worker.js" host=*****.herokuapp.com request_id=0ff20343-f953-4ed9-a213-5879a6971623 fwd="27.118.**.**" dyno=web.1 connect=1ms service=7ms status=200 bytes=964 protocol=https
2018-03-12T17:43:57.488511+00:00 app[web.1]: GET /service-worker.js 200 5.404 ms - 678
2018-03-12T17:43:56.015891+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-dialog/paper-dialog.html" host=*****.herokuapp.com request_id=43a92199-c68f-48ac-88d6-7aa128d43d04 fwd="27.118.**.**" dyno=web.1 connect=2ms service=4ms status=404 bytes=430 protocol=https
2018-03-12T17:43:56.012496+00:00 heroku[router]: at=info method=GET path="/bower_components/paper-button/paper-button.html" host=*****.herokuapp.com request_id=20328ca9-a4fb-4c79-a706-27843d4a5758 fwd="27.118.**.**" dyno=web.1 connect=0ms service=2ms status=404 bytes=430 protocol=https
2018-03-12T17:43:55.778611+00:00 heroku[router]: at=info method=GET path="/bower_components/iron-icons/iron-icons.html" host=*****.herokuapp.com request_id=f5d743b8-0ef8-4172-80aa-386dd20fed1e fwd="27.118.**.**" dyno=web.1 connect=1ms service=5ms status=404 bytes=426 protocol=https

I don't see anything wrong with these logs, at least nothing to suggest an error in deployment.

I have tried other free Node.js hosting services like OpeNode, OpenShift, etc, but the results were always the same: that broken page. Probably because there was no way to run the following commands as stated in the page, because it is a restricted hosting environment.

npm install -g bower
bower install
cd ..

Probably there is a solution, but my knowledge on Node.js is too little. I will have to investigate more about bower and hosting,etc. I think this thread may be marked as closed.

I finally got it working on OpenShift. I had to go to Applications -> Pods -> Terminal, and cd to the frontend directory, and run bower install.

If you're using a hosting service based on git, you may need to include that in the build script or allow bower_components to be served on git (removing that from the .gitignore.


[stable/concourse] Creation of worker-only releases

Being a common scenario to have people providing their own set of workers to join a totally separate Concourse cluster, it'd be interesting if we supported this use case by allowing one to have a "workers-only" deployment.
web:
  enabled: false

workers:
  replicas: 2
  enabled: true
  nodeSelector: # ...
  # ...

concourse:
  worker:
    tag: 'high-cpu'
    tsa:
      host: concourse-web.namespace-example.svc.cluster.local:22
      # ...

Disabling web would then not create the web-related objects. This would mean that we'd need to soften the requirements we have around some values that are provided.
In the future, we could also think about the case of allowing the creation of multiple types of workers under a single release too, but that might better fit a different issue.
Wdyt?
Thx!
cc @william-tran

🙌

Yes, I see this along with #12056 as the way forward for harder multitenancy

We created a PR for Helm and Concourse to fix this issue.
The end result of the current PR is that you can now make worker-only deployments.
Regarding the privileged container topic mentioned here: https://github.com/helm/charts/pull/12056#issuecomment-471818501
should we make a new issue for this or continue it within this current issue?


Fix: no response TS1031 SyntaxError

Motivation
Fix: #1759
I fixed the error that TS1031 SyntaxError does not occur in compiling invalid typescript code with declaration class method with declare statement.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


type custom define type bug

type ManagerEnabled int
type Manager struct {
Id int
Enabled ManagerEnabled
}
out: ManagerEnabled is not supported. but it will be set with string temporary. Please report any problems.2018/07/07 21:49:39 Generating a.Manager

I know.
https://github.com/swaggo/swag/issues/164
I create now.


Compilation of Elyra-Pipelines to Tekton based Kubeflow fails

Describe the issue
The elyra pipeline editor can't be used to compile and push pipelines to tekton based kubeflow pipeline services
Please see discussion on Stackoverflow

The api itself is the same, only the payload yaml has to be a tekton resource instead of argo. All we need to do is change this line to kfp_tekton.compiler.TektonCompiler().compile(pipeline_function, pipeline_path)  and avoid any code that’s specific to Argo. (e.g. argo variables and code that changes the Argo yaml directly)
https://github.com/elyra-ai/elyra/blob/9de4c89a0e35f13dedd671ce36cb3f6286593fea/elyra/pipeline/processor_kfp.py#L74

The api itself is the same, only the payload yaml has to be a tekton resource instead of argo. All we need to do is change this line to kfp_tekton.compiler.TektonCompiler().compile(pipeline_function, pipeline_path)  and avoid any code that’s specific to Argo. (e.g. argo variables and code that changes the Argo yaml directly)
https://github.com/elyra-ai/elyra/blob/9de4c89a0e35f13dedd671ce36cb3f6286593fea/elyra/pipeline/processor_kfp.py#L74

@lresende sounds easy, what's your thought on that?

@lresende sounds easy, what's your thought on that?


Would a SQLite based directory cache plugin help with performance?

Hi,
I was thinking a bit about the issue of filesystem access as bottleneck for larger sites (like described here: https://github.com/picocms/Pico/issues/490)
I love Pico as a simple blogging engine, but I can see a slow down as the site grows.
Wouldn't be the use of SQLite (probably as plugin) a solution to store all (YAML) metadata already parsed as JSON and therefor access it faster for listing pages? I know, this is against the "Flat File Philosophy" of Pico, but at the end - SQLite is also just a single file in the file system with the advantage of indexes and maybe even to provide a search functionality (although, it's probably better to use an external full text search).
Still, this needs a file system lookup if a file has changed (this could be done once after publishing/changing an article) and I wonder if this would be the same as loading the DB etc.
This is more a rhetorical question what you as dev think about this approach in general and what your experience is with working with the file system.
Thanks for your thoughts.

We could also simply store the parsed contents of a page (both YAML and Markdown) in simple PHP files. However, in practice we don't need the data of all pages at a time anyway. Most of the time we just need the data of the requested page and the titles of pages shown in the navigation. That's it.

Thus we're planning to overhaul the page discovery process and implement a directory-tree-based page discovery with Pico 3.0. We did some groundwork for this with Pico 2.0 by implementing Pico's page tree and allowing pages and directories to be hidden. But we didn't change anything about how Pico 2.0 discovers pages; this is planned for Pico 3.0.

This alone should solve most performance issues that arise with many pages. Since we're also planning to explicitly support caching plugins, there should be no reason why adding a caching functionality utilizing a SQLite database shouldn't be possible.

Thank you for your clarification.
Looking forward for 3.0


Permission denied when collecting Docker logs from file

Describe what happened:
After configuring the host agent to collect Docker logs, it fails to do so because
open /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log: permission denied

And there are no logs in Datadog. I find this a bit confusing, since the documentation states:

The Agent tails containers from the Docker socket if it cannot access the logs file path.

And then:

Docker container log collection from a file is an alternative to collection over the Docker socket. File based collection offers better performance than socket based collection.

In versions 7.27.0/6.27.0+, you can configure the Agent to collect Docker container logs from a file. In versions 6.33.0+/7.33.0+, the Agent collects Docker container logs from a file by default.

And then:

Note: When you install the Agent on the host, the Agent does not have permission to access /var/lib/docker/containers. Therefore, the Agent collects logs from the Docker socket when it is installed on the host.

According to the logs, the above doesn't seem to be the case - it tries to access  /var/lib/docker/containers. If this is because of the above comment (In versions 6.33.0+/7.33.0+, the Agent collects Docker container logs from a file by default), then this needs to be clarified.
Also, if the host agent should collect from the files, it needs to be clarified how to resolve the issue with permissions.
The agent user is otherwise added to the docker group, can connect to Docker socket and seems to be collecting container metrics without any issues.
Steps to reproduce the issue:

install host agent from source based on the generated bash script on the website: DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=*** DD_SITE="datadoghq.eu" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"
change the datadog.yaml to the following:

logs_enabled: true
listeners:
    - name: docker
config_providers:
    - name: docker
      polling: true
logs_config:
    container_collect_all: true

Additional environment details (Operating System, Cloud provider, etc):
OS: CentOS Linux release 8.3.2011
datadog-agent version
Agent 7.34.0 - Commit: 7861858 - Serialization version: v5.0.9 - Go version: go1.16.12

The check for access is here, specifically looking for 'x' access on the directory itself.  Is there some other issue that might be preventing access, which isn't captured by that check?
Note that you can force the socket by setting logs_config.docker_container_use_file to false.

I got it to work by using the above setting, thanks. I'd still prefer it if it read from the log files though, for better performance.
The warn initially described actually comes from: https://github.com/DataDog/datadog-agent/blob/7.34.x/pkg/logs/input/file/scanner.go#L268
Full relevant logs:
Mar 28 18:45:07 cs8-o19.localdomain agent[3955484]: 2022-03-28 18:45:07 CEST | CORE | INFO | (pkg/logs/input/file/scanner.go:350 in handleTailingModeChange) | Tailing mode changed for file:/var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log. Was: end: Now: beginning
Mar 28 18:45:07 cs8-o19.localdomain agent[3955484]: 2022-03-28 18:45:07 CEST | CORE | INFO | (pkg/logs/input/file/scanner.go:265 in startNewTailer) | Starting a new tailer for: /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log (offset: 0, whence: 0) for tailer key /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28
Mar 28 18:45:07 cs8-o19.localdomain agent[3955484]: 2022-03-28 18:45:07 CEST | CORE | INFO | (pkg/logs/input/file/tailer_nix.go:29 in setup) | Opening /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log for tailer key /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28
Mar 28 18:45:07 cs8-o19.localdomain agent[3955484]: 2022-03-28 18:45:07 CEST | CORE | WARN | (pkg/logs/input/file/scanner.go:268 in startNewTailer) | open /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log: permission denied

Interesting that it passed the check I linked (for /var/lib/docker/containers) and failed the next. What are the permissions on /var/lib/docker/containers and /var/lib/docker/containers/40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28?

Level 1:
drwx-----x.  5 root root  4096 Mar 28 22:15 containers

Level 2:
drwx-----x. 4 root root 4096 Mar 24 10:30 40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28
drwx-----x. 4 root root 4096 Mar 28 16:47 9bcfeef7ae00769bd1e2a097b71e47181cd4f1807faa778cf67507f897d24e68
drwx-----x. 4 root root 4096 Dec  6 17:30 cf99c6014f7592343a867541d494e31df28de3b51ce3ecb9cac89ccc898c12b2

Level 3:
-rw-r-----. 1 root root 89782 Mar 28 22:30 40d5a91c5f6e490bfac5f7abb2a7098e8552a5c6e01155026b3e7129bb5e2d28-json.log
drwx------. 2 root root  4096 Mar 24 10:30 checkpoints
-rw-------. 1 root root  4149 Mar 24 10:30 config.v2.json
-rw-r--r--. 1 root root  1526 Mar 24 10:30 hostconfig.json
-rw-r--r--. 1 root root    13 Mar 24 10:30 hostname
-rw-r--r--. 1 root root   174 Mar 24 10:30 hosts
drwx-----x. 3 root root  4096 Mar 24 10:30 mounts
-rw-r--r--. 1 root root    38 Mar 24 10:30 resolv.conf
-rw-r--r--. 1 root root    71 Mar 24 10:30 resolv.conf.hash

We have the same issue. We're using vanilla docker but all our containers are deployed by Nomad. Does that matter? I hope not.

Apologies for missing the followup here!  There's a lot of traffic on this repo, so sometimes things slip by :(
I have the following locally:
root@tereshkova:~# ls -ald /var/lib/docker/containers
drwx--x--- 8 root root 4096 May 24 17:55 /var/lib/docker/containers
root@tereshkova:~# ls -ald /var/lib/docker/containers/1b4f*
drwx--x--- 4 root root 4096 May 26 19:59 /var/lib/docker/containers/1b4f3d4b7d5f5bef18d84323230ab0df6032897a5920bbb810e6d03795fd91df

and the difference appears to be in the group permissions?  It seems that checkReadAccess succeeded on your system because, indeed, it has o+x (which is an unusual permission!).  On my system, running the agent on the host itself, I have to put the agent user in the root group.  But, I think the more common way to run the agent in a Docker environment is to run it in its own container, mounting /var/lib/docker/containers into that container.  The agent runs as root within the container, so it can read the files that way.
It seems there are two fixes here:

update the permissions on those files to include rx for the user running the agent (either g+rx and ensure the user is in that group, or o+rx)
the access check should be checking for rx; if it did so, it would fail in this situation and fall back to socket tailing.  But, again, x without r is pretty unusual!

Closing as it seems that correcting the permissions on the docker directories is the right fix here, or if that's difficult, switching to socket mode (logs_config.docker_container_use_file: false)


Consider date-io for libraries interoperability

Do you want to request a feature or report a bug?
Feature
What's the current behavior?
Currently this library implement own localisation adopters. Their maintenance is quite difficult and time wasting.
What's the expected behavior?
I suggest to consider reusing existing library for interoperability with date utils libs.
https://github.com/dmtrKovalenko/date-io
It supports the following libs

moment
date-fns
luxon
dayjs

Globalize wasn't considered but can be added it you want.

that would be awesome to get rid of all this code, we'd probably need a globalize version and need to verify it covers all the required bases. We still probably need to keep implementation specific formats it looks like? I guess its easy to work around that as well

Yeah, sure. We are open for changes and improvements in date-io.

happy to help out maybe as well. I've a few projects that would benefit from this sort of thing. really nice to see !

Hi, I am the maintainer of date-io. I can help with new methods or integration as well :)

Any progress on this? Date-io would be great

any news ?


Meta switch and refactoring of inter planners

major restructuring for all inter planners
implementation of meta switch

done @voshch


[LB-64] Implement Bug Report Preprocessing (Pre-MVP)

Implement utility method that preprocesses (normalizes) a bug report to be embedded. This component handles reading the bug report and sending it to the preprocessor. In the future, during MVP development, this function will be modified to support GUI-augmented query reformulation (query expansion)
Input: File path of bug report
Output: The preprocessed bug report as a string

This PR is still WIP. PR pending implementation of preprocessText() [LB-61]


Await independent promises in parallel

Increases performance

@paleite really appreciate your PR, thanks!
Seems like a very simple, but powerfull optimization :)


Use JSON response for "user/logout"

The request sent to "user/logout" is from "link-action", it expects to get JSON response.

Does this perhaps fix https://github.com/go-gitea/gitea/issues/25436?

Nope, it's unrelated.
But after this PR, backend can have full control of the "redirect URL", so it's easy to change the "redirect behavior" to anything the users like in the future.


WHIR wrapper

The goal of this task is to make a wrapper of https://github.com/scroll-tech/whir to be compatible with the traits that we have for mpcs in ceno right now.

@yczhangsjtu @chaosma Could you start to work on this?

Sub Tasks
[] ff <-> ark-ff
[] ..
[] ..
[] testing with ?? exmaple, and report performance gain. (proof size, verification time..)
current plan:
Dec 23: likely testing done, in review phase.

@yczhangsjtu please update the links to pull requests.


Added a Tokenomics page under the PSY Token section.

Added a Governance page under the Psy Token section.
Added a Euro v1 page.
Added more assets to the Designer page.
Moved the Architecture Design section under the American v1 section.

@Taylor123 @stockmart should we just fix the conflicts and then merge this in?
I think it's a great and much needed update and further tweaks and improvements can be made with separate PRs


enhance atomic to work with c++11

So far c++11 are not compatible with the build due to atomic version had changed. Welcome all the developer who is interested to enhance the LF_hashTable to work with c++11 atomic

changi to atomic_hashtable , now supporting C++11


epicsdbbuilder.fanout - fix Python3 compatibility

Due to fanout.py line 71, the  example/test.py currently doesn't work.
Python 3 changed checking for keys in dicts: dict.has_key() is deprecated since a long time
Also refer to this hint from the "portingguide".
Nice package BTW! Have you considered publishing this package in the Python Package Index? I'd be willing to give a hand if that would be helpful.

Thank you for this very simple fix!
Actually, the original version of this function (from https://github.com/Araneidae/iocbuilder) predates Python 2.6!  In truth I think nextargs.pop('DOL', None) etc might be cleaner.

P.S.  If you like this project, and if you also like C, take a close look at epics_device for building IOCs.

@thomascobb, here's another project with a request for Python Package support (is that the same as PyPi?)  Shall I create an issue for this suggestion?


[Apple Reminders] Failed to fetch latest data, even with appropriate reminders permissions

Extension
https://www.raycast.com/raycast/apple-reminders
Description
Seeing this error despite having the appropriate permissions enabled in the Privacy & Security settings. The error appears on each attempt to run the Create Reminders extension, and Raycast can never access my reminder data (the List dropdown is always empty, reminders are not created, etc).

Steps To Reproduce

Launch the Create Reminders extension
Wait a few moments
Observe the error message
Lather, rinse, repeat

Current Behaviour
No response
Expected Behaviour
No response

@thomaslombart #9172 has been open for months, with barely any attention from the team. Are there plans to address this bug and/or reenable the old reminders extension?

@PSalant726, we did pay attention to this issue, as you can see in the messages related to the issue. We can't pinpoint exactly what is happening behind this SwiftError making it difficult to fix. However, rest assured that we are aware of this.


Is it possible to delete little white line between button and nav bar

Is it possible to delete little white spot as it is shown in the picture? I tried a lo of different ways to change tint color, button color and another, but nothing helped me, could you help me with that?

Maybe you can do this by adding a property to your navigation bar:
self.navigationController?.navigationBar.shadowImage = UIImage()

Is it possible to delete little white spot as it is shown in the picture? I tried a lo of different ways to change tint color, button color and another, but nothing helped me, could you help me with that?

Maybe you can do this by adding a property to your navigation bar:
self.navigationController?.navigationBar.shadowImage = UIImage()


dbeaver 32bit connecting to ODBC 32bits in a 64 bits machine

Hello Serge
Yesterday I opened a similar case for my 32bits machine and you helped me setting up a connection to MS Access using the JDBC-ODBC Bridge driver.
Today I'm trying to set up this 64-bits machine, where I have dbeaver 32bits and Java VM 32 bits.
When I tried to create an ODBC connection to MS Access in my Windows ODBC Administrator, I could only create a MS Access ODBC driver in the 32bits version (C:\Windows\SysWOW64\odbcad32.exe). If I tried to create it in the 64bit version, it won't find the driver.
Unfortunately, when I try to connect to that ODBC driver in DBeaver through the bridge, it does not find it. I presume is because it's looking for a connection in the 64bits ODBC Administrator C:\Windows\System32\odbcad32.exe)
How should this work?
I'm using Dbeaver 3.7.7 32 bits version. I tried the 64-bits version but it won't open as it reports this error with the Java VM being 32bits: "No Java virtual machine was found"
ODBC connection is MS Access (*.mdb, *.accdb)

I'm not sure I'm the right person to ask about different ODBC drivers issues. That's a whole bunch of issues, most of them already covered on stackoverflow.
For instance: http://stackoverflow.com/questions/10289655/how-to-connect-to-a-32-bit-access-database-from-64-bit-jvm

Thanks for your help! I'll look into that.


feat: per-route mqtt5 config

Issue #, if available:
Description of changes:
Adds mqtt5-specific route options.  This config is a mapping from route name to properties, similar to the existing mqttTopicMapping config option.
"mqtt5RouteOptions": {
    "route1": {
        "noLocal": false,
        "retainAsPublished": true
    },
    "route2": {
        ...
    },
    ...
}

Also configures objectmapper to allow unrecognized properties, so mqtt5 route config can grow over time.
⚠ As discovered through this PR, we must not add fields to mqttTopicMappings as this will break backwards compatibility, due to objectmapper for current/previous bridge versions not being configured to allow unrecognized values.
Why is this change necessary:
How was this change tested:
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Revised the PR to maintain compatibility as discussed


Add dycore consistency test

This PR

Adds a recursive function for setting all fields in a data structure to nans
Adds a dycore consistency test, which uses the added recursive function

Fow now, I've made the test as soft-fail, but we can unset that once we have it working

bors r+


[Testing] Check goroutines leak for testing

Description
Introduce https://onsi.github.io/gomega/#codegleakcode-finding-leaked-goroutines to check leaked goroutines after running UTs in below packages:

[x] #9458
[x] #9459
[x] #9460
[x] #9461
[x] #9462
[x] #9463
[x] #9957

Plz assign this issue to me.

@mikechengwei Do you still work on this?

@mikechengwei Do you still work on this?

I'm sorry, I'm busy with work recently, I will continue to do it.

@mikechengwei Do you still work on this?

I'm sorry, I'm busy with work recently, I will continue to do it.

All right, take your time. You had better sync with upstream before diving into it. We changed largely this month.

@mikechengwei. FYI, https://github.com/apache/skywalking/issues/9463 is assigned to @zeusbee.

Thank you. @mikechengwei. Your perseverance makes this long-term task happen.

Thanks for trust，i hope that can help to complete more meaningful problems.


Correct a comment typo

Just noticed this when using it and wanted to help correct it. 👍

Thanks!


UI is blocking user with permission error for glossary term details page

Affected module
Does it impact the UI, backend or Ingestion Framework?
UI
Describe the bug
A clear and concise description of what the bug is.
Even when user is the owner of the glossary term, ui is blocking the user with permission error!
To Reproduce
Below are the steps to reproduce:

Remove the default role and  policy from the organisation team
Create a new policy with the information provided in the screenshot
add the newly created policy to the organisation
Add one glossary and glossary term,
Create new user, and make him owner of glossary and glossary term
Visit glossary term details page from explore -> glossary term -> glossary term details page

Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Duplicate of #15677

Closing since duplicate of #15677


Cannot deploy a new VDC on testnet -  couldn't get the balance for vdc_init wallet error

When trying to deploy a new VDC on testnet , getting the following error:

From the initialization wallet that funds the difference of prices, its balance was less than 50 TFT, we've funded it

From the initialization wallet that funds the difference of prices, its balance was less than 50 TFT, we've funded it

Successfully Deployed now

Successfully Deployed now


"y" words are grouped inside "i" words

The original file should have all of the words sorted already.

confusing! triple-checking revealed this is a repost of another open issue 2 years ago.


Forseti on-GKE Logs

Logs in Stackdriver for Forseti on-GKE are displayed as errors even if the logs emitted by the server are anything but (e.g. INFO, WARNING).  This will likely be confusing to users.  Need to investigate where this issue lies.

Keep open, this would be nice to fix.

I think so too.


Is ckanext-report optional or not?

Plugin fails to initialize if their is no ckanext-report, so it seems as it is required, but at the same time https://github.com/ckan/ckanext-qa/blob/master/README.rst mentions report as Optional.
So what should be the case? It's imported in so many places that I assume it's required.
README also mentions "It also provides a report that allows you to view the openness (stars ratings) across a publisher or across them all." I couldn't find any controller in ckanext-qa for that. Is that part of the report? What's the named route for it?

Closed in #51


OSD-4362: add additional debug information verify permissions

This is very much a monkey patch to give users a pointer where to go if the permission verify fails.

/assign @jharrington22

/lgtm

/retest

/lgtm

/retest

@RiRa12621 could you look at the lint failure here so we can merge? Thanks.

it's not liking the line being too long
i'll fix that @jharrington22

/retest

/retest

/hold
Needs fixing to please the lint check

/close
outdated

/close
outdated


Android ask for background (location all the time) on first call of requestLocationPermission

In the fl_location example, when using the GET Location button, the app requests location permission at runtime:  https://developer.android.com/develop/sensors-and-location/location/permissions#request-location-access-runtime
However, there's an issue: the app also requests background location permission (location access "all the time") in the same action.
According to Google's documentation on background location access: https://developer.android.com/develop/sensors-and-location/location/permissions#request-background-location
Google specifies that apps should provide a clear explanation of why background location access is necessary for the feature.
In my case, I intend to request location permission first by calling checkLocationPermission. However, both location permission and background location permission ("all the time" access) are prompted sequentially, without allowing me the opportunity to explain the need for background location to the user.
To resolve this, typically when a user grants "while in use" permission and the app also has ACCESS_BACKGROUND_LOCATION permission, the device will display the background location ("all the time") permission screen by calling requestLocationPermission second time.

released fl_location: ^4.4.0
The updated location permission request function is as follows:
  Future<void> _requestBackgroundLocationPermission() async {
    if (!await FlLocation.isLocationServicesEnabled) {
      throw Exception('Location services is disabled.');
    }

    LocationPermission permission = await FlLocation.checkLocationPermission();
    if (permission == LocationPermission.denied) {
      // Android: ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION
      // iOS 12-: NSLocationWhenInUseUsageDescription or NSLocationAlwaysAndWhenInUseUsageDescription
      // iOS 13+: NSLocationWhenInUseUsageDescription
      permission = await FlLocation.requestLocationPermission();
    }

    if (Platform.isAndroid && permission == LocationPermission.whileInUse) {
      // You need a clear explanation of why your app's feature needs access to background location.
      // https://developer.android.com/develop/sensors-and-location/location/permissions#request-background-location

      // Android: ACCESS_BACKGROUND_LOCATION
      permission = await FlLocation.requestLocationPermission();
    }

    if (permission != LocationPermission.always) {
      throw Exception(
          'To start location service, you must always grant location permission.');
    }
  }

Hi @Dev-hwang Its great.
It works well and complies with Google's policies for using location in the background.
Thanks.


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
faa8e5bc9db7c19314d5ec22944ef4112cf9f568
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Prim Algorithm Implementation

Implement Prim algorithm, which finds a MST (Minimum Spanning Tree) from a given graph.
To be implemented in Mst class (new class).

Algorithms DPV page 139, for algorithm and example.

Done (commit ae8319836bfc6d93434025d867dab0e0718b048d).


undefined method `tokens' for #Hash:0x00007fe4698ea648

worked for the first request after the user signed i made a succesfull request to the api
Trying to make subsequent request using postman then i got the error below:
rails : 5.2.2
devise_token_auth (1.1.0)

routes:
devise_for :admin_users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
namespace :api do
    scope :v1, path: "v1" do
      mount_devise_token_auth_for 'User', at: 'auth', controllers: {
          registrations:  'api/v1/registrations'
        }
    end
    namespace :v1 do
      resources :items, only: [:index, :create]
    end
 end

Controller
class Api::V1::ApiController < ::ApplicationController
  include DeviseTokenAuth::Concerns::SetUserByToken
  before_action :authenticate_api_user!
end

model
class User < ActiveRecord::Base
  devise :database_authenticatable, :registerable,
          :recoverable, :rememberable, :trackable, :validatable
          # :confirmable, :omniauthable
  include DeviseTokenAuth::Concerns::User
  end

Error:
app/controllers/devise_token_auth/concerns/set_user_by_token.rb:50:in `set_user_by_token'
devise_token_auth (1.1.0) lib/devise_token_auth/controllers/helpers.rb:134:in `current_api_user'
devise_token_auth (1.1.0) lib/devise_token_auth/controllers/helpers.rb:124:in `authenticate_api_user!'
activesupport (5.2.3) lib/active_support/callbacks.rb:426:in `block in make_lambda'
activesupport (5.2.3) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
actionpack (5.2.3) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
activesupport (5.2.3) lib/active_support/callbacks.rb:199:in `block in halting'
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `block in invoke_before'
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `each'
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `invoke_before'
activesupport (5.2.3) lib/active_support/callbacks.rb:131:in `run_callbacks'
actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
warden (1.2.8) lib/warden/manager.rb:36:in `block in call'
warden (1.2.8) lib/warden/manager.rb:34:in `catch'
warden (1.2.8) lib/warden/manager.rb:34:in `call'
rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.0.7) lib/rack/etag.rb:25:in `call'
rack (2.0.7) lib/rack/conditional_get.rb:38:in `call'
rack (2.0.7) lib/rack/head.rb:12:in `call'
actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
rack-cors (1.0.3) lib/rack/cors.rb:95:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (3.12.1) lib/puma/configuration.rb:227:in `call'
puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
puma (3.12.1) lib/puma/server.rb:474:in `process_client'
puma (3.12.1) lib/puma/server.rb:334:in `block in run'
puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'

I would greately appreciate quick attention to this as it is blocking my project from moving forward. Thanks.

The Issue is generally coming from the call to current_api_user

can you try with the master branch? #1250 fixed an issue with the same error (it might not be the same, but just to try)

@MaicolBen any chance this could be reopened? I'm having the exact same issue under the exact same circumstances as @Obiora-Imah  . I'll post back if I get it figured out


Added Jekyll-powered github page based on new design

I've converted Ollie's (@Oliverrandell) files to use Jekyll. Github will render the templates into static files.
The design is based on James Sann's (@HooverDST) design.
At the moment, the only "dynamic" part is the news section. You can add a post (preferably in markdown format) in the _posts folder, and a summary will appear in the news section, as well as a full version in its own permalink page.

Actually, please ignore for the time being. When I pushed to my fork, github didn't render it as it looked in my local environment.


scripts: Add support to build ppc64le binary for release

This PR is for building ppc64le binary for release.

/cc @heyitsanthony @xiang90

@heyitsanthony I hope this commit is good enough to see ppc64le binaries in the release page!

@mkumatag sure, but will probably have to wait until 3.2-alpha since 3.1 backports are for bugfixes...

@heyitsanthony sure, thanks.

lgtm. Thanks!

/cc @gyuho can you take a look? and get it merged if there is no issues? thank you!

ping @gyuho

Thanks!


Removed obsolte sendEmailToAdmins und _GAE_SendEmail functions

Regarding sendEmailToAdmins: I think the best way is to utilize Stackdriver - configure an email/sms alert when something with critical is logged. This will then also work if no email service is configured.
The Cursor-Thing is a different issue :)
Regarding #24 please see comments there

Regarding #24 please see comments there

Which comments?

Superseded by #195 and #200


Update Contacts

Adding and editing contacts needs to be updated. Multiple contacts should be able to be added. And they should be seen in organizational profile view.

Address Line 2 shouldn't be mandatory.


Make the format of ports and ranges consistent throughout the article

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9958

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[Go] kubens can't switch namespace with private cluster endpoint on aws

After switching my aws eks cluster endpoint from public to private,  I confirmed I was still able to call get pods and get ns.
But when i try to switch namespaces with the go version of kubens i get this error:
error: failed to query if namespace exists (is cluster accessible?)
failed to query namespace "<namespace>" from k8s API
Get "https://<endpoint url>"
dial tcp: lookup <endpoint url> on <private ip>:53
read udp <private ip>:49776-><private ip>:53: i/o timeout

After reverting to homebrew version (bash), kubens works properly.

Can you please redact less, it's hard to understand what's happening. My initial guess is that somehow the Go process is not able to talk to the DNS server on your local network/router.

Sure:
lookup <endpoint url> on <IP_ADDRESS>:53
read udp <IP_ADDRESS>:49776-><IP_ADDRESS>:53

Does Go perhaps use a different port or protocol than kubectl?  I think kubectl only needs tcp / 443.

read udp <IP_ADDRESS>:49776-><IP_ADDRESS>:53: i/o timeout

This reads: your IP <IP_ADDRESS> connecting to the local DNS server on your local network at  <IP_ADDRESS>:53 (to resolve {cluster endpoint} domain name) and it's timing out. If you're using something that prevents this, that's probably the culprit. A lot of people use both Go/bash implementations just fine, so I suspect this is a setup issue in your end