Add last page to have all links working for the MVP

Not much was done. This PR is mostly to have all links working for the deploy of the MVP.
Content and styles will be added in future iterations.

Yes, will do! Thanks!


Missing image in documentation

https://github.com/oncue/funnel/blob/gh-pages/index.html#L96 - `<img src="/funnel/img/time-periods.jpg" alt="image />1

fixed


Update theme_explorer.py

Set clearable=False to the themes selection dropdown.
Before it allowed to clear the dropdown which breaks the layout of the app.

Oh, that's better - Thanks!
And thanks for being the first to do a pull request :slightly_smiling_face:  :confetti_ball:

🤗
On Wed, Apr 21, 2021 at 6:35 PM AnnMarieW @.***> wrote:

Oh, that's better - Thanks!
And thanks for being the first to do a pull request 🙂 🎊
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AnnMarieW/HelloDash/pull/2#issuecomment-824043778,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK5ZAANHV6NXNV3EQFDTPRTTJ3EQJANCNFSM43JWGAJQ
.


Making deep sleep work

I cannot seem to be able to put the modem in sleep mode.

AT returns OK.
AT+CSCLK=1 is submitted sucessfully.
DTR pin is set high, I checked voltage on the pad of the chip itself.

Are there any other actions to be taken that are specific to this board?
Does the esp32 need to sleep as well?
Here is a micropython example of what I am doing:
import machine

dtr = machine.Pin(25, machine.Pin.OUT, pull=None, value=0)
dtr = machine.Pin(12, machine.Pin.OUT, pull=machine.Pin.PULL_UP, value=1)

modem = machine.UART(1)
modem.init(baudrate=115200, rx=27, tx=26, timeout=1000)

# modem.write(b'\r\nAT\r\n')
# while True:
#     print(modem.readline())

modem.write(b'\r\nAT+CSCLK=1\r\n')
# while True:
#     print(modem.readline())

dtr.value(1)

Device info:
Manufacturer: INCORPORATED
Model: A7670E-LASE
Revision: A011B09A7670M7
A7670M7_B09V04_220225

I can see from your code that dtr is given to LOW when it is initialized, and the dtr variable is given to IO12 later. Are you sure you are correct?
To set the modem to sleep is to set DTR to HIGH and then send AT+CSCLK=1
I didn't write the sleep example for A7670, but you can refer to the sleep example for SIM7600, the method is the same
https://github.com/Xinyuan-LilyGO/T-SIM7600X/blob/master/examples/sleep/sleep.ino

Using the example from your link, my device reaches Check modem response . but never Modem is not respone ,modem has sleep !.

Hi ranger,
did you solved the problem of putting the modem to deep sleep? I am following your approach to set the ESP GPIO to high after sending the AT command:
   modem.sendAT("+CSCLK=1");     if (1 == modem.waitResponse(100, GF("OK")))     {         serialMon.println("SIM76770 deep sleep enabled");     }     pinMode(PIN_DTR, OUTPUT);     digitalWrite(PIN_DTR, LOW);     delay(10);     digitalWrite(PIN_DTR, HIGH);     delay(10);     gpio_hold_en((gpio_num_t)PIN_DTR);     gpio_deep_sleep_hold_en();
I am afraid of a change in the V1.2 Schematic but have not been able, to prove it.
The answer to this supposition might be written here: Schematic V1.2

Hi, I have not been able to make it work unfortunately.
However pin 3 (DTR) of the A7670 chip itself receives 1.8V from the esp32 when I set pin 25 high, so the two seem properly connected.

Thanks, to it might be related to some more open tasks which prevents to let the modem go to idle mode:
After setting the AT command “AT+CSCLK=1”, and then pulling up the DTR pin, Module will enter sleep mode when module is in idle mode. In sleep mode, the UART is unavailable.

No example online seems to mention that as a possible behavior. I did wait a long time but the modem never goes to sleep (keeps responding to commands such as AT).

No example online seems to mention that as a possible behavior. I did wait a long time but the modem never goes to sleep (keeps responding to commands such as AT).

I took it from here:https://github.com/Xinyuan-LilyGO/T-A7670X/blob/main/datasheet/A76XX_Series_AT_Command_Manual_V1.09.pdf
At the bottom of Page 34 in Chapter: 3.3.2 RI and DTR Behavior

Just checked with the following code, it still does not work.
/**
 * @file      sleep.ino
 * @author    Lewis He<EMAIL_ADDRESS> * @license   MIT
 * @copyright Copyright (c) 2023  Shenzhen Xin Yuan Electronic Technology Co., Ltd
 * @date      2023-05-24
 *
 */
#define TINY_GSM_MODEM_SIM7600
#define TINY_GSM_RX_BUFFER          1024 // Set RX buffer to 1Kb
#define SerialAT                    Serial1

// See all AT commands, if wanted
#define DUMP_AT_COMMANDS

#include <TinyGsmClient.h>

#define uS_TO_S_FACTOR      1000000ULL  /* Conversion factor for micro seconds to seconds */
#define TIME_TO_SLEEP       30          /* Time ESP32 will go to sleep (in seconds) */

#define UART_BAUD           115200

#define MODEM_RX            27
#define MODEM_TX            26
#define MODEM_PWRKEY        4
#define MODEM_DTR           32
#define MODEM_RI            33
#define MODEM_FLIGHT        25
#define MODEM_STATUS        34

#define SD_MISO             2
#define SD_MOSI             15
#define SD_SCLK             14
#define SD_CS               13

#define LED_PIN             12

#ifdef DUMP_AT_COMMANDS  // if enabled it requires the streamDebugger lib
#include <StreamDebugger.h>
StreamDebugger debugger(SerialAT, Serial);
TinyGsm modem(debugger);
#else
TinyGsm modem(SerialAT);
#endif

void setup()
{
    Serial.begin(115200); // Set console baud rate

    SerialAT.begin(115200, SERIAL_8N1, MODEM_RX, MODEM_TX);
    delay(100);
    /*
    The indicator light of the board can be controlled
    */
    pinMode(LED_PIN, OUTPUT);
    digitalWrite(LED_PIN, HIGH);

    if (esp_sleep_get_wakeup_cause() != ESP_SLEEP_WAKEUP_TIMER) {
        /*
        MODEM_PWRKEY IO:4 The power-on signal of the modulator must be given to it,
        otherwise the modulator will not reply when the command is sent
        */
        Serial.println("Powering up modem !");
        pinMode(MODEM_PWRKEY, OUTPUT);
        digitalWrite(MODEM_PWRKEY, LOW);
        delay(1000);
        digitalWrite(MODEM_PWRKEY, HIGH);
        //Ton >= 100 <= 500
        delay(1000);
        digitalWrite(MODEM_PWRKEY, LOW);
        delay(1000);

        /*
        MODEM_FLIGHT IO:25 Modulator flight mode control,
        need to enable modulator, this pin must be set to high
        */
        pinMode(MODEM_FLIGHT, OUTPUT);
        digitalWrite(MODEM_FLIGHT, HIGH);

    } else {
        Serial.println("Wakeup modem !");

        // Need to cancel GPIO hold if wake from sleep
        gpio_hold_dis((gpio_num_t )MODEM_DTR);

        // Pull down DTR to wake up MODEM
        pinMode(MODEM_DTR, OUTPUT);
        digitalWrite(MODEM_DTR, LOW);
        delay(2000);
        modem.sleepEnable(false);
    }

    Serial.println("Check modem online .");
    while (!modem.testAT()) {
        Serial.print("."); delay(500);
    }
    Serial.println("Modem is online !");

    delay(10000);

    Serial.println("Enter modem sleep mode!");

    modem.sendAT("+CSCLK=1");
    if (1 == modem.waitResponse(100, GF("OK")))
    {
        Serial.println("SIM76770 deep sleep enabled");
    }

    // Pull up DTR to put the modem into sleep
    pinMode(MODEM_DTR, OUTPUT);
    digitalWrite(MODEM_DTR, HIGH);
    // Set DTR to keep at high level, if not set, DTR will be invalid after ESP32 goes to sleep.
    gpio_hold_en((gpio_num_t )MODEM_DTR);
    gpio_deep_sleep_hold_en();

    delay(5000);

    Serial.println("Check modem response .");
    while (modem.testAT()) {
        Serial.print("."); delay(500);
    }
    Serial.println("Modem is not respone ,modem has sleep !");

    delay(5000);

    Serial.println("Enter esp32 goto deepsleep!");
    esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
    delay(200);
    esp_deep_sleep_start();
    Serial.println("This will never be printed");

}

void loop()
{
}

Hi,
your code or rather your loop conditions will - with stream debugger enabled- always fire back, that is why the modem.testAT() is true all the time. Furthermore your pin(s) are incorrect DTR is 25.

I have updated with your proposed fixes (fix dtr pin and disabled debugstream) it still doesn't work.
Code is here: https://gist.github.com/nlgranger/9da3da3668eb2c99ab1ebfd7b33a44be
I have sent a mail to @MilkoKrastev who seemed to have a working example.

Ok, nothing conclusive so far but from poking around I gathered:

