consistent definitions and global variables according to PEP8

PEP8: Constants are usually defined on a module level and written in all capital letters with underscores separating words. Examples include MAX_OVERFLOW and TOTAL.

unfortunately not:
************* Module pymovements.gaze.transforms
src/pymovements/gaze/transforms.py:245: [C0103(invalid-name), pos2vel] Variable name "N" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/gaze/transforms.py:246: [C0103(invalid-name), pos2vel] Variable name "v" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/gaze/transforms.py:277: [C0103(invalid-name), pos2vel] Variable name "v" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/gaze/transforms.py:284: [C0103(invalid-name), pos2vel] Variable name "v" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/gaze/transforms.py:408: [C0103(invalid-name), split] Variable name "n" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.plotting.tsplot
src/pymovements/plotting/tsplot.py:112: [C0103(invalid-name), tsplot] Variable name "t" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/tsplot.py:123: [C0103(invalid-name), tsplot] Variable name "ax" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/tsplot.py:125: [C0103(invalid-name), tsplot] Variable name "ax" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.plotting.heatmap
src/pymovements/plotting/heatmap.py:100: [C0103(invalid-name), heatmap] Variable name "x" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/heatmap.py:101: [C0103(invalid-name), heatmap] Variable name "y" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/heatmap.py:135: [C0103(invalid-name), heatmap] Variable name "ax" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.plotting.traceplot
src/pymovements/plotting/traceplot.py:74: [C0103(invalid-name), traceplot] Argument name "x" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/traceplot.py:75: [C0103(invalid-name), traceplot] Argument name "y" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/traceplot.py:135: [C0103(invalid-name), traceplot] Variable name "n" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/plotting/traceplot.py:138: [C0103(invalid-name), traceplot] Variable name "ax" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.events.events
src/pymovements/events/events.py:158: [C0103(invalid-name), EventDataFrame._add_minimal_schema_columns] Argument name "df" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.dataset.dataset_files
src/pymovements/dataset/dataset_files.py:231: [C0103(invalid-name), add_fileinfo] Argument name "df" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.utils.strings
src/pymovements/utils/strings.py:32: [C0103(invalid-name), curly_to_regex] Argument name "s" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.utils.parsing
src/pymovements/utils/parsing.py:40: [C0103(invalid-name), scolor] Class name "scolor" doesn't conform to '[A-Z_][a-zA-Z0-9]+$' pattern
src/pymovements/utils/parsing.py:113: [C0103(invalid-name), process_asc2csv] Variable name "df" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/utils/parsing.py:183: [C0103(invalid-name), process_asc2csv] Variable name "df" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.utils.checks
src/pymovements/utils/checks.py:68: [C0103(invalid-name), check_shapes_positions_velocities] Function name "check_shapes_positions_velocities" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
************* Module pymovements.utils.downloads
src/pymovements/utils/downloads.py:140: [C0103(invalid-name), download_file] Variable name "e" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/utils/downloads.py:203: [C0103(invalid-name), _DownloadProgressBar.update_to] Argument name "b" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/utils/downloads.py:227: [C0103(invalid-name), _download_url] Variable name "t" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern
src/pymovements/utils/downloads.py:276: [C0103(invalid-name), _calculate_md5] Variable name "f" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern

but I can change those if we want to remove invalid-name? let me know :)


Cannot pip install mlbgame

"error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/docs': Permission denied
and after that message, it prints:
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/7t/2vyvr6056v553r15xpx0gjl00000gn/T/pip-build-Y2rvAh/mlbgame/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/7t/2vyvr6056v553r15xpx0gjl00000gn/T/pip-5ibLS1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/7t/2vyvr6056v553r15xpx0gjl00000gn/T/pip-build-Y2rvAh/mlbgame/
I've tried all sorts of work arounds and can't figure out why that error won't stop

Try sudo pip install mlbgame. If you can't install with pip, you can always download a zip here.

I swear I tried that already and it didn't work but I tried it again and it
worked, thanks!
On Fri, May 27, 2016 at 7:07 PM, Zach Panzarino<EMAIL_ADDRESS>wrote:

Try sudo pip install mlbgame. If you can't install with pip, you can
always download a zip here
https://github.com/zachpanz88/mlbgame/releases.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zachpanz88/mlbgame/issues/9#issuecomment-222271878,
or mute the thread
https://github.com/notifications/unsubscribe/AOqKDBs2Ns0AfRPksJJjGz75yOBNVzfFks5qF3lAgaJpZM4Io0Oi
.


Add placeholder skeleton while data is loading in community page

the api fetches the data from the backend which takes some second at that time the
screen on community page is blank i will add a placeholder skeleton while the data is loading

please assign this issue to me @Anuj3553

Hyy @AyushSharma72, I'm assigning this issue to you.

Hyy @AyushSharma72, Can you do star to this repo?

Hyy @AyushSharma72, Can you do star to this repo?

Yes


drop deprecated eventing repos

/assign @lionelvillard @ahmetb
These repos are no longer on the release train

/unassign @ahmetb
/assign @devguyio

/retest-required

/lgtm


Gitignore output_byte_debug_js.

ccing @jordwalke for good measure. Context is https://github.com/facebook/reason/pull/682#issuecomment-240037340


[release-1.13] cherrypick for "istioctl x ps --xds-via-agents"

Cherrypicking the PRs  regarding "istioctl x ps --xds-via-agents".

https://github.com/istio/istio/pull/40566
https://github.com/istio/istio/pull/40623

Unlike https://github.com/istio/istio/pull/41056, we don't need to have #40477 .

I see. Thank you for the comments.


Impossible to create SSL certificate with setup.sh

When try to build my ssl cert, I got this output at the end of process:
Enter pass phrase for ./demoCA/private/cakey.pem:
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:<PHONE_NUMBER>2111152537 (0xd87c74efb0770999)
        Validity
            Not Before: Aug 24 06:02:20 2017 GMT
            Not After : Aug 23 06:02:20 2020 GMT
        Subject:
            countryName               = FR
            stateOrProvinceName       = France
            organizationName          = exemple
            commonName                = ex
            emailAddress              =<EMAIL_ADDRESS>        X509v3 extensions:
            X509v3 Subject Key Identifier:
                EC:98:98:86:78:9F:BF:E1:54:60:8C:1D:30:17:0A:25:35:1E:3B:AC
            X509v3 Authority Key Identifier:
                keyid:EC:98:98:86:78:9F:BF:E1:54:60:8C:1D:30:17:0A:25:35:1E:3B:AC

            X509v3 Basic Constraints:
                CA:TRUE
Certificate is to be certified until Aug 23 06:02:20 2020 GMT (1095 days)

Write out database with 1 new entries
Data Base Updated
Generating a 2048 bit RSA private key
..............................+++
...............................................+++
writing new private key to '/ssl/3a985537685d-key.pem'
/ssl/3a985537685d-key.pem: No such file or directory
140300962248344:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/ssl/3a985537685d-key.pem','w')
140300962248344:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
Using configuration from /usr/lib/ssl/openssl.cnf
Enter pass phrase for ./demoCA/private/cakey.pem:
/ssl/3a985537685d-cert.pem: No such file or directory
139918271014552:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/ssl/3a985537685d-cert.pem','w')
139918271014552:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
/usr/local/bin/generate-ssl-certificate: 13: /usr/local/bin/generate-ssl-certificate: cannot create /ssl/3a985537685d-combined.pem: Directory nonexistent

=> /ssl/3a985537685d-key.pem: No such file or directory
Every thing else is ok. What's going on ?

That is a simple fix, if you want to you can do it out of the container by using the commands in the file:
https://github.com/tomav/docker-mailserver/blob/master/target/bin/generate-ssl-certificate
Or you can edit the the setup.sh script lines 85-86 to include the ssl directory:
-v "$(pwd)/config":/tmp/docker-mailserver
-v "$(pwd)/ssl":/ssl
-ti "$IMAGE_NAME" $@
This should place your generated certificate in the ssl directory (current path).

Thank you, that fix the problem, but now at the end of the script, I got a new error:
Sign the certificate? [y/n]:y
failed to update database
TXT_DB error number 2

Ok problem fix. Thank you!

But the cert don't work ... I get everything in my ssl/ folder, the script finish with success, but when I checktls, I don't have cert valid... Should I do anything else ?

Do you use the generated certificate when starting the mailserver?
Check https://github.com/tomav/docker-mailserver/wiki/Configure-SSL

Is it solved and can it be closed?
If it is solved please share what the issue was and how to solve it.

Closing due to no reply


Add adjustment step setting for SliderBar

