Andi: normalize data intended for presto table names

From smartcitiesdata/andi 39
Currently, Andi takes in data that is passed to carpenter for creating tables but assumes that the table name is perfect; no validation or scrubbing of proper input. If a dash is supplied without converting to an underscore, the table create statement will blow up.
Andi will reject when there aren't acceptable table names.
AC:

If there is a dash in the table name, return an error to the user

Submitting the following dataset to dev (where this code is currently deployed)
{
    "business": {
      "authorEmail": null,
      "authorName": null,
      "categories": null,
      "conformsToUri": null,
      "contactEmail"<EMAIL_ADDRESS>      "contactName": "Mr. Kayley Runolfsdottir DDS",
      "dataTitle": "Watchet_Pink_ZSOGH",
      "describedByMimeType": null,
      "describedByUrl": null,
      "description": "I will speak daggers to her, but use none.",
      "homepage": "schmidt.com",
      "issuedDate": null,
      "keywords": [
        "5th generation",
        "next generation",
        "grid-enabled",
        "fresh-thinking",
        "bi-directional"
      ],
      "language": null,
      "license": "MIT",
      "modifiedDate": "2019-09-01",
      "orgTitle": "Giallo_Sooty",
      "parentDataset": null,
      "publishFrequency": null,
      "referenceUrls": null,
      "rights": "For ever and a day.",
      "spatial": null,
      "temporal": null
    },
    "id": "SYS_102795f0_e436_11e9_b8ff_0242ac110002",
    "technical": {
      "allow_duplicates": true,
      "authHeaders": {},
      "authUrl": null,
      "cadence": "once",
      "credentials": false,
      "dataName": "THESE-DASHES",
      "orgId": "7bc0c02a-9feb-413a-82bb-874f4a2c419f",
      "orgName": "LOOK-AT-ALL",
      "private": false,
      "protocol": null,
      "schema": [
        {
          "name": "name",
          "required": "true",
          "type": "string"
        },
        {
          "name": "type",
          "type": "string"
        },
        {
          "name": "quantity",
          "type": "integer"
        },
        {
          "name": "size",
          "type": "float"
        },
        {
          "name": "is_alive",
          "type": "boolean"
        }
      ],
      "sourceFormat": "csv",
      "sourceHeaders": {},
      "sourceQueryParams": {
        "count": "10",
        "dataset_id": "SYS_102795f0_e436_11e9_b8ff_0242ac110002"
      },
      "sourceType": "ingest",
      "sourceUrl": "http://data-generator.testing/api/generate",
      "systemName": "LOOK-AT-ALL__THESE-DASHES"
    },
    "version": "0.4"
  }

returns the following response with a 400 status
{
  "reason": [
    "dataName cannot contain dashes",
    "orgName cannot contain dashes"
  ]
}


Line break inside parenthesis of function

Description:
The following code works fine:
def test(a=1, b=2):
    var = a + b
    return var

But, the following code with a line break inside the parentheses
def test(a=1,
         b=2):
    var = a + b
    return var

generates an error
File "<ipython-input-78-ef490df1dbcd>", line 3
    var = a + b
      ^