There might be an issue with the USB condition needed to go to sleep due to the design of the board: https://github.com/Xinyuan-LilyGO/T-SIM7600X/issues/13#issuecomment-1113939152. I am not running on a battery (yet) so I don't think the reply from @LilyGO in that thread applies to my case.
There is an issue on wake up where the modem gets reset (https://github.com/Xinyuan-LilyGO/T-A7670X/issues/10), a hardware mod is needed to fix it.


update helm/tiller to v2.7.2 -- security bugfix

Updates to 2.7.2, which includes a security fix.
Also, helm_version is now the same as tiller_version (https://hub.docker.com/r/lachlanevenson/k8s-helm/tags/)

ci check this

I can't spot where this failed in the CI


Amplify pull failed: auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
12.18.4
Amplify CLI Version
7.5.4
What operating system are you using?
Windows
Amplify Categories
auth
Amplify Commands
pull
Describe the bug
While working in my dev environment I ran amplify pull -y which gave me the error
auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
I've made no pending changes and ran a pull to make sure everything is up to date
Running amplify pull --appId ***** --envName localdev works but if i try to do a standard amplify pull afterwards the error comes back
Tried running amplify update auth without changing any of my OAuth settings just in case the update triggers a fix for newer versions but no luck
There's an old issue for this here: https://github.com/aws-amplify/amplify-js/issues/7194 and I already have the environment variables AMPLIFY_GOOGLE_CLIENT_ID and AMPLIFY_GOOGLE_CLIENT_SECRET setup which was the suggested solution
I'm not on the latest version of amplify, been told to stick to 7.5.4 as there's issues in the later versions that are also having an impact
Expected behavior
I expect it to pull and apply the changes from my environment
Reproduction steps
run amplify pull
GraphQL schema(s)
No response
Log output

Local changes detected.
Pulling changes from the cloud will override your local changes.
√ Successfully pulled backend environment localdev from the cloud.
× There was an error initializing your environment.
auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
Error: auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
    at updateConfigOnEnvInit (C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\@aws-amplify\amplify-category-auth\src\provider-utils\awscloudformation\index.js:136:15)
    at C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\@aws-amplify\amplify-category-auth\src\index.js:349:28
    at C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\promise-sequential\index.js:16:18
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Additional information
No response

Hey @JackPenney :wave: thanks for raising this! On the latest version of the CLI (7.6.2) I was able to reproduce using the following steps:

create a new project with amplify init -y
amplify add auth > Default Social... > add Google credentials
amplify push -y
create a new git repo, connect to git
add hosting > Continuous Integration... using Amplify Console
push to git repo, allow console to rebuild
Observe error in Console, mitigate by adding environment variables noted in the report
create a new resource locally (to get some change locally), amplify add function
attempt to run amplify pull -y
Observe error

> amplify pull -y

Pre-pull status:

    Current Environment: dev

┌──────────┬────────────────┬───────────┬───────────────────┐
│ Category │ Resource name  │ Operation │ Provider plugin   │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Function │ 917651aca61e   │ Create    │ awscloudformation │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Auth     │ 9176a66315aa   │ No Change │ awscloudformation │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Hosting  │ amplifyhosting │ No Change │                   │
└──────────┴────────────────┴───────────┴───────────────────┘

Local changes detected.
Pulling changes from the cloud will override your local changes.
⠹ Fetching updates to backend environment: dev from the cloud.⠋ Building resource auth/9176a66315a✔ Successfully pulled backend environment dev from the cloud.
✖ There was an error initializing your environment.
auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
Error: auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
    at updateConfigOnEnvInit (/Users/josef/.fnm/node-versions/v16.13.0/installation/pnpm-global/5/node_modules/.pnpm/@aws-amplify+amplify-category-auth@2.4.4/node_modules/@aws-amplify/amplify-category-auth/src/provider-utils/awscloudformation/index.js:136:15)
    at /Users/josef/.fnm/node-versions/v16.13.0/installation/pnpm-global/5/node_modules/.pnpm/@aws-amplify+amplify-category-auth@2.4.4/node_modules/@aws-amplify/amplify-category-auth/src/index.js:349:28
    at /Users/josef/.fnm/node-versions/v16.13.0/installation/pnpm-global/5/node_modules/.pnpm/promise-sequential@1.1.1/node_modules/promise-sequential/index.js:16:18

If any of you could provide your appId and region where this is happening that would be great.

@JackPenney Can you confirm if this workflow is working with the latest version?

Hey @ganipcanot
my appId is: d1y0lxfx9s7bhz
The region is: eu-west-1
@ammarkarachi I've updated to CLI v7.6.3 and ran  amplify pull and got the following error in the console:
Local changes detected.
Pulling changes from the cloud will override your local changes.
√ Successfully pulled backend environment localdev from the cloud.
× There was an error initializing your environment.
auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
Error: auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
    at updateConfigOnEnvInit (C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\@aws-amplify\amplify-category-auth\src\provider-utils\awscloudformation\index.js:136:15)
    at C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\@aws-amplify\amplify-category-auth\src\index.js:349:28
    at C:\Users\jspen\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\promise-sequential\index.js:16:18
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Is the bug resolved? I am facing with this issue

@josefaidt Can we please get an escalation of this issue? This issue seems to still be occurring and is preventing us from having automatic pulling of configurations via amplify pull for CI/CD deployments. I am on the latest version of the cli at the time of this posting (10.5.1).

I'm also being me with limited success using amplify pull in Github Actions.
sh pull.sh                                                                                 1 ✘  5s 
Amplify AppID found: d3ihuduewsr9ju. Amplify App name is: exampleApp
Backend environment sandbox found in Amplify Console app: exampleApp
✔ Successfully pulled backend environment sandbox from the cloud.
✖ There was an error initializing your environment.
🛑 Could not initialize categories for 'sandbox': auth headless is missing the following inputParams userPoolId, webClientId, nativeClientId, identityPoolId

Resolution: Review the error message and stack trace for additional information.
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

The only way that I have been able to get around this is to export the configuration of each environment inside a folder in my project:
-- amplifyconfiguration-dev.dart
-- amplifyconfiguration-test.dart
Then, the build process picks up and replaces the amplifyconfiguration file in the root directory of the project before proceeding with the build.
While this does function, it is a HUGE limitation because if any configuration details get added/removed/changed in the amplifyconfiguration, it requires the developer to recreate the configuration file and drop it in the correct location before deploying a specific version.
I wanted people to have an, albeit ugly and not something I would recommend, workaround versus deployments of different Amplify environments simply not working. Especially when using CI/CD.

Facing the same issue with amplify-cli 10.7.1. For CI exporting env variables worked as a workaround. For local development, exporting env variables doesn't seem to fix it. Strangely, we didn't have this issue in the past. The only two things that changed recently: 1. We upgraded from 10.4.1 to 10.7.1. 2. We added our first lambda layer.

Interesting callout @hanna-becker . I have never thought about specific resources impacting this. We also have a Lambda layer in our infrastructure, but have from the beginning (and this process has never worked)
^FYI @danielleadams  -> In case you need a starting point.

Actually I edited my comment because I remembered we're still on 7.4.1 in our prod env without a lambda layer. I tested there and it produced the same error, so I suppose it's unrelated.

I've found the solution for this problem. Based on:
https://docs.amplify.aws/cli/usage/headless/#--categories
You can add configurations for the different categories on the init script. Here's the script suggested in the docs:
#!/bin/bash
set -e
IFS='|'

REACTCONFIG="{\
\"SourceDir\":\"src\",\
\"DistributionDir\":\"build\",\
\"BuildCommand\":\"npm run-script build\",\
\"StartCommand\":\"npm run-script start\"\
}"
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":false,\
\"profileName\":\"default\",\
\"accessKeyId\":\"headlessaccesskeyid\",\
\"secretAccessKey\":\"headlesssecrectaccesskey\",\
\"region\":\"us-east-1\"\
}"
AMPLIFY="{\
\"projectName\":\"headlessProjectName\",\
\"envName\":\"myenvname\",\
\"defaultEditor\":\"code\"\
}"
FRONTEND="{\
\"frontend\":\"javascript\",\
\"framework\":\"react\",\
\"config\":$REACTCONFIG\
}"
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
}"

amplify init \
--amplify $AMPLIFY \
--frontend $FRONTEND \
--providers $PROVIDERS \
--yes

From https://docs.amplify.aws/cli/usage/headless/#sample-script
We can add to that script the "auth" category as it suggests in https://docs.amplify.aws/cli/usage/headless/#--categories:
#!/bin/bash
set -e
IFS='|'

REACTCONFIG="{\
\"SourceDir\":\"src\",\
\"DistributionDir\":\"build\",\
\"BuildCommand\":\"npm run-script build\",\
\"StartCommand\":\"npm run-script start\"\
}"
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":false,\
\"profileName\":\"default\",\
\"accessKeyId\":\"headlessaccesskeyid\",\
\"secretAccessKey\":\"headlesssecrectaccesskey\",\
\"region\":\"us-east-1\"\
}"
AMPLIFY="{\
\"projectName\":\"headlessProjectName\",\
\"envName\":\"myenvname\",\
\"defaultEditor\":\"code\"\
}"
FRONTEND="{\
\"frontend\":\"javascript\",\
\"framework\":\"react\",\
\"config\":$REACTCONFIG\
}"
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
}"

AUTHCONFIG="{\
\"userPoolId\": \"myproject-userpool-id\",\
\"webClientId\": \"appid-web\",\
\"nativeClientId\": \"appid-native\",\
\"identityPoolId\": \"myproject-idp-poolid\"\
}"

CATEGORIES="{\
\"auth\":$AUTHCONFIG\
}"

amplify init \
--amplify $AMPLIFY \
--frontend $FRONTEND \
--providers $PROVIDERS \
--categories $CATEGORIES \
--yes

(Notice how i added the --categories parameter to the amplify init command).
The error message complains about googleAppIdUserPool and googleAppSecretUserPool being missing from the auth configuration, so we can add them to the AUTHCONFIG variable:
#!/bin/bash
set -e
IFS='|'

REACTCONFIG="{\
\"SourceDir\":\"src\",\
\"DistributionDir\":\"build\",\
\"BuildCommand\":\"npm run-script build\",\
\"StartCommand\":\"npm run-script start\"\
}"
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":false,\
\"profileName\":\"default\",\
\"accessKeyId\":\"headlessaccesskeyid\",\
\"secretAccessKey\":\"headlesssecrectaccesskey\",\
\"region\":\"us-east-1\"\
}"
AMPLIFY="{\
\"projectName\":\"headlessProjectName\",\
\"envName\":\"myenvname\",\
\"defaultEditor\":\"code\"\
}"
FRONTEND="{\
\"frontend\":\"javascript\",\
\"framework\":\"react\",\
\"config\":$REACTCONFIG\
}"
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
}"

AUTHCONFIG="{\
\"userPoolId\": \"myproject-userpool-id\",\
\"webClientId\": \"appid-web\",\
\"nativeClientId\": \"appid-native\",\
\"identityPoolId\": \"myproject-idp-poolid\"\,\
\"googleAppIdUserPool\": \"my-google-client-id\"\,\
\"googleAppSecretUserPool\": \"my-google-client-secret\"\
}"