Picture this scenario: you have a bindable which you want to bind to a slider bar control to allow user adjustment. Generally, when adjusting via a slider bar, adjustments should be sane values, but a user might want to override with a textbox input also bound the to the same bindable.
Using precision becomes non-feasible because it will limit the bindable across all usages (foreshadowing https://github.com/ppy/osu/issues/25862). Like with other UI frameworks, we want to set a tick/step value which governs inputs made via the slider bar.
There's an argument for "fix this locally" but I guarantee we will run into this scenario more and more, especially after we make textbox input for slider config settings more common and users ask for higher precision.

This works, but doesn't completely solve issues:
https://github.com/ppy/osu-framework/assets/191335/c99b2631-8ed8-489c-9d9a-33f80c7020fa
Open to any general feedback on direction.


Typo in HttpLoggerPolicy attribute name

allowed_header_namers

Fixed by https://github.com/Azure/azure-sdk-for-python/pull/8059


11-Fix MLFlow deployment to attach PVC to PV

Description
MLFlow has deployment life persistence and not cluster life persistence, define a PV and attach PVC to the defined PV

Since using local-path dynamic provisioner, cannot persist data after deployment is closed down


Overlaypanel and contextmenu positioning issues

If the overlays(Overlaypanel and contextmenu) placed inside DIV element with relative position then dialogs placed somewhere else on the page without considering position relative to the target.
Expected behavior:  The overlay should be place at the target position.

Issue fixed with appendTo="body"


fix linting errors

The goal is to fix all linting errors so that (1) GitHub CI can actually show us a checkmark when the tests pass; (2) have better coding styles.
Linting errors: everything reported by ~ruff check --format=github .~ ruff check --output-format=github .
Once this is in place, all future PRs should also pass the linting check.

A lot of the linting errors are from the to-be-deprecated modules (like the old IOUtils). In addition to suppressing these linting errors, I also plan to make sure deprecation warnings are in place for these modules.


Channels 0 and 1 in the 'dmas' list have the same channel id

I'm trying to get the kernel driver working in Petalinux 2017.4. I have a Vivado block diagram that has just an AXI DMA IP instantiated with the transmit/received looped back (just for testing, for now).
I've followed the Petalinux related thread: https://github.com/bperez77/xilinx_axidma/issues/24, but I am still getting "Channels 0 and 1 in the 'dmas' list have the same channel id" when I run the command "insmod ./xilinx-axidma.ko"
It looks like the solution to this in the other issue/thread was modifying system-user.dtsi to have different channel numbers (0 for one channel, 1 for the other) :
    axidma_chrdev: axidma_chrdev@0 {
    compatible = "xlnx,axidma-chrdev";
    dmas = <&axi_dma_0 0 &axi_dma_0 1>;
    dma-names = "tx_channel", "rx_channel";
};

I even decompiled system.dtb into system.dts to verify that the changes took place. Here is what I see:
axidma_chrdev@0 {
    compatible = "xlnx,axidma-chrdev";
    dmas = <0x7 0x0 0x7 0x1>;
    dma-names = "tx_channel", "rx_channel";
};

Is there any other reason why I'd be receiving this message?

I think I see what the issue is. I believe that you're getting confused with channel IDs and the index number. The channel ID is not specified in this driver's device tree node (the dmas property). The second number that you think is the channel ID is actually the index. This index is the number that identifies the child of the device tree node that is being referred to.
For example, in the following device tree:
axi_dma_0: axidma0@40400000 {
    #dma-cells = <1>;
    compatible = "xlnx,axi-dma", "xlnx,axi-dma-6.03.a", "xlnx,axi-dma-1.00.a";
    reg = <0x40400000 0x10000>;
    clocks = <&clkc 15>, <&clkc 15>, <&clkc 15>, <&clkc 15>;
    clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
    xlnx,include-sg;
    xlnx,addrwidth = <32>;

    dma-mm2s-channel@40400000 {
        compatible = "xlnx,axi-dma-mm2s-channel";
        dma-channels = <1>;
        xlnx,datawidth = <64>;
        xlnx,device-id = <0>;
        interrupt-parent = <&intc>;
        interrupts = <0 29 4>;
    };

    dma-s2mm-channel@40400000 {
        compatible = "xlnx,axi-dma-s2mm-channel";
        dma-channels = <1>;
        xlnx,datawidth = <64>;
        xlnx,device-id = <1>;
        interrupt-parent = <&intc>;
        interrupts = <0 30 4>;
    };
};

&axi_dma_0 0 refers to the node dma-mm2s-channel@40400000, while &axi_dma_0 1 refers to the node dma-s2mm-channel@40400000.
The value that you need to change is the xlnx,device-id property of the AXI DMA/VDMA device tree nodes. This value must be unique across all device tree nodes (but doesn't necessarily have to be contiguous). So, to solve your issue, you need to change one of the xlnx,device-id properties to 1 (or any number other than 0).

Ah I understand now. I can see the axi_dma_0: structure in pl.dtsi, and indeed both of the xlnx,device-id are set to zero. What is the "appropriate" way to modify this field using yocto/bitbake? Is this another field I should add to system-user.dtsi? I am hesitant to modify pl.dtsi directly since this was automatically generated by the petalinux build tools (I believe this was generated when I imported the *.hdf file), and may get overwritten at some point.

I'm not sure what the appropriate way to change that field is; I haven't worked much with Yocto/BitBake. I would imagine that they would set the xlnx,device-id field to be unique, but that seems to not be the case.
I think adding it to the file that isn't auto-generated would be the better way to go. You should be able to refer to the device tree node in the pl.dtsi file and override the value for the device ID.

Hi
Previously had the same issue with device-id set to 0 for both channels. So I just copied whole amba_pl section (together with my axi_dma inside it) to system-user.dtsi and then changed device-id of next channel to appropriate value, after that succeeded to proceed with driver.
I hope this will help you al well.

Thanks for the suggestion @tpeshkin. For now, I'll add a reference to this issue to the README, @rdb9879.

I've just started this morning trying to use this module/library and I'm pretty much walking through alot of the issues that others have had to fight down.
I'm not sure if it adds value, but what I think one can do in regards to the device-tree being wrong is add a reference into the bottom of system-user.dtsi, which would only contain the change. It still requires the hardcoded address fields for each of the dma channels, but it looks cleaner. As an example:
/include/ "system-conf.dtsi"
/{

}

&amba_pl {
  dma@a0000000 {
    dma-channel@a0000000{
      xlnx,device-id = <0x0>;
    };
    dma-channel@a0000030{
      xlnx,device-id = <0x1>;
    };
  };
};

the &amba_pl basically tells the dtc to search for nodes that start with the label amba_pl

when using the petalinux to build the linux on zynq , we'd better write all the changes to the files in project-spec/meta-user
so aim at how to use this project in petalinux , the example to modified devicetree would look like this:
`/include/ "system-conf.dtsi"
/{
};
&amba_pl{
    axidma_chrdev: axidma_chrdev@0 {
            compatible = "xlnx,axidma-chrdev";
            dmas = <&axi_dma_0 0 &axi_dma_0 1>;
            dma-names = "tx_channel", "rx_channel";
    };
};
&axi_dma_0{
    dma-channel@40400000 {
        xlnx,device-id = <0x0>;
    };
    dma-channel@40400030 {
        xlnx,device-id = <0x1>;
    };
};
`

when using the petalinux to build the linux on zynq , we'd better write all the changes to the files in project-spec/meta-user
so aim at how to use this project in petalinux , the example to modified devicetree would look like this:
/include/ "system-conf.dtsi"
/{
};

&amba_pl{
    axidma_chrdev: axidma_chrdev@0 {
            compatible = "xlnx,axidma-chrdev";
            dmas = <&axi_dma_0 0 &axi_dma_0 1>;
            dma-names = "tx_channel", "rx_channel";
    };
};

&axi_dma_0{
    dma-channel@40400000 {
        xlnx,device-id = <0x0>;
    };
    dma-channel@40400030 {
        xlnx,device-id = <0x1>;
    };
};

hi, I understand what you say,but I still have some questions. When I use 2 DMAs, and one has 1 receive channel,the other has 1 transmit channel and 1receive channel. According to your example,we would find dts after changed
	amba_pl: amba_pl { 		axi_dma_0: dma@40400000 { 			dma-channel@40400030 { 				xlnx,device-id = <0x2>; 			}; 		}; 		axi_dma_1: dma@40410000 { 			dma-channel@40410000 { 				xlnx,device-id = <0x0>; 			}; 			dma-channel@40410030 { 				xlnx,device-id = <0x1>; 			}; 		}; 	}; 		axidma_chrdev@0{ 			compatible = "xlnx,axidma-chrdev"; 			dmas = <&axi_dma_0 0 &axi_dma_1 0 &axi_dma_1 1>; 			dma-names = "rx_channel_test", "tx_channel", "rx_channel"; 		};
Would it work in this way?

when using the petalinux to build the linux on zynq , we'd better write all the changes to the files in project-spec/meta-user
so aim at how to use this project in petalinux , the example to modified devicetree would look like this:
/include/ "system-conf.dtsi"
/{
};

&amba_pl{
    axidma_chrdev: axidma_chrdev@0 {
            compatible = "xlnx,axidma-chrdev";
            dmas = <&axi_dma_0 0 &axi_dma_0 1>;
            dma-names = "tx_channel", "rx_channel";
    };
};

&axi_dma_0{
    dma-channel@40400000 {
        xlnx,device-id = <0x0>;
    };
    dma-channel@40400030 {
        xlnx,device-id = <0x1>;
    };
};

hi, I understand what you say,but I still have some questions. When I use 2 DMAs, and one has 1 receive channel,the other has 1 transmit channel and 1receive channel. According to your example,we would find dts after changed
amba_pl: amba_pl { axi_dma_0: dma@40400000 { dma-channel@40400030 { xlnx,device-id = <0x2>; }; }; axi_dma_1: dma@40410000 { dma-channel@40410000 { xlnx,device-id = <0x0>; }; dma-channel@40410030 { xlnx,device-id = <0x1>; }; }; }; axidma_chrdev@0{ compatible = "xlnx,axidma-chrdev"; dmas = <&axi_dma_0 0 &axi_dma_1 0 &axi_dma_1 1>; dma-names = "rx_channel_test", "tx_channel", "rx_channel"; };
Would it work in this way?


add cleanUp method on request correlation interceptor e.x. use case M…

Hello jmnarloch,
I found your request correlation module and applied to my project with great success :). I really liked the structure and and the simplicity of your code. I also liked the idea of injecting the List of RestTemplate(s).
The thing I would like to add to it, is a cleanup method for the RequestCorrelationInterceptor.java .
I my case, I use these interceptor hook to add stuff to MDC(logback) thread local but I have no concrete way of removing data from it.
Thank you for your time

Hi,
I don't see why not to. I've added some extra tests for that and merged through: https://github.com/jmnarloch/request-correlation-spring-cloud-starter/commit/34b8ed9e7cb2bdeedc76a62153871c92d8c7a79b
Thanks @ssouris for your contribution. The release should be available from maven central later today.

Thank you so much :) Very happy to contribute.


Pull to refresh hidden behind renderParallaxForeground component

Issue details
I am using FlatList in renderScrollComponent and inside renderParallaxForeground i am using a Swiper component. When I am using the Pull to Refresh the loading icon is going behind the renderParallaxForeground component.Seems some zIndex issue.
Steps to reproduce
Use a normal View with height 300 and some background color inside renderParallaxForeground and renderScrollComponent={FlatList}. Use the Pull to Refresh.
Please specify which versions of the RN and ParallaxScroll

react-native 0.51
react-native-parallax-scroll 1.5.4

Affected platforms

Android
iOS (not checked)

Screenshots / Screencast / Code Snippets (Optional)
<ParallaxScroll
      scrollableComponent={FlatList}
      renderHeader={({ animatedValue }) => <Header/>
    }
      headerHeight={MARGIN_TOP}
      isHeaderFixed={false}
      fadeOutParallaxBackground={false}
      fadeOutParallaxForeground={true}
      parallaxHeight={300}
     renderParallaxForeground={({ animatedValue }) =>
  <Swiper/>
  }

//     }
      parallaxBackgroundScrollSpeed={5}
      parallaxForegroundScrollSpeed={1.3}
      data={this.props.list}
      keyExtractor={this._keyExtractor}
      renderItem={this._renderItem}
      initialNumToRender={6}
      onRefresh={this.handleRefresh}
      refreshing={this.state.refreshing}
    />

+1, This is indeed a problem.

