text:
[forwardport rolling] Fixed position control

🦟 Bug fix
Summary
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Looks like there may have a been an CI issue on this one?

authors: ahcorde mjcarroll


text:
🛑 Nexus: Fonts CDN is down

In ae584a7, Nexus: Fonts CDN (https://fonts-cdn.nexuspipe.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nexus: Fonts CDN is back up in 0f6becb after 16 minutes.

source: gharchive/issue

repo: ignore-me-lol/personal-uptime-monitor

license: MIT

license_type: permissive

license_source: github-api


text:
WindFree Switch doesn't work

Describe The Bug:

If I check the WindFree mode switch in Apple Home, it says it doesn't respond. My Samsung AC model is AF16M7970GFN. Is this have different api call preference?
To Reproduce:

Expected behavior:

Logs:
This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'acOptionalMode'). See https://homebridge.io/w/JtMGR for more info.

This log continuously appears.
Plugin Config:
{
    "name": "AC",
    "BaseURL": "https://api.smartthings.com/v1/",
    "AccessToken": "xxx-xxx-xxx-xxx-xxxx",
    "OptionalWindFreeSwitch": true,
    "platform": "Homebridge Samsung WindFree AC"
}

Screenshots:

Environment:

Plugin Version: v1.0.4
Homebridge Version: v1.8.2
Node.js Version: v18.19.0
NPM Version: v10.2.3
Operating System: Raspbian

This model is not supported. Maybe there's a different custom capability for windFree mode.

authors: AppStudioLB igorxmath


text:
Missing actor.id before 2015

Downloading gharchive from bigquery I found that some actor.id are missing before 2015 but I didn't understand why. Can you help me out?
Thank you in advance for your time!
Lorenzo

GitHub API format changed over the years, so there is no guarantee that it's consistent across all the archives, unfortunately: new fields were added, some were removed, etc.

Thanks a lot.

authors: LLucchini igrigorik


text:
Inconsistent Schema?

I've been fiddling with the archived data and I noticed something weird (again):
[
	{
		"actor": {
			"avatar_url": "https://secure.gravatar.com/avatar/36c356edfda9c51838bb9013a83e746a?d=%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
			"gravatar_id": "36c356edfda9c51838bb9013a83e746a",
			"id": 1117087,
			"login": "jamband",
			"url": "https://api.github.com/users/jamband"
		},
		"created_at": "2012-03-10T08:00:00Z",
		"id": "1528569590",
		"payload": {
			"description": "",
			"master_branch": "master",
			"ref": "contain_auth",
			"ref_type": "branch"
		},
		"public": true,
		"repo": {
			"id": 3634769,
			"name": "jamband/testProject",
			"url": "https://api.github.com/repos/jamband/testProject"
		},
		"type": "CreateEvent"
	},
	{
		"actor": "moloch--",
		"actor_attributes": {
			"blog": "http://rootthebox.com",
			"company": "[Buffer]Overflow",
			"email": "moloch@hushmail.me",
			"gravatar_id": "a65909227f4385974f7af051e4ac3e8d",
			"location": "Earth",
			"login": "moloch--",
			"name": "Moloch",
			"type": "User"
		},
		"created_at": "2012/03/10 22:36:55 -0800",
		"payload": {
			"description": "Game of Hackers",
			"master_branch": "master",
			"ref": "master",
			"ref_type": "branch"
		},
		"public": true,
		"repository": {
			"created_at": "2012/03/10 22:30:48 -0800",
			"description": "Game of Hackers",
			"fork": false,
			"forks": 1,
			"has_downloads": true,
			"has_issues": true,
			"has_wiki": true,
			"homepage": "http://rootthebox.com",
			"name": "RootTheBox",
			"open_issues": 0,
			"owner": "moloch--",
			"private": false,
			"pushed_at": "2012/03/10 22:36:55 -0800",
			"size": 0,
			"url": "https://github.com/moloch--/RootTheBox",
			"watchers": 1
		},
		"type": "CreateEvent",
		"url": "https://github.com/moloch--/RootTheBox/compare/master"
	}
]

These events are sequential as returned by githubarchive.org. The date format of the second event does not follow what is defined in the API spec, and the crawler won't be able to parse it. GitHub being GitHub I would image they would take more dilligence following their own specification, but hey...
The second, most important question I wanted to ask is related to the id key of the event: the first event above is the last one where it's ever present. Is the crawler still using the events API endpoint? Because I can still see id there (although the repository is still called repo and not repository).

Switched over to Events API - closing.

authors: alixaxel igrigorik


text:
长时间压力测试下会留存大量空闲的TCP连接

长时间运行后建立的连接数会越来越多并占用网络缓冲区内存，估计希望有主动设置连接超时的类似功能

当前有设置 keepalive，但是只单向设置了，后续会优化。感谢反馈。

可以尝试下最新版本吗？应该已经fix了。
ps：新版本有不兼容改动，主要是启动参数上的改动。

0.21新版在转发ShadowsocksR的时候存在无法正常转发的情况，0.14没有这个问题
0.21使用的的命令
./stlsv2 client --listen 0.0.0.0:34009 --server 1.1.1.1(海外ip):4639 --sni www.apple.com.cn --password  a9f32k
./stlsv2 server --listen 0.0.0.0:4639 --server 127.0.0.1(目的地):21002 --tls www.apple.com.cn:443 --password a9f32k
0.14使用的的命令
./stlsv1 client  0.0.0.0:34009  1.1.1.1(海外ip):4639  www.apple.com.cn
./stlsv1 server  0.0.0.0:4639  127.0.0.1(目的地):21002 www.apple.com.cn:443
如果需要tcpdump或者其他调试信息我可以方便去弄

是部分不正常吗？我这里配合 ss 使用可以正常工作（现在就在使用）。
我不确定是不是 tls1.3 的问题，可以帮我试试换个 tls1.2 的域名是不是能正常工作。
如果不能麻烦帮忙抓下包发我邮箱 谢谢

排除SSR协议的问题,换SS依然不能用0.20正常转发。
异常主要表现为流量没有即时转发到目的地，用Clash的延迟测试 访问 gstatic.com 或者其他网站啥的，只有部分请求到达了SS后端（类似高丢包的状态），但是shadow-tls两端的日志均为正常转发，应该有可能是sni的问题，目前不太清楚用啥sni能tls1.2
开了个临时环境做了下 tcpdump:
https://mega.nz/file/tp8m3QoK#_qJT05BWF8jkWU7ODUDL_9IFAbInYa5CJnVAW2uzmaA

可以试试调下代码里的 log level 为 DEBUG 再看日志

排除SSR协议的问题,换SS依然不能用0.21正常转发。 异常主要表现为流量没有即时转发到目的地，用Clash的延迟测试 访问 gstatic.com 或者其他网站啥的，只有部分请求到达了SS后端（类似高丢包的状态），但是shadow-tls两端的日志均为正常转发，应该有可能是sni的问题，目前不太清楚用啥sni能tls1.2
开了个临时环境做了下 tcpdump: https://mega.nz/file/tp8m3QoK#_qJT05BWF8jkWU7ODUDL_9IFAbInYa5CJnVAW2uzmaA

看了下包，没太看出来问题233
可以用腾讯云的试下，不过我这边用 www.apple.com.cn 也表现正常的。。

recommend using tracing_subscriber::EnvFilter instead of hardcoded with_max_level.

排除SSR协议的问题,换SS依然不能用0.21正常转发。 异常主要表现为流量没有即时转发到目的地，用Clash的延迟测试 访问 gstatic.com 或者其他网站啥的，只有部分请求到达了SS后端（类似高丢包的状态），但是shadow-tls两端的日志均为正常转发，应该有可能是sni的问题，目前不太清楚用啥sni能tls1.2
开了个临时环境做了下 tcpdump: https://mega.nz/file/tp8m3QoK#_qJT05BWF8jkWU7ODUDL_9IFAbInYa5CJnVAW2uzmaA

看了下包，没太看出来问题233 可以用腾讯云的试下，不过我这边用 www.apple.com.cn 也表现正常的。。

好的 我再测试一下

Closed due to inactivity. If the problem persists, please reopen it.

authors: HynoR ihciah zhenpingfeng

repo: ihciah/shadow-tls


text:
uview-plus表单校验

uview-plus form组件在正常表单时设置规则是ok的,但是当使用循环遍历的表单时,setRules后并没有生效,不知道这种是什么情况呢?是不是可以优化一下呢?

我简单写了个demo https://github.com/Soumns777/mini-test-v3，有时间的话看下单表单和循环多表单的校验规则区别呢?
单表单的时候可以正常校验必填和附加的其他规则,但是在多表单的时候只剩下了校验必填,丢失了其他规则的校验

https://github.com/Soumns777/mini-test-v3

setRules存在就是因为在小程序等场景下props不支持传递函数，你这个封装了一层v-model:formRules="item.rules"用这个来传递，又丢失了。

repo: ijry/uview-plus


text:
Thanks a bunch!

Thank you for emoji markdown codes 👍 😉

Thank you! ❤

authors: aronmarcus ikatyang

repo: ikatyang/emoji-cheat-sheet


text:
Update RAWS NESDIS.id of station SKN 499.8

it should be '327945' instead of '3.28E+05'

did you mean for this to be an issue?
I fixed that NESDIS.id to 327945E0

source: gharchive/pull-request


text:
🛑 Penyanyi VF V2 is down