CATEGORIES="{\
\"auth\":$AUTHCONFIG\
}"

amplify init \
--amplify $AMPLIFY \
--frontend $FRONTEND \
--providers $PROVIDERS \
--categories $CATEGORIES \
--yes

And the init command runs successfully. I've tested it in Github Actions and runs fine.

Closing as fix released with v12.0.0

problem: [Amplify pull failed: auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool]
could-be-solution: add environment variable in AWS Amplify (if you use Amplify)
AMPLIFY_GOOGLE_CLIENT_ID xxxxxx.apps.googleusercontent.com
AMPLIFY_GOOGLE_CLIENT_SECRET  XXXXX-XXXXXX-XXXXX
problem: [Amplify pull failed: auth headless is missing the following inputParams googleClientId]
could-be-solution: if you have more than one "callback uri" remove them from amplify->backend->auth->xxxxxx->cli-inputs.json and keep only one.
then amplify push -y
note: the allowed callback uri must be listed in your google's "Authorized redirect URIs" as well.
note: multiple callback uri sometime it work , sometime it dont.


failed creating a container with kitematic

I failed creating (downloading) a container with kitematic.
[error messege]
(HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:41514->[::1]:53: read: connection refused"}

I have the save issue!

Can you both provide the details of your setup:

Windows version
Docker Version
Docker for Windows version
Kitematic version

Same issue here - both for kitematic as well as docker pull rabbitmq (or any other package) via console.
Windows 10 version 1703 (build 15063.502)
Docker:
Version:      17.06.0-ce
API version:  1.30 (minimum version 1.12)
Go version:   go1.8.3
Git commit:   02c1d87
Built:        Fri Jun 23 21:51:55 2017

Kitematic: 0.12.0 (taken from kitematic.exe details)

@marttinen
Thanks! Docker Container running now !
But, when rebooting My PC, I need to format docker all for docker running.
I will make this as another issue.
For your reference
My Setup is

Windows version：
Microsoft Windows [Version 10.0.15063]          (Win10Pro)
Docker For Windows Version：
Docker version 17.06.0-ce, build 02c1d87
: 17.06
Ketematic Version：0.17.1    ※not know kitematic.exe property

Closing this issue due to lack of update/activity - Feel free to re-open if appropriate.


Better recipes for bread block

There is no conversion back from this, and it doesn't make a whole lot of sense in the first place. I think it would make more sense as just a storage block for bread, but the current recipe each block is equivalent to the cost of one bread (and some string, because unbundled  haybale != vanilla haybale).
My suggestion would be 9 bread = 1 bread block = 9 bread, and get rid of this recipe since it would become OP.
Relatedly, unbundled haybale should probably be able to convert directly back to wheat without needing to add string.

I think I can PR this if you want.

Please feel free, PRs are always encouraged here!

Okay nevermind my remark about "Relatedly, unbundled haybale should probably be able to convert directly back to wheat without needing to add string.".
I thought it didn’t because of something LlamaLord said (which is ironic in context), but never actually checked :skull:
I still have a possible follow-up enhancement, relating to unifying all of these architectural blocks, but one PR at a time.
On the upside, I'm ready to do the PR. Look for it within the hour, unless I get sidetracked again.


[NumberFieldActions] java.lang.NoSuchMethodException during Collection -> Number mapping field actions

When  a transformation with defined sourceCollectionType = CollectionType.ALL is used (i.e Average) following exception is thrown during mapping:
java.lang.NoSuchMethodException: io.atlasmap.actions.NumberFieldActions.average(io.atlasmap.v2.Action, java.lang.Number)
	at java.lang.Class.getMethod(Class.java:1786)
	at io.atlasmap.core.DefaultAtlasFieldActionService.processAction(DefaultAtlasFieldActionService.java:255)

Average method from NumberFieldActions:
average(Action action, Object input)

Mapping.xml:
 <Mappings>
        <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Collection" collectionType="List" mappingType="Collection">
            <Mappings>
                <Mapping xsi:type="Mapping" id="mapping.648264" mappingType="Map">
                    <InputField xsi:type="ns2:JavaField" name="integers" docId="io.atlasmap.qe.test.SourceListsClass" path="/integers<>" fieldType="Integer"/>
                    <OutputField xsi:type="ns2:JavaField" name="targetDouble" docId="io.atlasmap.qe.test.TargetMappingTestClass" path="/targetDouble" fieldType="Double">
                        <Actions>
                            <Average/>
                        </Actions>
                    </OutputField>
                </Mapping>
            </Mappings>
        </Mapping>
    </Mappings>

Right, the field actions which requires a collection as source fields can't be utilized due to #338. Changed to enhancement as currently there's no way to specify a field action on a whole collection in UI.

Putting aside the #338, there still is a bug in UI, which allows user to choose "Average" field action on non-collection target field. As Average requires collection as source field, we shouldn't show it in the transformation list.

After realizing the real issue is with collection-based functions showing up when they shouldn't, unblocking this a treating as a bug in the UI.

Yes, I should be able to address this in that timeframe

Did you use the same mapping file, or were you still able to choose the average transformation from the UI?

I just tried mapping between an integer and double field, and I don't see any way to use the Add function. How are you creating this mapping? Was it an existing one or did you recreate after the fix for this?

@mmelko do you still see Add transformation in UI? Add is also the one only consume collection, so shouldn't appear for Number target field in UI.

Yes, that's why I asked my question. I'm not seeing it show up as an option, so it looks like things are working as expected to me.

Well I have mapping from Collection to Number as I mentioned in tittle.

Is this an old mapping then? I don't know of a way via the UI to create a mapping from a source collection and add a transformation.

No .. I'm always using UI for mapping creations. You can add transformation when you reveal "Edit mapping":

@igarashitm Transformations are showing up correctly only when collection is involved but they can't be used due to this issue.

Ah, I see how to do this.  @mmelko 's scenario is possible if you you an array as a source.

@igarashitm I believe "Add" is meant to be as mathematical operation not adding into array.

@mmelko I is a mathematical operation, but it is meant to add the numbers from a source collection/array into a target number.

@igarashitm @jpav  Ok so for Collection -> Number mappings there are no transformations which is correct (I guess) .. but still there is few other examples where I can select incorrect transformation. I'm creating separate issue for that.
I still believe that root of this problem (NoSuchMethod) wasn't fixed though.

This happens if inappropriate field action is specified. I know the way of resolving field actions is pretty vulnerable, but it's where we are today.

FYI https://github.com/atlasmap/atlasmap/issues/393


Exception: A different Id has already been assigned for value

I've the following Code:
[TestFixture]
public class Issue9999 : TestFixtureBase
{
    public class Color
    {
        public Color()
        {
        }

        public Color(uint colorCode)
        {
            A = (byte)((colorCode & 0xff000000) >> 24);
            R = (byte)((colorCode & 0x00ff0000) >> 16);
            G = (byte)((colorCode & 0x0000ff00) >> 8);
            B = (byte)(colorCode & 0x000000ff);
        }

        public byte A { get; set; }
        public byte R { get; set; }
        public byte G { get; set; }
        public byte B { get; set; }
    }

    public static class Colors
    {
        public static Color White = new Color(0xFFFFFFFF);
    }

    [DataContract]
    public class TestClass
    {
        public TestClass()
        {
            Color = Colors.White;
        }

        [DataMember]
        public Color Color { get; set; }
    }

    [Test]
    public void Test()
    {
        var t = new List<TestClass>() {new TestClass() {Color = new Color()}, new TestClass() {Color = new Color()}};
        var settings = new JsonSerializerSettings {TypeNameHandling = TypeNameHandling.Auto, PreserveReferencesHandling = PreserveReferencesHandling.Objects};
        var json = JsonConvert.SerializeObject(t, settings);
        var obj = JsonConvert.DeserializeObject<List<TestClass>>(json, settings);
    }
}

It fails with the following Exception: A different Id has already been assigned for value 'Newtonsoft.Json.Tests.Issues.Issue9999+Color'.

The Problem is the Assignment of the default Value in the Constructor:
Color = Colors.White;

Use ObjectCreationHandle.Replace
I've improved the error message https://github.com/JamesNK/Newtonsoft.Json/commit/ec10effd1ee521eb61b15a460ec80bebafbd846c

Hi,
I receive that exception deserializating a complex object. the object signaled in the exception is used ONLY ONCE in the object. I can't figure out if I'm wrong or what...
I've created a test Visual Studio c#
TestApp_JsonNetBug.zip
Newtonsoft not included :-)
In the solution you can find the JSON to test it separately.
Thanks,
Andrea


⚠ Bofrost.be has degraded performance

In 28940e5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1810 ms

Resolved: Bofrost.be performance has improved in f812d6e.


Allow security.devlxd to be changed live

@calhorn95 you may find this one interesting as a follow up to yours

@brauner should be good to go


Parity/light.js personal_signTransaction method not found -32601

I am trying to run parity-light and use parity/light.js to make my send calls (through post$)
I first import my account as keystore file with passphrase and unlocked it under parity's keystore dir
The JSON-RPC apis calls works fine when I follow https://wiki.parity.io/JSONRPC-personal-module.html#personal_sendtransaction.
curl --data '{"method":"personal_unlockAccount","params":["0x4308C4533006420aCf64430442caa4653D2F2355","abc123",null],"id":3,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545

curl --data '{"method":"personal_sendTransaction","params":[{"from":"0x4308C4533006420aCf64430442caa4653D2F2355","to":"0x9Df27e38f7eEB3f3e06De1b2Aea027CdCEf346aa","data":"0x41cd5add4fd13aedd64521e363ea279923575ff39718065d38bd46f0e6632e8e","value":"0x186a0"},"abc123"],"id":3,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545

However the light.js post$ returns me error as stated in the title. I wonder if I am calling it correct or it is a issue that has not been solved
import React from 'react';
import ReactDOM from 'react-dom';
import light, { blockNumber$, balanceOf$, post$, makeContract, defaultAccount$ } from<EMAIL_ADDRESS>
import App from './App';
import provider from './provider';
import { map, filter, switchMap } from 'rxjs/operators';