Hi @ashokkumar88, looks like this issue can't be fixed, it is connected with RN limitations

something working?

i also face this issue. loading indicator shows behind my component I set to be a header.


Specify series entity ID using template

Checklist

[x] I am running the latest version of the card
[x] I checked if there isn't another feature request opened with the same request
[x] I checked that the feature is not already available in the dev branch

Describe the solution you'd like
Having the ability to specify entity using Javascript (or Jinja, either would work) templates.
e.g:
series:
   # This checks a sensor which reports which device is using the most power at the moment:
  - entity: '[[[ return states["sensor.highest_electricity_usage_sensor"].state; ]]]'
  # This allows me to enter a particular device name via a custom:text-input-row and have it included in the graph:
  - entity: '[[[ return "sensor." + states["input_text.selected_sensor"] + "_power"; ]]]'
  # This shows total electricity usage of all devices combined:
  - entity: sensor.total_electricity_power

Describe alternatives you've considered
Tried using Jinja and JS templates, and using auto-entities card, though I couldn't get any of those working
Additional context
This is for advanced dashboarding... I would like to show which of the devices in my house is using the most power at any moment, and then also build a UI component which allows me to enter a device name and have the graphs update to show that device's electricity usage relative to the total power usage

Keeping alive

Keeping alive

You can use https://github.com/iantrich/config-template-card for that.
I don't plan to implement templates in this card.

Fair; thanks for the feedback and the pointer to a possible solution

Closing - wontfix


⚠ Bofrost.at has degraded performance

In 92cfff5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3439 ms

Resolved: Bofrost.at performance has improved in 3ae40df after 6 minutes.


[Feature Request] Group chapters into volumes

...for easier navigation. I feel there should be an optional flag to put chapters into "Volume n" folders if "pdf" or "cbz" flags are present. Or if, for example, "pdf-chapters" or "cbz-chapters" flags are there, group them into "Volume n.pdf" files. Sort of like middle ground between downloading all the chapters into the same folder and making a large pdf file with all the chapters.
Like so:

and

I have discovered your project this evening and was astounded by how flawlessly it works (except for missing arial fonts, which is fixable on my part). Thank you for your work!

I feel there should be an optional flag to put chapters into "Volume n" folders if "pdf" or "cbz" flags are present

But, in the picture 1 it shows chapters stored in each volume folder which means lead to raw format.

But, in the picture 1 it shows chapters stored in each volume folder which means lead to raw format.

Oh, I just meant that translated chapter pdf-s are sorted into folders.

I prefer picture 2 tbh than picture 1, because it wrap "all chapters from volume n" to one single file.

Added in https://github.com/mansuf/mangadex-downloader/commit/60494bc45ed3633a5abfc1d71171a04aa4c08534, https://github.com/mansuf/mangadex-downloader/commit/dd76e184ec7395408c898a2b52abcdb98865e38d, https://github.com/mansuf/mangadex-downloader/commit/47d738e9b3da35794945ef228b92229ac02b3b06

Added in 60494bc, dd76e18, 47d738e
cbz-volume format would also be handy


Use native-ssh with 'gcloud compute ssh'

Describe the Bug
I'd like to use native-ssh support to run commands using gcloud compute ssh. The gcloud command supports several authentication methods that would be difficult to implement otherwise (like Identity-Aware Proxy).
When I try to do that I run into
Started on michael-ssh-target...
Failed on michael-ssh-target:
  Failed to connect to michael-ssh-target: ERROR: (gcloud.compute.ssh) unrecognized arguments:
    -o
    michaelsmith@michael-ssh-target
    exit
    To search the help text of gcloud commands, run:
    gcloud help -- SEARCH_TERMS
Failed on 1 target: michael-ssh-target
Ran on 1 target in 1.82 sec

Expected Behavior
I would expect the configuration above to work, or some configuration to make it work.
I could probably make it work by creating a wrapper around the command, but I think there are a few clean improvements that can be made to how the command is constructed to make it more portable.
Steps to Reproduce
Steps to reproduce the behavior:

Create an inventory with an SSH section like    ssh:
      native-ssh: true
      ssh-command: [gcloud, compute, ssh]
      copy-command: [gcloud, compute, scp, --recurse]

Run bolt command run whoami -t <target>

Version: main branch
Platform: macOS 12.2.1

Hmm, my thinking was that I could separate the SSH command and options from commands to execute with --, but that's command-specific and may not be supported by all SSH replacements.

Closed by #3070


Add Helper to get Static Pages

As turning posts into static pages is possible now I believe we really need a helper to access them, otherwise with hardcoding it really is pretty useless. Has anything happened in that direction already I should know about before having a look at it?

+1 I needed this functional for creating landing page with news. First page is static pages list (one_news + link_to_news_list, about, team, products, contacts).

This is being built, see https://github.com/TryGhost/Ghost/issues/4535 :wink:


Support PR plan output to github comments

Implementation for https://github.com/manheim/terraform-pipeline/issues/193
Added new plugin TerraformPlanResultsPR which will comment Terraform plan results as github PR comments.

Overall - nice job.
Now that I'm seeing the finished product, it's more complex/involved than I realized.  It's forcing me to ask the question, "Does this belong as a core plugin for terraform-pipeline?  Or would this feature  be more appropriate in a separate library?"
While the feature is useful, I'm struggling to figure out whether or not it will be useful outside of CAI?  The complexity in particular feels like a source of a lot of potential future churn, that may be better isolated in a separate project?
I'm open to discussion on the above topic.

Overall - nice job.
Now that I'm seeing the finished product, it's more complex/involved than I realized. It's forcing me to ask the question, "Does this belong as a core plugin for terraform-pipeline? Or would this feature be more appropriate in a separate library?"
While the feature is useful, I'm struggling to figure out whether or not it will be useful outside of CAI? The complexity in particular feels like a source of a lot of potential future churn, that may be better isolated in a separate project?
I'm open to discussion on the above topic.

@kmanning Maybe I'm a bit biased, but I'd say this should be useful to anyone who uses GitHub (either .com, cloud, or self-hosted GHE). My personal feeling is that a terraform-focused library that runs plans for a PR but doesn't comment on the PR, is about as useless to me as a unit test or code coverage tool that doesn't send its results back to the PR. A pull request should be the canonical place for information about a given change, and for a terraform project, the plan output is arguably the single most important piece of information about that change. I'll also say that, having interacted with other terraform users both in the general community and on other teams within my company, the ability to automatically run a plan for a PR and then expose the results as a comment on the PR seems to be one of the main "killer features" that gets people interested.


Create toggles.yaml

Checks

[ ] Your YAML file has required fields as listed in Specs
[ ] All checks have passed yaml-lint passed
[ ] You agree to contribute your work under MIT license

Exceeding expectation. Good job.


show Python 3.11 traceback information in debugger

Python 3.11 adds fine grained location information to tracebacks, and uses it to print an arrow under the code line. Figure out how to get this information from the traceback objects and use it to draw the same output in the interactive debugger.

I'm at PyCon and I'll take this on


Comment feature

Create a redirect page where a user can comment on the place and look at all the other comments that have been posted.

Done! Now you can comment on cities page

Great, we can maybe add a Delete comment button too


Add UI field for updating MakeMKV key

Is your feature request related to a problem? Please describe.
It can be difficult to easily update the MakeMKV key (particularly on mobile with no access to a terminal) or intimidating if people aren't used to things yet.
Describe the solution you'd like
Adding a field in the UI to update the /../settings.conf would be awesome!
Are you able to help code/implement this feature ?
Maybe -- i think a lot of this is done with Python. I'd have to learn that again. Doing HTML work is a bit easier for me.

Another way to deal with this in the mean time might be to create a cron job that installs the latest version of MakeMKV on the first of every month. But that's not possible if you're using the Docker container.

Awesome addition @shitwolfymakes! :)

Thanks!


Comparison over 100 wells between version 0.3 and 0.5.2

version 0.5.2 is able to load "XXX" mnemonic when is defined in the LAS file as "**.**XXX" :+1:
~Curve Information Block
DEPT.FT            0 000 00 00: Depth
GR.GAPI                       : Gamma Ray
TT3.USEC                      : CBL 3' Travel Time
AMP3.MV                       : CBL 3' Amplitude
AMP5.MV                       : CBL 5' Amplitude
ATT3.DB/FT                    : CBL 3' Attenuation
BONDIX.                       : CBL Bond Index
.CCL.                         : Casing Collar Locator
~Parameter Information Block
~A  Depth        GR         TT3         AMP3        AMP5        ATT3       BONDIX       .CCL
  4468.0000   -999.2500   -999.2500   -999.2500   -999.2500   -999.2500   -999.2500   -999.2500

but version 0.5.2 is not able load several occurrences of "XXX" :-1: I prefer the old way, and you?
~Curve Information Block
#MNEM.UNIT               :   Curve Description
#---------                   ------------------------------
 DEPTH.F                 :     1  MEASURED DEPTH
 CAL.INCH               :     2  X CALIPER
 CAL.INCH               :     3  Y CALIPER
~Parameter Information Block
#MNEM.UNIT       Value   :   Description
#---------      ----------   ------------------------------
 CS  .INCH          5.500:   CASING SIZE
 CW  .LB/F          20.00:   CASING WEIGHT
 CG  .               N-80:   CASING GRADE
~A   DEPTH      CAL       CAL
  9159.2998    -999.25    -999.25
  9158.7998    -999.25    -999.25
  9158.2998    -999.25    -999.25

in version 0.3 the channels DEPT, ROP and TGAS was correctly loaded, but not any more parsed with version 0.5: :-1: I prefer the old way, and you? I would even suggest to have default name, like "UNKNOWN" and when the mnemonic is empty you can replace it with "UNKNOWN" so you can load the last 3 channels with UNKNOWN[0-2].
~CURVE INFORMATION
#MNEM.UNIT           APICODE             CURVE DESCRIPTION
#---------         -----------           ------------------
DEPT.FT                     : 1 DEPTH
ROP.MIN/FT                  : 2 ROP
TGAS.UNITS                  : 3 TGAS
.                           : 4 WOB
.                           : 5 RPM
.                           : 6 BHF
~A DEPTH      ROP           TGAS
 7440          0             0             0             0             0
 7442          0             0             0             0             0
 7444          0             0             0             0             0

I agree yes in principle. I will write a specific test for this to ensure I don't go backwards in support as you've found. Sorry.


Provide a non-Java-serialization-based Borer codec for FiniteDuration

Let's wait for #27 to clarify first


Use of claim strategy and Identity types