IndentationError: expected an indented block`.

I raised the issue in stack overflow, and it was pointed out that it may be due to Hydrogen.
Versions:
Atom    : 1.28.0
Electron: 2.0.3
Chrome  : 61.0.3163.100
Node    : 8.9.3

If you're using the hydrogen-python plugin, you can try disabling it and you may get a different behavior.
This issue boils down to the fact that hydrogen is language-agnostic, and knows nothing about Python syntax. Indentation is the only clue that it has about what code to run, and adding indentation inside parentheses can mess with it.
The best solution for now is to select precisely the code you want to run, or to use code cells.

I will go for code cells. Thanks, anyway.


Use camel case for order cancellation serialization

This PR fixes the order cancellation JSON (de)serialization to use camel case like the rest of the API and as documented in the OpenAPI specification.
Previously, it was looking for a field name signing_scheme instead of signingScheme.
Test Plan
Added new unit test.

Thats cool, but how did that not get noticed in the fist place?

:man_shrugging:

Its because signingScheme was added later - the original implementation was already in camel case.


IOS app crash. not open after adding this plugin.

I am using phonegap build site to create build using
<preference name="phonegap-version" value="cli-9.0.0" />
also try
<preference name="phonegap-version" value="cli-8.0.0" />
or even try this
<preference name="phonegap-version" value="cli-7.1.0" />
and
your latest plugin version
0.27.0
and when IPA ready and tested with real device or https://app.testobject.com/ it closed automatic with below errors. so can you please help us to figure our this issue ?
Thanks in advance
05:24:51 E nsurlsessiond(CFNetwork)[87] : Received XPC error Connection interrupted for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:51 E nsurlsessiond(CFNetwork)[87] : Received XPC error Connection invalid for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:51 E trustd(CFNetwork)[99] : Received XPC error Connection interrupted for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:51 E trustd(CFNetwork)[99] : Received XPC error Connection invalid for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:51 E appstored(CFNetwork)[161] : Received XPC error Connection interrupted for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:51 E appstored(CFNetwork)[161] : Received XPC error Connection invalid for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
05:24:54 E com.apple.MobileInstallationHelperService(libsystem_containermanager.dylib)[108] : container_copy_info: error = (container_error_t)53
05:24:54 E nehelper[82] : Value of NETestAppMapping in the Info.plist for com.whatyoucaneatapp.free is not a dictionary or is empty
05:24:54 E SpringBoard(UserNotificationsServer)[50] : No data found at /var/mobile/Library/UserNotifications/com.whatyoucaneatapp.free/PendingNotifications.plist
05:24:54 E SpringBoard(UserNotificationsServer)[50] : No data found at /var/mobile/Library/UserNotifications/com.whatyoucaneatapp.free/Schedule.plist
05:24:54 E ReportMemoryException(libsystem_containermanager.dylib)[562] : Error calling containermanager_sandbox_iterate_containers: 2
05:24:55 E ReportMemoryException(libsystem_containermanager.dylib)[562] : Error calling containermanager_sandbox_iterate_containers: 2
05:24:55 E appstored[161] : [ODRBackgroundMaintenance]: Cancelling maintenance operations.
05:24:55 E duetexpertd(AppPredictionClient)[137] : Unable to remove recent engagement cache file. Error: Error Domain=NSCocoaErrorDomain Code=4 UserInfo={NSFilePath=, NSUserStringVariant=, NSUnderlyingError=0x10113f3b0 {Error Domain=NSPOSIXErrorDomain Code=2}}
05:24:55 E SpringBoard(Search)[50] : Reply Error on 0x282ba18c0:Connection interrupted
05:24:55 E dasd(DuetActivitySchedulerDaemon)[89] : Activity not tracked as being started for BundleID (null), ignoring it
05:24:55 E itunesstored(StoreServices)[160] : SSURLSessionManager: A nil value was loaded from the bag for key TLSSamplingPercentage. Using new bag: NO
05:24:55 E itunesstored(StoreServices)[160] : SSURLSessionManager: A nil value was loaded from the bag for key TLSSamplingSessionDuration. Using new bag: NO
05:24:56 E duetexpertd(AppPredictionClient)[137] : Unable to remove recent engagement cache file. Error: Error Domain=NSCocoaErrorDomain Code=4 UserInfo={NSFilePath=, NSUserStringVariant=, NSUnderlyingError=0x100f276a0 {Error Domain=NSPOSIXErrorDomain Code=2}}
05:24:56 E SpringBoard(KeyboardArbiter)[50] : HW kbd: Failed to set (null) as keyboard focus
05:24:56 E symptomsd(SymptomEvaluator)[125] : Can't get most elevated app state from dictionary {
BKSApplicationStateExtensionKey = 0;
SBApplicationStateDisplayIDKey = "com.whatyoucaneatapp.free";
SBApplicationStateKey = 0;
SBApplicationStateProcessIDKey = 564;
SBApplicationStateRunningReasonsKey =     (
{
SBApplicationStateRunningReasonAssertionIdentifierKey = Resume;
SBApplicationStateRunningReasonAssertionReasonKey = 10000;
}
);
}
05:24:56 E webinspectord(WebInspector)[554] : XPC Connection Failed for Application: 564 - PID:564 -
05:24:56 E dasd(DuetActivitySchedulerDaemon)[89] : Activity  not tracked as being started, ignoring it
05:24:57 E itunesstored(StoreServices)[160] : SSURLSessionManager: A nil value was loaded from the bag for key TLSSamplingPercentage. Using new bag: NO
05:24:57 E itunesstored(StoreServices)[160] : SSURLSessionManager: A nil value was loaded from the bag for key TLSSamplingSessionDuration. Using new bag: NO
05:25:04 E ReportMemoryException[562] : Got xpc error message in ReportMemoryException client connection: Connection invalid

https://github.com/ratson/cordova-plugin-admob-free/issues/352


Added Dashboard Elasticsearch mapping

Summary of Changes
Added Dashboard Elasticsearch mapping
Tests
Integration test done
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test

Codecov Report

Merging #261 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
+ Coverage   74.42%   74.44%   +0.01%
==========================================
  Files          99      100       +1
  Lines        4184     4187       +3
  Branches      387      387
==========================================
+ Hits         3114     3117       +3
  Misses        971      971
  Partials       99       99

Impacted Files
Coverage Δ

databuilder/publisher/elasticsearch_constants.py
100.00% <100.00%> (ø)

databuilder/publisher/elasticsearch_publisher.py
86.36% <100.00%> (ø)

Continue to review full report at Codecov.

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


Another date format to handle

While extracting I got an error for unsupported date format. I have the fix here. In this case, the date is already in ISO 8601 format.

@sudrao thanks for the fix! I hadn't come across this format yet.


Fixed all problems

Lots and lots of problems, all fixed
Next step is to change from joint effort controller to another type of controller
Next create a teleop keyboard control to control the omnibot with just the keyboards.
Also the omnibot seems to be shaking a lot, this could use a fix
https://github.com/turtlebot/turtlebot/tree/kinetic/turtlebot_teleop

Looks good I guess


Fix the bug that the deleted_at of leaf hub info isn't removed

Signed-off-by: myan<EMAIL_ADDRESS>Resolve: https://issues.redhat.com/browse/ACM-9623

/cc @clyang82 @ldpliu

/lgtm


[MM-38854] - remove extra space from message when no edit indicator is present

Summary
this PR removes an extra whitespace from messages, when no edit indicator is being rendered. This led to several failing cypress tests.
Ticket Link
MM-38854
Release Note
NONE

Cypress test (ongoing) at https://automation-dashboard.vercel.app/cycles/1ebb3a35-36b3-4240-88bc-2fb924539308

Thanks @michelengelen
I looked at the test results for the PR E2Es and still seeing errors for extra space. For example

@saturninoabril could you please re-run the tests with the latest commit? This should finally fix it!

Currently running at https://automation-dashboard.vercel.app/cycles/bb6bb195-5623-4913-839b-e4a6daa2f974

Looks like it's still encountering the same failure. Have you tried running Cypress locally and see if the particular passes on you?

Cypress test at https://automation-dashboard.vercel.app/cycles/8d295b00-5042-4df0-b557-dec430599ff4

@saturninoabril it seems as if the tests are not longer failing ... :D

I'm merging this now.


Make the game playable

Errored out player snakes should repeat previous move
Each tick, all snakes advance by their move
A snake which turns out to be dead in the new state dies. Its head is removed, and all other segments turn to food.
Each turn, have n(life snakes)-1 pieces of food.
Spawn snakes as just the head

Sirpent-rust now essentially works, albeit with many defects to be addressed. Here's an update on these bullet points:

Errored-out player snakes die immediately, being replaced with food before anything can collide with them.
Each tick, all snakes advance by their move.
A snake which turns out to be dead in the new state dies. All segments turn to food.

"Its head is removed" might still be helpful for having logically simple rules.

The only food available comes from dead snakes. Food is never removed even when eaten - obviously a bug.
Spawn snakes as just the head.

I'll try to fill out all defects I can think of as issues to start tidying up!

I believe sirpent-rust nearly works! However it needs a few things:

Player management. When Snakes die, players need evicting (or at least ignoring).
Players should be told CauseOfDeath. I'm rather happy to bring this sirpent-go concept back so neatly in https://github.com/sirpent-team/sirpent-rust/commit/15299159a4ceda855c46532b205377f7ce89f906.
Testing, which I've been rather lax with while trying different structural approaches to GameState.
A small working demo AI. (dummy_client.rs just moves North until it dies.)

I believe this is now playable! 😄 Albeit with much refactoring needed.


Fix getting max magnitude in AudioEffectSpectrumAnalyzer

The fix looks good, but could you amend the commit log to be more explicit? The log should tell a reader what the commit is about without having to read every commit diff. Something like "Fix getting max magnitude in AudioEffectSpectrumAnalyzer".

The log should tell a reader what the commit is about without having to read every commit diff. Something like "Fix getting max magnitude in AudioEffectSpectrumAnalyzer".

Force pushed a git commit --amend to do this.

Thanks!

Cherry-picked for 3.1.2.


[duplicate code] Why use one_hot * weight if one_hot = torch.ones

Hi, thank you for sharing. There are some part of the code i don't understand their importance. one_hot is defined as torch.ones(inputs.size(0), knn). So why do you need to multiply the confidence score weights by a matrix which values are all ones?
https://github.com/zhunzhong07/ECN/blob/5c5c1772e7ce27cdb560feee49dca684adfd1448/reid/loss/invariance.py#L76
I try to to visualize the results, and there not difference between one_hot * weights and simply using weights.
Thank you

Yeach, you can directly use weights instead of ones_mat * weights.


When a new repository is created, all resources are replaced

When adding a new repository and running terraform apply again to propagate permissions over the new repo, all the existing github_team_repository resources are replaced.
Terraform Version
Terraform v0.12.28
+ provider.github v2.9.2

Affected Resource(s)

github_team_repository

Terraform Configuration Files
data "github_repositories" "all-repos" {
  query = "org:micronaut-projects"
}
resource "github_team" "core-developers" {
  name        = "core-developers"
  description = "Micronaut core development team"
  privacy     = "closed"
}
resource "github_team_repository" "core-developers-all-repos-maintain" {
  count      = length(data.github_repositories.all-repos.names)
  team_id    = github_team.core-developers.id
  repository = element(sort(data.github_repositories.all-repos.names), count.index)
  permission = "maintain"
}

Debug Output
Lots of these:
  # github_team_repository.oci-developers-all-repos-push[60] must be replaced
-/+ resource "github_team_repository" "oci-developers-all-repos-push" {
      ~ etag       = "W/\"19bc2043d7116f8652b954356fdcce21\"" -> (known after apply)
      ~ id         = "3949055:micronaut-test" -> (known after apply)
        permission = "push"
      ~ repository = "micronaut-test" -> "micronaut-starter" # forces replacement
        team_id    = "3949055"
    }

Expected Behavior
Only the new github_team_repository resources are created for the newly created repo
Actual Behavior
All github_team_repository resources are replaced (destroyed, created), plus the new ones created

It turns out the problem is because count creates index-based resources, that would get changed when new elements are added.
Using for_each solves the problem:
resource "github_team_repository" "core-developers-all-repos-maintain" {
  for_each   = toset(data.github_repositories.all-repos.names)
  team_id    = github_team.core-developers.id
  repository = each.key
  permission = "maintain"
}


[bug] zwave2mqtt crash during initialization when value polling enabled on sleeping device

Version
Build/Run method

[ ] Docker
[ ] PKG
[X] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: latest git (Feb 13, 2020)
Openzwave Version: latest git (Feb 13, 2020)
Describe the bug
Zwave2Mqtt crash when polling intensity enabled on 'time' value.
To Reproduce

Setup polling interval to 10000ms
Setup Danfos Living Connect thermostat
Setup New Value for 'Day', 'Hour', 'Minute'
Setup polling intensity to 1 on 'Minute'
Restart zwave2mqtt

After restart zwave2mqtt crashes.
I've tried to set up polling of this values via zwave api call (mqtt api) - and it works, but polling will not persist after zwave2mqtt restart.
Expected behavior
Polling should apply without problems right after device initialization.
Additional context
It seems that valueID is not available yet (device initializes) during this call:
02-13T20:41:06.295Z z2m:Zwave Notification from node 9: Notification - NoOperation (2)
/home/zwave/Zwave2Mqtt/lib/Gateway.js:258
        if (!this.zwave.client.isPolled(v)) {
                               ^

TypeError: OpenZWave valueId not found: 9-129-1-2
    at Gateway.onNodeStatus (/home/zwave/Zwave2Mqtt/lib/Gateway.js:258:32)
    at ZwaveClient.emit (events.js:321:20)
    at ZwaveClient.notification (/home/zwave/Zwave2Mqtt/lib/ZwaveClient.js:504:14)
    at OZW.emit (events.js:333:22)

Seems that problem is cause my device was somehow in state 'DEAD' and there was no any properties/values for it. Anyway it should not lead to zwave2mqtt crash I think...

@kvaster Thanks for your issue, that error is strange as at that point node is marked as ready so it should have all values, maybe it gets ready and immediatly dead before calling that api. Anyway I have added a try catch to handle this now :) thanks!


[haxe] add using next import declaration generation

To allow haxe developers work more easier with static extensions.
At the moment I import the class I need, then scroll up, then rename import to using. It would be neat to have it in the options list. Ctrl+Shift+1 ftw!

What options list?

To the autocomplete option list.

With Ctrl+Shift+1, modules are imported automatically without any options list popping up... or am I missing something?

Yes but I think to implement this idea you do need a option list.
So this would be the flow:
Math<CTRL-SHIFT-1>

this list appears
Import Math
Using Math

When I choose Import Math it adds an import-statement
When I choose Using Math  it adds an using-statement, the class will be available as static extension.

Yeah, that wasn't really clear from your original suggestion. It sounded like "just add that to the options list", when there really isn't any options list right now.
This makes RALP4B

RALP4B?

We don't want every Ctrl+Shift+1 to import to be a list unless there's an ambiguity. I believe it's fairly rare to add a using statement in practice.
But it would be nice to have some quick way to add a using type - open to other suggestions.

I'm using these using-statement quite often tbh, it's really nice. For example to work with bitsets. Also, I have quite some utility classes that are written for it.
As alternative, create auto-imports without and add one option with the using-statement when "Ctrl+Shift+1"ing on a type?

I don't see this happening anymore, ill close it.

I still think it is a reasonable request but we didn't agree on a way to approach it.
Maybe we could "promote" an import to "using" using Ctrl+Shift+1?

You mean like a toggle? I think (not sure) you could use using and import at the same time.

If FD properly understood using, it could suggest them in completion and add them automatically when selecting (Visual Studio does this for static extension methods in C#).

No I meant maybe if you Ctrl+Shift+1 on an imported type it could propose to promote it to 'using'.
Suggesting static extensions automatically might be a costly operation using FD code model because I think absolutely any static method could be used.

Right, I guess it works well in C# since you have to be explicit about it there (adding the this keyword to the parameter)...


Enable CodeQL scanning on all repositories

Must be completed by an admin
Instructions: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-default-setup-for-code-scanning

/assign @qu1queee @SaschaSchwarze0

Since we have been running the trial on shipwright-io/build what do you all think of enabling it on the rest of the code repositories?

Yes, I think I have observed enough in the meantime. What is not ideal is, that CodeQL only runs if there are really code changes. This means for example that we cannot declare CodeQL checks as required in the branch settings. But, so be it.

I think that it also runs periodically.

This is done for build, cli, image, operator, triggers.


Update to Best Practices or add warning

Please update this repo to the current Symfony Best Practices or add a warning to the README file.
Symfony Best Practices:
http://symfony.com/doc/current/best_practices/index.html

Paradoxically in best practices introduction there is written

###Don't Update Your Existing Applications

After reading this handbook, some of you may be considering refactoring your existing Symfony applications. Our recommendation is sound and clear: you should not refactor your existing applications to comply with these best practices. The reasons for not doing it are various:

Your existing applications are not wrong, they just follow another set of guidelines;
A full codebase refactorization is prone to introduce errors in your applications;
The amount of work spent on this could be better dedicated to improving your tests or adding features that provide real value to the end users.


Prometheus doesn't install on arm64 cluster

Describe the bug
I do not have Prometheus installed on my arm64 microk8s cluster. I clicked the install button in Lens settings and it attempted to deploy, but the pod was unable to start - crashloopbackoff.
To Reproduce
Steps to reproduce the behavior:

Connect to an arm64 cluster
Click around to ensure Lens is connected/working other than Prometheus
Go to settings for the cluster
Click on install prometheus
Click back to dashboard and see errors as pod fails to initialize

Expected behavior
I expected prometheus to install and come up, lighting up the dashboard in Lens.
Environment (please complete the following information):

Lens Version: 3.4.0
OS: Windows 10 (client); Ubuntu 18.04 (k8s nodes); Microk8s 1.18.2
Installation method (e.g. snap or AppImage in Linux): Win10 installer

Hi @rockfordlhotka
New version runs Prometheus , but u need now change deploy in kube-state-metrics
and change image for carlosedp/kube-state-metrics:v1.9.6
that image have support for arch amd64, arm, arm64
coreos/kube-state-metrics have only amd64 and not support for others arch.
I run in raspberry pi 4 arm64 kernel

This should be "fixed" in 3.5.0 already via https://github.com/lensapp/lens/pull/400. With "fixed" I mean that kube state metrics should now be left in "Pending" state as it cannot find proper node as itäs using only amd64 selector

@jnummelin with new version I got warning message, that not good idea, better add one image with amd64, arm, arm64 builds and so everyone can use Lens, Carlos image is fine have recent build from metrics and 100k+ downloads

@BlackMix if I understand correctly, you are saying that I can't have Lens install Prometheus.
I need to find the deployment file (which is where?), edit it, and install Prometheus by hand?

@rockfordlhotka nop, u install normal in  Lens and stop kube-state-metrics deploy with scale 0, so u edit deploy with new image: carlosedp/kube-state-metrics:v1.9.6
after edit image back scale for 1

Oh, ok. I need to do some learning 😄

I think now this fix it #484
I tested and run without errors.
node arm64

I finally got enough time to try this again - latest version of microk8s on arm64 and latest version of Lens. It does make a good effort, but kube-state-metrics doesn't start on any of the nodes because they don't match the node selector. I'm afraid I am not sure what that means?

Is the problem because there's no selector for arm64?
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: kubernetes.io/os
                    operator: In
                    values:
                      - linux
                  - key: kubernetes.io/arch
                    operator: In
                    values:
                      - amd64
              - matchExpressions:
                  - key: beta.kubernetes.io/os
                    operator: In
                    values:
                      - linux
                  - key: beta.kubernetes.io/arch
                    operator: In
                    values:
                      - amd64

Yes, this is one of the problems. But when I tried to add the value in the in the matchExpressions statements, then it failed to start the pod with a CrashLoopBackOff problem.
The good news are that until now kube-state-metrics didn't have support (image) for arm64, but it seems that they started to work on this 11 days ago. You can follow the issue and PR in their official Github project:
Issue: https://github.com/kubernetes/kube-state-metrics/issues/1037
PR: https://github.com/kubernetes/kube-state-metrics/pull/1190

My current workaround is to repurpose a 2007 era laptop that was gathering dust as a k8s node, so I have one amd64 node that can run this particular container.

Is there any news about the issue?

I make it work in my local Raspberry Pi cluster under the arm64/v7 architecture.
For that, I had to edit these nodeAffinity annotations for the kube-state-metrics deployment in the lens- metrics namespace. Otherwise, the pods won't be scheduled to run since it is unable to find any matching expression.
     affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: kubernetes.io/os
                    operator: In
                    values:
                      - linux
                  - key: kubernetes.io/arch
                    operator: In
                    values:
                      - arm64
              - matchExpressions:
                  - key: beta.kubernetes.io/os
                    operator: In
                    values:
                      - linux
                  - key: beta.kubernetes.io/arch
                    operator: In
                    values:
                      - arm64

Also, I had to update the Deployment image, to point to the specific image for ARM. (To know which images tags use, check here). I updated the deployment image in order to use k8s.gcr.io/kube-state-metrics/kube-state-metrics-arm64:2.0.0-alpha.1.
Using the provided Quay repository doesn't work since the image was build for the amd64 architecture.
I would recommend using Moby BuildKit to build multi-architecture images (at least for the most popular architectures), or updating the Registry to use the above listed images.

@pixie79 could you share your manifest, mate? I'd love to test it on my Nvidia Jetson Nano node. My previous attempts failed quite miserably :)

I can confirm that it works with k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.0.0-beta,
The quay.io only supports amd64, we should switch to the gcr.io image by default.

FYI: PR submitted: #2846

My current workaround is to repurpose a 2007 era laptop that was gathering dust as a k8s node, so I have one amd64 node that can run this particular container.

is there any schedule release new version on arm?

I think this has been already fixed (since v5.0).


Ensure status field in every log line

Fixes #30
Motivated by https://github.com/pangeo-forge/pangeo-forge-orchestrator/pull/150#issuecomment-1263195273

@yuvipanda, I think maybe this FIXME:
https://github.com/pangeo-forge/pangeo-forge-runner/blob/506616af091562b89d102af6d43ef1a1a784ba3f/pangeo_forge_runner/commands/base.py#L187-L188
is why this log line

https://github.com/pangeo-forge/pangeo-forge-runner/actions/runs/3156980724/jobs/5137303685#step:7:303

only has a "message" field? If so, is there anything to be done about it? If not, why does this line not have a "status"?


Custom styles for horizontal lines (groups)

Is your feature request related to a problem? Please describe.
Especially when using the tree groups example it is frustrating that I can't style the headers of the groups different than the groups itself. Also I would like to overwrite the calculated height with a custom height.
Describe the solution you'd like
For the height: If the height is specified in the group, the lib should use this as the height and not the calculated height.
For the custom style: Every time the horizontal line is rendered, I would like to have a callback where I can supply custom styles.
Describe alternatives you've considered
I've seen that there was/is a plugin approach which makes it possible to make something of this happen, but it seems that there is no documentation and the link to the example is dead. Alternatively we could support categories natively.
Additional context
I will submit an PR.

Released in 0.19.0


Add zip to Free (allows Free definitions to be interleaved)

See http://blog.higher-order.com/assets/trampolines.pdf

Released in 2.0.0-FINAL


Improved View support for updating entire HTML

From<EMAIL_ADDRESS>on February 20, 2014 11:30:23
Some views completely replace their HTML when certain values or properties are updated.  Better support for this should be added to either AbstractView or a subclass of AbstractView
Original issue: http://code.google.com/p/foam-framework/issues/detail?id=204

updateHTML exists for U1; U2 supports this through better reactivity.


File whatcher

Checkmarx One – Scan Summary & Details – fbb14dce-635a-464b-9486-01b10b9ec47f
No New Or Fixed Issues Found


Please add detail about the effect of using this configuration

When EF Core migrations is invoked this affects whether the key is created as clustered or nonclustered.
Does this also affect how queries are built against the DB or any other app run-time behavior?

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

ID: 87caff3a-0ed3-8806-87a2-b9fd25f442a5
Version Independent ID: 2fe216a5-17a4-f231-ff86-2710d702dcf8
Content: SqlServerKeyBuilderExtensions.IsClustered Method (Microsoft.EntityFrameworkCore)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/SqlServerKeyBuilderExtensions.xml
Product: entity-framework-core
GitHub Login: @dotnet-bot
Microsoft Alias: divega

@bbrandt No, EF doesn't use this to do anything different outside of Migrations.


storage: bump consensus RegistryEvents cache key

reindex encountered a legacy RegistryRuntimeRegistered at height 3027847

oh this needs new e2e data


Add additional time frames for filtering.

Is your feature request related to a problem? Please describe.
Currently we would like to do financial reporting inside Superset, so we are lacking Current fiscal quarter, Previous fiscal quarter, etc.
Describe the solution you'd like
These filtering options are present.  (making a quick-follow PR for this)
Describe alternatives you've considered
There aren't any to make this simple.
Additional context
N/A

I am working on this right now, should have a PR up shortly.


Broken links to articicestudio.com and svengreb.de in the footer

Prerequisites

[x] *Ensure the bug has not already been reported by using the GitHub Issues search
[x] Ensure your contribution belongs to the correct main or port project repository.
[x]  Ensure the bug is reproducible and has not already been fixed — use the latest version and develop branch.

Description
A heads up that the two links in the footer lead to the default 404 not found page.  Love the docs website and learning a lot from the animations, thanks for making it open source!
Steps to Reproduce

Click on the links in the footer

Expected Behavior
It takes you to the functional relevant websites.
Actual Behavior
Leads you to broken websites.
Environment and Versions
Running on windows and using Chromium Edge, though I doubt that makes a difference.

Hi @HiranmayaGundu :wave:, thanks for your contribution :+1:
Nice to see you like the project!
The links are broken due to the fact that both the Arctic Ice Studio and my personal (Sven Greb) websites are still large items on "get it done" list, but unfortunately my days of have 24 hours 😄
I've already added them to the footer to ensure reference backtracking but also so I don't have to update the site when I deploy both sites to the public.
Maybe I'll find some time to set up minimal (placeholder) sites so that the 404 are gone, but at the moment there are a lot of other important tasks. Thanks for your report anyway 👍

Ah okay! Thanks for your work 😁


Mutually-recursive functions without type info cause compiler panic

Per @xonixx's comment, GoAWK can still panic on mutually-recursive functions that don't have clear type information (pass their args onto new functions without using them as a scalar or array). This doesn't happen often in real code, but it's relatively simple to create an example that breaks the compiler. Copying @xonixx's message below:

Well, but topological sort can sort nodes only when there are no loops in the call graph. Since in the presence of mutual recursion there are loops in the graph I'm not sure that topoSort can help at all. I've played a bit with your example:

function f1(a) { if (0) f5(z1); f2(a) }
function f2(b) { if (0) f4(z2); f3(b) }
function f3(c) { if (0) f3(z3); f4(c) }
function f4(d) { if (0) f2(z4); f5(d) }
function f5(i) { if (0) f1(z5); i[1]=42 }
BEGIN { x[1]=3; f5(x); print x[1] }

Still fails:

$ ../../proj/gron.awk/soft/goawk1.23.2 -f delme.awk
42

$ ../../proj/gron.awk/soft/goawk1.23.2 -f delme.awk
42

$ ../../proj/gron.awk/soft/goawk1.23.2 -f delme.awk
panic: internal error: found scalar when expecting array "z3" [recovered]
        panic: interface conversion: interface {} is string, not *compiler.compileError [recovered]
        panic: interface conversion: interface {} is *runtime.TypeAssertionError, not *ast.PositionError

goroutine 1 [running]:
github.com/benhoyt/goawk/parser.ParseProgram.func1()
        /home/ben/h/goawk/parser/parser.go:70 +0xf4
panic({0x54b7c0, 0xc0000a09f0})
        /home/ben/sdk/go1.20.4/src/runtime/panic.go:884 +0x213
github.com/benhoyt/goawk/internal/compiler.Compile.func1()
        /home/ben/h/goawk/internal/compiler/compiler.go:66 +0x78
panic({0x544880, 0xc00009e680})
        /home/ben/sdk/go1.20.4/src/runtime/panic.go:884 +0x213
github.com/benhoyt/goawk/internal/compiler.(*compiler).arrayInfo(0x54a2c0?, {0xc0000b409a, 0x2})
        /home/ben/h/goawk/internal/compiler/compiler.go:206 +0xd4
github.com/benhoyt/goawk/internal/compiler.(*compiler).expr(0xc0000e5640, {0x59e9f8?, 0xc0000b21c0?})
        /home/ben/h/goawk/internal/compiler/compiler.go:895 +0x356a
github.com/benhoyt/goawk/internal/compiler.(*compiler).stmt(0xc0000e5640, {0x59ed00?, 0xc0000a04b0?})
        /home/ben/h/goawk/internal/compiler/compiler.go:310 +0xd9f
github.com/benhoyt/goawk/internal/compiler.(*compiler).stmts(...)
        /home/ben/h/goawk/internal/compiler/compiler.go:221
github.com/benhoyt/goawk/internal/compiler.(*compiler).stmt(0xc0000e5640, {0x59edc0?, 0xc0000cc700})
        /home/ben/h/goawk/internal/compiler/compiler.go:335 +0x31c9
github.com/benhoyt/goawk/internal/compiler.(*compiler).stmts(...)
        /home/ben/h/goawk/internal/compiler/compiler.go:221
github.com/benhoyt/goawk/internal/compiler.Compile(0xc0000cc930)
        /home/ben/h/goawk/internal/compiler/compiler.go:104 +0x1709
github.com/benhoyt/goawk/parser.ParseProgram({0xc0000dc000?, 0x7ffc83d26ea8?, 0x9?}, 0xc0000e5dd0)
        /home/ben/h/goawk/parser/parser.go:91 +0x19b
main.main()
        /home/ben/h/goawk/goawk.go:269 +0x1fd3

$ gawk -f delme.awk
42

$ mawk -f delme.awk
42

Also note, how it passes or fails sporadically with GoAWK. I think this is due to randomized map iteration in Go.

FWIW, GoAWK had issues with this prior to the resolver rewrite in v1.23.0, though it was an error rather than a panic:
$ git checkout v1.22.0
$ go run . -f t.awk
t.awk:1:33: can't pass scalar "a" as array param
function f1(a) { if (0) f5(z1); f2(a) }
                                ^
exit status 1
$ go run . -f t.awk  # it's intermittent there as well
42

Old enough versions, like 1.13.0 or 1.9.2 working well on this one.

Note that this broke between v1.18.0 and v1.19.0 in commit https://github.com/benhoyt/goawk/commit/0bc9499481ee7775f1cc5fcca3bcac1443811bf4, which introduces topological sorting. Previously we tried to resolved vars in a loop, up to 500 max iterations while we were still "progressing" (i.e., assigning one or more unknown types), which was potentially O(N^2) but at least did the job.

@xonixx It's a bit of a brute-force solution, but here's my fix: https://github.com/benhoyt/goawk/pull/187 -- let me know if you have better ideas.

Looks good to me. Looks like not much else can be done with the current architecture. Also I guess that topo sort is needed strictly as optimization, right?

Also I guess that topo sort is needed strictly as an optimization, right?

Yes, that's right. It's on optimization for "normal" tree-like call graphs to only take one pass.
I think I'll merge this fix, and contemplate this further. I'm sure there's a more elegant way to solve this, but it's not urgent or particularly necessary.


Trigger CI after all dependencies got available

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[SR-11588]Warn about derived Hashable implementation if there’s a custom Equatable

This is a first approach to add the desired warning for custom Equatable implementation during Hashable synthesis.
It’s working for struct just fine but it crashes when running test/Sema/implementation-only-import-in-decls.swift for some reason it don’t like enum types.
Other improvements before merging are increase the test coverage in test/Sema/diag_custom_equatable_syntheszied_hashable.swift and replicate the same warning in the opposite direction for custom Hashable implementation during Equatable synthesis.

Resolves SR-11588.

Please run clang-format as well to ensure your changes fit within the 80-column limit!

cc @lorentey

Please run clang-format as well to ensure your changes fit within the 80-column limit!

I’ve run it on the file but it has changed a lot of formatting in the file apart the block I’ve added. It’s okay to add all the changes or is better to revert all the other changes and keep only my formatted block?

Can you share the stack trace?

Here it is.
1.      Swift version 5.1.1-dev (LLVM f4c2b4eca6, Swift 32c1b05168)
2.      While type-checking protocol conformance to 'Hashable' (in module 'Swift') for type 'TestRawType' (declared at [/swift-source/swift/test/Sema/implementation-only-import-in-decls.swift:65:8 - line:68:1] RangeText="enum TestRawType: IntLike { // expected-error {{cannot use struct 'IntLike' here; 'BADLibrary' has been imported as implementation-only}}
  case x = 1
  // FIXME: expected-error@-1 {{cannot use conformance of 'IntLike' to 'Equatable' here; 'BADLibrary' has been imported as implementation-only}}
")
0  swiftc                   0x000000010d1be0c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  swiftc                   0x000000010d1bd355 llvm::sys::RunSignalHandlers() + 85
2  swiftc                   0x000000010d1be6b8 SignalHandler(int) + 264
3  libsystem_platform.dylib 0x00007fff57d2bb5d _sigtramp + 29
4  libsystem_platform.dylib 0x00007ffee841d608 _sigtramp +<PHONE_NUMBER>
5  libsystem_c.dylib        0x00007fff57be56a6 abort + 127
6  libsystem_c.dylib        0x00007fff57bae20d basename_r + 0
7  swiftc                   0x0000000109fb1b77 swift::RootProtocolConformance::getWitnessDeclRef(swift::ValueDecl*) const + 167
8  swiftc                   0x0000000109fb03dd swift::ProtocolConformance::getWitnessDeclRef(swift::ValueDecl*) const + 93
9  swiftc                   0x0000000109fb0366 swift::ProtocolConformanceRef::getWitnessByName(swift::Type, swift::DeclName) const + 198
10 swiftc                   0x0000000109117245 swift::DerivedConformance::deriveHashable(swift::ValueDecl*) + 1093
11 swiftc                   0x00000001093205bb swift::TypeChecker::deriveProtocolRequirement(swift::DeclContext*, swift::NominalTypeDecl*, swift::ValueDecl*) + 315
12 swiftc                   0x0000000109320323 swift::ConformanceChecker::resolveWitnessViaDerivation(swift::ValueDecl*) + 275
13 swiftc                   0x0000000109320f11 swift::ConformanceChecker::resolveWitnessTryingAllStrategies(swift::ValueDecl*) + 289
14 swiftc                   0x00000001093221e1 swift::ConformanceChecker::resolveValueWitnesses() + 401
15 swiftc                   0x000000010931a8a9 swift::ConformanceChecker::checkConformance(swift::MissingWitnessDiagnosisKind) + 553
16 swiftc                   0x00000001093185dc swift::MultiConformanceChecker::checkIndividualConformance(swift::NormalProtocolConformance*, bool) + 3292
17 swiftc                   0x0000000109317620 swift::MultiConformanceChecker::checkAllConformances() + 144
18 swiftc                   0x00000001093242fb swift::TypeChecker::checkConformancesInContext(swift::DeclContext*, swift::IterableDeclContext*) + 1035
19 swiftc                   0x0000000109479cc6 typeCheckFunctionsAndExternalDecls(swift::SourceFile&, swift::TypeChecker&) + 470
20 swiftc                   0x000000010947a459 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) + 1017
21 swiftc                   0x0000000107e68735 swift::CompilerInstance::parseAndTypeCheckMainFileUpTo(swift::SourceFile::ASTStage_t, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>) + 965
22 swiftc                   0x0000000107e66bd0 swift::CompilerInstance::parseAndCheckTypesUpTo(swift::CompilerInstance::ImplicitImports const&, swift::SourceFile::ASTStage_t) + 384
23 swiftc                   0x0000000107e66007 swift::CompilerInstance::performSemaUpTo(swift::SourceFile::ASTStage_t) + 807
24 swiftc                   0x0000000107e6606a swift::CompilerInstance::performSema() + 26
25 swiftc                   0x00000001078f3509 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 457
26 swiftc                   0x00000001078f2589 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2121
27 swiftc                   0x00000001077dfee4 run_driver(llvm::StringRef, llvm::ArrayRef<char const*>) + 292
28 swiftc                   0x00000001077df1f3 main + 1875
29 libdyld.dylib            0x00007fff57b403d5 start + 1
30 libdyld.dylib            0x0000000000000013 start +<PHONE_NUMBER>

@DougGregor sorry to ping, but I've read in the CODE_OWNERS file that you are associated with the Sema. Do you know how can I catch that the equality conformance is implemented in another module and that I cannot get the witness for it?
I‘ve tried to look everywhere but I’m not seeing anything useful for a check against it :(

Can one of the admins verify this patch?

@swift-ci please smoke test

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)

@beccadax hi, sorry to ping you, I've finally solved the issue and on my mac all the tests are running fine. There is more changes I have to do?

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 3778c30ec33b56fd6a73050c0ebba5fd803a53a0

Build failed
Swift Test OS X Platform
Git Sha - 3778c30ec33b56fd6a73050c0ebba5fd803a53a0

I've rebased the repo and run all the tests with utils/run-test --lit ../llvm-project/llvm/utils/lit/lit.py ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m)/test-macosx-$(uname -m) and nothing is breaking this time.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - bdc68ea659ec34c482f1c26facfb65fc90c7750e

Build failed
Swift Test OS X Platform
Git Sha - bdc68ea659ec34c482f1c26facfb65fc90c7750e

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test


No links to example videos

The TourRobotDance project’s README and GitHub metadata lack any links to videos (or GIFs, or other such trans-ephemeral documentation) of tape library robots dancing – thus depriving the overwhelming percentage of the GitHub community who lack the professional connections that could possibly grant an audience for a display as notionally thrilling as this, of any sort of concrete resolution for the piqued appetite for robot-dance displays that this projects’ description invariably inflames in the nerdly-inclined reader.
Please, don’t leave us stranded out here in the robotic equivalent of the town from “Footloose” – add a clarifying link to an example robot dance performance.
Thanks!

Let's see what we can do!
@cleary3, do we have something like this?

No, we have no such media materials. Our tape libraries are located in areas that make filming and photography difficult. Nonetheless, for those organizations that have SL8500 tape libraries and give tours that include the libraries on the tour route, it will be straightforward for them to imagine what a robot dance might entail and how it might enliven their data center tours (even without multimedia in the project README).


same equation, different font size issue

I am not sure if it's a bug, it's pretty weird.
The following two equations are equivalent:
\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n

\frac{{\frac{{1}}{{2}}{\left[{1}-{\left(\frac{{1}}{{2}}\right)}^{{n}}\right]}}}{{{1}-{\left(\frac{{1}}{{2}}\right)}}}={s}_{{n}}

But they are rendered in different size:

How to reproduce it quickly
Open http://mdp.tylingsoft.com/ and copy paste the following:
`$\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n$`

`$\frac{{\frac{{1}}{{2}}{\left[{1}-{\left(\frac{{1}}{{2}}\right)}^{{n}}\right]}}}{{{1}-{\left(\frac{{1}}{{2}}\right)}}}={s}_{{n}}$`

They are definitely not equivalent, one uses \dfrac and the other uses \frac. In \dfrac (essentially short for \displaystyle\frac) the top and bottom of the fraction are rendered in textstyle (the normal font size). In plain \frac, the top and bottom of the fraction are rendered in scriptstyle, which is smaller than textstyle. So, this isn't a bug in KaTeX, it's just how TeX works!
You can search the internet for "difference between \frac and \dfrac" and get more detailed answers.


pip install error

On Mac x86, just using pip install -r requirement.txt with python3.7.4.
 Using cached http://mirrors.aliyun.com/pypi/packages/f1/00/c1b90843cb80e6a1911f480e92a92b1258efcdd32ed4fe87449703416fc4/multiprocess-0.70.14-py37-none-any.whl (115 kB)
Collecting pytz>=2017.3
  Using cached http://mirrors.aliyun.com/pypi/packages/9c/3d/a121f284241f08268b21359bd425f7d4825cffc5ac5cd0e1b3d82ffd2b10/pytz-2024.1-py2.py3-none-any.whl (505 kB)
Building wheels for collected packages: pycocotools
  Building wheel for pycocotools (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pycocotools (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-x86_64-cpython-37
      creating build/lib.macosx-10.9-x86_64-cpython-37/pycocotools
      copying pycocotools/coco.py -> build/lib.macosx-10.9-x86_64-cpython-37/pycocotools
      copying pycocotools/mask.py -> build/lib.macosx-10.9-x86_64-cpython-37/pycocotools
      copying pycocotools/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-37/pycocotools
      copying pycocotools/cocoeval.py -> build/lib.macosx-10.9-x86_64-cpython-37/pycocotools
      running build_ext
      Compiling pycocotools/_mask.pyx because it changed.
      [1/1] Cythonizing pycocotools/_mask.pyx
      building 'pycocotools._mask' extension
      creating build/common
      creating build/temp.macosx-10.9-x86_64-cpython-37
      creating build/temp.macosx-10.9-x86_64-cpython-37/common
      creating build/temp.macosx-10.9-x86_64-cpython-37/pycocotools
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/peng/miniconda3/envs/ofa374/include -arch x86_64 -I/Users/peng/miniconda3/envs/ofa374/include -arch x86_64 -I/private/var/folders/zq/g_1hwvtx4g1b6kth8c0ndtqh0000gp/T/pip-build-env-ce7_1goe/overlay/lib/python3.7/site-packages/numpy/core/include -I./common -I/Users/peng/miniconda3/envs/ofa374/include/python3.7m -c ../common/maskApi.c -o build/temp.macosx-10.9-x86_64-cpython-37/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
      clang: error: no such file or directory: '../common/maskApi.c'
      clang: error: no input files
      /private/var/folders/zq/g_1hwvtx4g1b6kth8c0ndtqh0000gp/T/pip-build-env-ce7_1goe/overlay/lib/python3.7/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/zq/g_1hwvtx4g1b6kth8c0ndtqh0000gp/T/pip-install-4eobvhax/pycocotools_6653e305e43c4861a088495938238511/pycocotools/_mask.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pycocotools
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

Try changing your pycocotools version into "pycocotools==2.0.6" in your requirements.txt


How to add dynamic routes such as /user:id/

Greetings,
How does one add dynamic routes for instance if I'm fetching data from some external source and I want to dynamically load a detail page with said route.

Hi @rwatts3
To create the route /user/:id, simply add the file pages/user/_id.vue
Please take a look at the custom-routes example.

Sorry to reopen this issue,
everything worked perfectly until I went to generate the static project, and received this error,
Could not generate the dynamic route /foodetail/:id, please add the mapping params in nuxt.config.js (generate.routeParams).

I could not find documentation demonstrating how to do this.

To add more detail
The routes are dynamically genested via an adios function call. Therefore each id May be different depending on the data returned from the ajax call.
I saw a precious issue that suggested adding each id as an array of ids but that woildnt work on my case as the ids are in the ajax call.

Hi,
Yes there no documentation yet, we are working on it actually.
However, you can see an example here on how we use it on nuxtjs.org website.
In your case you can return a promise (with axios) in the nuxt.config.js which return an array of all IDS.

Awesome thank you
On Tue, Dec 20, 2016, 12:46 PM Alexandre Chopin<EMAIL_ADDRESS>wrote:

Hi,
Yes there no documentation yet, we are working on it actually.
However, you can see an example here
https://github.com/nuxt/nuxtjs.org/blob/master/nuxt.config.js on how we
use it on nuxtjs.org website.
In your case you can return a promise (with axios) in the nuxt.config.js
which return an array of all IDS.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/73#issuecomment-268339888, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFFsSUjz_IbIt1qOC7wYmUY5mp4lywdAks5rKDCxgaJpZM4LRYqL
.

@alexchopin when we have a new user, do we need to re generate the static files? or routeParams handling it dynamically?
Thanks

@cfharyadi yes, you need to generate again to have the new user in your static files. routeParams return the list of all user IDs, to allow nuxt generate to create a static file for each ID.

Thanks @alexchopin, I see.. however can we have a dynamic content within the page itself? for example weather widget or basically any dynamic data from backend API.
Also what's the best way to hydrate the static file with initial state, so the page don't have to make ajax call after page load.
Thanks again!

@cfharyadi are you talking about nuxt generate or simply nuxt?
You might want to try it on your own to understand more how it works :)
https://nuxtjs.org/guide/
The point of nuxt.js is to render the page from the server-side and avoid any ajax call after the page load.

@alexchopin Does this work with alphanumeric params? I'm using dynamic routes and parameters have no predefined pattern. eg. 'SU001A5978', 'IOCC' or 'AN005476'
Currently getting 'Could not generate the dynamic route…' error.

@elouhenpera can you show use you setup for generate option in your nuxt.config.js to help you?

@alexchopin Thanks for quick response. Meanwhile, I finally got routeParams sorted out. Now it is rendering my 1000 or so dynamic routes.
However, some of them are spitting out "UnhandledPromiseRejectionWarning" -errors. Those too are probably my own fault…

eeee

nuxt.config.js
module.exports = {
mode : 'spa',
...
}
It can be solved.

@newopa83 mode: spa still doesn't allow dynamic routes to work with nuxt generate on a static server, also mentions it in the documentation nuxtjs.org/guide/routing:

Solution
Go from dynamic paths like /post/2914466, to url queries /post?id=2914466
Template
<template>
  <div>
    Post: {{ $route.query.id }}
  </div>
</template>

Then it works on static hosting!!


Add support for nested sorting

Currently the plugin does not sort the keys of JSON objects which are nested within arrays or within other objects.
Current behavior:
{
    "0": null,
    "a": null,
    "b": null,
    "exampleNestedObject": {
        "z": null,
        "a": null
    },
    "z": null
}

Desired behavior:
{
    "0": null,
    "a": null,
    "b": null,
    "exampleNestedObject": {
        "a": null,
        "z": null
    },
    "z": null
}

I would like this feature

Thanks for the suggestion! This will be included in the next release, v0.0.2

@Gudahtt Excellent! Thank you for the hard work! :blush:


Try adding kind and dep to PATH in travis

Codecov Report

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

@@           Coverage Diff           @@
##           master     #902   +/-   ##
=======================================
  Coverage   46.72%   46.72%
=======================================
  Files          76       76
  Lines        5096     5096
=======================================
  Hits         2381     2381
  Misses       2577     2577
  Partials      138      138

Continue to review full report at Codecov.

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


only less table colums display in my html page

my html page show less table column different with offical demo:
offical demo:https://rt.goaccess.io/?20200209201008

my html:

i can see the data in browser network:
avgts: {avg: 60362}
bytes: {count: 282843, max: 89737, min: 55}
cumts: {count: 19316000, max: 1240000, min: 8000}
data: {unique: 107}
hits: {count: 320, max: 14, min: 1}
maxts: {count: 19316000, max: 596000, min: 8000}
visitors: {count: 160, max: 3, min: 1}

Are you logging that data in your access log? Can you please post a few lines from your access log?  This seems related or a dup of #1501

Also, please attach your HTML report file here. Thanks

generate html:
index.zip
I don't know what's mean piping data.i use a docker conatainer to generate the html page

i use a custom docker,with nginx to serve the html page

@allinurl
more info: in browser  console
window.user_interface.visitors.items
demo html,with seven column:

my html,only three column:

are the column generate base on my data?
how can i debug this problem

@lerit They're generated based on the data available. Are you loading from disk? or using the on-disk storage?

@allinurl
not from disk,full command:
goaccess --no-global-config --config-file=/config/goaccess.conf

this is my config:
goaccess.zip
generate html and access from nginx;

@allinurl
i do not  know if the data result the issue?
nginx config:
    log_format main '$remote_addr - $remote_user [$time_local] "$request" '
    '$status $body_bytes_sent "$http_referer" '
    '"$http_user_agent" $request_time '
    '$upstream_response_time "$http_x_forwarded_for"';

goaccess config:
log-format %^[%d:%t %^] "%r" %s %b "%R" "%u" %^ %T ~h{", }

@allinurl  sorry to trouble you.
i find the html  json with all column data:(same as you online demo)
so i think it is not a problem with data.
it just didn't show it in html
	"visitors": {
		"metadata": {
			"avgts": {
				"avg": 38769
			},
			"cumts": {
				"count": 69669000,
				"max": 68873000,
				"min": 796000
			},
			"maxts": {
				"count": 69669000,
				"max": 428000,
				"min": 140000
			},
			"bytes": {
				"count": 18909695,
				"max": 18906233,
				"min": 3462
			},
			"visitors": {
				"count": 18,
				"max": 17,
				"min": 1
			},
			"hits": {
				"count": 1797,
				"max": 1785,
				"min": 12
			},
			"data": {
				"unique": 2
			}
		},
		"data": [{
			"hits": {
				"count": 12,
				"percent": "0.67"
			},
			"visitors": {
				"count": 1,
				"percent": "5.56"
			},
			"bytes": {
				"count": 3462,
				"percent": "0.02"
			},
			"avgts": 66333,
			"cumts": 796000,
			"maxts": 140000,
			"data": "20200322"
		}, {
			"hits": {
				"count": 1785,
				"percent": "99.33"
			},
			"visitors": {
				"count": 17,
				"percent": "94.44"
			},
			"bytes": {
				"count": 18906233,
				"percent": "99.98"
			},
			"avgts": 38584,
			"cumts": 68873000,
			"maxts": 428000,
			"data": "20200321"
		}]
	},

Are you piping data in or reading directly from the log? This seems related or a dup of #1501

I can confirm this. Since it's a dup of #1501, I'll close this.
@allinurl


I can't see the graphs on StellarX using firefox.

What version are you using?

What did you do?

What did you expect to see?
What did you see instead?

Please contact StellarX support here: https://stellarxsupport.zendesk.com/hc/en-us Looks like it's a StellarX issue.
Related: #2034


[5.4][Diagnostics] Attempt .rawValue fix only if both types are equally …

…optional
This is a follow-up to https://github.com/apple/swift/pull/35072.
Let's wait until both sides are equally optional before attempting
.rawValue fix, otherwise there is a risk that a valid code would
get diagnosed.
Extend test coverage of possible .rawValue situations to
contextual and argument positions to make sure that valid
code is accepted.
Resolves: SR-13951
(cherry picked from commit 26415547e011ede07956e6dce9a2a3a984b4b8ce)

@swift-ci please test

@swift-ci please test

@swift-ci please test Windows platform

Build failed
Swift Test OS X Platform
Git Sha - eb30e5e21a4d9a3923f9458b10be07c4d6dcb3b1

Build failed
Swift Test OS X Platform
Git Sha - eb30e5e21a4d9a3923f9458b10be07c4d6dcb3b1

@swift-ci please test macOS platform

@swift-ci please test macOS platform

@swift-ci please nominate

@swift-ci please nominate


Whether multiple language support can be added

Whether multiple language support can be added

Sorry, no plans for this.


Document CDC cloud storage http sink and remove experimental tag from cloud storage

We're removing the experimental tag from cloud storage. We should reflect this in the docs for 21.2, and document the cloud storage http sink (this is especially important to make sure the differences between the webhook sink and the cloud storage http sink are clear).
https://github.com/cockroachdb/cockroach/issues/69069

For http - we should link to the  bulk cloud storage schema docs: https://www.cockroachlabs.com/docs/stable/use-cloud-storage-for-bulk-operations.html and just be explicit that CDC supports azure, gs, s3, and http

cockroachdb/cockroach#69787


Implement globalfee module

Background
Describe the problem that we are trying to solve with this feature.
If a path to a solution is known, feel free to write it down, but have an open mind
Implement a globalfee module for Paloma https://github.com/confio/tgrade/tree/main/x/globalfee
Also see the Gaia implementation: https://github.com/cosmos/gaia/tree/main/x/globalfee
Gaia docs: https://hub.cosmos.network/main/modules/globalfee.html
Done when

[ ]  Global Fee module implemented
[ ]  Release paloma v0.11.6 with new branch with fee
[ ]  Chain halt upgrade on fee release
[ ]  Add proposal for fee on testnet

Discussed that this is not needed


Use hatch, pdm or other standards-compliant packaging system

It's been over three years since PEP-621 was finalized and declared official, and Poetry still doesn't support standard packaging metadata in pyproject.toml: https://packaging.python.org/en/latest/specifications/pyproject-toml/
It's also slow and needlessly downloads many copies of the same package in order to satisfy its complex dependency resolution mechanism.  Finally its version specifications, while they are friendly to JavaScript developers, are also not standards-compliant for Python and do not encourage best practices (see https://iscinumpy.dev/post/bound-version-constraints/)
The good news is you don't have to use poetry in order to get a user-friendly build system.  There is hatch, for instance, which is used by some of our favorite packages like Starlette and Pydantic: https://hatch.pypa.io/latest/community/users/
There is also pdm which gives you a more npm-like experience while still being standards compliant: https://pdm-project.org/latest/
See https://github.com/python-poetry/roadmap/issues/3 and https://github.com/python-poetry/poetry/issues/3332

I'll close this as it is just my personal pet peeve, and poetry is fine for applications (not so much for libraries)


Validating exposure configuration against a JSON Schema.

Created a JSON Schema for the exposure configuration, and using the jsonschema package to validate the downloaded JSON.

Need to fix up this conflict and add a couple of "bad config" unit tests

Messed up a rebase. Closing this PR.


Issue report for C07

Possible issue with ex04 - memory of the result is never freed
✓ [1] ft_strjoin with size 0 Expected "", got ""
✓ [2] ft_strjoin with size 1 Expected "Hello", got "Hello"
[3] ft_strjoin with size 3 Expected "Hello, world, !", got "HelloHello, world, !"
[4] ft_strjoin with size 4 and empty strings Expected "-Hello--world", got "HelloHello, world, !-Hello--world"
[5] ft_strjoin with size 2 and empty separator Expected "Helloworld", got "HelloHello, world, !-Hello--worldHelloworld"
FAIL  ex03/ft_strjoin.c
I think, I used a bad way to concatenate strings.
Adding this line after allocating memory for my char *result resolved the issue.
result = (char *)malloc(result_size);
result[0] = '\0';

Interesting discovery, do you want to create a PR?

Yes, and I can also add more tests for ex05 to cover the atoi component of the task. Also I failed the ex05 on number 0. Other test with convertation from<PHONE_NUMBER>0 to 0123456 worked. I'm on the last week of piscine, so will soon have time.

Yes, and I can also add more tests for ex05 to cover the atoi component of the task. Also I failed the ex05 on number 0. Other test with convertation from<PHONE_NUMBER>0 to 0123456 worked. I'm on the last week of piscine, so will soon have time.

Sure, that would be great!


Site Break Wen digit on search icon or scroll down page

Link:

https://www.carbondesignsystem.com/guidelines/icons/library/

Any progress on this?
I am experiencing the same issue, rendering the Icons page more or less useless. Very sad, the icons are beautiful.

Any progress on this?
I am experiencing the same issue, rendering the Icons page more or less useless. Very sad, the icons are beautiful.

@ballefar do you have any steps to reproduce? Not seeing any issues navigating the page, but want to ensure it is working properly for all

@ballefar do you have any steps to reproduce? Not seeing any issues navigating the page, but want to ensure it is working properly for all

I also am experiencing this issue. I didn't see this bug before I created a new one with steps to reproduce and screen reacording:
https://github.com/carbon-design-system/carbon-website/issues/2448

Closing this out as I believe this was addressed by the fix in #2448 and by updates for v11. Let me know if you're still experience this behavior and I can re-open!


argo template lint Always Exits With 0 Exit Code When Validating a Directory

Summary
When argo template lint is used to lint a directory containing workflows, it currently always exits with a 0 exit code even if errors are encountered. Exit codes are one way that shells implement control flow, and always returning a zero exit code is similar to an HTTP endpoint always returning 200 OK.
Expected Behavior
When argo template lint is used to validate a directory containing workflows or workflow templates, it should exit with a nonzero exit code in the case that validation fails for one or more workflows or workflow templates.
Diagnostics
$ argo version
argo: latest+a00a8f1.dirty
  BuildDate: 2020-10-08T01:44:49Z
  GitCommit: a00a8f141c221f50e397aea8f86a54171441e395
  GitTreeState: dirty
  GitTag: v2.11.3
  GoVersion: go1.15.2
  Compiler: gc
  Platform: darwin/amd64

./abc/abc.yaml:
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: example-whalesay2
spec:
  entrypoint: jklfdsa

$ argo template lint ./abc
ERRO[0000] template name 'jklfdsa' undefined
WorkflowTemplate manifests validated

$ echo $?
0

This does work as expected in the case that only a single file is validated:
$ argo template lint ./abc/abc.yaml
ERRO[0000] template name 'jklfdsa' undefined
FATA[0000] Errors encountered in validation

$ echo $?
1

Workaround
Until this issue is resolved, validate each file individually.
for f in $(find './templates' -iname '*.yaml'); do
  argo template lint "$f";
done

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@sarabala1979, argo lint works as expected; this behavior is limited to argo template lint on a directory. Updated issue contents to remove argo lint.


Nitpicking: conditionally render search button or set a default

I spent a couple minutes wondering why the search wasn't working before I realised there is no initial value for the property clientMode. By replacing the JSX for the search button
<PrimaryButton
text='Search'
title='Search'
onClick={this._search}
/>
with
{ this.props.clientMode ?
<PrimaryButton
text='Search'
title='Search'
onClick={this._search}
/>
:
Configure client mode by editing web part

}
this will be immediately obvious.
I enjoyed the tutorial, but if I could point out something else it would be the order of file edits and interface declarations / imports which provokes errors in VS Code (which I assume most SPFX developers are using) before I've even attempted building, as they occur when I follow the tutorial from start to finish and manually copying or typing the code as instructed.
For instance, it would make sense to first create the IUserItem.ts file, and then afterwards instruct us to add the code where it is used, perhaps even showcasing auto-import in vs code.

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

ID: 83c47bef-6351-3ab4-41e0-0abec261278f
Version Independent ID: 332d0d0f-6d57-93d2-49b4-98a29e21eac2
Content: Consume the Microsoft Graph in the SharePoint Framework
Content Source: docs/spfx/use-aad-tutorial.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

We accept PR's ;)...
Care to submit an edit to the page fixing the issue you ID in your comment? Sharing is caring :)

First time contributor. I think I forked the repo and submitted a pull request to my own fork first, or something? I believe I now have submitted a pull request to the actual sp-dev-docs repo.


[feature] Execute Javascript AFTER Changedetection

Hello everyone,
I've seen that now you can "execute javascript" BEFORE changedetection which is very handy for logins and others...Is there any chance to add "execute javascript" AFTER changedetection...this will allow the tool to become even more powerful and basically have it do stuff...like buy items, add items to cart etc

Just like I did before I would gladly make a BTC donation, if you would consider adding this feature to your tool....cheers

I like this idea and it sounds like a great feature!

awesome guys...can t wait to use the new feature...Last but not least is there a way to change the user agent for the change detection browser ? some sites have really good anti-bot detection, so changing the browser fingerprint would really help many...let me know what you think....
Anyways, enjoy the beers, glad to contribute to the pizza fund as always....cheers ✌

@justme6666 put the user-agent in the 'request headers' section, been there for years

Thank you 😊

I see your request, tho theres a few other urgent issues to sort first :)

okay no problem....I also sent you an email to<EMAIL_ADDRESS>with the subject "collaboration offer" about 12 days ago (August 26th)....did you receive it ?
Cheers

Hi,
I know you are probably busy and probably into more projects than this one,  but I am just curious if this option is still on the agenda....having Changedetection execute javascript after detection would be quite awesome for manyand would open up a lot more applications for your tool....just my 2 cents

Yes just very busy :(

k no probs....maybe you can get it wrapped in the next major release...cheers

This would be a gamechanger

I completely agree. I'm trying to figure out how to use we books to trigger other code on my server to run actions, but having it all inside one tool would be so much better.
I'd personally like this so I can buy things when they go back in stock. Essentially:

Item goes into stock
Change detected
JavaScript runs to add item to cart
Notification sent to my phone
I quickly check out in my app because the item is already in my cart.

Might be the only way I can get a Switch 2 next year. 😅


chore(main): release 1.14.1

:robot: I have created a release beep boop
1.14.1 (2024-12-24)
Bug Fixes

check node_modules on fullPath, not fileName (#109) (8ef1486)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.14.1
:sunflower:


Coerce Array inner types

Which issue does this PR close?
Closes #12291
Rationale for this change
Currently, we don't attempt to coerce inner list types, and so this works (although it shouldn't)
SELECT make_array(2) x UNION ALL SELECT make_array(now()) x;

What changes are included in this PR?
Now we’ll try to coerce inner types instead of just using the type of the first array.
Are these changes tested?
Yes, added a test
Are there any user-facing changes?
No

That was a very fast review 😅🙏

query error DataFusion error: type_coercion\ncaused by\nError during planning: Incompatible inputs for Union: Previous inputs were of type List(.*), but got incompatible type List(.*) on column 'x'
SELECT make_array(2) x UNION ALL SELECT make_array(now()) x;

query ?
select make_array(arrow_cast(2, 'UInt8')) x UNION ALL SELECT make_array(arrow_cast(-2, 'Int8')) x;
----
[-2]
[2]

The queries has nothing to do with the list coercion.
I checked the query and it already works correctly in main branch.

Thanks @blaginin @alamb @findepi


Ft/serve website

@nicolas2bert is currently writing more tests
Depends on https://github.com/scality/Arsenal/pull/203

closing in favor of https://github.com/scality/S3/pull/484


Give more documentation for programmatic access to password reset information

I was looking to find how to programmatically access password reset/change information from Azure AD, but this sentence is all that I'm given.

Is there an API to access the password reset or registration reporting data?

Yes. To learn how you can access the password reset reporting data, see the Azure Log Analytics REST API Reference.

This leads to a generic log API, but doesn't explain anything about the password reset reporting data source or any parameters that I'd need to use in order to get the right data. It points me in the right direction, but it doesn't lead me anywhere.

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

ID: e52e30ad-95a6-9779-b884-d4648653f3a8
Version Independent ID: d3e67e0e-1c20-7ab2-54a3-0b6f6542ccfb
Content: Self-service password reset FAQ - Azure Active Directory
Content Source: articles/active-directory/authentication/active-directory-passwords-faq.yml
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@iinuwa
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@iinuwa sorry for delay. I'll update the topic shortly. You can get this info from the auth methods activity report and APIs.
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-authentication-methods-activity
Here’s the API to get password reset activity: https://docs.microsoft.com/en-us/graph/api/reportroot-list-usercredentialusagedetails?view=graph-rest-beta&tabs=http
You can also use the audit logs API https://docs.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0 and filter by SSPR events.

@iinuwa This is added to https://docs.microsoft.com/en-us/azure/active-directory/authentication/active-directory-passwords-faq#is-there-an-api-to-access-the-password-reset-or-registration-reporting-data--

Thank you!


Date format all API

We should use the ISO 8601 date/time format across all API calls.
We should also enforce timezones for every date.
Example: "2017-01-19T23:23:41+01:00" => Jan 19th 2017 at 11:23:41 pm (UTC+1)
Related call:

study (star, end dates)
phenotype (observationTimestamp)
sample (sample date)
etc.

+1

+1


GEMM verify failed

./MIOpenDriver gemm -n 700 -m 161 -k 32 -F 1 -V 1 -t 1 -i 1
MIOpenDriver gemm -n 700 -m 161 -k 32 -F 1 -V 1 -t 1 -i 1
MIOpen(HIP): Info [Handle] stream: 0x293ccc0, device_id: 0
MIOpen(HIP): Info2 [CallGemm] gemm_desc: {isColMajor 0, transA 0, transB 0, m 161, n 700, k 32, lda 32, ldb 700, ldc 700, batch_count 1, strideA 5152, strideB 22400, strideC 112700, alpha 1, beta 0, dataType 0}
GPU Kernel Time Gemm Elapsed: 13077.966797 ms
Forward GEMM Failed: nan

I tested on the gfx906 platform, on the develop branch。rocm-4.0.0, rocm-3.9.0platform  both failed。

I tested on the gfx906 platform, on the develop branch。rocm-4.0.0, rocm-3.9.0platform  both failed。

@chenyongqing270  could you try on new releases on ROCm? Please comment and reopen if the issue still persists.
Close for now due to inactivity.


CISO Workshop Module 3: Identity and Zero Trust User Access: Part 6: Build an Identity Perimeter - video incorrect

https://docs.microsoft.com/en-us/security/ciso-workshop/ciso-workshop-module-3?source=docs#part-6-build-an-identity-perimeter-1357
The video uploaded for part 6 is a copy of part 4 in the same module. Part 6 should be 13:57 min but is actually 13:11 min with same content as part 4.
Can part 6 please be corrected with the correct video

@Wazza22 Please submit feedback by clicking on the button at the doc's bottom.


fix(intel): add opengl packages for 32bit

At the moment the OpenGL extraPackages for Intel are only added for the 64bit variant, but not the 32bit one.
The AMD does add its modules to the 32bit variant: https://github.com/NixOS/nixos-hardware/blob/a57fc74bc3c88537b7f80bc7bee428dd9e9a34ca/common/gpu/amd/default.nix#L13-L15
Note that pkgsi686Linux was used instead of driversi686Linux, because intel-media-driver was not defined for driversi686Linux in nixpkgs: https://github.com/nixos/nixpkgs/blob/87304645b876629a056d4e4b3043b99d125a054d/pkgs/top-level/all-packages.nix#L15882-L15892

Thanks for the quick review and reply! 👍

Hello! I am sorry to say this PR is not compatible with nixos-21.05.
The intel-media-driver has a dependency of intel-gmmlib. intel-gmmlib does support i686 but only on nixpkgs master, because that has only been recently fixed by @SuperSandro2000. (See https://github.com/NixOS/nixpkgs/pull/136738) Sadly on nixos-21.05 currently intel-gmmlib only supports x86_64 linux.
I include nixos-hardware for my thinkpad in my config. When I tried to bump the pin right now I ran into this issue.
I am not sure how best to proceede and how many people will be affected by this.

Maybe we could backport i686 support for intel-gmmlib to stable?
Or we remove the intel-media-driver for now?
Or we tell users to pin an older version of nixos-hardware, when they are on stable?

This just broke my 21.05 based config for the Thinkpad carbon x1 gen7 as well.
I suggest we roll this back asap, otherwise many people will waste their time debugging this. It is not obvious where the breakage comes from.
Afterwards, we can still discuss a solution on how to move this forward.

We can include this change conditionally based on the nixos version:
lib.mkIf ((lib.versionOlder (lib.versions.majorMinor lib.version) "21.11")

Oof, sorry for the problems :( I didn't test this on earlier versions and I'm on unstable. I'll look into @Mic92 's suggestion.


New style colors

Based on 2048, I suggest new color pallet
What do you think?

It's a beautiful palette, but the original is too much part of the branding that I can't see changing now


feat(core): add orderyby shared control

🏆 Enhancements
Add a new shared control "orderby" for non-timeseries chart.
related PR: https://github.com/apache-superset/superset-ui/pull/1112
Now all non-time series chart, are using the "timeseries_limit_metric" control. I would like to introduce a unified sorting control. So that in the future we can have a unified sorting control (sort columns and metrics).

@zhaoyongjie please list all chart that are added this control.

@zhaoyongjie please list all chart that are added this control.
Now there is no chart with this control.


[Tag]: Add More colours

Add more colors or option for custom background color and text colour

Also add new icon - rocket colored

Not required anymore..
This issue got fixed when color system was fixed ✅


[tutorial] Add printf function in common built-in functions

Description of the tutorial
I want add printf function as well is common built-in functions folder.
Do you want to be assigned to work on this?
(mark [x])

[x] YES
[ ] NO

Optional: Any additional info you want to add
...

Please let me add this.

@hamzabohra  of course go ahead!


Adding information about the fact that authorship is not automatic

I think guaranteeing authorship is important. I experienced that firsthand : I wanted to opensource a project I made for a friend and then, all of a sudden, the friend turned foe, saying that he contributed ideas and threatening me with legal actions if I used those ideas (it turned out that those claims are moot, but nonetheless, it's quite stressful to handle)

Thanks @wiz21b, I understand where you're coming from. Right now the importance of who has the rights needed is woven throughout this guide, especially but not only following bolded text "Your project's existing copyright holder's" and "Third party material". I don't think a section about authorship as submitted in this PR fits -- it mixes or could be read as mixing various rights and obligations, legal and otherwise, and doesn't give readers any idea of how to proceed -- and there's already a dose of fear above "that means...take-downs, shake-downs, or litigation."
I'm going to close this as I don't think it can be directly used, but I do appreciate the suggestion and feel free to discuss further here, or make further PRs taking into account the above. 🙇

I understand the point you make. My suggestion was related to the fact that the authorship question is, as you say, woven into the text. My point was that "woven into the text" doesn't mean "will actually be understood". But well, I gave it a try :-)


Make cron provider work when Chef is run as non-root user.

Also, move it onto Chef::Mixin::ShellOut.
Signed-off-by: Krzysztof Wilczynski<EMAIL_ADDRESS>

@lamont-granquist I will move this to my own fork too.

@kwilczynski you want to fix this up or should we close this?

@lamont-granquist don't close. I will finish this (it's still broken, technically). Sorry for the delay, by the way.

@kwilczynski poke.

@btm let me look into this again. I am sorry. I got swamped with things.

@btm can you assign this to me? (somehow)

Github doesn't let you assign issues to people who aren't in the organization. :(

Closing due to old age. @kwilczynski if you have cycles to get back to this feel free to reopen and finish up. Thanks!


Bug Report:

Reproduction steps
Bug in  Sign Up section .
Expected behavior
Need of Css for amazing look and interface .
Actual Behavior

👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@Ishitacoding Sign-up section is fine. Check again.


Login error when there are a lot of Github teams

Expected Behavior
Even if there are a lot of github teams, the team can get
And login
Current Behavior
https://github.com/pusher/oauth2_proxy/blob/master/providers/github.go
The hasOrgAndTeam method (line 131) is not used for paging.
Also, because the old parameter (limit) is used, only 30 teams can be acquired from the oldest.
Possible Solution
https://github.com/pusher/oauth2_proxy/blob/master/providers/github.go
    params := url.Values{         "limit": {"200"},     }
If the above code is modified as follows, we can handle up to 100 teams
    params := url.Values{         "per_page": {"100"},     }
https://developer.github.com/v3/#pagination
Steps to Reproduce (for bugs)

Prepare a github account belonging to more than 30 teams
After creating 30 or more teams, select the newly created github team as the login team
After logging in and getting an error, looking at the log, you can see that only 30 teams have been taken from the oldest in the log

https://github.com/pusher/oauth2_proxy/blob/master/providers/github.go
line 192
`
logger.Printf("Missing Team:%q from Org:%q in teams: %v", p.Team, p.Org, presentTeams)
Your Environment
oauth2_proxy-v4.0.0.linux-amd64.go1.12.1.tar.gz  &  alpine:3.5  &  docker