import Web3 from 'web3'

const myAddress = '0x4308C4533006420aCf64430442caa4653D2F2355'
const secondAddress = '0x9Df27e38f7eEB3f3e06De1b2Aea027CdCEf346aa'

......

post$({
    from: myAddress,
    to: secondAddress,
    value: 100 * 1e15 // value in wei
  }, {
    passphrase: 'abc123'
  }).subscribe(console.log);

error:
personal_signTransaction([{"from":"0x4308c4533006420acf64430442caa4653d2f2355","to":"0x9df27e38f7eeb3f3e06de1b2aea027cdcef346aa","value":"0x16345785d8a0000"},"abc123"]): -32601: Method not found

Running parity-light
parity --light --chain=ropsten --mode=active -l sync=debug --unfe-expose --jsonrpc-apis=all --max-peers=10

library ver
"@parity/api": "^5.1.7",
    "@parity/contracts": "^5.1.7",
<EMAIL_ADDRESS>"^5.1.7",

The personal namespace isn't open by default, you could:

either run parity with --ws-apis=all
or, when you do light.setApi/light.setProvider, pass in a secure token (which then automatically opens the personal namespace)

@amaurymartiny Thank you for the fast reply! It worked after I added --ws option in parity-light.


API Update: Split API and Update Servers

PLACEHOLDER
As a user, I would like to be able to safely update my API software, with a reduced risk of a failed update leaving my robot in an unusable state.
Acceptance Criteria

Create a separate server to handle robot updates

Duplicated by #1208


Proxying namespaces through another file does not work.

Bug Report

🔎 Search Terms

proxy namespace
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link

StackBlitz link with relevant code
Playground link with relevant code
💻 Code

// module.ts
export declare namespace Foo {
  export const Bar = 42;
}
export class Foo {
  isBar(num: Bar): true;
  isBar(num: number): false;
  isBar(num: number): boolean {
    return num == 42;
  }
}

// proxy.ts
import * as module from './module';
type module = typeof import('./module');

export const Foo: module['Foo'] = module.Foo;
export type Foo = module['Foo'];

// index.ts
import { Foo } from './proxy';

const num: Foo.Bar = 42; // Foo is typed any?

function isBar(num: number): asserts num is Foo.Bar {
  const foo = new Foo(); // Foo is not typed any
  assert(foo.isBar(num)); // Overloads recognized
}

isBar(num);

num; // typed any

as second example
import * as dep from 'react-weui';
type dep = typeof import('react-weui');

const ActionSheet: dep['ActionSheet'] = dep.ActionSheet;
type ActionSheet = dep['ActionSheet'];

function isActionsPropType(obj: any): obj is ActionSheet.propTypes.actions { // ActionSheet is any?
    return obj == ActionSheet.propTypes.actions;
}

🙁 Actual behavior

in index.ts the "proxied" class Foo can be used, but when the namespace property Bar of Foo is used (Foo.Bar) Foo is any, hence Foo is not recognized some of the time.
🙂 Expected behavior

in index.ts the "proxied" class Foo can be used, but when the namespace property Bar of Foo is used (Foo.Bar) Foo is namespace Foo because the proxying of Foo is not changing the types, in fact the file proxy.ts should be considert an identity of sorts.

Your playground link gives a TS2713, and when that is corrected everything seems to work as expected.

mmm I can't replicate it but I did find a way around it using a .js and .d.ts


Textarea .text-base not updated with new content when note has been updated from other device

Describe the bug
Textarea .text-base not updated with fresh content when note has been updated from other device (severe bug)
Steps to reproduce

create a new note on your PC
take your phone, load the note and make some edits (e.g. add content)
cancel the edit on your phone, e.g. reload the page
edit the note on your PC again, add more content
take phone again and reload the page so you see the updated note content
on your phone click on edit note → Result: you see the content from your previously cancelled edit and not the new content inside the textarea
Refreshing the page several times does not help to get the new content into the textarea.
It always shows the content of the cancelled edit on the phone.

Expected: The textarea should show the content of the updated note!
I assume the html5 local storage is used to store the content of the textarea. however, it needs to consider the timestamp of the loaded note. If different then update the textarea content.
Alternative: when reloading two times, clear the local Browser storage
The version of Memos you're using
latest

Updated with https://github.com/usememos/memos/commit/eb72609ea3258bc7c5cd07d4afa4c3497896345e


CI matrix: Drop 2.0, 2.1, 2.2

This PR continues the conversation in #198 - dropping older items from the matrix.

@bundlerbot r+


更新 13c 博客链接

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


[Question] we need some specific requirements which is possible using library or not..?

We need scrollbar in the chart area so is there any way to achieve this? (Screenshot_1). (Please note that we don’t need zoom and panning functionality here.)

Is that possible we can use zoom with category?

Scroller was present prior apexcharts v2.0 but was removed due to buggy behavior.
No, currently zooming on category axis is not supported, but may come in future.


Implement Coprocessor API

adjust the implementation https://github.com/ngaut/unistore/blob/master/tikv/server.go#L509 to TinyKV code base https://github.com/pingcap-incubator/tinykv/blob/master/kv/tikv/server.go#L180

/pick

how is it going?😉

@loxp sorry for this issue, seems a lot of details should be discussed with tinysql. So I add a rough impl first to not block the release. But the code is ugly now, welcome to polish it and add some tests.


Fixed issue (TypeScript) #54

Great practice for contributing to projects.

Great practice for contributing to projects.

Thank you, im happy if this helps developers!

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Regenerate Playwright screenshots

📝 Description
Screenshots aren't up to date with actual code, this PR regenerate them
❓ Context

Impacted projects: ledger-live-desktop
Linked resource(s): N/A

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

N/A
🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots

/generate-screenshots


Support the with statement

We've been focused on strict mode, but it would be easy to support the with statement. We simply have to ensure that the object expression does not have any nested applications: that is all.

Now that is something jumper can do that Pyret, and things like
Regenerator, cannot.
Interesting!

right. you'd have to desugar with statements. terrible.

I don't know who would ever do that.

I am going to close this issue. This was a good joke.


Cannot read property 'set' of undefined

I keep getting this error in a basic project with a regular setComponents(universe.createEntity(), ....) where should I be looking to figure out this issue? I'm not sure if this is a bug or if i'm doing something wrong

Id does have a value and the universe is instantiated in Main

added a trace for components on line 49 and the error changes to the following

Haven't seen this before, do you have a small code sample which can trigger this error? Also if you try and run it through something like the interp target (if you can) what errors do you get then, might help narrow things down.

The code I was using was:
package systems;

import systems.FireSystem;
import types.LogTypes;

class Logger extends FireSystem {
	@:fastFamily var logs = {id:String, log:LogData};
	override function onAdded() {
		trace("test");
		var data = new LogData(LogLevel.LOW, LogEvent.NONE, 'testing');
		var entity = universe.createEntity();
		universe.setComponents(entity, "system", data);
	}

	override function update(_dt:Float) {
			iterate(logs, {
				trace(log);
				trace(log.level);
				trace(log.event);
				trace(log.content);
			});
	}
}```
I actually did that and the error went away, I switched back to js and it is no longer here again as well. It seems intermittent

Main.hx
import ecs.Universe;

import haxe.Timer;
import types.LogTypes;
import systems.*;
using ecs.macros.UniverseMacros;

class Main {
	static function main() {
		final universe = new Universe(1000);
		universe.setSystems(Logger);
		universe.setSystems(Repro);

		new Timer(150).run = function() {
			universe.update(1);
		}
	}
}

Logger
package systems;

import systems.FireSystem;
import types.LogTypes;

class Logger extends FireSystem {
	@:fastFamily var logs = {id:String, log:LogData};
	override function onAdded() {
		trace("test");
		var data = new LogData(LogLevel.LOW, LogEvent.NONE, 'testing');
		var entity = universe.createEntity();
		universe.setComponents(entity, "system", data);
	}

	override function update(_dt:Float) {
			iterate(logs, {
				trace(log);
				trace(log.level);
				trace(log.event);
				trace(log.content);
			});
	}
}```

Repro
```haxe
package systems;

import haxe.Json;
import ecs.System;

class Repro extends System {
	@:fastFamily var strategies = {id: String, strategy: Strategy};

	override function onAdded() {
		var json = "{value: 'test'}";
		var data = [];
		for (i in 0...5) {
			data.push(Json.parse(json));
		}

		for (key => item in data) {
			universe.setComponents(universe.createEntity(), '$key', new Strategy(item));
		}
	}
	override function update(_dt:Float) {
		iterate(strategies, {
			trace(id);
			trace(strategy);
		});
	}
}

class Strategy {
	var data:TData;
	public function new(data:TData) {
		this.data = data;
	}
}

typedef TData = {
	var value:String;
}```

Hmm, I've tried running that example and seems to run fine for me with interp and hxnodejs.

Only thing I've noticed is that your Logger system extends FireSystem which you didn't post the code for so I use the standard System as a parent.

this is all firesystem was, but even without it I have the same issue

where Logger.hx is:

I am testing on nodejs, but any dependencies on node at this point are removed.

Not sure if its the cause (might be different node version behaviours?) but the json string in the Repro class won't parse with how you have it.

Changing it to var json = '{"value": "test"}'; works for me. Not sure if thats the cause it making that change is needed for me to get it to run. Below is the classes you posted merged into one file and working for me.
import haxe.Timer;
import ecs.System;
import ecs.Universe;
import ecs.macros.UniverseMacros;
import haxe.Json;

using ecs.macros.UniverseMacros;

function main() {
    final universe = new Universe(8);

	universe.setSystems(Logger);
	universe.setSystems(Repro);

    new Timer(150).run = () -> {
        universe.update(1);
    }
}

class Logger extends System {
	@:fastFamily var logs = {id:String, log:LogData};
	override function onAdded() {
		trace("test");
		var data = new LogData(LogLevel.LOW, LogEvent.NONE, 'testing');
		var entity = universe.createEntity();
		universe.setComponents(entity, "system", data);
	}

	override function update(_dt:Float) {
		iterate(logs, {
			trace(log);
			trace(log.level);
			trace(log.event);
			trace(log.content);
		});
	}
}