Hi,
I'm struggling with adding multi-tenancy in my ASP.NET 6 MVC app.
I use standard Identity and cookie based authentication.
I have a separate DbContext for managing the tenants wich derives from EFCoreStoreDbContext<MyTenantInfo>
This is how I configured Finbuckle:
builder.Services.AddMultiTenant<MyTenantInfo>()
    .WithEFCoreStore<MultiTenantStoreDbContext, MyTenantInfo>()
    .WithClaimStrategy()
    .WithPerTenantAuthentication();

I want to use just the claim to resolve my tenant, no route or host whatsever.
I understand that, in this scenario, the tenant isn't known until after the user has logged in, so, after several attempts, the only way I found to make this works is to derive my ApplicationDbContext from
MultiTenantIdentityDbContext<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TRoleClaim, TUserToken>, as per documentation, in order to avoid having the tenant filter applied on Identity types because this way they are not configured as multitenant.
Now, I wonder if this is the correct way of doing it, if that can be a security risk here and if there is a better (proper) way.
Thank you.

hi @devalot76
Question for you. Suppose a user is able to log in from a tenant-neutral endpoint. Based solely on their login form (username/password) how would you know which tenant they belonged to?
One option is to actually have your Identity dbcontext not be multitenant and have all users be the same from Identity's perspective, then you can add user claims to each user to capture which tenant (or tenants in a many-to-many situation) they belong to. This is a more advanced use case that the fully isolated approach in the docs and sample projects. It still raises the same question when they register though -- which tenant are they a part of when they register?

@AndrewTriesToCode  Hi. I'm also approaching this way at the moment. I want to use just the claim to resolve my tenant without having to use tenant in url slug. when I login to the form then I will regex the user email to identify the tenant ( eg : user1@root , user2@tenant1 ) and then I succeeded to Authenticator. However, when adding swagger to the identityserver duende (Implement flow), when redirecting to the client, it cannot identify the tenant. I want when the authen is successful and there is jwt, how can it save the previously defined tenant and when redirecting the client url, it can get the previously saved tenant

Do you have a sample repo that login tenant with identityserver and swagger Implicit flow or mvc , client ? . I get tenant identification error when redirecting client url in identityserver

@AndrewTriesToCode  I have a question that using WithBasePathStrategy, when redirecting client url is also null tenant like claimStrategy? Are you using WithBasePathStrategy and before redirecting the client url you saved the previous tenant.

In my approach I'm using the base path for every call and for every callback and redirect. I use an option on the base path strategy that sets the ASP.NET base path to include the tenant for all app logic after the multitenant middleware. Then IdentityServer doesn't even see the tenant part of the url and all of it's generated links and such work as normal. This means that the tenant will have to use their own specific url as the OpenID Connect Authority.
This simplifies things because no need to deal with corner cases with claims based tenant strategy on the Identity Server when a user isn't logged in.

Can you point me to some sample code about this approach, please?

In my approach I'm using the base path for every call and for every callback and redirect.

Can you point me to some sample code about this approach, please?

@devalot76 here's the code from the last time I played with this:
https://github.com/AndrewTriesToCode/MultiTenantIdentityServer4


Fix build issues on mac + schema dir

Needs GOOS to be parametrized and the db migration copy command is fixed so that the schemas directory is created as expected by the migration go module.

Kiittää hän!


Fix introspection target in binding

Pull Request Functional Test Report for #2642 / 26850667dc124fc2255e11fbdd8f2bb9d5fb9539
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 52.298%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
1673

Relevant Lines:
3199

💛  - Coveralls


TypeError: Cannot read property 'allContentfulExtendedGallery' of undefined

Describe the bug
Error "Cannot read property 'allContentfulExtendedGallery' of undefined" is raised during dev/build.
I looked at the previous issue https://github.com/jpvalery/portfolio/issues/1 creating content, but this is still not working,  :(
To Reproduce
Steps to reproduce the behavior:

Running setup (yarn run setup or gatsby build)

My local setup for Contentful is currently working with GCN.

Sorry but I don't offer support on this project.

Sorry but I don't offer support on this project.


2.0 Models & Relationships

This paves the way for using Model classes.  It is 99.9% API-compatible with version 1.0.
Enhancements in this version
Actions return reactive store records
Previously, when you directly used the response from an action, the individual records were not reactive.  This meant that these plain objects wouldn't update when you updated the matching record in the store.
methods: {
  ...mapActions('todos', { findTodos: 'find' })
},
created () {
  this.findTodos({ query: {} })
    .then(response => {
      const todos = response.data || response
      // Suppose firstTodo has an id of 'todo-1'
      const firstTodo = todos[0]

      // Now, when you update the data in the store...
      this.$store.state.todos.keyedById['todo-1'].description = 'Updated description'

      // ... the instance in the `find` response also updates.  Yay!
      console.log(firstTodo.description) // --> 'Updated description'
    })
}

This is a super convenient feature, and it works with all actions (except remove, of course) But be aware that only the individual records returned are reactive.  The lists, themselves, are not reactive.  So if another record comes in from the server that matches the query, the list will not update.  For reactive lists, you must use the find getter, as shown in the following example.
computed: {
  ...mapGetters('todos', { findTodosInStore: 'find' })
  todos () {
    return this.findTodosInStore({ query: {} }).data
  }
},
methods: {
  ...mapActions('todos', { findTodos: 'find' })
},
created () {
  this.findTodos({ query: {} })
    .then(response => {
      // In the find action, the 'todos' array is not a reactive list, but the individual records are.
      const todos = response.data || response
    })
}

In the above example, the computed todos will be a reactive list.  This means that when new records are added to the store, the list of todos will automatically update in the UI to include the new data.
In summary, you can plan on individual records in the action response data to be reactive, but if you need the actual arrays to be reactive to live queries, use the 'find' getter.
The feathers-vuex Vue Plugin
This feathers-vuex release includes a Vue plugin which gives all of your components easy access to the exciting new Models feature.  Here's how to use the plugin:
import Vue from 'vue'
import Vuex from 'vuex'
import feathersVuex from 'feathers-vuex'
import feathersClient from './feathers-client'

// Get a reference to the FeathersVuex plugin
const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' })

// Register the plugin with Vue.
Vue.use(FeathersVuex)
Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [
    service('todos')
  ]
})

Now, in your components, you'll have access to the this.$FeathersVuex object, which contains references to the Model classes, keyed by name.  The name of the model class is automatically inflected to singular, initial caps, based on the last section of the service path (split by /).  Here are some examples of what this looks like:

Service Name
Model Name in $FeathersVuex

/cart
Cart

/todos
Todo

/v1/districts
District

/some/deeply/nested/items
Item

The $FeathersVuex object is available on the Vue object, directly at Vue.$FeathersVuex, as well as on the prototype, making it available in components:
// In your Vue component
created () {
  const todo = new this.$FeathersVuex.Todo({ description: 'Do something!' })
  // `todo` is now a model instance
}

Model Classes & Instances
Every service now includes a new FeathersVuexModel Class and new records are instantiated with that class before getting added to the store.
Creating instances
You can create a Model instance by getting a reference to a Model class from the $FeathersVuex object:
// In your Vue component
created () {
  const { Todo } = this.$FeathersVuex
  const todo = new Todo({ description: 'Do something!' })
}

The example above shows instantiating a new Model instance without an id field. In this case, the record is not added to the Vuex store.  If you instantiate a record with an id field, it will get added to the Vuex store. Note: This field is customizable using the idField option for this service.
Now that we have Model instances, let's take a look at the functionality they provide. Each instance will include the following methods:

.save()
.create()
.patch()
.update()
.clone()
.commit()
.reset()

Remember, if a record an attribute with any of these method names, the attribute will be overwritten with the method.
These methods give access to many of the store actions and mutations.  Using Model instances, you no longer have to use mapActions for create, patch, update, or remove.  You also no longer have to use mapMutations for createCopy, commitCopy, or rejectCopy.
store.dispatch('todos/find', { query: {} })
  .then(response => {
    const { data } = response
    const todo = data[0]

    todo.description = 'Read Nuxt.js docs'
    todo.save() // Calls store.dispatch('todos/patch', [item.id, item, {}])
  })

instance.save(params)
The save method is a convenience wrapper for the create/patch methods, by default. If the records has no _id, the instance.create() method will be used. The params argument will be used in the Feathers client request.  See the Feathers Service docs, for reference on where params are used in each method.
// In your Vue component
created () {
  const { Todo } = this.$FeathersVuex
  const todo = new Todo({ description: 'Do something!' })

  todo.save() // --> Creates the todo on the server.
}

Once the create response returns, the record will have an _id.  If you call instance.save() again, it will call instance.patch().  Which method is used depends soletly on the data having an id (that matches the options.idfield for this service).
As mentioned, save performs either create or patch, but you can use the preferUpdate option to change the behavior to create/update.
instance.create(params)
The create method is a shortcut for calling the create action (service method) using the instance data. The params argument will be used in the Feathers client request.  See the Feathers Service docs, for reference.
You might not every need to use .create(), but can instead use the .save() method. Let feathers-vuex call create or patch.
const { Todo } = this.$FeathersVuex
const data = { description: 'Do something!' }
const todo = new Todo(data)

todo.create() // --> Creates the todo on the server using the instance data

instance.patch(params)
The patch method is a shortcut for calling the patch action (service method) using the instance data. The instance's id field is used for the patch id.  The params argument will be used in the Feathers client request.  See the Feathers Service docs, for reference.
Similar to the .create() method, you might not every need to use .patch() if you just use .save() and let feathers-vuex figure out how to handle it.
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })

todo.description = 'Do something else'

todo.patch() // --> Sends a `patch` request the with the id and description.

Note: Currently, patch sends all data, not just what has changed. In a future update, it will only send the fields that have changed.
instance.update(params)
The update method is a shortcut for calling the update action (service method) using the instance data. The instance's id field is used for the update id. The params argument will be used in the Feathers client request.  See the Feathers Service docs, for reference.
Use .update() whenever you want to completely replace the data on the server with the instance data.  You can also set the preferUpdate option to true to make .save() call .update() when an id field is present on the instance.
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })

todo.description = 'Do something else'

todo.update() // --> Sends a `update` request the with all instance data.

instance.remove(params)
The remove method is a shortcut for calling the remove action (service method) using the instance data. The instance's id field is used for the remove id. The params argument will be used in the Feathers client request.  See the Feathers Service docs, for reference.
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })

todo.save()
  .then(todo => {
    todo.remove() // --> Deletes the record from the server
  })

