fix: bump json-schema-tools deps

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

Project coverage is 98.98%. Comparing base (c4ec731) to head (8eec2f6).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #629   +/-   ##
=======================================
  Coverage   98.98%   98.98%
=======================================
  Files           2        2
  Lines          99       99
  Branches       30       30
=======================================
  Hits           98       98
  Misses          1        1

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

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

GitHub release
1.6.3
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


feat(validator): Indy validator and indy-testnet files

This is a resubmission of #1099.
(reason: there were multiple commits in #1099)
Added new code that talks to indy pool. It submits request to indy it received and sends response back.
The python code will be updated in the future so that users can simply pip install them and run (although it is incomplete at the moment). The directory structure reflects this intention.
Also included are updated version of indy-testnet files. The code described above needs this environment to properly run.
Signed-off-by: Izuru Sato<EMAIL_ADDRESS>

Codecov Report

Merging #1117 (8c991da) into main (c037ec5) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head 8c991da differs from pull request most recent head 21b46ce. Consider uploading reports for the commit 21b46ce to get more accurate results

@@            Coverage Diff             @@
##             main    #1117      +/-   ##
==========================================
- Coverage   73.05%   73.03%   -0.02%
==========================================
  Files         244      244
  Lines        8557     8557
  Branches      991      991
==========================================
- Hits         6251     6250       -1
- Misses       1778     1779       +1
  Partials      528      528

Impacted Files
Coverage Δ

...main/typescript/rustc-container/rustc-container.ts
66.29% <0.00%> (-2.25%)
:arrow_down:

...t-tooling/src/main/typescript/common/containers.ts
74.89% <0.00%> (+0.41%)
:arrow_up:

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 c037ec5...21b46ce. Read the comment docs.

@petermetz Would you mind if you approve this PR because this PR has the same codes as the old PR #1099. He seems to create this PR instead of solving GitHub errors on #1099.

@petermetz Would you mind if you approve this PR because this PR has the same codes as the old PR #1099. He seems to create this PR instead of solving GitHub errors on #1099.

@takeutak Please see https://github.com/hyperledger/cactus/pull/1099#issuecomment-877724068
@izuru0 I'm available for a pair programming session today or tomorrow if you need help with git squashing, also feel free to ping me on here or RocketChat.

@izuru0 This PR is closed since the PR #1099 was merged.


New shards coming - Old shards removed

Does this library deal with the shards mutating? New shards coming in? Old shards getting removed etc? rebalancing etc? @urakozz

It used to 3 years ago. Check the code, there is just 1 file there :)
https://github.com/urakozz/go-dynamodb-stream-subscriber/blob/master/stream/stream.go#L174
https://github.com/urakozz/go-dynamodb-stream-subscriber/blob/master/stream/stream.go#L235


How to use the taskInfoData job field

I am trying to specify a max run time for a job, and I think this could be done by setting the DurationInfo in TaskInfo
From the Chronos docs, it is unclear to me how I can use the taskInfoData field to achieve my goal.
Could someone please provide me with an example?
Thank you,
Eduard

@gkleiman @brndnmtthws Sorry for the  spam guys, but could you please help me?

@edi33416 the job's taskInfoData field is used by Chronos to populate ExecutorInfo.data, so it can't be used to change the max run time.
You would have to write a patch to add a new field to Chronos jobs and make Chronos use it to populate TaskInfo.max_completion_time when launching a task.

@gkleiman I created the #881 PR for this issue

Closing as this has been implemented in #881


Add regression test method for regression function

Proposed changes
Issue Number: close #xxx
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please update title follow commit format spec and enrich commit log

Don't forget to put [test] in front of the title

不要忘记在标题前加上 [test]

Title modification completed


refactor: update stats/base/dnanmeanpn native addon from C++ to C

Resolves none
Description

What is the purpose of this pull request?

This pull request:

refactors stats/base/dnanmeanpn to use native addons in C instead of C++

Related Issues

Does this pull request have any related issues?

This pull request:

resolves none

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines

@stdlib-js/reviewers

@Neerajpathak07 Mind resolving the comments above so that we can get this one in? Cheers!

@kgryte addressed the CI failures!


Can we view logs of CodeBuilds within Backstage.

Is this possible to view logs of CodeBuilds within backstage ? As currently what I have observed it adds a link to codebuild but we were thinking if this possible to view directly the logs in backstage.

This is an interesting idea @anshulgargamway ... we can definitely consider implementing it in a next release of the plugin. I will keep the issue open for us to track this.

We have started a new project to better scale our efforts regarding Backstage plugins. The functionality in this repository is being migrated. If this issue is still relevant please create a new issue in this repository:
https://github.com/awslabs/backstage-plugins-for-aws


Add an example of radios/checkboxes where the headings are smaller

Raising as it was raised by someone on Slack.
The examples of radios and checkboxes are in the context where they are the only thing on the page - the heading is the page heading.
Examples of other components like text input and textarea are not in the context where they are the only thing on the page.
This seems inconsistent, possibly we need examples of both contexts in all places?

Screenshot showing example of this issue:


[SUGGEST] this server simple how to run in headless mode with windows system ?

is just suggest

I don't know yet how to do that.

I don't know yet how to do that.

I implemented this yesterday, thank you for your attention.
Just running game add command --headless and then _ready function add start server code is ok.


Add custom-elements.json to npm package

I searched github for some packages wich have a custom-elements.json, so I could work on support for my designer:
https://github.com/node-projects/web-component-designer
But the manifest is needed in the package for this...

@mgenware could you create a new package?


connections: remove connections API

I think the social connections API is adding confusion around what hydra is doing and what not. Additionally, I don't think anyone really uses it.

vote :+1: or :-1:

This API is a mapping between local userid and remote userid.
This mapping would be used in the IdP, keeping this in hydra is just one request more for IdP.


add parsing of special strings for inf/nan cell values

@havardpe please review

we should also consider null for NaN, 1e999 for +inf and -1e999 for -inf (maybe even change json rendering to render +-inf as very big numbers to obtain a 'stable' solution)


Feature: Setting "Default Currency" for the shop

Use it in ShopInventoryViMo.GetDefaultCurrency().

Move currencies to game data base
Access them from shop and settingsusing the game data base


Connector creating fails half-way through when schema config is defined

Describe the bug
When applying fivetran_connector with fivetran_connector_schedule and fivetran_connector_schema_config I get the error message. In the GUI connector has status INCOMPLETE and has to be manually fixed by clicking "Save & test". However, without fivetran_connector_schema_config the connector seems to be created all right.
To Reproduce
resource "fivetran_connector" "this" {
  group_id           = fivetran_destination.this.group_id
  service            = var.connector.service
  trust_certificates = true
  trust_fingerprints = true
  run_setup_tests    = true

  destination_schema {
    prefix = lower(var.tenant_id)
  }

  config {
    database      = local.source_db_name
    host          = local.source_db_host
    port          = 1433
    user          = local.source_db_user
    password      = local.source_db_password
    update_method = var.connector.update_method
  }
  depends_on = [fivetran_destination.this]
}

resource "fivetran_connector_schedule" "this" {
  connector_id = fivetran_connector.this.id

  paused            = false
  pause_after_trial = false
  sync_frequency    = 1440
  schedule_type     = "auto"

  depends_on = [
    fivetran_connector.this
  ]
}

resource "fivetran_connector_schema_config" "this" {
  connector_id           = fivetran_connector.this.id
  schema_change_handling = var.connector_schema.change_handling
  dynamic "schema" {
    for_each = var.connector_schema.schemas
    content {
      name = schema.key
      dynamic "table" {
        for_each = toset(schema.value)
        content {
          name = table.value
        }
      }
    }
  }
  # removing depends_on blocks will not fix the issue...
  depends_on = [
    fivetran_connector.this,
    fivetran_connector_schedule.this
  ]
}