class Repro extends System {
	@:fastFamily var strategies = {id: String, strategy: Strategy};

	override function onAdded() {
		var json = '{"value": "test"}';
		var data = [];
		for (i in 0...5) {
			data.push(Json.parse(json));
		}

		for (key => item in data) {
			universe.setComponents(universe.createEntity(), '$key', new Strategy(item));
		}
	}
	override function update(_dt:Float) {
		iterate(strategies, {
			trace(id);
			trace(strategy);
		});
	}
}

class Strategy {
	var data:TData;
	public function new(data:TData) {
		this.data = data;
	}
}

typedef TData = {
	var value:String;
}

class LogData {
	public var level:LogLevel;
	public var event:LogEvent;
	public var content:String;
	public function new(level:LogLevel, event:LogEvent, content:String) {
		this.level = level;
		this.event = event;
		this.content = content;
	}
}

@:forward enum abstract LogLevel(Int) {
	var INFO;
	var LOW;
	var MEDIUM;
	var HIGH;

	public var priority(get, never):Bool;
	private function get_priority() {
		return this > 1;
	}
}

@:forward enum abstract LogEvent(String) {
	var NONE;
}

Maybe you can see something, I forgot to say? But i've now commented everything that makes this project unique. I am using node 14.5.0

Figured it out! After copying the layout of things exactly as they are in that gif I got the error and it seems to be an issue with the wildcard imports in Main. I ran into this issue a couple of days ago with components, I haven't looked into the specifics or potential workarounds but it seems like the macro API doesn't like resolving types when they were wildcard imported.
For now chaning the import systems.*; in Main.hx with import systems.Logger; import systems.Repro; fixes it for me.

ahahah!!! I would have never guessed that. Thanks for entertaining this! I can continue without the wildcard import 😁


Add header as needed

Hallo,
Thanks for great library
i am facing the problam, hopefully there is some one to help me.
How to add header for spesific section ?
Thank you in advance :)

Follow the tutorial on the front page.


No default folders in mounted mock-fs's

For these tests to pass you have to link in the feature branch on mock-fs and make a little change adding the options argument to this function https://github.com/tschaub/mock-fs/blob/options/lib/index.js#L109 .
https://github.com/tschaub/mock-fs/pull/72
Fixes #15

You should be able to pull in<EMAIL_ADDRESS>now.

Thanks alot @tschaub! It works :+1:


Empty cache

Missing these two simple ones as I try to start using the thing in earnest for stuff other than the typical networked image cache.

Whatcha gonna do...


[TEP-0075]Pipeline results support object

Changes
This is part of work in TEP-0075.
Previous to this commit, we have added support for pipeline array
results. This commit supports object results, so pipeline can emit
object results as whole or emit elements of the object from tasks.
Before this commit the pipeline level result only support string and
array.
/kind feature

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in
(if there are no user facing changes, use release note "NONE")

Release Notes
Support object results and object element reference for pipeline level as an alpha feature.

A pipeline can specify a type to create object result, such as:

    results:
      - name: object-results
        type: object
        description: whole object
        value: $(tasks.task1.results.object-results[*])
      - name:  object-results-element
        type: string
        description: object element
        value: $(tasks.task2.results.array-results.keyName)

And the task script can populate result in an array form with:

echo -n "{\"foo\":\"bar\",\"hello\":\"world\"}" | tee $(results.object-results.path)

The pipeline results can refer to task results to collect them.
This feature is part of the TEP-0075.

#4723

Do you need to add test cases for these in https://github.com/tektoncd/pipeline/blob/main/pkg/reconciler/pipelinerun/pipelinerun_test.go?

Do you need to add test cases for these in https://github.com/tektoncd/pipeline/blob/main/pkg/reconciler/pipelinerun/pipelinerun_test.go?

you mean test from reconcile?

I think testing from both places seem more robust, since apply.go will be called there

/lgtm

/lgtm

/retest

/retest

/lgtm

/lgtm

/retest

/retest pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/retest


Add golem to the language list

Type: Feature Request
Hi, I would like this language to be added to the language list in vscode.
Here is the link https://kdx.re/cgit/golem
Thanks for the help and have a nice day !
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:50:47.800Z)
OS version: Linux x64 6.5.0-14-generic
Modes:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Yes I got the same issue please support golem I need it

Plz i have too many crampte, i need it

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!


unable to use local mirror

I am attempting to use a local mirror and have set the RUBY_BUILD_MIRROR_URL environment variable. I noticed that when installing a ruby version it would always try to use https://cache.ruby-lang.org I took a  look through the ruby-build bash script and noticed the following lines.
 if [ -n "$RUBY_BUILD_MIRROR_URL" ]; then
      mirror_url="${RUBY_BUILD_MIRROR_URL}/$checksum"
    fi

in combination with this
 http head "$mirror_url" &&
    download_tarball "$mirror_url" "$package_filename" "$checksum" ||
    download_tarball "$package_url" "$package_filename" "$checksum"

this appends the checksum to the mirror url, which  always returns a 404 and prevents me from using my local mirror. What is the purpose of these lines? when I remove the appended checksum from the mirror_url I have no trouble installing.

The RUBY_BUILD_MIRROR_URL variable specifies a base URL for all packages, not the URL to a specific package. ruby-build computes the URL for a specific package by joining the SHA2 checksum of the package file to the base mirror URL.
https://github.com/sstephenson/ruby-build#package-download-mirrors
In other words, if you want to mirror the package files for Ruby 2.2.3, you'll need to save ruby-2.2.3.tar.gz to a file named df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce, and openssl-1.0.1p.tar.gz to a file named bd5ee6803165c0fb60bbecbacacf244f1f90d2aa0d71353af610c29121e9b2f1.

So if a want to set my mirror to Artifactory, I would need to create a repo and set that as the RUBY_BUILD_MIRROR_URL and then save the tars as there checksums?

@warroyo To use a custom mirror, you want to ensure that the appropriate tarballs are available from download at URLs in format of ${RUBY_BUILD_MIRROR_URL}/${checksum}
Any missing tarball at this URL will result in the original download location being used.

i forgot to update, I have this working now


Update 10.11-implement-where-function.dart

In the previous code, we've got this error message :  "The operator '%' can't be unconditionally invoked because the receiver can be 'null'. Try adding a null check to the target ('!').dart(unchecked_use_of_nullable_value)". I found a simple a solution : typing "value" with int.

@bizz84 I think this PR is very useful.
Can and will help beginners.


自定义主题的样式，边框能否提供圆角和非圆角的选项

Thank you. I've found the way

Thank you. I've found the way

请问，怎样可以做到


Implement no_std support for SDK

The goal is to reduce dramatically contract size.
For example contract without std can be 5-8KB
Currently this requires to not use SDK at all.

I suggest profiling the memory usage first to understand what exactly is causing bloat before jumping to the solutions.
I would be surprised if std per se is a problem. My understanding is that, code-size wise, you don't pay for what you don't use in Rust/wasm. At the same time, some core functionality (formatting machinery mainly) is known to cause bloat.
The relevant tools are:

cargo bloat
cargo llvm-lines
twiggy

Just so that the link is not lost in private communication: this post shows that removing formatting machinery from an already no_std crates leads to 92% reduction in size: https://jamesmunns.com/blog/fmt-unreasonably-expensive/.

I have profilled before and there are three major sources of bloat in wasm
files:

fmt
full path and error strings in asserts and other errors
std dependencies of some libraries like serde and rand

For example I have 8kb contracts for NEAR without using SDK right now when
reducing it when avoid using dependencies and asserts.
On Tue, Jun 22, 2021 at 2:39 AM Aleksey Kladov @.***>
wrote:

Just so that the link is not lost in private communication: this post
shows that removing formatting machinery from an already no_std crates
leads to 92% reduction in size:
https://jamesmunns.com/blog/fmt-unreasonably-expensive/.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/near/near-sdk-rs/issues/443#issuecomment-865829709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABK27WWNI5BTPLJPY6FN6TTUBK5TANCNFSM462C3ZGQ
.

--
Best regards,
Illia Polosukhin

It would be rad if we can get the size of rust contracts down to 8kb

Checked - adding core::alloc::format and formatting a simple literal -
+4kb, debug formatting vector - +10kb to binary size. In general any debug
formatting especially on the structs will always balloon the size of the
binary, so derive(Debug) should be excluded for wasm.
On Fri, Jun 25, 2021 at 5:46 AM Bowen Wang @.***> wrote:

It would be rad if we can get the size of rust contracts down to 8kb
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/near/near-sdk-rs/issues/443#issuecomment-868474617,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABK27Q5MKMCETWUZOXABCLTUR3CZANCNFSM462C3ZGQ
.

--
Best regards,
Illia Polosukhin

Just for context, I want to mention that there is an experimental no-std NEAR SDK: https://github.com/austinabell/nesdie


Blitting shaders on DX12 and Metal

GL and Vulkan support blitting natively, but on the other backends we may need to resort to render quad-based blitting.
Metal port is happening in #1838 . We've got to start looking at DX12 side as well.

Fixed in #2028 and #1982 :tada:


Give assignEntity access to the original input object

Problem
When using assignEntity, we need to build values based on information from multiple keys/entities in the original input to normalize.
Why do this here? When reading from a state happens more often than writing, it's much better to have this done once on receipt than every time it's accessed.
Solution
Change assignEntity to be given a fourth argument, the value of the original, non-normalized object.
Resolves #64

@gaearon will this be merged?


[Transfer Screen] Wrong display for validated error message

Describe the bug

Hi @gaupoit , I can not reproduce on it, please help me double check it again


mapproxy-1.15.1  pip install also needs proj and six

Bug:  after installing with vanilla pip install mapproxy, mapproxy-util --version fails
Expected Behavior:  should just work
Steps to Reproduce:*

$ virtualenv  venv-mp

$ source venv-mp/bin/activate

(venv-mp) $ pip list
Package    Version
-----------------
pip        22.3.1
setuptools 65.7.0
wheel      0.38.4