instance.clone()
The .clone() method creates a deep copy of the record and stores it on Model.copiesById. This allows you to make changes to the clone and not update visible data until you commit or save the data.
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })
const todoCopy = todo.clone()

todoCopy.description = 'Do something else!'
todoCopy.commit() // --> Update the data in the store.

console.log(todo.description) // --> 'Do something else!'
console.log(todoCopy.description) // --> 'Do something else!'

There's another use case for using .clone().  Vuex has a strict mode that's really useful in development.  It throws errors if any changes occur in the Vuex store state outside of mutations.  Clone really comes in handy here, because you can make changes to the clone without having to write custom Vuex mutations. When you're finished making changes, call .commit() to update the store. This gives you strict mode compliance with little effort!
Finally, if for some reason you prefer to keep the copies in the Vuex store and use custom mutations for all update, you can set the keepCopiesInStore option to true.  This will cause the copies to be stored in state.copiesById.
instance.commit()
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })
const todoCopy = todo.clone()

todoCopy.description = 'Do something else!'
todoCopy.commit() // --> Update the data in the store.

console.log(todo.description) // --> 'Do something else!'
console.log(todoCopy.description) // --> 'Do something else!'

instance.reset()
const { Todo } = this.$FeathersVuex
const todo = new Todo({ id: 1, description: 'Do something!' })
const todoCopy = todo.clone()

todoCopy.description = 'Do something else!'
todoCopy.reset() // --> Resets the record to match the one in the store.

console.log(todo.description) // --> 'Do something!'
console.log(todoCopy.description) // --> 'Do something!'

Basic Data Modeling with instanceDefaults
Do you find yourself spending time writing defaults into your form components?  Maybe you wrote a utility for yourself or found one on npm that can do the trick for you.  That's a thing of the past.  You can now specify the default values for Model instances by using the instanceDefaults option when using the service plugin.  Here's what it looks like:
import Vue from 'vue'
import Vuex from 'vuex'
import feathersVuex from 'feathers-vuex'
import feathersClient from './feathers-client'

const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' })

Vue.use(FeathersVuex)
Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [
    service('todos', {
      instanceDefaults: {
        description: '',
        isComplete: false
      }
    })
  ]
})

With the above configuration, each Todo instance will have the attributes provided as instanceDefaults.  This is especially useful for binding to form data.  If the attributes aren't defined while binding, the automatic Vue reactivity won't work.  Remember to not set any of the attributes to undefined, but instead use null.  If not, the reactivity breaks, and you might spend some time wondering why your form is broken.
Relationships for Populated Data
A common task with almost any API is properly handling relationships between endpoints.  Imagine an API where you have /todos and /users services.  Each todo record can belong to a single user, so a todo has a userId.
// GET todos/1
{
  id: 1,
  description: 'Learn about the health benefits of a low-carb diet.',
  isComplete: false,
  userId: 5
}

And a user response looks like this:
// GET users/5
{
  id: 5,
  name: 'Marshall',
  username: 'marshallswain'
  email<EMAIL_ADDRESS>}

Suppose a requirement is put on the /todos service to populate the user in the response.  (As a super handy side note, this task is pretty easy when using Matt Chaffe's magical, efficient feathers-shallow-populate hook)  So now the todo response looks like this:
{
  id: 1,
  description: 'Learn about the health benefits of a low-carb diet.',
  isComplete: false,
  userId: 5,
  user: {
    id: 5,
    name: 'Marshall',
    username: 'marshallswain'
    email<EMAIL_ADDRESS>  }
}

Can you see the problem that will occur with this response?  When this record is put into the /todos store, it will contain a copy of the user record.  But we already have the user record in the /users store.  And what happens when the user data changes?  Now it's out of sync.  To keep it in sync, you might have to manually listen for users updated & users patched events.  Then you might have to write a custom mutation to update the user record attached to every applicable todo record.  This gets messy, fast!
Well, you've probably guessed by now that we've come up with an easier way to solve this problem. The introduction of instanceDefaults allowed for another awesome feature: Model Relationships!  To setup a relationship, specify a Model name, as a string, to any property, like this:
instanceDefaults: {
  description: '',
  complete: false,
  userId: null,
  user: 'User'
}

When this record is instantiated, the user attribute will first be turned into a User model instance, stored properly in the /users store. The todo.user atribute will be a reference to that user.  No more duplicate data!  Here's an example of how to set this up.  The following example specifies that Todo instances can have a user attribute that contains a User Model instance:
import Vue from 'vue'
import Vuex from 'vuex'
import feathersVuex from 'feathers-vuex'
import feathersClient from './feathers-client'

const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' })

Vue.use(FeathersVuex)
Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [
    service('todos', {
      instanceDefaults: {
        description: '',
        complete: false,
        userId: null,
        user: 'User'
      }
    }),
    service('users', {
      instanceDefaults: {
        email: '',
        name: ''
      }
    })
  ]
})

There's another amazing benefit from these relationships.  Because feathers-vuex listens to real-time events and keeps data up to date, when the user record changes, the todo.user automatically updates!
It's worth noting that this feature also supports arrays. Suppose you had /users and /todos services, and your /users service also returned a todos attribute on each record.  The setup would look like this:
import Vue from 'vue'
import Vuex from 'vuex'
import feathersVuex from 'feathers-vuex'
import feathersClient from './feathers-client'

const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' })

Vue.use(FeathersVuex)
Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [
    service('todos', {
      instanceDefaults: {
        description: '',
        isComplete: false
      }
    }),
    service('users', {
      instanceDefaults: {
        email: '',
        name: '',
        todos: 'Todo'
      }
    })
  ]
})

With the instanceDefaults shown above, any todos returned on the users service would be stored in the /todos service store and would always be Todo instances.
Multiple Copies
The previous version of feathers-vuex was hard-coded to allow for a single current record and one copy.  It was pretty easy to hit that limit.  This new release allows for keeping many more copies, one copy per stored record.  To make it easier to comply with Vuex's strict mode, copies are not kept in the store by default, but are instead kept on Model.copiesById.  You can make changes to the copies without having to make custom mutations, then you can commit them back into the store:
const { Todo } = this.$FeathersVuex

// Create two records in the store (since they have ids, they get stored)
const todo = new Todo({ id: 1, description: 'Become more aware of others.'})
const todo2 = new Todo({ id: 2, description: 'Heal one ailments through healthy eating.'})

// Create a deep-cloned copies in Todo.copiesById
const todoCopy = todo.clone()
const todoCopy2 = todo2.clone()

// Try to clone a copy, and fail.
todoCopy.clone() // --> Error: You cannot clone a copy.
todoCopy2.clone() // --> Error: You cannot clone a copy.

// Modify the copies.
todoCopy.description.replace('others', 'self')
todoCopy2.description.replace('one', 'all')

// and update the original records
todoCopy.commit()
todoCopy2.commit()

You can use the keepCopiesInStore option to make this service keep all of its copies in state.copiesById.  Remember that to comply with Vuex strict mode (if that's a concern for you), you'll have to write custom mutations.  If it's not a concern (maybe you're the sole developer or whatever reason), you could technically turn off strict mode, enable keepCopiesInStore, and modify them however you desire, ignoring custom mutations.
import Vue from 'vue'
import Vuex from 'vuex'
import feathersVuex from 'feathers-vuex'
import feathersClient from './feathers-client'

const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' })

Vue.use(FeathersVuex)
Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [
    service('todos', {
      keepCopiesInStore: true,
      instanceDefaults: {
        description: '',
        complete: false
      }
    })
  ]
})

the new model api is incredibly cool :smile:


move gorelic verbose option to config file, leave as false by default

this is a new PR.. my first one had an extraneous else block