Expected behavior
I would expect all resources to be created and configured automatically without any manual interventions and without errors.
Logs & Output
╷
│ Error: create
│
│   with module.fivetran_azure["T0000"].fivetran_connector_schema_config.this,
│   on ../modules/fivetran/connector.tf line 37, in resource "fivetran_connector_schema_config" "this":
│   37: resource "fivetran_connector_schema_config" "this" {
│
│ status code: 400; expected: 200; code: InvalidInput; message: We expected the connector's setup state ('status.setup_state') to be 'connected', but it was 'incomplete'.
│ Please configure the connector and perform the connector setup tests.
╵
╷
│ Error: create
│
│   with module.fivetran_azure["T0001"].fivetran_connector_schema_config.this,
│   on ../modules/fivetran/connector.tf line 37, in resource "fivetran_connector_schema_config" "this":
│   37: resource "fivetran_connector_schema_config" "this" {
│
│ status code: 400; expected: 200; code: InvalidInput; message: We expected the connector's setup state ('status.setup_state') to be 'connected', but it was 'incomplete'.
│ Please configure the connector and perform the connector setup tests.
╵

Plugin version:
I am using provider v. 0.7.3

In the GUI connector has status INCOMPLETE and has to be manually fixed by clicking "Save & test".

Looks like tests weren't run with request from Terraform. Investigating this.
Probably the bug will be fixed in the next release. We already had an issue about setup tests not triggered on connector creation. But the fix wasn't released yet

@puchtawxebia Could you please clarify service type you were trying to create? (service            = var.connector.service)
We have an opened incident with SQL Server HVA connector: setup tests fails for connector created using API. It's not resolved yet.

@beevital, sorry I have missed that info. The service is "azure_sql_db".

Thank you!
Yes - most likely it is related to our issue with setup tests via API, we are working on that!
Also I'm currently working on improvement for our connector resource to make it possible to handle failed setup tests and track actual connector status.

hello @beevital any news on that topic?

Hey @kovalsky-tmz issue should be already fixed.
Are you still have the same experience?

@beevital unfortunatelly yes, Ive updated fivetran provider to latest but still experiencing this issue. I need to manually click "Save and Test" in fivetran connector setup because status is 'incompleted'. After that I also need to choose Microsoft Azure Certificate in popup on "Validating certificate" step. Any ideas how to make it work?

@kovalsky-tmz I've passed your experience to connector maintainers team. The issue is specific for cloud SQL server.
So we are working on it.

The issue was resolved on API side, so it should work fine via Terraform.
@kovalsky-tmz please feel free to re-open issue in case of facing the same experience.


Error while installing the sdk

Confirm by changing [ ] to [x] below to ensure that it's a bug:

[ x] I've gone though Developer Guide and API reference
[ x] I've searched for previous similar issues and didn't find any solution

Describe the bug
A clear and concise description of what the bug is.
I was installing aws-sdk for c++ in kubuntu 21.04(ubuntu 21.04 with kde plasma). After running
cmake -DBUILD_ONLY="sesv2" -DCMAKE_BUILD_TYPE=Debug  ..
I got the following error just before the make command ends,
[100%] Linking CXX executable aws-cpp-sdk-core-tests
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_reset'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_slist_append'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_perform'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_init'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_global_init'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_cleanup'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_global_cleanup'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_pause'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_setopt'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_getinfo'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_slist_free_all'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_version_info'
/usr/bin/ld: ../aws-cpp-sdk-core/libaws-cpp-sdk-core.so: undefined reference to `curl_easy_strerror'
collect2: error: ld returned 1 exit status
make[2]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/build.make:864: aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 1
make[1]: *** [CMakeFiles/Makefile2:912: aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

SDK version number
The latest one rolling now..
Platform/OS/Hardware/Device
What are you running the sdk on?
I am running it in Kubuntu 21.04 with intel-i5 1035g1 and 16gb ram.
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
cd ./aws-sdk-cpp
mkdir build; cd build
cmake -DBUILD_ONLY="sesv2" -DCMAKE_BUILD_TYPE=Debug  ..
make

Expected behavior
A clear and concise description of what you expected to happen.
I wanted it to be installed successfully.
Logs/output
If applicable, add logs or error output.
Given above...

Hi @MohammadArik,
I just ran this on Ubuntu 21.04 and didn't have any issues, could you give me more info on your enviroment? Did you get all the dependencies installed?
 zlib1g-dev libssl-dev libcurl4-openssl-dev
Also, what gcc and cmake versions are you using?

Yeah I have them installed.. Ok let me try in a virtual machine. But I wanted it on my regular machine...

Yeah it worked on my ubuntu server too. Maybe there is an issue in my main machine. Any suggestions???


Sidekick instance gets recreated on primary instance health check failure (and vice versa)

Rancher Version: v1.0.0
Docker Version: 1.9.1 build a3a1d5
OS: Debian 8 Jessie
Steps to Reproduce:

Create a service with a sidekick that's used as a data container and has a health_check strategy of recreate
Have the service's main container fail the health check

Results:
The sidekick gets recreated along with the main container.
If you specify strategy: none for the sidekick under health_check, you get the following error:
Bad response statusCode [422]. Status [422 status code 422]. Body: [code=MissingRequired, fieldName=port]

Expected:
That the service's main container gets recreated but the sidekick does not.

This is a major pain-point. I was so happy that Rancher allowed me to set up a Gitlab instance fairly easily and then so sad when, after setting that instance up, lost all of my data because I was installing a firewall and my gitlab instance failed its health check and so it was recreated.
So my questions are:

How can I configure my sidekick to not get recreated on a health check failure?
Can we make it the default that sidekicks do NOT inherit their services health check strategy? In the rancher-compose the health_check configuration is specified on the server, not the sidekick, so why would someone assume that it also applies to the sidekick?

@ianwalter

If you specify strategy: none for the sidekick under health_check, you get the following error:

looks like the health check port wasn't specified. I was able to configure health check for data container.
The real bug here is - we recreate the entire unit (primary+sidekick(s)) as long as one of the instances of the bundle becomes unhealthy. We should be smarter about it, and leave out healthy instances.

@alena1108 Yes sidekicks probably never should be recreated. You shouldn't have to add a health check to a sidekick right? How would the health check work? Even if you wanted a health check for a sidekick, you shouldn't have to specify a port.

@ianwalter no, you don't have to add a health check. If health check is not defined, no health check will be performed.

Even if you wanted a health check for a sidekick, you shouldn't have to specify a port.

:) it implies you don't need a health check. Noop means "I want to perform the health check, but only want to see the health reported, no need to act on it". And you a right, for your use case - sidekick as a data container - you don't need a health check. But people use sidekicks for scheduling purpose also (when they want primary+sidekick bundle to be deployed on the same host). For this use case, health check even on a sidekick makes sense.

@ianwalter reverted the fix after chatting with other engineers. Destroying the entire deployment unit (n sidekicks) if primary container fails, is actually a correct behavior. The sidekick should be deployed and destroyed as a whole thing. K8s does it this way for Pods.


Datagrid filter / sorting not working

Describe the bug
When we have a checkbox input that defines a filter and it is turned on, this breaks the datagrid sorting and filtering.
How to reproduce
Link to Stackblitz
Steps to reproduce the behavior:

Click on the button
Start sorting and / or filtering columns
Observe that no elements are present in the datagrid

Expected behavior
All datagrid entries should be visible. Regression introduced after upgrade from Clarity v1.
Versions
App

Angular: [9.1.12]
Node: [10.19] - locally
Clarity: [3.1.7]

Device:

Type: [MacBook]
OS: [Mojave]
Browser [FF]
Version [80.0.1]

@kaliopane, it seems that the behavior is reproducible even without the filters. Sorting + pagination in the datagrid is enough. Here's a minimal reproduction - https://stackblitz.com/edit/clarity-v3-datagrid-selection-bcncz1?file=src/app/app.component.ts.
We're working on resolving the issue.

Thanks for the updates guys!
It seems we ought to switch to using Ivy as well, as Angular is not really being helpful in this particular situation.


Performance transactions in grafana

Hello 👋
Does your team have any plans about displaying performance transaction in the Grafana?

any ETA or plans to include this ?

This would be of high value to us, as it would make Grafana the single source of operations information.
Currently Grafana is secondary, as the application statistics (performance and errors) are the most useful indicators (which are in Sentry), as opposed to underlying infrastructure, which is currently all that Grafana holds.


Adding support for require via browserify

Thanks for this library.
This was recompiled with babelify so that a require call will add the libs to the window object in the same way that just including the script in a script tag will:
require('vanilla-js-calendar')
var elem = document.getElementById("myCalendar");
var calendar = new JSCalendar(elem, { /* options */ }).init().render();

The compile command used was: npx browserify dev/js-calendar.js -o dist/js-calendar.js -t [ babelify --presets [ "es2015" ] ]
Thanks again for this!

Closing for improved approach in a newer pull


AzureSeekableByteChannel - permit no-op seeks in write mode

Description
This change does not enable random-access nor forward-only seeking on writable channels, but it makes the channel more permissive and Java API compatible when used by (Azure-unaware) code that may call location(long) on such a channel. As long as the position is not actually changing, the call does no harm.
As a result of this change, calling position(n) where n < 0 on an open channel now throws IllegalArgumentException per the Java API specification, regardless of whether the channel is readable or writable.  Previously, a writeable channel would throw an exception due to its non-readable status.
readChannel.position(readChannel.position())   // behavior unchanged (performs reset/mark/skip on InputStream)

writeChannel.position(-1)                      // before: throws NonReadableChannel, now: throws IllegalArgumentException
writeChannel.position(writeChannel.position()) // before: throws NonReadableChannel, now: no-op
writeChannel.close()
writeChannel.position(writeChannel.position()) // behavior unchanged (ClosedFilesystemException)

All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

Hi, @prosprice. Thank you for opening this PR. We appreciate your willingness to contribute and apologies for the delay on review. On first glance, everything looks good. I'll double check it tomorrow, but in the mean time, could you please update the recordings for the tests you altered? If you run the tests with the environment variable "AZURE_TEST_MODE" set to record, the test infrastructure will be output a file to target/test-classes/session-records that corresponds to the test class and test name. This can be copied to the test resources directory to update the committed recordings and will allow ci to pass.


First device permission request always unsuccessful

This happens when the application has no permission for the USB device because the library specifies PendingIntent.FLAG_IMMUTABLE on the PendingIntent used for requesting the permission. As a result, no UsbManager.EXTRA_PERMISSION_GRANTED is placed into the received intent, causing library to consider that a failed request.
Side effect: since neither UsbManager.EXTRA_DEVICE is present, onCancel(null) is effectively called nullable parameter is not expected.

A note to @hthetiot: as this change originally taken from these lines of your PR, I wanted to let you know that it's an issue.

@alexey-pelykh thank you i will use git cherry pick to merge the fix.
Taking changes without git cherry pick remove the original author, i dont recommend to keep open source change more traceable.

Can't use cherry pick cause copy pasta.

I think you're having an issue with cherry-pick because of the sources reorganization (namely, libuvccamera becoming just lib), yet this is a hard fork - I don't intend to keep the structure of the original project. And while some sources were copied as is, attribution is kept here https://github.com/alexey-pelykh/UVCCamera/tree/main/upstreams - and I assume you'd call how jni folder is organized in the original project as well a "copy pasta" because those libraries where imported as sources.

Thank you @alexey-pelykh for the lead I will check and consider resolve conflict.
Also link to commmet on for context:
https://github.com/alexey-pelykh/UVCCamera/issues/2#issuecomment-2512264838

the original project as well a "copy pasta" because those libraries where imported as sources

I see what you mean, at the time I don't think people understood how using git sub module for that use case, or original lib might not used git, and unfortunately it is common for C/Native wrapper to do that. But again no hard feelings, just speaking my mind 😌 and yes it would be good practice, but you do have to modify header in many cases so more excusable.

more excusable

can't really agree, there's a way - download sources from wherever (git or no git) they are and apply patch files during the build.
Anyhow, we don't know why @saki4510t did like that, nor I particularly care - it's a great library that deserves some maintenance and promotion.

.Anyhow, we don't know why @saki4510t did like that, nor I particularly care

I did the like...

@hthetiot it appears that my fix was not fully correct, please see #24 and #28 if that's still relevant to you


GeoCommandsTest fails on CI

Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE! - in redis.clients.jedis.tests.commands.GeoCommandsTest

geohash(redis.clients.jedis.tests.commands.GeoCommandsTest)  Time elapsed: 0.009 sec  <<< FAILURE!

org.junit.ComparisonFailure: expected:<s0dnu20t9j[0]> but was:<s0dnu20t9j[]>

	at redis.clients.jedis.tests.commands.GeoCommandsTest.geohash(GeoCommandsTest.java:94)

@sazzad16 why did you change it? does it look like Redis 6 has a backward issue?

It seems like Redis unstable does have a backward issue
https://github.com/antirez/redis/commit/009862ab7eee394061eeaf1aa187fa339ca50be4

@gkorland to be exact, I didn't change. I was experimenting, in a separate branch of course.

Rolled back on https://github.com/antirez/redis/commit/e6e58e455c1adce82592a5dcf276dd8083088e2b


Black Screen After Update

Platform: Raspberry Pi 3
Node Version: armv7l
MagicMirror Version: 2.11.0
Description: After updating to current MagicMirror version. Only a black screen is shown when booting up MagicMirror. No modules. My cursor appears while the MagicMirror window is displayed.
Steps to Reproduce: Have the following modules installed:

MMM-MoonPhase
MMM-Screencast
MagicMirror-QuoteCatalog
MMM-MPD
MMM-WeatherDependentClothes
MMM-GoogleAssistant
MMM-PIR-Sensor
The modules already included in MM2

Opened command prompt
Went to MagicMirror directory
git reset --hard; git clean -df;
git pull && npm install
Restarted Pi
Booted MagicMirror to find black screen

Expected Results: Expected to see my modules in working order like before.
Actual Results: Black screen with my cursor (I noticed the tab is called Electron, not even MagicMirror).
Configuration:
/* Magic Mirror Config Sample
*

By Michael Teeuw http://michaelteeuw.nl
MIT Licensed.

For more information how you can configurate this file
See https://github.com/MichMich/MagicMirror#configuration

*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port:,
ipWhitelist: ["", "", ":"], // Set [] to allow all IP addresses
// or add a specific IPv4 of :
// ["", "", ", ""],
// or IPv4 range of --> use CIDR format :
// ["", "", "", ""],
language: "en",
timeFormat: 24,
units: "imperial",
// serverOnly:  true/false/"local" ,
             // local for armv6l processors, default
             //   starts serveronly and then starts chrome browser
             // false, default for all  NON-armv6l devices
             // true, force serveronly mode, because you want to.. no UI on this device

modules: [
    {
        module: "alert",
    },
    {
        module: "updatenotification",
        position: "top_bar"
    },
    {
        module: "clock",
        position: "top_left"
    },
    {
        module: "calendar",
        header: "US Holidays",
        position: "top_left",
        config: {
            calendars: [
                {
                    symbol: "calendar-check",
                    url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"                   }
            ]
        }
    },
    {
        module: "compliments",
        position: "top_bar"
    },
    {
        module: "currentweather",
        position: "top_right",
        config: {
            location: "",
            locationID: "",
            appid: ""
        }
    },
    {
        module: "weatherforecast",
        position: "top_right",
        header: "Weather Forecast",
        config: {
            location: "",
            locationID: "",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            appid: ""
        }
    },
    {
        module: "newsfeed",
        position: "bottom_bar",
        config: {
            feeds: [
                {
                    title: "New York Times",
                    url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                }
            ],
            showSourceTitle: true,
            showPublishDate: true,
            broadcastNewsFeeds: true,
            broadcastNewsUpdates: true
        }
    },
        {   module: 'MMM-Screencast',
        position: 'center', // This position is for a hidden <div /> and not the screencast window
        config: {
        position: 'center',
        height: 700,
        width: 900,
        }
        },
    {
    module: 'MMM-PIR-Sensor',
    config: {
    // See 'Configuration options' for more information.
        }
    },
    {
    module: "mpd_client",
    position: "top_right",  // This can be any of the regions.
    config: {
        // See 'Configuration options' for more information.
        hostname: "",
        port:
        }
    },
    {
        module: "MMM-MoonPhase",
        position: "top_center",
        config: {
            updateInterval: 43200000,
            hemisphere: "N",
            resolution: "detailed",
            basicColor: "white",
            title: true,
            phase: true,
            x: 200,
            y: 200,
            alpha: 0.7
            }
    },
    {
     module: 'MagicMirror-QuoteCatalog',
     header: 'The Quote Catalog',
     position: 'top_bar',
     config: {
                 // See below for configurable options
                 }
    },
]

};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

If anyone can help me with this problem I would greatly appreciate it. Thank you!

git pull and npm install on the base isn't enough
as part of the instructions, it said to run npm install in the MagicMirror folder..
but you also have to do it in all the modules which have a package.json file
but run my upgrade-script from here
https://github.com/sdetweil/MagicMirror_scripts with force instead of apply
(because u already have the latest version installed)
it will try to fix all the updates required
user community has reported similar problems with PIR, GoogleAssistant, AssistantMK2, Hotword  needing update but failing (but work with fresh install, so script is updated to be more forceful)

Thank you for the quick reply. How do I force your script instead of applying it?

Use the word force at the end instead of apply

Wow... was staring at me in the face the whole time. Worked too!
Thank you so much!


chore(ci): migrate release pipeline

What's changed and what's your intention?
migrate release pipeline from Github Action to Buildkite.
Checklist
- [ ] I have written necessary docs and comments
- [ ] I have added necessary unit tests and integration tests
- [ ] All checks passed in ./risedev check (or alias, ./risedev c)
Refer to a related PR or issue link (optional)
issue: https://github.com/singularity-data/risingwave/issues/2898

... and would you please help remove the unused GitHub Action icon in README.md? Thanks!


Almeida CV

Theme submission
Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. We strongly suggest that you test your theme with the Hugo Themes Build Script before submitting the theme for review. If a submission does not meet the criteria mentioned in the README it will be closed. You may re-submit once you fix the problems with your submission. However, please note that we have limited resources and can not provide help for general web development issues. For Hugo support questions please refer to the dedicated support forum.
Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://github.com/ineesalmeida/almeida-cv
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. If a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
Feel free to ask questions. We're glad to help --> Cool! My theme 'works' using the hugoBasicExample, but basically shows an empty page. I added an exampleSite for a proper template.

Hello Ines,
thank you for sharing this theme with the Hugo community 👍 While reviewing your theme I noticed two issues:
Please make sure that the thumbnail and screenshot in the images folder have the right dimensions. You can find them in the README.

The license at the bottom of the README states:

You do not have the rights to resell, sublicense or redistribute (even for free) the template on its own or as a separate attachment from any of your work. If you’d like to use this template without the footer attribution link, you can buy the commercial license.

The LICENSE file however licenses this theme under the MIT license which explicitly gives users of your theme

...without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software...

Both licenses contradict each other? Espcially in the regard of redistribution and selling your theme.
Otherwise your theme is ready to be added.

Hi!
I've updated the theme according to your comments.
Hope the images are fine now. I removed the paragraph about licensing from the README file altogether.

Great.  I'm about to promote your theme on Hugo's official Twitter account as well.
Happy hugoing


Clean txfunc py

This pull request addresses some of the issues raised in issue #468.

Replaces beg_yr with start_year for consistency.

Replaces BW with tpers for consistency.

In the function tax_func_loop

Edits plot_txfunc_v_data() to only use plot_full boolean.

Codecov Report

Merging #470 into master will increase coverage by 0.06%.
The diff coverage is 6.12%.

@@            Coverage Diff             @@
##           master     #470      +/-   ##
==========================================
+ Coverage   67.47%   67.54%   +0.06%
==========================================
  Files          36       36
  Lines        5181     5176       -5
==========================================
  Hits         3496     3496
+ Misses       1685     1680       -5

Impacted Files
Coverage Δ

ogusa/txfunc.py
16.69% <6.12%> (+0.11%)
:arrow_up:

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 4e2adf0...3d04dd1. Read the comment docs.

@duncanhobbs Thank you for opening this PR!  Things look good here on Travis CI, but there's at least one test in test_txfunc.py that is too long to run on Travis CI.  Can you run the test_txfunc.py tests on this branch and confirm they all pass?  With that, I'll go ahead and merge this PR.  Thanks!

When I run the test on my Windows 7 machine I get an error in line 127 of test_txfunc.py with the safe_read_pickle function.
The problem arises in line 352 of utils.py
The error in the safe_read_pickle function is: "No module named 'copy reg\r"
Is this because the Python3 module name is copyreg and not copy_reg?
Or is it something to do with the different way Windows and Unix systems treat newline characters?
I am using the ogusa-dev environment and Python 3.7.
I will try to run the test on my personal Mac and see if it works.

@duncanhobbs Thanks for running those tests.  I have never seen the error you found.  I'm confused though, since I don't see copyreg or copy_reg imported or references anywhere.   It's also not a package that is present in my environment when I run OG-USA on my Mac.
Let me know what you find on your Mac and I'll do some more research about what this might be related to also.

@duncanhobbs On your Windows machine, you might replace the code safe_pickle_load() with:
with open(file_path, 'rb') as f:
      try:
          obj = pickle.load(f, encoding='latin1')
      except TypeError:
          obj = pickle.load(f)
      except ImportError:
          a = f.readlines() #read pickle file line by line
          obj = map(lambda x:x.replace("\r\n","\n"),a)  # replace \r\n with \n
  return obj

I saw this in the SO thread here.
Let me know if that works.

@jdebacker
When I ran the test with the new code in Windows I got an error: too many values to unpack expected 6 got 0.
I also downloaded the OG-USA master branch to my Mac, activated the development environment, installed ogusa, and ran the tests just to see if they worked before I modified anything. I got an error from the assert allclose(expected_tuple, test_tuple) line in test_txfunc.py
test tuple:
(array([ 6.37000261e-22,  2.73413298e-03,  1.49073835e-08,  1.39727771e-02,\n
2.32796890e-01, -3.69059719e-02,  1.00000000e-04, -1.01967001e-01,\n
3.96030005e-02,  1.02987671e-01, -1.30433574e-01,  1.00000000e+00])

expected tuple:
array([ 6.37000261e-22,  2.73404765e-03,  1.62463424e-08,  1.48147213e-02,\n
2.32797191e-01, -3.69059719e-02,  1.00000000e-04, -1.01967001e-01,\n
3.96030035e-02,  1.02987671e-01, -1.30433574e-01,  1.00000000e+00]))

Some of the numbers don't match. This is probably because of the scipy error you mention in the code.
All of the other tests pass.
I also tested the development branch I have been working on on my Mac.
All of the tests pass except the assert np.allclose test mentioned above.
(ogusa-dev) Duncans-MacBook-Air:OG-USA duncanhobbs$ git checkout -b clean-txfunc-py origin/clean-txfunc-py
M       ogusa/tests/test_txfunc.py
Branch 'clean-txfunc-py' set up to track remote branch 'clean-txfunc-py' from 'origin'.
Switched to a new branch 'clean-txfunc-py'
(ogusa-dev) Duncans-MacBook-Air:OG-USA duncanhobbs$ cd ogusa/tests
(ogusa-dev) Duncans-MacBook-Air:tests duncanhobbs$ pytest test_txfunc.py
/Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/pep8.py:110: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
=================================================== test session starts ====================================================
platform darwin -- Python 3.7.3, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
rootdir: /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA, inifile: setup.cfg
plugins: xdist-1.28.0, forked-1.0.2, pep8-1.0.6
collected 12 items

test_txfunc.py .....F......                                                                                [100%]

========================================================= FAILURES =========================================================
_____________________________________________________ test_txfunc_est ______________________________________________________

    @pytest.mark.full_run  # only marking as full run because platform
    # affects results from scipy.opt that is called in this test - so it'll
    # pass if run on Mac with MKL, but not necessarily on other platforms
    def test_txfunc_est():
        # Test txfunc.txfunc_est() function.  The test is that given
        # inputs from previous run, the outputs are unchanged.
        input_tuple = utils.safe_read_pickle(
            os.path.join(CUR_PATH, 'test_io_data/txfunc_est_inputs.pkl'))
        (df, s, t, rate_type, output_dir, graph) = input_tuple
        tax_func_type = 'DEP'
        numparams = 12
        test_tuple = txfunc.txfunc_est(df, s, t, rate_type, tax_func_type,
                                       numparams, output_dir, graph)
        expected_tuple = (np.array([
            6.37000261e-22, 2.73404765e-03, 1.62463424e-08, 1.48147213e-02,
            2.32797191e-01, -3.69059719e-02, 1.00000000e-04, -1.01967001e-01,
            3.96030035e-02, 1.02987671e-01, -1.30433574e-01,
            1.00000000e+00]), 19527.162030047846, 3798)
        for i, v in enumerate(expected_tuple):
>           assert(np.allclose(test_tuple[i], v))
E           assert False
E            +  where False = <function allclose at 0x104b53a60>(array([ 6.37000261e-22,  2.73413298e-03,  1.49073835e-08,  1.39727771e-02,\n        2.32796890e-01, -3.69059719e-02,  1.00000000e-04, -1.01967001e-01,\n        3.96030005e-02,  1.02987671e-01, -1.30433574e-01,  1.00000000e+00]), array([ 6.37000261e-22,  2.73404765e-03,  1.62463424e-08,  1.48147213e-02,\n        2.32797191e-01, -3.69059719e-02,  1.00000000e-04, -1.01967001e-01,\n        3.96030035e-02,  1.02987671e-01, -1.30433574e-01,  1.00000000e+00]))
E            +    where <function allclose at 0x104b53a60> = np.allclose

test_txfunc.py:140: AssertionError
===================================================== warnings summary =====================================================
/Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:431
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:431: DeprecationWarning: invalid escape sequence \h
    '''

/Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:780
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:780: DeprecationWarning: invalid escape sequence \h
    '''

/Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/heapdict.py:11
  /Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/heapdict.py:11: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    class heapdict(collections.MutableMapping):

/Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/jinja2/runtime.py:318
  /Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/jinja2/runtime.py:318: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Mapping

/Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/_pytest/mark/structures.py:332
  /Users/duncanhobbs/anaconda/envs/ogusa-dev/lib/python3.7/site-packages/_pytest/mark/structures.py:332: PytestUnknownMarkWarning: Unknown pytest.mark.full_run - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

ogusa/tests/test_txfunc.py::test_find_outliers[2]
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:512: RuntimeWarning: invalid value encountered in greater
    thresh2 = (sse_mat_new[sse_mat_new > 0].mean() + se_mult *

ogusa/tests/test_txfunc.py::test_find_outliers[2]
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:513: RuntimeWarning: invalid value encountered in greater
    sse_mat_new[sse_mat_new > 0].std())

ogusa/tests/test_txfunc.py::test_find_outliers[2]
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:514: RuntimeWarning: invalid value encountered in greater
    sse_big_mat += sse_mat_new > thresh2

ogusa/tests/test_txfunc.py::test_find_outliers[2]
  /Users/duncanhobbs/Documents/GitHub/PSL/OG-USA/ogusa/txfunc.py:555: RuntimeWarning: invalid value encountered in greater
    if (sse_mat_new > thresh2).sum() > 0:

-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================================== 1 failed, 11 passed, 9 warnings in 11.24 seconds =====================================

Let me know if there is anything else you want me to do.

@duncanhobbs Ok - this sounds good.  Thank you for running the tests on two different platforms locally.  I feel comfortable with the results and will merge this PR.


when I use the TextField in showDialog or overlay,some error happend;

throw MissingPluginException('No implementation found for method $method on channel $name');

can you give us example of code to reproduce the error

Hi @VernierCaliper
can you please provide your flutter doctor -v ,
your flutter run --verbose
and a reproducible minimal code sample.
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Budget changes

Allow a pot to have its monthly budget adjusted.

Step 1 complete, in the form of having the concept of discrete monthly budgets.


Optimizer config for 'means' not found in config file

Hi,
I recently started exploring Gaussian Splatting in nerfstudio. I came across your Instruct-GS2GS and wanted to play around with it a bit.
When running ns-train with igs2gs, I get the following error message after loading the pipeline components:

Traceback (most recent call last):
File "/home/user/.local/bin/ns-train", line 8, in
sys.exit(entrypoint())
File "/home/user/nerfstudio/nerfstudio/scripts/train.py", line 262, in entrypoint
main(
File "/home/user/nerfstudio/nerfstudio/scripts/train.py", line 247, in main
launch(
File "/home/user/nerfstudio/nerfstudio/scripts/train.py", line 189, in launch
main_func(local_rank=0, world_size=world_size, config=config)
File "/home/user/nerfstudio/nerfstudio/scripts/train.py", line 99, in train_loop
trainer.setup()
File "/home/user/nerfstudio/nerfstudio/engine/trainer.py", line 156, in setup
self.optimizers = self.setup_optimizers()
File "/home/user/nerfstudio/nerfstudio/engine/trainer.py", line 222, in setup_optimizers
return Optimizers(optimizer_config, param_groups)
File "/home/user/nerfstudio/nerfstudio/engine/optimizers.py", line 103, in init
raise RuntimeError(
RuntimeError: Optimizer config for 'means' not found in config file. Make sure you specify an optimizer for each parameter group. Provided configs were: dict_keys(['xyz', 'features_dc', 'features_rest', 'opacity', 'scaling', 'rotation', 'camera_opt'])
With ns-train igs2gs --help I find some blocks for the optimizers (xyz, opacity, ...) but none for "means". Could the problem be due to my setup or is this perhaps a bug?
I work with a locally built Docker container. The code is based on commit 8e0c6875 from last week from the main branch of the nerfstudio repository.
Thank you for having a look at this :)

I met the same question

I met the same issues....

same problem

Thanks for informing us of this. I found the issue and will update a fix for this later today.

Thanks a lot, I cannot wait to try it again.😁

Just pushed the update. Let me know if you run into any other issues.

seems to work now, thanks for the fix👍

Hello, I have an error like,
Loading latest Nerfstudio checkpoint from load_dir...
Traceback (most recent call last):
File "/home/anaconda3/envs/gs2gs/bin/ns-train", line 8, in
sys.exit(entrypoint())
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 262, in entrypoint
main(
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 247, in main
launch(
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 189, in launch
main_func(local_rank=0, world_size=world_size, config=config)
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 99, in train_loop
trainer.setup()
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/trainer.py", line 190, in setup
self._load_checkpoint()
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/trainer.py", line 405, in _load_checkpoint
self.optimizers.load_optimizers(loaded_state["optimizers"])
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/optimizers.py", line 201, in load_optimizers
self.optimizers[k].load_state_dict(v)
KeyError: 'xyz'


Add note regarding vitePreprocess configuration

Link to the Page
https://www.skeleton.dev/guides/tailwind
Describe the Issue
Currently when one creates a SvelteKitv1.0.0 project via npm create svelte@latest the default config.preprocess is vitePreprocess() from @sveltejs/kit/vite, but this needs to be configured as vitePreprocess({postcss: true}) in order for Skeleton's theme-[preset].css and all.css to be imported properly.
It would be nice to note this required config change in svelte.config.js, because the resulting import bug is rather difficult to troubleshoot for beginners 🙂.
The above only applies to the Manual Install documentation.
Are you able to create a Pull Request with the fix?
Yes

Worked through this on Discord and made the relevant updates in the CSA CLI


[Suggesstion] Better README for data downloading + pip package installment

Hi,
Thanks for the great work!
I tried to download the dataset following the page here: https://ego4d-data.org/docs/start-here/#cli-download. Which directed me to https://github.com/facebookresearch/Ego4d/blob/main/ego4d/cli/README.md.
After I configured AWS, I tried the next step
python -m ego4d.cli.cli --output_directory="~/ego4d_data" --datasets full_scale annotations
However, I find that this requires me to install the package "ego4d", which a new user doesn't expect to see. I also didn't see the install instruction in the main page: https://github.com/facebookresearch/Ego4d. I only realized that this is a pip package by seeing the setup.py file in the main folder.
I think it would be better if you can provide a one-line instruction for installation for the pip package itself. This would make the user experience much smoother. Thanks!

In case someone wonders what the command is:
pip install git+https://github.com/facebookresearch/Ego4d.git

Please install using easyinstall: python setup.py install
We'll add it to the README (and a requirements.txt if you prefer).  Thanks for the suggestion!


Style.

[ ] Read https://stevenpinker.com/files/pinker/files/why_academics_stink_at_writing.pdf and make checklist.
[ ] Likewise, read "Clear and Simple as the Truth" and make a checklist.
[ ] Strongly consider the curse of knowledge. Add more explanation of what the reliability is and why we should care?

This is important but should be considered for future papers only...


Fix pull trigger job names

needs 1.2.x backport

continuous-integration/jenkins/pr-merge passed, will merge it. the other check errors are a different thing


how can I get style reconstruction?

how can I get style reconstruction?should I set 'should_reconstruct_content' False?but it does not work

May I ask how you solved this problem?


Add sphinx doctest support to test run documentation examples

┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-318

Oops, wish we could get this going. Not going to insist this is part of the docs milestone though.

Closed by https://github.com/DataBiosphere/toil/pull/2426.


_pre_response_handlers should be called in Exception cases as well

This may be solved more simply in a true pale solution of #13.
Our current issue is that ArgumentErrors call API.UnprocessableEntity (HTTP:422) which bypasses the _pre_response_handlers. This may be the desired behavior, but it leaves us unable to send a CORs header when there are argument errors.

@rknLA @npbee I'd love your thoughts here :)

Yeah, so looking at the _pre_response_handlers thing, a couple of thoughts come to mind:

First, assuming this is the right way to solve the problem, I'm not a huge fan of the name, since technically everything is "pre-response".  If we wind up keeping the functionality, I would suggest calling it _after_render_handlers or _post_render_handlers or something along those lines, since it's more specific.
Second, is this the right way to solve this problem?  I'm all for figuring out how to elegantly keep this if it's clear that it has uses beyond just CORS, but my gut reaction is that it might cause more headaches in a general state -- It confuses some of the structure and process. Adding a step to the execution pipeline outside of the try/except seems like it will better enable people to shoot themselves in the foot, and seems like it enables/encourages monkey-patching beyond what should be necessary.  I completely understand why you put it outside of the try/except block, but it still makes me a bit uneasy.

CORS is a pretty specific problem, and imho, probably common enough in HTTP APIs to have CORS-specific functionality, rather than adding more generalization.


Allow to copy paste files from native explorer into Code explorer

VSCode Version:1.1.1
OS Version: Windows 10.0.10586

Steps to Reproduce:

copy a file in explorer
paste the file in vscode files tree

+1

drag and drop works. why not copy paste. :-)

ok, acceptable

Where can I track this issue? The link to the milestone doesn't seem to work (https://github.com/Microsoft/vscode/milestone/8)


Update mill-mima to 0.0.24

About this PR
📦 Updates com.github.lolgab:mill-mima from 0.0.19 to 0.0.24
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.lolgab", artifactId = "mill-mima" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.lolgab", artifactId = "mill-mima" }
}]

labels: library-update, early-semver-major, semver-spec-patch, commit-count:1

superseded by https://github.com/com-lihaoyi/utest/pull/310


Create package:lib-caffe-bvlc-opencl-libdnn-cuda-universal

@fvella Many thanks for contributing this package!


Strange behavior with default option --yes-playlist

Checklist

[ ] I'm reporting a feature request
[x ] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x ] I've searched the bugtracker for similar feature requests including closed ones

Description

WRITE DESCRIPTION HERE
Strange behavior with default option --yes-playlist = False:
By default --no-playlist = False, that is, I can interpret that initially --yes-playlist = True but in the youtube-dl options option.py --yes-playlist = False by default
https://github.com/ytdl-org/youtube-dl/blob/07af16b92ef52ac29ecd7f1defdca89295fa611c/youtube_dl/options.py#L337
I suggest clarifying the option or setting by default --yes-playlist = True
Regards!

There is not such option yesplaylist is the first place, both switches are mapped to noplaylist option.


⚠ Bofrost.lu has degraded performance

In 15e1c94, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1351 ms

Resolved: Bofrost.lu performance has improved in 32f5945 after 9 minutes.


Allow include/exclude to work on Vue files

I noticed that this line prevents include/exclude from working on Vue files, because query.vue will always be true for Vue files.
My use case is that I have a project with both Vue2 and Vue3 SFCs that I want to process with the same Vite config. So I am trying to get the vite plugins to look in different folders based on the Vue version. But since query.vue is true for both Vue 2 and 3 SFC, the filter doesn't work, and Vue 2 files try to get run through Vue 3's compiler, causing errors
Please consider making the filter work regardless of the query.vue value.

@cinderisles I think I have the same problem.
As this plugin is no longer being maintained, I doubt this will be fixed.
My conclusion was that the only way to achieve the goal is having separate Vite config files per SPA. Our backend is a Rails app, so we're using the vite_rails gem. Its maintainer explained how to make this approach work here: https://github.com/ElMassimo/vite_ruby/discussions/496#discussioncomment-10670295

@franzliedke I made an example repository for you with some of the workarounds I've found to get Vue 2 and 3 to work with the same Vite config. Hopefully I explained things well enough in the README
https://github.com/cinderisles/vue2-vue3-vite

@cinderisles Wow, thanks so much for putting so much effort into writing this down!
You are right, we are also doing this as a part of migrating a large app from Vue 2 to Vue 3. Migrating just parts of the app to Vue 3 and making both apps work together on the same page isn't something that occurred to me so far, I will consider it.
You have helped me understand that the way we use NPM aliases is a much deeper problem than I anticipated. I think I will try to avoid the (impressive!) patches and workarounds you resorted to, and will instead prepone our planned change to completely separate the apps we have (incl. separate package.json and separate build chains).

@franzliedke Happy to help! My guess is that for your use case, your apps don't need to share state and you were just looking for an easy way to build them all at once. I think the separate dev server approach as described by the vite_ruby maintainer here will be enough for you.
Unfortunately, in my case, I needed to share state between SPAs, because I had Vue 2 and 3 on the same page. There is no server code either, like Ruby on Rails --- just a pure SPA on a static file server. The Vite workarounds came about from over a year of a painful developer experience of having two different SPAs and dev servers running on different ports. I could only ever see both apps on a production build where I concatenated each SPA's build files together.
I definitely like the separateBundlesPlugin vite plugin example the vite_ruby maintainer gave. I'm going to give that a try with my include/exclude patches


Error checking mailto: based authorization

The root .acl file of NSS contains a mailto: based authorization like this:
# Optional owner email, to be used for account recovery:
acl:agent<EMAIL_ADDRESS>
When trying to  create a file in the root of the POD, it fails and the following error appears in the NSS logs:
could not fetch owner doc NamedNode {
  termType: 'NamedNode',
  value<EMAIL_ADDRESS>} { [HTTPError: File not found: /opt/solid/datanull]
  name: 'HTTPError',
  message: 'File not found: /opt/solid/datanull',
  status: 404 }

When I remove  the mailto: based acl:agent it works, but this is only a workarround.

Would be cool to have this fixed, since it is preventing people to use cool apps like solid-focus, which write directly to the root folder. Just had to give support to someone who was not aware of this bug and wondering why it did not work.

ok, I don't remember how we triaged this 4 weeks ago because from your description it does sound like a bug. We should have added a note on the issue, sorry about that. Would you like to have a go at fixing this yourself? If not, we'll triage it again on Monday, and then either @jaxoncreed or myself will add it to our queue.

Sorry, cannot handle this myself at the moment.

I experienced a similar problem using the nodejs 5.x server
When a mail is specified in an acl file, applications do not have any access mode.
Here is the response received

403: All Required Access Modes Not Granted

The problem can be bypassed by commenting the mail line in the root acl file ("acl:agent mailto:fake@example.com;").
The problem seems to come from acl-check.js: getTrustedModesForOrigin does not seem to return any results because it somehow fails while trying to get the modes authorized by the mail acl:agent (e. g<EMAIL_ADDRESS>
solid:ACL Using ACL https://<IP_ADDRESS>:8454/.acl for ./.acl +0ms
solid:ACL    2 direct authentications about https://<IP_ADDRESS>:8454/ +16ms
solid:ACL could not fetch owner doc NamedNode { termType: 'NamedNode', value<EMAIL_ADDRESS>} Only HTTP(S) protocols are supported +20ms
solid:ACL accessDenied: checking access to https://<IP_ADDRESS>:8454/ by https://persocloud.solidweb.org/profile/card#me and origin https://hyuryu.solid.community +477ms
solid:ACL trustedOrigins https://<IP_ADDRESS>:8454, modes  +3ms
solid:ACL    2 direct authentications about https://<IP_ADDRESS>:8454/ +6ms
solid:ACL     Agent or group: Ok, its public. +6ms
solid:ACL       Mode allowed: http://www.w3.org/ns/auth/acl#Read +3ms
solid:ACL    Checking auth https://<IP_ADDRESS>:8454/.acl#owner with agent https://persocloud.solidweb.org/profile/card#me +3ms
solid:ACL     Agent explicitly authenticated. +4ms
solid:ACL      Origin check FAILED. Origin not trusted. +3ms
solid:ACL       Check failed: Origin Unauthorized +2ms
solid:ACL accessDenied: modeURIorReasons: ["http://www.w3.org/ns/auth/acl#Read","Origin Unauthorized"] +1ms
solid:ACL  checking http://www.w3.org/ns/auth/acl#Control +2ms
solid:ACL   MODE REQUIRED NOT ALLOWED: http://www.w3.org/ns/auth/acl#Control Denying with All Required Access Modes Not Granted +1ms
solid:ACL Read access denied to https://persocloud.solidweb.org/profile/card#me: 403 - All Required Access Modes Not Granted +5ms

cc @jaxoncreed

This is urgent, it's causing errors in production.

Oh bummer, from https://github.com/solid/acl-check/commits/master it looks like this was fixed in thie module, but we didn't update NSS to use the latest version? Sorry about that!

fixed in #1242


Infinite Recursion

I'd like to request a feature. I'm using an object in a test that has a child that refers back to the parent. This causes an infinite loop when I run the test. If there could be a way to set the number of levels of recursion, it would be very nice.
Here's an example, in case i was not clear:
public class Parent {
    public Child Child { get; set; }
}

public class Child{
    public Parent Parent { get; set; }
}

var parent1 = new Parent();
parent.Child = new Child{ Parent = parent };

var parent2 = new Parent();
parent.Child = new Child{ Parent = parent };

parent1.ToExpectedObject().ShouldEqual(parent2); // <--- infinite loop

could this be released?

This has been fixed in v1.3.1.


better tests for FeaturizedAtoms, encoding, etc.

They also probably need to be reorganized a bit in light of the addition of the FeaturizedAtoms type...

On a slightly related note, the documentation may also need some reorganization.

renamed issue because realized we also need tests in the AtomGraph tests that the keyword arguments work. Currently those are only tested in the utils tests for graph-building, but then when a semicolon got lost in the AtomGraph constructor such that all keyword arguments accidentally became positional, it didn't break anything...


Custom page not capturing credentials

It is just me? Also im having trouble capturing creds from a specific website..

Hello @EdC0st4 what's site?

Hi @franklintimoteo,
Thanks for replying, i already figured out how to clone and setup the website for phishing.
When i host the html skeleton it doesent grap username and pass.. (see below)

Email Address

Password

sign in

Can you show me any concrete examples?
@EdC0st4


Disable Password Changed notification when some one accept the invitation

In Device.rb
Devise.setup do |config|
Send a notification email when the user's password is changed
config.send_password_change_notification = true
end

Has anyone got a workaround for this? If not I'll be happy to set about a PR to resolve it. Or is it something which should be tackled upstream? Perhaps Devise callbacks should be checking if the password changed_from == nil instead of just a basic change on the attribute to and from anything.

Someone here on the Devise list discussing a flag to allow skipping the email on a per-request basis which might be ideal for what we want to do here.
https://github.com/plataformatec/devise/issues/4492
The only other workable option would perhaps be to monkey-patch over Devises internal methods which do the logic to determine if the email should be sent.

Had a look this morning at options for MonkeyPatching and I couldn't see any approach which would be stable and reliable.
I think Devise needs to add a way to natively skip this email to it's API, as it does with confirmation emails, we can then interact with that API from invitable to skip sending password change emails when accepting an invite.
If anyone else has any short-term solutions I'd love to hear them, as getting a PR upstream is likely to take a little while.

My solution was override (monkey path) in model like so
def send_password_change_notification?   super && encrypted_password_was.present? # it will be an empty string by default end

@adzap could you send a pull request?

sure thing. but I was wondering if accepting_invitation? is a better/safer check. Thoughts?

You're right, it would be safer, in case someone has empty encrypted passwords and wants password change notifications


Create a service jenkins with swarm mode - /usr/local/bin/jenkins.sh: line 26: exec: : not found

Hi,
I have an error when I create a jenkins service with Swarm Mode. Any idea?
Docker commands that you execute
     docker service create \
       --name jenkins-master \
       --mount type=bind,target=/var/run/docker.sock,src=/var/run/docker.sock \
       --publish 50000:50000 \
       --publish 8080:8080 \
       --network my-network \
       --replicas 2 \
       jenkins \

Actual result
docker logs d295a97fd647
/usr/local/bin/jenkins.sh: line 26: exec:  : not found

docker ps -a
CONTAINER ID        IMAGE                    COMMAND                   CREATED              STATUS                            PORTS                                NAMES
d295a97fd647        jenkins:latest           "/bin/tini -- /usr/lo"    22 seconds ago       Exited (127) 7 seconds ago                                             jenkins-master.1.ci364dsu6abu2i371hofu3r4h
4ef9d26ea8a5        jenkins:latest           "/bin/tini -- /usr/lo"    30 seconds ago       Exited (127) 17 seconds ago                                            jenkins-master.2.dnr5buavtre9dnb2vxus9zv7e
553734b8db69        jenkins:latest           "/bin/tini -- /usr/lo"    55 seconds ago       Exited (127) 36 seconds ago                                            jenkins-master.1.bnzj2ii3vqd7zwnrp5g24sfk6
1c288d1e82c9        jenkins:latest           "/bin/tini -- /usr/lo"    58 seconds ago       Exited (127) 43 seconds ago                                            jenkins-master.2.c5y8adaub5t6crqb7axb5il8w
5a6ad6a30c45        jenkins:latest           "/bin/tini -- /usr/lo"    About a minute ago   Exited (127) About a minute ago                                        jenkins-master.1.9nz0n1zzznvn9iafd6ipiedl3
57cc8043c861        jenkins:latest           "/bin/tini -- /usr/lo"    About a minute ago   Exited (127) About a minute ago                                        jenkins-master.2.bciw9iz8jp7nuawl7utyxr4ly
d5b275594c4e        jenkins:latest           "/bin/tini -- /usr/lo"    About a minute ago   Created                                                                jenkins-master.1.azrcq27vp2c85plr8l0mnjrj7
ce471309001b        jenkins:latest           "/bin/tini -- /usr/lo"    About a minute ago   Created                                                                jenkins-master.2.dx01vj97x4kmaf4c11fc94wks

docker service ps jenkins-master

ID                         NAME                  IMAGE    NODE  DESIRED STATE  CURRENT STATE                ERROR
237z3q44ujbbs9uphjvtk5xpw  jenkins-master.1      jenkins  moby  Running        Starting 8 seconds ago
cra6mzcwvelv5w4hza0hovckq   \_ jenkins-master.1  jenkins  moby  Shutdown       Failed 22 seconds ago        "task: non-zero exit (127)"
9wxkhrwtvvk29s3v5um2z0ois   \_ jenkins-master.1  jenkins  moby  Shutdown       Failed about a minute ago    "task: non-zero exit (127)"
aatjjyjpsi0g0dnyw3kphi1to   \_ jenkins-master.1  jenkins  moby  Shutdown       Rejected about a minute ago  "network my-network not found"
cxfkpjo35muyg5fagjqdixwkh   \_ jenkins-master.1  jenkins  moby  Shutdown       Failed about a minute ago    "task: non-zero exit (127)"
17s9u6jjamqfr0hjn7wkxpcer  jenkins-master.2      jenkins  moby  Running        Starting 2 seconds ago
3ry1mr5gf79oz348fd19i5wth   \_ jenkins-master.2  jenkins  moby  Shutdown       Failed 15 seconds ago        "task: non-zero exit (127)"
3rq392j4lunwuddaabgz50bjh   \_ jenkins-master.2  jenkins  moby  Shutdown       Rejected 54 seconds ago      "network my-network not found"
e84kph3cz28nf866mkjq8qo5k   \_ jenkins-master.2  jenkins  moby  Shutdown       Failed about a minute ago    "task: non-zero exit (127)"
9tdwj9rxcg54d0engguamtzp6   \_ jenkins-master.2  jenkins  moby  Shutdown       Failed about a minute ago    "task: non-zero exit (127)"

docker network ls

NETWORK ID          NAME                DRIVER              SCOPE
534e9618dd46        bridge              bridge              local
b47603b07daa        docker_gwbridge     bridge              local
f53597d19fba        host                host                local
2fbinr6ymgmt        ingress             overlay             swarm
9wgn11t04fkv        my-network          overlay              swarm
5aed5af2a885        none                null                local

Expected outcome
no error
Have you tried a non-dockerized Jenkins and get the expected outcome?
Output of docker version
Docker version 1.12.6, build 78d1802
Other relevant information

you are passing as argument an empty string or a string with spaces to the docker image
my guess is the last \  does not need to be there

Thank you @carlossg


Broken syntax-highlighting on current master branch

Hello,
I've been trying out the code of the master branch today, and it seems that it does not do syntax-highlighting at all (no
 or  tags when using a highlight shortcode such as {{< highlight go >}} A bunch of code here {{< /highlight >}}).
It's working in the v0.19 release of course.
Btw: It would be great if you could release v0.20 soon because it fixes the bug with period in tags (which is why I've been trying the master code in first place ;)!
<3

Btw: It would be great if you could release v0.20 soon because it fixes the bug with period in tags (which is why I've been trying the master code in first place ;)!

So we should release v0.20 even if the hightlight shortcode isn't working for you?

No need to be snarky.
I was just reporting a bug I've experienced, and on an only slightly related note expressed my desire to see the next release which fixes another pretty important issue.

No need to be snarky.

Yes it was.

And I cannot reproduce this either, and we do have tests for this running fine on "all" systems, so I suspect others would have shouted already, so I suspect "something else" is going on.
Do you have a public sourced site with this problem?

$ hugo env
Hugo Static Site Generator v0.20-DEV darwin/amd64 BuildDate: 2017-04-04T10:51:42+02:00
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.8"

I was able to reproduce the bug (syntax highlighting shortcode getting ignored) by just following the steps in the Hugo Quickstart Guide:

Create a new site: $ hugo new site bookshelf
Add content: $ hugo new post/good-to-great.md

Add {{< highlight go >}} A bunch of code here {{< /highlight >}}) to the post

Add a theme:

$ cd themes
$ git clone https://github.com/dim0627/hugo_theme_robust.git
$ (cd hugo_theme_robust; git checkout b8ce466)

Serve the site: $ hugo server --theme=hugo_theme_robust --buildDrafts

Viewing the page there is simply no syntax highlighting, and this is the resulting HTML:

 A bunch of code here .

@metachris I'm not able to reproduce this with your example, either, and since my setup is similar (Mac), I guess your problem is Pygments-related.
Run hugo -v and look for errors or warnings.
Also note that I recently fixed an issue where WARNING from the global logger were not printed even if -v was set, so a pull for the latest Hugo may give you more output in verbose mode.

Solved the issue by installing Pygments with pip install Pygments. Should this perhaps be included in the installation instructions?
Thanks for the support.

Perhaps want to add a WARNING if the highlight shortcode is used but Pygments is not installed?

We have a WARNING in that case.

It didn't show in my case:
$ hugo server --theme=hugo_theme_robust --buildDrafts -v
INFO 2017/04/05 13:06:53 Using config file:
INFO 2017/04/05 13:06:53 using a UnionFS for static directory comprised of:
INFO 2017/04/05 13:06:53 Base: /Users/chris/ToDelete/bookshelf/themes/hugo_theme_robust/static
INFO 2017/04/05 13:06:53 Overlay: /Users/chris/ToDelete/bookshelf/static/
INFO 2017/04/05 13:06:53 syncing static files to /
WARN 2017/04/05 13:06:53 Translation func for language en not found, use default.
WARN 2017/04/05 13:06:53 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
INFO 2017/04/05 13:06:53 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
INFO 2017/04/05 13:06:53 Alias "/post/page/1/index.html" translated to "post/page/1/index.html"
INFO 2017/04/05 13:06:53 Alias "/page/1/index.html" translated to "page/1/index.html"
WARN 2017/04/05 13:06:53 404.html is rendered empty
Built site for language en:
1 of 1 draft rendered
0 future content
0 expired content
1 regular pages created
8 other pages created
0 non-page files copied
2 paginator pages created
0 categories created
0 tags created
total in 53 ms
WARN 2017/04/05 13:06:53 Skip i18nDir: lstat /Users/chris/ToDelete/bookshelf/i18n: no such file or directory
Watching for changes in /Users/chris/ToDelete/bookshelf/{data,content,layouts,static,themes}
WARN 2017/04/05 13:06:54 Skip i18nDir: lstat /Users/chris/ToDelete/bookshelf/i18n: no such file or directory
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

@metachris FWIW, The requirement for Pygments is called out in two different places in the docs concept, both as a section under installation and then called out and explained pretty clearly in tools/syntax-highlighting.
https://hugodocs.info/getting-started/installing/#installing-pygments-optional
https://hugodocs.info/tools/syntax-highlighting/
I know you are now asking about the warning to the console, but I'm open to suggestions if you think there are better ways to document this dependency moving forward. Thoughts?

Wow, thanks. This is a pretty great, constructive response!
I've been building software for a while, and typically know how to follow installation instructions ^^
I think my problem was that I came to this site when looking for building from source: http://gohugo.io/overview/installing/#installing-from-source. Pygments is mentioned far above and was not in the picture here. Perhaps another reminder such as in this PR?
Just trying to contribute ;)


Set kindest/node image, Shoot K8s version for e2e tests and envtest version to Kubernetes v1.28

How to categorize this PR?

/area open-source
/kind enhancement
What this PR does / why we need it:
Since PR #8479 Gardener supports Kubernetes v1.28.
As a follow up, this PR updates e2e and envtest related Kubernetes versions to v1.28.
Which issue(s) this PR fixes:
Part of #8291
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve

/test pull-gardener-e2e-kind-operator

/retest


Bump birthday countdown to next year

This pull request will be merged on June 22nd, 2023.

@dependabot rebase


docs: Improve session affinity section in kube-proxy free guide

Address @pchaigno comments (https://github.com/cilium/cilium/pull/11957/).
Mention BPF map size scale implications for the affinity map.

Coverage decreased (-0.01%) to 36.982% when pulling bcb9dab0613af4a00b9366c34e38014302f0e3e8 on pr/brb/docs-session-affinity-improvements into 961da399b397854019a5fe26c13422081b04e6a4 on master.

Do we want to backport to v1.8?


[ Minor Change ] Instead of {}, use [] as the value of payload in the example.

As payload is binary, maybe it's  better use array ( '[]' in json ) in the example.

@Jason918 I will close your pr, please check the latest version.


pciutils: build with dns query support

This enables lspci -q to look up unknown PCI IDs via DNS queries
without needing the update-pciids script that the derivation doesn't
include.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pciutils

Success on x86_64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/lib/libpci.so.3.5.6
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/setpci
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/lspci
gzipping man pages under /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/lib  /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin
patching script interpreter paths in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6
checking for references to /build in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6...
moving /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/* to /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/bin
/nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pciutils
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/sbin/setpci
shrinking /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/sbin/lspci
shrinking /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/lib/libpci.so.3.5.6
gzipping man pages under /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/lib  /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/sbin
patching script interpreter paths in /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6
checking for references to /build in /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6...
moving /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/sbin/* to /nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6/bin
/nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6

Success on x86_64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/lib/libpci.so.3.5.6
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/lspci
shrinking /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/setpci
gzipping man pages under /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/lib  /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin
patching script interpreter paths in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6
checking for references to /build in /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6...
moving /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/sbin/* to /nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6/bin
/nix/store/dfq79afyk3hn8pxl1vs656j3dxjs5xa3-pciutils-3.5.6

Success on aarch64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
/nix/store/sflihhg8agynm8kpwj506g1697qrqn9k-pciutils-3.5.6

This triggers 15k rebuilds. I think it should go to staging first.

Success on x86_64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
these paths will be fetched (0.36 MiB download, 1.60 MiB unpacked):
  /nix/store/g2099phymq4bzayk9qy462h64bp1s4gr-kmod-25
  /nix/store/wrlkxs0m55psi2jdqhb9jggsr2riw5gd-pciutils-3.5.6
copying path '/nix/store/g2099phymq4bzayk9qy462h64bp1s4gr-kmod-25' from 'https://cache.nixos.org'...
copying path '/nix/store/wrlkxs0m55psi2jdqhb9jggsr2riw5gd-pciutils-3.5.6' from 'https://cache.nixos.org'...
/nix/store/wrlkxs0m55psi2jdqhb9jggsr2riw5gd-pciutils-3.5.6

Success on aarch64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/sbin/setpci
shrinking /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/sbin/lspci
shrinking /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/lib/libpci.so.3.5.6
gzipping man pages under /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/share/man/
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/lib  /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/sbin
patching script interpreter paths in /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6
checking for references to /build in /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6...
moving /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/sbin/* to /nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6/bin
/nix/store/60fs46wk0a5qpp2w9y76zpjga43q9iyk-pciutils-3.5.6

Holy cow, it did not occur to me that this would result in a mass rebuild.  Thanks for pointing that out, @vcunat.

That wasn't me but Mic92 who (I presume) just looked at what the Borg automatically reported...

ahem yes that.  Thanks in general, all ye who are are better at paying attention to words than I am.


O2SAT

Check Weiss 1970 table

Is o2sat taken out of the oceans.sw_extras module? Because when I try to run the notebook in python4oceanographers "2013-05-27-CTD2DataFrame" it requires the import of o2sat module!.

Is o2sat taken out of the oceans.sw_extras module?

Yes. There is a bug that I did not had the time to fix when shipping the last release, so I decided to remove it instead of shipping a broken package.  The old function is attached below.  Use it at your own risk!  (I will fix the it when I get some free time.)
def o2sat(s, pt):
    """
    Calculate oxygen concentration at saturation.  Molar volume of oxygen
    at STP obtained from NIST website on the thermophysical properties of fluid
    systems (http://webbook.nist.gov/chemistry/fluid/).

    Parameters
    ----------
    s : array_like
        Salinity [pss-78]
    pt : array_like
         Potential Temperature [degC ITS-90]

    Returns
    -------
    osat : array_like
          Oxygen concentration at saturation [umol/kg]

    Examples
    --------
    >>> import os
    >>> from pandas import read_csv
    >>> import oceans.seawater.sw_extras as swe
    >>> path = os.path.split(os.path.realpath(swe.__file__))[0]
    # Table 9 pg. 732. Values in ml / kg
    >>> pt = np.array([-1, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20, 22,
    ...                24, 26, 28, 30, 32, 34, 36, 38, 40]) / 1.00024
    >>> s = np.array([0, 10, 20, 30, 34, 35, 36, 38, 40])
    >>> s, pt = np.meshgrid(s, pt)
    >>> osat = swe.o2sat(s, pt) * 22.392 / 1000  # um/kg to ml/kg.
    >>> weiss_1979 = read_csv('%s/test/o2.csv' % path, index_col=0).values
    >>> np.testing.assert_almost_equal(osat.ravel()[2:],
    ...                                weiss_1979.ravel()[2:], decimal=3)

    References
    -----
    .. [1] The solubility of nitrogen, oxygen and argon in water and seawater -
    Weiss (1970) Deep Sea Research V17(4): 721-735.
    """

    t = T68conv(pt) + Kelvin
    # Eqn (4) of Weiss 1970 (the constants are used for units of ml O2/kg).
    a = (-177.7888, 255.5907, 146.4813, -22.2040)
    b = (-0.037362, 0.016504, -0.0020564)
    lnC = (a[0] + a[1] * (100. / t) + a[2] * np.log(t / 100.) + a[3] *
           (t / 100.) +
           s * (b[0] + b[1] * (t / 100.) + b[2] * (t / 100.) ** 2))
    osat = np.exp(lnC) * 1000. / 22.392  # Convert from ml/kg to um/kg.

    # The Apparent Oxygen Utilization (AOU) value was obtained by subtracting
    # the measured value from the saturation value computed at the potential
    # temperature of water and 1 atm total pressure using the following
    # expression based on the data of Murray and Riley (1969):

    # ln(O2 in µmol/kg) = - 173.9894 + 255.5907(100/TK) + 146.4813 ln(TK/100) -
    # 22.2040(TK/100) + Sal [-0.037362 + 0.016504(TK/100) - 0.0020564(TK/100)2],
    # where TK is temperature in °K and Sal in the Practical Salinity (SP) scale.

    return osat

Thank you very much Filipe. This is a great resource, thanx for your
efforts.
On Thu, Aug 6, 2015 at 3:45 PM, Filipe<EMAIL_ADDRESS>wrote:

Is o2sat taken out of the oceans.sw_extras module?
Yes. There is a bug that I did not had the time to fix when shipping the
last release, so I decided to remove it instead of shipping a broken
package. The old function is attached below. Use it at your own risk! (I
will fix the it when I get some free time.)
def o2sat(s, pt):
"""    Calculate oxygen concentration at saturation.  Molar volume of oxygen    at STP obtained from NIST website on the thermophysical properties of fluid    systems (http://webbook.nist.gov/chemistry/fluid/).    Parameters    ----------    s : array_like        Salinity [pss-78]    pt : array_like         Potential Temperature [degC ITS-90]    Returns    -------    osat : array_like          Oxygen concentration at saturation [umol/kg]    Examples    --------    >>> import os    >>> from pandas import read_csv    >>> import oceans.seawater.sw_extras as swe    >>> path = os.path.split(os.path.realpath(swe.file))[0]    # Table 9 pg. 732. Values in ml / kg    >>> pt = np.array([-1, 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20, 22,    ...                24, 26, 28, 30, 32, 34, 36, 38, 40]) / 1.00024    >>> s = np.array([0, 10, 20, 30, 34, 35, 36, 38, 40])    >>> s, pt = np.meshgrid(s, pt)    >>> osat = swe.o2sat(s, pt) * 22.392 / 1000  # um/kg to ml/kg.    >>> weiss_1979 = read_csv('%s/test/o2.csv' % path, index_col=0).values    >>> np.testing.assert_almost_equal(osat.ravel()[2:],    ...                                weiss_1979.ravel()[2:], decimal=3)    References    -----    .. [1] The solubility of nitrogen, oxygen and argon in water and seawater -    Weiss (1970) Deep Sea Research V17(4): 721-735.    """
t = T68conv(pt) + Kelvin
# Eqn (4) of Weiss 1970 (the constants are used for units of ml O2/kg).
a = (-177.7888, 255.5907, 146.4813, -22.2040)
b = (-0.037362, 0.016504, -0.0020564)
lnC = (a[0] + a[1] * (100. / t) + a[2] * np.log(t / 100.) + a[3] *
       (t / 100.) +
       s * (b[0] + b[1] * (t / 100.) + b[2] * (t / 100.) ** 2))
osat = np.exp(lnC) * 1000. / 22.392  # Convert from ml/kg to um/kg.

# The Apparent Oxygen Utilization (AOU) value was obtained by subtracting
# the measured value from the saturation value computed at the potential
# temperature of water and 1 atm total pressure using the following
# expression based on the data of Murray and Riley (1969):

# ln(O2 in µmol/kg) = - 173.9894 + 255.5907(100/TK) + 146.4813 ln(TK/100) -
# 22.2040(TK/100) + Sal [-0.037362 + 0.016504(TK/100) - 0.0020564(TK/100)2],
# where TK is temperature in °K and Sal in the Practical Salinity (SP) scale.

return osat

—
Reply to this email directly or view it on GitHub
https://github.com/pyoceans/python-oceans/issues/14#issuecomment-128351724
.

Fixed in #61


ValueError: setting an array element with a sequence

From<EMAIL_ADDRESS>on 2014-05-29T07:35:44Z
Spyder Version:  2.3.0beta2
Python Version:  3.3.3
Qt Version    :  4.8.4, PyQt4 (API v2) 4.9.6 on Windows
pyflakes >=0.6.0:  None (OK)
pep8 >=0.6      :  None (NOK)
IPython >=0.13  :  1.1.0 (OK)
rope >=0.9.2    :  0.9.4 (OK)
sphinx >=0.6.6  :  1.2.1 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  <IP_ADDRESS> (OK)
pylint >=0.25   :  1.0.0 (OK)
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1838

From contrebasse on 2014-05-29T06:43:20Z
Could you add more informations please ? Right now it is impossible to do anything with this bug report. The part "
What steps will reproduce the problem?
" is very important.
The little I understand from the title seems to indicate that the problem is not linked with spyder.

We should close this one @ccordoba12

Yes.


Unable to serve viewer from pip installation with neuroglancer 2.39.1

Versions
neuroglancer 2.39.1
python 3.10.13
mac OSX 13.5.2 M1
Steps to reproduce:
Script:

create and activate new conda env with python 3.10
pip install neuroglancer
from examples dir, run python -i example.py -> produces 404 page

chrome browser console: "Failed to load resource: the server responded with a status of 404 (Not Found)"

Tried other examples, same result

Notebook:

open and run first few cells in jupyter-notebook-demo.ipynb -> link to viewer also produces 404

Expected:
I should be seeing the neuroglancer app

seeing the same issue.
neuroglancer  2.39.1
osx sonoma      14.4
python        3.12.2


GrapthQL LInk not working

https://apim.docs.wso2.com/en/latest/learn/design-api/create-api/create-a-graphql-api/
under point no 3
under note "The file name can be any name, which is based on your preference."
is associated with link but that is not working
@dunithd @knightbeat @

please accept this as bug

Closing the issue as this is not reproducing


Request for Enhancements to External Storage Sync Functionality

Hello,
I hope this message finds you well.
I am reaching out to inquire if there are any plans to enhance the external storage synchronization functionality for local storage. Currently, the API call initiates a one-time sync for the entire project. While this works for smaller projects, it becomes challenging for larger ones (e.g., those with more than 5,000 or so tasks), as the sync process often times out before completion.
Although I have implemented a workaround by extending the timeout period #5890, this approach becomes increasingly impractical as project size continues to grow. For instance, I have a project with over 60,000 tasks, and the synchronization process takes more than 20 minutes to complete.
A potential improvement could be the introduction of multi-threaded synchronization. Additionally, providing users with more granular control over the synchronization process would be highly beneficial. For example, having the ability to sync specific tasks based on criteria could greatly enhance usability. My top two suggestions for such functionality include:

Synchronizing tasks in order of priority (e.g., oldest or newest tasks first).
Synchronizing tasks by a specified range of task IDs.

Would such enhancements be feasible?
Thank you for your time and consideration. I look forward to your thoughts.
Best regards,
Willie

Hello,

Regarding your question about scaling: Label Studio Enterprise is designed to handle the challenges of having a large number of tasks. It manages synchronization in the background as a separate task, running for several hours to sync a substantial number of tasks. If you require scalability, please consider switching to the enterprise edition. We do not have plans to support scalability in the community edition.

As for granular control: it seems you need to update your tasks over time. Why do you require this capability? What does your workflow look like?


Add Food List and New Food Form Pages

Add Food List and New Food Form Pages
In this milestone, I:

Added the Food model and its controller
Added Food list(foods#index):

Should display a list of food as in the wireframe.
Should lead to a form that allows users to add new food.

Added Food Form(foods#new and foods#create)
Test created features

Hi @leopiresgoss    :wave: you have made an outstanding job so far congrats! :+1:
To highlight: :checkered_flag:

No linter errors :heavy_check_mark:
Professional PR :heavy_check_mark:
Clean code :heavy_check_mark:
Professional files structure :heavy_check_mark:
All features are working as expected :heavy_check_mark:

Your project is Approved, now it's time to merge it! Congratulations :1st_place_medal:
I don't have anything more to tell you other than wish you good luck and happy coding!


Add Dockerfile and docker-compose.yml for backend service

Issue #5
Tasks:

[x] Create a Dockerfile:

[x] Create a Docker Compose file (docker-compose.yml):

[ ] Update documentation:

lgtm!


Quick Start guide unclear

Hi, I'm following the quick start guide, it is unclear how you are meant to access python data_preprocess.py [parameter] from the previous instructions on the page.
It would be great if this could be clarified

Hi, you can go to the fold called examples, and then use python data_preprocess.py [parameter]

Xemorr

Hi, you can go to the fold called examples, and then use python data_preprocess.py [parameter]

This also hasn't been completed as the Quick Start Guide hasn't been updated to clarify this information


Is the project abandoned?

Title says it all.

I'm not sure if commenting my interest helps at all, but I'd also like to know.

Hey Dustin,
I completely understand being very busy!
I really like this project and I'm using it in the development of my first mobile game.
I'd like to contribute. I'll see if I can submit a PR this week.

Is there a sort of roadmap for this project? Milestones?

Milestone 1: find some more people to help maintain and develop this project.
I love the idea of React ECS, I just find myself in a very busy period in life.
Very happy to work with any interested contributors.
We can use this thread to get such a conversation going if that's helpful.

If one SDK that I'm using can use this project I may help maintain this project. I like ECS but I don't have a particular interest in using it with React, it's just something that can improve the performance of a project I'm in at work right now. Will update in a few weeks or so