(venv-mp) $ pip install mapproxy
Collecting mapproxy
Using cached MapProxy-1.15.1-py2.py3-none-any.whl (1.4 MB)
Collecting PyYAML>=3.0
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting Pillow!=2.4.0,!=8.3.0,!=8.3.1
Downloading Pillow-9.4.0-cp310-cp310-macosx_11_0_arm64.whl (3.0 MB)
3.0/3.0 MB 7.0 MB/s eta 0:00:00
Installing collected packages: PyYAML, Pillow, mapproxy
Successfully installed Pillow-9.4.0 PyYAML-6.0 mapproxy-1.15.1

test
(venv-mp) $ mapproxy-util --version
Traceback (most recent call last):
File "/opt/venv-mp/bin/mapproxy-util", line 5, in
from mapproxy.script.util import main
File "/opt/venv-mp/lib/python3.10/site-packages/mapproxy/script/util.py", line 29, in
from mapproxy.script.conf.app import config_command
File "/opt/venv-mp/lib/python3.10/site-packages/mapproxy/script/conf/app.py", line 32, in
from .sources import sources
File "/opt/venv-mp/lib/python3.10/site-packages/mapproxy/script/conf/sources.py", line 17, in
from mapproxy.srs import SRS
File "/opt/mp/venv-mp/lib/python3.10/site-packages/mapproxy/srs.py", line 26, in
from mapproxy.proj import USE_PROJ4_API
File "/opt/venv-mp/lib/python3.10/site-packages/mapproxy/proj.py", line 289, in
raise ImportError('could not find pyproj (Python library) or libproj (C library, deprecated)')
ImportError: could not find pyproj (Python library) or libproj (C library, deprecated)

fix
pip install pyproj then gets similar error with lack of six .
After a further pip install six, mapproxy-util --version successfully returns MapProxy 1.15.1

Context:

Installing mapproxy on macos 13.2 via pip,  as the linux tools apt etc. do not apply on macos.

Your Environment:

macos 13.2  arm64
python 3.10.9  (also with 3.11)

I think the six issue should be fixed by https://github.com/mapproxy/mapproxy/pull/604/files
Installing of pyproj should be handled by http://mapproxy.github.io/mapproxy/install.html#id1 whereas one would need to install python3-pyproj.
The documentation needs an update. will keep this open as a reminder.
Thanks for report!

documentation updated, feel free to reopen this if there are still issues left


Event log improvements

[x]  Handle client join/disconnect
[x] Handle company creation
[ ] Something more?

For now it should be all. I will create separate stories if something comes up


Int testing

Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        20.0s
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...                 1.4s
Waiting for sdk gphone x86 to report its views...                   21ms
I/re.mytableqata( 6453): Background young concurrent copying GC freed 84959(4570KB) AllocSpace objects, 5(164KB) LOS objects, 92% free, 1957KB/25MB, paused 2.480ms total 395.807ms
I/Choreographer( 6453): Skipped 79 frames!  The application may be doing too much work on its main thread.
E/flutter ( 6453): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider)
E/flutter ( 6453): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter ( 6453):
E/flutter ( 6453): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter ( 6453): #2      MethodChannelPathProvider.getApplicationDocumentsPath (package:path_provider_platform_interface/src/method_channel_path_provider.dart:50:10)
E/flutter ( 6453): #3      getApplicationDocumentsDirectory (package:path_provider/path_provider.dart:104:39)
E/flutter ( 6453): #4      main (package:mytableqatar/main.dart:46:20)
E/flutter ( 6453): #5      _runMainZoned.. (dart:ui/hooks.dart:231:25)
E/flutter ( 6453): #6      _rootRun (dart:async/zone.dart:1190:13)
E/flutter ( 6453): #7      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter ( 6453): #8      _runZoned (dart:async/zone.dart:1630:10)
E/flutter ( 6453): #9      runZonedGuarded (dart:async/zone.dart:1618:12)
E/flutter ( 6453): #10     _runMainZoned. (dart:ui/hooks.dart:223:5)
E/flutter ( 6453): #11     _startIsolate. (dart:isolate-patch/isolate_patch.dart:301:19)
E/flutter ( 6453): #12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA.

I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA.


janitor trolley has broken sprite layers

Description

probably has to do with the solution visualizer

idk what happened here but janitor trolley is fine


Update to sync v4.9.0

Update to Realm Core v5.23.6
Update to Realm Sync v4.9.0.
Handle protocol error 222 (client file expired).

@fronck Thanks!


Added notes about command execution to build_windows.md documentation

This change is

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @nesjett and @sergi-e)

Docs/build_windows.md, line 32 at r1 (raw file):

!!! Important
    To execute the "make" commands below, you MUST use the Visual Studio 2017 native console x64 WITH administrator rights, otherwise you may be getting permission errors.

Could you please change "make" to make (so that it is showed as code) and the words with capital letters to bold (like must or with).
Thanks for the contribution!

Changes are made.

Greetings


render() function is called infinite times when adding a value

I am seeing that the render function is called infinite times when a value is added.


Using the search is very slow in Safari

Describe the bug
As first observed by @d0choa, when using the search in the platform, the UI becomes very slow and unresponsive. As the user types the term to be searched, the letters appear very slowly on screen. This is observed in Safari only.
Observed behaviour
Go on the platform and type something in the search bar. The search UI is very laggy: the typed word appears slowly one letter at the time.
Expected behaviour
The searched term should be appear as I type. Search results should be displayed pretty quickly.
This is worst on certain pages: target profile is particularly bad, downloads page almost unnoticeable.
To Reproduce
Steps to reproduce the behaviour:

Go to https://platform.opentargets.org/target/ENSG00000091831
Click on search bar and start typing.
Notice the slow UI.

Additional context
At first it was thought that the search would fire a request for each letter of the search term (which is true if the user types very slowly).
Actually the search is normally fired twice, regardless of browser: once after a few letters, then at the end of the search term.
This however doesn't seem to be the problem.
It has been observed that on simple pages (e.g. downloads page) the search UI behaves normally.
On busy/complex pages like target profile, the problem is obvious.
Remove all but a couple of widgets and the search works correctly: @carcruz noted that perhaps React is triggering some re-rendering of all widgets at every keystroke.

🤯

@chinmehta and I discovered that the bug is not only related to Safari. Due to an implementation issue, we currently face a bug in all browsers.
From the FE-team perspective, the best approach is to re-architect the Seach component completely. I suggest expecting this to be done by the 23.11 release, and if it is possible to finish it and test it before the release, we can do a soft release to production.
We did develop this user flow and tech requirements that will be used to structure the feature:

The new search does not seem to lag in dev platform or dev PPP in chrome, safari or firefox.

Feedback:

Limit search results to 10
Centre align the search on the homepage taking scroll bar into account for both states.


Upload latest wheel to pypi

I wanted to install amuse via pypi, but I noticed that the versions between Github and pypi are out of sync, the latest v2023.5.1 has never been uploaded to pypi.

IIRC 2023.5.1 was a fix for amuse-mesa only. Obsolete now anyway.


Consolidate data and response function into single input type

Carrying over a comment from #5 from @dstansby

A thought, there is a well defined mapping from observation > temperature response function, so maybe instead of
m = Model(data, kernel, temperature, model='nonexistent_model')
it could be
m = Model(observation, temperature, model='nonexistent_model')
where observation stores both the data and the temperature response functions (and possible errors on the data too?)

May be related to #6 as well


Cannot load the configuration file

Jangouts supports a few configuration options using a config.json file which is retrieved at runtime. This mechanism does not work in the react-redux branch.

Fixed by #386.


Authentication of the database

The API calls are not authenticated and it should allow for a restriction of the access to the specific data

Authentication now implemented. Merge with main soon once the formatting and documentation has been written.


Create KinD tutorial to test and gather community feedback for 1.0.0 release

The scope of this tutorial is to gather feedback for the upcoming releases. This tutorial should be end-to-end, covering from prerequisites, installation, and usage of the func CLI.  It will be great to aim for a 20 minutes max step-by-step tutorial.
I see this tutorial split into two sections:

Installation of tools:

This tutorial should include cluster creation using KinD or a script like KonK where Knative is also installed as part of that cluster
This tutorial should explain how to install the func CLI

func CLI usage:

Build on top of tutorials like this: https://github.com/knative-sandbox/kn-plugin-func/blob/main/docs/function-developers/golang.md
Gather feedback about usage and about the understanding of what each command in the CLI is doing

We can create a google form for people to fill out while they are going over the tutorial.
A set of questions that we can ask people going over this tutorial can be:

Experience Level on Kubernetes (choose one of the following)

I've never used K8s before
I've used K8s and I understand how kubectl works
I am a K8s and Knative user already

Impressions about the installation procedure:

what can be done to improve the installation experience for a local development setup?

Impressions about the func CLI

Did you find and create a function using your programming language of choice?
Did any of the steps performed feel unnatural or different from what you are used to do with your IDE and programming language?
Did the tutorial work end to end? Did you manage to interact with your deployed function?
What errors did you encounter while following the tutorial?
How much time did you spend working through the tutorial?

It will be awesome if this tutorial is created by community members collaborating, I will be more than happy to help with the coordination.

/assign @salaboy I would love to work on this.

@kranurag7 let's work together on this.. I have some other community member also reaching out, so let's get started..

@kranurag7 We should try not to rewrite any existing tutorials or getting started guides.. but this should have a workshop style (step-by-step) and end to end.
Do you want to get started with the installation part:
Installation of tools:
- This tutorial should include cluster creation using KinD or a script like KonK where Knative is also installed as part of that cluster
- This tutorial should explain how to install the func CLI

As part of this work, I would like to ask you to document your experience and also your environment (mac, linux, windows) and versions of the tools that you need to install.

@kranurag7 also.. I think that start gathering questions about the feedback that we want to get from new users is highly important

@salaboy I'm doing it like this. Just wanted to understand and take a quick feedback from you. Am I going in the right direction, or do I need to elaborate the steps a little more?
Creating Cluster using Kind
I'm using Ubuntu 20.04 environment and if you're using any Linux distribution then the process should look similar according to me.
If you don't have enough resources locally, then spin up an Ubuntu instance in the cloud & follow the tutorial below.
You need to have docker installed in order to create kind cluster locally.
Installing docker