:(

Configuration is a b.
@stevvooe will help you with that.

You're code is close.  Just missing the field in the test file:
diff --git a/configuration/configuration_test.go b/configuration/configuration_test.go
index 1093722..5c5d68b 100644
--- a/configuration/configuration_test.go
+++ b/configuration/configuration_test.go
@@ -351,7 +351,7 @@ func copyConfig(config Configuration) *Configuration {
        }
        configCopy.Reporting = Reporting{
                Bugsnag:  BugsnagReporting{config.Reporting.Bugsnag.APIKey, config.Reporting.Bugsnag.ReleaseStage, config.Reporting.Bugsnag.Endpoint},
-               NewRelic: NewRelicReporting{config.Reporting.NewRelic.LicenseKey, config.Reporting.NewRelic.Name},
+               NewRelic: NewRelicReporting{config.Reporting.NewRelic.LicenseKey, config.Reporting.NewRelic.Name, config.Reporting.NewRelic.Verbose},
        }

        configCopy.Auth = Auth{config.Auth.Type(): Parameters{}}

I added that change into a pull request here: https://github.com/docker/distribution/pull/360


Adjust versions checks on node joins to allow hotfix version differences

On node joins, nodes with same major and minor version (so just
a different hotfix version number) should be allowed to join.
This will support running a cluster with nodes downgraded to a
different hotfix version number.

Shall we add a fix entry for that?

Shall we add a fix entry for that?

@mfussenegger pushed a changes entry.

@mfussenegger pushed a changes entry.


How to do after get clint id in config

hello, I need help and instruction from you hear am already create all the thing in dev Spotify I get the client id and some code also the thing is I didn't get what you explain in the config file setup 3 can you please what should I put in the config file

Hello. Everything you need to know is described in the README. Please read carefully and follow each step.
If you still need help, you have to provide more information from your config / your setup, otherwise I can not help you.

Hello. Everything you need to know is described in the README. Please read carefully and follow each step.
If you still need help, you have to provide more information from your config / your setup, otherwise I can not help you.

I'll close this for now. As mentioned: come back if you have more information and need more help.


Switch cases on same line

switch a {
| #a
| #b => 1
| #c => 2
}

Is reformatted as:
switch a {
| #a | #b => 1
| #c => 2
}

In some cases (like this) it might be fine, but when the cases get a little more complex it is more readable to have them on separate lines

The ReScript printer has a feature called "intelligent formatting"and looks at the original source code.

If the different cases are spread out over multiple lines, it will put them on multiple lines.
If they are on one line, it will keep them on one line.
Of course if the cases one line break the line width, they'll be put on multiple lines.

You can guide the formatter. Happy to re-open if there is a specific problem with this approach.

Ah yes that didn't work so it might be a more specific bug. Let me make a repro.

https://rescript-lang.org/try?code=M4dwlgLgxgFgBAYgIZwN4CgA+iVcQIzgF4A+OARjwSmLICZ0BfdIA
Try to reformat this in the playground (it will go from all on a new line to the first two cases on the same line).
Is this feature new such that it didn't land in the playground and in ReScript 8.3.3 yet?

It should be available in ReScript 8.3.3:

@ryyppy what version is the playground bundle running?

Ok. I thought it happened in my codebase -- might be a special case -- but now I cannot reproduce it anymore (forgot which exact location). Will keep an eye out if I see it happening again.
Yes, I think the playground is an old version. My earlier reproduction is working on the new version on my machine.

In the multi-line case it might be nice to have it formatted as
switch a {
| #a
| #b => 1

| #c => 2
}

to accentuate the grouping of #a and #b. What do you think?

Maybe, I have no issues with the current state. Perhaps the extra newline can be preserved if you'd like that style?

@cknitt this is already implemented =D
If you leave a newline between the cases, it will retain a newline:

If you don't have a newline, it won't print an extra newline.

Yes, and that's great, but I meant I would find enforcing this newline helpful, not just retaining it.

Oh enforcing :D Not sure if we can do that by default for everyone. The current scheme allows you to chose between the two versions yourself. This felt like the most "political" option… This can be revisited.

@IwanKaramazow You can always find the playground version in the Settings tab:

After the newest monorepo changes have landed, I will align the playground branch with a newer version and cut a release.


Add LICENSE

@OASIS-OP-Admin this is an issue to track a LICENSE assignment for this repo as well. The code here has the same set of constraints as in the SysML OSLC repo: EPL/EDL generated code plus original work by me.
@oslc-op/pgb and esp @axelreichwein: we are currently discussing BSD-3 (most likely) or Apache 2.0. There is a remote possibility to dual-license under EPL too but most likely it will require a bit too much hassle and won't be done unless requested.
@jamsden I moved the repo here given that following the discussion with Jamie and Chet we agreed licensing won't hinder work and that this repo shall be under OP anyway.

Licensed under Apache License v2.0.


[BUG] 404 status not working with dynamic routes

Describe the bug
Routes that don't exist and are matched by a catch all route render the NotFound component but return a 200 status.
This happens even if the response status is modified within the actual route component before even rendering the NotFound component.
The responses look identical when logged, but the actual status is different in the console and browser.
Static route that returns a 404 status:
HydrogenResponse [Response] {
  size: 0,
  timeout: 0,
  wait: false,
  sent: false,
  cacheOptions: { mode: 'public', maxAge: 1, staleWhileRevalidate: 9 },
  status: 404,
  statusText: 'Not found',
  url: 'http://localhost:3001/404',
  [Symbol(Body internals)]: { body: null, disturbed: false, error: null },
  [Symbol(Response internals)]: {
    url: undefined,
    status: 200,
    statusText: 'OK',
    headers: Headers { [Symbol(map)]: [Object: null prototype] },
    counter: undefined
  }
}

Dynamic route that returns a 200 status:
HydrogenResponse [Response] {
  size: 0,
  timeout: 0,
  wait: false,
  sent: true,
  cacheOptions: { mode: 'public', maxAge: 1, staleWhileRevalidate: 9 },
  status: 404,
  statusText: 'Not found',
  url: 'http://localhost:3001/collections/freestyle-404',
  [Symbol(Body internals)]: { body: null, disturbed: false, error: null },
  [Symbol(Response internals)]: {
    url: undefined,
    status: 200,
    statusText: 'OK',
    headers: Headers { [Symbol(map)]: [Object: null prototype] },
    counter: undefined
  }
}

To Reproduce

Navigate to https://www.hydrogen.shop/404
Notice 404 status
Navigate to https://www.hydrogen.shop/collections/freestyle-404
Notice 200 status

Expected behaviour
Dynamic routes that don't exist should return a 404 status.
Screenshots

Additional context
Add any other context about the problem here. eg.

Hydrogen version 1.5.0 and 1.6.0
Node version 16.18.0
Device details Linux Manjaro Sikaris 22.0.0

I've also just run into this issue.

We are also experiencing this bug.
A fix is quite important for stores which toggle product visibility frequently. Their SEO will be impacted.


Release notes tab does not zoom properly

VSCode Version: 1.6.1
OS Version: Windows 7

Steps to Reproduce:

Open up Release notes tab
Zoom some factor

The result is that the content pane's width and height are decreasing with each zoom level. E.g.

#5745


[Reverted TX related] Transactions will execute successfully when actual_fee > max_fee and will charge max_fee

Right now a transaction will not fail its execution when its fee exceeds the max_fee set by the user, and will charge this max_fee if the tx is of version > 0.
We'll need to charge max_fee before failing, and apply revert logic instead of making the function return an error.
Thanks to Fabijan from ShardLabs for reporting this!
This problem will be solved within different PRs:

[x] #892
[ ] #901
[x] #1003

This was already fixed


Support Google Sign and FaceBook Sign In

Supporting Google Sign and FaceBook Sign In for Octobase.
Have a Setting in Octobase Plugin to enable Facebook Sign in and enter facebook app id and secret and support social login API
Have a Setting in Octobase Plugin to enable Facebook Sign in and enter facebook app id and secret and support social login API

Fixed by me with Firebase Authentication


Plans for Localization Support?

Are there any plans on supporting localization of charactersheets?

What do you mean by localization?

Language-support (i18n)

We're expanding our language support to the main site. As for character sheets, thus far we've been allowing sheet authors to make different versions of the same/similar sheets in different languages. Since the sheets are community created, we don't have current plans to tie them into our site language project.

It could help a lot just to add the possibility to use bi-dimensional arrays. This way the original author could refer to the array keys, and the translatiors would only have to add new arrays for each idiom.

+1

i added a suggestion to allow even a resourcebundle file(s) per locale to be linked, so we could refer to that in the html for labels and text, and someone could make another locale bundle.
it would also require some ability to add a reference to the row in the file from spans and labels, if not just right in the innerhtml. (for options and textareas, for instance)


fix: Tabs from testing

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

I don't see a way to test tab collapse and icon only?

Drag the resize handle smaller on the Icons story with the isIconOnly control set to true

I don't see a way to test tab collapse and icon only?

Drag the resize handle smaller on the Icons story with the isIconOnly control set to true

On mobile the screen is wider than three iconOnly tabs so no collapse. Icon only it is currently the only story that isn't collapsed on mobile.
Retested and it's a little weird. Going to the story initially shows collapsed, set to icon only and it still shows tabs collapsed. Navigate away and come back and Tabs are no longer collapsed. Changing the prop appears to not trigger the resize observer, not sure it should, this seems like a testing only use case. With this weirdness it is possible see the icon only tabs with a picker that shows icons and text items, which is what we really care about and why I mentioned this.


RF [server] create stdout/stderr pipes directly from std::fs::File

Removes unsafe (and also Unix specific) into_raw_fd. Rust file handles can be directly put into command pipes since 1.20.0.

Thank you for contribution. If you have some spare time you can also replace this in src/governor/tasks/run.rs and src/governor/graph/executor.rs that contains the same pattern.

Thanks, I missed those (wrong grep). New PR is here: https://github.com/substantic/rain/pull/71.


Monokai syntax makes the theme look washed out

I've been using one-dark-ui 0.5.0 for a while now, because the newer versions look washed out, too light with Monokai. The contrast and brightness is ok with one-dark-syntax tough.
0.8.1 (current version):

0.5.0:

Currently the logic is like this: The UI around the editor is a bit darker than the background of the syntax theme. But if the background gets close to black, the UI inverts and gets brighter instead. 0.5.0 stays dark no matter.
So maybe the threshold could be lowered a bit.

In the next update, Monokai should look like this:


kore-repl log options not working

The logging command-line options should also work with kore-repl. We should investigate which options don't work and fix them.

What I've noticed so far by playing with the integration test kprove/sum-spec.k:
If I run kore-repl with the flags --log-level debug --disable-log-timestamps --debug-equation _+Int_  it starts by showing messages like
kore-repl: Debug (DebugSolverSend):
    (DebugEvaluateCondition) while evaluating predicate:
    (check-sat )
kore-repl: Debug (DebugSolverRecv):
    (DebugEvaluateCondition) while evaluating predicate:
    sat

so the first two flags seems to work.
However, the last one doesn't make any difference until the end of the proof. But if I set the state :: ReplState -> koreLogOptions ->debugEquationOptions to contain the identifier _+Int_, the first step of the proof also shows messages like
kore-repl: [2020-06-11 14:08:06.287646672] Debug (DebugAttemptEquation):
    (InfoReachability) While checking implication of the proof goal:
    equation is not applicable:
    could not apply match result:
        variable VarI did not match a concrete term

Note the timestamps are no longer disabled.
I'm thinking about setting the state :: ReplState to have the KoreLogOptions provided by the user instead of the default values.

I'm thinking about setting the state :: ReplState to have the KoreLogOptions provided by the user instead of the default values.

I agree, this field should be initialized with the values on the command line.


How to generate base_map.txt from base_map.xml

Hi Guys,
Is there a way to generate base_map.txt file from base_map.xml file?
Thank you,
KK

There is a tool for doing this  provided in apollo which is: modules/map/tools/proto_map_generator, you need to build it first, then run the programm with parameters which specify the base_map directory.

@hzdsdhr Thanks for the response. I will check and update you if any queries.

@hzdsdhr by building you mean running apollo.sh build? I assume there should be an executable to which I should pass the file location, but I don't know how to get it. I tried compiling it with gcc but I didn't work.

@SanduIrina if you excute bash apollo.sh build ,if would automatically build that code,and you cd into the bazel-bin folder,you could fine the binary file.then you run it with parameter: map_dir and out_dir,it would success generate a base_map.txt and a base_map.bin to the out_put folder.

@gengqx .. I hope you are referring to the below link https://github.com/ApolloAuto/apollo/tree/master/modules/map/data where generation of bin files for map is explained.
I am yet to try the method mentioned by @hzdsdhr to convert txt to xml. Will update here once I give a try.
Thank you.

@kk2491 were you able to convert txt to xml?

Hi, I tried to to run proto_map_generator on the sample map file in modules/maps/data/sunnyvale_loop, but I am getting the following error.
E0220 16:08:43.812430 10062 opendrive_adapter.cc:52] [] fail to parse opendrive road, Error parse road sample associations
F0220 16:08:43.986624 10062 proto_map_generator.cc:39] Check failed: apollo::hdmap::adapter::OpendriveAdapter::LoadData(map_filename, &pb_map) fail to load data from : /apollo/modules/maps/data/sunnyvale_loop/base_map.xml

@tlin051 I just tried, and it looks like it is not able to read the xml file. Probably those files are hidden as it gets from the docker.
I have tried copying the xml file to different directory and but it was not successful.