This problem is also resolved in #102 which includes proper pagination support, might be best to see if we can try and revive that PR?

I'm sorry.
As you pointed out, it was a problem solved in # 102.

Could we maybe use the Link values to make sure we only call up until the last page?

Based on # 102, I will consider implementing what handles the final page with a Link value

@toshi-miura #102 has been stale for quite a while, if you have the time and could potentially take the commits from the PR and fix it up and open a new PR we could possibly get that merged? (I'd like to preserve attribution for original authors of work if possible)

@JoelSpeed
I am trying to work with the following URL.,
Is the intention correct?
https://github.com/toshi-miura/oauth2_proxy/tree/ap-gh-pagination
I think Akshay Pratinav (original authors) has a working history

Yeah that looks great! 👍


Pysteps User reference

The actual documentation only includes the developer reference with the description of all the modules. This provides a low-level description of PySteps modules.
The documentation is missing an user reference, that introduces how to use the library, step by steps.
These are examples of User guides:

https://matplotlib.org/users/index.html
https://docs.wradlib.org/en/stable/index.html (Check user guide section)

We can use as a starting point, the examples that we included in the library.  Here are some tools that can helps us to convert those examples into documentation:

Use examples files: sphinx-gallery; preview
Use jupyter notebooks sphinx-nbexamples:  preview
Use jupyter notebooks: nbsphinx

