text:
Cannot install sqlite3 in electron project - linux ubuntu 22

Issue Summary
I can't install sqlite3 in an electron project. Apparently it's not a problem with python or NAPI version, after searching a lot I didn't find any problem like this.
The issue seems to happen at this moment:
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c
/bin/sh: 1: Syntax error: "(" unexpected
Relevant logs or output
electron-rebuild assuming is prebuildify powered: lzma-native +0ms
electron-rebuild Checking for prebuilds for "lzma-native" +0ms
electron-rebuild Found prebuilt Node-API module in /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/lzma-native/prebuilds/linux-x64" +2ms
⠏ Building module: lzma-native, Completed: 1  electron-rebuild rebuilding sqlite3 with args [
'node',
'node-gyp',
'rebuild',
'--runtime=electron',
'--target=20.1.1',
'--arch=x64',
'--dist-url=https://www.electronjs.org/headers',
'--build-from-source',
'--verbose',
'--module_name=node_sqlite3',
'--module_path=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-linux-glibc-x64',
'--host=https://github.com/TryGhost/node-sqlite3/releases/download/',
'--remote_path=v5.0.11',
'--package_name=napi-v{napi_build_version}-linux-glibc-x64.tar.gz'
] +0ms
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
⠋ Building module: sqlite3, Completed: 1gyp verb command configure []
gyp verb download using dist-url https://www.electronjs.org/headers
gyp verb find Python checking Python explicitly set from command line or npm configuration
gyp verb find Python - "--python=" or "npm config get python" is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get executable path
gyp verb find Python - executable path is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get version
⠙ Building module: sqlite3, Completed: 1gyp verb find Python - version is "3.10.4"
gyp info find Python using Python version 3.10.4 found at "/usr/bin/python3"
gyp verb get node dir compiling against --target node version: 20.1.1
gyp verb command install [ '20.1.1' ]
gyp verb download using dist-url https://www.electronjs.org/headers
gyp verb install input version string "20.1.1"
gyp verb install installing version: 20.1.1
gyp verb install --ensure was passed, so won't reinstall if already installed
⠹ Building module: sqlite3, Completed: 1gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 20.1.1
gyp verb build dir attempting to create "build" dir: /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build
gyp verb build dir "build" dir needed to be created? Yes
gyp verb python symlink creating symlink to "/usr/bin/python3" at "/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/node_gyp_bins/python3"
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/config.gypi
gyp verb common.gypi checking for gypi file: /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/duende/.electron-gyp/20.1.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/duende/.electron-gyp/20.1.1',
gyp info spawn args   '-Dnode_gyp_dir=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/duende/.electron-gyp/20.1.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
⠴ Building module: sqlite3, Completed: 1gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/duende/.electron-gyp/20.1.1
gyp verb which succeeded for make /usr/bin/make
gyp verb bin symlinks adding symlinks (such as Python), at "/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/node_gyp_bins", to PATH
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entrando no diretório '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
cc -o Release/obj.target/nothing/node_modules/node-addon-api/nothing.o ../node_modules/node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DELECTRON_ENSURE_CONFIG_GYPI' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DUSING_ELECTRON_CONFIG_GYPI' '-DV8_COMPRESS_POINTERS' '-DV8_COMPRESS_POINTERS_IN_SHARED_CAGE' '-DV8_ENABLE_SANDBOX' '-DV8_SANDBOXED_POINTERS' '-DV8_31BIT_SMIS_ON_64BIT_ARCH' '-DV8_REVERSE_JSARGS' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' -I/home/duende/.electron-gyp/20.1.1/include/node -I/home/duende/.electron-gyp/20.1.1/src -I/home/duende/.electron-gyp/20.1.1/deps/openssl/config -I/home/duende/.electron-gyp/20.1.1/deps/openssl/openssl/include -I/home/duende/.electron-gyp/20.1.1/deps/uv/include -I/home/duende/.electron-gyp/20.1.1/deps/zlib -I/home/duende/.electron-gyp/20.1.1/deps/v8/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/nothing/node_modules/node-addon-api/nothing.o.d.raw   -c
⠦ Building module: sqlite3, Completed: 1  rm -f Release/obj.target/node_modules/node-addon-api/nothing.a && ar crs Release/obj.target/node_modules/node-addon-api/nothing.a Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
ln -f "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a" 2>/dev/null || (rm -rf "Release/nothing.a" && cp -af "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a")
LD_LIBRARY_PATH=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/Release/lib.host:/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps; mkdir -p /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/Release/obj/gen/sqlite-autoconf-3390200; node ./extract.js ./sqlite-autoconf-3390200.tar.gz "/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/Release/obj/gen"
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c] Error 2
make: Exiting directory '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: make failed with exit code: 2
Error: node-gyp failed to rebuild '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: make failed with exit code: 2
at NodeGyp.rebuildModule (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/module-type/node-gyp.js:120:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ModuleRebuilder.rebuildNodeGypModule (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/module-rebuilder.js:98:9)
at async ModuleRebuilder.rebuild (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/module-rebuilder.js:128:14)
at async Rebuilder.rebuildModuleAt (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/rebuild.js:149:13)
at async Rebuilder.rebuild (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/rebuild.js:112:17)
at async /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/electron-rebuild/lib/src/cli.js:158:9

Running "npm start" on project
npm start

my-new-app@1.0.0 start
cross-env NODE_ENV=development electron-forge start

✔ Checking your system
✔ Locating Application
⠸ Preparing native dependencies: 0 / 1make: Entrando no diretório '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
⠼ Preparing native dependencies: 0 / 1  COPY Release/nothing.a
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c] Erro 2
make: Saindo do diretório '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
✖ Preparing native dependencies: 0 / 1
An unhandled error has occurred inside Forge:
node-gyp failed to rebuild '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Installing from --build-from-source
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh /tmp/install-ac1adf2c.sh
npm ERR! make: Entrando no diretório '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
npm ERR!   CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
npm ERR!   AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
npm ERR!   COPY Release/nothing.a
npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c
npm ERR! make: Saindo do diretório '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build'
npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
npm ERR! node-pre-gyp info using node@16.17.0 | linux | x64
npm ERR! node-pre-gyp info build requesting source compile
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.17.0 | linux | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.17.0 | linux | x64
npm ERR! gyp info find Python using Python version 3.10.4 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/duende/.cache/node-gyp/16.17.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/duende/.cache/node-gyp/16.17.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/duende/.cache/node-gyp/16.17.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.17.0 | linux | x64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! /bin/sh: 1: Syntax error: "(" unexpected
npm ERR! make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3390200/sqlite3.c] Erro 2
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.15.0-47-generic
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
npm ERR! gyp ERR! cwd /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3
npm ERR! gyp ERR! node -v v16.17.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess. (/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Linux 5.15.0-47-generic
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/duende/Downloads/my-new-app(1)/my-new-app/node_modules/sqlite3
npm ERR! node-pre-gyp ERR! node -v v16.17.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
npm ERR! node-pre-gyp ERR! not ok
Version
"sqlite3": "^5.0.11",
Node.js Version
v16.17.0
How did you install the library?
npm install sqlite3 --save
** i using typeorm and reflect-metadata

I think this is an issue with node-gyp and a folder in your path name: my-new-app(1)
Would you be able to try without the brackets?

I think this is an issue with node-gyp and a folder in your path name: my-new-app(1)
Would you be able to try without the brackets?

the problem really was the path name with ( )
thanks @daniellockyer

authors: daniellockyer duendeee


text:
Sqlite3 doen't install into dory-node android app

Hy.
I'm testing a proget with dory node (app into google play from tempage.io).
I've installed into a Samsung Tab A10.1 with android 7.0 and kernel 3.18.14, the gekko project from git hub.
Then i used:
npm install --only=production
But there was error to install sqlite3.
I tryed to install itmanually with
npm install sqlite3
But i have error
I attach this log
npm-debug (npm bugs sqlite3).log
npm-debug (npm install --build-from-source).log
npm-debug (npm install sqlite3 --loglevel=info).log
Before try to root my Tablet, i would like to know if there is an other solution...
Thanks

I'm trying to find different solution for the problem... I tried also to root my tablet but I had issue also with this procedure because my tablet is unsupported yet.
I read carefully the  wiki but I'm not able to understand how to do it. I'm a very newbie with github and npm so I can't understand some things.
I have a package to clone from github (gekko from askmike);
Before putting into terminal npm install --only=production after the cloning, I have understand that I must:

download the package of sqlite3 (I downloaded the zip file from github: node-sqlite3-master.zip);
then, where should I put the sqlite3 unzipped files? Into what directory of the cloned package (there isn't a node-modules directory after the cloning process... the directory is created after the install process)?
After this, I have to open the file node.gyp but info the cloned directory, there isn't any *.gyp file...
only after the install process a node-pre-gyp file exist and isn't a node-gyp file like the wiki.
So I'm very confused!

Would you be able to try on the latest version v5.0.3? 🙂

source: gharchive/issue

authors: daniellockyer scidran

license_type: permissive

license_source: github-api


text:
How to choose features from OpenCLIP?

Hello! Thanks for your great work.
I don't know how to use OpenCLIP to find correspondences. Could you please share these codes?
Thanks again.

Hi, thanks for your interest in our work!
The original OpenCLIP codebase didn't support input image size larger than the training resolution (at least it was still the case when we wrote our paper), so we follow the common practice and manually interpolate position encoding to support larger input resolution. This pull request could be very helpful as a reference.
Feel free to let us know if you have more questions.

@ZY123-GOOD I attached a cleaned-up version of our implementation here. Hope this helps!

repo: Tsingularity/dift

license: MIT


text:
transforminfo command

Shows an overview of a card including the awakenings of both base & transformed version, as well as the cooldown it takes to transform
Overview tab
Description

Show types of transformed version
Show both pre-transform and transform (bc we wanna count total SB, SBR, etc)
Show latents but don't bother showing caption that mentions pre-xform cos we know that

Stats etc

Leave as-is for now

Skills

Active skill (2cd) (Base: 30 -> 30)
Leave description as-is for now
Leave leader skill as-is for now

Additional tabs

Overview tab of base
Overview tab of transformed card

(Similar to how ^ls works)

Now I see why you've asked me to comment: https://github.com/isaacs/github/issues/100

Now I see why you've asked me to comment: https://github.com/isaacs/github/issues/100

authors: RheingoldRiver turtleworks

repo: TsubakiBotPad/pad-cogs


text:
How do I change the background color of a highlighted variable?

In the screenshot below, what is the name of the highlight group which is making "lunarvim/colorschemes" appear with a yellow background?  I would like to change the color.

Figured it out: CurrentWord.  Add this to your config to change the color:
  -- Add specific highlight groups
  on_highlights = function(highlights, colors)
    highlights.CurrentWord.bg = colors.blue
  end,


text:
nscrollbar不在组件文档中

This function solves the problem (这个功能解决的问题)
nscrollbar不在组件文档中
Expected API (期望的 API)
有时候业务是需要虚拟滚动条的，希望可以增加这部分的文档

会弄一个，之后的版本

2.19.5

repo: TuSimple/naive-ui


text:
feat: space justify center space-

Space around 没啥用，因为 margin 导致反而对不齐。

space-bewteen 也没有用

就是用了反而对不齐

center 是 work 的，如果你想支持 space-bewteen 和 space-around 那么需要对于 margin 做专门的处理，比如说第一个没有 margin-left，然后之后的每个 margin-left 和 margin-right 是各自一半。

我看看怎么处理一下

source: gharchive/pull-request


text:
🛑 Content Delivery Network (S3 Bucket) is down

In efc5186, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in 39a9826.

repo: Tubnom/tubnet-uptime


text:
Update for Gnome 3.20

Please update the extension to be compatible with Gnome version 3.20

Thanks :)
Uploaded a new version.

license: mit

license_source: bigquery


text:
Define the pipeline & decide ecosystem

Description
What do we need from Toolbox/ESDL and what's our pipeline going to be?

[x] What are all the pieces of the pipeline?
[ ] How much of the pipeline can SpineToolbox cover?
[ ] How much of the pipeline can ESDL/EDR cover?
[ ] What is left uncovered?
[ ] Do we need to change the input of the model to "match" SpineToolbox?

Related Issues
Blocking #94, #106, #105, #118, #88, #89, #115, #36

The more I look at this, the more I think we should use SpineToolbox to integrate everything and the EDR as just one of several data sources. And maybe also be able to put results back into ESDL to use the MapEditor etc for analysis (depending on its capability).
What I'm a bit concerned about is the whole system still working in 5 years. Seems a bit complex.

Assigned myself although this is a group effort.

WHAT WE WANT

Build the network once (in a while)

Use draft networks to build new networks

Sufficient flexibility for ad-hoc code for experimentation
Definition of temporal stuff
Definition of solver specifications
Be able to mix data sources (ESDL + ENTSO-E for example)


text:
zerobin.py runserver: Unknown option '--host'

Using the command:
python zerobin.py --host 0.0.0.0 --port 80 --compressed-static

returns the error:
zerobin.py runserver: Unknown option '--host'

Changing it to:
python zerobin.py host 0.0.0.0 port 8001 compressed-static

returns:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bottle-0.12.9-py2.7.egg/bottle.py", line 3099, in run
    server = server(host=host, port=port, **kargs)
  File "/usr/lib/python2.7/site-packages/bottle-0.12.9-py2.7.egg/bottle.py", line 2723, in __init__
    self.port = int(port)
ValueError: invalid literal for int() with base 10: '0.0.0.0'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bottle-0.12.9-py2.7.egg/bottle.py", line 3099, in run
    server = server(host=host, port=port, **kargs)
  File "/usr/lib/python2.7/site-packages/bottle-0.12.9-py2.7.egg/bottle.py", line 2723, in __init__
...

Non-stop...
Either the docs are incorrect, there's a bug, or I'm just stupid?

I have the same issue. It looks like the way 0bin handles parameters changed.
I've found this digging a bit in the code:
def runserver(host='', port='', debug=None, user='', group='',
             settings_file='', compressed_static=None,
             version=False, paste_id_length=None, server="cherrypy"):

So I managed to run 0bin on a custom port with:
python zerobin.py 0.0.0.0 8006

But it doesn't really make any sense:

How am I supposed to enable compressed-static without setting previous parameters?
I have to put dummy parameters to set the settings files?

I'm probably missing something, but yes, the docs are outdated.

All of this happen because I merged some PR and trusted the content instead of reading it all. I'm guilty of lazyness. I will have to roll back everything, and fix all the bugs one by one.
I'm sorry for the mess, especially since I'm so slow at fixing it.

Any news on this issue?
BTW I also get issues with the command line suggested by @ArthurHoaro:
$ python zerobin.py --host 0.0.0.0 --port 80 --compressed-static
Traceback (most recent call last):
  File "zerobin.py", line 4, in <module>
    from zerobin.cmd import main
  File "/home/zerobin-python/0bin/zerobin/cmd.py", line 12, in <module>
    from sigtools.modifiers import annotate, autokwoargs
ImportError: No module named sigtools.modifiers
$ python zerobin.py 0.0.0.0 8006
Traceback (most recent call last):
  File "zerobin.py", line 4, in <module>
    from zerobin.cmd import main
  File "/home/zerobin-python/0bin/zerobin/cmd.py", line 12, in <module>
    from sigtools.modifiers import annotate, autokwoargs
ImportError: No module named sigtools.modifiers

Can/Do I need to install  sigtools.modifiers somehow?

This has been fixed in the V2 branch. It will be merged in master and pushed to pypi soon.

authors: ArthurHoaro ksamuel rugk sametmax wankbank

license: WTFPL


text:
Transpiling Math.atan2 to math.atan2

Currently Math.atan2(y, x) is transpiled to math.atan(y / x).
math.atan2 is available in Lua 5.

math.atan2 (y, x)
Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly the case of x being zero.)