In 46bd2e4, Penyanyi VF V2 (https://evobot-1.nexter32.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Penyanyi VF V2 is back up in 5f8c185.


text:
🛑 Penyanyi VF v3 is down

In c3bca29, Penyanyi VF v3 (https://discord-musicbot.nexter32.repl.co) was down:

HTTP code: 502
Response time: 226 ms

Resolved: Penyanyi VF v3 is back up in 7c16e06.


text:
Migrate from Laravel Mix to Vite

This pull request includes changes for migrating from Laravel Mix to Vite outlined in Migration Guide and automated by the Vite Converter.
Before merging, you need to:

Checkout the shift-71996 branch
Run composer update
Run npm install
Review all comments for additional changes
Thoroughly test your application (no tests?, no CI?)

Please send your feedback to shift@laravelshift.com or share the good vibes on Twitter.

:information_source: Laravel renamed the environment variables used by Mix to use a VITE_ prefix, instead of MIX_. While Shift automated this change throughout your code, you should check for any additional references which may not be included in your Git repository.

:information_source: Previously, Laravel configured several npm scripts for building assets. For Vite, Laravel configures a dev script for generating and watching your assets (for development) and build script for generating your assets (for production).
Shift automated this change by replacing commands using these scripts with their new Vite script. However, you may still be referencing these scripts in your code or in deployment scripts.

:information_source: Vite requires JavaScript files containing JSX to have a .jsx file extension. Shift did not detect any JSX in files with a .js extension under the resources folder. However, if you are using JSX, be sure the files have a .jsx extension.

:information_source: The new @vite Blade directive outputs <script> tags with the type="module" attribute. This attribute implicitly defers the script. This is a difference from Laravel Mix which may change the execution order of the JavaScript on your page.
If you experience JavaScript errors relating to undefined references, you may need to reorder your scripts or add the defer attribute to any inline <script> blocks on your page.

:warning: Vite generates frontend assets to the public/build folder. This folder is not tracked by Git within a default Laravel project. As such, Shift added this folder to your .gitignore file.
If you wish to track the generated frontend assets within your project, such as for ease of deployment, you may undo this commit by running git revert 124cf579.

:alembic: This Shift is still being refined. Please report any issues or suggestions to shift@laravelshift.com. Your feedback is what helps improve the experience for everyone.

repo: ilhamtaufiq/sandb


text:
Flake8

Closes #1

Needs automated flake8 run

repo: illallangi/Harvestr


text:
ROCm: Fix crashes when using dynamic local memory due to HIP clang bug

It seems that HIP support in clang >= 10 generates incorrect code in certain cases when using dynamic local memory of the form extern __shared__ T[]. This affects local accessors in hipSYCL that use this feature.
This PR replaces the extern __shared__ syntax on ROCm with a direct call to __amdgcn_get_dynamicgroupbaseptr() to obtain the dynamic local memory base pointer. This works as expected.
Note to self: Upon merging this must be cherrypicked into the sycl/1.2.1 branch and stable, unless stable is updated soon anyway.

Hi Aksel,
Thanks for pointing me at this PR
I'm running into either std::enable_enable_if_t errors, or this error:
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:457:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>

I ran git bisect, with this as the good commit d1111961257ab8a25e402505a7c5964efdb7ebb1 which was working for me.
It's this very merge that stopped it building: 6ee45d6dfc699bf26ab0f4a3141f79fd51485dad
I tried setting the work-group to 128 and 64 in the good commit too, but that also failed on MI50.
Cheers,
Tom

Hi Tom, can you please post the full output? Can you describe your setup in terms of host compiler (clang/gcc) version, and clang version?

It's CentOS 7.7, GCC 9.3 and LLVM 10.0.
This is the error on deee6171999dd05938b43f6299ca20f954cfcac6
$ CPATH=/cosma/local/gcc/9.3.0/include/c++/9.3.0/:$CPATH make
Scanning dependencies of target hipSYCL_cpu
[  3%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/application.cpp.o
[  7%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/device.cpp.o
[ 11%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/device_selector.cpp.o
[ 15%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/exception.cpp.o
[ 19%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/queue.cpp.o
[ 23%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/handler.cpp.o
[ 26%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/buffer.cpp.o
[ 30%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/task_graph.cpp.o
[ 34%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/accessor.cpp.o
[ 38%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/async_worker.cpp.o
[ 42%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/local_memory.cpp.o
[ 46%] Linking CXX shared library libhipSYCL_cpu.so
[ 46%] Built target hipSYCL_cpu
Scanning dependencies of target hipSYCL_rocm
[ 50%] Building CXX object src/sycl/CMakeFiles/hipSYCL_rocm.dir/application.cpp.o
In file included from /cosma/home/do006/dc-deak1/software/hipsycl-sept-02/src/sycl/application.cpp:28:
In file included from /cosma/home/do006/dc-deak1/software/hipsycl-sept-02/include/hipSYCL/sycl/detail/application.hpp:31:
In file included from /cosma/local/gcc/9.3.0/include/c++/9.3.0/memory:62:
In file included from /cosma/local/gcc/9.3.0/include/c++/9.3.0/bits/stl_algobase.h:64:
In file included from /cosma/local/gcc/9.3.0/include/c++/9.3.0/bits/stl_pair.h:59:
In file included from /cosma/local/gcc/9.3.0/include/c++/9.3.0/bits/move.h:55:
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:457:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:458:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes...) _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:461:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:462:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes...) & _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:462:45: error: use of undeclared identifier '_GLIBCXX_NOEXCEPT_QUAL'
    struct is_function<_Res(_ArgTypes...) & _GLIBCXX_NOEXCEPT_QUAL>
                                            ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:465:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:466:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes...) && _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:466:46: error: use of undeclared identifier '_GLIBCXX_NOEXCEPT_QUAL'
    struct is_function<_Res(_ArgTypes...) && _GLIBCXX_NOEXCEPT_QUAL>
                                             ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:469:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:470:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes......) _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:473:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:474:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes......) & _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:474:48: error: use of undeclared identifier '_GLIBCXX_NOEXCEPT_QUAL'
    struct is_function<_Res(_ArgTypes......) & _GLIBCXX_NOEXCEPT_QUAL>
                                               ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:477:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:478:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes......) && _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:478:49: error: use of undeclared identifier '_GLIBCXX_NOEXCEPT_QUAL'
    struct is_function<_Res(_ArgTypes......) && _GLIBCXX_NOEXCEPT_QUAL>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:481:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:482:38: error: expected '(' for function-style cast or type construction
    struct is_function<_Res(_ArgTypes...) const _GLIBCXX_NOEXCEPT_QUAL>
                            ~~~~~~~~~^
/cosma/local/gcc/9.3.0/include/c++/9.3.0/type_traits:485:49: error: expected ',' or '>' in template-parameter-list
  template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
                                                ^
                                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx900.
make[2]: *** [src/sycl/CMakeFiles/hipSYCL_rocm.dir/application.cpp.o] Error 1
make[1]: *** [src/sycl/CMakeFiles/hipSYCL_rocm.dir/all] Error 2
make: *** [all] Error 2

Hi Tom, this is very weird. This PR doesn't even affect any of the files the error message mentions. To me it looks like there is some incompatibility between clang and gcc libstdc++ - it seems before it even starts compiling actual hipSYCL source code, it errors in the very first STL include we have.
Why this wouldn't trigger with earlier commits I don't know. Are you sure the build system is set up exactly the same way as for earlier commits? Is this clang 10.0 release or some development branch?

CLANG 10.0 release.
It's set up the same because I was using git bisect to try out the different commits.

@sbalint98 Can you check if you can reproduce the issue? Ideally in some container so that you can start with a clean system configuration and can send the build recipe to me if you've reproduced the issue. Maybe this has to do with the manual CPATH setting or something like that..
@tomdeakin If you feel a bit more experimental you could try the branch with the new runtime - it does not need a device compiler to build hipSYCL anymore, so you might be able to circumvent the issue that way. If the issue doesn't pop up there as well, I don't think we need to invest much time in root causing this, as the focus is to get the new runtime merged asap anyway for a number of reasons.

HI, @tomdeakin Can you help me to reproduce the error? I have started with using a singularity container where I have installed llvm10.0.0 and gcc 9.3.0 with spack. But unfortunately, I am not able to reproduce the error because gcc fails to find some headers. I did the following:
I ran cmaek with the these flags (it is copied from the hipsycl-install.sh script):
Singularity centos-test:/tmp/hipSYCL-installer/build> cmake
-DCMAKE_C_COMPILER=/opt/gcc-9.3.0/bin/gcc
-DCMAKE_CXX_COMPILER=/opt/gcc-9.3.0/bin/g++
-DWITH_CPU_BACKEND=ON
-DWITH_CUDA_BACKEND=OFF
-DWITH_ROCM_BACKEND=ON
-DLLVM_DIR=/opt/hipSYCL/llvm/lib/cmake/llvm
-DROCM_PATH=/opt/hipSYCL/rocm
-DCLANG_EXECUTABLE_PATH=/opt/hipSYCL/llvm/bin/clang++
-DCLANG_INCLUDE_PATH=/opt/hipSYCL/llvm/lib/clang/10.0.0/include -DCMAKE_INSTALL_PREFIX=/opt/hipSYCL
-DROCM_LINK_LINE='-rpath $HIPSYCL_ROCM_LIB_PATH -rpath $HIPSYCL_ROCM_PATH/hsa/lib -L$HIPSYCL_ROCM_LIB_PATH -lhip_hcc -lamd_comgr -lamd_hostcall -lhsa-runtime64 -latmi_runtime -rpath $HIPSYCL_ROCM_PATH/hcc/lib -L$HIPSYCL_ROCM_PATH/hcc/lib -lmcwamp -lhc_am' ..

The output of CMake was:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /opt/gcc-9.3.0/bin/gcc
-- Check for working C compiler: /opt/gcc-9.3.0/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/gcc-9.3.0/bin/g++
-- Check for working CXX compiler: /opt/gcc-9.3.0/bin/g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:17 (set):
  implicitly converting 'INTEGER' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building hipSYCL against LLVM configured from /opt/hipSYCL/llvm/lib/cmake/llvm
-- Selecting clang: /opt/hipSYCL/llvm/bin/clang++
-- Using clang include directory: /opt/hipSYCL/llvm/lib/clang/10.0.0/include
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/hipSYCL-installer/build

The output of CPATH=/opt/gcc-9.3.0/include/c++/9.3.0/:$CPATH  make
Scanning dependencies of target hipSYCL_cpu
[  3%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/application.cpp.o
[  7%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/device.cpp.o
[ 11%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/device_selector.cpp.o
[ 15%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/exception.cpp.o
[ 19%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/queue.cpp.o
[ 23%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/handler.cpp.o
[ 26%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/buffer.cpp.o
[ 30%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/task_graph.cpp.o
[ 34%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/accessor.cpp.o
[ 38%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/async_worker.cpp.o
[ 42%] Building CXX object src/sycl/CMakeFiles/hipSYCL_cpu.dir/local_memory.cpp.o
[ 46%] Linking CXX shared library libhipSYCL_cpu.so
[ 46%] Built target hipSYCL_cpu
Scanning dependencies of target hipSYCL_rocm
[ 50%] Building CXX object src/sycl/CMakeFiles/hipSYCL_rocm.dir/application.cpp.o
In file included from /tmp/hipSYCL-installer/src/sycl/application.cpp:28:
In file included from /tmp/hipSYCL-installer/include/hipSYCL/sycl/detail/application.hpp:31:
In file included from /opt/gcc-9.3.0/include/c++/9.3.0/memory:62:
/opt/gcc-9.3.0/include/c++/9.3.0/bits/stl_algobase.h:59:10: fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated when compiling for gfx900.
make[2]: *** [src/sycl/CMakeFiles/hipSYCL_rocm.dir/application.cpp.o] Error 1
make[1]: *** [src/sycl/CMakeFiles/hipSYCL_rocm.dir/all] Error 2
make: *** [all] Error 2

It looks like that in my version of gcc9.3.0 the missing header (bits/c++config.h) is located in the x86_64-pc-linux-gnu subfolder.
After running : CPATH=/opt/gcc-9.3.0/include/c++/9.3.0/x86_64-pc-linux-gnu/:$CPATH  make
the stddef.h header is missing
Scanning dependencies of target hipSYCL_rocm
[ 50%] Building CXX object src/sycl/CMakeFiles/hipSYCL_rocm.dir/application.cpp.o
In file included from /tmp/hipSYCL-installer/src/sycl/application.cpp:28:
In file included from /tmp/hipSYCL-installer/include/hipSYCL/sycl/detail/application.hpp:31:
In file included from /opt/hipSYCL/llvm/bin/../include/c++/v1/memory:652:
In file included from /opt/hipSYCL/llvm/bin/../include/c++/v1/type_traits:417:
/opt/hipSYCL/llvm/bin/../include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
#include_next <stddef.h>
              ^~~~~~~~~~
1 error generated when compiling for gfx900.

this header is found in my gcc installation at: /opt/gcc-9.3.0/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/ so I added this path as well to the CPATH variable.
Now running: CPATH=/opt/gcc-9.3.0/include/c++/9.3.0/x86_64-pc-linux-gnu/:/opt/gcc-9.3.0/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/:$CPATH  make
but this returns the same error message.
Can you help me with how you have installed your gcc9.3.0, and rocm? And if you have faced the same problems, how did you overcome them? Or do you have some suggestions regarding how to proceed?

@sbalint98
ROCm was installed directly on the node by the sysadmin.
GCC 9.3.0 would have been built from source, and installed on a shared filesystem, by the sysadmin, with the CPATH and PATH etc set to the usual locations.
The base OS was CentOS 7.7.
@illuhad I tried just now the develop branch on the system. I used GCC 7 to avoid building Boost myself, but it runs into an issue there with std::aligned_alloc not being defined in GCC 7 - a quick Google seems to show it was added in GCC 8.
I'll try again building Boost myself...

authors: illuhad sbalint98 tomdeakin

repo: illuhad/hipSYCL


text:
🛑 Web Student/Skripsi is down

In 4f1496b, Web Student/Skripsi (https://student.stis.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web Student/Skripsi is back up in 8f81bb4 after 8 minutes.

repo: im-perativa/stis-uptime


text:
aboveBarData: paint area disappears after flickering, while  belowBarData stay persistant in LineChart

belowBarData: BarAreaData(show: true,
colors: [
const Color(0xff12c2e9).withOpacity(0.4),
const Color(0xffc471ed).withOpacity(0.4),
const Color(0xfff64f59).withOpacity(0.4),
],
cutOffY: double.parse(_avgValue[j].toStringAsFixed(2)),
applyCutOffY: true,),
aboveBarData: BarAreaData(show: true,
colors: [
const Color(0xff12c2e9).withOpacity(0.4),
const Color(0xffc471ed).withOpacity(0.4),
const Color(0xfff64f59).withOpacity(0.4),
],
cutOffY: double.parse(_avgValue[j].toStringAsFixed(2)),
applyCutOffY: true,),

Duplicate, #440

authors: imaNNeoFighT nilotpalkapri


text:
Transferring 4D data to imagej gets the dimensions wrong

When I open the first embryo focal point in napari and then transfer it to ImageJ, it looks like this:

😬
Maybe a pyimagej thing? I didn't test with other pyimagej versions.

I will need to investigate a little more, but what's happening here is the embryo dataset with dimension order ('pln', 'row', 'col') and shape (205, 434, 425) is being mangled into ('col', 'pln', 'row') with shape (425, 205, 434) producing an unintended XZ orthogonal projection. I think I will need to write in a special assumption for 3 dimensional datasets.

authors: elevans hinerm

repo: imagej/napari-imagej


text:
Elements no longer in the DOM should be removed on refresh

While poking around with removing elements, I noticed that elements that have been removed from the DOM still have their listeners and such stored in the Context.
These elements are never truly cleaned up and remain because there's a reference to them from the waypoint object.
Can we possibly remove the waypoints on refresh if we notice that the elements are no longer in the DOM?

Here's an untested snippet: https://gist.github.com/patrick-mcdougle/0d72e18f9f52cc586a6c025f7ab6745f/revisions

repo: imakewebthings/waypoints

license: mit

license_source: bigquery


text:
Upgrade addon once Ember 2.12 released

Once Ember 2.12 will be released I will upgrade addon to the latest version of Emebr-cli.

What about import perfect-scrollbar from the npm package instead of bower?
The trend is to completely remove bower usage.

@ludalex yes I will make this change to import perfect-scrollbar from node_modules.

authors: imanhodjaev ludalex

repo: imanhodjaev/ember-perfect-scroll


text:
请问预训练用的语料可以分享一下吗 或者说明一下语料清洗的方法

RT,因为机器配置的问题没法用放出来的预训练模型finetune,想尝试用同样的语料在小一些的模型配置下从头训练.

训练语料来源 readme 里有描述
数据预处理可以参考 https://github.com/imcaspar/gpt2-ml/tree/master/dataset


text:
🛑 Universidades is down

In 5e3d5e5, Universidades (https://universidades.imedicalcloud.net/$SECRET_ENDPOINT_IMEDICAL) was down:

HTTP code: 503
Response time: 472 ms

Resolved: Universidades is back up in bb2aa51.

repo: imedicalservices/statuspage


text:
二级菜单被遮挡

你好，我在使用tauri+vue，自定义右键菜单发现一个问题：一级菜单可以很好的自动调整出现位置以完整展示，但是二级菜单仍存在问题：

这个库非常简洁好用，我一个前端小白都跑的通😘

感谢反馈问题！已经修复了菜单溢出问题，您可以升级到1.3.4。


text:
关于键内上/下滑字体的大小、方案绑定布局的需求

用了2天，挺好用的，为开发点赞！
不过目前我遇到以下几个问题，希望功能上能加强
需求（需求程度从高到低）：

上/下滑的字太小颜色也不明显看不清，我看单键的剩余空间是够的，希望能设置上/下滑字的大小、颜色；
输入方法跟键盘布局绑定，切方案时把布局一起切换掉，比如切到9宫格方案键盘布局也切到对应的9宫格；
还是上下滑，中文方案的上下滑用中文符号，切英文时延用上下滑，但是中文符号换成英文符号，目前的问题是，换成英文后就没有上下滑了，还要切键盘找符号输入。

2.3.0似乎已经可以支持字体大小设置了，就是不知道怎么方便的修改，说了是个样式参数，不过目前使用内置26键盘，只想改划动字体大小

authors: gfgkmn tianhao

repo: imfuxiao/Hamster


text:
AppSync subscription support

I think that more and more people use AppSync nowadays, so it would be great to support its subscription via Altair as well.
Tried to set it and finally when in the subscription URL is put wss but with AppSync endpoint and not with the realtime URL
I got some response but says  Error during WebSocket handshake: Unexpected response code: 404
With the realtime URL receives: Both, the "header", and the "payload" query string parameters are missing
Also found this one https://github.com/imolorhe/altair/issues/417 but seems it has been closed with no solution.
Am I doing something wrong or it's not supported yet?

Hey @Sunac, do you have (or know about) a publicly available graphql server using aws appsync that I could use for testing the implementation for this?

Thanks @imolorhe  !! Unfortunatelly, this project is not publicly available but will try to get some that could be used.

@Sunac I've deployed the changes with AppSync integration here: https://s18767-altair-imolorhe.surge.sh/
Please test the changes and let me know if it works.

@imolorhe I am looking for something like that. I have tried to test your site, but it returns ```
An error occurred in subscription.
Error: can't access property "url", t is undefined
I am trying to connect mine one which is using JWT

@joseph-so nice that you're testing it. I need it. Could you provide more of the error stack?

@imolorhe ,
I am using the Firefox developer edition. The application is using JWT for the authentication
An error occurred starting the subscription. TypeError: can't access property "url", t is undefined
    n https://s18767-altair-imolorhe.surge.sh/main.js:1
    createSubscriptionHandshakeLink https://s18767-altair-imolorhe.surge.sh/main.js:1
    execute https://s18767-altair-imolorhe.surge.sh/main.js:1
    e/this.startSubscription$< https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    notifyNext https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    notifyNext https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    r https://s18767-altair-imolorhe.surge.sh/main.js:1
    _trySubscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    subscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    a https://s18767-altair-imolorhe.surge.sh/main.js:1
    _trySubscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    subscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    a https://s18767-altair-imolorhe.surge.sh/main.js:1
    _innerSub https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    r https://s18767-altair-imolorhe.surge.sh/main.js:1
    _trySubscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    subscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    call https://s18767-altair-imolorhe.surge.sh/main.js:1
    subscribe https://s18767-altair-imolorhe.surge.sh/main.js:1
    a https://s18767-altair-imolorhe.surge.sh/main.js:1
    _innerSub https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _tryProject https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    d https://s18767-altair-imolorhe.surge.sh/main.js:1
    __tryOrUnsub https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _tryNext https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    observe https://s18767-altair-imolorhe.surge.sh/main.js:1
    dispatch https://s18767-altair-imolorhe.surge.sh/main.js:1
    _execute https://s18767-altair-imolorhe.surge.sh/main.js:1
    execute https://s18767-altair-imolorhe.surge.sh/main.js:1
    flush https://s18767-altair-imolorhe.surge.sh/main.js:1
    schedule https://s18767-altair-imolorhe.surge.sh/main.js:1
    schedule https://s18767-altair-imolorhe.surge.sh/main.js:1
    schedule https://s18767-altair-imolorhe.surge.sh/main.js:1
    scheduleMessage https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    notifyNext https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    notifyNext https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    dispatch https://s18767-altair-imolorhe.surge.sh/main.js:1
    sendRequest https://s18767-altair-imolorhe.surge.sh/main.js:1
    template https://s18767-altair-imolorhe.surge.sh/main.js:1
    ba https://s18767-altair-imolorhe.surge.sh/main.js:1
    i https://s18767-altair-imolorhe.surge.sh/main.js:1
    o https://s18767-altair-imolorhe.surge.sh/main.js:1
    __tryOrUnsub https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    _next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    next https://s18767-altair-imolorhe.surge.sh/main.js:1
    emit https://s18767-altair-imolorhe.surge.sh/main.js:1
    DR https://s18767-altair-imolorhe.surge.sh/main.js:1
    ba https://s18767-altair-imolorhe.surge.sh/main.js:1
    i https://s18767-altair-imolorhe.surge.sh/main.js:1
    O https://s18767-altair-imolorhe.surge.sh/main.js:1
    invokeTask https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
    onInvokeTask https://s18767-altair-imolorhe.surge.sh/main.js:1
    invokeTask https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
    runTask https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
    invokeTask https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
    p https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
    h https://s18767-altair-imolorhe.surge.sh/polyfills.js:1
main.js:1:2138721

I have followed https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html to get up the authentication header as
{
    "Authorization":"<JWT_TOKEN>",
    "host":"<application_url>"
}

I have also set up the corresponding in the HTTP Header, so I can confirm the value is correct (I can get the Query and the Schema Document working)
P.S. I am looking for a simple way to confirm the AppSync developed by my colleague is correct before I start to write my own code.

@joseph-so For the appsync subscription, I'm making use of https://github.com/awslabs/aws-mobile-appsync-sdk-js
You should only need to set the connection parameters with something like this:
{
    "aws_project_region": "us-west-2",
    "aws_appsync_graphqlEndpoint": "https://<id>.appsync-api.us-west-2.amazonaws.com/graphql",
    "aws_appsync_region": "us-west-2",
    "aws_appsync_authenticationType": "API_KEY",
    "aws_appsync_apiKey": "<api-key>"
}

.. and provide the same graphql endpoint as the URL in Altair and the subscription URL as well. You shouldn't need to set any headers. You should have the URLs as https:// as well, and not wss://
If it's possible, you could also checkout the simolorhe/implement-app-sync-subscription-provider branch locally and run Altair locally (from packages/altair-app). That would yield better error stacks that would be better to debug with. You could also end up debugging yourself.

@imolorhe
Thanks a lot for your reply. However, our AppSync is implemented with the OpenID Connect, which cannot use API-KEY

I don't think it only works with the API_KEY authentication type. What I'm just saying is that the data you pass in the connection parameters should be a valid aws export config

@imolorhe YOU'RE THE BEST :1st_place_medal:
Sorry, I was off for several days and spotted it today. Tested it and looks fine :+1:
I'm finally able to use my fav Altair for subscription as well.
Thanks a lot!

Awesome! Thanks for confirming @Sunac! Was it straightforward to work with? Are there any things to take note of? Can you post a snapshot of the valid config you used (remove sensitive aspects replaced with dummy before posting)?
I'd need to add that to the docs and ensure things are working as expected (since I can't test or use it myself 😅 )

@imolorhe Thank you!
Sure, I'll share with you my try. Basically, I just did what you already mentioned here: https://github.com/imolorhe/altair/issues/1352#issuecomment-725375052

So, to start receiving subscriptions this was enough. Didn't try yet to optimize the config but this works fine :).
It could be mentioned that the client uses MQTT over WebSockets (checked network) as full mutation payload is received and not only the selection set from my subscription as you can see in the response. That could be useful.
More details could be found here: https://docs.aws.amazon.com/appsync/latest/devguide/aws-appsync-real-time-data.html

Thanks for sharing. I'll most likely be using these screenshots as-is in the docs as well 🙂

Now in v3.0.0

I don't think it only works with the API_KEY authentication type. What I'm just saying is that the data you pass in the connection parameters should be a valid aws export config

Hi @imolorhe, I have spent sometimes to understand the code and found out that you have allowed apiKey to be passed but not the jwtToken. That is the reason why I got the authentication fail.
I have created a new issue and pull request for you to review. Thanks a lot

I don't think it only works with the API_KEY authentication type. What I'm just saying is that the data you pass in the connection parameters should be a valid aws export config

Hi @imolorhe, I have spent sometimes to understand the code and found out that you have allowed apiKey to be passed but not the jwtToken. That is the reason why I got the authentication fail.
I have created a new issue and pull request for you to review. Thanks a lot

@joseph-so awesome! I'll take a look.

@joseph-so awesome! I'll take a look.

authors: Sunac imolorhe joseph-so

repo: imolorhe/altair


text:
Minimal Hugginface Example for OpenChat

Hi, I am interested in evaluating OpenChat (https://github.com/evalplus/evalplus/issues/60, https://github.com/evalplus/evalplus/issues/61) and want to understand what could be a minimal and self-contained HuggingFace example for me to follow.
cc: @imoneoi

here is my working code in python 3.8.10 ubuntu 20.04
Im using thebloke's quantised version (4Gb) https://huggingface.co/TheBloke/openchat-3.5-0106-GPTQ on rtx3090 but I think it needs far less resources
this version has streaming input and remembers context between turns
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
import transformers
from transformers_stream_generator import init_stream_support
import warnings
warnings.filterwarnings("ignore", category=UserWarning, module="transformers")
transformers.logging.set_verbosity_error()

init_stream_support()
model_name_or_path = "/home/sujit/Downloads/text-generation-webui-main/models/TheBloke_openchat-3.5-0106-GPTQ"
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,device_map="cuda")
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
context=""

while True:
    prompt=""
    while prompt=="":
        prompt=input("User: ")
    prompt=context+" User: "+prompt+"<|end_of_turn|>\nAssistant: "
    input_ids = tokenizer(prompt, return_tensors='pt').input_ids.cuda()
    try:
        generator =  model.generate(inputs=input_ids, temperature=0.1, do_stream=True, do_sample=True, top_p=0.15, top_k=20, max_new_tokens=512, stream=True)
    except:
        break
    output = words = ""
    last_tokens = last_decoded_tokens = []

    for index, x in enumerate(generator):
        if prompt=="": break
        tokens = x.cpu().tolist()
        tokens = last_tokens + tokens
        word = tokenizer.decode(tokens)
        if "�" in word:
            last_tokens = tokens
        else:
            if " " in tokenizer.decode(
                last_decoded_tokens+tokens,skip_special_tokens=True):
                word = " " + word
            last_tokens = []
            last_decoded_tokens = tokens
            if word!="<|end_of_turn|>":
                print(word,end="")
                output = output+word
            else:
                context=prompt+output+word
                print()
                break

authors: ganler sujitvasanth

repo: imoneoi/openchat


text:
Оператор безопасной навигации

Чтобы можно было игнорировать NullReferenceException при обращении к членам класса:
var a = new SomeObject()
a.Data.Members[1].Fields["x"].Values.First()

Вместо оператора . можно использовать .?, а вместо |> - оператор ?> или |>?.
Это будет хотя бы одной фишкой, которую C# делать не умеет, а мы умеем.
Правда, нужно определиться с типом возвращаемого значения. @ForNeVeR, как считаешь, если последнее поле - valuetype или примитив, оно должно вернуть default(T) или default(Nullable<T>)?

В C# уже реализовали. Нужно тоже сделать.
Для valuetype тип T должен превращаться в Nullable<T>.

Оказалось сложнее, чем я предполагал.
Например, есть выражение: a.b?.c.d. Оно должно развернуться в следующее:
let tmp = a.b
if tmp != null then
    tmp.c.d
else
    default T

Получается, что нам нужно во-первых принять решение о разворачивании выражения в момент обработки (...).d, и кроме того переписать поле Expression у ветки (...).c.
Либо же, можно извращаться на уровне вывода IL-кода, добавляя безусловные переходы при сравнении с null - но тогда нужно грамотно расставлять метки.
В обоих случаях нужно определять "границы" того, какое выражение защищается безопасным оператором:
 // (...).d уже не безопасен
(a?.b + c).d

Попробую разобраться с этим в сентябре.

repo: impworks/lens


text:
评论框上建议添加个不再关注按钮之类的

评论框上建议添加个[不再关注]按钮之类的

万一在评论吵起来就完了....

这个我最开始也考虑过了。但是 GitHub 没有相关 API。

GET /repos/:owner/:repo/notifications 的subject.url里关联了issue , 配合PUT /notifications/threads/:id/subscription 应该可以取消订阅, 但查询接口支持的参数太少.

这些我之前都测试过了，问题在于你在收到第一条通知前是拿不到 thread id 的。
还有一个 mute 整个 repo 的接口倒是可以直接用，但是 mute 了之后别人 @ 你你也收不到了。

第一条通知前 不是说明还没开始讨论起来吗? 这时没有取消问题不太吧.

authors: imsun ystyle

repo: imsun/gitment


text:
Design issues and Overflow

Hi,
Can you please adapt your code?

Can we have the option to remove the bold text when we show Flag+Country Name or whatever?

Flags size are different;

Can we have the option to change the padding? The actual option don't work;

When I have Flag+Country Name and something else on the left size (like icon or whatever), the countries with big name get overflow/error. Can they please go Flexible/Multiple lines?

All the above should be easy. THANK YOU for this awesome lib.

Also please make the possibility to disable the touch because we can use it to read-only from database using country code, this is important.
Thanks you @imtoori !

I've been busy, but now I'm trying to keep up.
I'll address this issue asap. Thank you :)

There is the property TextStyle
I'll need to take a look
It does work, maybe there is some other problem
Added the property textOverflow
Added the property enabled. Set it to false to have it read-only

Hi,
the enabled property is ignored if property builder is used. If that's intentional, how to enable read-only wile using builder?

authors: FilipeOS KrisjanisE imtoori

repo: imtoori/CountryCodePicker


text:
"disagrees this is" sometimes showing disagreement with parent taxon of ID, not actual taxon of ID

Two examples:
https://www.inaturalist.org/observations/10039273

https://www.inaturalist.org/observations/10018791

bouteloua says "I have seen quite a few explicit disagreement issues such as this. They're usually fixed by "refreshing" the observation in some small way, e.g. voting and rescinding a DQA vote, adding/deleting a second ID."

...but any steps to reproduce? Does it happen consistently in any situation?

No reports yet. I can take this down until we do but wanted to have a repository for it.

A variation, where edanko disagrees that it is flies, but selected a subsection of flies. edanko had the previous leading ID, then replaced it with a new ID, and now it is showing explicit disagreement with the parent taxon (instead of the earlier taxon).
https://www.inaturalist.org/observations/1971924

I was able to replicate and (I hope) fix Carrie's bug, but I still can't replicate the previous situations.

I've asked cassi and Stephen to send me any details of how they made the IDs. cassi's pretty sure she made it directly on the observation (she's subscribed to the taxon) but doesn't remember much else.
Should we close until we get some more reports and can replicate?

Let's get these latest changes out first and see if they fix the problems I couldn't replicate.

https://www.inaturalist.org/observations/2665096
I can't remember what displayed immediately after making the ID.
I edited the ID comment field to add more text and that's when I noticed it.
Also, strangely, showing up as Casual.

I can't replicate this bug with the sequence of IDs displayed in any of the original obs reported. I'm pretty sure I fixed the one that Carrie reported. The last one Cassi reported seems to be working, right? Or if something weird happened it's not happening any more,

authors: boucur carrieseltzer kueda tiwane

repo: inaturalist/inaturalist


text:
Switch YIR publications to GBIF literature endpoint

We're currently hitting https://www.gbif.org/api/resource/search but while that works, it doesn't seem to be officially supported anymore, so we should switch to https://www.gbif.org/developer/literature.

I took a stab at this and have a WIP pr here https://github.com/inaturalist/inaturalist/pull/3887 but I do have a question..
Between the two endpoints, the responses seem to be the same except for the _gbifDOIs key. In the new response, the 'gbifDOI' is found in the returned 'tags'.
non official api example call
results in:
"_gbifDOIs": [
  "doi:10.15468/dl.ruflo8"
]

official api example call
results in:
  "tags": [
    ...,
    "gbifDOI:10.15468/dl.ruflo8",
  ]

The returned string has a different prefix also doi: vs gbifDOI:.
Does this prefix matter? I'm not familiar with what uses this value
My spec currently fails with
Diff:
       @@ -1,4 +1,4 @@
       -"_gbifDOIs" => ["doi:10.15468/dl.rwjrbf"],
       +"_gbifDOIs" => ["gbifDOI:10.15468/dl.rwjrbf"],

Thanks for your work on this so far, @thatkaiguy.

Does this prefix matter?

Yes. These DOI get used at https://www.inaturalist.org/stats/2022#publications, where each publication has links to these GBIF data DOIs via https://dx.doi.org. This lets people confirm that iNat records were included in the data export that paper cited. However, note that https://dx.doi.org/doi:10.15468/dl.rwjrbf redirects correctly, but https://dx.doi.org/gbifDOI:10.15468/dl.rwjrbf does not, so we should not store that gbifDOI prefix unless we update the frontend code too... which will break Year In Review for past years, as the generated data is static. That prefix is not really necessary, though (https://dx.doi.org/10.15468/dl.rwjrbf redirects just fine), so I would actually just remove it. That will allow those dx.doi.org redirects to work and won't mess with how the frontend code works.

authors: kueda thatkaiguy


text:
Add write_dwc_wi()

See
https://github.com/inbo/camtraptor/issues/129
https://github.com/Rafnuss/camtraptor/pull/1
https://github.com/Rafnuss/camtraptor/commit/33fe5fb2d4d6ecef4350a6cbf2f1b07096479053

I ran the validator on my example (https://www.gbif.org/tools/data-validator/3406cab0-595c-4034-98c9-50e19d0f0ef0 and https://www.gbif.org/tools/data-validator/c16487f0-bb9d-47bf-91da-26a25bc8bc10)

Do I need to round the coordinate to 5 digits?
I guess it's ok to leave them without country.
the Taxon match higherrank issues is likely to be due to the subspecies added by WI. I guess it's fine to leave it as such, right?
I'm not sure the validation works for the dwc_audubon.

When uploading the exported file on the gbif test I got the following issues with the Audubon Media Description extensions

dcterms:identifier : mendatory. Suggestion to use .data$image_id
mediaID not mapped to anything. Remove?

image_id exported by WI is actually not unique to an occurence but to an image, such that if multiple species/individuals are tagged on the same pictures, they will appear multiple times in images.csv. I have contacted them to ask about this issue and will try to follow-up but I'm afraid that they don't really care about that and we won't get a unique identifer per occurence.

Deprecated with #145

repo: inbo/camtraptor


text:
Unable to load Maven meta-data from https://jcenter.bintray.com/com/pusher/pusher-java-client/maven-metadata.xml.

i had this issue when i upgraded my flutter project to flutter 3.3.6

Hi @omar-hadek, the pusher_channels is pure dart implementation of pusher-channels client. I believe that you are using the oficial client: https://github.com/pusher/pusher-channels-flutter

authors: andrewsmedina omar-hadek


text:
Redesign

WIP: Replaced out of date Bootplus framework for Material Design Lite.
Haven't touched much of the site, just frameworking right now.
WIP PR, currently looks like:

Redesign is out of date. New one in PR #4

repo: indentlabs/Indent


text:
Milestone 9. Add devise

Milestone 9. Add devise
For this milestone, the following features have been implemented
New Gems installed

devise -> Library that allows user authentication
letter_opener -> Library that handles email confirmation
font-awesome -> Library of icons and animations using SASS

Devise Setup

Removed current_user from ApplicationController
Generated devise default views
Run migration to add authentication fields to Users

Devise Views
Customized views to handle the following behaviors:

Login -> Start session as user using a combination of email and password
Sign up -> Create user with name, email, and password with confirmation
Edit -> Edit user and add their detailed fields: photo and bio.

UI improvements

Added Logo
Added Navbar with links for login and logout
Use of Font-Awesome library to include icons in app

@AshakaE Thank you for your kind review. I'll merge my feature right away.
Best regards and happy coding! 💻 😃


text:
Get docs version from env var instead of git branch

Previous method of determining the docs version was a bit too clever for it's own good and did not produce the expected results ('unknown_version' was returned instead of the expected 'latest').
This PR simplifies the algorithm: it simply uses environment variables read from docs/.env.

Now that you mention it I need to re-add .env to .gitignore otherwise there will be conflicts in the merge from main > development

@sergiomsantos found a better solution: leverage sphinx-build -D argument that enables overriding variables in conf.py.
My previous suggestion of setting a .env would not work because there would always be conflicts when merging/rebasing like you've mentioned in your previous comment.

repo: inductiva/inductiva


text:
Add patch properties by dt ID and tenant ID

Created by: @kilimandzsaro Feb 16 2021 at 22:07 CET
Last updated: Jul 07 2021 at 09:28 CET
ClickUp ID: IK-568

Closed: Feb 17 2021 at 18:07 CET

repo: indykite/jarvis-sdk-python


text:
我不知道是不是我的问题。

不是很稳定呀。
(／_＼)大怨种

.


text:
[Bug]: Unable to run.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

RAGFlow workspace code commit ID
09-12-2024 version
RAGFlow image version
09-12-2024 version.
Other environment information
Windows wsl, i7, 4060.

Actual behavior
ashu@MSI:~$ cd ragflow/docker
ashu@MSI:~/ragflow/docker$ docker compose -f docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 71/12
✔ mysql Pulled                                                                                421.8s
✔ ragflow Pulled                                                                                1148.0s
✔ redis Pulled                                                                                271.6s
✔ es01 Pulled                                                                                1195.7s
✔ minio Pulled                                                                                291.3s
[+] Running 10/10
✔ Network docker_ragflow      Created                                                                                0.0s
✔ Volume "docker_minio_data"  Created                                                                                0.0s
✔ Volume "docker_redis_data"  Created                                                                                0.0s
✔ Volume "docker_esdata01"    Created                                                                                0.0s
✔ Volume "docker_mysql_data"  Created                                                                                0.0s
✔ Container ragflow-redis     Started                                                                                1.2s
✔ Container ragflow-es-01     Started                                                                                1.4s
✔ Container ragflow-mysql     Healthy                                                                                11.8s
✔ Container ragflow-minio     Started                                                                                1.4s
✔ Container ragflow-server    Started                                                                                11.5s
ashu@MSI:~/ragflow/docker$ docker logs -f ragflow-server
2024-12-09 14:59:43,022 INFO     24 ragflow_server log path: /ragflow/logs/ragflow_server.log
2024-12-09 14:59:43,080 INFO     25 task_executor_0 log path: /ragflow/logs/task_executor_0.log
2024-12-09 14:59:46,528 INFO     25 init database on cluster mode successfully
2024-12-09 14:59:46,539 INFO     24 init database on cluster mode successfully
2024-12-09 14:59:53,338 INFO     24
____   ___    ______ ______ __
/ __ \ /   |  / // // /  _      __
/ // // /| | / / __ / /   / // __ | | /| / /
/ , // ___ |/ // // __/  / // // /| |/ |/ /
// ||//  ||_///    // _/ |/|__/
2024-12-09 14:59:53,338 INFO     24 RAGFlow version: v0.14.1 slim
2024-12-09 14:59:53,338 INFO     24 project base: /ragflow
2024-12-09 14:59:53,338 INFO     24 Current configs, from /ragflow/conf/service_conf.yaml:
ragflow: {'host': '0.0.0.0', 'http_port': 9380}
mysql: {'name': 'rag_flow', 'user': 'root', 'password': 'infini_rag_flow', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
minio: {'user': 'rag_flow', 'password': 'infini_rag_flow', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': 'infini_rag_flow'}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': 'infini_rag_flow', 'host': 'redis:6379'}
2024-12-09 14:59:53,338 INFO     24 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-09 14:59:53,400 INFO     24 GET http://es01:9200/ [status:200 duration:0.061s]
2024-12-09 14:59:53,403 INFO     24 HEAD http://es01:9200/ [status:200 duration:0.003s]
2024-12-09 14:59:53,403 INFO     24 Elasticsearch http://es01:9200 is healthy.
2024-12-09 14:59:53,405 WARNING  24 Load term.freq FAIL!
2024-12-09 14:59:53,407 WARNING  24 Realtime synonym is disabled, since no redis connection.
2024-12-09 14:59:53,409 WARNING  24 Load term.freq FAIL!
2024-12-09 14:59:53,411 WARNING  24 Realtime synonym is disabled, since no redis connection.
2024-12-09 14:59:54,038 INFO     25 generated new fontManager
2024-12-09 15:00:00,110 INFO     24 init web data success:4.293882131576538
2024-12-09 15:00:00,111 INFO     24 RAGFlow HTTP server start...
2024-12-09 15:00:00,112 INFO     24 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Running on all addresses (0.0.0.0)
Running on http://127.0.0.1:9380
Running on http://172.18.0.6:9380
2024-12-09 15:00:00,112 INFO     24 Press CTRL+C to quit
2024-12-09 15:00:05,158 INFO     25 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-09 15:00:05,163 INFO     25 GET http://es01:9200/ [status:200 duration:0.004s]
2024-12-09 15:00:05,165 INFO     25 HEAD http://es01:9200/ [status:200 duration:0.002s]
2024-12-09 15:00:05,165 INFO     25 Elasticsearch http://es01:9200 is healthy.
2024-12-09 15:00:05,167 WARNING  25 Load term.freq FAIL!
2024-12-09 15:00:05,169 WARNING  25 Realtime synonym is disabled, since no redis connection.
2024-12-09 15:00:05,173 WARNING  25 Load term.freq FAIL!
2024-12-09 15:00:05,175 WARNING  25 Realtime synonym is disabled, since no redis connection.
2024-12-09 15:00:05,176 WARNING  25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 15:00:05,177 INFO     25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:00:05.176803", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-09 15:00:38,531 WARNING  25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 15:00:38,532 INFO     25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:00:38.530274", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-09 15:01:10,299 ERROR    24 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 15:01:10,300 INFO     24 172.18.0.1 - - [09/Dec/2024 15:01:10] "GET / HTTP/1.1" 200 -
2024-12-09 15:01:10,415 ERROR    24 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 15:01:10,416 INFO     24 172.18.0.1 - - [09/Dec/2024 15:01:10] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-09 15:01:11,871 WARNING  25 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 15:01:11,872 INFO     25 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T15:01:11.871000", "boot_at": "2024-12-09T15:00:05.158251", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}

Expected behavior
No response
Steps to reproduce
run the commands as shown in the quick start page.

Additional information
No response

Drop the port number of the address in web browser.

Unable to run even now: ashu@MSI:~$ cd ragflow
ashu@MSI:~/ragflow$ git checkout -f v0.14.1
Note: switching to 'v0.14.1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 834c4d81 Update version info to v0.14.1 (#3720)
ashu@MSI:~/ragflow$ docker compose -f docker/docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 23/23
✔ ragflow Pulled                                                                                573.5s
✔ 839854a6ab69 Download complete                                                                                1.3s
✔ e2344640a51f Download complete                                                                                221.6s
✔ 403ce5d08b36 Download complete                                                                                46.7s
✔ c37a05cad8d6 Download complete                                                                                90.9s
✔ 7bd63dcf59a1 Download complete                                                                                176.2s
✔ 711b38c9e034 Download complete                                                                                5.9s
✔ 372d4f10d3b9 Download complete                                                                                8.8s
✔ 9aea191153ae Download complete                                                                                7.2s
✔ 470ee41fe202 Download complete                                                                                2.1s
✔ 985a2e85bb7a Download complete                                                                                557.8s
✔ f5d5cc321706 Download complete                                                                                1.8s
✔ fdcff575f44d Download complete                                                                                2.1s
✔ c1b6fc231dc1 Download complete                                                                                3.7s
✔ 3580e55f84ae Download complete                                                                                253.6s
✔ dac6fd9158f6 Download complete                                                                                5.1s
✔ 77cbe78222d1 Download complete                                                                                3.8s
✔ 785e76384fd9 Download complete                                                                                175.6s
✔ 8047b067a4a2 Download complete                                                                                1.8s
✔ a750e0652c42 Download complete                                                                                190.5s
✔ 1f7ad440dce8 Download complete                                                                                1.8s
✔ dc7b4a1dec6e Download complete                                                                                227.4s
✔ 34b264a224bf Download complete                                                                                117.6s
[+] Running 5/5
✔ Container ragflow-server  Started                                                                                15.5s
✔ Container ragflow-es-01   Started                                                                                4.2s
✔ Container ragflow-redis   Started                                                                                4.4s
✔ Container ragflow-minio   Started                                                                                4.6s
✔ Container ragflow-mysql   Healthy                                                                                15.1s
ashu@MSI:~/ragflow$ docker logs -f ragflow-server
2024-12-09 20:55:24,355 INFO     29 task_executor_0 log path: /ragflow/logs/task_executor_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2024-12-09 20:55:24,355 INFO     28 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2024-12-09 20:55:27,756 INFO     29 init database on cluster mode successfully
2024-12-09 20:55:27,898 INFO     28 init database on cluster mode successfully
2024-12-09 20:55:34,771 INFO     28
____   ___    ______ ______ __
/ __ \ /   |  / // // /  _      __
/ // // /| | / / __ / /   / // __ | | /| / /
/ , // ___ |/ // // __/  / // // /| |/ |/ /
// ||//  ||_///    // _/ |/|__/
2024-12-09 20:55:34,771 INFO     28 RAGFlow version: 0d5486aa(v0.14.1~75) slim
2024-12-09 20:55:34,771 INFO     28 project base: /ragflow
2024-12-09 20:55:34,771 INFO     28 Current configs, from /ragflow/conf/service_conf.yaml:
ragflow: {'host': '0.0.0.0', 'http_port': 9380}
mysql: {'name': 'rag_flow', 'user': 'root', 'password': 'infini_rag_flow', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30}
minio: {'user': 'rag_flow', 'password': 'infini_rag_flow', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': 'infini_rag_flow'}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': 'infini_rag_flow', 'host': 'redis:6379'}
2024-12-09 20:55:34,771 INFO     28 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-09 20:55:34,835 INFO     28 GET http://es01:9200/ [status:200 duration:0.063s]
2024-12-09 20:55:34,838 INFO     28 HEAD http://es01:9200/ [status:200 duration:0.003s]
2024-12-09 20:55:34,838 INFO     28 Elasticsearch http://es01:9200 is healthy.
2024-12-09 20:55:34,840 WARNING  28 Load term.freq FAIL!
2024-12-09 20:55:34,840 WARNING  28 Missing synonym.json
2024-12-09 20:55:34,840 WARNING  28 Realtime synonym is disabled, since no redis connection.
2024-12-09 20:55:34,840 WARNING  28 Fail to load synonym
2024-12-09 20:55:34,842 WARNING  28 Load term.freq FAIL!
2024-12-09 20:55:34,842 WARNING  28 Missing synonym.json
2024-12-09 20:55:34,842 WARNING  28 Realtime synonym is disabled, since no redis connection.
2024-12-09 20:55:34,842 WARNING  28 Fail to load synonym
2024-12-09 20:55:34,843 INFO     28 MAX_CONTENT_LENGTH: 134217728
2024-12-09 20:55:34,843 INFO     28 SERVER_QUEUE_MAX_LEN: 1024
2024-12-09 20:55:34,843 INFO     28 SERVER_QUEUE_RETENTION: 3600
2024-12-09 20:55:34,843 INFO     28 MAX_FILE_COUNT_PER_USER: 0
2024-12-09 20:55:35,540 INFO     29 generated new fontManager
2024-12-09 20:55:36,184 INFO     28 init web data success:1.0612094402313232
2024-12-09 20:55:36,185 INFO     28 RAGFlow HTTP server start...
2024-12-09 20:55:36,186 INFO     28 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Running on all addresses (0.0.0.0)
Running on http://127.0.0.1:9380
Running on http://172.18.0.6:9380
2024-12-09 20:55:36,186 INFO     28 Press CTRL+C to quit
2024-12-09 20:55:45,615 INFO     29

/_  /_ / /   / /  _____  _______  / /  _____
/ / / __ `/ / ///  / __/ | |// _ / / / / / __/ __ / /
/ / / // (  ) ,<    / />  </  / // // / // // / /
//  _,///||  /_____//||_/_/_,/_/___//
2024-12-09 20:55:45,615 INFO     29 TaskExecutor: RAGFlow version: 0d5486aa(v0.14.1~75) slim
2024-12-09 20:55:45,615 INFO     29 Use Elasticsearch http://es01:9200 as the doc engine.
2024-12-09 20:55:45,620 INFO     29 GET http://es01:9200/ [status:200 duration:0.005s]
2024-12-09 20:55:45,622 INFO     29 HEAD http://es01:9200/ [status:200 duration:0.002s]
2024-12-09 20:55:45,622 INFO     29 Elasticsearch http://es01:9200 is healthy.
2024-12-09 20:55:45,625 WARNING  29 Load term.freq FAIL!
2024-12-09 20:55:45,625 WARNING  29 Missing synonym.json
2024-12-09 20:55:45,625 WARNING  29 Realtime synonym is disabled, since no redis connection.
2024-12-09 20:55:45,625 WARNING  29 Fail to load synonym
2024-12-09 20:55:45,627 WARNING  29 Load term.freq FAIL!
2024-12-09 20:55:45,628 WARNING  29 Missing synonym.json
2024-12-09 20:55:45,628 WARNING  29 Realtime synonym is disabled, since no redis connection.
2024-12-09 20:55:45,628 WARNING  29 Fail to load synonym
2024-12-09 20:55:45,628 INFO     29 MAX_CONTENT_LENGTH: 134217728
2024-12-09 20:55:45,628 INFO     29 SERVER_QUEUE_MAX_LEN: 1024
2024-12-09 20:55:45,628 INFO     29 SERVER_QUEUE_RETENTION: 3600
2024-12-09 20:55:45,628 INFO     29 MAX_FILE_COUNT_PER_USER: 0
2024-12-09 20:55:45,633 WARNING  29 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 20:55:45,633 INFO     29 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T20:55:45.633044", "boot_at": "2024-12-09T20:55:45.614980", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-09 20:56:18,390 WARNING  29 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 20:56:18,391 INFO     29 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T20:56:18.390509", "boot_at": "2024-12-09T20:55:45.614980", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
2024-12-09 20:56:24,719 ERROR    28 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 20:56:24,720 INFO     28 172.18.0.1 - - [09/Dec/2024 20:56:24] "GET / HTTP/1.1" 200 -
2024-12-09 20:56:24,835 ERROR    28 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 20:56:24,836 INFO     28 172.18.0.1 - - [09/Dec/2024 20:56:24] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-09 20:56:43,741 ERROR    28 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 20:56:43,742 INFO     28 172.18.0.1 - - [09/Dec/2024 20:56:43] "GET / HTTP/1.1" 200 -
2024-12-09 20:56:43,864 ERROR    28 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 854, in dispatch_request
self.raise_routing_exception(req)
File "/ragflow/.venv/lib/python3.10/site-packages/flask/app.py", line 463, in raise_routing_exception
raise request.routing_exception  # type: ignore[misc]
File "/ragflow/.venv/lib/python3.10/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True)  # type: ignore
File "/ragflow/.venv/lib/python3.10/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2024-12-09 20:56:43,865 INFO     28 172.18.0.1 - - [09/Dec/2024 20:56:43] "GET /favicon.ico HTTP/1.1" 200 -
2024-12-09 20:56:51,145 WARNING  29 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2024-12-09 20:56:51,146 INFO     29 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-09T20:56:51.144743", "boot_at": "2024-12-09T20:55:45.614980", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}
^Ccontext canceled

Got it, thank you

got it

authors: KevinHuSh ashunaveed

repo: infiniflow/ragflow


text:
ISPN-7300 Operator '-' doesn't work in fulltext querying

https://issues.jboss.org/browse/ISPN-7300

LGTM, have a couple of questions though

@anistor ok, thanks for the clarification

Integrated, thanks @anistor !

authors: anistor gustavonalle

repo: infinispan/infinispan


text:
ISPN-8843 Workaround for the IDE compiler

https://issues.jboss.org/browse/ISPN-8843

@karesti Kind of what you suggested earlier, but making it optional and adding a build extension to obtain the os

@gustavonalle it works, for me should be merged til we find another solution
@slaskawi any additional thoughts ?

CI is fine

Let's make a deal than - let's wait a couple of days (a week?)

IMO we should integrate this now and revert when (if) they fix it.

But I do understand that you guys want to import everything into IntelliJ and just run some tests...

I didn't know you could import only certain modules in Intellij. I usually just go to File -> Open and it materializes the maven/sbt/gradle model

@gustavonalle Yes you can! Just open whatever project you need (or start with an empty one), bring up Maven window and point client/hotrod-client/pom.xml. This way you will import only one module. I've always been working that way - IntelliJ indexing is killing me so I open up only those modules that I'm working on.

@slaskawi @gustavonalle I'm with Gustavo. We merge and revert after. It's not a big deal this modification in the pom and the problem is super annoying

Merged, this is a roadblock for all of us. Create follow up JIRA(s) for any leftover work.

@galderz thank you !!!

authors: galderz gustavonalle karesti slaskawi


text:
ISPN-9008 RpcManager.invokeCommandOnAll ignores cache member missing from cluster view

https://issues.jboss.org/browse/ISPN-9008
I added an ImmutableHopscotchHashSet mainly because I didn't want to have both a unmodifiableSet() wrapper and HashSet wrapping HashMap. Considering addresses are random numbers I don't think hopscotch hashing per se can help with performance, but maybe we could do something to optimize containsAll @rvansa?

Rebased. I ended up using ImmutableHopscotchHashSet only in JGroupsTransport, and there's no usage of containsAll any more.

I believe https://ci.infinispan.org/job/Infinispan/job/PR-5909/4/testReport/junit/org.infinispan.jmx/RpcManagerMBeanTest/testSuccessRatio/ is related

Indeed, I updated the test to use MagicKey for more determinism.

There was one more test failure caused by a conflict with the ISPN-9062 fix, it's solved now.

@danberindei I don't see how you'd like to optimize containsAll... Somehow sorting the hashes and scanning ranges in the map?

LGTM, integrated.

authors: danberindei rvansa tristantarrant


text:
[9.3.x] ISPN-9641 Using expiration with off heap doesn't subtract size properly

with expiration

Make sure to include expiration when not using version or custom

https://issues.jboss.org/browse/ISPN-9641

Integrated, thanks Will!

authors: danberindei wburns


text:
ISPN-11583 Server Testsuite: parametric transport

https://issues.redhat.com/browse/ISPN-11583

I tried running
mvn verify -Dit.test=HotRodCacheQueries -Dorg.infinispan.test.server.cluster.stack=test-udp
but it seems to be using TCP still

I also tried the command in the JIRA, and the logs only show TCP, how can I verify it is picking the right stack?

@gustavonalle can you try now ?

It is working now, but it needs rebase

Rebased @gustavonalle

Merged, thanks @tristantarrant

I will leave the JIRA open until this is backported to 10.1

authors: gustavonalle tristantarrant


text:
ISPN-12988 Upgrade to JGroups 4.2.14.Final

https://issues.redhat.com/browse/ISPN-12988

@danberindei can I merge it? or do you want to check perf?

@pruivo JGroups versions 4.2.13 and 4.2.14 don't include any fix that should affect performance IMO (I added links to the releases in JIRA), so I wouldn't wait for a perf-ack job.

integrated! thanks @danberindei !

authors: danberindei pruivo


text:
🛑 Third-party Status Page is down

In 225f5dc, Third-party Status Page (https://status2.infinite8.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Third-party Status Page is back up in 05192ab.


text:
iOS **** BUILD ERROR ****

Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
Port 8081 already in use, packager is either not running or not running correctly
Command /bin/sh failed with exit code 2
*** I checked after the process completed and port was NOT in use anymore ?!?!?!
*** I've followed dozens of blogs on this issue and NO luck so far...
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c

(2 commands with analyzer issues)
The following build commands failed:
PhaseScriptExecution Start\ Packager /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/MyIgniteProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MyIgniteProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
LIBRARIES:
Yarn v0.27.5
Node v7.6.0
Ignite v2.0.0

🔥 igniting app MyIgniteProject
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✔ added React Native 0.45.1 in 159.58s
? Would you like Ignite Development Screens? Yes
? What vector icon library will you use? react-native-vector-icons
? What internationalization library will you use? react-native-i18n
? What animation library will you use? react-native-animatable
✔ added ignite-ir-boilerplate in 16.12s
✔ added ignite-dev-screens in 40.85s
✔ added ignite-vector-icons in 22.86s
✔ added ignite-i18n in 15.04s
✔ added ignite-animatable in 13.67s
✔ added ignite-standard in 42.93s
✔ configured git
✔ ignited MyIgniteProject in 432.15s
PLEASE HELP

You’ve got a second packager running. Find that and close it down.

hello again... skellock ... thanks for your help.
I tried to kill all node processes and I ran the react process again...
As you can see I got cleared on port 8081, but somehow the ERROR pops again right after that check.... Any pointers ?

PhaseScriptExecution Start\ Packager /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
cd /Users/myfolder/ReactNative/MyIgniteProject/node_modules/react-native/React
/bin/sh -c /Users/myfolder/ReactNative/MyIgniteProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
Port 8081 already in use, packager is either not running or not running correctly
Command /bin/sh failed with exit code 2
** BUILD FAILED **

Can you try starting the packager manually?
npm start
Then, in a 2nd terminal shell, launch react-native run-ios only when you see the first command succeed.
If the packager fails (from the 1st command) you'll see instructions about kill the rogue packager with lsof.

Guess what skellock ??? After days of desperate search through dozens of sites, I came to find the answer, a definite solution and a great NEW friend, here at Ignite's github page. Can't thank you enough!!! Cheers!!!
NOTE: the only thing I would add to your post is this... before you follow these steps, open TWO terminal windows cmd + T (to open side by side) and the proceed to enter each command on each opened tab. Third step was not necessary. KUDOS!!!

Hah! Glad you’re up & running. Now get to work building that app! 😛

@inglesuniversal how did you solve your issue? Cause it seems that I have the same one on my starter project? Thanks in advance.

Hi all,
Need help, can't get it working.

I ran this "npm start" in first terminal

React packager ready.

Loading dependency graph, done.

Then I ran this "react-native run-ios" in second terminal

    /usr/bin/codesign --force --sign - --timestamp=none /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/ios/Build/Products/Debug-iphonesimulator/mySecondProject.app/PlugIns/mySecondProjectTests.xctest

** BUILD SUCCEEDED **

The following commands produced analyzer issues:
    Analyze /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
    Analyze /Users/eric/Documents/Codes/learn/reactnative/mySecondProject/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)

Installing build/Build/Products/Debug-iphonesimulator/mySecondProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/mySecondProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Any idea what's the issue?
I am using this
Mac OS Sierra 10.12.6
Latest Xcode 8.3.3
node 8.4.0
npm 5.4.1
react native - tested both 0.47.2 and 0.48.2
react-native-cli - 2.0.1
yarn 0.20.0
I have also tried the following and won't worked

manually downloading all the files and stored into ~/.rncache
rm -rf npm_modules, then run "npm install"
react-native-git-upgrade
remove ios/build and run "react-native run-ios" again

just "react-native run-ios" won't work
FYI, open in xcode and run it will work. Just many warnings as below
https://imgur.com/a/TyBGa
Just wonder how come command line won't work?
Thanks.

Hi guys, running into this same issue too. Xcode 9, macos 10.12.6, node 9.4, npm 5.3, react-native-cli 2.0.1. these are the things i have tried:

react-native upgrade (using the new react-native-git-upgrade)
killing whatever is using port 8081 with lsof -n -i4TCP:8081
manually running npm start and then react-native run-ios

CFBundleIdentifier is in ios/PizzaApp/info.plist
what else could be the cause of this?

Still getting this issue too.  Any ideas?

Looks like the problem solved for me when I did not choose internalization which is where the issue seems to be
What internationalization library will you use? (Use arrow keys)
❯◯ none
◯ react-native-i18n

run in your terminal: killall -9 node
That solved it for me!

In react-native: 0.60.5
Go to . > [Your Project] > ios > [Your Project].xcodeproj > project.pbxproj.
Change all the port 8081 to 8089(example)

Thanks！But I dont't konw why...

authors: Kazanz antoinegargot ashish9342 ericchuawc ferdelamad inglesuniversal samasrinivas skellock sw-yx webpig

repo: infinitered/ignite


text:
Remove hack* scripts as they don't appear to be doing anything

Please verify the following:

[x] yarn ci:test jest tests pass with new tests, if relevant
[x] README.md has been updated with your changes, if relevant

Describe your PR
This PR removes the hack* scripts in package.json. I don' tthink they are needed anymore.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: harrisrobin infinitered-circleci


text:
Added date field

Related issue

Issue Id
Context

List of changes

change a
change b

Database migration/schema changes (if any)

List your migrations here...

Self review checklist

[ ] Confirm that the changes made by you meet the resolution criteria and nothing else.
[ ] Ran all the tests locally to check that you have not introduced any new regression.
[ ] If there are any failing tests, you have already fixed them. If not
[ ] Followed coding and styling guidelines.
[ ] Made sure the changes are is not overly complex, unreadable and unnecessarily smart. Simplicity wins!
[ ] Made sure the comments are not too verbose and not to cryptic.
[ ] Made sure the code metrics are not deteriorated.
[ ] Made sure you have updated (if necessary)-

[ ] Documentation
[ ] Translation
[ ] Tests/test data
[ ] Postman collection
[ ] Version

Additional info (if any)

Add anything you feel worth mentioning...

screensshots (if any)

Original
Updated

** Original screenshot **
** Updated screenshot **

Wrong implementaion

repo: inflection-zone/reancare-service


text:
Provide step by step triaging process for users to troubleshoot any data ingestion issues

Describe the issue here.
This was raised by Manny/SE team to provide a step by step process for users to follow who try to ingest their data, but do not see the data on Cloud 2 when they browse through the UI
Relevant URLs

Provide relevant URLs
All Cloud 2 clusters

What products and version are you using?
Applies to Cloud 2

Thank you @bpalani - what is our troubleshooting process now? Check query's timestamp precision and time range? Check org and bucket? Hard refresh browser? Others? Does "try" mean they verified their data's been ingested but not visible or that they don't know if data has been ingested?

Related to #1026

authors: bpalani kelseiv sanderson


text:
Fix staticcheck

In #61 staticcheck fails for a couple of reasons.

fix those
pick a version of staticcheck and pin

Fixed in #68

repo: influxdata/influxdb-observability


text:
Create Templates tab under org

As a UI user,
when I visit my org page, I see a tab for templates, with sub-sections for dashboards/tasks/variables.
and column titles name, labels and button to view as JSON.
button to view as JSON brings up JSON overlay

blocked on templates work

blocked on client work #12495

repo: influxdata/influxdb


text:
InfluxDB 2 - Telegraf Config URL should be configurable

Proposal:
The InfluxDB2 GUI generates URL's for Telegraf configs. The base URL should be configurable.
Current behavior:
InfluxDB2 generates a URL based on some magic.
Desired behavior:
Generate based on magic OR generate URL based on passed configuration/environmental variable.
Alternatives considered:
None
Use case:
The current assumption in design is that InfluxDB2 will be "access(ed) over local ip". We should be able to provide our own information as the InfluxDB2 instance may be behind a proxy. It may be behind a loadbalancer. The user may prefer using DNS resolution. The automagic detection may fail.

I just confirmed that the http-bind-address startup option should achieve what you're looking for.
On my mac:

bin/darwin/influxd --http-bind-address "MBP13-NISELY.local:9999"

https://v2.docs.influxdata.com/v2.0/reference/config-options/#http-bind-address

authors: ShakataGaNai nisley


text:
Cannot paste into flux editor in Safari

The paste here does not work. In Chrome is it not available.

cc @rbetts

desired outcome: we dont want the paste option to show up in the menu on safari

This is going to be more hassle then its worth to fix. The big thing is safari seems to have the paste in the menu. But Chrome has it in the dropdown menu, and both allow you to do control+V and paste.

authors: desa drdelambre zoesteinkamp


text:
refactor(storage): remove Read implementation - no longer used

Closes #
Describe your proposed changes here.

[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

Closing in favor of https://github.com/influxdata/influxdb/pull/13765


text:
Subquery ordering with aggregates in descending mode was wrong

The sort order of points when performing aggregates never took into
account if they were ascending or descending so when multiple series
were aggregated, it would ensure they were sorted in the correct order.
But it wouldn't reverse this order when descending was used.
Additionally, it seems that the iterator template and the iterator file
itself became out of sync. It seems the template was not reverted
correctly from a previously incorrect change and only the float type was
changed to the correct version and the tests used the float version.
Related to #14307.

The tests were failing and it looks like some of the changes that went into 1.7 to fix subqueries had not been included in the 1.8 version so there's an extra test and removing one line of code that had been removed already in 1.7 included in this PR that wasn't included in the original 1.7 PR.


text:
Reduce allocations with TSM queries

This reduces memory allocations a bit when running queries against the TSM engine and may prevent some OOMs in some cases.  The bulk of the allocations are in the query engine, but the KeyCursor was allocating a buffer beforehand that blows the heap up with high numbers of series.  If swap is enabled, the process OS can start swapping causing performance to drastically decrease.  If a host does not have swap, the process would likely OOM on the query.
Below are some test results from before and after this PR.  My laptop has swap and this is a basic count query on 5M series w/ ~15M points on disk.
Before
influxdb:influxdb jason$ time influx -database stress -execute "select count(value) from cpu"
name: cpu
---------
time	count
0	1.5215e+07

real	10m42.106s
user	0m0.005s
sys	0m0.020s

After:
influxdb:influxdb jason$ time influx -database stress -execute "select count(value) from cpu"
name: cpu
---------
time	count
0	1.5215e+07

real	2m29.758s
user	0m0.005s
sys	0m0.015s

+1

also :+1:

Have you tried running a query that's more open-ended with that many
points, something very basic like:
select * from cpu_usage_user limit 10
That causes our app to blow up, panic after OOM even after killing the
query (hard kill from OS).
On Wed, Jan 6, 2016 at 2:25 PM, Paul Dix notifications@github.com wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/influxdata/influxdb/pull/5289#issuecomment-169451028.

--
Sebastian Borza
PGP: EDC2 BF61 4B91 14F2 AAB4  06C9 3744 7F3F E411 0D3E

Yes. This PR won't fix that unfortunately in all cases. There is work going on in the query engine that will hopefully fix that allocation problem.

@sebito91 what you're describing will likely be fixed by the new query engine. follow #5196 for updates, but it should be merged into master pretty soon.

Thanks for the feedback, we'll keep on the lookout.
On Wednesday, January 6, 2016, Jason Wilder notifications@github.com
wrote:

Yes. This PR won't fix that unfortunately in all cases. There is work
going on in the query engine that will hopefully fix that allocation
problem.
—
Reply to this email directly or view it on GitHub
https://github.com/influxdata/influxdb/pull/5289#issuecomment-169559478.

--
Sebastian Borza
PGP: EDC2 BF61 4B91 14F2 AAB4  06C9 3744 7F3F E411 0D3E

authors: jwilder pauldix sebito91 toddboom


text:
Record query with group by is causing kapacitor to hang

I'm trying to test some anomaly detection for streams with kapacitor-1.1.1-1 on some streams which seldom get points.  Because the streams are so rarely updated, I need to record several weeks worth of past information to test.  I can record a query with no group by, but that is pretty unhelpful.  When I put a group by on the query, kapacitor locks up, and has to be killed -9.
It's been a while since I've done this, so not sure when it broke.  Looking through the bugs, it looks like it was working for the vagrant scripts provided in #423.

@cheribral Can you provide the a simple example command that causes Kapacitor to lock up?

I tried again using some standard stuff from telegraf to make sure it wasn't just our data.  This one will hang indefinitely for me while using 100 of a CPU.
kapacitor record query -query 'select tcp_syn_sent from metrics."default".netstat where time > now() - 5m group by host' -recording-id test -type stream

@cheribral Thanks, and just to confirm, if you run that query directly against InfluxDB it returns in a reasonable time?

Yes, it seems pretty quick:
time influx -execute 'select tcp_syn_sent from metrics."default".netstat where time > now() - 5m group by host' >/dev/null
real	0m0.220s
user	0m0.026s
sys	0m0.011s

authors: cheribral nathanielc

repo: influxdata/kapacitor