This point is very important and should be given somewhat high priority.
We should aim at least at covering all modules with a short tutorial. Most of the code already exists, but we need to find the best way of presenting it.

The workflow implemented by Wradlib for the user documentation is really interesting.
https://github.com/wradlib/wradlib/wiki/dev.-notebook-workflow
In a nutshell:

Maintain a separate repository with the tutorials notebooks
Use travis to pull them into the doc dir and create add them to documentation using  nbsphinx

Hi @aperezhortal, thanks for the links. I'm not sure I understand the whole workflow implemented in Wradlib. Why is it necessary to maintain a separate repository for the tutorials?
In the meantime, I've tried out the sphinx-gallery module. I've created a new branch.
I've found this module very straightforward, which means that it won't take too much of an effort to convert our existing example scripts into nicely rendered tutorials to be hosted in the User reference.

Hi @dnerini, it is not strictly necessary. I think that the objective is to keep the workflow in the notebooks repository separated from the package development repository. This also allows potential users with pySTEPS installed (by pip for example) to clone just the examples and not all the pySTEPS sources (as mentioned in the wradlib documentation). I forgot to mention that the idea was something that we can implement in the future :S
I like the idea of using sphinx-gallery module for the user guide. I'll help you on that branch.

OK, I now see your point and it is a good one, too. But as you say, this could be implemented in the future and it is probably a good idea to start simple.
Perfect, let's try to implement sphinx-gallery then. The branch I've pushed is probably just a quick and dirty implementation that we probably will need to review.
For example, for some reasons I had to change these few lines in conf.py in order to build the html locally:
from
if 'READTHEDOCS' not in os.environ:
    sys.path.insert(1, os.path.abspath('../../'))