Therefore Math.atan2(y, x) can be transpiled to math.atan2(y, x) for the extra functionality of quadrant checking and handling the case of x being zero.

It is a little more complicated: Lua 5.1, 5.2 and I'm assuming lua JIT (should be checked) do support math.atan2. Lua 5.3 however does not have math.atan2, but instead takes an optional second argument to math.atan, which allows it to function as atan2 https://www.lua.org/manual/5.3/manual.html#pdf-math.atan

The math.atan2 function is labelled as deprecated but still available in Lua 5.3. See https://www.lua.org/manual/5.3/manual.html#8.2 and I have tested if the math.atan2 function exists in Lua 5.3.5. So until the function is removed in a future version of Lua, it could be just transpiled directly to math.atan2. I have also verified that math.atan2 is available in LuaJIT 2.1.0-beta3.

I have tested if the math.atan2 function exists in Lua 5.3.5

Are you sure about that? I don't have it in a standard 5.3.5 build, maybe you had some compatibility flags enabled?

authors: Perryvw Sanjo ark120202

repo: TypeScriptToLua/TypeScriptToLua


text:
TypeDoc doesn't render comments with Handlebars 4.6.0

[x] I have checked issues with bug label and found no duplicates

Expected Behavior

Comments should be rendered when generating documents using globally installed typedoc. (i.e. npm install typedoc --global)
Note that it works as expected when installed locally.
# doesn't work - documentation rendered without comments
typedoc --out docs

# works - documentation rendered with comments
node_modules/.bin/typedoc --out docs

Expected:

Actual Behavior

Comments aren't included when run using typedoc global install.

The comment section is missing from the html output:

Base class for animals

Steps to reproduce the bug

Command:
npm install typedoc --global

git clone https://github.com/socsieng/typedoc-plugin-typescript-declaration.git
cd typedoc-plugin-typescript-declaration/example
typedoc --out docs
open docs/classes/_index_.example.animal.html

Environment

Typedoc version: 0.15.6
Node.js version: 8.16.0
npm version: 6.4.1
nvm version: 0.34.0
OS: macOS Catalina 10.15.1 (19B88)

I'm experiencing a similar issue, although it's the local installation that's not rendering the comments in the HTML output.
When I add the --json flag, I can see that my tags and shortText are picked-up in the object's comment property.

+1

This is.... really weird. I can confirm the global/local issue, no idea what's causing it yet. Looking into it.
@jeremyrea could you provide a repo with a repro for the issue when run locally?

It seems like the global install has been broken for a long time... TypeDoc@0.12.0 also has this issue.

@Gerrit0 https://github.com/jeremyrea/typedoc-comment-repro

