snapshots and disk usage

Is there a way to to see how much disk space is being consumed by snapshots? I have a local Debian mirror that's updated every week or so and I hold onto a handful of recent snapshots 'just in case'. I'm considering using a mirror on a system with much more limited storage so I would like to manage the disk automatically or at least more intelligently.

what storage are you using? if in AWS have you saw EFS?

The mirror is running on a spare machine in my office at work.

Snapshot itself is just a list of package references in DB. So it uses few KBs of disk space (depending on snapshot size).
Snapshot might hold back package files which might otherwise be cleaned up by aptly db cleanup. So say you have some package which is referenced only by some snapshot. Files for that package won't be deleted until snapshot is there. If package is referenced in other way (say, it's part of published repository or mirror or ...), snapshot is just reference in DB.

I have been keeping ~ 5 snapshots worth of Debian main/updates/security. It doesn't seem to grow too terribly fast since I only update once or twice a week at most.
Applying a filter to the packages would also recover a lot of storage. Is there some way to use a file to specify the filter instead of generating a huge command line?

There's no direct support for reading it from file so far

It would be a nice feature to have but certainly near the bottom of the priority list as far as I'm concerned. Should be easy enough to assemble the filter string into an environment variable if the need manifests.


Very minor typo in the docs

Found this very minor typo when browsing the docs.

bot merge

bot merge

actually it is generate_store, but this will be fixed in https://github.com/paritytech/substrate/pull/7922

actually it is generate_store, but this will be fixed in https://github.com/paritytech/substrate/pull/7922


Strange problems in the opevo experimental environment？

Environment

NNI version: 1.8
Is running in Docker?: Yes

I configured the experimental environment of opevo according to the guidelines of the document . But I encountered a problem when starting docker.
How to reproduce it?

Create and start dockcer
Use the following commands :
make cuda-env

Then I found that the system commands can no longer be used.

root@aaebe05e4b0c:~# ls
ls: relocation error: /usr/local/nvidia/lib64/libpthread.so.0: symbol h_errno version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

To solve this problem, I modified the MakeFile
cuda-env: build
    docker run -it --rm --privileged -v /:/host -w /root \
        -e BACKEND=c-cuda -p 8080:8080 \
        -v /lib64/:/lib64 \
        -v /usr/lib64/libcuda.so.1:/usr/lib/x86_64-linux-gnu/libcuda.so.1 \
        -v $(shell dirname `ldd /usr/lib64/libcuda.so.1 | grep nvidia-fatbinaryloader | awk '{print $$3}'`):/usr/local/nvidia/lib64 \
        tvm4nni bash || true

Then start the docker by make cuda-env and the system commands back to normal.
Start nni task
nnictl create --config experiments/mm/N512K1024M1024/config_opevo.yml

And then I met an error

root@57cd4df95727:~# nnictl
/usr/bin/python3: /usr/local/nvidia/lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/bin/python3)

Then I modified the Makefile again.
cuda-env: build
    docker run -it --rm --privileged -v /data1/jianyuheng/:/host -w /root \
        -e BACKEND=c-cuda -p 8080:8080 \
        -v /usr/:/usr/ \
        -v /lib64:/lib64/ \
        -v $(shell dirname `ldd /lib64/libcuda.so.1 | grep nvidia-fatbinaryloader | awk '{print $$3}'`):/usr/local/nvidia/lib64 \
        tvm4nni bash || true

Then I started the docker by make cuda-env and the system commands and nnictl command  all recovered normal. So I ran the following command:
nnictl create --config experiments/mm/N512K1024M1024/config_opevo.yml

I found that the task can run successfully this time, but few seconds later, I found stderr in all trials and I want to vim the stderr file. But the the system commands vim failed.

root@96ff86eb3951:~# vim nni-experiments/ofNl0Uew/trials/P9Qia/stderr
vim: relocation error: /usr/local/nvidia/lib64/libpthread.so.0: symbol __getrlimit, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

root@96ff86eb3951:~# ls
ls: relocation error: /usr/local/nvidia/lib64/libpthread.so.0: symbol __getrlimit, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

Then I exit docker, and I found systems commands in my native environment are also failed and print the same error.

~# ls
relocation error: /lib64/libpthread.so.0: symbol __getrlimit, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

I solved this problem by
LD_PRELOAD=/lib64/libc-2.17.so rm /usr/lib64/libc.so.6
LD_PRELOAD=/lib64/libc-2.17.so ln -s /lib64/libc-2.17.so  /usr/lib64/libc.so.6

I tried several times to run nni task in docker and every time I met the same error, I'm so confused about this problem, Anyone can help?

Hi @jyhengcoder, the first error might be relevant to the Linux distribution you used or the GPU driver, and the rest errors are caused by your modification. If there is no GPU driver problem in the host machine, I suggest you to install the latest version of docker (at least 19.03) and modify the Makefile as follows.
cuda-env: build
        docker run -it --rm --privileged -v /:/host -w /root --gpus all \
        -e BACKEND=c-cuda -p 8080:8080 \
        tvm4nni bash || true

@gxiaotian According to your method I solved this problem, I will close this issue.

@gxiaotian Another problem is, how can I start autosys tuning on a machine without GPU?

@gxiaotian Another problem is, how can I start autosys tuning on a machine without GPU?

The example of OpEvo aims to demonstrate its capability to tune kernels on various GPU platforms, so it requires a GPU to run.  Here is an example for tuning RocksDB with NNI, which doesn't require a GPU.

@gxiaotian Another problem is, how can I start autosys tuning on a machine without GPU?

The example of OpEvo aims to demonstrate its capability to tune kernels on various GPU platforms, so it requires a GPU to run. Here is an example for tuning RocksDB with NNI, which doesn't require a GPU.

@gxiaotian I have read the paper, so I think opevo should be universally applicable to tuning on the CPU, right?

@gxiaotian Another problem is, how can I start autosys tuning on a machine without GPU?

The example of OpEvo aims to demonstrate its capability to tune kernels on various GPU platforms, so it requires a GPU to run. Here is an example for tuning RocksDB with NNI, which doesn't require a GPU.

@gxiaotian I have read the paper, so I think opevo should be universally applicable to tuning on the CPU, right?

Yes, OpEvo can tune any hardware as long as there are topological structures in the search spaces. However, in this example, we only implemented GPU cases for demonstration purpose. You are encouraged to implement other cases you are interested in and submit pull requests.

hello @jyhengcoder, I will close this issue as it has not been updated for more than three months, feel free to reopen it if you still think it an active issue.


Feature: Skeleton loading

Description

Because of Internet connection constraints the data might load at a certain delayed amount for different users and we do not have any loading animation for the same
As you can see from the screenshot section down below you will notice that for clubs the images take time to load as a result there is an almost empty screen for events because the whole events are compiled as one single section it takes some time to load too
The point is we need to have some kind of loading states or loading transition or animation available globally such that it matches our theme and we reuse it everywhere

Proposed Solution

We also need a skeleton animation for example vercel has their skeleton animation you can take inspiration from these and maybe build something very similar to it
Screenshots

🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am participating in JWOC
[ ] I am participating in IWOC
[ ] I am willing to work on this issue (blank for no)

Working on this one 💚

Hello Tama, would love to contribute let me know if i can work on it


arp.ocid_mapping is missing

Hello,
With the newly launched branch (1.3.1) I can see that 'arp.ocid_maaping' is not generated from the script.
When running asset_conversion_split.sql / asset_performance / performance_grouping_history and other important tables, the same errors keep poping with themessage,
'arp.ocid_mapping was not found in location US'

Hi,
I've tried to reproduce this error both on the latest commit of main branch as fell as running code in ghcr.io/google/app-reporting-pack:1.3.1 container - ocid_mapping was always generated.
Could you try pulling the latest changes and try running the code manually bash app/run-local.sh?

Error should be resolved in release 1.4.0 - https://github.com/google/app-reporting-pack/tree/1.4.0


Bug: Lock status continually shows as "Unlocking"

Describe The Bug
When a lock is manually unlocked, it shows in HomeKit as "Unlocking" until I hit the unlock button, at which point it immediately changes to "Unlocked." The same thing happens when the lock is manually locked, but it shows "Locking" until I hit the button, and it changes to "Locked."
To Reproduce
Setup the plugin, get the lock into HomeKit, manually unlock or lock the lock.
Expected behavior
The status in HomeKit should reflect actual current status of the lock.
Relevant log output
I don't see any standard log output for this condition, but I can enable debug & see what happens, if that is needed.

Config for homebridge-august
{
    "platform": "August",
    "name": "August",
    "credentials": {
        "augustId": "xxxx",
        "password": "xxxx",
        "validateCode": "xxxx"
    },
    "options": {
        "devices": [
            {
                "lockId": "xxxxxxxxxxxxxxxxxxx",
                "hide_device": true
            }
        ]
    }
}

