text:
添加版权问题的歌曲到歌单的一种解决思路

我认为对于网易云没有音源的音乐也可以收藏
可以尝试将音乐下载到本地，然后转存到音乐云盘，再添加到歌单。
我不太了解现在已知的api是否有写入音乐云盘，如果可以的话希望开发者可以实现一键完成以上操作的功能（小红心+添加到歌单）。

这不会造成侵权问题吗

网易云的音乐云盘是可以上传歌曲的，也可以添加到播放列表，这两个功能本来是网易云的正常功能。
如果把本软件的其他音源上传，在网易云看来，其实相当于将其他平台上的音乐上传到音乐云盘
对于音乐云盘，我的理解是：对网易来说，他只提供了一个存储媒介，而且这个存储媒介不能传播（不能通过网易分享给他人），那么就可以把它视作个人U盘，U盘制造商当然不用为了你拿来存放违法资料而负责，真正违法的是下载违法数据，和制作违法数据的人。
综上所述，对于本软件来说：

** 假如音源是正版 **，且将其放到不能传播的音乐云盘中不侵权。

假如调用别的软件的api，且** 制作第三方客户端 **不构成侵权。
以上假设如果成立，我认为就不侵权。如果假设不成立，那么即使没有这个功能，也构成侵权，不会因为加入了这个功能发生任何变化。


text:
ENH: demux-single

~Depends on https://github.com/qiime2/q2-types/pull/163~

TODO:

[x] Update plugin description as per @nbokulich's suggestion
[x] Add some additional edge-case tests (all reads match; no reads match). These shouldn't be a big deal, since the FastqGzFormat supports empty files already, so no special handling is required.
[ ] Remove visualization? I discussed this viz with @ebolyen and he pointed out that it is probably of limited utility (and can potentially be huge - it will be at least as big as the input sequences themselves)

Thanks @nbokulich --- we definitely have a bit of a dichotomy when it comes to plugins --- we either have topic-specific plugins (e.g. q2-sample-classifier, q2-diversity) vs. tool-specific plugins (e.g. q2-dada2, q2-vsearch). I am fine with it in either plugin (q2-cutadapt vs q2-demux), but to me it felt like it made more sense in the q2-cutadapt plugin.
@gregcaporaso, @ebolyen, @jairideout, care to comment on this?

I also think it makes sense to keep this in cutadapt with a possible alias at some point in the future.

source: gharchive/pull-request

authors: gregcaporaso thermokarst

license_type: permissive

license_source: github-api


text:
transformer for OrdinationFormat --> metadata

This would be useful to use principal coordinates (or other ordination results) as input metadata. I am working on some methods that could employ this, e.g., to test whether samples change over PC1 before/after treatment.
The transformation of OrdinationFormat --> pd.DataFrame can be achieved with something like this (in a jupyter notebook, at least. I suppose the first line might be unnecessary in a transformer):
beta_div = beta_div.view(skbio.OrdinationResults)
beta_div = beta_div.samples.loc[:, 0:2]
beta_div.columns = ['unweighted-unifrac-pc1', 'unweighted-unifrac-pc2', 'unweighted-unifrac-pc3']

and then I assume the beta_div DataFrame can be converted to metadata with
qiime2.Metadata(beta_div)

I would find this extremely useful — any interest?

It would be qiime2.Metadata.from_artifact(beta_div) (if you wanted to preserve provenance), but yeah!
We're about to write a whole ton of transformers for FeatureData[...], I don't see why this couldn't be added to the list.
@ElDeveloper, does this kind of view make sense to you?

Duplicate of #122, moving discussion into there.

source: gharchive/issue

authors: ebolyen nbokulich thermokarst

license_source: bigquery


text:
ENH: Adds full Numpydoc-compliant docstring to Actions

Previously, calling ? on a QIIME 2 Action (merge_mappings) yielded the following call docstring:

There could be much more information in this docstring, so I have added functionality which creates a full Numpydoc-compliant docstring for any QIIME 2 Method. Calling ? on the Action now yields:

@jairideout
fixes #280

@ebolyen, that last testcase has been added, ready for review

@Kleptobismol: can you please take a look at the failing Travis builds?

in the process of fixing @thermokarst

There is something very weird occurring with this PR, which only occurs when I test the docs of the method params_only_method.

@Kleptobismol, I am not super familiar with this code, but it looks like this isn't working because your aren't checking the docstring on the wrapped method, just the vanilla import. Take a look at this line, where you are pulling in a visualizer through the plugin API.
params_only_method = self.plugin.methods['params_only_method']
params_only = params_only_method.__call__.__doc__
self.assertEqual(exp_params_only, params_only)

I am not sure if this is the correct way to go about this, just an idea.

@ebolyen ready for review

@ebolyen ready for final pass

Thanks @Kleptobismol :tada:

authors: Kleptobismol ebolyen thermokarst


text:
add template for MCM/ICM

Repo URL: https://github.com/DawnEver/mcm-icm-typst-template

Thanks for the awesome contribution @DawnEver !

authors: DawnEver qjcg

repo: qjcg/awesome-typst


text:
Add Detypify

Repo URL: https://github.com/QuarticCat/detypify

Any progress?

Thanks for the awesome contribution @QuarticCat !

authors: QuarticCat qjcg


text:
notes inside symbols can not be hidden when export spec

notes should be hidden except hover on the numbers.
测试备注放在symbol没有隐藏.zip

Good point. You can hide it manually hide notes before next version released.

authors: linlinlincom qjebbs

repo: qjebbs/sketch-meaxure

license: MIT


text:
ServerSideExtension.dll' could not be found

Description
I have this error when I try to build the program:
ServerSideExtension.dll' could not be found
Can you please advise ?
Thank you
[Description of the issue]
Steps to Reproduce

[Step one]
[Step two]
...

Expected behavior
[What you expected to happen]
Actual behavior
[What actually happened]
Environment
Operating system where the SSE plugin is deployed
[ ] Windows
[ ] Linux

Qlik Sense
[ ] Desktop
[ ] Server

Versions

sse-r-plugin:
Qlik Sense:
Operating system:
[Other relevant versions]

Hi,
Have you built/rebuilt the entire solution (containing two projects where the first is generating the dll)?
If you have, then you may check out the following conversation where a fix was made to ignore white spaces in paths (fixed on master): https://github.com/qlik-oss/sse-r-plugin/issues/16

Hi,
Yes I built/rebuilt the entire solution  , tried to Restore Nuget Packages, tried single startup project and multiple startup projects, but always same error:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0006	Metadata file 'C:\sse-r-plugin-master\csharp\ServerSideExtension\bin\Debug\ServerSideExtension.dll' could not be found	SSEtoRserve	C:\sse-r-plugin-master\csharp\SSEtoRserve\CSC	1	Active
I am using Visual Studio Express 2015 and Windows 7.
Any suggestions ?
Regards,

Ok, seems like it should work. We have never tested to compile in VS Express, just VS 2015 and 2017.
Can you try to run the following bat file manually from a cmd prompt: csharp\ServerSideExtension\generate_SSE_Stubs_from_proto.bat
Does that work?
It is called from the ServerSideExtension project as a pre-build step.

authors: Mbencheikh tobiaslindulf

repo: qlik-oss/sse-r-plugin


text:
Test Issue - spopo

Test Body - nunemogytm

Test Comment - jjhir

repo: qlikqaa/dummyrepo


text:
Test Issue - xfsnj

Test Body - fjphhcyvcx

Test Comment - vnbmg


text:
Test Issue - ztdze

Test Body - bsjltptoxp

Test Comment - iiqfw


text:
Test Issue - hbjxd

Test Body - crqsdoqkoz

Test Comment - zyxqm


text:
Test Issue - mgvqe

Test Body - hgfqeaxfap

Test Comment - ybhkh


text:
Test Issue - lnyzu

Test Body - xaaedyjhzl

Test Comment - indeg


text:
Test Issue - dkqlv

Test Body - uaxakrnych

Test Comment - yvdbu


text:
Test Issue - jxvdb

Test Body - puubsbwkls

Test Comment - bjgff


text:
Test Issue - xhngk

Test Body - bcesinamaj

Test Comment - mviev


text:
Test Issue - hfoyr

Test Body - reocxnsajc

Test Comment - yrzdg


text:
Test Issue - pzztm

Test Body - enjldshpud

Test Comment - erxvh


text:
Test Issue - hzebr

Test Body - xkrjvxdxst

Test Comment - zpefi


text:
Test Issue - dgzqv

Test Body - tfxianfedz

Test Comment - xitbm


text:
Test Issue - riard

Test Body - dvbyansxpk

Test Comment - hssde


text:
Test Issue - rvjeo

Test Body - pjprpidneh

Test Comment - hjbqq


text:
Test Issue - nohip

Test Body - yjdnjpsrph

Test Comment - jdrdb


text:
Test Issue - rwebn

Test Body - dclhpseobv

Test Comment - ogqwa


text:
Test Issue - ihnqu

Test Body - enhoguclik

Test Comment - fhqre


text:
Test Issue - btlxs

Test Body - vzhlzpxbfn

Test Comment - dbqhk


text:
Test Issue - hiumi

Test Body - mouqjjaqna

Test Comment - wrzkm


text:
Test Issue - wybee

Test Body - dwdxrjktwl

Test Comment - mcbvo


text:
Test Issue - pysfr

Test Body - yftqjpbuvr

Test Comment - wfgyi


text:
Test Issue - iuzbd

Test Body - hrdqssvlgw

Test Comment - apitq


text:
Test Issue - gyedv

Test Body - lmxjepdhjs

Test Comment - ohuji


text:
cannot reproduce official binaries

reload4j has near full Reproducible Build: https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/ch/qos/reload4j/README.md
but there is only one strange difference:
├── META-INF/MANIFEST.MF
│ @@ -2,15 +2,14 @@

│  Implementation-Vendor: QOS.CH Sarl (Switzerland)

│ -Originally-Created-By: Apache Maven Bundle Plugin 5.1.4

│  Export-Package: org.apache.log4j;version="1.2.22";uses:="org.apache.lo