Looks like Handlebars is the cause of this break (global + local I'm guessing, I bet the local install that works has a lower version of handlebars pinned in package-lock.json) - https://github.com/wycats/handlebars.js/pull/1633...
I'm not exactly sure how we should go about fixing this... listing out all of the prototype methods that we expect a template (as suggested in the handlebars PR) to be able to access isn't feasible and is very likely to break in the future whenever a new method is added.
For now, I'll pin handlebars to a lower version and release a patch with that change.

Fixed in v0.15.7, thanks for the report @socsieng + @jeremyrea!
Leaving this open to track finding a better solution. I don't want to be stuck on an old version of handlebars forever.

Thanks @Gerrit0, can confirm that it works for me.

Handlebars 4.7.0 has been release with options to disable prototype restrictions:
https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access

Thanks @nknapp!
I'll release 0.15.8 with a handlebars version bump to 4.7.0 later today :)

v0.15.8 is released

authors: Gerrit0 jeremyrea kobezzza nknapp socsieng

repo: TypeStrong/typedoc


text:
Use typedoc as remote type

Search terms
typedoc, typescript, remote, micro frontends
Question
I love typedoc and its generated docs, but is it possible to use the output of typedoc or even write some plugin to be able to use typedoc output as remote type (comment or import) e.g.
/** typedoc:url website.com/typedoc/MyComponentType **/
const MyComponent = import('website.com/components/MyComponent');

- or -

import MyComponentType from  `website.com/typedoc/MyComponentType`;
const MyComponent: MyComponentType = import('website.com/components/MyComponent');

This pattern would allow remote types, when using patterns like micro frontend and there no direct importing of the different repos. This could also aid in the generation of better docs, where the type is remote, we could say something like:
import MyComponentType from  `website.com/typedoc/MyComponentType`;
type Something {
   MyComponent: MyComponentType
}

Let me know if this is possible, if not maybe point me in the right direction.

You're probably after renderer.addUnknownSymbolResolver - https://github.com/TypeStrong/typedoc/blob/master/internal-docs/third-party-symbols.md


text:
MP3 downloaded music missing background image

Version
1.8.2
Details
When i download a song in MP3 version I don't get the image when I play it with VLC Media Player, there is only a black screen instead of the background (which is the thumbnail of the video I guess)
Is that bug or a problem with my media player or you intended to remove this feature in this version?
Steps to reproduce
Download any video in MP3 version
Open the file with a media player

This only extracts audio from the video from YouTube, so there won't be any "tags" for the audio file, so this is not a bug, I suppose, as you are getting the audio only

@KavyaKinjalk yeah but with the previous version I could do it, so I don't know if they removed this feature

@EremitaDelle6Vie, I have the suffer from issue, I tried around with some older versions but it did not work there either, maybe its caused by some changes on the serverside.

Same problem ++ Please add thumbnail images to mp3 files.

I can add on my previous comments.
In the Audi entertainment system the thumbnails were shown, but not in Windows.
But I used a older version in the process of getting it to work again.

repo: Tyrrrz/YoutubeDownloader


text:
🛑 Mirrors OPL is down

In 14f997c, Mirrors OPL (https://mirrors.opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirrors OPL is back up in 6a5e777 after 4 minutes.

repo: UAB-OPL/opl-uab-monitoring


text:
Merge develop into master - Include Grouper 2.5 migration

This is the primary PR now for testing Grouper 2.5 and implementation.
Note: That the original feature was so outdated that required a git merge --no-ff master.
Before this is merged, here are a few things to do:

[ ] Bump the version from v1.0.0 to v1.0.1

[ ] setup.py
[ ] requiam/__init__.py
[ ] docs/source/conf.py

[ ] Update CHANGELOG.md

Note that we have two config files for v2.2 and v2.5 deployment. It's likely that when Grouper 2.5 goes public, that the grouper25.iam.arizona.edu will become grouper.iam.arizona.edu
Closes #116

To test this PR, we do:
./scripts/script_run --config config/figshare_grouper25.ini --persistent_path /mnt/block3_sfo2/ --ldap_password $eds_pass --grouper_password $eds_pass --portal --quota --sync

A dry run tested 99% of the cases except it does not update the quota etc. So after the grouper 2.5 upgrade, partial failures exists for automatic run.
A manual run was carried out. A dry run was successful, but a "--sync" run failed in timeout. Updated "timeout =100" (originally timeout =60 in figshare.ini) solved this issue. The first batch of 100 took 73s. (that is the reason to timeout =60 failed).
17:41:48 -     INFO: batch size = 100, batch timeout = 100 seconds, batch delay = 0 seconds
17:41:48 -     INFO: processing drops:
17:41:48 -     INFO: processing adds:
17:43:02 -     INFO: added batch 1, 100 entries, 73.567426 seconds
17:43:12 -     INFO: added batch 2, 100 entries, 10.436354 seconds
17:43:22 -     INFO: added batch 3, 100 entries, 10.194059 seconds
17:43:32 -     INFO: added batch 4, 100 entries, 9.949762 seconds
17:43:42 -     INFO: added batch 5, 100 entries, 10.029692 seconds
17:43:45 -     INFO: added batch 6, 33 entries, 2.717927 seconds
17:43:45 -     INFO: QUOTA : Total time:  0 hours   7 minutes   17.11 seconds
17:43:45 -     INFO: Total time:  0 hours   15 minutes   39.70 seconds
17:43:45 -     INFO: ******************************
17:43:45 -     INFO: SUMMARY DATA

num_EDS
num_Grouper
adds
drops
total

fine_arts
258
258
0
0
0

performing_arts
426
426
0
0
0

architecture
178
178
0
0
0

arts_design
41
41
0
0
0

business_econ
424
424
0
0
0

management
272
272
0
0
0

economics
110
110
0
0
0

education
1301
1301
0
0
0

english
296
296
0
0
0

lang_culture
392
392
0
0
0

humanities
271
271
0
0
0

law
402
402
0
0
0

nursing
369
369
0
0
0

med_health
1949
1949
0
0
0

clinical
857
857
0
0
0

ped_reprod
197
197
0
0
0

neurology
104
104
0
0
0

oncology
280
280
0
0
0

pharmacology
723
723
0
0
0

physiology
134
134
0
0
0

public_health
492
492
0
0
0

astro
646
646
0
0
0

cognitive_sci
360
360
0
0
0

life_sci
1846
1846
0
0
0

sci_math
1898
1898
0
0
0

earth_sci
1047
1047
0
0
0

physics
200
200
0
0
0

lpl
310
310
0
0
0

agriculture
143
143
0
0
0

anthropology
207
207
0
0
0

social_sci
870
870
0
0
0

cultural_studies
169
169
0
0
0

history
72
72
0
0
0

journalism
245
245
0
0
0

engineering
1268
1268
0
0
0

technology
144
144
0
0
0

libraries
277
277
0
0
0

536870912
15097
15097
0
0
0

2147483648
24393
23860
533
0
533

17:43:45 -     INFO: ******************************

17:43:45 -     INFO: Exit 0

repo: UAL-RE/ReQUIAM


text:
create code-of-conduct and contribution file

I also created a .gitignore file which ignores unnecessary files.

Reviewed by Huan


text:
Peer Review Feedback

Tests

check test framework - potential compatibility issues with non-Mac users (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1915907137 - 1)Tests passed for Joey (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916139577)

Look into Marco's experience with Windows: (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1917919802 - 3, 4) @phchen5

Flies to Delete

remove pyxplor.py (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1915907137 - 2) (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916139577 - 1) (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916277295 - 2) (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1917919802 - 1) @iris0614  (DELETE: pyxplor.py from src AND from tests)

Vignette @rbouwer

Break the Main Vignette, into smaller ones, could have a quick look, basic usage section. A longer in depth vignette going into the lengthy explorations that are possible with the package (separated) under a separate tab. Albeit the current breakdown is definitely helpful. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1915907137 - 3)
It would be better if there was more context about the dataset, and a more detailed introduction explaining the importance and applications of EDA in data science would help users understand the relevance and application of the examples. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916139577 - 2)
If possible, include interactive elements or widgets in the tutorial for a hands-on experience. These interactive elements can make the learning process more engaging and effective, and help users better understand the capabilities and use of the package. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916139577 - 3)

Function Improvements

plot_categorical @rbouwer (Nice to have - OPTIONAL)

For the categorical bar plots, they could be ordered by largest to smallest to make it easier to visualise the categories. They are ordered in the facetted plots, only the first plot in the docs for categorical is not. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1915907137 - 4)
It might be beneficial to reconsider the use of colour in the Distribution of Categorical Variables. The current approach assigns colours to bars based on their count ranking, which could potentially confuse users. For example, in your example.ipynb, pickup_borough is displayed in green for Bronx, while dropoff_borough is in red, solely due to count variations for the same variable. Given that each bar already has a clear label, the additional colour coding might not be necessary and could be removed. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916277295 - 3)

plot_numeric @iris0614 (Nice to have - OPTIONAL)

You can enhance the EDA experience by offering scatterplots between the target variable (if numerical) and the numerical explanatory variables, catering to users who want to visualize the relationships before creating models for predictions. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916277295 - 4)

Ordinal? (For later)

Consider EDA for ordinal variables, I think "passengers" is visualized as an ordinal variable instead of categorical variable, as you've maintained the natural order of the number of passengers instead of ranking them as you did with other categorical variables. (see example.ipynb). (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916277295 - 5)

Badges

The badges are not all all there, could consider all adding the 2 missing ones  Continuous integration and test coverage, and Python versions supported (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1915907137 - 5) (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916139577 - 4) (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1916277295 - 1) @arturoboquin

Repo Improvements

Although there is a clickable button that leads you to the documentation, I would suggest adding a link in the "About" section of the repo so that less experienced users don't struggle as much when trying to find it. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1917919802 - 2) @arturoboquin

README

As of today, the installation instructions' title is "Installation (developers)". As a regular user, that made me think that I was looking into the wrong section and I searched for the "Installation (mortals)" section. As I didn't find one, I assumed that you chose this title as the package is still in development. However, I would remove the "(developers)" in the final version or create a regular user section and move the developer's instructions to the ReadTheDocs full documentation website. (https://github.com/UBC-MDS/software-review-2024/issues/9#issuecomment-1917919802 - 5) @phchen5

any additional improvements (log in this issue)

COMMIT MESSAGE FORMATTING
fix: Feedback addressed by ...

repo: UBC-MDS/PyXplor


text:
🛑 Student Media - Motley is down