@kk2491 thanks for trying it out. Did you get similar errors as I did?
You mentioned you were successful in converting the base_map.xml to base_map.txt in your previous comment. Was this referring to your own custom map or any of the example maps provided by Apollo?

@kk2491 thanks for trying it out. Did you get similar errors as I did?
You mentioned you were successful in converting the base_map.xml to base_map.txt in your previous comment. Was this referring to your own custom map or any of the example maps provided by Apollo?

@tlin051 Yes, I got the similar errors.
I was referring to the custom map.

@natashadsouza Yes, I was able to convert the base_map.xml to base_map.txt file using proto_map_generator tool.
/apollo$ bazel-bin/modules/map/tools/proto_map_generator --map_dir=/apollo/modules/map/data/map_input_folder --output_dir=/apollo/modules/map/data/map_output_folder

Just curious to know is there a tool to do the reverse conversion ? i.e from base_map.txt to base_map.xml
Thank you,
KK

Any update on this ?

@kk2491 we do not provide a tool for conversion from .text to .xml

Thanks for the confirmation. We can close the issue.

hi all
How to generate base_map.bin from base_map.txt??


feat(FN-1685): add accrual currency and fx to spreadsheet

Introduction :pencil2:
We need to read accrual currency and exchange rate to spreadsheet
Resolution :heavy_check_mark:
Read and validate accrual currency and exchange rate in portal and central API

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

:exclamation: No coverage uploaded for pull request base (main-stbr@7489b0b). Click here to learn what that means.

Additional details and impacted files
@@             Coverage Diff              @@
##             main-stbr    #2455   +/-   ##
============================================
  Coverage             ?   25.54%
============================================
  Files                ?     1097
  Lines                ?    27024
  Branches             ?     4295
============================================
  Hits                 ?     6903
  Misses               ?    17554
  Partials             ?     2567

Flag
Coverage Δ

ui-test
64.24% <0.00%> (?)

unit-test
7.23% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Google chart resizes once edited

Google chart resizes if you edit it using the built in option
for example in this demo:
https://pivottable.js.org/examples/gchart.html
double click on the chart and change the title
once saved, the chart is resized and is smaller, is that an expected behaviour? can it be prevented?

Unfortunately there's not much I can say about what Google Charts' editor does to the chart, you'll have to look for help from them... Once PivotTable.js hands over control to their code it's out of my hands :)

@nicolaskruchten
do you know why this issue is happening?
I Googled the issue but no one seems to have this problem with Google Charts
even on Google example itself:
https://developers.google.com/chart/interactive/docs/reference#example_7
whenever you have time, can you please look at it and give me some hints on how to fix it
thanks

I don't know why it's happening, no... Also, just to set expectations: I probably will not be looking into this too too much, as I moved from primarily supporting Google Charts to favouring C3js and now as a Plotly employee that's where I'm putting most of my energy.


Incorrect unresolved mark::hit!

Spotted in crates/hir_def/src/nameres/path_resolution.rs:

We emit the diagnostic, but hover and go to definition actually work.

We actually point to _hit, of which hit which is a re-export:
pub use _hit as hit;

But it works in the same file line 66 ?!

It also works if you add in another call:

I think we might need an A-nameres label.

Caused by https://github.com/rust-analyzer/rust-analyzer/pull/7506
Fixed by https://github.com/rust-analyzer/rust-analyzer/pull/7516
It only happens in blocks whose parents contain no macro invocations or inner items because of the optimization added in https://github.com/rust-analyzer/rust-analyzer/pull/7506/commits/b4aa860cac98d69fe4e38602904a6e9e6569e5a6.
I was not able to derive a test case, even though this is very easy to reproduce in-editor:
macro_rules! m {
    () => {};
}

fn f() {
    {
        m!(a);
    }
}

(this is from Zulip here: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/BlockDefMap/near/224746034)

Verified fixed. Do you want to keep this open while you figure why it works in a test?

I'd also be fine with closing this. It will only become relevant when the user-facing body_def_map changes (finally) land.


Push notifications | Swift3

This is simply the Push Notification work updated for Swift3
@jeffreybozek

Close in-favor of #4


git-server: add support for project alias

Closes https://github.com/radicle-dev/radicle-client-services/issues/72

re listening for new projects, I think we can standardize the alias format (e.g. ending in ".git") and re-fill our mapping on cache misses. We don't expect to get too many misses anyway, and standardizing format helps us only focus on cases that matter, so we should get good performance.
I can add this in, if it's a go.

re listening for new projects, I think we can standardize the alias format (e.g. ending in ".git") and re-fill our mapping on cache misses. We don't expect to get too many misses anyway, and standardizing format helps us only focus on cases that matter, so we should get good performance.
I can add this in, if it's a go.

Hmm, the thing is I'd like .git to be allowed for project IDs but required for aliases. So how about this:
if path ends with ".git" {
  if path is a valid project id {
     lookup project
  } else {
    lookup alias
  }
} else {
  lookup project
}

Hmm, the thing is I'd like .git to be allowed for project IDs but required for aliases. So how about this:
if path ends with ".git" {
  if path is a valid project id {
    lookup project
  } else {
    lookup alias
  }
} else {
  lookup project
}

<project-id> -> OK <project-id>.git -> OK <alias>.git -> -> OK <alias> -> ERROR
The only case where this fails if you use another project's id as your project name, which I don't see why anyone would do laughing

This should be okay now with https://github.com/radicle-dev/radicle-client-services/pull/74/commits/3f5776a431cd2377d9749cc333a8196110d47858.
And if the remote is set to http://localhost:8778/hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo.git we just redirect it to hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo.
Though, I noticed non-existant aliases, trigger 3 updates:
Nov 30 12:54:49.807  INFO radicle_git_server: version 0.1.0-8e795c8
Nov 30 12:54:49.923  INFO radicle_git_server: alias "delete-this.git" for "hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo"
Nov 30 12:54:50.084  INFO radicle_git_server: git version 2.28.0
Nov 30 12:54:50.088  INFO Server::run{addr=<IP_ADDRESS>:8778}: warp::server: listening on http://<IP_ADDRESS>:8778
doesnt exist... rebuilding cache
Nov 30 12:54:51.583  INFO radicle_git_server: alias "delete-this.git" for "hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo"
rebuilt cache
Nov 30 12:54:51.585 ERROR radicle_git_server: unauthorized
Nov 30 12:54:51.586  INFO radicle_git_server: <IP_ADDRESS>:50776 "GET /delete-this2.git/info/refs HTTP/1.1" 401 "-" "git/2.28.0" 6.724034ms
doesnt exist... rebuilding cache
Nov 30 12:54:53.091  INFO radicle_git_server: alias "delete-this.git" for "hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo"
rebuilt cache
Nov 30 12:54:53.415  INFO radicle_git_server: <IP_ADDRESS>:50776 "GET /delete-this2.git/info/refs HTTP/1.1" 200 "-" "git/2.28.0" 340.153381ms
doesnt exist... rebuilding cache
Nov 30 12:54:53.768  INFO radicle_git_server: alias "delete-this.git" for "hnrkyfoxs5xp45wg1p8q3dkh74qyebqaeunqo"
rebuilt cache
Nov 30 12:54:54.267  INFO radicle_git_server: <IP_ADDRESS>:50776 "POST /delete-this2.git/git-receive-pack HTTP/1.1" 200 "-" "git/2.28.0" 513.537247ms

Twice on /info/refs, once before authentication and once after. And on /git-receive-pack. This should however be ok for now.

run cargo clippy --all to fix the lint


use an option for output format, rather than keyboard input

$ ontodocs -o ontology --theme readable model/ebg-ontology.ttl
OntoDocs v1.2 (OntoSpy v1.9)
------------
Please choose an output format for the ontology visualization: (q=quit)

1) Html: single-page
2) Html: multi-page
3) Markdown: multi-page
4) D3 Dendogram

It's much  better to control the output through a command-line option, rather than keyboard input. Guess I could do this, but it's a round-about way.
echo 2 | ontodocs -o ontology --theme readable model/ebg-ontology.ttl

I've added a --type option in the latest ontospy (version 1.9.8)
ontospy gendocs
Ontospy v1.9.8
Usage: ontospy gendocs [OPTIONS] [SOURCE]...

  GENDOCS: generate documentation in html or markdown format.

Options:
  -o, --outputpath TEXT  OUTPUT-PATH: where to save the visualization files
                         (default: home folder).
  -x, --extra            EXTRA-DATA: extract implicit types and predicates
                         using basic inference rules. Note: by default ontospy
                         extracts only classes/properties which are explictly
                         declared.
  --type TEXT            VIZ-TYPE: specify which viz type to use as an integer
                         (eg 1=single-page html, 2=multi-page etc..).
  --title TEXT           TITLE: custom title for the visualization
                         (default=graph uri).
  --theme TEXT           THEME: bootstrap css style for the html-multi-page
                         visualization (random=use a random theme).
  --lib                  LIBRARY: choose an ontology from the local library.
  --showtypes            SHOW-TYPES: show the available visualization types.
  --showthemes           SHOW-THEMES: show the available css theme choices.
  -h, --help             Show this message and exit.

That shoud do it!


Add missing version to no/lessons/basics/mix-tasks.md