how was this Originally-Created-By field injected in published binaries?
Should the rebuild script do more than just mvn package to get this field injected? (I did not see any profile for that in project's pom.xml)

Hi @hboutemy,
Thank you for your message. I love the idea of https://github.com/jvm-repo-rebuild/reproducible-central.
There is the maven-bundle-plugin declaration on line 297 of relaod4j/pom.xml. Have you noticed that?

how was this Originally-Created-By field injected in published binaries?

The following command is invoked command to deploy artifacts on Maven Central:
mvn deploy -P javadocjar,sign-artifacts
I noticed the toolchains profile but I do no think it is used at all.

I love the idea of https://github.com/jvm-repo-rebuild/reproducible-central.

thank you, it's a huge work, I'm happy that you find it useful

The following command is invoked command to deploy artifacts on Maven Central:
mvn deploy -P javadocjar,sign-artifacts

oh, I now understand: you run mvn twice = once to build initially, once to deploy
and bundle plugin modifies the output on the second run...
ok, I think I'll be able to tweak my rebuild script to do that double mvn invocation process
in the future, I suggest you to clean first when deploying = mvn clean deploy -P javadocjar,sign-artifacts

woohoo, now I am able to reproduce release 1.2.22!
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/ch/qos/reload4j/README.md

I am very happy to hear that. Awesome news.

authors: ceki hboutemy


text:
first python file

Lab 02

Nice to see your pushes!
Keep it up!


text:
🛑 La Mejor Tele is down

In c67faab, La Mejor Tele (https://www.lamejortele.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Mejor Tele is back up in 5fd9ae1.

repo: qtekfun/upptime


text:
Playing local files on spotify causes knobby to enter a bootloop until skipped

I have some music that isn't on spotify so I have to manually import it as mp3 files. They don't have any metadata or anything so on spotify's end all that's available is the song name and there's no artist/album info (confirmed this with my openhab instance). Here's a serial log from when it crashes.
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:3672
load:0x40078000,len:12592
ho 0 tail 12 room 4
load:0x40080400,len:3652
entry 0x400805f8

[E][esp32-hal-cpu.c:125] removeApbChangeCallback(): not found func=400EDAE4 arg=3FFBB144

    _                 _     _              |
                                               | |               | |   | |             |
                                                                                | |  _ ____   ___ | |__ | |__  _   _    |
                                                                                | |_/ )  _ \ /
_ \|  _ \|  _ \| | | |   |   built Nov 14 2021 18:37:31
                                                          |  _ (| | | | |_| | |_) ) |_) ) |_| |   |   git version bd587af-dirty
                                                                                |_| \_)_| |_|\___/|_