In 5467b7d, Student Media - Motley (https://motley.ie) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Student Media - Motley is back up in 657aeab after 26 minutes.

repo: UCCNetsoc/upptime


text:
Software Emulation / Onboard Running Stuck after Enqueued task

First of all, thank you for the awesome work.
I am trying to run the FlexCNN workflow and repeat the experiments in the paper. I have encountered some difficulties and I think I could use some help.
Environment
Ubuntu 16.04 LTS
Vivado Design Suite 2018.3
SDx 2018.3
Instruction generation and DSE are done the same as the documentation says, no changes made.
Description
I could not finish running the entire workflow on AWS.F1 instance. SDAccel hw_emu works but sw_emu produces the same error.
The host program output during sw_emu is as follows:
$ ./pose_prj.exe binary_container_1.xclbin
Your working PATH is: /home/niansong.zhang/FlexCNN
cin_size: 15728384
bias_size: 27792
weight_size: 553952
Loading instructions...
Layer num: 95
Preparing data...
Loading input...
Loading weight...
Loading bias...
Loading output...
Found Platform
Platform Name: Xilinx
device number: 1
device name: xilinx_aws-vu9p-f1-04261818_dynamic_5_0
INFO: Importing binary_container_1.xclbin
Loading: 'binary_container_1.xclbin'
Kernel launched!
Enqueued task!

The workflow could not finish running after ~5 hours. However, hw_emu finishes running and passes result check (which is done in the host program).
Makefile
My makefile for sw_emu is:  (same as the repo, only changed tool paths)
#
# this file was created by a computer. trust it.
#

# compiler tools
XILINX_VIVADO_HLS ?= $(XILINX_SDX)/Vivado_HLS

SDX_CXX ?= $(XILINX_SDX)/bin/xcpp
XOCC ?= $(XILINX_SDX)/bin/xocc
RM = rm -f
RMDIR = rm -rf

SDX_PLATFORM = xilinx_aws-vu9p-f1-04261818_dynamic_5_0
# SDX_PLATFORM = xilinx_vcu1525_xdma_201830_1
XILINX_XRT = /opt/xilinx/xrt

# host compiler global settings
CXXFLAGS += -DSDX_PLATFORM=$(SDX_PLATFORM) -D__USE_XOPEN2K8 -I/home/Xilinx/SDx/2018.3/runtime/include/1_2/ -I/home/Xilinx/SDx//2018.3/include/ -O2 -Wall -c -fmessage-length=0 -std=c++14 -I/opt/xilinx/xrt/include/
LDFLAGS += -L/opt/xilinx/xrt/lib/ -lxilinxopencl -lpthread -lrt -lstdc++ -L/home/Xilinx/SDx/2018.3/runtime/lib/x86_64

# kernel compiler global settings
XOCC_OPTS = -t sw_emu --save-temps --report system --max_memory_ports top_kernel --platform $(SDX_PLATFORM) -O3 --sp top_kernel_1.m_axi_gmem1:bank0 --sp top_kernel_1.m_axi_gmem2:bank1 --sp top_kernel_1.m_axi_gcontrol:bank0

#
# OpenCL kernel files
#

BINARY_CONTAINERS += binary_container_1.xclbin

BUILD_SUBDIRS += binary_container_1
BINARY_CONTAINER_1_OBJS += binary_container_1/top_kernel.xo
ALL_KERNEL_OBJS += binary_container_1/top_kernel.xo

ALL_MESSAGE_FILES = $(subst .xo,.mdb,$(ALL_KERNEL_OBJS)) $(subst .xclbin,.mdb,$(BINARY_CONTAINERS))

#
# host files
#

HOST_OBJECTS += src/cnn_sw.o
HOST_OBJECTS += src/host.o
HOST_OBJECTS += src/xcl2.o

HOST_EXE = pose_prj.exe

BUILD_SUBDIRS += src/

#
# primary build targets
#

.PHONY: all clean
all: $(BINARY_CONTAINERS) $(HOST_EXE)

clean:
	-$(RM) $(BINARY_CONTAINERS) $(ALL_KERNEL_OBJS) $(ALL_MESSAGE_FILES)  $(HOST_EXE) $(HOST_OBJECTS)
	-$(RM) *.xclbin.sh
	-$(RMDIR) $(BUILD_SUBDIRS)
	-$(RMDIR) _xocc*
	-$(RMDIR) .Xil

.PHONY: incremental
incremental: all

nothing:

#
# binary container: binary_container_1.xclbin
#

binary_container_1/top_kernel.xo: ../src/hw_kernel.cpp ../src/pose.h /home/Xilinx/Vivado/2018.3/include/hls_stream.h /home/Xilinx/Vivado/2018.3/include/ap_int.h /home/Xilinx/Vivado/2018.3/include/ap_fixed.h
	@mkdir -p $(@D)
	-@$(RM) $@
	$(XOCC) $(XOCC_OPTS) -c -k top_kernel --max_memory_ports top_kernel --messageDb $(subst .xo,.mdb,$@) -I"$(<D)" --xp misc:solution_name=_xocc_compile_binary_container_1_top_kernel -o"$@" "$<" --kernel_frequency 310

binary_container_1.xclbin: $(BINARY_CONTAINER_1_OBJS)
	-@echo $(XOCC) $(XOCC_OPTS) -l --nk top_kernel:1 --messageDb $(subst .xclbin,.mdb,$@) --xp misc:solution_name=_xocc_link_binary_container_1 --remote_ip_cache /home/niansong.zhang/workspace/ipcache -o"$@" $(+) > binary_container_1.xclbin.sh
	$(XOCC) $(XOCC_OPTS) -l --nk top_kernel:1 --messageDb $(subst .xclbin,.mdb,$@) --xp misc:solution_name=_xocc_link_binary_container_1 --remote_ip_cache /home/niansong.zhang/workspace/ip_cache -o"$@" $(+) --kernel_frequency 310

#
# host rules
#

src/cnn_sw.o: ../src/cnn_sw.cpp ../src/pose.h
	@mkdir -p $(@D)
	$(SDX_CXX) $(CXXFLAGS) -DSDX_PLATFORM=$(SDX_PLATFORM) -D__USE_XOPEN2K8 -I/home/Xilinx/SDx/2018.3/runtime/include/1_2/ -I/home/Xilinx/Vivado/2018.3/include/ -O2 -Wall -c -fmessage-length=0 -o "$@" "$<"

src/host.o: ../src/host.cpp ../src/xcl2.hpp ../src/pose.h
	@mkdir -p $(@D)
	$(SDX_CXX) $(CXXFLAGS) -DSDX_PLATFORM=$(SDX_PLATFORM) -D__USE_XOPEN2K8 -I/home/Xilinx/SDx/2018.3/runtime/include/1_2/ -I/home/Xilinx/Vivado/2018.3/include/ -O2 -Wall -c -fmessage-length=0 -o "$@" "$<"

src/xcl2.o: ../src/xcl2.cpp ../src/xcl2.hpp
	@mkdir -p $(@D)
	$(SDX_CXX) $(CXXFLAGS) -DSDX_PLATFORM=$(SDX_PLATFORM) -D__USE_XOPEN2K8 -I/home/Xilinx/SDx/2018.3/runtime/include/1_2/ -I/home/Xilinx/Vivado/2018.3/include/ -O2 -Wall -c -fmessage-length=0 -o "$@" "$<"

$(HOST_EXE): $(HOST_OBJECTS)
	$(SDX_CXX) -o "$@" $(+) $(LDFLAGS) -lxilinxopencl -lpthread -lrt -lstdc++ -L/home/Xilinx/SDx/2018.3/runtime/lib/x86_64

I would really appreciate any help or insights. Thank you for looking into this problem.
TL,DR: sw_emu and hardware test are stuck after task enqueued.

Could you please run the code with libsacc/config/openpose.insts so that we can find out whether the code has a problem or the instructions?
If that worked, add “#define DEBUG_layer” to “util.h”, run the software emulation and see at which layer the code gets stuck. Note that when you add this, hardware emulation doesn’t run. You should comment it for hardware emulation.

Thank you for the quick response!
I changed the instruction to libsacc/config/openpose.insts and recompiled, but software emulation still stucks.
Using openpose instructions and enabling DEBUG_layer:
Passed85
Passed86
Passed87
Software emulation of compute unit(s) exited unexpectedly

It was running fine until layer 88. I'll check what layer it is and see if I can get some clue.
A random guess: could it have something to do with pooling layer? I am using the SDx_project code, and just noticed that pooling is not connected in the engine module (SDx_project/src/hw_kernel.cpp).

The problem here is that there is no layer 88. There are instructions for 87 layers in openpose.insts. Change the LAYER_NUM in params.h to 87 and the problem should go away.
The OpenPose network does not use the pooling layer that is why it is commented in SDx_project/src/hw_kernel.cpp. If your network uses a pooling layer, just uncomment the pool module.

Thank you, that solved my problem. Thank you very much for the timely help!

authors: atefehsz zzzDavid

repo: UCLA-VAST/FlexCNN


text:
Name intermediate results of Future composition, and other clarifications

The primary aim of this PR is to make it easier to comprehend the Future composition paradigm that I have used extensively throughout the codebase, by giving names to things that were previously anonymous.
I've also corrected some typos and made minor no-op changes for concision (hopefully not at the expense of clarity).
I'm open to all feedback as far as what you all think works, or doesn't.

Also, I'd like to pretend the branch name is "naming things".

I guess the tests ran slowly enough on that particular PR build that they triggered a timeout error. The timeout value on those tests is 10 seconds. My rationale for keeping those was that they provide additional specification of how the component under test should behave, although I am not opposed to removing them if they're going to fail intermittently when run in GHA.

repo: UCLALibrary/prl-harvester


text:
Fixed issues and added W15_lab06.md

I addressed issues #8, #9 and #13 and added W15_lab06.md as required by lab06
For #8, I didn't add the pictures for the flag and mine, i just made the colors nicer and removed the numbers.
For #9, I added dialog boxes that pop up when you win or lose.

Lab06 procedure changed; make a new pull request to the amazingcaleb branch

authors: amazingcaleb mliou


text:
feat: osnap execution warning message

motivation
We want to show oSnap users a warning if their safe is misconfigured and their transaction will not auto execute.
We call an endpoint at https://osnap.uma.xyz/api/sapce-config to inspect the on-chain settings for a given safe.
In Proposals list (already proposed)

In transaction Builder  (before proposal)

seeing an issue on space: https://snapshot-77xkgjvgj-uma.vercel.app/#/umadev.eth/create

not sure if this is us or snapshot

prd here: https://github.com/snapshot-labs/snapshot/pull/4567

repo: UMAprotocol/snapshot


text:
automated recompilation of the website every week (for updating pages like Publications that craw external services)

New paper that has posted on:  https://arxiv.org/a/niffenegger_r_1.html
is not showing up on https://quantumdraft.umass-amherst.org/publications/.

The papers update only when a new version of the website is compiled. I will set up a recurrent job to do that once a week when it is closer to done. When I merge #5, the paper should be visible.

The papers update only when a new version of the website is compiled. I will set up a recurrent job to do that once a week when it is closer to done. When I merge #5, the paper should be visible.

it is now complete (see the .buildkite and .github/deploy configs)

authors: Krastanov rniffenegger

repo: UMassQIS/UMassQISWebsite


text:
Retest Only: CAMPD Right Menu - EPA 508 issue

Finding

Page/ Screen
Finding
WCAG 2.0 Standard(s)

Right Menu
The right menu contains 3 subtopics each of which has both a button and a link.   Both the buttons and links have identical names but different functions.   The buttons expand and collapse the corresponding submenus while the links lead to an external information page.   These names should be updated to clarify the function of each.
2.4.4

Context
The tech team is working on the right menu component. The new menu component will be implemented with ticket Refactor CAMPD UI to use easey-design-system components #1572. This ticket should be retested with ticket #1572

Retest complete, there are no more expandable buttons, only links. Issue is fixed

authors: JanellC aprematta

repo: US-EPA-CAMD/easey-ui


text:
Add Hg Injection data elements to Import Endpoint

Add Hg Injection data elements to Import Endpoint

Test Case: TC1186
Test Passed

authors: mosesdeeCVP vishnunavuluri


text:
Load Test History Report Definition into database

Need to define & load the report definition...
Example Reports
https://teams.microsoft.com/l/file/CC8EC58F-2014-49DD-9E85-BEC9D39E270C?tenantId=88b378b3-6748-4867-acf9-76aacbeca6a7&fileType=pdf&objectUrl=https%3A%2F%2Fusepa.sharepoint.com%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FTheEmissioners%2FECMPS Reports%2FMonitor Plan Audit.pdf&baseUrl=https%3A%2F%2Fusepa.sharepoint.com%2Fsites%2FCAMDCVPTeam&serviceName=teams&threadId=19:56d336e3060849efa0557d379b78d9ca@thread.skype&allowXTenantAccess=false&groupId=21a5e1cd-d3f1-48a6-801f-0d34e2d63d23
Example of test history report:
https://usepa.sharepoint.com/sites/CAMDCVPTeam/Shared Documents/Forms/AllItems.aspx?FolderCTID=0x012000B4ABB0EF9635994FA680705355892410&id=%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FECMPS 2.0%2FECMPS Reports%2FTest History.pdf&parent=%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FECMPS 2.0%2FECMPS Reports

Need clarififcation from Chris W on the priority of this report


text:
Bug: Evaluate Critical Error Adjusted Value

Issue: When a user logs in, imports from a historical file back, and then evaluates the user receives critical errors regarding the adjusted value
Steps to Recreate:
Log in
Import form historical Q4 2022 Limestone
Evaluate the file
User gets critical errors regarding adjusted value
Link to evaluation report:
https://ecmps-tst.app.cloud.gov/reports?reportCode=EM_EVAL&facilityId=298&monitorPlanId=MDC-D4D7F122FD8F488F8B09A87DF926020E&year=2022&quarter=4

#5731, #5732 and #5759 are all the same problem where adjustedHourlyValue was not being read in on import. These have all been addressed with changes from #5759

Private Zenhub Image

Evaluated without Critical Error


text:
TwoRegion_Summary_DomesticUse rds missing for 2012 and 2013

The two rds files are missing
https://edap-ord-data-commons.s3.amazonaws.com/index.html?prefix=stateio/
The json files are present, but not the rds files

Uploaded

authors: WesIngwersen catherinebirney

repo: USEPA/stateior


text:
Make a target for the SOHL land cover data

The SOHL land cover data is not being automatically recognized by the function that scans ScienceBase. We'll need to add this data to the pipeline manually. That could be done in a couple of ways:

After the table of ScienceBase links is fetched, create a target that adds a row for the SOHL data. I think this works best for use in our current workflow.
Create a separate target that fetches the SOHL data.

From @ajsekell: this happened because item_list_children() has a default max limit of 20 items. Increasing that limit resulted in retrieving the SOHL land cover item in the table of ScienceBase links.
I'm going to link this issue with the ScienceBase PR #54

Addressed in #75

repo: USGS-R/regional-hydrologic-forcings-ml


text:
Train To Pakistan

Book Title?
Train To Pakistan
Author?
Kushwant Singh
Genre of Book?
Fiction/Historical Fiction

#6

repo: USKhokhar/fehrist


text:
Move account link verification email template(s) into the account adapter instead of hardcoding them

Allow the account adapter to specify the email template that should be used to send a verification email, instead of hardcoding it into the view.
This requires adding an "account_verification_email_template" setting to the AccountAdapter, and updating the AccountLink view to use the template from the adapter instead of the hard-coded template. The default template in the adapter should be set to the template currently being used.

Closed by #526

repo: UW-GAC/django-anvil-consortium-manager


text:
Fix/issue_209

count the number of output vars in each file rather than requiring the user specify this integer directly.
fixes #209

This could also be done with forcing vars...  just sayin'

@tbohn - do you have any comments on the implementation here. I'm not super familiar with text file parsing in C so comments would be appreciated.
I'll put together another PR for the remaining issues in #366.

The text-parsing looks OK.  The docs still mention nvars though...

Thanks @tbohn.  I've update the docs, will squash, then merge on passed Travis tests.

authors: jhamman tbohn

repo: UW-Hydro/VIC


text:
MUMUP-1467 : change home to favorite on app place

-home
+favorites

:+1:

authors: jhanstra timlevett

repo: UW-Madison-DoIT/angularjs-portal


text:
PixelObjectList implementation - Duplicates by visual identification

This first PR only looks at the visual portion of the analysis.
Note there are some preliminary GPS functions and colour functions for now. They are a result of planning. They are included in this PR, but are not in a functional state. Please ignore these mostly empty functions.
This PR should have been completed a while ago....here it is.

Issues fixed with respect to your comments.
Two things that are not in this PR and will be worked on in a future one:

Settings Singleton (Should this be for the whole warg-cv suite? or just for my module? I'm thinking the whole thing)
Option for pre-computed data (for contours), I'm still not quite sure how I will do this exactly. Once again, this is a separate PR.

-GPS code works in unit tests, I just need a proper camera calibration (alpha values) and to test it in the field or with videos.

@benjaminwinger If you get the chance, can you review this PR?

Sorry, I've been a little busy (and sick).
Working on it.

Sorry no worries. I'm going to try and get a live version of this running this weekend though...

Also, regarding the duplicate comments from yesterday, the first time I accidentally closed the page and they disappeared, then my graphics driver crashed and I had to reboot my computer.
Apparently my comments weren't lost after all, though they weren't showing up before I submitted the rewritten ones.

repo: UWARG/computer-vision


text:
Setup Slack channel for developers and maintainers

Slack seems to be the collaboration app to use right now. It'll great if someone can set up a channel as a common place for flow collaboration.

I just set up a channel! Give me an email and I'll send you an invite.

repo: UWFlow/rmc


text:
Catching up with some stuff

Not finished with all of it.

Off to a good start. Mailroom is very nice.

authors: codedragon komashu

license: unlicense


text:
S3 key backup

In your diagram you have sketches that keys will get backup to s3. But i dont see any configuration or credentials needed for a save s3 account to save backups there.
what im missing?

S3 backup is for Terraform state and created SSH keys for Hetzner. There is Terraform code for creating buckets, DynamoDB entries, and a bucket for SSH key backup. It assumes that you have AWS CLI installed and you are logged in with valid credentials

SSH backup will create a bucket and back up the keys that are in the coolify_hetzner_infra/.ssh directory during Terraform apply

authors: Ujstor regenrek


text:
🛑 Encalcat Boutique is down

In 463d5e1, Encalcat Boutique (https://boutique.encalcat.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Encalcat Boutique is back up in 866ac23 after 47 minutes.

repo: UnSeulT/upptime


text:
🛑 Bio 34 is down

In 0fc8d2b, Bio 34 (https://bio34.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bio 34 is back up in eaad15b after 16 minutes.


text:
Duplicate Entries

I checked the miner on my computer and noticed that two identical entries were created in the web panel.

I don't think this is a critical issue. But I wonder what is the reason?

Either they are two miners you have running with different build IDs, or it wasn't able to read the already existing entry in your database so it created a new one on the connection.

Understood. Thanks for the quick response.

authors: UnamSanctam masterjek

repo: UnamSanctam/UnamWebPanel


text:
http://0.0.0.0:5000/neptune

I'm getting a link on Socialfish where I need to go to http://0.0.0.0:5000/neptune and fill in a username and a password, but if I just fill in my kali linux username and password there will come a pop-up with ''Bad''.
What do I have to do??

You don't have to fill in your kali linux username and password.
You have to fill in the username and passwords you used while executing SocialFish.py

For instance, as shown in the image I attached, the credentials would be:
Username: admin
Password: password

I stil get the pop-up “bad”

root@kali:~# cd Bureaublad/SocialFish
root@kali:~/Bureaublad/SocialFish# python3 SocialFish.py ./SocialFish root kali
                      '
                    '   '  UNDEADSEC | t.me/UndeadSec
                  '       '  youtube.com/c/UndeadSec - BRAZIL
             .  '  .        '                        '
         '             '      '                   '   '

███████ ████████ ███████ ██ ███████ ██       ███████ ██ ███████ ██   ██
██      ██    ██ ██      ██ ██   ██ ██       ██      ██ ██      ██   ██
███████ ██    ██ ██      ██ ███████ ██       █████   ██ ███████ ███████
██ ██    ██ ██      ██ ██   ██ ██       ██      ██      ██ ██   ██
███████ ████████ ███████ ██ ██   ██ ███████  ██      ██ ███████ ██   ██
.    '   '....'               ..'.      ' .
'  .                     .     '          '     '  v3.0Nepture
'  .  .  .  .  . '.    .'              '  .
'         '    '. '      Twitter: https://twitter.com/A1S0N_
'       '      '       Site: https://www.undeadsec.com
' .  '
Go to http://0.0.0.0:5000/neptune to start

Serving Flask app "SocialFish" (lazy loading)
Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Debug mode: off
Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [11/Apr/2019 02:25:58] "GET /neptune HTTP/1.1" 200 -
127.0.0.1 - - [11/Apr/2019 02:26:06] "POST /neptune HTTP/1.1" 200 -

this is what i got, i didnt know how to screenshot in mac so i copied everything

Go to http://0.0.0.0:5000/neptune

That’s the problem, if I’m going to http://0.0.0.0/neptune and login I will get a pop up with “bad” on it. So what are the login username and password?

Try 127.0.0.1:5000/neptune.

Same problem , after login : Bad ????

Is linux is necessary for socialfishing ?

same problem

Having the same problem

How do I create a link to send the URL to the victim outside internal network?

Having the same problem

That’s the problem, if I’m going to http://0.0.0.0/neptune and login I will get a pop up with “bad” on it. So what are the login username and password?

I have the same problem as you solved it

I'm getting a link on Socialfish where I need to go to http://0.0.0.0:5000/neptune and fill in a username and a password, but if I just fill in my kali linux username and password there will come a pop-up with ''Bad''.
What do I have to do??

Reply-
You do not have to fill your kali linux id and pw
You have to fill username as "username" and password as "password"

https://0.0.0.0:5000/neptune i was get it but i can't to login whit the link socialfish what must can i do please?

Try http://127.0.0.1:5000/neptune.

it works

Arkadaşlar socialfish uygulamasında server ve token verebilecek varmı

repo: UndeadSec/SocialFish


text:
🛑 Orland Park is down

In 8ffdad1, Orland Park (https://evergreenslc.com/orlandpark) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Orland Park is back up in df67775 after 13 minutes.

repo: UniSynTechnologies/Upptime


text:
Docker compose for demo

Hi,
I have been reading about unitime and trying to wrap my head around it, to see if we could use to help high-schools create and manage their timetables.
I was able to get set up locally using a docker-compose demo I found at https://github.com/vlatka-sinisa/docker-unitime and I thought it would be worth to mention it here, that having that docker-compose file in this repository could be a great way to help newcomers set up unitime locally. It is also a great way to document installation since dockerfiles tend to have all the instructions needed to set up the system.
If you think this is a good idea, I could create a pull request for it, maybe you have some guidance on how it would best be done.
Thanks

It is not my intention to have this docker-compose file serve as a way to deploy unitime to production but to set up the demo environment, which once coded as a set of docker containers, should end up being as simple as docker-compose up. I have learned that the easier we make it for beginners to set up a demo, the greater the chances of them contributing to the project.
If you had a chance to read through the files in that repository you will see they describe two containers, one for the DB and the other for the server, and in under 20 lines install all dependencies to get ready to run it locally.
Perhaps placing them inside the documentation folder is an option.
In any case thanks for the project, it is impressive!. Let me know if you are ok with adding these files to the documentation folder, I can do it as a PR.

Yes, I have looked at the files in the vlatka-sinisa/docker-unitime repo. I am a bit concern about the absolute paths (like /usr/local/tomcat) -- would it work with Docker on Mac OS or Windows? Most of the questions we get from people struggling to install UniTime are actually Windows users.
I can see having it under something like /Documentation/Docker-Example.

Oh that is the magic of docker, that path is internal to the container, for example https://github.com/vlatka-sinisa/docker-unitime/blob/master/docker/tomcat8/Dockerfile#L12 is mkdir /usr/local/tomcat/data but that happens inside a container. It is as if you got a fresh clean server and you can do that sort of thing inside of it, without affecting the external system.
With that docker setup, all a person needs to have on their machine is docker and docker-compose.
This is also of great help for development, since you can reproduce an environment in seconds, try something out, and if you need, recreate it also within seconds.
I tried running unitime to see if I could help with frontend, or to see if there was a REST api I could use, for example.

A simple docker installation is now available under Documentation/Docker and available starting with UniTime 4.8.126.

authors: avilaton tomas-muller

repo: UniTime/unitime


text:
[Audit medium severity] Potential Attestation Loss

The Unirep protocol allows attesters to assert that changes should be made to the owners of particular epoch keys. Over the course of the epoch, these changes are recorded the attester’s epochTree which is a re-usable incremental merkle tree. When epochs expire, users are expected to apply the changes recorded in the epochTree by performing a state transition. To do so, however, the epoch tree root must be saved along with the state tree root in the history tree. In the Unirep contract, this is done when transitioning to a new epoch but only if an update has been made to the stateTree. Therefore, if no state tree update has been made the attestations are discarded.

Location where the epochTree is reset
    function updateEpochIfNeeded(
        uint160 attesterId
    ) public returns (uint48 epoch) {
        ...

        if (attester.stateTree.numberOfLeaves > 0) {
            uint256 historyTreeLeaf = PoseidonT3.hash(
                [attester.stateTree.root, attester.epochTree.root]
            );
            uint256 root = IncrementalBinaryTree.insert(
                attester.historyTree,
                historyTreeLeaf
            );
            attester.historyTreeRoots[root] = true;

            ReusableMerkleTree.reset(attester.stateTree);

            attester.epochTreeRoots[fromEpoch] = attester.epochTree.root;

            emit HistoryTreeLeaf(attesterId, historyTreeLeaf);
        }

        ReusableMerkleTree.reset(attester.epochTree);

        emit EpochEnded(epoch - 1, attesterId);

        attester.currentEpoch = epoch;
    }

Impact
As the state tree is only changed when a user is added by the attester or when a user transitions state, it is possible for attestations to be lost. In particular, assuming no users are updated it is possible for current users of the protocol to collude to discard undesirable updates to the state (particularly if there are a small number of users). Since this epoch is essentially discarded and ignored, this users may then transition from the previous epoch to the next epoch (i.e. users may skip e to transition from e-1 to e+1).
Developer Response
It is expected that the attester will validate an epoch key before performing an attestation. As long as this is done properly, then the epoch tree will be empty if the state tree is empty.

I think we can add revert in attest
if there is no leaves in the current state tree, the contract reverts the attestation.

Yes we could, it would add a cold SLOAD (a few thousand gas). I think a warning is sufficient for this, attesters should be aware of the epoch keys they're attesting to (e.g. validate that the epoch key exists in the state tree).

authors: vimwitch vivianjeng

repo: Unirep/Unirep


text:
Invalid test generated with declared 'void' variable

Project: libbpf
File: libbpf/src/strset.c
Function: strset__add_str
Generated test:
TEST(error, strset__add_str_test_5)
{
    struct strset set = {NULL, 0UL, 10UL, 0UL, NULL};
    char s[] = "bcacbccccb";
    void utbotInnerVar1 = 0;
    set.strs_data = &utbotInnerVar1;
    set.strs_hash = &utbotInnerVar1;
    strset__add_str(&set, s);
    struct strset expected_set = {NULL, 0UL, 0UL, 0UL, NULL};
    EXPECT_EQ(expected_set.strs_data_len, set.strs_data_len);
    EXPECT_EQ(expected_set.strs_data_cap, set.strs_data_cap);
    EXPECT_EQ(expected_set.strs_data_max_len, set.strs_data_max_len);
}

Error:
/home/utbot/projects/libbpf/tests/src/strset_test.cpp:67:10: error: variable has incomplete type 'void'
    void utbotInnerVar1 = 0;

The problem still exists on the latest master

@sava-cska, makes sense to follow the example of #200 and not instantiate incomplete types at all

repo: UnitTestBot/UTBotCpp


text:
Go. Assertions for structures should be accurate

Description
Now tests generated for Go structures have assertNotEquals for the whole structure.
Actual and expected structures have only one different field.
If some other field is different in actual and expected structures, the test will pass too.
Context
for example:
utbot-go/go-samples/simple/supported_types_go_ut_test.go see TestStructWithNanByUtGoFuzzer
Actual behavior
assert.NotEqual(t, Structure{int: -1, int8: 1, int16: 32767, int32: -1, int64: -1, uint: 18446744073709551615, uint8: 0, uint16: 1, uint32: 0, uint64: 18446744073709551615, uintptr: 18446744073709551615, float32: 0.02308184, float64: math.NaN(), complex64: complex(float32(0.02308184), float32(0.02308184)), complex128: complex(0.9412491794821144, 0.9412491794821144), byte: 0, rune: -1, string: "", bool: false}, actualVal)

Expected behavior
assert.NotEqual(t, math.NaN(), actualVal.float64)

Environment
IntelliJ IDEA 2022.1 - 2022.2 Ultimate/Community
GoLand 2022.2

Can we identify which fields has changed from initial ones?
Then can make assertNotEquals for them only.
Other possible solutions are:

also add assertEquals for other fields of the structure? Like the following:

assert.NotEqual(t, math.NaN(), actualVal.float64)
assert.Equal(t, -1, actualVal.int)
assert.Equal(t, 1, actualVal.int8)
...

Or it would be better to use one assertEquals for the whole structure? Like:

assert.Equal(t, Structure{int: -1, int8: 1, int16: 32767, int32: -1, int64: -1, uint: 18446744073709551615, uint8: 0, uint16: 1, uint32: 0, uint64: 18446744073709551615, uintptr: 18446744073709551615, float32: 0.7815346, float64: 0.3332183994766498, complex64: complex(float32(0.7815346), float32(0.7815346)), complex128: complex(0.3332183994766498, 0.3332183994766498), byte: 0, rune: -1, string: "", bool: false}, actualVal)

During discussion of the issue @Markoutte suggested an assertion approach, that can be useful for all languages:

#1881

repo: UnitTestBot/UTBotJava


text:
Bot Raid Protection

Need to remake https://github.com/Sirush/UDHBot/pull/112 in this repo

I'll implement it using the same logic as the setup as Sirush#112 but I'll make this into a proper service with a command that can be used to enable it manually with some sort of cooldown before it automatically turns back off.

Do we still need this? Does wick do this? If we do still need something, was the original solution to just kick any new joins after X number of people join at the same time acceptable?
Think I got most of the way with this, but stopped. I'll see if this was complete and try testing it sometime in the next couple days.

Wick has this feature but only on premium.
So that might still be good to have, especially since you already did some work and it would be a shame to waste it!

authors: Pierre-Demessence SimplyJpk

repo: Unity-Developer-Community/UDC-Bot


text:
chore!: replace MLAPI namespace with Unity.Netcode

part of our upcoming MLAPI rebranding, we need to change our namespaces around the codebase.

I'm wondering if using "Unity.NGO" instead of "Unity.Netcode" would be better to differentiate with dots netcode.

Changes LGTM assuming there's alignment on the namespace. I don't have a problem with it, although tools is using Unity.Multiplayer and we may want to change that too to follow suit (I'll follow up on this).

This will need some really good messaging so internal devs all know what to expect, and any outstanding PRs know to merge backwards even if there's no conflicts.

Yeah, @becksebenius-unity I think you're right, I think we'd have to all move under Unity.Netcode

Yeah, @becksebenius-unity I think you're right, I think we'd have to all move under Unity.Netcode

For Boss Room, I'd lean toward keeping with our "BossRoom" namespace, since it's all user side code. It'd make sense to not mix namespaces for this.

authors: MFatihMAR SamuelBellomo becksebenius-unity mattwalsh-unity


text:
Error implicating imported features on core features

While testing constraints, I encountered the following issue, but it only occurs in this particular configuration. See screenshots.

Important: If other features are used on both import1-side and the other side, taut will not occur.
Maybe I'm stupid, but can one of you check this?

It's the same for me. looks really weird.

Maybe solved by #94

Fixed by #94

authors: MartinMUU SundermannC ThiBruUU felixrieg

repo: Universal-Variability-Language/uvl-lsp


text:
Problem running example_control_loop.py

I've attached a photo of the error. It occurs from the rtde_config.ConfigFile(config_filename) on line 43 of the program.

Any suggestions of points in the right direction are appreciated

It's likely because you're running example_control_loop.py from main folder instead of examples folder.
Version 2.7.2 is also fixing minor issue in control loop example.

authors: michal-milkowski t-little


text:
[student page - hops] a graduated student has only 27% in hops

014807781

lots of simillar cases, eg 011547400

It has now magically changed to 100%: https://oodikone.helsinki.fi/students/014807781 ...

Both seems fine

authors: LeoVaris mluukkai vaahtokarkki

repo: UniversityOfHelsinkiCS/oodikone


text:
Term program interaction update

Critical Changes
Term and Program selection updates: after a term is selected, only programs with related Intended Programs Terms with the selected term appear as options
Interaction updates: Interactions created from Application Registration now have additional information (in particular, Term and Program information), interactions are now created for any additional applications started after application registration

actually good to go now!

actually good to go now!

repo: UniversityOfSaintThomas/UST-EASY


text:
feat: init context

About the changes
Ability to pass initial context fields when initializing the client
Design considerations:

event though having a strongly typed context would be a nicer solution overall it's a bigger change that I'd like to handle together with the updateContext refactoring to have a symmetrical API. We can try this breaking change in version 2.0 of this client. For now I'd like to avoid increasing the API surface area and adding 2 types of init/updateContext
since updateContext accepts [String: String] I am thinking about exposing the same Stringly typed context into the init method
I extracted calculateContext method that will apply to both updateContext and init to split flat context [String, String] into standard context fields and user defined properties. But from the usage perspective it's just one Stringly typed map
appName and environments are always taken from the explicit fields (for backwards compatibility) and everything else can be overwritten with context

Important files

Discussion points

This seems reasonable to me, and solves the same problem as #71, only request I have would be to make the Context fields public to allow the following use-case.
Today, if I want to "clear" certain fields (e.g. userId/sessionId on log out), but keep other existing values (e.g. appVersion), I would need to keep a separate copy of properties outside to keep track of values, since Context.properties is not public today. That's why I made this change: https://github.com/Unleash/unleash-proxy-client-swift/pull/71/files#diff-4196a132b84d6fcbe509066c27b6f6ccd247f880ae7e81826c98355c50256889R2
        var newContext = client.context
        keys.forEach({ newContext.properties.removeValue(forKey: $0.rawValue) })
        return client.updateContext(newContext)

authors: jlubawy kwasniew

repo: Unleash/unleash-proxy-client-swift


text:
feat: default session id

About the changes
What problem are we solving?

enabled info and variant info in the same feature have to be consistent when stickiness is set to default
also we want to have consistency between parent and child features

Solution:

if the user didn't provide sessionId, generate one one the fly

Important files

Discussion points

Is Math.random() good enough?

Is Math.random() good enough?

I think so. In the end we only need it to decide rollout here. Should be good enough for 0.1% splits after our hashing

Yeah agreed, I don't think it matters that much in this context

authors: kwasniew sighphyre

repo: Unleash/unleash-proxy


text:
Properly preserve gym mega evolutions

Finished mega evolutions do not get cleared so we need to preserve when they finish as well.

Screenshot of ReactMap for some additional context.

repo: UnownHash/Golbat

license: Unlicense


text:
Add Mysterious Sword Master Youmu (from LostWord)

New sale https://twitter.com/gift_news/status/1527532221623836672

Thanks, merged with a slight name change


text:
Assignment1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Will this be reviewed and then merged?

repo: UofT-DSI/shell


text:
Home Page (Functions)

Summary
This is the sub issue under Home Page to improve the functionalities of the Home Page of the website.
For Sub-Issue

Change Proposal

Change project types into Card and Button
Propose and add changes to the website to improve usability and interaction

Deadline of the task: TBD

Additional Info

Closing issue to combine it with UI

authors: CatherineZM Felix-Deng

repo: UofT-VEEP/VEEP-Website


text:
Replace highlight.js with prism.js?

Would there be any interest in replacing highlight.js with prism.js1?
Refs.

https://github.com/PrismJS/prism

PS: seems like I haven't followed this project for sometime now, as it was still written in Golang when I used it 😂

The reason we use highlight is the language auto detection.  It we can
replace that portion I would look into replacing with one of many different
highlight engines.
On Feb 20, 2016 4:26 AM, "k0nsl" notifications@github.com wrote:

Would there be any interest in replacing highlight.js with prism.js1?

https://github.com/PrismJS/prism

PS: seems like I haven't followed this project for sometime now, as it
was still written in Golang when I used it 😂
—
Reply to this email directly or view it on GitHub
https://github.com/Upload/Up1/issues/51.

PS: seems like I haven't followed this project for sometime now, as it was still written in Golang when I used it 😂

It actually still is written in Golang, however we've added a second Node server for the time being. Both are currently maintained and we don't have any plans for deprecation at the moment.

The advantage of the Go server is that it is dependency free beyond Go itself

@andre-d:
Yes, that's the issue I stumbled upon when I tried to replace it myself. I couldn't be bothered with it and reverted back to the latest release of highlight.js :)
@k3d3:
Thanks for the clarification.


text:
Release Angular1Meteor through Npm

Expose Angular1Meteor through Npm as default.
Also use it in an Atmosphere package to be compatible with Meteor versions before 1.3

Only things that could be exposed in npm are: angular-meteor-data and angular-meteor-auth.
Compilers stays in atmosphere.
Names in npm:
angular-meteor-data as angular-meteor
angular-meteor-auth stays the same
What you all think about using webpack?
I prepared an example how it would be look like.
https://github.com/kamilkisiela/angular-meteor/tree/v1.4.x-npm/packages/angular-meteor-data

About name of the main package.
At the moment angular-meteor has two dependencies:
angular-meteor-data
angular-templates
But angular-templates is a compiler so it cannot be published as npm package.
That's the reason of my proposal of keeping angular-meteor-data as angular-meteor in npm.
It allows to include possible angular-templates in main angular-meteor package in the future.

@kamilkisiela sounds great.
It's also aligned with Angular2-Meteor where the process will be:
npm install angular2
npm install angular2-meteor
meteor add angular2-compilers

so in Angular1-Meteor it might look like:
npm install angular
npm install angular-meteor
meteor add angular-compilers // which will consist of `angular-html-templates` (now called angular-templates) and `pbastowski:angular-babel` (until we will get everything inside the official `ecmascript`)

we also are using Webpack there so Webpack sounds great.

@Urigo May I do something in that direction so we can already work on it in v1.4?
v1.4.x branch is rapidly updated so should I still wait? Or may I prepare PR so everybody could switch into angular1-meteor with build process (webpack)?

@Urigo And I think we should use some code standards to keep code clean also to prevent silly mistakes like using not defined variables etc. My proposal is to use eslint with airbnb's rules with few changes.
We're using eslint in angular2-now and it works great :)

@kamilkisiela I think that this weekend we will close a beta for 1.3.6 and then use your change in 1.3.7.
So let's wait for Sunday for the Npm branch.
About the code cleanup I think that's a great suggestion.
Can you open it as a separate issue to track?
also, do you think we could connect it to Bithound?

Ok

Bithound supports ESLint do yeah, it is possible

I'm impatient so I pulled down 1.3.6 branch and added build process (webpack) with linting utility (eslint).
You can see it here:
https://github.com/kamilkisiela/angular-meteor/tree/v1.3.7/packages/angular-meteor-data

Testing
To run tests in watch mode so velocity can receive changes and wepack can rebuild output file:
npm run watch
npm run test:local

To run tests in CI mode:
npm test

Building
Outputs not minified bundle:
npm run build:dist

Outputs minified bundle:
npm run build:prod

Both at once:
npm run build

I came up with idea.
Names of modules and services are being used as a string so to avoid silly mistakes like typo etc ,we can use something like this:
import { Mixer, module as mixerModule } from './modules/mixer';

export const module = 'angular-meteor.reactive';
export const Reactive = '$$Reactive';

angular.module(module, [
    mixerModule
]);

service(Reactive, [
Mixer
function($$Mixer) { /* ... */ }
])

done.
Thank you @kamilkisiela for the huge help and great work!

authors: Urigo kamilkisiela

repo: Urigo/angular-meteor


text:
Initial tweaks to website

What's Changed

Bring some things above the fold
Add link to submit
Move around front page elements
Add Open Source Meta Tags (cc @RichardLitt)

What's Next

Going to explore some new designs for the visual thingies
Clean up some of the text on certain sections of the documentation. Paragraph width, etc.

:+1:


text:
[BUG] [IOS] Cannot build, error: 'guard' body must not fall through, consider using a 'return' or 'throw' to exit the scope

Describe the bug
When trying to build a project in xcode, the error occurs, and the build fails.
The error is:
'guard' body must not fall through, consider using a 'return' or 'throw' to exit the scope

To Reproduce
Steps to reproduce the behavior:

Build
See error

Expected behavior
Build without failing.
Additional context

macOS 12.6
Xcode 14.0.1
"@usercentrics/react-native-sdk": "^2.8.2"
"react-native": "0.68.6"

Hey @bitfabrikken ,
do you think you could provide us with the stack trace/build log so we can see where the error is coming from?
Cheers,
Rui

@userCTest It's happening in UsercentricsAnalyticsEventType+Int.swift, line 8, col 9.

@userCTest podfile included in case it helps
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '12.0'
install! 'cocoapods', :deterministic_uuids => false

target 'asdf' do
  config = use_native_modules!

  use_frameworks! :linkage => :static
  $RNFirebaseAsStaticFramework = true
  $RNFirebaseAnalyticsWithoutAdIdSupport=true #added to not use ad-ids in analytics

  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end

end

I had the same problem without using the new Track API and I managed to fix it
You can use patch-package to make the patch
`diff --git a/node_modules/@usercentrics/react-native-sdk/ios/Extensions/UsercentricsAnalyticsEventType+Int.swift b/node_modules/@usercentrics/react-native-sdk/ios/Extensions/UsercentricsAnalyticsEventType+Int.swift
index 95a0570..1bffb9f 100644
--- a/node_modules/@usercentrics/react-native-sdk/ios/Extensions/UsercentricsAnalyticsEventType+Int.swift
+++ b/node_modules/@usercentrics/react-native-sdk/ios/Extensions/UsercentricsAnalyticsEventType+Int.swift
@@ -2,9 +2,10 @@ import Usercentrics
public extension UsercentricsAnalyticsEventType {

static func initialize(from value: Int) -> UsercentricsAnalyticsEventType {

static func initialize(from value: Int) -> UsercentricsAnalyticsEventType? {
guard let eventType = UsercentricsAnalyticsEventType.values().get(index: Int32(value)) else {
assert(false)

       return nil
   }
   return eventType

}
diff --git a/node_modules/@usercentrics/react-native-sdk/ios/RNUsercentricsModule.swift b/node_modules/@usercentrics/react-native-sdk/ios/RNUsercentricsModule.swift
index 383e19c..4d701f9 100644
--- a/node_modules/@usercentrics/react-native-sdk/ios/RNUsercentricsModule.swift
+++ b/node_modules/@usercentrics/react-native-sdk/ios/RNUsercentricsModule.swift
@@ -188,7 +188,8 @@ class RNUsercentricsModule: NSObject, RCTBridgeModule {
}
@objc func track(_ event: Int) -> Void {

   usercentricsManager.track(event: UsercentricsAnalyticsEventType.initialize(from: event))

   guard let usercentricsAnalyticsEventType = UsercentricsAnalyticsEventType.initialize(from: event) else { return }

   usercentricsManager.track(event: usercentricsAnalyticsEventType)

}
@objc func reset() -> Void {
`

Everything seems to work, but maybe they'll come up with a better solution for this

@bitfabrikken
I had the same problem without using the new Track API and I managed to fix it
You can use patch-package to make the patch
UsercentricsAnalyticsEventType+Int.swift
`import Usercentrics
public extension UsercentricsAnalyticsEventType {
static func initialize(from value: Int) -> UsercentricsAnalyticsEventType? {
    guard let eventType = UsercentricsAnalyticsEventType.values().get(index: Int32(value)) else {
        assert(false)
        return nil
    }
    return eventType
}

}
`
RNUsercentricsModule.swift line 190
   @objc func track(_ event: Int) -> Void {         guard let usercentricsAnalyticsEventType = UsercentricsAnalyticsEventType.initialize(from: event) else { return }         usercentricsManager.track(event: usercentricsAnalyticsEventType)     }
Everything seems to work, but maybe they'll come up with a better solution for this

@bitfabrikken
I had the same problem without using the new Track API and I managed to fix it
You can use patch-package to make the patch
UsercentricsAnalyticsEventType+Int.swift
`
import Usercentrics
public extension UsercentricsAnalyticsEventType {
static func initialize(from value: Int) -> UsercentricsAnalyticsEventType? {
    guard let eventType = UsercentricsAnalyticsEventType.values().get(index: Int32(value)) else {
        assert(false)
        return nil
    }
    return eventType
}

}
`
RNUsercentricsModule.swift line 190
   @objc func track(_ event: Int) -> Void {         guard let usercentricsAnalyticsEventType = UsercentricsAnalyticsEventType.initialize(from: event) else { return }         usercentricsManager.track(event: usercentricsAnalyticsEventType)     }
Everything seems to work, but maybe they'll come up with a better solution for this

@sebastian-godja thx for the info!
@bitfabrikken thanks for creating the support ticket. If that's ok with you, will carry the discussion on the ticket?

@userCTest I an using  "react-native": "0.72.3"

import Usercentrics
public extension UsercentricsAnalyticsEventType {
static func initialize(from value: Int) -> UsercentricsAnalyticsEventType? {
    guard let eventType = UsercentricsAnalyticsEventType.values().get(index: Int32(value)) else {
        assert(false)
        return nil
    }
    return eventType
}

}

Thanks for this, it allows me to build further.
But then it stops on some errors:
Undefined symbol: _SKAdNetworkCoarseConversionValueHigh
Undefined symbol: _SKAdNetworkCoarseConversionValueLow
Undefined symbol: _SKAdNetworkCoarseConversionValueMedium
Undefined symbol: _SKStoreProductParameterAdNetworkSourceIdentifier

glad to know @bitfabrikken!! And thanks @sebastian-godja for the workaround! :)
Anyway, as I said before, we will still be looking into this, so hopefully, some updates will follow soon.
Cheers,
Rui

fixes in https://github.com/Usercentrics/react-native-sdk/pull/88

authors: bitfabrikken sebastian-godja uc-leo userCTest

repo: Usercentrics/react-native-sdk


text:
Discuss how to handle exception/None for default resource

          I am currently throwing an error when the default reource is not set. But it might be more handy to return `None` since that might be easier to test for in the data uploads and downoads. For the up and downloads we would have to check whether the default resource exists. the session just sets it, but currently you can also set the irods_default_resource to 'bogus' and the property would be set without throwing an error ...

Feel free to change and if you are happy to merge.
Originally posted by @chStaiger in https://github.com/UtrechtUniversity/iBridges/issues/14#issuecomment-1859994562

I don't think this is currently a problem anymore, reopen if wrong.

repo: UtrechtUniversity/iBridges


text:
Updated Date in the Footer

[x] Add Automatically Updated Date script

JavaScript will automatically update the footer year automatically each year


text:
Pause and resume actions or not?

Context
The definition of the startPause action [6.8.1] states: "... Actions can continue...", whereas the definition of the stopPause action states: "... Movement and all other actions will be resumed (if any)..."
The "finished" column in the table in [6.8.2] suggests that actions should be paused (startPause: "... All actions will be paused..." and stopPause: "... All paused actions will be resumed...").
Questions

Is it safe to assume that actions should be paused and that the first quote is a mistake?
If used in a preemptive fashion as described in Issue #8 (which makes perfect sense to me - if I want to pause something, I must preempt it), do we maybe need some additional flag indicating whether or not to resume any preempted actions?

if you have atomic actions you may delay the action result until this action if finished, and the mark the pause action as finished. or you reject the pause action with an error.
so would prefer the first way.

@AntonDueck : I agree; if an already running action cannot be paused, the state of 'startPause' is RUNNING, until the running action is finished. Rejecting 'startPause' would be unlucky, because it depends on timing whether  'startPause' is accepted or not.

you have to inspect the action result (of all actions) after your instant action is finished to see what is been paused and which actions have finished.

authors: AntonDueck Pythocrates collani-bosch


text:
handling date for scatter plot etc

This PR involves several works concerning scatter plot and its viz (at web-eda)
Detailed description and some screenshots can be found at the corresponding viz
Note: these involve significant changes from previous scatter plot (XYPlot) component, thus merging with plot tidy-up work by Bob may need to be done carefully

Updated with tidy-up works in conjunction with the corresponding viz part. Details can be found at the corresponding PR

I presume that Bob agreed with this PR as he approved corresponding viz PR :)

repo: VEuPathDB/web-components


text:
plot thumbnails to reflect config set when expanded

when ive minimized a visualization (i was looking at scatter) and gone back to where i can add another, its reasonable a user might be looking to have the configurations they set when expanded/full screen to still apply.

So if a user chooses log scale y axis in histogram, the next freshly made histogram should have log scale on by default?
Some settings (like log y scale) could be sticky, but others, like bin width, should not.
Currently, a user can copy/clone a visualisation if they wanted to preserve some settings.  I tried this with histogram.  You can set a custom log-scale and bin width, then clone the viz, then change the variable in the new viz, the log scale persists, but the bin width goes back to default, which is IMO the desired behaviour.

I mean when I configure a viz and then minimize it, the thumbnail version should probably keep the configuration. I didn't mean to apply the configuration to a new viz. Sorry I wasn't clear.

That's OK.
The behaviour you describe should be what happens!  There may be a bug.
Could you give more details please?
On Fri, Jun 11, 2021 at 11:23 AM Danielle Callan @.***>
wrote:

I mean when I configure a viz and then minimize it, the thumbnail version
should probably keep the configuration. I didn't mean to apply the
configuration to a new viz. Sorry I wasn't clear.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/VEuPathDB/web-eda/issues/172#issuecomment-859477798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLLHZ4WARFKV3CTNPPJCDTSHPZVANCNFSM46O5Y45A
.

Did a quick test. The scatter plot config (the plot type radio buttons) is
honoured in the thumbnail versions, so I don't see the problem you see -
yet!
On Fri, Jun 11, 2021 at 11:35 AM Bob MacCallum @.***> wrote:

That's OK.
The behaviour you describe should be what happens!  There may be a bug.
Could you give more details please?
On Fri, Jun 11, 2021 at 11:23 AM Danielle Callan @.***>
wrote:

I mean when I configure a viz and then minimize it, the thumbnail version
should probably keep the configuration. I didn't mean to apply the
configuration to a new viz. Sorry I wasn't clear.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/VEuPathDB/web-eda/issues/172#issuecomment-859477798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLLHZ4WARFKV3CTNPPJCDTSHPZVANCNFSM46O5Y45A
.

right. it may be that what im asking for isnt very easy. but the client side controls dont seem to persist. like if i click something off in the legend for ex. but im not sure a user has any reason to know why some things persist and others dont. itll probably be particularly noticeable for something like switching axes. because some types of plots i think client side switching makes sense, and others a new request should be made to the data service.

or maybe its even specific to the plotly legend, i havent played around w it too much yet tbh.

We are not persisting the result of legend interactions. I'm sure this is something we can address.

Oh I see.  Won't it be nasty persisting internal plotly things?  That's why we've disabled virtually all of the interactivity features.

implementation hint: plotly has a callback to capture entire state of a plot (ask @dmfalke for more)

post phase 1 - roll our own legend will make this work redundant (will need to redo it)

Tested in GEMS1 -> Bar plot of "Study timepoint" with "age group" as overlay. When I switch off an age group in legend and minimize the plot, when I open it again, the state persists (that age group is still off). Passes QA.

@nkittur-uga thank you for your tests! 👍

authors: bobular d-callan dmfalke moontrip nkittur-uga

repo: VEuPathDB/web-eda