sudo apt-get remove docker docker-engine docker.io containerd runc

sudo apt-get update

sudo apt-get install \
	ca-certificates \
	curl \
	gnupg \
	lsb-release -y

sudo mkdir -p /etc/apt/keyrings

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

@kranurag7 yes.. I think this is good.. would you mind having that MD file in a repository? or in a fork of this repo?
Sections can be:

Prerequisites (Docker, kubectl, KinD, etc)

For this, links to the tutorials on installing these will be more than enough as you probably don't want to replicate all the instructions.

Creating a KinD cluster & Installing Knative Serving
Creating a function, the function should do something, like interacting with a public service if possible.
Deploying a function and interacting with the function (making a request, and see the result)

Check the https://github.com/knative-sandbox/kn-plugin-func/blob/main/hack/allocate.sh file which set up a KinD cluster with Knative Serving

/assign @kranurag7

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

Unassigning due to inactivity.  Please feel free to re-assign

/remove-lifecycle stale


Add messageId query param for WS Reader doc

Motivation
The messageId param was missing from the docs.
Modifications
Add one line to the docs.
Result
Better docs.

retest this please

retest this please


Update Footer Section

In this contribution I have done these things:

Changing Image at members section
Changing Footer

ok this is good btw :)


skip request cache with skipAuthRefresh tag

Caching request will allow refreshing axios with skipAuthRefresh go through
currently if the refreshLogic with delay work, it will be catch by the cacheRequest. By adding this line it allows request with skipAuthRefresh to pass through.
Additional Detail:
Fixing #120

Thank you very mich @cYee992 . Past few weeks are a bit busy, but I promise to take a look at it as soon as it will be possible. Great job 👍🏻

Thank you very mich @cYee992 . Past few weeks are a bit busy, but I promise to take a look at it as soon as it will be possible. Great job 👍🏻

No problem at all, currently I was using my fork at the mean time, thank for the library too.

HI, would it be possible to use AxiosAuthRefreshRequestConfig from index.ts. Well, actually this would create a recursion, so maybe move it from index.ts to utils.ts, import it in index and also re-export it, so that the interface is available for everyone using ts. This would ensure that the interface is only in one place. If you have no time, I might look into it, just say a word 🙂 Thanks.

HI, would it be possible to use AxiosAuthRefreshRequestConfig from index.ts. Well, actually this would create a recursion, so maybe move it from index.ts to utils.ts, import it in index and also re-export it, so that the interface is available for everyone using ts. This would ensure that the interface is only in one place. If you have no time, I might look into it, just say a word 🙂 Thanks.

Closed in favour of #163 . Thank you.


Feature/82 tab bar

Ticket name and link
#82
Preview
With feature flag on

No Changes with feature flag off
Description
Adds a tab bar with a feature flag (turned on) for development of additional screens
Things to check
Checklist:

[ ] Two reviews
[ ] Manually tested iOS
[ ] Manually tested Android
[ ] (Optional) Updated the Confluence docs

Closing as recreated in another PR


Allow for cpm override via file and direct calls to rapids_cpm_package_override

Description
The override file provided on the command line is now just the first override file always used. Therefore other calls to rapids_cpm_package_override with no intersection will still work.
Fixes https://github.com/rapidsai/rapids-cmake/issues/713
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

Updated to handle the changes from https://github.com/rapidsai/rapids-cmake/pull/708

/merge


Implement all Hash#each* methods

Implements:

Hash#each_key
Hash#each_value

Add spec for Hash#each_pair

Yeah you're absolutely right. I'm going to change that!


How to solve this error!

When executing the sst_trends.compute()  comand
it returns the error like the following..Do you have any suggestions?
2023-05-22 07:21:50,876 - distributed.protocol.pickle - ERROR - Failed to serialize <ToPickle: HighLevelGraph with 1 layers.
<dask.highlevelgraph.HighLevelGraph object at 0x7efda0d52230>
 0.<PHONE_NUMBER>85376
>.
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py", line 63, in dumps
    result = pickle.dumps(x, **dump_kwargs)
TypeError: cannot pickle '_thread.lock' object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py", line 68, in dumps
    pickler.dump(x)
TypeError: cannot pickle '_thread.lock' object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py", line 81, in dumps
    result = cloudpickle.dumps(x, **dump_kwargs)
  File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/cloudpickle/cloudpickle_fast.py", line 73, in dumps
    cp.dump(obj)
  File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/cloudpickle/cloudpickle_fast.py", line 632, in dump
    * reducer_override has the priority over dispatch_table-registered
TypeError: cannot pickle '_thread.lock' object
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py:63, in dumps(x, buffer_callback, protocol)
     62 try:
---> 63     result = pickle.dumps(x, **dump_kwargs)
     64 except Exception:

TypeError: cannot pickle '_thread.lock' object

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py:68, in dumps(x, buffer_callback, protocol)
     67 buffers.clear()
---> 68 pickler.dump(x)
     69 result = f.getvalue()

TypeError: cannot pickle '_thread.lock' object

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/serialize.py:350, in serialize(x, serializers, on_error, context, iterate_collection)
    349 try:
--> 350     header, frames = dumps(x, context=context) if wants_context else dumps(x)
    351     header["serializer"] = name

File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/serialize.py:73, in pickle_dumps(x, context)
     71     writeable.append(not f.readonly)
---> 73 frames[0] = pickle.dumps(
     74     x,
     75     buffer_callback=buffer_callback,
     76     protocol=context.get("pickle-protocol", None) if context else None,
     77 )
     78 header = {
     79     "serializer": "pickle",
     80     "writeable": tuple(writeable),
     81 }

File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/pickle.py:81, in dumps(x, buffer_callback, protocol)
     80     buffers.clear()
---> 81     result = cloudpickle.dumps(x, **dump_kwargs)
     82 except Exception:

File ~/miniconda3/lib/python3.10/site-packages/cloudpickle/cloudpickle_fast.py:73, in dumps(obj, protocol, buffer_callback)
     70 cp = CloudPickler(
     71     file, protocol=protocol, buffer_callback=buffer_callback
     72 )
---> 73 cp.dump(obj)
     74 return file.getvalue()

File ~/miniconda3/lib/python3.10/site-packages/cloudpickle/cloudpickle_fast.py:632, in dump(self, obj)
    607 def reducer_override(self, obj):
    608     """Type-agnostic reducing callback for function and classes.
    609
    610     For performance reasons, subclasses of the C _pickle.Pickler class
    611     cannot register custom reducers for functions and classes in the
    612     dispatch_table. Reducer for such types must instead implemented in
    613     the special reducer_override method.
    614
    615     Note that method will be called for any object except a few
    616     builtin-types (int, lists, dicts etc.), which differs from reducers
    617     in the Pickler's dispatch_table, each of them being invoked for
    618     objects of a specific type only.
    619
    620     This property comes in handy for classes: although most classes are
    621     instances of the ``type`` metaclass, some of them can be instances
    622     of other custom metaclasses (such as enum.EnumMeta for example). In
    623     particular, the metaclass will likely not be known in advance, and
    624     thus cannot be special-cased using an entry in the dispatch_table.
    625     reducer_override, among other things, allows us to register a
    626     reducer that will be called for any class, independently of its
    627     type.
    628
    629
    630     Notes:
    631
--> 632     * reducer_override has the priority over dispatch_table-registered
    633     reducers.
    634     * reducer_override can be used to fix other limitations of
    635       cloudpickle for other types that suffered from type-specific
    636       reducers, such as Exceptions. See
    637       https://github.com/cloudpipe/cloudpickle/issues/248
    638     """
    639     if sys.version_info[:2] < (3, 7) and _is_parametrized_type_hint(obj):  # noqa  # pragma: no branch

TypeError: cannot pickle '_thread.lock' object

The above exception was the direct cause of the following exception:

TypeError                                 Traceback (most recent call last)
Cell In[34], line 1
----> 1 sst_trends.compute()

File ~/miniconda3/lib/python3.10/site-packages/xarrayMannKendall/decorators.py:91, in check_if_file_exists.<locals>.file_exists_inner(self, *args, **kwargs)
     89         return init(self, *args, **kwargs)
     90 else:
---> 91     return init(self, *args, **kwargs)

File ~/miniconda3/lib/python3.10/site-packages/xarrayMannKendall/xarrayMannKendall.py:210, in Mann_Kendall_test.compute(self, save, path, rewrite_trends, scheduler, progress_bar)
    208         MK_output = trend_method.compute(scheduler=scheduler)
    209 else:
--> 210     MK_output = trend_method.compute(scheduler=scheduler)
    212 if len(self.ordered_dims) == 2:
    213     ds = xr.Dataset({'trend': (['x'], MK_output[:,0]),
    214                  'signif': (['x'], MK_output[:,1]),
    215                  'p': (['x'], MK_output[:,2]),
    216                  'std_error': (['x'], MK_output[:,3])
    217                 },
    218                 coords={'x': (['x'], da2py(self.DataArray.x, False))})

File ~/miniconda3/lib/python3.10/site-packages/dask/base.py:314, in DaskMethodsMixin.compute(self, **kwargs)
    290 def compute(self, **kwargs):
    291     """Compute this dask collection
    292
    293     This turns a lazy Dask collection into its in-memory equivalent.
   (...)
    312     dask.compute
    313     """
--> 314     (result,) = compute(self, traverse=False, **kwargs)
    315     return result

File ~/miniconda3/lib/python3.10/site-packages/dask/base.py:599, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    596     keys.append(x.__dask_keys__())
    597     postcomputes.append(x.__dask_postcompute__())
--> 599 results = schedule(dsk, keys, **kwargs)
    600 return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])

File ~/miniconda3/lib/python3.10/site-packages/distributed/client.py:3204, in Client.get(self, dsk, keys, workers, allow_other_workers, resources, sync, asynchronous, direct, retries, priority, fifo_timeout, actors, **kwargs)
   3131 def get(
   3132     self,
   3133     dsk,
   (...)
   3145     **kwargs,
   3146 ):
   3147     """Compute dask graph
   3148
   3149     Parameters
   (...)
   3202     Client.compute : Compute asynchronous collections
   3203     """