This is the only file that is missing the version,
the other one is pl/lessons/advanced/protocols.md but I think the file should be
removed because it has not been translated yet (therefore
https://github.com/doomspork/elixir-school/pull/1120 )
I can assume this is version 1.0.0 since the original file was last modified by
commit 90a6f631255516973b81c8164084e37f467aa101
Author: Oleksandr Rozumii<EMAIL_ADDRESS>Date:   Sat Oct 8 23:43:43 2016 +0300
Minor improvements all over the basic lessons (#709)
and this Norwegian translation dates from
commit 3b04fdd380655619fab80a36ab7068076de965ba
Author: Robin Saleh-Jan<EMAIL_ADDRESS>Date:   Tue Mar 21 23:19:47 2017 +0100
[NO]: Translate mix task lesson (#1022)

Thank you @eksperimental 😁


cipher list in hyperglass still an issue

in reference to https://github.com/checktheroads/hyperglass/issues/108
I just recently had a chance to upgrade and it is still a issue on .79

Ok, thanks. Remind me - this issue occurs with your IOS-XR devices, correct? I apologize if you've already answered this, but are there any "non-default" SSH-related settings on those routers that I can add to my virtual XR appliance to reproduce? Also, what version of IOS-XR?
Thanks!

@astlaurent - can you test this on v1.0.0-beta.82 (available shortly, pending CI build completion)? If it doesn't work out of the box on 82, try setting the new option on the device driver: netmiko - while not ideal, it's a sledgehammer approach to at least rule out differences in drivers.

Also seem to have the same issue on MikroTik Devices if that helps. I have a key manually specified in devices.yaml that lives in the /etc/hyperglass folder for now.
[CRITICAL] 20210425 02:55:04 | hyperglass.exceptions:40 | __init__ → [DANGER] Error connecting to RB4011: Request timed out.
Exception in callback Loop._read_from_self
handle: <Handle Loop._read_from_self>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 73, in uvloop.loop.Handle._run
  File "uvloop/loop.pyx", line 359, in uvloop.loop.Loop._read_from_self
  File "uvloop/loop.pyx", line 364, in uvloop.loop.Loop._invoke_signals
  File "uvloop/loop.pyx", line 339, in uvloop.loop.Loop._ceval_process_signals
  File "/usr/local/lib/python3.8/dist-packages/hyperglass/execution/main.py", line 34, in handler
    raise DeviceTimeout(**exc_args)
hyperglass.exceptions.DeviceTimeout: Error connecting to RB4011: Request timed out.

| Metric | Value |
| ------ | ----- |
| **hyperglass Version** | **1.0.0-beta.81** |
| **hyperglass Path** | `None` |
| **Python Version** | `3.8.5` |
| **Platform Info** | `Linux-5.4.0-72-generic-x86_64-with-glibc2.29` |
| **CPU Info** | Common KVM processor |
| **Logical Cores** | `4` |
| **Physical Cores** | `4` |
| **Processor Speed** | 2.659998GHz |
| **Total Memory** | 8.35 GB |
| **Memory Utilization** | 8.9% |
| **Total Disk Space** | 21.0 GB |
| **Disk Utilization** | 39.4% |

I  can also try .82 once it's out.

Same issue on .82, and also tried setting driver to netmiko. Same error.

@bile0026 - so, just to be clear, you saw the same issue that @astlaurent had prior to beta82, but you no longer have the issue on beta82? @astlaurent - have you had a chance to test this out? This seemed kinda specific to IOS-XR, even down to specific versions of XR, so I'd like to make sure it's truly resolved before closing.

@bile0026 - so, just to be clear, you saw the same issue that @astlaurent had prior to beta82, but you no longer have the issue on beta82? @astlaurent - have you had a chance to test this out? This seemed kinda specific to IOS-XR, even down to specific versions of XR, so I'd like to make sure it's truly resolved before closing.

That is correct, issue went away after beta82. I tested on MikroTik though, not IOS-XR.


[EN DateTimeV2] Add support for cases like "Every other Friday"

Support for cases like "Every other Friday".
The problem: "Every other Friday" was recognized as "Friday".
Changes as below:

Match "WeekDay" after "every other"

Add "every other" as SetEachRegex

 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.:x: CcKeima sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

It will be same as "Every Friday" like this:

@CcKeima, the build is failing in Python. Such new test cases don't pass. You can disable the test cases in Python only by marking them "NotSupported" : "python", in case you can't fix the issue.

I think it because DateTimeModel's result is not allow upper case letters.


Write spec for BakeFootnotes

Uh oops, already wrote these specs a while ago

Uh oops, already wrote these specs a while ago


fix: pre-box pages in bitbox sync

Previously, we were building a Vec<(BucketIndex, Page)>. This allocated over a page of memory for each item. Then, when we iterated over it, we were boxing each page, allocating a second page of memory for each item, essentially doubling the resident memory usage during bitbox sync. This caused OOM with commits that should have taken "only" 50% of the system memory.
That said, this still isn't the "end-state". There are still a lot of unnecessary copies that are going to slow us down. View this as a quick fix for the moment.

#309  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite


Is it possible to link a resources created in appsync to Amplify graphql api

Which Category is your question related to?
Amplify graphql Api
Amplify CLI Version
4.52.0
Considering that it may be necessary to restore a DynamoDB table.
Is it possible after adding the table as a data source on appsync to automatically down the schema to Amplify API through schema.graphql

Hi @mlafo
Do you mean to use an external Appsync Api created through Console in your amplify App?
If yes, This documentation can help you with this: https://docs.amplify.aws/lib/graphqlapi/create-or-re-use-existing-backend/q/platform/js#re-use-existing-appsync-graphql-api

Sorry it's not my user case.
I'am seeking a way to link an existing dynamoDb Table to Amplify graphql API.
Into Appsync I can add my table as a data source. It builds resolvers for GraphQL and the appsync schema works.
But i would like to have this schema up to date in my local schema.graphql file. After an "Amplify env --restor" cmd that won't work, If i write the input
Obviously it has something to do with the CloudFormation process behind the Amplify CLI.

OK, I have found a solution.
In my exemple the table i wanted to link is named 'myTable'
I create a new @model Type in my local schema.graphql named with 'myDefinitiveTypeName' with goods attributes.
I push the api : amplify api push
Then Apsync is updated and create a new dynamoDb table 'myDefinitiveTypeName' with env informations in the name if needed.
I remove 'myDefinitiveTypeName'
I backup  'myTable'
I restore 'myTable' under 'myDefinitiveTypeName'
And it works !

Hi @mlafo
Currently Amplify doesnt support this usecase.
Glad to know this workaround works , but I am not sure if you will be able to make any updates to this via CLI as you have made changes through appsync console which can cause drift in CFN.

Hi @akshbhu
It seems that updates, like adding attributes, in the @model Type in the schema.graphql work fine.
No error appear during an amplify api push. No problem either with GraphQl requests.
Pretty good for now.


[BUG] {'Fatal error on MSS CPU: trap: 09, address: 80220C2C' '0'}

Hello! I have some issues with depthai pro camera when work with ROS noetic package installed throw apt install. Camera connected to PC on ubuntu and I run it with ros:
roslaunch depthai_ros_driver camera.launch
After some time it stops send any data. It can be some seconds or minutes. Also I use original cable. Here is log:
[1844301031183B1300] [3.1] [40.283] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 80220C2C' '0'
List of available topics:
/oak/imu/data
/oak/nn/detections
/oak/parameter_descriptions
/oak/parameter_updates
/oak/rgb/camera_info
/oak/rgb/image_raw
/oak/rgb/image_raw/compressed
/oak/rgb/image_raw/compressed/parameter_descriptions
/oak/rgb/image_raw/compressed/parameter_updates
/oak/rgb/image_raw/compressedDepth
/oak/rgb/image_raw/compressedDepth/parameter_descriptions
/oak/rgb/image_raw/compressedDepth/parameter_updates
/oak/rgb/image_raw/theora
/oak/rgb/image_raw/theora/parameter_descriptions
/oak/rgb/image_raw/theora/parameter_updates
/oak/stereo/camera_info
/oak/stereo/image_raw
/oak/stereo/image_raw/compressed
/oak/stereo/image_raw/compressed/parameter_descriptions
/oak/stereo/image_raw/compressed/parameter_updates
/oak/stereo/image_raw/compressedDepth
/oak/stereo/image_raw/compressedDepth/parameter_descriptions
/oak/stereo/image_raw/compressedDepth/parameter_updates
/oak/stereo/image_raw/theora
/oak/stereo/image_raw/theora/parameter_descriptions
/oak/stereo/image_raw/theora/parameter_updates
/oak_nodelet_manager/bond

Also list of services:
/oak/get_loggers
/oak/rgb/image_raw/compressed/set_parameters
/oak/rgb/image_raw/compressedDepth/set_parameters
/oak/rgb/image_raw/theora/set_parameters
/oak/rgb/set_camera_info
/oak/set_logger_level
/oak/set_parameters
/oak/start_camera
/oak/stereo/image_raw/compressed/set_parameters
/oak/stereo/image_raw/compressedDepth/set_parameters
/oak/stereo/image_raw/theora/set_parameters
/oak/stereo/set_camera_info
/oak/stop_camera
/oak_nodelet_manager/get_loggers
/oak_nodelet_manager/list
/oak_nodelet_manager/load_nodelet
/oak_nodelet_manager/set_logger_level
/oak_nodelet_manager/unload_nodelet
/oak_state_publisher/get_loggers
/oak_state_publisher/set_logger_level

Hi @AlexTiniakov , seems like a depthai pipeline issue, could you please provide MRE?
Thanks, Erik

Closing due to inactivity, please reopen if there are still questions.


Remove registry/auth helper methods from the DockerCLI object

The last of the DockerCLI cleanup (#26443, #26107)

replaced the functions in cli/command/credentials.go with a DockerCLI.CredentialsStore() and using the CredentialsStore methods directly.
moved the auth methods in registry.go to functions. They are all used across a few of the command packages so it didn't seem worth it to move them into a different package yet.  Eventually it would probably be nice to have these as part of the client/ package.

Now the DockerCli struct only has 6 methods which are the "context" for all the cli commands.

LGTM 🐸

LGTM


[DOC] Fix format issue in the document of mxnet.gluon.contrib.estimator.GradientUpdateHandler

Description
Fix format issue in the document of mxnet.gluon.contrib.estimator.GradientUpdateHandler, as mentioned in https://github.com/apache/incubator-mxnet/issues/19773.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[x] Delete the incorrect content in the document to fix the format issue.

@mxnet-bot run ci [unix-gpu, centos-gpu]


Update README.md

新增 Redmi k50 测试

It appears that the markdown table is not being handled correctly.


Make bootstrap nodes configurable.

Would be great if we can use custom bootstrap nodes, not public.

@miolini , your opinion? I think that's cool feature!

@yanzay SGTM. But merge conflicts first.

@gen1us2k how is it? )

@miolini conflicts resolved, is it ok now?

@yanzay yes


Icons for VScript types

seems good, the only one I failed to recognize at first sight was AABB
maybe as
a  b ?
a  b

as in, reads as baba to me :P

@reduz
this is the best i can do:

the problem is the space, if  only i had 4px more

it should be fine, i don't think it's a datatype that appears often anyway
On Wed, Aug 10, 2016 at 7:03 PM, Daniel Ramirez<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz
this is the best i can do:
[image: screenshot from 2016-08-10 17-02-28]
https://cloud.githubusercontent.com/assets/1103897/17572840/47fe1546-5f1c-11e6-8edc-ede73e062ce5.png
the problem is the space, if only i had 4px more
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/6108#issuecomment-239018933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z254NicmkoPtxtuqbYMFAxPk-7bDCks5qekq0gaJpZM4JhlwC
.

okay then i will use the second option