to
sys.path.insert(0, os.path.abspath('../../pysteps/'))

I guess we'll need to set it as you did before merging the branch into master.
Always in conf.py, I've set the output 'gallery_dirs' path of sphinx-gallery in source/auto_examples, but probably a better place would be in _build/auto_examples.
I will probably fix this next. I'm also adding a new tutorial on the noise generation.

Always in conf.py, I've set the output 'gallery_dirs' path of sphinx-gallery in source/auto_examples, but probably a better place would be in _build/auto_examples.

I have the feeling that this will probably create issues while the documentation is build and the TOC trees are generated. I added this directory to gitignore and modify the rebuild.sh script to remove it like the generated rst files. (commits bc94f04d4f771cde8783d15b52da304e95b36aa7 and 75b791f12349ca6f9c6f40ecd3e2368085391706)

Yep, you were right, that didn't work. Thanks for the fix!

@dnerini @aperezhortal Sorry for jumping in. I'm one of the wradlib devs and created that somehow awkward workflow with the notebooks at wradlib.
@aperezhortal Already mentioned on or two of the reasons, but in a nutshell a short summary on the whereabouts:

dedicated notebook repo (wradlib has quite some notebooks, so we decided to split things up)

the notebooks are checked in without rendered output cells (which keeps repo size down)
the current master is rendered with each commit to a dedicated branch (devel or 1.3.0)