___/|____/ \__  |   |   esp-idf 4.0.1
                                                                      (____/    |
                                                                                by milo winningham                     |
                                                                                https://knobby.quadul
e.com             |
                                                              |
                                                               ___________________________________________|____________________________________

                                                                                [I][mai
n.cpp:118] setup(): Connecting to saved wifi SSID: <wifi name>...
[I][ArduinoOTA.cpp:130] begin(): OTA server at: knobby.local:3232
[I][main.cpp:396] loop(): [2711] Connected to wifi with IP address 192.168.1.125
[I][main.cpp:1840] spotifyGetToken(): [2712] POST /api/token
[E][ssl_client.cpp:36] _handle_error(): [data_to_read():273]: (-76) UNKNOWN ERROR CODE (004C)
[I][main.cpp:1777] spotifyApiRequest(): [4421] GET /v1/me/player?market=from_token
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x4000127a  PS      : 0x00060b30  A0      : 0x800da25f  A1      : 0x3ffe2af0
A2      : 0x50000138  A3      : 0x00000000  A4      : 0x00000016  A5      : 0x00001539
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x00000000  A9      : 0x3ffe2ac0
A10     : 0x3fff2eb0  A11     : 0x3f486b7b  A12     : 0x00000061  A13     : 0x0000ff00
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400012e5  LEND    : 0x40001309  LCOUNT  : 0x800d357d

ELF file SHA256: 3e2110ed00dc0730

Backtrace: 0x40001277:0x3ffe2af0 0x400da25c:0x3ffe2b00 0x400dc93b:0x3ffe2c50

Rebooting...

Thank you for the report; I was able to reproduce the issue and fix the crash. I've published a new release that includes the fix.
Unfortunately as you noticed, Spotify's API seems to have some limitations when playing local files, so this still won't function perfectly. In my testing, metadata and playback control only works for local files if they playing from within a playlist. Otherwise, if I play directly from the Local Files section, the API does not update and only shows the last non-local track that was playing or sometimes nothing at all.

I need to compile from scratch because my encoder is different from the one you used and I was getting this error:  #error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher" which was fixed by running idf.py menuconfig and enabling Component config → mbedTLS → TLS Key Exchange Methods → Enable pre-shared-key ciphersuites but now im getting these errors:
.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/knobby/esp-idf/esp32/libesp32.a(cpu_start.o):(.literal.main_task+0x18): undefined reference to `app_main'
.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/knobby/esp-idf/esp32/libesp32.a(cpu_start.o): in function `main_task':
.platformio/packages/framework-espidf/components/esp32/cpu_start.c:539: undefined reference to `app_main'

The crash doesn't occur anymore btw and controls seem to be working fine.

Hmm, I think you might be getting a different version of PlatformIO's esp-idf package which isn't compatible with the Arduino component. I tried locking the version and enabling pre-shared-key ciphersuites on the main branch if you want to try compiling again. I'm still planning on making the rotary encoder pulse count configurable sometime too.

Tried it again and it worked this time. I was on the latest platformio version (freshly installed it today)

repo: quadule/knobby


text:
🛑 olshiro is down

In fec693f, olshiro (http://olshiro.net/load/vietsub/10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: olshiro is back up in 2b9d263.


text:
🛑 otakusan is down

In 8980ac6, otakusan (https://otakusan.net/LightNovel) was down:

HTTP code: 0
Response time: 0 ms

Resolved: otakusan is back up in eb9dcec.


text:
🛑 kokocon is down

In 5010652, kokocon (http://kokocon.net/) was down:

HTTP code: 500
Response time: 166 ms

Resolved: kokocon is back up in 474e7dc after 8 minutes.


text:
🛑 relieftranslation is down

In 5270db0, relieftranslation (https://relieftranslation.com/anime/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: relieftranslation is back up in f4cbf94 after 20 hours, 58 minutes.


text:
WIP: Danger_Aggregate

Added a small library for aggregation, based on the earlier https://github.com/quantified-uncertainty/forecasting/tree/master/packages/aggregation. Overall I think it's relatively meaningful to have this kind of thing.
To dos:

[ ] Think about function names. The advantage of naming them after people (e.g., neyman, samotsvety) is that function names don't become too unwieldly. But then their meaning is no longer as straightforward. Maybe have aliases?
[ ] Add documentation

Mostly putting this out here for comments.

Codecov Report

Merging #1287 (3ae32c3) into develop (58792a2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1287   +/-   ##
========================================
  Coverage    53.14%   53.14%
========================================
  Files           18       18
  Lines          382      382
  Branches        22       22
========================================
  Hits           203      203
  Misses         177      177
  Partials         2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Some small things:

My impression is that this isn't as time-sensitive as other work. So I'm much more inclined to just try to do it right the first time (at least, a strong attempt), instead of accepting a much worse job.
Docs would be pretty useful. One bonus to them is that that's a good place to debate/discuss the API.

My impression is that this isn't as time-sensitive as other work. So I'm much more inclined to just try to do it right the first time (at least, a strong attempt), instead of accepting a much worse job.

Agree. In particular, this is meant more as a nice to have that I noticed would be neat to have after doing the Samotsvety nuclear aggregates.

Btw, instead of calling it "WIP", these can just be identified formally as drafts.

It's been 3 months, and now the code is in TS, not Rescript. Closing.

authors: NunoSempere OAGr codecov-commenter

repo: quantified-uncertainty/squiggle


text:
Faster frArray[frAny] unpacking

Straightforward performance optimization.
This makes List.map calls 10% faster.

Codecov Report

Merging #1946 (5118cd0) into develop (d2304f7) will decrease coverage by 0.37%.
The diff coverage is n/a.

:exclamation: Current head 5118cd0 differs from pull request most recent head a891009. Consider uploading reports for the commit a891009 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop    #1946      +/-   ##
===========================================
- Coverage    70.46%   70.10%   -0.37%
===========================================
  Files           99      101       +2
  Lines         4981     5138     +157
  Branches       954      988      +34
===========================================
+ Hits          3510     3602      +92
- Misses        1444     1492      +48
- Partials        27       44      +17

see 57 files with indirect coverage changes

authors: berekuk codecov-commenter


text:
FIX: Fix Security for Python 3. Since we're just comparing ints, no need

for cmp

Already fixed with a (slightly different) fix that has been merged to master.

suhweet thank you

authors: dalejung jikamens

repo: quantopian/zipline


text:
[KED-1155] Getting error in Kedro Spaceflight tutorial while using tags in pipeline definition

Description
Completed all steps successfully but getting an error in running pipeline using tags:
https://kedro.readthedocs.io/en/latest/03_tutorial/04_create_pipelines.html#using-tags
when tags are applied, "kedro run" or "kedro run --tag=ds_tag" gives below error:
TypeError: __init__() got an unexpected keyword argument 'tags'

Context
without tags in pipeline definition, the application runs successfully as below:
$ kedro run
2019-10-29 07:42:04,749 - root - INFO - ** Kedro project kedro-tutorial
fatal: not a git repository (or any of the parent directories): .git
2019-10-29 07:42:04,761 - kedro.versioning.journal - WARNING - Unable to git describe /home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial
2019-10-29 07:42:04,782 - kedro.io.data_catalog - INFO - Loading data from `companies` (CSVLocalDataSet)...
2019-10-29 07:42:04,846 - kedro.pipeline.node - INFO - Running node: preprocess1: preprocess_companies([companies]) -> [preprocessed_companies]
2019-10-29 07:42:04,936 - kedro.io.data_catalog - INFO - Saving data to `preprocessed_companies` (CSVLocalDataSet)...
2019-10-29 07:42:05,482 - kedro.runner.sequential_runner - INFO - Completed 1 out of 6 tasks
2019-10-29 07:42:05,482 - kedro.io.data_catalog - INFO - Loading data from `shuttles` (ExcelLocalDataSet)...
2019-10-29 07:42:23,180 - kedro.pipeline.node - INFO - Running node: preprocess2: preprocess_shuttles([shuttles]) -> [preprocessed_shuttles]
2019-10-29 07:42:23,303 - kedro.io.data_catalog - INFO - Saving data to `preprocessed_shuttles` (CSVLocalDataSet)...
2019-10-29 07:42:24,418 - kedro.runner.sequential_runner - INFO - Completed 2 out of 6 tasks
2019-10-29 07:42:24,418 - kedro.io.data_catalog - INFO - Loading data from `preprocessed_shuttles` (CSVLocalDataSet)...
2019-10-29 07:42:24,601 - kedro.io.data_catalog - INFO - Loading data from `preprocessed_companies` (CSVLocalDataSet)...
2019-10-29 07:42:24,659 - kedro.io.data_catalog - INFO - Loading data from `reviews` (CSVLocalDataSet)...
2019-10-29 07:42:24,753 - kedro.pipeline.node - INFO - Running node: master_table: create_master_table([preprocessed_companies,preprocessed_shuttles,reviews]) -> [master_table]
2019-10-29 07:42:27,359 - kedro.io.data_catalog - INFO - Saving data to `master_table` (CSVLocalDataSet)...
2019-10-29 07:42:49,238 - kedro.runner.sequential_runner - INFO - Completed 3 out of 6 tasks
2019-10-29 07:42:49,238 - kedro.io.data_catalog - INFO - Loading data from `master_table` (CSVLocalDataSet)...
2019-10-29 07:42:52,026 - kedro.io.data_catalog - INFO - Loading data from `parameters` (MemoryDataSet)...
2019-10-29 07:42:52,027 - kedro.pipeline.node - INFO - Running node: split_data([master_table,parameters]) -> [X_test,X_train,y_test,y_train]
2019-10-29 07:42:52,765 - kedro.io.data_catalog - INFO - Saving data to `X_train` (MemoryDataSet)...
2019-10-29 07:42:52,829 - kedro.io.data_catalog - INFO - Saving data to `X_test` (MemoryDataSet)...
2019-10-29 07:42:52,852 - kedro.io.data_catalog - INFO - Saving data to `y_train` (MemoryDataSet)...
2019-10-29 07:42:52,854 - kedro.io.data_catalog - INFO - Saving data to `y_test` (MemoryDataSet)...
2019-10-29 07:42:52,925 - kedro.runner.sequential_runner - INFO - Completed 4 out of 6 tasks
2019-10-29 07:42:52,925 - kedro.io.data_catalog - INFO - Loading data from `X_train` (MemoryDataSet)...
2019-10-29 07:42:52,990 - kedro.io.data_catalog - INFO - Loading data from `y_train` (MemoryDataSet)...
2019-10-29 07:42:52,991 - kedro.pipeline.node - INFO - Running node: train_model([X_train,y_train]) -> [regressor]
2019-10-29 07:42:53,426 - kedro.io.data_catalog - INFO - Saving data to `regressor` (PickleLocalDataSet)...
2019-10-29 07:42:53,606 - kedro.runner.sequential_runner - INFO - Completed 5 out of 6 tasks
2019-10-29 07:42:53,606 - kedro.io.data_catalog - INFO - Loading data from `regressor` (PickleLocalDataSet)...
2019-10-29 07:42:53,607 - kedro.io.data_catalog - INFO - Loading data from `X_test` (MemoryDataSet)...
2019-10-29 07:42:53,624 - kedro.io.data_catalog - INFO - Loading data from `y_test` (MemoryDataSet)...
2019-10-29 07:42:53,625 - kedro.pipeline.node - INFO - Running node: evaluate_model([X_test,regressor,y_test]) -> None
2019-10-29 07:42:53,704 - kedro_tutorial.nodes.price_prediction - INFO - Model has a coefficient R^2 of 0.456.
2019-10-29 07:42:53,760 - kedro.runner.sequential_runner - INFO - Completed 6 out of 6 tasks
2019-10-29 07:42:53,761 - kedro.runner.sequential_runner - INFO - Pipeline execution completed successfully.

Steps to Reproduce
But if tags are placed in the pipeline, and the project is run "kedro run" or "kedro run --tag=ds_tag", I am getting an error as below:
    ds_pipeline = Pipeline(
        [
            node(
                split_data,
                ["master_table", "parameters"],
                ["X_train", "X_test", "y_train", "y_test"],
            ),
            node(train_model, ["X_train", "y_train"], "regressor"),
            node(evaluate_model, ["regressor", "X_test", "y_test"], None),
        ],
        tags=["ds_tag"],
    )

Expected Result
The project should run successfully or only pipeline with specified tag should run.
Actual Result
After using tags in the pipeline, the below error is occurring:
$ kedro run
2019-10-29 07:46:47,501 - root - INFO - ** Kedro project kedro-tutorial
Traceback (most recent call last):
  File "/home/ajit/miniconda3/envs/kedro/bin/kedro", line 10, in <module>
    sys.exit(main())
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/cli/cli.py", line 621, in main
    ("Project specific commands", project_groups),
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/kedro_cli.py", line 196, in run
    pipeline_name=pipeline,
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/context/context.py", line 413, in run
    pipeline = self._get_pipeline(name=pipeline_name)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/context/context.py", line 154, in _get_pipeline
    pipelines = self._get_pipelines()
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/src/kedro_tutorial/run.py", line 51, in _get_pipelines
    return create_pipelines()
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/src/kedro_tutorial/pipeline.py", line 124, in create_pipelines
    tags=["ds_tag"],
TypeError: __init__() got an unexpected keyword argument 'tags'

Your Environment
Include as many relevant details about the environment in which you experienced the bug:

Kedro version used (pip show kedro or kedro -V): 0.15.3
Python version used (python -V): 3.7.3
Operating system and version: ubuntu 18.04.03 LTS

Hi @ajit555db! We're so sorry about the error and thank you for raising it. Could you try the argument name instead of tags and let me know what if you received an error too?
In any case, I've added this to our internal tracker and we'll address this for our next release.

@yetudada I did not understand " Could you try the argument name instead of tags and let me know what if you received an error too?"
I tried below:
$ kedro run --name=ds_tag
Usage: kedro run [OPTIONS]
Try "kedro run -h" for help.

Error: no such option: --name

or
in pipeline definition:
    ds_pipeline = Pipeline(
        [
            node(
                split_data,
                ["master_table", "parameters"],
                ["X_train", "X_test", "y_train", "y_test"],
            ),
            node(train_model, ["X_train", "y_train"], "regressor"),
            node(evaluate_model, ["regressor", "X_test", "y_test"], None),
        ],
        name=["ds_tag"],
    )

Then run:
$ kedro run --tag=ds_tag
2019-10-30 03:28:40,933 - root - INFO - ** Kedro project kedro-tutorial
Traceback (most recent call last):
  File "/home/ajit/miniconda3/envs/kedro/bin/kedro", line 10, in <module>
    sys.exit(main())
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/cli/cli.py", line 621, in main
    ("Project specific commands", project_groups),
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/kedro_cli.py", line 196, in run
    pipeline_name=pipeline,
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/context/context.py", line 413, in run
    pipeline = self._get_pipeline(name=pipeline_name)
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/context/context.py", line 154, in _get_pipeline
    pipelines = self._get_pipelines()
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/src/kedro_tutorial/run.py", line 51, in _get_pipelines
    return create_pipelines()
  File "/home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial/src/kedro_tutorial/pipeline.py", line 124, in create_pipelines
    name=["ds_tag"],
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/pipeline/pipeline.py", line 138, in __init__
    nodes = [n.tag([name]) for n in nodes]
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/pipeline/pipeline.py", line 138, in <listcomp>
    nodes = [n.tag([name]) for n in nodes]
  File "/home/ajit/miniconda3/envs/kedro/lib/python3.7/site-packages/kedro/pipeline/node.py", line 216, in tag
    tags=set(self._tags) | set(tags),
TypeError: unhashable type: 'list'

name is just one string, name="ds_tag" should do the job

@ajit555db We've just released kedro 0.15.4 which should fix this issue. Please upgrade your project and specify tags=["ds_tag"]. Do let me know if this resolves the problem.

@yetudada awesome, I could successfully run the partial pipeline with the supplied tag!! Many thanks for the quick action.
$ kedro --version
kedro, version 0.15.4
(kedro) ajit@inuc7p:~/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial
$ kedro run --tag=ds_tag
2019-10-31 01:53:41,868 - root - INFO - ** Kedro project kedro-tutorial
fatal: not a git repository (or any of the parent directories): .git
2019-10-31 01:53:41,883 - kedro.versioning.journal - WARNING - Unable to git describe /home/ajit/ajit-code/zzztemp/kedro/kedro-site/02-tutorial/kedro-tutorial
2019-10-31 01:53:41,904 - kedro.io.data_catalog - INFO - Loading data from `master_table` (CSVLocalDataSet)...
2019-10-31 01:53:44,877 - kedro.io.data_catalog - INFO - Loading data from `parameters` (MemoryDataSet)...
2019-10-31 01:53:44,877 - kedro.pipeline.node - INFO - Running node: split_data([master_table,parameters]) -> [X_test,X_train,y_test,y_train]
2019-10-31 01:53:45,666 - kedro.io.data_catalog - INFO - Saving data to `X_train` (MemoryDataSet)...
2019-10-31 01:53:45,730 - kedro.io.data_catalog - INFO - Saving data to `X_test` (MemoryDataSet)...
2019-10-31 01:53:45,746 - kedro.io.data_catalog - INFO - Saving data to `y_train` (MemoryDataSet)...
2019-10-31 01:53:45,750 - kedro.io.data_catalog - INFO - Saving data to `y_test` (MemoryDataSet)...
2019-10-31 01:53:45,819 - kedro.runner.sequential_runner - INFO - Completed 1 out of 3 tasks
2019-10-31 01:53:45,820 - kedro.io.data_catalog - INFO - Loading data from `X_train` (MemoryDataSet)...
2019-10-31 01:53:45,883 - kedro.io.data_catalog - INFO - Loading data from `y_train` (MemoryDataSet)...
2019-10-31 01:53:45,884 - kedro.pipeline.node - INFO - Running node: train_model([X_train,y_train]) -> [regressor]
2019-10-31 01:53:46,331 - kedro.io.data_catalog - INFO - Saving data to `regressor` (PickleLocalDataSet)...
2019-10-31 01:53:46,510 - kedro.runner.sequential_runner - INFO - Completed 2 out of 3 tasks
2019-10-31 01:53:46,511 - kedro.io.data_catalog - INFO - Loading data from `regressor` (PickleLocalDataSet)...
2019-10-31 01:53:46,512 - kedro.io.data_catalog - INFO - Loading data from `X_test` (MemoryDataSet)...
2019-10-31 01:53:46,536 - kedro.io.data_catalog - INFO - Loading data from `y_test` (MemoryDataSet)...
2019-10-31 01:53:46,537 - kedro.pipeline.node - INFO - Running node: evaluate_model([X_test,regressor,y_test]) -> None
2019-10-31 01:53:46,618 - kedro_tutorial.nodes.price_prediction - INFO - Model has a coefficient R^2 of 0.456.
2019-10-31 01:53:46,667 - kedro.runner.sequential_runner - INFO - Completed 3 out of 3 tasks
2019-10-31 01:53:46,667 - kedro.runner.sequential_runner - INFO - Pipeline execution completed successfully.

🏆 Thanks for reporting the error @ajit555db! And I'm glad you're sorted!

You have done really really awesome work. Kedro stands out! I would say i've never seen framework of this kind. However, I stumbled upon an error while I was going to enjoy Kedro.
Description
When running kedro new --starter=spaceflights   and after i have filled the initial project info, when I run kedro install i'm getting this error TypeError: _validate_items() got an unexpected keyword argument 'only'
I'm on 5.13.13-1-MANJARO and I have Python3.9.6 installed as system one. To be able to use kedro I use pipenv in collab with pyenv
steps to reproduce
    ~  mkdir test_drive_kedro; cd $_                                       ✔
    ~/test_drive_kedro  export PIPENV_VENV_IN_PROJECT=1                    ✔
    ~/test_drive_kedro  pipenv install --python 3.8                        ✔
Creating a virtualenv for this project...
Pipfile: /home/alexander/test_drive_kedro/Pipfile
Using /home/alexander/.pyenv/versions/3.8.12/bin/python3.8 (3.8.12) to create virtualenv...
⠼ Creating virtual environment...created virtual environment CPython3.8.12.final.0-64 in 184ms
  creator CPython3Posix(dest=/home/alexander/test_drive_kedro/.venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/alexander/.local/share/virtualenv)
    added seed packages: pip==21.2.4, setuptools==57.4.0, wheel==0.37.0
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/alexander/test_drive_kedro/.venv
Creating a Pipfile for this project...
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Updated Pipfile.lock (db4242)!
Installing dependencies from Pipfile.lock (db4242)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
    ~/test_drive_kedro  pipenv shell                                       ✔
Launching subshell in virtual environment...
 . /home/alexander/test_drive_kedro/.venv/bin/activate
    ~/test_drive_kedro   . /home/alexander/test_drive_kedro/.venv/bin/activate
    ~/test_drive_kedro  python -m pip install kedro   ✔  test_drive_kedro 
Collecting kedro
  Using cached kedro-0.17.4-py3-none-any.whl (17.4 MB)
Collecting anyconfig~=0.10.0
  Using cached anyconfig-0.10.1-py2.py3-none-any.whl (64 kB)
Collecting gitpython~=3.0
  Using cached GitPython-3.1.18-py3-none-any.whl (170 kB)
Collecting python-json-logger~=2.0
  Using cached python_json_logger-2.0.2-py3-none-any.whl (7.4 kB)
Collecting PyYAML<6.0,>=4.2
  Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting toml~=0.10
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting cachetools~=4.1
  Using cached cachetools-4.2.2-py3-none-any.whl (11 kB)
Collecting cookiecutter~=1.7.0
  Using cached cookiecutter-1.7.3-py2.py3-none-any.whl (34 kB)
Collecting pip-tools~=5.0
  Using cached pip_tools-5.5.0-py2.py3-none-any.whl (45 kB)
Collecting jupyter-client<7.0,>=5.1
  Using cached jupyter_client-6.1.12-py3-none-any.whl (112 kB)
Collecting toposort~=1.5
  Using cached toposort-1.6-py2.py3-none-any.whl (9.5 kB)
Collecting pluggy~=0.13.0
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting fsspec<0.9,>=0.5.1
  Using cached fsspec-0.8.7-py3-none-any.whl (103 kB)
Collecting dynaconf~=3.1.2
  Using cached dynaconf-3.1.7-py2.py3-none-any.whl (200 kB)
Collecting click<8.0
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting jmespath<1.0,>=0.9.5
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Requirement already satisfied: setuptools>=38.0 in ./.venv/lib/python3.8/site-packages (from kedro) (57.4.0)
Collecting binaryornot>=0.4.4
  Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Collecting requests>=2.23.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting python-slugify>=4.0.0
  Using cached python_slugify-5.0.2-py2.py3-none-any.whl (6.7 kB)
Collecting jinja2-time>=0.2.0
  Using cached jinja2_time-0.2.0-py2.py3-none-any.whl (6.4 kB)
Collecting poyo>=0.5.0
  Using cached poyo-0.5.0-py2.py3-none-any.whl (10 kB)
Collecting six>=1.10
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting Jinja2<4.0.0,>=2.7
  Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting chardet>=3.0.2
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting gitdb<5,>=4.0.1
  Using cached gitdb-4.0.7-py3-none-any.whl (63 kB)
Collecting smmap<5,>=3.0.1
  Using cached smmap-4.0.0-py2.py3-none-any.whl (24 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting arrow
  Using cached arrow-1.1.1-py3-none-any.whl (60 kB)
Collecting traitlets
  Using cached traitlets-5.1.0-py3-none-any.whl (101 kB)
Collecting jupyter-core>=4.6.0
  Using cached jupyter_core-4.7.1-py3-none-any.whl (82 kB)
Collecting tornado>=4.1
  Using cached tornado-6.1-cp38-cp38-manylinux2010_x86_64.whl (427 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pyzmq>=13
  Using cached pyzmq-22.2.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
Requirement already satisfied: pip>=20.1 in ./.venv/lib/python3.8/site-packages (from pip-tools~=5.0->kedro) (21.2.4)
Collecting text-unidecode>=1.3
  Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Installing collected packages: six, python-dateutil, MarkupSafe, urllib3, traitlets, text-unidecode, smmap, Jinja2, idna, charset-normalizer, chardet, certifi, arrow, tornado, requests, pyzmq, python-slugify, poyo, jupyter-core, jinja2-time, gitdb, click, binaryornot, toposort, toml, PyYAML, python-json-logger, pluggy, pip-tools, jupyter-client, jmespath, gitpython, fsspec, dynaconf, cookiecutter, cachetools, anyconfig, kedro
Successfully installed Jinja2-3.0.1 MarkupSafe-2.0.1 PyYAML-5.4.1 anyconfig-0.10.1 arrow-1.1.1 binaryornot-0.4.4 cachetools-4.2.2 certifi-2021.5.30 chardet-4.0.0 charset-normalizer-2.0.4 click-7.1.2 cookiecutter-1.7.3 dynaconf-3.1.7 fsspec-0.8.7 gitdb-4.0.7 gitpython-3.1.18 idna-3.2 jinja2-time-0.2.0 jmespath-0.10.0 jupyter-client-6.1.12 jupyter-core-4.7.1 kedro-0.17.4 pip-tools-5.5.0 pluggy-0.13.1 poyo-0.5.0 python-dateutil-2.8.2 python-json-logger-2.0.2 python-slugify-5.0.2 pyzmq-22.2.1 requests-2.26.0 six-1.16.0 smmap-4.0.0 text-unidecode-1.3 toml-0.10.2 toposort-1.6 tornado-6.1 traitlets-5.1.0 urllib3-1.26.6
    ~/test_drive_kedro  kedro new --starter=spaceflights

Project Name:
=============
Please enter a human readable name for your new project.
Spaces and punctuation are allowed.
 [New Kedro Project]: Test Drive kedro

Repository Name:
================
Please enter a directory name for your new project repository.
Alphanumeric characters, hyphens and underscores are allowed.
Lowercase is recommended.
 [test-drive-kedro]:

Python Package Name:
====================
Please enter a valid Python package name for your project package.
Alphanumeric characters and underscores are allowed.
Lowercase is recommended. Package name must start with a letter
or underscore.
 [test_drive_kedro]:

Change directory to the project generated in /home/alexander/test_drive_kedro/test-drive-kedro

A best-practice setup includes initialising git and creating a virtual environment before running ``kedro install`` to install project-specific dependencies. Refer to the Kedro documentation: https://kedro.readthedocs.io/
    ~/test_drive_kedro  cd test-drive-kedro   ✔  48s   test_drive_kedro 
    ~/t/test-drive-kedro  kedro install               ✔  test_drive_kedro 
Traceback (most recent call last):
  File "/home/alexander/test_drive_kedro/.venv/bin/kedro", line 8, in <module>
    sys.exit(main())
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/kedro/framework/cli/cli.py", line 264, in main
    cli_collection = KedroCLI(project_path=Path.cwd())
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/kedro/framework/cli/cli.py", line 182, in __init__
    self._metadata = bootstrap_project(project_path)
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/kedro/framework/startup.py", line 184, in bootstrap_project
    configure_project(metadata.package_name)
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/kedro/framework/project/__init__.py", line 219, in configure_project
    settings.configure(settings_module)
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/dynaconf/base.py", line 182, in configure
    self._wrapped = Settings(settings_module=settings_module, **kwargs)
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/dynaconf/base.py", line 235, in __init__
    self.validators.validate(
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/dynaconf/validator.py", line 417, in validate
    validator.validate(self.settings, only=only, exclude=exclude)
  File "/home/alexander/test_drive_kedro/.venv/lib/python3.8/site-packages/dynaconf/validator.py", line 197, in validate
    self._validate_items(
TypeError: _validate_items() got an unexpected keyword argument 'only'
    ~/t/test-drive-kedro                            1 ✘  test_drive_kedro 

@YYx00xZZ See this issue (and the related solution: pin Dynaconf to 3.1.5) :)

repo: quantumblacklabs/kedro


text:
check/pytest-and-incremental-coverage matplotlib window appears

Running check/pytest-and-incremental-coverage on my linux workstation pops up a matplotlib figure window but instead of showing the plot, it just has whatever was drawn on the screen before the window popped up. It stays there for the duration of the test, but does eventually go away. Taken with the lack of output on the command line, it gave me the strong impression that the tests were hung; although they did end up completing.

This is another reason we shouldn't call show inside plotting functions (#1890).

This is due to the call to results_1.plot() in cross_entropy_benchmarking_test.py, which triggers a call to plt.show(). We need to either remove the call to show, or gate it behind a parameter.

Did the recent change to a headless backend during tests fix this?

seems fixed for me

authors: Strilanc c-poole cduck mpharrigan

repo: quantumlib/Cirq


text:
[flaky] Run Quil dependencies randomly fails with docker-compose: command not found

Example: https://github.com/quantumlib/Cirq/actions/runs/8531478213/job/23371182315?pr=6526
/home/runner/work/_temp/bba62edc-fbaa-4d55-b118-a4d1dea9b588.sh: line 1: docker-compose: command not found

rerunning the failing workflow fixes the issue so there is some source of flakiness in the test environment.

We are facing the same issue using ubuntu-latest for runners.

related GHA announcement - https://github.com/actions/runner-images/blob/ubuntu20/20240401.4/images/ubuntu/Ubuntu2004-Readme.md.
docker compose reference - https://docs.docker.com/compose/migrate/

authors: NoureldinYosri gromanas pavoljuhas


text:
Stateless auto_merge script

When multiple PRs are mergeable, break ties using smallest PR number
Add 'front_of_queue_automerge' tag so that a later approval doesn't switch the focused PR
Drop now-unnecessary CLA bot override code
Use last modified date on PR to determine if e.g. status checks being absent instead of pending is a problem
When picking next head of queue, prioritizes merging fork PRs that don't need to be updated because they are hard to sync. After that prioritizes synced and tested.

Fixes https://github.com/quantumlib/Cirq/issues/1123

Automerge: started

authors: CirqBot Strilanc


text:
Allowing lists of dicts and flattened sweeps to be serialized

Created cirq.study.dict_list_to_sweep to convert a list of dicts into a sweep.
Transform _TransformedSweep into a real sweep so that it can be serialized

Address issue #2061

Adding a trivial comment to try to make CLA bot restart.


text:
Compatibility shim for common gate

fixes https://github.com/quantumlib/Cirq/pull/2205#issuecomment-539260440
I need this. Feel free to take an add the rest of the moved classes

Automerge cancelled: A status check is failing.

windows doesn't print the failures

It does. This is the multithreading flake, not a real error.

authors: CirqBot Strilanc mpharrigan


text:
Merge adjacent string literals

As a follow-up to the switch to using black for formatting with increased line length, this merges adjacent string literals that now fit on one line. (Thanks @dabacon for noticing this: https://github.com/quantumlib/Cirq/pull/3516#issuecomment-736198107).

Is this formatting change captured by the fmt-black tag, or should we merge a different tag to pick it up?

@95-martin-orion, the fmt-black tag only includes the changes to the formatting script, but no actual formatting changes. If you have changes on an in-progress PR where you've modified files that are changed here, you'd get a merge conflict when merging master in the procedure outlined in https://github.com/quantumlib/Cirq/pull/3516#issuecomment-733863841. Those conflicts would have to be fixed like any other conflicts when merging master.

Ah. I misunderstood this change as an update to the auto-formatting behavior, but I guess that behavior isn't really necessary outside of handling the recent line-width change. SGTM.

Sorry, I should have clarified that this was just me search-and-replacing things like ' ' and ' f' in string literals, not a change to the formatter itself.


text:
trace keys of mappings

The keys of mappings may also contain Cc<T>, although it is not common.

Merged. Thanks!

authors: quark-zju tsao-chi

repo: quark-zju/gcmodule


text:
Could not load keystore in @QuarkusTest

Quarkus : 3.9.3
Quarkus-CXF: latest
Java 21
Windows 10
Maven 3.9.6
I have a simple test where i want to invoke a SOAP service (which is a wiremock server). I need a client which can perform MTLS. But when i add this configuration:
   quarkus.cxf.client.solera.key-store=cert/client/keystore.p12

But i get the following error:
Could not load cert/client/keystore.p12 from class path or filesystem
I tried absolute file path etc. But no matter, i constantly get the same error.

Seems to work in version 3.8.2. In version 3.8.3 it breaks!

Thanks for the report @argenstijn. Hard to say without a reproducer. You may want to have a look at our mTLS test and gradually change it to your use case. That may reveal what is the problem. Otherwise a small reproducer project would be nice

Why is this needed in your test?
private void extract(final Path keystorePath) throws IOException {
Assertions.assertThat(keystorePath.getName(0).toString()).isEqualTo("target");
if (!Files.isRegularFile(keystorePath)) {
/*
* This test can be run from the test jar on Quarkus Platform
* In that case target/classes does not exist an we have to copy
* what's needed manually
*/
Files.createDirectories(keystorePath.getParent());
try (InputStream in = MutualTlsTest.class.getClassLoader()
.getResourceAsStream(keystorePath.getFileName().toString())) {
Files.copy(in, keystorePath, StandardCopyOption.REPLACE_EXISTING);
}
}
}

Nice to hear that & thanks reporting back @argenstijn

authors: argenstijn ppalaga

repo: quarkiverse/quarkus-cxf


text:
Support Darwin arm64 builds

Given that kdigger is written in Go it should be fairly straightforward to provide those builds.

Sorry for the late reply but yes it should be fairly straightforward, feel free to update the Makefile release target in a PR to add darwin_arm64 and change darwin into darwin_amd64. It will be my pleasure to merge this and then do the release on the GitHub repo.

authors: mtardy pmalek

repo: quarkslab/kdigger


text:
types - IEEE - format & generalise column layout

Got pointed here  - and in hindsight agree - this is the better place to speak about typst and its ieee format.
Updated Quarto and RStudio today to play around with Typst and/or decide whether to give it a try for an upcoming conference paper submission. Thanks for all the hard work on Typst, it really feels lightweight.
From a youtube video of posit::2023, I understood that format observations should also be posted here. If I got this wrong, please kill this "request" (and let me know where to put it instead).
The bit I noted: The current typst-ieee format prints the abstract across the whole page q14-ieee-typst.pdf.
Typically, in IEEE conference proceedings, the abstract sits in the column layout.
It feels like the column settings only take effect after the abstract section.
For the case at hand (IEEE conference proceedings requirement) the abstract should be part of the column layout of the document.
However, I could picture for own layouts that the author would like to have the abstract spanning (similar to the title) the full body of the page.
Ditto for a table-of-contents.
The idea would be to have this controlled via a key like abstract-in-column (or toc-in-column).
For the typst-ieee format this could be automatically set to true (as IEEE requires it).
Next to the number of columns, it would be nice to be able to control - next to the page margins - also the gap between the columns (e.g. column-spacing).
Again, thanks for all the hard work on typst and helping non-LATEXer starting to tame the pdf landscape.

I am a bit embarrassed ...
Long story short: just stick to the default format and the abstract prints nicely in the left column!!
If someone comes here, do not try to do the following - which I did and forced the abstract to span the columns.
For any future visitor ... my faulty tweaks:
...
format:
  ieee-typst:
    columns: 2                       #   <-- NOT NEEDED, template does 2 columns by default!!!
    abstract: |                        #    <-- DO NOT PUT the abstract under the format!
        Air transport faces multiple challenges.
        Fuel efficiency will be an overriding priority of the future.
 #   toc: true
    section-numbering: I.1.a
....

Thus, all is well, if you work with the template example and put the abstract underneath the format specifications!
The example suggests
...
format:
  ieee-typst: default      # <-- possibly add some specifics here, if needed
bibliography: refs.bib
abstract: |                      # abstract does not sit in the format section!
  The process
...

repo: quarto-ext/typst-templates


text:
weekdays misbehaviour if using just [4,5,6,0]

Hi, it seems to me that weekdays prop doesn't behave correctly if you just show numbers after 4 as in:
   :weekdays="[4,5,6,0]"
   :weekdays="[5,6]"

(but seems fine with "[4,5,6]")
A codepen is here.

Here clearly names are not sequential and are not correct.
Sometimes the weekday names gets scrambled:
"[6,0]" => missing header
"[5,6,0]" => you just see friday
Did I miss something?

@sandroden Thanks for bringing this to my attention. I should have time to look into this on the wekend. Thanks.

Fix will be in v1.5.1 - sorry for the delay

repo: quasarframework/quasar-ui-qcalendar


text:
Downstream Component Images (PROJQUAY-828)

Issue: https://issues.redhat.com/browse/PROJQUAY-828
Changelog: Add initial downstream release Kustomize overlay for managed component container images.
Docs: Ensure that users know how to create redhat-pull-secret (documentation exists).
Testing:

Create redhat-pull-secret in same namespace as QuayRegistry.
Create QuayRegistry with some managed components.

Expected:

All containers pull successfully.

Details: Adds Kustomize overlays for an initial downstream release using official Red Hat container images for relevant managed components. These container images require a Red Hat pull secret.

Closing in favor of https://github.com/quay/quay-operator/pull/319

repo: quay/quay-operator


text:
S3 partition file per hourly batch

Hi
I'd like to know if there is an option to write one file per partition which means per hour.
For example, if i have 5 workers with 5 tasks, and I run hourly batch, is this plugins would know to aggregate the data to one file per the running batch?
Thanks
D.

You could use the TimeBasedPartitioner and a rotation interval configured for an hour.
However, this is not recommended for large volume topics and the Connector needs to hold an hour worth of data.
Also, why do you need this? Spark, Presto, Pig, Hive, etc can all read multiple files from an upper level s3 path

repo: qubole/streamx


text:
documentation for loading the coco format custom dataset into model

There is a missing tutorial on loading the coco format custom dataset into the model.
Thanks

You can use LabelMe, which has a few shape -> mask functions that uses shapely.

authors: JordanMakesMaps codePerfectPlus


text:
ClassNotFoundExceptions in Solr when using some JsonPath features

Currently the JSONPath based rule criteria filter of the Common Rules Rewriter does not work in Solr when

Querqy is deployed to a collection-specific classpath (e.g. using the <lib> directive in the solrconfig.xml)
JSONPath selections are used that contain [] or {} as their values (e.g. @.tenant in ['tenant1', 'tenant2'])

Solr then fails with a java.lang.NoClassDefFoundError: net/minidev/json/parser/ParseException
Some background:
We (and Solr for some minor use case) use the Jayway JsonPath library (which still seems the de-facto standard for evaluating JSONPath expressions in Java). This lib allows for configuring its JSON parser. By default it uses the json-smart parser. But even if you configure Jackson to be used (as we do!), the JsonPath library will still use json-smart to read JSON-like values within JsonPath expressions (e.g. the value with square brackets in @.tenant in ['tenant1', 'tenant2'])). The main (only?) reason seems to be that the JsonPath specification allows single quotes within these expressions and json-smart supports these out-of-the-box (see here).
The problem is that Solr ships with the JsonPath library but explicitly excludes json-smart (which has a history of CVEs). While we bundle json-smart via maven-assembly into our jar-with-dependencies, the Solr webapp class loader loading the JsonPath library does not seem to be able to access our bundled json-smart classes.
Possible mitigations:

Document the alternative of just dropping the fat jar into the Solr webapp lib folder (and have our classes loaded by the webapp class loader) solves the issue.
Document that these kinds of JSONPath expressions (in, subsetof etc.) are not supported (they don't seem to be part of the current spec draft anyway, it seems they were invented by the JsonPath library).
Shade the JsonPath and json-smart dependencies into our Solr fat jar (we could use maven-shade and relocate the classes to become completely independent of the respective classes shipped with Solr).

Also happens when just using || in the JSONPath expression.

I tried replacing the assembly with the shade plugin and directly shading the jsonpath and json-smart dependencies (packaging them in the fat jar under relocated package names). This works fine in local testing.
On the other hand, I also noticed that with the Java Security Manager enabled by default in Solr 9, one has to be careful where to put Querqy when using the lib-directive approach and use something supported by the default policy, I guess something below solr.install.dir (/opt/solr-9.2.1 when using the default Docker image) should work. If you want something completely different (/opt/querqy/lib) you'd have to disable the security manager.
Two options:

We go with the shade instead of assembly approach and improve documentation of deploying Solr with security manager.
We don't change anything in Query but only recommend putting Querqy into the Solr webapp classpath (i.e. /opt/solr/server/solr-webapp/webapp/WEB-INF/lib/) from now on.

Would some of these issues go away if we made querqy a proper package?  The deployment process would be simpler?   Though one thing is that for folks who want to build a static image of Solr that they then deploy, not quite sure how that would work with packages.  Packages might only solve half the deploy use cases...

authors: epugh mkr

repo: querqy/querqy


text:
bugfix/querqy smui issue 118

This is the fix for this issue #118 that Rubix is seeing with up/down rules not saving correctly when the rule is an UP(+++++).
https://github.com/querqy/smui/issues/118

Superceded by #120

repo: querqy/smui


text:
WASM: Functional Operators

While implementing the Wasm runtime in Assemblyscript, I paid no attention whether the operators are mutating values in place or not. Q*cert assumes that they are not. We have to ensure that the operators respect this assumption.
This is particularly interesting for arrays. I think, the current JS runtime avoids copying on each push by allocating bigger arrays  and keeping track of the length separately.

This is particularly interesting for arrays. I think, the current JS runtime avoids copying on each push by allocating bigger arrays and keeping track of the length separately.

An example of that strategy can be found in the JavaScript runtime. See some parts of that here:
https://github.com/querycert/qcert/blob/0f07b1cd6c2ca53330dc0290d5d7a64a542116b4/runtimes/javascript/qcert-runtime-core.js#L27-L40
Or here:
https://github.com/querycert/qcert/blob/0f07b1cd6c2ca53330dc0290d5d7a64a542116b4/runtimes/javascript/qcert-runtime-core.js#L190-L207

The existing operators do not mutate values. I will close this issue.
At some point in the future we might want to think about speeding up opArrayPush. Currently it naively clones the array on each invocation. I think we have other, more important tasks right now.

authors: jeromesimeon pkel

repo: querycert/qcert


text:
Plugin complain when hand-written code is importing generated class

Hi,
I have a Java class, ContactPredicates, that import a a generated class, QContact.
When I compile the project (mvn clean compile), the apt-maven-plugin emits an information message (but does its job) when encountering this import statement.
I believe this is misleading. Shouldn't the plugin first generate the code before looking at the hand-written code? (BTW, why does the latter happen?)
Here is my plugin configuration:
<plugin>
	<groupId>com.mysema.maven</groupId>
	<artifactId>apt-maven-plugin</artifactId>
	<version>1.1.3</version>
	<executions>
		<execution>
			<goals>
				<goal>process</goal>
			</goals>
			<phase>generate-sources</phase>
			<configuration>
				<outputDirectory>target/generated-sources/java</outputDirectory>
				<processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor>
			</configuration>
		</execution>
	</executions>
</plugin>

And here is the output of the command:
11:45:13 /work/RTBF/svn/reptel/reptel-webapp/trunk $ mvnocolor clean compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Repertoire telephonique 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reptel ---
[INFO] Deleting /work/RTBF/svn/reptel/reptel-webapp/trunk/target
[INFO]
[INFO] --- apt-maven-plugin:1.1.3:process (default) @ reptel ---
/work/RTBF/svn/reptel/reptel-webapp/trunk/src/main/java/be/rtbf/info/reptel/repository/jpa/ContactPredicates.java:3: cannot find symbol
symbol  : class QContact
location: package be.rtbf.info.reptel.model
import be.rtbf.info.reptel.model.QContact;
                                ^
[INFO]
[INFO] --- jaxb2-maven-plugin:1.6:schemagen (default) @ reptel ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ reptel ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 60 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ reptel ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 133 source files to /work/RTBF/svn/reptel/reptel-webapp/trunk/target/classes
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.485 s
[INFO] Finished at: 2015-05-28T11:45:22+02:00
[INFO] Final Memory: 25M/81M
[INFO] ------------------------------------------------------------------------
``

Kindly let me know if I have done something wrong.

Kind regards,

Dimitri

Hi Dimitri,
I haven't been able to reproduce this error. Would you mind sharing your entities or a basic project?

Hi John.
Sure, I'm finalizing the squeezing ... :-)
In the meantime, please be informed that I could already pinpoint the problem to be only occurring with Java 6. It is fine with 7 and 8.

Please find 3 files in here: https://gist.github.com/DimitriHautot/26ee0f6234be112762f1
I'm running with Maven 3.2.3.

First of all, thank you for pointing out that this only happens with Java 6 and for providing a basic project.
The error message you're seeing occurs because the apt-maven-plugin scans all source files by default, searching for entities. As you pointed out, the plugin is still generating the Q classes correctly, but if you want to get rid of the error you can move ContactPredicates to a different package and add the following:
<configuration>
    ...
    <includes>
        <include>be.rtbf.info.reptel.model</include>
    </includes>
    ...
</configuration>

Unfortunately, you can only provide a package to the <include> directive.

Thanks a lot John, for the fast & accurate answer!
Indeed, I added the <include /> element to match the package, and it worked fine.
Cheers,
Dimitri

authors: DimitriHautot johnktims

repo: querydsl/apt-maven-plugin


text:
🛑 Notifications Service is down

In 71e8bcc, Notifications Service (https://quessttechnologies.com/notifications/healthcheck) was down:

HTTP code: 429
Response time: 4 ms

Resolved: Notifications Service is back up in d82b58b after 12 minutes.


text:
Add time_series_dimension property into _field_caps API method

Description
time_series_dimension determine whether field will be used by Opensearch Dashboards to build histogram or not.
Fixing issue: https://github.com/quickwit-oss/quickwit/issues/5003
How was this PR tested?
Added test to cover my change.

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

See comment inline. I don;'t think we want an extra call to the metastore here.

Clear, will have a loot on weekend into the architecture of the service more deeply. Thanks for suggested solutions, will try to implement the nice one.

Not needed in reality, missed ES and OpenSearch spec

authors: CLAassistant kuzaxak

repo: quickwit-oss/quickwit


text:
Setting of odbc_dm needed on 64-bit Windows with 64-bit Oracle

As requested in the Known Issues section of the README, this issue is being opened due to a need to use const odbc_dm = "C:\\Windows\\System32\\odbc32.dll" when connecting to a 64-bit Oracle database running on a 64-bit Windows 10 preview OS image.
As shown in the attached screenshot:  connecting successfully required two steps to be performed.  The setting of const odbc_dm needed to be performed before executing using ODBC, and a System DSN entry for the database of interest needed to be added as a 64-bit ODBC data source.  The second step is independent of Julia but might be helpful to add to the documentation of this package for use on Windows.
The second attached screenshot shows the error message received when performing a query against the same database if the const odbc_dm = "C:\\Windows\\System32\\odbc32.dll" is not performed prior to using ODBC.  The same System DSN entry is present on this system with this second screenshot.

Hmmmm.....this seems odd. It should be picking up odbc32.dll automatically. I'm working on an overhaul, so I'd appreciate it you could test changes as they get pushed.

Any chance it is currently picking up C:\Windows\SysWOW64\odbc32.dll by default (instead of C:\Windows\System32\odbc32.dll) when on a 64-bit machine?
And, yes, I will test any changes that you make.

hey @AndyGreenwell, I know this is like a year late, but if you'd be willing ot try latest master, I've finally merged the overhaul. Let me know if you're still seeing issues here.

I'll need to recreate that test environment, but yes I will perform this test as soon as feasible.

Great. And let me know if you see any other issues. I have test environments set up on my end currently for MySQL, Teradata, and SQL Server, with PostgreSQL and Oracle coming soon.

Using the current ODBC.jl master with the new usage instructions, I can confirm that one can execute successfully the example query in the above screenshots without needing to set const odbc_dm prior to the execution of using ODBC when connecting to a 64-bit Oracle installation's DSN running on 64-bit Windows with 64-bit Julia.

Great news. Thanks for checking this out @AndyGreenwell. Do let me know if you run into any other issues on the new ODBC release or if there are any big features that would be helpful for you.

authors: AndyGreenwell quinnj

license: mit


text:
Add oil mix sliders and chart

Adds the possibility to set the oil mix for (mainly) heating purposes per sector.
A new slide is added to the Supply > Biomass section:

To accompany this slide, there is a new mekko showing the total oil mix for the scenario. The mekko will also contain non-energetic use oil, and oil use in sectors that are not on the new slide, as it describes the full supply and demand of oil in the scenario.

If you think the colours are too funky, you can change them 🌈

See quintel/etsource#2496
Closes #3760

@noracato: Perhaps we should hide the agriculture oil mix sliders when there is no agricultural demand in a dataset (e.g. Germany)? I guess we would need a has_agriculture dependency for that?

authors: noracato redekok

repo: quintel/etmodel


text:
Creating a spreadsheet with spreadsheet functions

Is there something extra required to be able to create a spreadsheet that uses spreadsheet functions?
A partial repro of my code:
project_points = ''.join(map(lambda r: f'=$C{row_index}	', project_range))
                sheet_content_list.append(f'
{project_points}
')
sprint_summary_sheet = client.new_document(content=''.join(sheet_content_list), title=sheet_title, member_ids=["<redacted>"], type='spreadsheet')

Expected results:
A spreadsheet where the formulas are used.
Actual results:
#ERROR in the spreedsheet until I press enter on the cell.

+1

authors: ejsarge fclinton

repo: quip/quip-api


text:
document Python tools

https://github.com/cneud/ner.edith/tree/master/tools

Re-opened due to changes in cli.py

Now lives at https://github.com/qurator-spk/page2tsv.

repo: qurator-spk/neath


text:
driver.ErrSkip error with sqlx

The hooks get entered twice for each sql query because from my understanding, the first hit to the hook get cancelled because of driver.ErrSkip "driver: skip fast-path; continue as if unimplemented" It seems to happen with sqlx.
More details is in the discussion over at data-dog https://github.com/DataDog/dd-trace-go/issues/270
Right now a quick fix would be checking for driver.ErrSkip and ignore it in every execs and query
results, err := conn.execContext(ctx, query, args)
- if err != nil {
+ if err != nil && err != driver.ErrSkip {
    return results, handlerErr(ctx, conn.hooks, err, query, list...)
}

The other fix (from the thread) is to set interpolateParams=true is the database dsn.

Thanks for reporting this, how hard would it be to reproduce this with a test?

Hmm interesting,  I ran without any modifications yet to TestMySQL() unit test and the driver.ErrSkip happens without sqlx.

docker run --name sqlhooks-mysql -p 3307:3306 -e MYSQL_ROOT_PASSWORD=password -d mysql:8
create table sqlhooks;
export SQLHOOKS_MYSQL_DSN=root:password@(0.0.0.0:3307)/sqlhooks?parseTime=true
go test -run TestMySQL

go test -run TestMySQL
--- FAIL: TestMySQL (0.00s)
    --- FAIL: TestMySQL/Query (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6db7ab]

goroutine 23 [running]:
testing.tRunner.func1.2({0x7c94a0, 0xa82ff0})
        /home/gmhafiz/sdk/go1.17.1/src/testing/testing.go:1209 +0x24e
testing.tRunner.func1()
        /home/gmhafiz/sdk/go1.17.1/src/testing/testing.go:1212 +0x218
panic({0x7c94a0, 0xa82ff0})
        /home/gmhafiz/sdk/go1.17.1/src/runtime/panic.go:1038 +0x215
github.com/qustavo/sqlhooks/v2.(*testHooks).OnError(0xc0000c01c8, {0x88a150, 0xc0000c8000}, {0x882b20, 0xc0000a03b0}, {0x81c7f7, 0x20}, {0xc0000a1300, 0x1, 0x1})
        /home/gmhafiz/Sync/programming/goWorkspace/sqlhooks-ori/sqlhooks_test.go:40 +0xab
github.com/qustavo/sqlhooks/v2.handlerErr({0x88a150, 0xc0000c8000}, {0x887510, 0xc0000c01c8}, {0x882b20, 0xc0000a03b0}, {0x81c7f7, 0x20}, {0xc0000a1300, 0x1, ...})
        /home/gmhafiz/Sync/programming/goWorkspace/sqlhooks-ori/sqlhooks.go:32 +0xbf
github.com/qustavo/sqlhooks/v2.(*QueryerContext).QueryContext(0xc0000aa078, {0x88a150, 0xc0000c8000}, {0x81c7f7, 0x20}, {0xc0000a56e0, 0x1, 0x1})
        /home/gmhafiz/Sync/programming/goWorkspace/sqlhooks-ori/sqlhooks.go:215 +0x214
database/sql.ctxDriverQuery({0x88a150, 0xc0000c8000}, {0x7f21345f8bc0, 0xc0000da4c0}, {0x0, 0x0}, {0x81c7f7, 0x79e6b2}, {0xc0000a56e0, 0x1, ...})
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/ctxutil.go:48 +0x17d
database/sql.(*DB).queryDC.func1()
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:1722 +0x175
database/sql.withLock({0x887290, 0xc000142090}, 0xc00005ed48)
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:3396 +0x8c
database/sql.(*DB).queryDC(0x1, {0x88a150, 0xc0000c8000}, {0x0, 0x0}, 0xc000142090, 0xc0000a12f0, {0x81c7f7, 0x20}, {0xc0000a12a0, ...})
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:1717 +0x211
database/sql.(*DB).query(0x474, {0x88a150, 0xc0000c8000}, {0x81c7f7, 0x20}, {0xc0000a12a0, 0x1, 0x1}, 0x24)
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:1700 +0xfd
database/sql.(*DB).QueryContext(0x8bed24, {0x88a150, 0xc0000c8000}, {0x81c7f7, 0x20}, {0xc0000a12a0, 0x1, 0x1})
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:1674 +0xdf
database/sql.(*DB).Query(...)
        /home/gmhafiz/sdk/go1.17.1/src/database/sql/sql.go:1691
github.com/qustavo/sqlhooks/v2.(*suite).TestHooksExecution.func3(0x0)
        /home/gmhafiz/Sync/programming/goWorkspace/sqlhooks-ori/sqlhooks_test.go:74 +0x72
testing.tRunner(0xc00013c9c0, 0xc0000e64b0)
        /home/gmhafiz/sdk/go1.17.1/src/testing/testing.go:1259 +0x102
created by testing.(*T).Run
        /home/gmhafiz/sdk/go1.17.1/src/testing/testing.go:1306 +0x35a
exit status 2
FAIL    github.com/qustavo/sqlhooks/v2  0.006s

I did a fmt.Println(err.Error()) and the error is ErrSkip: driver: skip fast-path; continue as if unimplemented
Unfortunately appending &interpolateParams=true to the dsn makes no difference.
I am unsure why &interpolateParams=true works without ErrSkip when I use this library in my server.

I think this is interesting: https://github.com/go-sql-driver/mysql/blob/master/connection.go#L201
I ran the test following your instructions and it did panic when used without interpolateParams but did not when i used it

It seems to be an error with the way we are testing.
The testHook struct is not defining a onError hook and when it is called, if fails because it's trying to call  I'll open a PR to fix that

authors: gmhafiz qustavo

repo: qustavo/sqlhooks


text:
🛑 Adguard Home DoT is down

In 9f42d54, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 1afc42b after 7 minutes.

repo: quyleanh/upptime


text:
🛑 Adguard Home DoT is down

In 1edf702, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 4318ad9 after 26 minutes.


text:
🛑 Adguard Home DoT is down

In 5d155b2, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in c2920d6 after 20 minutes.


text:
🛑 Adguard Home DoT is down

In 8777102, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in bbe4189 after 34 minutes.


text:
Adding SetRole command

Following the discord docs + examples to setup a basic SetRole command for testing SlashCommands on the bot

@Bajoukx lmk if you've had a change to take a look at this!

LGTM!

authors: Bajoukx qwinters


text:
Run Problem ModuleNotFoundError: No module named 'fcntl'

Win10
Python 3.6.4
pproxy 1.7.3  and 1.8.5

Traceback (most recent call last):
File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files\Python36\Scripts\pproxy.exe_main.py", line 5, in
File "c:\program files\python36\lib\site-packages\pproxy\server.py", line 2, in
from . import proto
File "c:\program files\python36\lib\site-packages\pproxy\proto.py", line 1, in
import asyncio, socket, urllib.parse, time, re, base64, hmac, struct, hashlib, fcntl, io
ModuleNotFoundError: No module named 'fcntl'

And install form pip also has problem:

Traceback (most recent call last):
File "setup.py", line 19, in
long_description    = read('README.rst'),
File "setup.py", line 6, in read
return fp.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x94 in position 2840: illegal multibyte sequence

This is because  long_description   = read('README.rst') in setup.py

Hi, the first problem was fixed in 1.8.6
The second problem is the text encoding issue. You may check if the default encoding in the python environment is utf-8.

The second problem was also fixed by forcing encoding='utf8' in setup.py

Now all is OK.

authors: mengyyy qwj

repo: qwj/python-proxy


text:
Error installing on Mac

sudo rig install release
[INFO] arm64-R-4.4.1-arm64.pkg is cached at /tmp/rig/arm64-R-4.4.1-arm64.pkg
[INFO] Running installer
[INFO] > installer: Package name is R 4.4.1 for macOS (ARM64)
[INFO] > installer: Installing at base path /
[INFO] > installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)
[ERROR] command ["arch", "-arm64", "installer", "-pkg", "/tmp/rig/EMyFIpJkLF.pkg", "-target", "/"] exited with code 1

I'm using zsh on Mac,
❯ sw_vers
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

I tried to use "regular" terminal and still encountered this issue.

I tried rig system fix-permissions. It didn't work. Then I granted the terminal full disk access, and that worked. But that cannot be the permanent solution, right?

But that cannot be the permanent solution, right?

IDK if there is any other way for a command line app to run the R installer.

So, I agree that this is not great, and I'll

investigate if this is the best we can do,
If yes, then try to have a better error message, and
document this.

If you don't mind, I'll leave this issue open for now.

Oh, I don't mind. I just read your response, the FAQ, and just sort of thought it was a done and closed deal.
This might be new Mac OS related too. I'm very new to the mac universe, but googling didn't yield good answers either.
Thanks!

fwiw I got the same error message but the installation still worked without running more than rig install release in iterm2

I get the same message. But I managed to have multiple versions available anyway when I run rig list I can see all versions installed

fwiw I got the same error message but the installation still worked without running more than rig install release in iterm2

Same. I get the installation error message, but this appear to be erroneous since the target has been successfully installed.

authors: CGMossa abduazizR cathblatter gaborcsardi grantmcdermott

repo: r-lib/rig


text:
Disallow argument followed by another argument

i.e. in the case of foo(1 2) it would make sense to report the 2 as a syntax error. Right now it is allowed.
We do want to allow foo(1, , , 2) or foo(, , 1), i.e. an arbitrary amount of commas anywhere, but I think it makes sense to try and disallow sequential arguments if possible.
In Ark we do have a helper that checks for this to try and report a diagnostic for this case, but I feel like a syntax error might be just as good? https://github.com/posit-dev/ark/blob/526abac258e43c6b52704fe94e3f0602ba82bd72/crates/ark/src/lsp/diagnostics.rs#L538
It would also better align with R itself since this is invalid syntax, which is good
text_parse("foo(1 2)", language())
#> <tree_sitter_node>
#>
#> ── Text ────────────────────────────────────────────────────────
#> foo(1 2)
#>
#> ── S-Expression ────────────────────────────────────────────────
#> (program [(0, 0), (0, 8)]
#>   (call [(0, 0), (0, 8)]
#>     function: (identifier [(0, 0), (0, 3)])
#>     arguments: (arguments [(0, 3), (0, 8)]
#>       open: "(" [(0, 3), (0, 4)]
#>       argument: (argument [(0, 4), (0, 5)]
#>         value: (float [(0, 4), (0, 5)])
#>       )
#>       argument: (argument [(0, 6), (0, 7)]
#>         value: (float [(0, 6), (0, 7)])
#>       )
#>       close: ")" [(0, 7), (0, 8)]
#>     )
#>   )
#> )

text_parse("foo(1,, 2)", language())
#> <tree_sitter_node>
#>
#> ── Text ────────────────────────────────────────────────────────
#> foo(1,, 2)
#>
#> ── S-Expression ────────────────────────────────────────────────
#> (program [(0, 0), (0, 10)]
#>   (call [(0, 0), (0, 10)]
#>     function: (identifier [(0, 0), (0, 3)])
#>     arguments: (arguments [(0, 3), (0, 10)]
#>       open: "(" [(0, 3), (0, 4)]
#>       argument: (argument [(0, 4), (0, 5)]
#>         value: (float [(0, 4), (0, 5)])
#>       )
#>       (comma [(0, 5), (0, 6)])
#>       (comma [(0, 6), (0, 7)])
#>       argument: (argument [(0, 8), (0, 9)]
#>         value: (float [(0, 8), (0, 9)])
#>       )
#>       close: ")" [(0, 9), (0, 10)]
#>     )
#>   )
#> )

The right way to do this is in tree-sitter-javascript
https://github.com/tree-sitter/tree-sitter-javascript/blob/108b2d4d17a04356a340aea809e4dd5b801eb40d/grammar.js#L570-L577
They support "array holes" like [1, , 2, , 3]
The key is using commaSep(<thing>) but making sure that <thing> itself is optional()!

repo: r-lib/tree-sitter-r


text:
Propagate Contextview to ConnectionInfo and StatementInfo

Feature Request
Propagate ContextView to ConnectionInfo and StatementInfo
Is your feature request related to a problem? Please describe
There cases where the logic on a BindParameterConverter might require the information Stored in a ContextView.
Describe the solution you'd like
Propagating the ContextView from the MethodExecutionInfo to the ConnectionInfo and the StatementInfo will make it possible.
Describe alternatives you've considered
Checked on the Listener based methods which do provide access to the ContextView, however in order to modify the query it was possible only through a BindParameterConverter.
Teachability, Documentation, Adoption, Migration Strategy
Create a custom BindParameterConverter
public class CBindParameterConverter implements BindParameterConverter {
    @Override
    public String onCreateStatement(String query, StatementInfo info) {
        ContextView contextView = info.getValueStore().get(ContextView.class, ContextView.class);
        if(contextView!=null) {
            UUID key = contextView.get("val");
            return query+"/*a comment for "+key+"*/";
        }

        return query;
    }

}

Add the BindParameterConverter through the Factory
            ProxyConfig proxyConfig = ProxyConfig.builder()
                    .bindParameterConverter(new CBindParameterConverter())
                                                 .build();
            return ProxyConnectionFactory.builder(ConnectionFactories.get(options),proxyConfig)
                                         .listener(new R2DBCCommenterListener())
                                         .build();

@gkatzioura Thanks for the request and PR.
I need to think through it.
The difficulty is a scoping and difference between methods that return a publisher and normal return types.
For example, the order of executing a query is:

ConnectionFactory#create
Connection#createStatement
Statement#bind
Statement#execute

In this case, 1 and 4 return a publisher, and 2 and 3 return a non-publisher.
If this is grouped by composing publishers, the first group is 1, and the second group is 2,3,4.
Then, in the implementation of the PR(#128), it grabs the ContextView from 1 and passes it to 2, which is in a different publisher group.
So, if I do:
Mono.from(proxyConnectionFactory.create()).contextWrite(ctx -> ctx.put("foo", "FOO"))    // 1
  .flatMapMany(connection ->
    Mono.from(connection
                .createStatement("SELECT id, name FROM emp WHERE id = ?")      // 2
                .bind(0, 20)                                                   // 3
                .execute())                                                    // 4
                .contextWrite(ctx -> ctx.put("bar", "BAR"))
    ...
  .contextWrite(ctx -> ctx.put("baz", "BAZ"))
  ...

The createStatement method is called in order to compose the publisher from the execute method.
So, the method callback of createStatement receives a context that contains foo=FOO seems strange because they are in different publisher groups.
Though, another difficulty is that createStatement cannot receive a context "bar=BAR" because the context is only available after createStatement is invoked.

@gkatzioura I just committed a change to populate reactor context in various ValueStore.
This documentation illustrates what values are available in where.
For your case, the ValueStore in ConnectionInfo will have access to the reactor Context which wrote values to the entire workflow.

authors: gkatzioura ttddyy


text:
🛑 Chelsea is down

In 2528616, Chelsea (http://chelsea.kt.co.kr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chelsea is back up in 5db6927.


text:
Add recipe test for CI

to prevent future unintentional breaking changes

All green. Added post-filter and neural vocoder training steps to the test (not yet documented though). Merging.


text:
Exclude queues by regex

This allows to exclude queues which have no HA property.

@SwannCroiset Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@SwannCroiset Thank you for signing the Contributor License Agreement!

authors: SwannCroiset pivotal-issuemaster

repo: rabbitmq/support-tools


text:
Adds "how to install the binary" for Arch Linux

Arch Linux用のパッケージをArch User Repositoryに作ったので、INSTALL.md にその旨を追記しました。

パッケージ作成、ありがとうです！

authors: raccy tomoki

repo: raccy/obs-rtmp-nicolive


text:
Remove unused "top-bar" classes, remove weird "Back" buttons, plus other tweaks

This started off when I noticed some of our buttons bundled up into lists with topbar classes.  I wondered what this did, and it turns out... nothing at all.  Execpt that putting the buttons in lists means they aren't properly left-aligned with the other form elements (textboxes) above them.
So this removes the lists and unused styles.
But then I realised that a lot of the buttons we have are weird "Back" buttons that use javascript to emulate the back button of the browser.  These are really weird and completely superfluous, especially now we've fixed the breadcrumbs to allow people to go back to the "previous" page in a journey.
So this removes all the "Back" buttons that only work with Javascript, and the associated Javascript.
I also noticed some styling inconsistencies between the "Edit" link and "Delete" link-styled-button on the version history list (e.g. see https://rd-cms-staging.herokuapp.com/cms/culture-and-community/community/feeling-of-belonging-to-britain/versions).
So there are a couple of styling tweaks in here to make these look the same.
Looking at commits one-by-one it should all make sense.

@TheDoubleK good work, thanks! 👍

authors: TheDoubleK frankieroberto


text:
🛑 Pet Project is down

In 6111347, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in 90676c9.


text:
🛑 Pet Project is down

In 3276ac5, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in ad97c20.


text:
🛑 Pet Project is down

In 725a2fb, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in 32b9746.


text:
findall needs support for namespace prefixes

Given the following xml:
<ns:root xmlns:ns="http://mynamespace">
<ns:items>
<ns:item id="1"/>
<ns:item id="2"/>
<ns:item id="3"/>
</ns:items>
</ns:root>
Expect:
This should return three item elements:
var items = opfXml.findall('items/item');
or
There should be a way to specify the namespace or it should assume the namespace of the current element.
Actual:
This returns an empty array of elements.

Will this be fixed. Is there any alternative to resolve this other than stripping of the namespace prefix?

+1 really need this to work...

We are more than happy (and appreciate it) to take any community contributions for this feature :)

authors: Kami anuradhag apond mackbrowne

repo: racker/node-elementtree


text:
Feature/purgeaccount

Add terminator project in Lunr codebase

One major comment is this needs rebased to get all of the zones stuff out.

@audip please remove lunr/orbit/jobs/purge-accounts.py from this PR, it's my original pruge script and not used going forward.

I think this review would be easier to digest if it was split in to logical chunks for each sub-component, like:

splitting each client or into one PR for each
moving the test refactoring stuff to its own PR
etc…

That way each thing can be merged as its ready, instead of this being an all or nothing thing.

Is the volume zone stuff related to purging accounts?

Thanks for the feedback, I've opened a new PR #18 with the rebase

authors: audip buhman corystone thrawn01

repo: rackerlabs/lunr


text:
fix: fix small typo

fix a typo

It was really this https://github.com/hashicorp/go-getter?tab=readme-ov-file#subdirectories syntax which was dropped as being needed in https://github.com/kubernetes-sigs/kustomize/pull/3586 credit to @skrobul for finding the references.

authors: cardoe nicholaskuechler

repo: rackerlabs/understack


text:
feat: add color models

[!TIP]
The owner of this PR can publish a preview release by commenting /publish in this PR. Afterwards, anyone can try it out by running pnpm add radashi@pr<PR_NUMBER>.

Summary

This aims to be a very lightweight module for color parsing, formatting, and manipulation.
Parsing a color
To try parsing a string into a Color object:
import { parseColor, ColorHex, ColorRGB } from 'radashi'

parseColor('#fff', [ColorHex.parser, ColorRGB.parser])

You must pass ColorHex.parser, not ColorHex alone. The colorspace objects (ColorHex, ColorRGB, etc) are each a module namespace and should never be passed by reference. That would break tree-shaking for ColorHex and include all of its exports (parsing, formatting, conversions).
If you know a string's colorspace, parse it like this:
import { ColorHex } from 'radashi'

ColorHex.parse('#fff')

Formatting a color
const color = ColorHex.parse('#fff')
color.alpha = 0

ColorHex.format(color)
// => '#ffffff00'

Mapping a color
const color = ColorHex.parse('#fff')
// => Color { red: 1, green: 1, blue: 1, alpha: 1 }

mapColor(color, (value, name) => value * 0.5)
// => Color { red: 0.5, green: 0.5, blue: 0.5, alpha: 0.5 }

Declaring a color
import { toColorRGB } from 'radashi'

toColorRGB(255, 255, 255, 1)
// => Color { red: 1, green: 1, blue: 1, alpha: 1 }

Supported color types
More types can be added in the future (PRs welcome).

ColorHex
ColorRGB
ColorHSL
ColorLAB
ColorOKLCH

Related issue, if any:

Follow-up to #87
For any code change,

[ ] Related documentation has been updated, if needed
[ ] Related tests have been added or updated, if needed
[ ] Related benchmarks have been added or updated, if needed

Does this PR introduce a breaking change?

No

Just found https://github.com/Evercoder/culori
Might be best to simply reference them in the docs 🤔

repo: radashi-org/radashi


text:
Standalone CRL command

Since CRLs expire after (by default) 30 days, it is occasionally necessary to generate them without revoking any certificates. The new command performs this task.

Sorry, this PR accidentally included all of my previous, unrelated changes.

repo: radiac/caman


text:
Object keys should be marked as unique in spec

https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#collection-fields mentions that assets is a

Dictionary of asset objects that can be downloaded, each with a unique key.

Is that uniqueness constraint actually enforced by STAC? I can't seem to find any uniqueItems properties near the assets definition, but I'm a JSON schema newbie.

uniqueItems is for arrays, there's no equivalent for objects, I think.
Also, the spec talks about keys only, not unique objects. While I think the uniqueness is not part of the JSON spec, none of the JSON implementations I'm aware of supports multiple keys with the same name, including JSON Schema?!

repo: radiantearth/stac-spec


text:
Test and update installation requirements and instructions

Test installation in clean environment. Most installations have happened on Jupyter or environments I've already configured.
Need to ensure installation of:
numpy
mpmath
nlopt
Pykern and libEnsemble are listed in setup.py already, however, at least one user has verified that Pykern was not automatically installed when installing rsopt.
Extra installs:
sirepo: Shouldn't be required if you aren't running a supported accelerator code. I don't think this has been verified yet.
rsbeams:  Needed to run examples that use elegant

Installation procedures have been updated and documented as of 293479b4d6a67766d9e7ddaf1441cf44d7565986

repo: radiasoft/rsopt


text:
radicle-httpd: Add timestamp method to issue cob, and return from httpd endpoint

We currently don't return a creation timestamp of an issue from the httpd
https://github.com/radicle-dev/heartwood/blob/1f55d7a32750b3e63c56aad00370411b90420a29/radicle-httpd/src/api/v1/projects.rs#L392
Also there isn't a method on cobs::issue that would provide this
https://github.com/radicle-dev/heartwood/blob/1f55d7a32750b3e63c56aad00370411b90420a29/radicle/src/cob/issue.rs#L134
To show a time of creation on the web client, this would be a nice to have.

This will be addressed differently so we can close it

repo: radicle-dev/heartwood


text:
Typeahead example?

Hey everyone.
Anyone willing to share how to use declared Select Typeahead functionality? Do I need to bind it's value to my custom input or something? What to do with trigger? Hide it?

Setting textValue on <Select.Item> with complex children enabled the typeahead functionality for me. In my case, I was running into the issue because I have icons in my Select items, so typeahead would not work.
Alternatively, you can also wrapped the options’ text with <Select.ItemText> and that will be used for typeahead too.

repo: radix-ui/primitives


text:
خطای عدم اتصال

وقتی میخواهم نصب کنم این خطا رو اول کار میده و بعد که نصب شد notrunnig میده
Do you want to install the Latest version? [yes/no] default: yes): yes
--2023-10-18 15:17:45--  https://raw.githubusercontent.com/radkesvat/ReverseTlsTunnel/master/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8000::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-10-18 15:17:45 ERROR 404: Not Found.

لینک نصب تغییر کرده . خطای 404 میده
از صفحه اصلی دوباره لینک نصب رو کپی کنید

با همین لینکی که گذاشتید میزنم باز خطا میده :
bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/ReverseTlsTunnel/main/RtTunnel.sh)

repo: radkesvat/ReverseTlsTunnel