-> 3204     futures = self._graph_to_futures(
   3205         dsk,
   3206         keys=set(flatten([keys])),
   3207         workers=workers,
   3208         allow_other_workers=allow_other_workers,
   3209         resources=resources,
   3210         fifo_timeout=fifo_timeout,
   3211         retries=retries,
   3212         user_priority=priority,
   3213         actors=actors,
   3214     )
   3215     packed = pack_data(keys, futures)
   3216     if sync:

File ~/miniconda3/lib/python3.10/site-packages/distributed/client.py:3103, in Client._graph_to_futures(self, dsk, keys, workers, allow_other_workers, internal_priority, user_priority, resources, retries, fifo_timeout, actors)
   3100 from distributed.protocol import serialize
   3101 from distributed.protocol.serialize import ToPickle
-> 3103 header, frames = serialize(ToPickle(dsk), on_error="raise")
   3104 nbytes = len(header) + sum(map(len, frames))
   3105 if nbytes > 10_000_000:

File ~/miniconda3/lib/python3.10/site-packages/distributed/protocol/serialize.py:372, in serialize(x, serializers, on_error, context, iterate_collection)
    370     return {"serializer": "error"}, frames
    371 elif on_error == "raise":
--> 372     raise TypeError(msg, str(x)[:10000]) from exc
    373 else:  # pragma: nocover
    374     raise ValueError(f"{on_error=}; expected 'message' or 'raise'")

TypeError: ('Could not serialize object of type HighLevelGraph', '<ToPickle: HighLevelGraph with 1 layers.\n<dask.highlevelgraph.HighLevelGraph object at 0x7efda0d52230>\n 0.<PHONE_NUMBER>85376\n>')

Hello @ronygolderku,
This seems to be an issue with the libraries dask, xarray, and/or xarrayMannKendall or the chunking of your dataset. I will recommend you to do a fresh reinstall of the libraries and retry. If the issue persists, I will recommend you to post a more detailed description of the data, RAM, and libraries versions within the xarrayMannKendall repository. I'm closing the issue.


Instrument recompress-zram with debugging

Fixes https://github.com/OmegaSquad82/bluebuilds/issues/60


📖amp-ima-video: Add documentation for attributes

Relates to https://github.com/ampproject/amphtml/issues/19393
Changes
Add documentation for various attributes for attributes for the <amp-ima-video> element, including:

data-ad-label
autoplay
data-delay-ad-request

Screenshot
data-ad-label

autoplay + data-delay-ad-request

@torch2424 this is ready for review whenever you have a chance!

Thank you! @curseagain 😄 And thank you for the review @sebastianbenz 😄


Fix __repr__ handling of limit in Alignment/SeqCol related objects

Also adds tests for each object's __repr__

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 91.817%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/core/alignment.py
1
93.98%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
30151

Relevant Lines:
32838

💛  - Coveralls


Larsg update to latest version and minor bugfixes

Just minor changes - removing warnings in the console output
Note:

We are still waiting for some updates from epitelete-html with how the strip/merge of alignment data is new going to be handled in a separate component
this means, that currently the Alignment indication button is broken

I just noticed that seemingly the alignment data is now already flowing through, so the missing alignment data seems now to work again


Please document usage of Directory.Build.targets with PreBuildEvent

We're using a PreBuildEvent to fire a script InjectVersionToBuildProps.ps1 that updates the Directory.Build.targets (solution root) with a Version and InformationalVersion value based on the git repo version/state.
<Project Sdk="Microsoft.NET.Sdk.Web">
  <!-- snipped -->
  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
    <Exec Command="pwsh -ExecutionPolicy ByPass -File  $(SolutionDir)scripts\build\InjectVersionToBuildProps.ps1" />
  </Target>
</Project>

This is in VS2019 and our script successfully updates Directory.Build.targets with the latest values.
The issue is that the build still ends up with the previous values from Directory.Build.targets - not the just-updated from our script in the PreBuildEvent.
In other words,
Directory.Build.targets before PreBuildEvent
<Project>
  <PropertyGroup>
    <Version><IP_ADDRESS></Version>
    <InformationalVersion>PlaceHolder</InformationalVersion>
  </PropertyGroup>
</Project>

Directory.Build.targets after PreBuildEvent
<Project>
  <PropertyGroup>
    <Version>2<IP_ADDRESS>5</Version>
    <InformationalVersion>server-enterprise/20200107_081500-1-g1fa18dba</InformationalVersion>
  </PropertyGroup>
</Project>

The build still ends up with Version=<IP_ADDRESS> and InformationalVersion=PlaceHolder. How do we use Directory.Build.targets so the build correctly reflects the values we just write using PreBuildEvents scripts?

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

ID: d410ebeb-3841-a0a9-efb4-185823add4dc
Version Independent ID: 7e397179-4ccc-054c-8137-5e8f2430d794
Content: Customize your build - Visual Studio
Content Source: docs/msbuild/customize-your-build.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @ghogen
Microsoft Alias: ghogen

These solutions may be possible:

Write the file before running MSBuild at all.
Write the file in the NuGet restore phase (e.g. with BeforeTargets="Restore"), which likewise modifies files that MSBuild will later import.
Write the properties to a separate text file and make Directory.Build.targets define a target that reads them using the ReadLinesFromFile task, so that you can control when the file is read.
Use Nerdbank.GitVersioning, which already implements something similar.

AFAIK, the documentation does not really say when MSBuild reads each file, so one should not rely on that. But an explicit warning in the documentation could help.

Yes, it seems the action here is to add a note to the doc that says when the files are loaded.

AFAIK, the documentation does not really say when MSBuild reads each file, so one should not rely on that. But an explicit warning in the documentation could help.

@KalleOlaviNiemitalo : Perhaps but it’s literally called PreBuildEvent which is self-documenting to means “before build”. So if it doesn’t work that way, it’s basically a trap, worthy of a bug report.

reported

BeforeTargets="Restore" doesn't work because of this issue.

https://github.com/NuGet/Home/issues/4634 and https://github.com/NuGet/Home/issues/4781 seem to say that BeforeTargets="CollectPackageReferences" would work.

I added this but I don't see restoring of dotnet tools
  <Target Name="LocalToolRestore" BeforeTargets="CollectPackageRefereces">
    <Message Text="Restoring tools" Importance="High" />
    <Exec Command="dotnet tool restore" />
  </Target>

  <Target Name="LocalToolRestore2" BeforeTargets="_GenerateRestoreProjectSpec">
    <Message Text="Restoring tools" Importance="High" />
    <Exec Command="dotnet tool restore" />
  </Target>


Query api to get consignment summary

@Lholbourn Would you like to review this one?
Let me know if you'd like an extra pair of eyes. 👀

@Lholbourn ah, yes funnily enough, I thought replacing all instances of TdrFile with IFileWithPath would prevent the errors, as I was receiving errors on my local computer but it seems as though the one before passed, probably because the IFileWithPath changes have not been merged yet.

@Lholbourn ah, yes funnily enough, I thought replacing all instances of TdrFile with IFileWithPath would prevent the errors, as I was receiving errors on my local computer but it seems as though the one before passed, probably because the IFileWithPath changes have not been merged yet.

I rolled it back.

@Lholbourn ah, yes funnily enough, I thought replacing all instances of TdrFile with IFileWithPath would prevent the errors, as I was receiving errors on my local computer but it seems as though the one before passed, probably because the IFileWithPath changes have not been merged yet.

I rolled it back.

Does that mean it'll break once the IFileWithPath changes are merged?

@Lholbourn ah, yes funnily enough, I thought replacing all instances of TdrFile with IFileWithPath would prevent the errors, as I was receiving errors on my local computer but it seems as though the one before passed, probably because the IFileWithPath changes have not been merged yet.

I rolled it back.

Does that mean it'll break once the IFileWithPath changes are merged?

Yes. I'll just merge my changes after the IFileWithPath changes are merged. all the other files that use TdrFile[] currently would have to be changed to IFileWithPath as well so there will probably be a bunch of failed tests no matter what.


Step 3: Deploy OpenWhisk based on the source code

Based on the source code downloaded in Step 1 download source code, we should have a script named "deploy_openwhisk.sh" to build and deploy openwhisk services.
For other openwhisk projects, we need to have separate commands to deploy their services or build their tools as well, e.g. catalog, cli, wskdeploy, runtimes, api gateway, etc.
Sub-issues can be opened to track this epic.

So far, we decided to tentatively rely on the Travis build of each openwhisk repository to make sure openwhisk is able to deploy.


Position for label on arrow documented but not implemented

From the syntax page at https://github.com/drom/wavedrom/wiki/WaveJSON :
"# - indicates the arrow label position"
I can not get this to work and looking at the code I also can't find any evidence that this is implemented. Or am I missing something?

Yes, we never implemented proper arrows and labels. We probably should.


Supply and Demand

This PR introduces DynamicPriceComponent, a replacement for StaticPriceComponent, which has a price that is influenced by supply (things sold by the station) and demand (outside influence such as events which are not yet implemented). As supply increases towards a point determined by HalfPriceSurplus, the price falls off linearly. I.e. the default HalfPriceSurplus for entities is 5, so if something costs 20 zorkmids by default, selling 5 entities will bring the next sale to 10 zorkmids.
The supply slowly reduces over time, randomly. This also affects gas, reagents, and stacks. Notably, it does not affect armor and its special pricing yet. I've left that as-is for now.
This is in response to the popular strategy of selling unlimited fabricatable items for great sums of cash.
I have plans to introduce market fluctuation events and the ability to view what is high in demand, similar to the Oracle's demands. However for now, I want to see how this works in the wild and what the reception is like. Mail will still be a viable way to make money no matter what the market's like, which is a nice social incentive.
:cl:

tweak: Vending machines are worth zero zorkmids now.
tweak: The default price of items has been reduced from 20 to 2.
add: The law of supply and demand now affects what is sold on the cargo shuttle.

Looks good to me on first read, there will probably be a bunch of individual protos that need a bit of balance adjustment but that's something that can be discovered on the live server.