Screenshots
No response
Device & Model
We have six AUG-SL04-M01-S04 locks, and one Gen 4 WiFi lock (hidden since it's HomeKit native)
Node.js Version
v16.18.0
NPM Version
v8.19.2
Homebridge Version
1.5.0
Homebridge August Plugin Version
v1.0.5
Homebridge Config UI X Plugin Version
HOOBS 4.2.8
Operating System
Linux hoobs 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

I have the same issue.
I can create the bug by unlocking/locking via the HomeKit-native button of the lock. Then the Homebridge button shows Unlocking or Locking until I press the button.
I looked in homebridge accessories and the lock shows "Lock Current State" as 0 and "Lock Target State" as 1 or reversed depending on the case.

I too see this issue with my Yale Keyless lock - though from searching the web /reddit, other users with native HomeKit locks see the same problem, and going back years.  So perhaps this is an issue with HomeKit itself?

Same issue here, only after an interaction from the Home app, the "locking..." or "unlocking..." goes away.

Same here. State changes correctly in homebridge accessories but in home app gets stuck in that "opening" state. Also sometimes get errors like this:
[18/12/2022, 11:08:40] [August] pushChanges: TypeError: Cannot destructure property 'status' of 'obj' as it is undefined. [18/12/2022, 11:08:40] [August] Lock: Pääovi failed pushChanges, Error Message: "Cannot destructure property 'status' of 'obj' as it is undefined." FetchError: Status 423 (97): Bridge in use FetchError: Status 423 (97): Bridge in use

I'm experiencing the same issue with the lock status in HomeKit stuck on opening and the log looks like this when I try to interact via HomeKit:

Very unfortunate, makes the plugin not usable. Hopefully someone will be able to address this soon, for now we'll have to resort back to the legacy plugins.

I am also having this problem. Any solutions? Love the plug-in otherwise

Sorry everyone, life is busy right now.

Whaaaaaaat?! You think you're allowed to have a life?!  :D

Also seeing this issue with the same error message of: pushChanges: TypeError: Cannot destructure property 'status' of 'obj' as it is undefined.

So I debugged this and what seems to be happening is this:

After unlocking the Yale Lock, the status is not being updated and LockTargetState remains 1 where LockCurrentState is changed to 0.
It looks to me that setLockTargetState is never called which must be because https://github.com/donavanbecker/homebridge-august/blob/latest/src/devices/lock.ts#L88 is not working properly.

I'll try to investigate further if I get time but perhaps @donavanbecker you have a clue based on my findings?

@donavanbecker anything new on this issue?  Anything we can pull from logs to help. Appreciate how much this plugin helps and your time.

I can probably look into this in the near future.

Likewise, deep appreciation for the maintainers. Not in a position to fix this myself, despite how frustrating and confusing it is.

Any updates or luck on this issue @donavanbecker ?

I believe the problem is in this function:
async subscribeAugust()
What seems to be happening is the lock is updating it's status from the manual operation, the plugin is correctly observing and updating the lock's current state. However, it isn't updating the target state along side it.
On my copy of the code, I added the LockTargetState lines into the subscribeAugust (see below) and now it is working fine:
      //LockCurrentState
      if (!this.hide_lock) {
        if (AugustEvent.state.unlocked) {
          this.LockCurrentState = this.platform.Characteristic.LockCurrentState.UNSECURED;
          // Update target state too.
          this.LockTargetState = this.platform.Characteristic.LockCurrentState.UNSECURED;
          if (this.LockCurrentState !== this.accessory.context.LockCurrentState) {
            this.infoLog(`Lock: ${this.accessory.displayName} was Unlocked`);
          }
        } else if (AugustEvent.state.locked) {
          this.LockCurrentState = this.platform.Characteristic.LockCurrentState.SECURED;
          // Update target state too.
          this.LockTargetState = this.platform.Characteristic.LockCurrentState.SECURED;
          if (this.LockCurrentState !== this.accessory.context.LockCurrentState) {
            this.infoLog(`Lock: ${this.accessory.displayName} was Locked`);
          }
        } else {
          this.refreshStatus();
        }
      }

@dacarson, can you open a PR and I will merge it into beta branch and we can have others test it.

Ready to help test as soon as this is available in the 1.2 beta release.

Beta should be out soon.

Did some quick testing, I have door sense, and it seems to work great so far! I tried various combinations of manual locking and unlocking, and HomeKit locking and unlocking. I will report back if I see any anomalous behavior, but it seems good to go.

Awesome!

Still going strong! No issues.

Stupid question but how can i use beta version?

You can try the beta by following the instructions below:

Click here to find out how to install Beta

v1.2.0 has been released


TLS connection instability

Describe the bug
I'm trying to have my ESP32 connect to a greengrass core installed on an EC2 instance.
The problem is that the connection failed because it can't find or connect a remote core, so I went back to the MQTT demo example to test that the connection is working fine, and find that the demo works one time and 10 times fail (not exact number) with handshake error
System information

ESP32
Notepad++
Operating System : Windows
Version of Amazon FreeRTOS : 201908.00 release
Project : Greengrass|Sub pub Demo

Expected behavior
To have the connection established each time.
Screenshots or console output
`MONITOR
--- idf_monitor on COM5 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6384
ho 0 tail 12 room 4
load:0x40078000,len:11276
load:0x40080000,len:6084
0x40080000: _WindowOverflow4 at C:/Users/ahmed/Downloads/amazon-freertos-201908.00.tar/amazon-freertos-201908.00/freertos_kernel/
portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vectors.S:1685
entry 0x4008032c
0x4008032c: _KernelExceptionVector at ??:?
I (30) boot: ESP-IDF v3.1.3-25-g36733db8d 2nd stage bootloader
I (30) boot: compile time 12:30:06
I (30) boot: Enabling RNG early entropy source...
I (36) boot: SPI Speed      : 40MHz
I (40) boot: SPI Mode       : DIO
I (44) boot: SPI Flash Size : 4MB
I (48) boot: Partition Table:
I (52) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00010000 00006000
I (67) boot:  1 otadata          OTA data         01 00 00016000 00002000
I (74) boot:  2 phy_init         RF data          01 01 00018000 00001000
I (81) boot:  3 ota_0            OTA app          00 10 00020000 00177000
I (89) boot:  4 ota_1            OTA app          00 11 001a0000 00177000
I (96) boot:  5 storage          WiFi data        01 02 00317000 00010000
I (104) boot: End of partition table
I (108) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x2f964 (194916) map
I (185) esp_image: segment 1: paddr=0x0004f98c vaddr=0x3ffc0000 size=0x00684 (  1668) load
I (186) esp_image: segment 2: paddr=0x00050018 vaddr=0x400d0018 size=0xc4b8c (805772) map
0x400d0018: _flash_cache_start at ??:?
I (474) esp_image: segment 3: paddr=0x00114bac vaddr=0x3ffc0684 size=0x02954 ( 10580) load
I (479) esp_image: segment 4: paddr=0x00117508 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at C:/Users/ahmed/Downloads/amazon-freertos-201908.00.tar/amazon-freertos-201908.00/freertos_kernel/
portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vectors.S:1685
I (481) esp_image: segment 5: paddr=0x00117910 vaddr=0x40080400 size=0x16550 ( 91472) load
I (541) boot: Loaded app from partition at offset 0x20000
I (541) boot: ota rollback check done
I (541) boot: Disabling RNG early entropy source...
I (546) cpu_start: Pro cpu up.
I (549) cpu_start: Single core mode
I (554) heap_init: Initializing. RAM available for dynamic allocation:
I (561) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (567) heap_init: At 3FFD0970 len 0000F690 (61 KiB): DRAM
I (573) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (579) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (586) heap_init: At 40096950 len 000096B0 (37 KiB): IRAM
I (592) cpu_start: Pro cpu start user code
I (274) cpu_start: Starting scheduler on PRO CPU.
I (299) uart: queue free spaces: 10
I (299) PKCS11: Initializing NVS partition: "storage"
E (339) PKCS11: failed nvs get file size 4354 0
0 6 [main] Write certificate...
1 17 [main] Device credential provisioning succeeded.
I (459) BTDM_INIT: BT controller compile version [3828e65]
I (459) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (529) phy: phy_version: 4008, c9ae59f, Jan 25 2019, 16:54:06, 0, 0
2 59 [iot_thread] [INFO ][INIT][580] SDK successfully initialized.
I (899) wifi: wifi driver task: 3ffdab78, prio:23, stack:3584, core=0
I (899) wifi: wifi firmware version: dbb148a
I (909) wifi: config NVS flash: enabled
I (909) wifi: config nano formating: disabled
I (909) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (919) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (939) wifi: Init dynamic tx buffer num: 64
I (939) wifi: Init data frame dynamic rx buffer num: 64
I (939) wifi: Init management frame dynamic rx buffer num: 64
I (949) wifi: Init static rx buffer size: 1600
I (949) wifi: Init static rx buffer num: 16
I (949) wifi: Init dynamic rx buffer num: 64
I (959) wifi: mode : sta (30:ae:a4:22:ce:80)
I (959) WIFI: SYSTEM_EVENT_STA_START
I (1929) wifi: n:9 0, o:1 0, ap:255 255, sta:9 0, prof:1
I (2919) wifi: state: init -> auth (b0)
I (2919) wifi: state: auth -> assoc (0)
I (2929) wifi: state: assoc -> run (10)
I (2939) wifi: connected with .........., channel 9
I (2939) wifi: pm start, type: 1
I (2939) WIFI: SYSTEM_EVENT_STA_CONNECTED
3 1875 [IP-task] vDHCPProcess: offer c0a80104ip
I (19099) event: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (19099) WIFI: SYSTEM_EVENT_STA_GOT_IP
4 1881 [IP-task] vDHCPProcess: offer c0a80104ip
5 1882 [iot_thread] [INFO ][DEMO][18820] Successfully initialized the demo. Network type for the demo: 1
6 1882 [iot_thread] [INFO ][MQTT][18820] MQTT library successfully initialized.
7 1882 [iot_thread] [INFO ][DEMO][18820] MQTT demo client identifier is HelloWorld_Publisher (length 20).
8 2574 [iot_thread] ERROR: Handshake failed with error code -29312
9 2574 [iot_thread] [ERROR][NET][25740] Failed to establish new connection.
10 2574 [iot_thread] [ERROR][MQTT][25740] Failed to establish new MQTT connection, error NETWORK ERROR.
11 2574 [iot_thread] [ERROR][DEMO][25740] MQTT CONNECT returned error NETWORK ERROR.
12 2574 [iot_thread] [INFO ][MQTT][25740] MQTT library cleanup done.
13 2574 [iot_thread] [ERROR][DEMO][25740] Error running demo.
14 2576 [iot_thread] [INFO ][INIT][25760] SDK cleanup done.`
Thank you!

It seems this issue is related to a router firewall and connectivity issue.


Included button to copy chat history item

Motivation and Context

Why is this change required?
UX
What problem does it solve?
Improve user experience when need copy chat history item

Description
 If the current message is from a bot and if the message has a prompt, it renders a Tooltip component with a Button inside it.
 The Tooltip component is used to display a small pop-up box when the user hovers over an element. The content of the Tooltip changes based on the state of messagedCopied. If messagedCopied is true, the Tooltip displays 'Copied', otherwise, it displays 'Copy text'.
 Inside the Tooltip, there is a Button component. The icon of the Button changes based on the messagedCopied state. If messagedCopied is true, it shows a ClipboardTask20Regular icon, otherwise, it shows a Clipboard20Regular icon.
 The Button has an onClick event handler that triggers the copyOnClick function when the button is clicked.

Contribution Checklist

[ x ] The code builds clean without any errors or warnings
[ x ] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[ x ] All unit tests pass, and I have added new tests where possible
[ x ] I didn't break anyone :smile:

@marcelojsilva As soon as you agree to the contributor license agreement, we'll be able to take in your change.
Thank you for your contribution.

@microsoft-github-policy-service agree
Marcelo Jose (MJ)
Em ter., 6 de fev. de 2024 às 14:06, microsoft-github-policy-service[bot] <
@.***> escreveu:

@marcelojsilva https://github.com/marcelojsilva please read the
following Contributor License Agreement(CLA). If you agree with the CLA,
please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/chat-copilot/pull/789#issuecomment-1930379844,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR2GNVSRUOGEV6IRJU2GQDYSJPIPAVCNFSM6AAAAABC4LPSF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQGM3TSOBUGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Performances ?

It seem that this lib take more time that all others.. have you performances optimisation in progress or bench ?

This library takes longer because it is written entirely in JavaScript with no native dependencies. That's its unique selling point.
The advantage of being written entirely in JavaScript is portability, ease of installation, being able to contribute/debug in JS, etc.. But the drawback is that it's slower compared to using a native library - since everything is written in JavaScript.
It's up to you whether the performance of a native library is needed for your application. Or if the advantages of an entirely JS-based library trump performance needs.
Performances bench marking of various libraries are here: http://sharp.dimens.io/en/stable/performance/


Installation Instructions Error

Please fill the template to help you out. Also, please try the Example project compare before submiting the issue when you have certain issue with your project setup.

Version of react-native-audio-recorder-player
3.6.1
Version of React Native
0.72.6
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
I was not able to build my application
Actual behavior
When running the application I get an error
Build file 'C:.......\android\app\build.gradle' line: 109

Steps to reproduce the behabior
I followed the installation instructions from the documentation

No hagas la instalacion manual, solo el paso siguiente a la instalación. RN la hace automáticamente


futurize: location of existing future imports at top is not preserved by stage 2

This code:
from __future__ import with_statement
f = open('blah.txt')

is incorrectly converted to this by futurize --stage2:
from __future__ import unicode_literals
from future.builtins import open

from __future__ import with_statement
f = open('blah.txt')

__future__ imports must appear at the top of modules since Python 2.5ish.

This no longer appears to be valid.  Please reopen if I'm mistaken :)
~/code/python-future (master) $ futurize -wna0 foo.py
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored foo.py
--- foo.py	(original)
+++ foo.py	(refactored)
@@ -1,3 +1,10 @@
 from __future__ import with_statement
+from __future__ import unicode_literals
+from __future__ import print_function
+from __future__ import division
+from __future__ import absolute_import
+from future import standard_library
+standard_library.install_aliases()
+from builtins import *
 f = open('blah.txt')

RefactoringTool: Files that were modified:
RefactoringTool: foo.py```


update to cap 6

cap 5's ios sdk version is EOL end of april, cap 6 is still in RC but seems pretty stable
will need to test this on devices before merge
(everything here is an auto migrate other than the api change for the global listeners)
closes #887

Okay so everything is now with a "real" 6.0.0 release version except the secure-storage-plugin hasn't been updated and still has a peer dependency of 5.0... we could test if it still works, or we could look for an alternative

this happened in #1091


Gerrit Support

Gerrit is a google git repo hosting service:
https://www.gerritcodereview.com/
Its like gitea, github, or bitlab.
It has an API: https://gerrit-review.googlesource.com/Documentation/rest-api.html
Also some npm API access packages:
https://www.npmjs.com/package/@gerritcodereview/typescript-api
https://www.npmjs.com/package/@gerritkit/rest
This would be a great addition.

Closing this with #104


Any method add commandBar custom button

Hi i try to find in Orchid\Crud\Resource.php how i can add custom button in commandBar?

You can  check [this line] (https://github.com/orchidsoftware/crud/blob/efe8f93a3422d46614d650a1617b75b2dd95fb5f/src/Screens/CreateScreen.php#L34) you can add any button in commandbar method.

@mucan54  Yes i know i can add any button in screen... but how i can add custom button in crud resource file...
i test if i add commandBar() function in created resource file that not working...

Hey @jouniikaheimo, this is not yet available for CRUD, I am working on it

Hey @tabuna i don't know if this is a good idea, but would it be how hard to do an override the same way a model is set example:
public static $editScreen = EditScreen::class;
public static $listScreen = listScreen::class;
public static $createScreen = createScreen::class;

if not set use automatic default screen this make lot off new feature what can use in screen but fast make crud ??

This is available through actions: https://github.com/orchidsoftware/crud#actions


Implement kubectx completion subcommand

It would be nice to have the completions built in to the go binary so we can source it in the following manner:
source $(kubectx completion bash)
source $(kubectx completion zsh)
...

It would make it a lot more portable, instead of having to copy the completion files around manually.
The cobra framework implements this by default if I am not mistaken.
(https://github.com/ahmetb/kubectx/issues/115#issuecomment-451455859)

We actually don’t need cobra. We’ll just update the comp scripts to get ctxs ns’es from kubectl, it would be the fastest. We’ll probably do this while switching to Go implementation as the primary distribution (it is not, yet).

I think I might have incorrectly expressed my request. I was actually talking about the go binary outputting the completions instead of having different files for it in the repository that we would have to copy in order to be able to source the completions.

Got it. I don't exactly follow the benefits of that. When it's a file, it will almost always be read faster. When it's coming from a program, it's susceptible to startup time of the program.
Our go implementations start up fast right now, but if you do time kubectl completion bash you'll notice 70ms-1170ms based on attempts on my machine. We’d in no way want to slow down the shell startup.
But if as you said we can print the comp scripts very fast somehow, we could do that. That said, this is not a problem for people using package managers (brew, apk etc) since those already know where to place the comp files without the user having to source <(kubectx completion) in their bashrc/zshrc files.

Yeah, I suppose that the shell startup time could be an issue. 1170ms is quite a long time (kubectl is huge though). It would just be nice to have the option to not put the files in the completion dirs manually.
I have a small script that generates a new subshell for running kubectl commands that includes kubens and kubectx (the go one at the moment) and the problem is that the kubectx/kubens versions are not always the same between users using this script.


Folder Management

A little nit-picky thing for lack of clutter... when moving from project to project I don't like seeing multiple programs in the program list, it feels all cluttered and noisy. Anyways, I think a massive improvement to the app would be to add some type of folder management. It wouldn't have to be super extensive- just enough to get those projects on the back burner out of the way. I hope to see this implemented! It would be an awesome improvement!

I can't see a good enough reason for this. Even when creating TI-BASIC programs I would always call my program A so I could quickly access it when developing.
See #26 and #135


Remove default namespaceFilter

This PR removes the default namespaceFilter setting set to kube-system. This is a relic from times past when ingress-nginx was a default app.
Nowadays people install ingress-controllers in other namespaces and expect their ingress-controllers to work.
https://github.com/giantswarm/giantswarm/issues/29706

Does it check all the namespaces by default? May lead to unexpected consequences, no?

Does it check all the namespaces by default? May lead to unexpected consequences, no?

Yes, that will be the new default behavior. Result will be that all Services with giantswarm.io/external-dns: managed annotations will be reconciled by externalDNS


Allow authenticated users to read Seed resources

What this PR does / why we need it:
We should expose in which regions and with which configuration (networking, etc.) we have seed clusters to our end-users so that they can better define their shoot resources (e.g., disjunct networks).
/cc @vlerenc
Release note:

The `gardener.cloud:system:cloudprofiles` `ClusterRole` and `ClusterRoleBinding` resources have been renamed to `gardener.cloud:system:read-global-resources`. They are now allowing all authenticated users to read `CloudProfile` and `Seed` resources.

Authenticated users can now read/list/watch `Seed` resources.

Thanks @rfranzke for the very quick PR.
Some days ago, @vasu1124 suggested that we open up "seeds" in a broader way. I think, what he wants is that end users can start creating their own seeds and register them privately with their projects to be used only for their shoots. WDYT? That would turn them from cluster into namespaced resources. Not sure whether and when we would start thinking more about that or implement that, but when and if we do that, we will certainly introduce a new version, so whatever we do here in this PR will anyways look different in a future where we allow that (if we allow that), I guess.

That would turn them(Seeds) from cluster into namespaced resources.

If they are namespaces, I would like to share such seed between multiple projects(namespaces) of mine.
Maybe something like SeedBinding(similar to SecretBinding) between the project with the shoots and the Seed itself can do the trick.


Display multiple usernames registered per address during selection

Apps may register additional usernames for addresses via signed transactions (e.g. .BTC project), in which case they won't show up in the account selection UX since we only show one username per address there.
We may want to add a tooltip or other interaction for revealing all other usernames also registered for a given address / account.

cc @MarvinJanssen

Per the discussion on https://github.com/blockstack/stacks-blockchain/issues/2211, it appears that multiple on-chain usernames per address may not actually be supported by 2.0. So perhaps any app that wants to register a new username for an address will need to check first that it doesn't already have one associated with that address. And if it does, request that the user switch to another address sans username before proceeding.


Feature Request: POSIX compliant installer (use the /usr/bin/env sh shebang)

Operating system and version: Alpine Linux 3.17
Situation
I like nvm. So much so, that I would like to install it on the server to have an easier time to install older versions, since some package managers only maintain the LTS version of node. It also gives the opportunity to run multiple node versions in parallel which guarantees software compatibility.
However, Linux Alpine only ships with the BusyBox ash shell, so it can't run bash scripts.
Possible solution
Instead, it would be much better if the installer script was POSIX compliant and wouldn't dependent on bash. I wasn't able to spot any bash dependent features, or do I miss something here?

I suppose it's just that this is the way it's always been done, and forcing the install script to run on a single shell means we only have to test it on one shell, and tbh I'm shocked any posix OS would exist that lacks bash.
Alpine tends to need a ton of things installed to do anything useful - for example, you'll need C++ compiling tools - so I'm not sure it's particularly valuable to start with that setup, since you have to add all that stuff anyways.
We certainly could start testing on multiple shells, and modify the bash-specific syntax in the install script to be posix-compliant, but I'm not sure how reasonable it is given the above.

@ljharb BusyBox is great for embedded systems, but the issue is a little bit exotic, since node makes no sense on an embedded system. node has so much more overhead compared to bash. However changing the shebang to /usr/bin/env sh and following POSIX shouldn't hurt as the script is not very long and and the completion support can stay on bash exclusively (it would involve to much work to support many shells here, since all have distinct APIs in this regard).
I explicitly choose Alpine for my server VMs and containers, because it's so minimal. I don't see a reason to install bash, if I just want to run node. I, however, see a reason to install nvm to run ancient and/or multiple node versions at the same time.

right - but for nvm to be able to install node (node's requirement, not nvm's) you'll need a full compilation toolchain, which is much larger than bash.

@ljharb Excuse me, in my tests nvm downloads the binaries from nodejs.org which offers a lot of binaries, so I don't need to compile anything.

My experience is that nodejs.org doesn't offer binaries for alpine, but maybe that's changed.
If you wanted to make a PR expanding the install_script tests to run on more supported shells ( https://github.com/nvm-sh/nvm/blob/master/.github/workflows/tests.yml#L20-L21 ), then in the same PR we could certainly make that happen.

@ljharb It simply installs Linux_x64 for me. BusyBox shell is called ash and is an evolution of the original ash and is similar to dash. Can this be included in the workflow as well? Otherwise I think targeting bash, zsh and dash should be sufficient, though.

@ljharb I guess you were right. The binary get's installed, but ash will return "not found" (I wonder why it does that, but apparently, that's what will be outputted when trying to run node which was compiled for a different system. Now their package manager has properly compiled binaries, but nvm can't leverage that. In other words, supporting other shells is really not that beneficial as I thought, so I will just install bash when I decide to compile. Thanks for the quick response though.


Add the given text to the article

Add the text "It is a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects on World Wide Web pages." to the article.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Manually restarted the build.  Will check back later.

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details


Moved LFTimePicker to /Date & Time

Project URL

https://github.com/awesome-labs/LFTimePicker
Category

/Date & Time
Description

Custom Time Picker ViewController with Selection of start and end times in Swift 🔶

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

2877
302
http://www.ios-blog.co.uk/ redirects tohttp://www.ios-blog.co.uk/cgi-sys/suspendedpage.cgi

  Generated by :no_entry_sign: Danger


[Debugger] Breakpoints on particular column

Its better if we can have breakpoints on particular column for scenarios like this.
Sample
import ballerina.lang.system;
function main (string[] args) {
    system:println("Hello, World1!"); system:println("Hello, World2!"); system:println("Hello, World3!"); system:println("Hello, World4!"); if(true){ system:println("Hello, World5!");}
}

Issue
When debugging the above sample first the following output will be printed all at once.
Hello, World1!
Hello, World2!
Hello, World3!
Hello, World4!

Step over once -> Hello, World5! will be printed
Step over again to stop the execution

This type of a scenario is not used often, thus it will not be implemented.


Setting for temperature units

User story
As a user outside the United States who uses degrees Fahrenheit to cook but degrees Celsius for weather,
I can select temperature units for the display / setting cards
so that they can differ from the ones used in other parts of the Home Assistant interface and match the ones used in the Traeger app.

https://community.home-assistant.io/t/override-system-wide-settings-for-temperature/193140/24
https://community.home-assistant.io/t/allow-unit-system-to-be-overridden-on-a-per-sensor-basis/112766
I switched my grill to C and continued to get F in HA. Switched HA to C and everything showed C correctly. Issue is related to trying to split C & F within HA.
IMO this as a HA issue/request. Not an issue of the integration.

It may be, but I thought it was how the integration was dealing with the display of the value.  I'll admit I'm not familiar with how HA structures these things.
It seems odd that an integration can't force certain units if it chooses to override HA's default.

The API is sending a C or F value as defined by the grill's set unit. I attempted to remove the unit from my HA but, it seems to be required for the climate entity.
Since your HA instance is set for C it converts the F your grill is providing to C based on your FrontEnd settings.
Based on the links provided, I don't know that there is an easy fix for your desired operation.

I agree with @njobrien1006 here. I think you should open a request in HA

@doctorkb looks like this is done in HA now! https://www.home-assistant.io/blog/2022/04/06/release-20224/#adjusting-unit-of-measurement-for-sensors

@sebirdman most temperature sensors in HA support this change, but it doesn't seem to be available for Traeger for some reason...


mypy: 0.580 -> 0.590

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mypy/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.dmypy-wrapped -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.dmypy-wrapped --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.dmypy-wrapped help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/dmypy -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/dmypy --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/dmypy help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.mypy-wrapped -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.mypy-wrapped --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.mypy-wrapped -V’ and found version 0.590
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.mypy-wrapped --version’ and found version 0.590
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/mypy -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/mypy --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/mypy -V’ and found version 0.590
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/mypy --version’ and found version 0.590
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.stubgen-wrapped -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.stubgen-wrapped --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/.stubgen-wrapped help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/stubgen -h’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/stubgen --help’ got 0 exit code
ran ‘/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/stubgen help’ got 0 exit code
found 0.590 with grep in /nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590
directory tree listing: https://gist.github.com/28a5c2600f864ea85373e565ced612c6

cc @martingms @lnl7 for review

Success on x86_64-linux (full log)
Attempted: mypy
Partial log (click to expand)
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/lib  /nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin
patching script interpreter paths in /nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590
/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/lib/mypy/typeshed/tests/mypy_test.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python3"
/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/lib/mypy/typeshed/tests/pytype_test.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python"
/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/lib/mypy/typeshed/tests/mypy_selftest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python3"
checking for references to /build in /nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590...
wrapping `/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/dmypy'...
wrapping `/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/mypy'...
wrapping `/nix/store/949glp2ll51fziqzy2xnma6zvvn6ihlq-mypy-0.590/bin/stubgen'...

Success on x86_64-darwin (full log)
Attempted: mypy
Partial log (click to expand)
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/lib  /nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/bin
patching script interpreter paths in /nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590
/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/lib/mypy/typeshed/tests/mypy_selftest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sm6n6vgc3gy064nnvc49b5g8a6n2cn8h-python3-3.6.5/bin/python3"
/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/lib/mypy/typeshed/tests/pytype_test.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/sm6n6vgc3gy064nnvc49b5g8a6n2cn8h-python3-3.6.5/bin/python"
/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/lib/mypy/typeshed/tests/mypy_test.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sm6n6vgc3gy064nnvc49b5g8a6n2cn8h-python3-3.6.5/bin/python3"
wrapping `/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/bin/dmypy'...
wrapping `/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/bin/mypy'...
wrapping `/nix/store/ml5a3nslhpx3swr3nyfbrrg3x4by39rk-mypy-0.590/bin/stubgen'...

Success on aarch64-linux (full log)
Attempted: mypy
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/lib  /nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/bin
patching script interpreter paths in /nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590
/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/lib/mypy/typeshed/tests/mypy_selftest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/qxix1jzfslmcbd75b024sgz704r94qxl-python3-3.6.5/bin/python3"
/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/lib/mypy/typeshed/tests/mypy_test.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/qxix1jzfslmcbd75b024sgz704r94qxl-python3-3.6.5/bin/python3"
/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/lib/mypy/typeshed/tests/pytype_test.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/qxix1jzfslmcbd75b024sgz704r94qxl-python3-3.6.5/bin/python"
checking for references to /build in /nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590...
wrapping `/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/bin/stubgen'...
wrapping `/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/bin/mypy'...
wrapping `/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590/bin/dmypy'...
/nix/store/djmwnyyzk1bmhlpapp7l469fcgd6y5cs-mypy-0.590


Fixed sytnax errors in readme

@amilajack Please fix the https://github.com/smt116/node-native-ext-loader/pull/2#pullrequestreview-113155837 and it will be good to merge. Thanks for the pull request, 👍.

@amilajack I've fixed the commit message manually and merged the code via the console. Thanks for the pull request!


Gitlab URL Regex support

https://github.com/cophilot/templify/pull/14#discussion_r1819583688

@RounakJoshi09


There's an issue on my server, when I set a prefix to my self or rank all my wolf names get the same prefix before their names

My Dog Has Had My Prefix When I Name It I Think Its a Bug Because I have never seen it happen before
https://gyazo.com/fce8dc2a01c67b154c1c760925ef382c

I strongly believe you are using the plugin 'TAB'. If that is the case, please check out this article where it describes exactly this issue: https://github.com/NEZNAMY/TAB/wiki/Feature-guide:-Pet-name-fix


w.remap_ids(ids) never sets w.id_order_set

I found this while working on the polymorphic weights constructors:
import pysal as ps
NATpath = ps.examples.get_path('NAT.shp')
w = ps.queen_from_shapefile(NATpath)
print(w.id_order_set) # correctly prints False
w2 = ps.queen_from_shapefile(NATpath, idVariable='FIPS')
w2.id_order_set # should be True, but prints False

This isn't really a bug with the *_from_shapefile functions, because the *_from_shapefile constructors typically look like this:
def weights_from_shapefile(collection, sparse=False, ids=None):
    w = do_weights(collection)
    if sparse:
        w = make_sparse(w, ids=ids)
    if ids is not None:
        w.remap_ids(ids)
    return w

so, remap_ids needs to change the flag when it finishes in order for these to consider the id order to be set. I think this might also have some interaction with #799, but I'm unsure.
The fix for this should be straightforward.

or maybe I'm misunderstanding what id_order_set means. Does it only get set if the desired iteration order is not the order in which the ids are passed?

I see the source of confusion. id_order_set was intended to signify that the ordering was changed to be different from that reflected in the order of the shapes in the shapefile.
remap_ids is used to keep the same order as the shapes in the shapefile, but use a different attribute to label the shapes (other than ints going from 0 to n-1).
So the answer to the question by @ljwolf above is "Yes, the intention was to use id_order_set only when the desired iteration order is changed.
Does this clarify?

Hmm, I'll think about this and raise any further questions here. If this is intended, then that's fine.
I'm still a little confused by the combination of id_order, ids, and how separately using remap_ids(new_ids) vs. w.id_order = new_ids works.
The cause of this concern was that, if I wanted a W in the same order as a dataframe, whether to use ids or id_order as the keyword argument. So, going forward, I'll use id_order to mean "use this column of the dataframe and treat it like it's ordered, and ids` as "use this column of the dataframe as if it were not ordered.


version higher than 2.6.0 doesn't work in Android (unSupportedOperationException)

Summary
I have been using this library for a while in Android development, the other day I wanted to upgrade to use the latest version and I am getting unSupportedOperationException with no more information (even with /.gradlew --debug --stacktrace and --info).
2.6.0 and lower versions work but with 3.0.0 and higher it is showing the exception.
I am using:
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

We don't officially support Android, we are only trying to do our best effort for 2.x to be Android compatible but nothing on the 3.x side.

thank you, joel to reply!
how about putting this information in the main page?

It is already in http://joel-costigliola.github.io/assertj/assertj-core.html which is the main assertj-core page ;-)
Have you given a try to Java6Assertions ? It is an entry point that should give only java 6 (thus android compatible) assertions.

@DavidBcn Did using org.assertj.core.api.Java6Assertions as an entry point (instead of ``org.assertj.core.api.Assertions`) work for you? Can this issue be closed?