dedicated docs repo (this was not an easy decision, but to be honest, only a few people built the docs from sources)

in the docs repo within readthedocs we pull in the rendered notebook branch and use nbsphinx to create the final doc
that way the notebook creation does not run on readthedocs (blazing fast) and we also can mock out all problematic dependencies

dedicated code repo (just plain code, might eventually use git submodules to pull in the docs and notebooks repo)

If you have any questions you might just ping me or pull me into some gitter chat.
And besides that, I'm currently exploring pysteps. So I might come back for questions.

@kmuehlbauer thanks for the clarification! The workflow that you describe is very interesting, I think that it worth being considered for future documentation. When I look at it for the first time I missed most of the details that you mentioned.

Excuse me for chipping in.  I'd love to see a user reference for pysteps, too, and Sphinx-gallery is a really useful tool.  In SwirlsPy we found the examples we made (e.g. https://docs.com-swirls.org/auto_examples/qpf_hk.html#sphx-glr-auto-examples-qpf-hk-py) helps our new members and partners getting started quickly.

Since we first raised this issue, the User reference (and the documentation in general) had improved a lot, with many examples that helps new users to get started quickly.
Commit b7f8befeb1e1631efb15a0eb19445352cfe09d3b removes the "Under development" tag form the User reference, thus, closing this issue :tada::tada::tada:


Port workflow conditional logic from idseq-web

Parameterize workflow inputs that were passed as "attributes" in idseq-dag and rendered as literals by idd2wdl
Manually re-introduce conditional logic to handle single vs paired-end fastqs
Manually re-introduce conditional logic to handle human host filtering when indicated host is not human
Add a publish script that writes all workflow WDLs for every tag in the repo to s3://idseq-workflows

I had to switch to Array[File] because the files in the array have to be rendered as JSON input to the program, and the only way I could render them was using the following hack: "{sep='","' input_array}". I would love it if you could show me a better way to do this (same goes for doing it without sep).

Yes, the database files passed by their S3 URL are being downloaded by the code inside idseq-dag, and we should pull them out. You can see the full list in https://github.com/chanzuckerberg/idseq/pull/160/files#diff-c396655b3d3683aa7900dac3082e26caR90-R98.

Yes, I absolutely want to provide those variables out-of-band - we discussed this previously - you said there is no good way to pass environment variables through to the task. One good way to do this, I think, would be to pass miniwdl an option like --forward-env-vars AWS_DEFAULT_REGION DEPLOYMENT_ENVIRONMENT which would get those variables from the environment and set them in all task containers.


Recipe trace page returns {"detail": "Not found"}

I just updated to the latest version (without docker)
After installing the new system in a new virtualenv and checking that my recipes still work with a successful query, I want to go to the trace page and investigate the answers and process, however I get a blank page.
Parsed de97451f-8789-4b75-9b39-a1cda44fcae3-InterpretabilityInTheWild.pdf.
Trace: http://localhost:8935/traces/01GM0RQ60TW1QPZA0G1B244N0W
...

@poppingtonic This is a shot in the dark, but is your old docker container still running?

@lslunis The docker container is not running when I try this.

Does the list page at http://localhost:8935/traces/ work, and do any of the traces linked from that page work? You're getting the 404 page for FastAPI, but ice/routes/app.py defines a catch-all route, so that shouldn't be possible.
Are you running python -m ice.server in a terminal, and if so, is there any logging output?

I tried again and got this message
ui/index.html not found. Run `npm run build` in the ui directory to create it, or run `npm run dev` to run the dev server and access localhost:5173 instead.

The list page at http://localhost:8935/traces/ is blank, and so is the link generated for a single question. They both return a blank page like this:

Can you try updating your code with the latest from the main branch here?
Can you check your browser's developer console for errors?