@DavidBcn Did using org.assertj.core.api.Java6Assertions as an entry point (instead of ``org.assertj.core.api.Assertions`) work for you? Can this issue be closed?


Remove kubectl reference in helm step

In the "remove node" instructions of our secure k8s tutorial, we still reference a kubectl command. This PR removes that.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fc32733fb88a73f05b6661957090cbdd285564f0/


Issue #624: Default value of propertyWordDelimiters is empty in gradle vs "- _" for maven

Fixes #624

An idea @joelittlejohn and I both liked was to create a DefaultGenerationConfig and query for the initial values. I guess we forgot to actually do it, though.

I'm going to merge this one and we'll sort this out with reference to the DefaultGenerationConfig later.
Fixes #162.


Fixing formatting error flagged up by git hook

Description
Git hook flagged up a formatting mismatch, which I wish to resolve in this PR.
Checklist:

[x] Set target branch to main (current release) or v.next (next release)
[x] Request a reviewer
[x] Assign a reviewer
[x] Tag reviewer in comment

@D-R-Smith could you please reivew?


Fix dummyserver decode errors when defaults are used with Python 3

Fixes issue https://github.com/shazow/urllib3/issues/1258
I searched for any usage of request.params.get() followed by a decode on the value.
A better version of a small part of PR https://github.com/shazow/urllib3/pull/1257 with some extra fixes.

Hey @jonparrott do you know what's going on with the GAE builds here?

@Lukasa @jonparrott After debugging the gae stuff I think I've figured out the problem. When I tested locally by installing the python env through gcloud it gave me release: "1.9.57" of google_appengine. If I download the latest the way that _travis/install.sh does, though, it gives me release: "1.9.60" which appears to have moved the sandbox module to google.appengine.tools.devappserver2.python.runtime.
I've opened a new PR for a fix: https://github.com/shazow/urllib3/pull/1265

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1259   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          21      21
  Lines        1985    1985
======================================
  Hits         1985    1985

Continue to review full report at Codecov.

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

Rebased on master so the gae test should work.

Rebased on master again.


Improve documentation

Prologue
I had many problems, understanding the inner working of Metalsmith in relation to metalsmith-in-place and metalsmith-layout. Es-specially with the latest versions of those modules. My thoughts and the available documentation did not match each other.
Having Markdown .md content in combination with Handlebars .hbs as template structure. I couldn't make it work. Until someone set me on the right track.

Enter multiple file extension for a single file. Like as in index.md.hbs.

The README document, does describe it. But it wasn't clear to me. My mind is conditioned to think, only one file extension is allowed. I'm from the MS-DOS era.
Product enhancement
Add more explanatory examples in the README file, explaining the transformation of .hbs mark-up, in combination with .md mark-up, into a .html file.
Example:
If you write content using the Markdown .md mark-up. And using Handlebar mark-up to fix local URI's inside these Markdown content. For example ![Logo]({{ root }}/images/myCompanyLogo.jpg).
Then you need two transformations! This can be achieved by adding multiple files extensions to your content files. In the above case, use index.md.hbs.
The first processing step will be invoking Handlebars transformation .hbs for the file index.md.hbs. Then second wil be .md Markdown. Resulting in an index.html file.

Thanks for the suggestion. Would you mind submitting a PR with the changes?

I've opened the wiki's of both in-place and layouts, so that we can add usage examples there. Using the wiki's hopefully lowers the barrier of contributing examples a bit. So the todo would be:

[ ] Add usage examples to the wiki for layouts and in-place
[ ] Improve the readme's of layouts and in-place

So let's discuss what to change exactly:

Should we for example move the example that's currently in the readme to the wiki as well (and then link to the examples from the readme)?
Also, what is currently confusing about the readme, or could otherwise be improved?
Any suggestions about what use-cases to put in the wikis?
Anything else missing or confusing, documentation wise?

Inviting @woodyrew @wernerglinka @Ajedi32 @axe312ger

I have started the wiki on in-place with some of @ismay's suggestions for my blogpost. Please look at the introduction and edit as needed. A list of use cases underneath would be a way to do this. Let me know if this is ok.

How should we deal with wiki articles that should be in both wikis? Should the layouts wiki just have a link to the in-place wiki?

I added a couple of articles to cover Nunjucks templates. Added a section "Notes on Paths" at the end of Using Metalsmith in place with Nunjucks. I would appreciate if someone could review the section for accuracy.

Great work @wernerglinka

Please look at the introduction and edit as needed. A list of use cases underneath would be a way to do this. Let me know if this is ok.

I've edited the wiki and moved some of the writing to the readme (see https://github.com/metalsmith/metalsmith-in-place/pull/155), as I think the wiki is less discoverable and some of the information (like that you need to install jstransformers manually) is too important to be missed.

How should we deal with wiki articles that should be in both wikis? Should the layouts wiki just have a link to the in-place wiki?

Layouts has a lot more users, so I think it's a good idea to move examples that use both to the layouts wiki.
Other than that, I think it's good to keep the wiki focused on just examples, to prevent fragmenting the docs too much (I'm still considering where to put the explanation on the difference between layouts and in-place). I'm thinking it would be nice to have the wiki home page be a list of links to examples, with short descriptions under each link.

I like your changes. Would be nice if someone could add an article for Handlebars, that seems to be quite popular... maybe @itsMeBender would be game ;-)

@wernerglinka I did quite some editing on the existing articles to get everything aligned. I tried to reduce the complexity in some of the examples, and just demonstrate some bare-bones use-cases that can be easily adapted.
However, a couple of things from the more complex examples are still useful to know, like not using a relative path when extending a layout with in-place, using partials, etc.
Maybe this part:
## Note on Paths
Files located in the src folder are transformed by Metalsmith into an object and thus are read from memory and not from disk. It means that Nunjucks cannot resolve relative paths inside of this folder. That's why the _extends_ tag in _src/index.njk_ must have a path that allows Nunjucks to find the file: `./layouts/layout.njk`. In this case `./` is the directory in which build.js is located in.

Files located outside the src folder are not transformed by Metalsmith and thus are read from disk. In this case, Nunjucks can resolve relative paths. That's why the include tag in _layouts/layout.njk_ has a relative path `partials/footer.njk`.

can go in the readme somewhere. Or in it's own example.
Also, I removed the notices about specific versions. I think the examples should be for the latest major versions of the plugins. Given that constraint we don't have to tie them to a specific minor or patch as we of course won't be making breaking api changes within the majors.
(I might've accidentally lost some history when editing the wiki btw. Apparently changing a title resets the history for that page. I assume it's still there when cloned though.)

I've also added the handlebars example btw.

The biggest thing I learned when using only in-place was to use the extends tag in the source file to apply a template file and then to use a file path that points to the working directory. Once I understood that I was “over the hurdle”. I think we should add that back

Yeah definitely, I think that's important as well. I'll add it as a separate example, that way it'll hopefully be a bit easier to digest.

Thank you @ismay I have added a Nunjucks variable into the source file to show that in-place will apply the template AND also make any variable substitution, e.g. {{ body_title }}.

@wernerglinka Cool, good idea 👍

I think that that's it. Any other use cases we need to cover for in-place?

This is turning out well. We might want to ask some of the Slack users to review.

This is turning out well. We might want to ask some of the Slack users to review.

Done, asked in #general

Thanks again for being so receptive to this. It will help new-comers. Now we can just point to the wiki ;-)

Thanks again for being so receptive to this. It will help new-comers. Now we can just point to the wiki ;-)

No problem at all, thank you for the suggestions and all the help! 😊🎉🎉

As a todo reminder, good suggestion by woody for another use-case to add:

Using marked to render markdown, pass some options to marked to modify the rendering (show how engineOptions works)

You’re right, I’ll add that back as a separate example as well 👍

Having this as an separate example is probably the better approach. Easier to find…

On Jul 24, 2018, at 1:31 PM, ismay<EMAIL_ADDRESS>wrote:
You’re right, I’ll add that back as a separate example as well 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/metalsmith/metalsmith-in-place/issues/149#issuecomment-407507583, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVIAKmQegjXcFl19mpZO5YPyvl6bJPBks5uJ2gdgaJpZM4VAgnC.

I've added an example that uses marked with metalsmith's javascript api and shows how to enable syntax highlighting: https://github.com/metalsmith/metalsmith-in-place/wiki/Advanced-example-with-markdown-and-syntax-highlighting
It doesn't implement a custom renderer however, but I thought that from here adding further options should be doable.

Added the nunjucks custom filter example as well. Let me know if there's anything missing, or incorrect.

Hi Ismay,
About the note of paths in the Advanced example with nunjucks template inheritance article.
I went back and reviewed the readme file for jstransformer-nunjucks and.. tada... there is now a root or path option that one can set to define the highest-level directory that can be searched for templates and macros. Config would look like this
const templateConfig = {
    engineOptions: {
        path: __dirname + '/layouts',
        filters: {
            toUpper: toUpper,
            spaceToDash: spaceToDash
        }
    }
};

Now we can use paths in relationship to_ /layouts_ everywhere.
This means that the section about path in the Advanced example with nunjucks template inheritance article is only true if the path is not defined. You may want to check this. It seems to work with my test setup.

... and one more thing ;-)
I added a PR to  jstransformer-nunjucks that allows the addition of Nunjucks extensions. This will result in this config:
const CaptureTag = require("nunjucks-capture");
...
const templateConfig = {
    engineOptions: {
        path: __dirname + '/layouts',
        filters: {
            toUpper: toUpper,
            spaceToDash: spaceToDash
        },
        extensions: {
            CaptureTag: new CaptureTag()
        }
    }
};

Hopefully, this will be merged soon so then we will have full control again over Nunjucks.

Yeah this issue is related to that I believe: https://github.com/jstransformers/jstransformer-nunjucks/issues/10

I think this is a good start. We can always add more examples to the wiki. Now on to do the same for layouts.


Define Directional Patterns (like dashes, arrows, icons, etc.) on Polylines

Hi!
Thank you for coming out with this really good package and all your swift responses.
I was trying to plot some routes via dash-leaflet.Polyline(). However, I was thinking if it is possible to also has directional indication like arrows along the path of the plotted route?
There is something similar, Polyline Decorator, but is a Js leaflet plug-in.
Thanks!

I have just (0.0.14) implemented a wrapper of the leaflet plug-in. It was not completely plug and play, so i had to make a few changes to the interface. You can find examples here.

I have just (0.0.14) implemented a wrapper of the leaflet plug-in. It was not completely plug and play, so i had to make a few changes to the interface. You can find examples here.

Thank you for adding this new feature! Can see that you have put into a lot of time and effort into your work.
I have been trying out. However, I realise there could be some issues.

The very first plot shows that the list of PolylineDecorators and its respective polylines get plotted correctly.
However, subsequent filters (and callbacks) shows that only the the polylines get plotted but not the respective arrows. i.e. The polylines are responsive to my filters but the arrows aren't, and the very first arrows still remain after the filter.

Could you post some example code? You might just be experiencing that the i have implemented the properties as static, i.e they cannot be changed after construction. To change a decorator, you must replace it by a new one.

Could you post some example code? You might just be experiencing that the i have implemented the properties as static, i.e they cannot be changed after construction. To change a decorator, you must replace it by a new one.

Not a problem, I have attached a code snippet in a text file for easier viewing.
Example.txt
In a case where a callback is needed, how do you "erase" the previous plot and replace with a new one?

I would attach the object (in the case a decorator) as the child of a layergroup and target the children of the layergroup as the callback output. I can post an example when I get near a pc.

Here is a small example that works with the current code,
import dash
import dash_html_components as html
import dash_leaflet as dl
from dash.dependencies import Output, Input

def draw(n):
    patterns = [dict(offset='5%', repeat='10%', marker={})]
    positions = [(56, 9.5 + 0.1 * i) for i in range(n)]
    polyline = dl.Polyline(positions=positions)
    return dl.PolylineDecorator(polyline, patterns=patterns, id=str(n))  # the id MUST change

# Create app.
app = dash.Dash()
app.layout = html.Div([dl.Map([dl.TileLayer(), dl.LayerGroup(draw(2), id="container")],
                              zoom=10, center=(56, 10)), html.Button("Click me", id="btn")],
                      style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"})

@app.callback(Output("container", "children"), [Input("btn", "n_clicks")])
def func(n_clicks):
    return draw(n_clicks + 2)

if __name__ == '__main__':
    app.run_server()

Note that you must change the id of the decorator when you update it. Otherwise, the map will not detect that it has changed, and it will thus to be redrawn.
While the above example works, i agree that it is not super intuitive. I'll try to think about a way to make it better.

I have just (0.0.15rc1) changed the positions and children properties of the decorator to dynamic rather than static. Hence, the above code can now be simplified to,
import dash
import dash_html_components as html
import dash_leaflet as dl
from dash.dependencies import Output, Input

def draw_polyline(n):
    return dl.Polyline(positions=[(56, 9.5 + 0.1 * i) for i in range(n)])

patterns = [dict(offset='5%', repeat='10%', marker={})]
decorator = dl.PolylineDecorator(draw_polyline(2), patterns=patterns, id="decorator")
# Create app.
app = dash.Dash()
app.layout = html.Div([dl.Map([dl.TileLayer(), decorator], zoom=10, center=(56, 10)),
                       html.Button("Click me", id="btn")],
                      style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"})

@app.callback(Output("decorator", "children"), [Input("btn", "n_clicks")])
def func(n_clicks):
    return draw_polyline(n_clicks + 2)

if __name__ == '__main__':
    app.run_server()

Here is a small example that works with the current code,
import dash
import dash_html_components as html
import dash_leaflet as dl
from dash.dependencies import Output, Input

def draw(n):
    patterns = [dict(offset='5%', repeat='10%', marker={})]
    positions = [(56, 9.5 + 0.1 * i) for i in range(n)]
    polyline = dl.Polyline(positions=positions)
    return dl.PolylineDecorator(polyline, patterns=patterns, id=str(n))  # the id MUST change

# Create app.
app = dash.Dash()
app.layout = html.Div([dl.Map([dl.TileLayer(), dl.LayerGroup(draw(2), id="container")],
                              zoom=10, center=(56, 10)), html.Button("Click me", id="btn")],
                      style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"})

@app.callback(Output("container", "children"), [Input("btn", "n_clicks")])
def func(n_clicks):
    return draw(n_clicks + 2)

if __name__ == '__main__':
    app.run_server()

Note that you must change the id of the decorator when you update it. Otherwise, the map will not detect that it has changed, and it will thus to be redrawn.
While the above example works, i agree that it is not super intuitive.

Thank you for your example, I have learned some new ways of writing the code :).
I have taken note and tweaked my code to have a different ID for each callback.

I have just (0.0.15rc1) changed the positions and children properties of the decorator to dynamic rather than static. Hence, the above code can now be simplified to,
import dash
import dash_html_components as html
import dash_leaflet as dl
from dash.dependencies import Output, Input

def draw_polyline(n):
    return dl.Polyline(positions=[(56, 9.5 + 0.1 * i) for i in range(n)])

# Create decorator.
patterns = [dict(offset='5%', repeat='10%', marker={})]
decorator = dl.PolylineDecorator(draw_polyline(2), patterns=patterns, id="decorator")
# Create app.
app = dash.Dash()
app.layout = html.Div([dl.Map([dl.TileLayer(), decorator], zoom=10, center=(56, 10)),
                       html.Button("Click me", id="btn")],
                      style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"})

@app.callback(Output("decorator", "children"), [Input("btn", "n_clicks")])
def func(n_clicks):
    return draw_polyline(n_clicks + 2)

if __name__ == '__main__':
    app.run_server()

Thanks! Looking forward to the final release!

Are you satisfied with the syntax of the 0.0.15rc1 release (you can try it out right away via pip, i.e. pip install dash-leaflet==0.0.15rc1)? If so, I'll bump it to 0.0.15 (without rc1).

pip install dash-leaflet==0.0.15rc1

I have tried it and it works great, that means there is no need to assign a unique ID for each plot.
For 0.014, I followed your guidance and so assigned each ID to the current datetime so it will always be a unique ID. Hardly the most efficient way haha..
0.0.15 would be alot cleaner indeed. Thank you!

Great! Thanks for the quick test. I also like the new syntax much better.


update readme to fix menu item path

menu item to "Run Scene GUID to Path Map Generator" describes wrong path.  latest version has that menu item under "Tools".

Thank you. This will be included in the next release.

Included in 1.3.0.


Remix starter not working in dev

Current Behavior
Trying to run yarn dev on the Remix starter with no changes on top
TypeError: Cannot read properties of undefined (reading 'themes')

The production build works fine
Expected Behavior
Expected to see the web page load
Tamagui Version
`npm create tamagui@latest` -> remix starter

Platform (Web, iOS, Android)
Web

Reproduction
npm create tamagui@latest
choose remix starter
cd into folder
yarn dev
open in browser
TypeError: Cannot read properties of undefined (reading 'themes')
    at Module.getThemes (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/config.mjs:37:26)
    at getState (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/helpers/ThemeManager.mjs:62:18)
    at ThemeManager.getState (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/helpers/ThemeManager.mjs:44:12)
    at ThemeManager.getStateIfChanged (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/helpers/ThemeManager.mjs:36:20)
    at ThemeManager.updateStateFromProps (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/helpers/ThemeManager.mjs:27:28)
    at new ThemeManager (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/helpers/ThemeManager.mjs:15:12)
    at getNewThemeManager (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/hooks/useTheme.mjs:171:42)
    at createState (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/hooks/useTheme.mjs:178:32)
    at useReducer (/Users/ericvicenti/Code/ttest2/node_modules/react-dom/cjs/react-dom-server.node.development.js:5145:57)
    at Object.useState (/Users/ericvicenti/Code/ttest2/node_modules/react-dom/cjs/react-dom-server.node.development.js:5083:10)
    at Proxy.useState (/Users/ericvicenti/Code/ttest2/node_modules/react/cjs/react.development.js:1622:21)
    at Module.useChangeThemeEffect (/Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/hooks/useTheme.mjs:104:41)
    at /Users/ericvicenti/Code/ttest2/node_modules/@tamagui/web/dist/esm/views/Theme.mjs:14:18
    at renderWithHooks (/Users/ericvicenti/Code/ttest2/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16)
...

System Info
System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 692.98 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.0 - ~/.nvm/versions/node/v18.20.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v18.20.0/bin/npm
    pnpm: 7.27.1 - /opt/homebrew/bin/pnpm
    bun: 1.0.1 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 126.0.6478.61
    Edge: 120.0.2210.144
    Safari: 17.5
  npmPackages:
    @biomejs/biome: ^1.5.3 => 1.8.1
    @remix-run/dev: ^2.8.1 => 2.9.2
    @remix-run/node: ^2.8.1 => 2.9.2
    @remix-run/react: ^2.8.1 => 2.9.2
    @remix-run/serve: ^2.8.1 => 2.9.2
    @tamagui/config: ^1.100.5 => 1.100.5
    @tamagui/vite-plugin: ^1.100.5 => 1.100.5
    @types/react: ^18.2.55 => 18.3.3
    @types/react-dom: ^18.2.19 => 18.3.0
    isbot: ^4.1.0 => 4.4.0
    react: ^18.2.0 => 18.3.1
    react-dom: ^18.2.0 => 18.3.1
    tamagui: ^1.100.5 => 1.100.5
    typescript: ^5.3.3 => 5.4.5
    vite: 6.0.0-alpha.17 => 6.0.0-alpha.17
    vite-bundle-analyzer: ^0.9.2 => 0.9.4
    vite-plugin-commonjs: ^0.10.1 => 0.10.1
    vite-tsconfig-paths: ^4.3.2 => 4.3.2

After trying again today I get a totally different error (same reproduction step)

did you get it working in the end?

@JustinINevill seems like we need to add the vite plugin for compat with react-native, i will revisit this as i've done this a few times now with other stacks.

I simplified down to just using core in the starter for now. 3595f076a3a4e752e375cd6e8dc1d31f32ec4653
We have a vite-based stack coming soon that will solve all these issues and more!


Camelize no longer working

Not sure when this started happening, but with the latest npm release, camelize seems to not be working correctly. https://runkit.com/embed/4wpkklh5tt34

For all those that come across this, the solution is also specifying the seperator. For example:
camelize('test-string', '-')
// testString


Cleaned up the Red Gate ebooks

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
I went through the Red Gate ebooks as many of them were pointing to 404 pages. One book didn't have a free download link anymore so I removed it (SQL Server Concurrency: Locking, Blocking and Row Versioning). In addition, some new ebooks were added.
Also, I added the proper PDF and email address notifications wherever needed.
Why is this valuable (or not)
Free high-quality ebooks
How do we know it's really free?
They're listed on the publishers page for free download
For book lists, is it a book?
Yes
Checklist:

[X] Not a duplicate
[X] Included author(s) if appropriate
[X] Lists are in alphabetical order
[X] Needed indications added (PDF, access notes, under construction)

very nice.


Search for lyrical version of songs

Ideally to prevent downloading music videos by mistake.

First of all, I'm not quite sure about this, I think in general the music videos are most often the best quality and most similar to what you can hear on spotify. The YouTube algorithms will provide the "right" video for us if available. Second, I think you're missing a space in front of "lyrics", as it is now the words will just be glued together. I would not accept it until you make it into an optional flag.
Thanks for the PR though.

You're correct about the spacing, I apologise.
I've found that quite often I get music videos with spacing and talking thrown in, where parts of the video would take place.
Interested to hear other people's take on this though.

@dextronox Thanks for the PR! Could you provide some example songs where this change results in selection of a better video?

Another vote for making it an optional flag instead of the standard search pattern.

TBH, search term results are based on much more factors than we can possibly take care of. Any change we make to improve a particular situation will break with some other search term. I don't think we can arrive at a general solution to care of everything.

Hi @ritiek , sorry for taking so long to reply.
No worries, here's an example: -
Try downloading Mike Posner's I Took a Pill in Ibiza, instead of downloading the original, it downloads the music video variant.
With the lyrical search query added, it downloads the proper version designed for listening.
Hope that helps!


New UI for "Analysis" projects

First pass spec available here

@snopoke I wrote out what I think the basic pieces we'll need are for the StC MVP. Do you want to give that a look and see if it matches your expectation, and if there's anything overfit or missed?

What you've written all makes sense. I think the only question I had was how much of this we should build in a generic way vs something specific for this project.
It will be a lot more effort to create a generic 'framework' for build this kind of bot than to produce something more static. I started putting some 'design' thoughts down at the bottom of your doc for a generic framework.

I might not have mentioned specifically enough in the doc, but I think overall I don't think we need to be designing anything too generic or abstracted for this upfront. I think we should be iterating on this design as we build, deciding what will end up being useful / reusable, hopefully having a starting point makes it easier to see the patterns.
I think the UI itself should support the core flow here, but happy to compartmentalize the state and models a lot until we know if we'll reuse


Magento 2.4.5-p5 on MariaDB 10.4

@faradey  I have an error when running Magento 2.4.5-p5 on MariaDB 10.4, Any idea?
Magento: magento/product-community-edition": "2.4.5-p5"
MariaDB 10.4
2024-06-10 19:39:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.4.34+maria~ubu2004 started.
2024-06-10 19:39:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-10 19:39:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.4.34+maria~ubu2004 started.
2024-06-10 19:39:20+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2024-06-10 19:39:20 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions.
2024-06-10 19:39:20 0 [Note] Starting MariaDB 10.4.34-MariaDB-1:10.4.34+maria~ubu2004 source revision 16394f1aa1b4097f897b8ab01ea2064726cca059 as process 1
2024-06-10 19:39:20 0 [Note] InnoDB: Using Linux native AIO
2024-06-10 19:39:20 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2024-06-10 19:39:20 0 [Note] InnoDB: Uses event mutexes
2024-06-10 19:39:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2024-06-10 19:39:20 0 [Note] InnoDB: Number of pools: 1
2024-06-10 19:39:20 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-06-10 19:39:20 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2024-06-10 19:39:20 0 [Note] InnoDB: Initializing buffer pool, total size = 512M, instances = 1, chunk size = 128M
2024-06-10 19:39:20 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-10 19:39:20 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2024-06-10 19:39:20 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.6.18.
2024-06-10 19:39:20 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2024-06-10 19:39:20 0 [Note] InnoDB: Starting shutdown...
2024-06-10 19:39:21 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-06-10 19:39:21 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-10 19:39:21 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-06-10 19:39:21 0 [ERROR] Aborting

hi @jonatanaxe
This usually happens when you initially use one version of the database and then update the database version in the build. If that's the case, could you please specify which version you updated from?

I was using 10.6 but this version of Magento uses 10.4

Unfortunately, in Madock, you cannot simply downgrade the database version due to backward incompatibility between versions. You can do the following:

Revert back to version 10.6 and create a database dump.
Clean the containers using the command madock prune --with-volumes.
Run the command madock rebuild.
Import the database dump back.

You can also use the scope functionality:
Scopes Documentation
However, I believe the steps I described above will suit your needs better.

@faradey it worked wow


docs(libp2p): changelog for libp2p out of order

https://github.com/libp2p/js-libp2p/blob/master/packages/libp2p/CHANGELOG.md lists releases in the following order:

0.45.9 (2023-06-14)
0.46.10 (2023-09-10)
0.46.9 (2023-09-05)

This happened as a result of us switching over to release please from our previous release manager, they handled parsing the changelog format differently.


Guide: Servers: GNU Social

Introduction to gnu social / …

https://fed.ialis.me/gnusocial/ _i18n/en/gnusocial/content.md
Excerpt at https://fed.ialis.me/servers/ _i18n/en/servers/gnusocial.md

What do you want here ? A brief introduction for user ? For admin ?
See https://karp.id.au/social/en/index.html : the best manual for GS currently.

I should have precised: it's for users. Admins will come later. :)
Thanks for the link.

I don't see same item for mastodon (then i can make some copy pasta)


acmepipe: delete temp files

Hi
Here's another small diff for acmepipe.  I had my /tmp filled with acmepipe.* files because temp files were never removed.  This seems to fix it (acmepipe updates the buffers and my /tmp is clean again!)

Thanks!


fix calculation of per_thread socket counts

This fix resolves issue #3

Closed because I made the mistake of opening a pull request on my master branch instead of a feature branch.


Create spicydevs.is-not-a.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description

website for SpicyDevs
Link to Website

https://spicydevs.js.org

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

recheck


Signed URL prefix

I would like the ability to generate a signed url that is valid for all files in a bucket with a given prefix.
There have been multiple issues requesting similar abilities, but it looks like the core ability of Google Cloud supports this. It looks the API allows creation of signed urls with a prefix. It would be nice if this functionality was built into the client library. I'm imagining something along the lines of:
  const [signedUrl] = await storage.bucket(bucketName).getSignedUrl({
    version: 'v4',
    expires: Date.now() + expirationSeconds * 1000,
    prefix: pathPrefix
  });

Thanks @gabrielmcreynolds we will take a look at adding this functionality.

Hi @gabrielmcreynolds thank you for the question. Currently the Google Cloud Storage API does not support creating a signed URL based on a prefix. The documentation reference that you have provided is for the Cloud CDN which supports signed URLs based on a prefix. But for the GCS we do not support the signed URL based on a prefix.


Unfuck the releases because they were made using the master branch 🙄

Can't be bothered, I'll delete them after I release the beta


fix(cors) don't send vary header with * origin

Summary
The CORS plugin currently always sets a Vary: Origin header on
responses.
Vary: Origin should not be sent together with Access-Control-Allow-Origin: * since the response won't vary by the Origin request header.
Unnecessarily sending the Vary: Origin header can cause issues with intermediate caches and cause them to either create identical cache copies for each origin or cause them to outright refuse caching the result.
This fixes behavior by no longer sending a Vary: Origin header when
Access-Control-Allow-Origin: * and credentials is disabled.
Full changelog

don't send vary: origin header when access-control-allow-origin header is *
update tests to match behavior of not sending vary: origin header when access-control-allow-origin header is *

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

Thanks a lot for this Pull Request!


can't run:invalid model file

Got Error
llama_model_load: loading model from './models/gpt4all-lora-quantized-ggml.bin' - please wait ...
./models/gpt4all-lora-quantized-ggml.bin: invalid model file (bad magic [got 0x67676d66 want 0x67676a74])
you most likely need to regenerate your ggml files
the benefit is you'll get 10-100x faster load times
see https://github.com/ggerganov/llama.cpp/issues/91
use convert-pth-to-ggml.py to regenerate from original pth
use migrate-ggml-2023-03-30-pr613.py if you deleted originals
llama_init_from_file: failed to load model
Enviroment
M1 Pro Mac
model file md5 is 387eeb7cba52aaa278ebc2fe386649b1 equal md5 file on website
But I can run original gpt4all clone from github.just clone,download model file in chat folder and run.

@ukhack This is a duplicate of https://github.com/nomic-ai/gpt4all/issues/252

I solved it!

@ukhack - how did you solve it? I have the same error.

@CaptainChemist You have to apply migrate-ggml-2023-03-30-pr613.py from llama.cpp to the faulty model file. Takes just a few seconds.

I'll talk to nomic-ai so that they deploy other models.

@CaptainChemist You have to apply migrate-ggml-2023-03-30-pr613.py from llama.cpp to the faulty model file. Takes just a few seconds.

# In the same repo as your gpt4all-ui
git clone https://github.com/ggerganov/llama.cpp.git
# Transform the model
python3 llama.cpp/migrate-ggml-2023-03-30-pr613.py models/gpt4all-lora-quantized-ggml.bin models/gpt4all-lora-quantized-ggml_converted.bin

# And now change the names to allow proper usage
mv models/gpt4all-lora-quantized-ggml.bin models/gpt4all-lora-quantized-ggml.bin.orig
mv models/gpt4all-lora-quantized-ggml_converted.bin models/gpt4all-lora-quantized-ggml.bin

Thank you, this did it! A note for anyone else stumbling across this- I had to call python3.11 specifically when executing this migration script, using the standard 3.9 did not work for me.

I'm adding all this to the install.bat

This should be fixed on the install.sh as well.

You are right. I'll do it as soon as i can.

Why not just upload the correct format file instead of having to do all this. I just downloaded the file and got the same issue. Even the latest file is not converted.

I'm waiting for the nomic-ai teams to release the next batch of models and they probably will be in the right format out of the box.

I got it working by conversion with the standard model, but the same process fails trying to use gpt4all-lora-unfiltered-quantized.bin -- how can I get this one working with the UI??  (or is there a better uncensored one to use with it?)

Ok, I'll try to convert the unfiltered version and post it to the hugging face.


[Airbrake] [Production] Could not find a dataset with the key "be"

Airbrake error: #7538
Airbrake project: ETE
Error type: Atlas::DocumentNotFoundError
Error message: Could not find a dataset with the key "be"
Where: api/v3/areas#show
Occurred at: Jul 26, 2016 11:20:10 UTC
First seen at: Jul 26, 2016 11:20:10 UTC
Occurrences: 1 (0 since last deploy on <no information>)
URL: https://engine.energytransitionmodel.com/api/v3/areas/be
File: [GEM_ROOT]/bundler/gems/atlas-5077e5609d65/lib/atlas/active_document/finders.rb
Backtrace:
[GEM_ROOT]/bundler/gems/atlas-5077e5609d65/lib/atlas/active_document/finders.rb:38:in find
[PROJECT_ROOT]/app/models/etsource/loader.rb:49:in area_attributes
[PROJECT_ROOT]/app/models/area.rb:3:in get
[PROJECT_ROOT]/app/controllers/api/v3/areas_controller.rb:22:in show

I assume that be is for Belgium. We don't have a Belgian dataset (yet). Assigning myself to look into this.

Un-assigning myself as can't figure out what is going on. Not critical though.

as can't figure out what is going on.

Welcome to my world. :tada:

I can't figure it out either. None of our apps refer to the be region, nor are there any old scenarios in the database using it. Can't find any text in ETModel which refers to the api/v3/areas/... addresses either.

Perhaps somebody was probing for a be dataset? :grinning: