sqlite-web: init at 0.3.5

Motivation for this change
Request for new python package sqlite-web https://github.com/NixOS/nixpkgs/issues/50949
Things done
pythonPackages.sqlite-web: init at 0.3.5

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

I am happy to be the maintainer of this package since it is pure python.

@GrahamcOfBorg build python27Packages.sqlite-web python37Packages.sqlite-web

Success on aarch64-linux (full log)
Attempted: python27Packages.sqlite-web, python37Packages.sqlite-web
Partial log (click to expand)
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/lib  /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5
checking for references to /build in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5...
wrapping `/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/zfpfsfzpbv3cl2yz0kfyafbgirzdhfk9-sqlite-web-0.3.5
/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5

Success on x86_64-linux (full log)
Attempted: python27Packages.sqlite-web, python37Packages.sqlite-web
Partial log (click to expand)
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/lib  /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
checking for references to /build in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5...
wrapping `/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/5xrqn0vxjvjwfpq1a6w9pvpbrajaz053-sqlite-web-0.3.5
/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5

This is an application and should therefore be called directly from all-packages.nix, and not via python-packages.nix.

Unless one is interested in the Python modules, then this is fine. But then buildPythonPackage needs to be used, and one might then have an entry in all-packages.nix as well.

This is exactly the question I was going to ask. In this case this package is an application and is not used as a python module nor do I see it ever being used as one. Fixed.

@GrahamcOfBorg build sqlite-web

Success on aarch64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5

In that case the whole expression needs to be moved out of python-modules/python-packages.nix and elsewhere in Nixpkgs. Also, pass in python3Packages instead of the individual packages.

Success on x86_64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
Successfully installed sqlite-web-0.3.5
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/lib  /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
checking for references to /build in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5...
wrapping `/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5

Fixed. Moved to development/tools/database/. This is the same directory that sqlitebrowser is in.

@GrahamcOfBorg build sqlite-web

Success on aarch64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5

@GrahamcOfBorg eval

Success on aarch64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
Successfully installed sqlite-web-0.3.5
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/lib  /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5
checking for references to /build in /nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5...
wrapping `/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/wwz3rxv8q5sfci6sj2xpd29bng7q1lm3-sqlite-web-0.3.5

Success on x86_64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
Successfully installed sqlite-web-0.3.5
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/lib  /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5
checking for references to /build in /nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5...
wrapping `/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/l9s2kjxyfj0srn1d1fs684j0mkjikbhj-sqlite-web-0.3.5

@GrahamcOfBorg eval

Fixed. Ready for merge.

Success on aarch64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
Successfully installed sqlite-web-0.3.5
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5
strip is /nix/store/qjrnv0qw44bw1hc23zhfh26xd1c25dfs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5/lib  /nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5
checking for references to /build in /nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5...
wrapping `/nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5

Success on aarch64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
  /nix/store/6jvkndb0jqsi7f290an3nvzr5kwzsdys-python3.7-Werkzeug-0.14.1.drv
  /nix/store/wrxa6p9c7ldkj6vgxzy0n2wyy16jnz54-openblas-0.3.3.drv
  /nix/store/myyqrf26yqd6pd13myl415c36jzdab8r-site.cfg.drv
  /nix/store/y62wlviklwd3zabbp1k6jah17lkfyasl-python3.7-numpy-1.15.3.drv
  /nix/store/9rvfslg11ryixz3m33654f9rpis6kjha-python3.7-Cython-0.29.drv
  /nix/store/nhbvj0hmh6h5ibglmhg5658xm5inyfyp-python3.7-Flask-1.0.2.drv
  /nix/store/izvvvi7n5kjmhsb98k8x21sh744xfl6j-python3.7-peewee-3.7.1.drv
  /nix/store/vhal6xicsarfbr69gdw7lfm8kkkbsgpd-sqlite-web-0.3.5.drv
waiting for locks or build slots...
/nix/store/zfr6jzz5md6q5gml3h94ichav4wsdss3-sqlite-web-0.3.5

Success on x86_64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)
Successfully installed sqlite-web-0.3.5
/build/sqlite-web-0.3.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5/lib  /nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5/bin
patching script interpreter paths in /nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5
checking for references to /build in /nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5...
wrapping `/nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5/bin/sqlite_web'...
/nix/store/rl9dpdxbxhzdfb8p5kzjm6rkq8c74jbk-sqlite-web-0.3.5

Timed out, unknown build status on x86_64-linux (full log)
Attempted: sqlite-web
Partial log (click to expand)

#### 2018-11-26 04:41:07.729698

#### 2018-11-26 04:41:18.224781

#### 2018-11-26 04:41:28.247956
building of '/nix/store/z1c9pp31zajv3gfcpfcp41mazqff6p62-python3.7-Cython-0.29.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/yhq41ld4vmcdpfqq28w9hkvb86dvsnm1-python3.7-peewee-3.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h8f59vs5r48vn96pzllfm7vhmjmnl9g4-sqlite-web-0.3.5.drv': 1 dependencies couldn't be built
error: build of '/nix/store/h8f59vs5r48vn96pzllfm7vhmjmnl9g4-sqlite-web-0.3.5.drv' failed

Nice and concise!


Expand only after all env configs are loaded

Consider this example with two env files, .local.env and .env:
node cli.js -e .local.env -e .env -- printenv

where the files are like this:
# .local.env
TEST_PASS=some\$pass

# .env
TEST_PASS=

What happens with the things as they're implemented now:

First pass: .local.env loaded and expanded, we have process.env.TEST_PASS == 'some$pass' now
Second pass: .env loaded and expanded, but now dotenv-expand loads from process.env, so TEST_PASS='some$pass' is passed to expand(). Consequently, after expansion TEST_PASS == 'some'. $pass variable doesn't exist, so it is replaced with an empty string.

Proposed solution in this PR
Just do expand after all the config files are loaded.

I think some users might have some env variables were they do want intermediate expansion (so they can e.g. set a PORT in one file and construct an URL from that port in another file).
Maybe to avoid breaking changes, we should have a different flag? --expand-at-the-end-only or something?

Would the use case be something like this?
# .local.env
URL=http://localhost:${PORT}/api/v1

# .env
PORT=3344

Then you do
node cli.js -e .local.env -e .env -- printenv

And I'm still getting expected results (I think at least):
URL=http://localhost:3344/api/v1
PORT=3344

Yes, but reversed, values from the first file, can be used in values from later files. I'm not sure if anybody relies on this, but this is something that would break so I don't think it's something we can change
# .local.env
PORT=3344

# .env
URL=http://localhost:${PORT}/api/v1

and then running
node cli.js -e .local.env -e .env -- printenv

@entropitor I would have to agree. I would expect the first file to contribute to the second, and for the second to override the first.

I did one test.
The command I'm executing is:
node cli.js -e .local.env -e .env  -- printenv | grep TEST_

File contents
.env.local
# This overrides TEST_PASS from .env
TEST_PASS=some\$pass

# This will use TEST_PORT_REVERSE from .env
TEST_URL_REVERSE=http://localhost:${TEST_PORT_REVERSE}/api/v1

# I want this to contribute to TEST_URL in .env
TEST_PORT=3000

.env
TEST_PASS=
TEST_URL=http://localhost:${TEST_PORT}/api/v1

TEST_PORT_REVERSE=4000
# Default value for port if no other specifies it
TEST_PORT=5000

Results
node cli.js -e .local.env -e .env  -- printenv | grep TEST_
TEST_PASS=some$pass
TEST_URL_REVERSE=http://localhost:5000/api/v1
TEST_PORT=3000
TEST_PORT_REVERSE=5000
TEST_URL=http://localhost:3000/api/v1

# w/o expand
node cli.js -e .local.env -e .env --no-expand -- printenv | grep TEST_
TEST_PASS=some\$pass
TEST_URL_REVERSE=http://localhost:${TEST_PORT_REVERSE}/api/v1
TEST_PORT=3000
TEST_URL=http://localhost:${TEST_PORT}/api/v1
TEST_PORT_REVERSE=4000

Results before
node cli.js -e .local.env -e .env  -- printenv | grep TEST_
TEST_PASS=some        # this is incorrect
TEST_URL_REVERSE=http://localhost:/api/v1   # not working, but why not support it?
TEST_PORT=3000
TEST_URL=http://localhost:3000/api/v1
TEST_PORT_REVERSE=4000

To comment on @Swivelgames

I would expect the first file to contribute to the second

This is satisfied.

for the second to override the first

This is not how it works and wasn't even before this change, at least how I understand it.
If I have TEST_PASS in first and TEST_PASS in second, TEST_PASS from first will override TEST_PASS in second.

Hi @entropitor , can you check my comment above. I think the solution is covering use cases you mentioned.

Looks good! Nice solution!

https://github.com/entropitor/dotenv-cli/releases/tag/v8.0.0


Adds StoryTeller Engine at line 178

Hi,
I don't understand! Does this request have a problem? Or is there a step I missed?

Hi,
I don't understand! Does this request have a problem? Or is there a step I missed?

I didn't see the original notification, sorry.


Dark-colored notes?

I've just installed Sticky Notes and the color for each note seems a bit too dark, a darker shade than the screenshots on the project page:

Is this by design or caused by some bug? I'm running Archlinux with Gnome (v.46).
Any way to edit background and text color on each note?

Yes, that's correct behaviour
Le ven. 3 mai 2024, 02:26, João André @.***> a écrit :

I've just installed Sticky Notes and the color for each note seems a bit
too dark, a darker shade than the screenshots on the project page:
Screenshot.from.2024-05-03.01-00-11.png (view on web)
https://github.com/vixalien/sticky/assets/1812344/f44a74a4-9467-4bf0-b61e-e8fa48fef346
Is this by design or caused by some bug? I'm running Archlinux with Gnome
(v.46).
Any way to edit background and text color on each note?
—
Reply to this email directly, view it on GitHub
https://github.com/vixalien/sticky/issues/123, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJB5FCJIOIDOCMZINDUVCXDZALKUDAVCNFSM6AAAAABHEUUOISVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMNZQGM4TQMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fair enough, it just different than the images on the README.
For what is worth, I do believe that shade is a bit too dark, kind of decreases readability. It would be cool if one could modify the default colors.


Version 1.3.16 problem with angular universal

ERROR ReferenceError: navigator is not defined
at exports.DeviceDetectorService.isTablet
at exports.DeviceDetectorService.isMobile
This error break server side rendering!

There's literally only 1 other open issue with the same name as this. You didn't even need to use search D: https://github.com/KoderLabs/ngx-device-detector/issues/121


Broken link in documentation

Please excuse me for not filling out the issue template, but in second paragraph of http://www.chartjs.org/docs/latest/general/colors.html#patterns-and-gradients the link to http://betweentwobrackets.com/data-graphics-and-colour-vision/ is broken.

It works for me

You're right. I tested it with mobile connection and it worked. On my WiFi I get a 404 page, though. Sorry for the lack of investigation, I was in a hurry.


Dev roadmapper v1.3.1

@felix-seifert I have committed a bug fix on how the height of 'group' are calculated. This change causes all new roadmaps failed the test as they are different from the example roadmaps. I did try to run the generate roadmap job, but I the CI Checks jobs are still failing. Appreciate your help.

I added new example roadmaps in the last commit. With #64, I added a description of how to perform this in the future.


Dell XPS 13 9333 touchpad doesn't work on kernel 3.18

After upgrade to the latest master my touchpad stopped working.
As I found out the problem is kernel 3.18, when I change kernel to 3.14 everything works ok.
I switch kernel versions by changing pkgs/top-level/all-packages.nix:
-  linuxPackages = linuxPackages_3_18;
+  linuxPackages = linuxPackages_3_14;

The problem is very similar to one reported in https://bugs.archlinux.org/task/40921 There they claim that bug is fixed in 3.16, but there is people who experience the same issue on 3.16 kernel: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1386077
I don't know how to debug this kind of issues. xinput simple doesn't list a touchpad:
[ivan@nixos:~]$ cat xinput.txt.3.14
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Large Touch Screen    id=9    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

[ivan@nixos:~]$ cat xinput.txt.3.18
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNAPTICS Synaptics Large Touch Screen    id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=12   [slave  keyboard (3)]

I'm not sure if this report fit nixos bugtracker. Probably this is a kernel problem, but also it can be some module-blacklisting problem. So I'm reporting this issue against nixos as the immediate vendor. Probably this issue should be forwarded somewhere.

I tested kernel 4.0 and 4.1 touchpad doesn't work there either.

What about dmesg? Does it show anything related to the touchpad?

dmesg.3.14 http://pastebin.com/YeCR1rqk
dmesg.3.18 http://pastebin.com/xT1BmG9t

/proc/bus/input/devices.3.14 http://pastebin.com/h2gxz5bE
/proc/bus/input/devices.3.18 http://pastebin.com/Z0QkE4zk
Kernel just silently ignore presence of a touchpad. :-(

Here it a few my crazy ideas. Tell me if I'm going to do something completely wrong.
Probably I should try 3.15, 3.16, 3.17 kernels? Lookin at pkgs/os-specific/linux/kernel it seems it is relatively easy to add them. Testing them will get me closer to understanding where touchpad became broken.
Another idea is to bisect linux kernel to find out what commit introduced a problem. Can I use fetch url to take kernel sources from local git repository? I don't have an access to fast build machine and compiling on my laptop can take a while. I think I can reduce amount of code to be compiled by modifying common-config.nix.

I tested kernel 3.15. Touchpad is broken here too.

In your place I'd try searching cross-distro, e.g. have you tried this?

In your place I'd try searching cross-distro, e.g. have you tried this?

I tried writing in /etc/nixos/configuration.nix a line
  boot.blacklistedKernelModules = [ "i2c-hid" ];

It gave me a suggested line "blacklist i2c-hid" in /etc/modprobe.d/nixos.conf, but touchpad still didn't work. I didn't check if i2c-hid was present lsmod. When I build a new kernel, at the next reboot I will check lsmod (I have started bisecting).

any news on this one? Does your keyboard work on xps 13? Mine stops working after a while after each boot. It works fine with the pre-installed ubuntu. Sigh.

Hehe. It seems to work on 4.1.5 again! Just make sure you are not blacklisting psmouse. (Which was a suggested fix in the Arch wiki I think)

@sorokin, did you ever find a solution?
I've just installed NixOS 15.09 on a Dell 9333, and the touchpad doesn't work for me either (completely undetected). Blacklisting i2c-hid (or i2c_hid) doesn't make a difference, nor does switching to kernel 4.2.3. If I force the kernel version back to 3.14 then it does work.

On NixOS live CD 15.09, touchpad doesn't work. However the touchpad is detected according to xinput --list. It shows SynPS/2 Synaptics Touchpad. A normal mouse connected via USB works though. The left and right buttons work, but you can't move the mouse.

I was able to get the touchpad working with a kernel newer than 3.14 in the end. I applied a BIOS patch from Dell (I had version A05 installed before, updated to A08). After that it worked with kernel 4.2, but still would not work with 3.18 (and still worked with 3.14). "Not works" here means it doesn't even show up in xinput (or the /dev tree, or device lists I found somewhere under /proc); all cases were the same.
All I was changing between the reboots was choosing one of the following in configuration.nix (or leaving it off entirely to get the default 3.18):
linuxPackages = linuxPackages_3_14
linuxPackages = linuxPackages_4_2

(triage) status?

For me it worked once I stopped blacklisting psmouse.


How to connect multiple drones correctly?

I've read #931 issue about multiple connecting real drones, but when I type:
drone1 = System(mavsdk_server_address="localhost", port=50040)
await drone1.connect()

mavsdk server doesnt start.
Typing:
drone1 =  System()
    await drone1.connect(system_address="udp://:14540")

    drone2 = System()
    await drone2.connect(system_address="udp://:14541")

It gives me the same UUID of pixhawk controller (I suppose the first -  drone1, checked on tcpview app)
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone1 to connect...
Drone1 discovered with UUID:<PHONE_NUMBER>456363321
Waiting for drone2 to connect...
Drone2 discovered with UUID:<PHONE_NUMBER>456363321
how can I achieve this to start (based on takeoff_and_land.py example) two or more drones at the same time?

This has just been added for Python recently: https://github.com/mavlink/MAVSDK-Python/pull/219
We might have to do a release so you can actually use it.

When mavsdk_server_address=None, which is what happens when you do:
drone1 =  System()

then await drone1.connect() starts the embedded mavsdk_server for you. As @julianoes mentions, there is currently no way to set the port on this one, so you cannot run multiple instances of mavsdk_server this way (it's actually undefined behavior, I think).
Your first version is correct:
drone1 = System(mavsdk_server_address="localhost", port=50040)
await drone1.connect()

Here, mavsdk_server_address="localhost", so it's not None, and therefore connect() will not start the embedded mavsdk_server for you. In that case you have to run it manually, with something like:
./mavsdk_server -p 50040

Thank You guys for Your help.
@JonasVautherin typing:
./mavsdk_server -p 50040
is for unix systems, is there any possibility to run server on Windows with python?

We do provide a windows executable, too: For v0.27.0 we have mavsdk_server_win32.exe, and v0.28.0 will be packaged soon. You should be able to run that from the command line, right?

@JonasVautherin Thank You again, first server started properly, during this server running, calling another exe from cmd with port++ giving me binding error

I'm actually trying to run example written in C++ where it is clear example to multi mission drones, but it's hardest way to compile this whole environment (cmake etc.)

There are two sides in mavsdk_server. Let's see it like this:
MAVSDK-Python <-----> mavsdk_server <-----> drone

In other words, MAVSDK-Python talks to mavsdk_server (over gRPC), which talks to the drone (over MAVLink). Let's add this information:
MAVSDK-Python <-- gRPC --> mavsdk_server <-- MAVLink --> drone

Now, 50040 and 50041 are the ports exposed to both instances of MAVSDK-Python. On the other side, you are using udp://:14540 twice. Which fails, because two instances of mavsdk_server cannot bind to 14540 at the same time. You need two different MAVLink ports there, too. Something like this:
MAVSDK-Python <-- gRPC (50040) --> mavsdk_server <-- MAVLink (udp://:14540) --> drone
MAVSDK-Python <-- gRPC (50041) --> mavsdk_server <-- MAVLink (udp://:14541) --> drone

Which means that you need to run mavsdk_server twice, like this:
./mavsdk_server udp://:14540 -p 50040 # mavsdk_server1
./mavsdk_server udp://:14541 -p 50041 # mavsdk_server2

In other words:

drone1 will send MAVLink messages over UDP on port 14540, mavsdk_server1 will receive those MAVLink messages and MAVSDK-Python1 will connect to mavsdk_server1 over gRPC on port 50040
drone2 will send MAVLink messages over UDP on port 14541, mavsdk_server2 will receive those MAVLink messages and MAVSDK-Python2 will connect to mavsdk_server2 over gRPC on port 50041

Of course, you also need to make sure that drone1 sends to UDP 14540, and drone2 sends to UDP 14541.
Does that help?

By the way, I realize you mentioned both MAVSDK-Python and MAVSDK-C++.
MAVSDK-C++ is different: it does not use mavsdk_server. All the other languages (python, java, swift, go, c#, js) need mavsdk_server.

@JonasVautherin
Thats beautiful explanation, now I've connected with 2 drones from one computer. What an awesome idea!
Thank You so so much for Your support! It works like a charm.

for C++ answer, I've just thinking what will be better for me, many servers on python or one app written in C++

for C++ answer, I've just thinking what will be better for me, many servers on python or one app written in C++

C++ will be more lightweight, but if it runs on your computer, chances are that you don't need that optimization. So just do what's simpler for you, I would say :slightly_smiling_face:.

Thank You guys for Your help.
@JonasVautherin typing:
./mavsdk_server -p 50040
is for unix systems, is there any possibility to run server on Windows with python?

When mavsdk_server_address=None, which is what happens when you do:
drone1 =  System()

then await drone1.connect() starts the embedded mavsdk_server for you. As @julianoes mentions, there is currently no way to set the port on this one, so you cannot run multiple instances of mavsdk_server this way (it's actually undefined behavior, I think).
Your first version is correct:
drone1 = System(mavsdk_server_address="localhost", port=50040)
await drone1.connect()

Here, mavsdk_server_address="localhost", so it's not None, and therefore connect() will not start the embedded mavsdk_server for you. In that case you have to run it manually, with something like:
./mavsdk_server -p 50040

please help.
when and where should i type this: ./mavsdk_server -p 50040
because i try type that in the terminal it returns: -bash: ./mavsdk_server: No such file or directory

mavsdk_server is an executable, like ls or cd. When you run ls, it tries to find an executable called ls in your PATH and runs it. If it does not find it, it says "No such file or directory".
./ says "don't look in the PATH, just look for it in the current directory. So in order to run ./mavsdk_server, you need to see mavsdk_server appear when you type ls.
I think that a good first step would be to learn the basics of using a terminal. Then your question has nothing to do with running multiple drones, so you should create a new issue instead of answering on an unrelated issue that has been closed months ago :blush:.

yes, thats the problem, i cant find the mavsdk_server file, or is it a folder? i have my MAVSDK-python folder and try to find the mavsdk_server file, but nowhere to be found. not in the bin folder also. thus i can only spawn one drone, where i want to execute two drones python files.

Please open a new issue, so that we can keep track of them. This one was closed months ago :slightly_smiling_face:.


Validate trip frequencies do not overlap

Describe the solution you'd like
Validate trip frequencies do not overlap
Additional context
v1.4.0 implementation:

https://github.com/MobilityData/gtfs-validator/blob/v1.4.0/usecase/src/main/java/org/mobilitydata/gtfsvalidator/usecase/ValidateTripFrequenciesOverlap.java
https://github.com/MobilityData/gtfs-validator/blob/v1.4.0/usecase/src/test/java/org/mobilitydata/gtfsvalidator/usecase/ValidateTripFrequenciesOverlapTest.java

Reopening this - rule was implemented in https://github.com/MobilityData/gtfs-validator/pull/581, but it still needs to be added to RULES.md.

Reopening this - rule was implemented in https://github.com/MobilityData/gtfs-validator/pull/581, but it still needs to be added to RULES.md.


How can I create public js and multiple components can include it

I want  use websocket to  creat a long connection in the public js ,when the router changed,the long connection can keep and nerver disconnect.
So,I need a public js not the component.How can I do it?

You can add your custom JS files into assets/ or public/ @jasmineY


Distributed tensorflow：Does every worker also have all tf.Variable parameters?

Execute the following code on the two workers, and the printed values are different, indicating that each worker has parameters, so is ps sever only used to update parameters?
How should the parameters of the PS server be stored in the specified GPU?
task0:<PHONE_NUMBER>38864<PHONE_NUMBER>39144<PHONE_NUMBER>49344
task1:<PHONE_NUMBER>35792<PHONE_NUMBER>36072<PHONE_NUMBER>46272
worker_device = "/job:worker/task:{i}".format(i=FLAGS.task_index)
with tf.device(tf.train.replica_device_setter(
worker_device=worker_device,
cluster=cluster
)):
x = tf.Variable([[1, 2, 3, 4]])
w = tf.Variable([[2], [2], [2], [2]])
mat = tf.matmul(x, w)
print(id(x), id(w), id(mat))

@Ljl-Jdsk, Please share the complete standalone to replicate the reported issue. Thanks!

@Ljl-Jdsk, Please update for the above comment.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


[WIP] fix calc metric error and calc loss error in distributed.

fix the bug that eval loss error in dist;
fix the bug that topk error in dist;
fix the bug that DistributedBatchSampler may sample repeatedly in retrieval eval;

fix #1825

todo:
retrivel: evaluation

todo:
There may be a problem with the solution that fix DistributedBatchSampler may sample repeatedly.


[WFLY-7002 10.x] Upgrade Netty 4.0.35.Final

Related to WFLY-7002 & JBEAP-5756.

@jmesnil Please approve. This is for the 10.x branch.

There are no plans for a new 10.x release


FIX-#1154: properly process UDFs

What do these changes do?

[x] commit message follows format outlined here
[x] passes flake8 modin
[x] passes black --check modin
[x] signed commit with git commit -s
[x] Resolves #1154
[x] tests added and passing

@vnlitvinov Any idea on why it is failing test-internals?

test-internals started to fail after I've added this import statement: https://github.com/modin-project/modin/pull/1845/files#diff-db8dc531e116caee2b9cc5ccbcc5c642R25
If I remove it, test-internals passes ok, I'm wondering how it could be related

@devin-petersohn @dchigarev
The reason for failure is something in test import flow triggers importing the query compiler, which imports modin.pandas which in turn adds another callback (the one that really fails).
I've made an issue about that: https://github.com/modin-project/modin/issues/1852
and a pull request rectifying it: https://github.com/modin-project/modin/pull/1853


Mini reporter goes mad when the terminal width is smaller than the test title

To reproduce, make your terminal width narrow and try running the got tests.

What is the best way to fix?
Truncate the title or try to account for the wrapping when deleting?
The first is probably easier than the second, but both should be doable.

I was going to say wrapping, but it looks very ugly, so let's go with truncation. Can use … character to indicate it's truncated.


Add i18n config and setup all text strings to use it

the infrastructure is already created. Now @nomadbitcoin and @mikaelcarrara can replace all strings to use the i18n feature

closes #88


add distributed training guide on quickstart

@echarlaix @sywangyi
Hi, this is a supplement to quickstart.mdx that teaches users how to use distributed training.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@ftian1

Thanks for adding a new section ! You will also need to add it to _toctree.yml https://github.com/huggingface/optimum-intel/blob/main/docs/source/_toctree.yml#L5 for the documentation to be generated

@echarlaix Hi Ella. Thanks for your comments and I have fixed all of them. Could you please help me to review these changes? Thanks!


docs(autoware_testing): fix link

Description

Fix link to the wikipedia article for smoke testing
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kenji-miyake thanks!


Fixed step volume renderer gives paint error on Windows

OS: Windows

Open lee orf's tornado dataset
Add/enable a DVR (it will default to fixed step)
Rotate the scene a couple times

Eventually vapor will show a paint failed error

This problem exists with an 8x8x8 sphere

Update:
I feel this window machine has a GPU that's too weak... It shows very slow rotation on the 8x8x8 sphere (fixed step method) before it throws a paint error.


Don't compile commands if disabled

Rather than wrapping whole files in "ifndef OPENSSL_NO_xxx" we handle
the changes in build.info
This is a backport of #11250.  @bernd-edlinger convinced me to create it.

CI failure looks relevant:
../_srcdist/apps/dhparam.c:16:19: fatal error: progs.h: No such file or directory
 #include "progs.h"

fixup commit pushed.

one more CI issue:
apps/dsa.c: In function 'dsa_main':
apps/dsa.c:162:13: error: implicit declaration of function 'EVP_PKEY_get1_DSA' [-Werror=implicit-function-declaration]
             dsa = EVP_PKEY_get1_DSA(pkey);
             ^
apps/dsa.c:162:17: error: assignment makes pointer from integer without a cast [-Werror]
             dsa = EVP_PKEY_get1_DSA(pkey);
                 ^
apps/dsa.c:178:9: error: implicit declaration of function 'DSA_print' [-Werror=implicit-function-declaration]
         if (!DSA_print(out, dsa, 0)) {
         ^
apps/dsa.c:187:9: error: implicit declaration of function 'DSA_get0_key' [-Werror=implicit-function-declaration]
         DSA_get0_key(dsa, &pub_key, NULL);
         ^
apps/dsa.c:200:13: error: implicit declaration of function 'i2d_DSA_PUBKEY_bio' [-Werror=implicit-function-declaration]
             i = i2d_DSA_PUBKEY_bio(out, dsa);
             ^
apps/dsa.c:203:13: error: implicit declaration of function 'i2d_DSAPrivateKey_bio' [-Werror=implicit-function-declaration]
             i = i2d_DSAPrivateKey_bio(out, dsa);
             ^
apps/dsa.c:207:13: error: implicit declaration of function 'PEM_write_bio_DSA_PUBKEY' [-Werror=implicit-function-declaration]
             i = PEM_write_bio_DSA_PUBKEY(out, dsa);
             ^
apps/dsa.c:210:13: error: implicit declaration of function 'PEM_write_bio_DSAPrivateKey' [-Werror=implicit-function-declaration]
             i = PEM_write_bio_DSAPrivateKey(out, dsa, enc,
             ^
apps/dsa.c:220:9: error: implicit declaration of function 'EVP_PKEY_set1_DSA' [-Werror=implicit-function-declaration]
         EVP_PKEY_set1_DSA(pk, dsa);
         ^
apps/dsa.c:236:13: error: implicit declaration of function 'i2b_PublicKey_bio' [-Werror=implicit-function-declaration]
             i = i2b_PublicKey_bio(out, pk);
             ^
apps/dsa.c:239:13: error: implicit declaration of function 'i2b_PrivateKey_bio' [-Werror=implicit-function-declaration]
             i = i2b_PrivateKey_bio(out, pk);
             ^
apps/dsa.c:255:5: error: implicit declaration of function 'DSA_free' [-Werror=implicit-function-declaration]
     DSA_free(dsa);
     ^
cc1: all warnings being treated as errors

fixup commit pushed.  thanks.

This pull request is ready to merge

Merged to OpenSSL_1_1_1-stable 369cef7
Thanks!


Policy Simulation command [WIP]

WIP implementation of #79

@nyrahul this is far from done here but what do you think of this current implementation? Also, what does kubearmor.cfg look like ?

kubearmor.cfg
defaultPosture: audit # possible values allow, block, audit

This is the only configuration that needs to be used as of now since this is required for policy simulation

Thanks, also I see over here that default posture is passed as an environment variable, Should the command take this into account? If yes should it take preference if a kubearmor.cfg is passed in

@nyrahul here's how it's looking right now, still need to handle more conditions but i hope i am on the right track here

Hey @s1ntaxe770r are you working on this issue?

Right now no , I got stuck on some on parts of the design spec so I'm working on other issues right now


Refactor supported component pages, refactor secret store docs

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Read the contribution guide
[x] Commands include options for Linux, MacOS, and Windows within codetabs
[x] New file and folder names are globally unique
[x] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[x] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Fix the binding, pubsub, state store and secretstore supported list pages.
Fix NATS Streaming metadata fields list.
Refactored Secret Store Docs.
Issue reference

@mukundansundar Could you add an alias to the setup-gcp-pubsub.md page so any external links still work? https://gohugo.io/content-management/urls/#aliases

@mukundansundar Could you add an alias to the setup-gcp-pubsub.md page so any external links still work? https://gohugo.io/content-management/urls/#aliases

@orizohar - Hold on merging this PR yet, even though this is approved

@orizohar - Hold on merging this PR yet, even though this is approved

All these updates look good.

All these updates look good.


Fix concat

concat removes key column entirely (name and values)

Ok, anyway new concat is needed for the purpose I described.

This's my current solution
https://github.com/Kotlin/kandy/blob/main/kandy-api/src/main/kotlin/org/jetbrains/kotlinx/kandy/dsl/internal/concatFixed.kt

maybe a concatWithKeys() would be a nice addition?

I think it won't hurt to make do it by default. One might say that df.groupBy { expr { } } is a shortcut for df.add() { }.groupBy {}

if we do it by default, then we would get duplicate columns, because the key columns are often in the groups as well

But then, what qualifies as "new"?

groupBy { expr { myCol } }, yes
but groupBy { myCol + 1 }?
or groupBy { myCol named "other" }

I think we should be careful here

Alternatively, what's arguably a lot simpler, we could just explode the groups column. Like:
internal fun GroupBy<*, *>.concatWithKeys(): DataFrame<*> =
    toDataFrame().explode { groups }

This will generate extra key values where necessary and keep the grouped columns in a column group, avoiding any potential name clashes :).


Wrong OWNERS file links

The pull request is in pingcap/tidb repo, but the OWNERS links is pingcap/docs-cn repo:

/type bug


Add support for bows

Bows and other ranged weapons are extremely important for working with flying mobs and far away mobs.

This can easily be done using: https://github.com/sefirosweb/minecraftHawkEye

@TheDudeFromCI Can you make a video or file where you integrate the pvp bot with hawkeye plugin

@Anshu-gits Sorry, I am not making any more tutorials at this time. They take quite a bit of time to make and are honestly quite boring to make as well. Although I'm sure there's probably someone who has already done this, somewhere. I recommend looking around for some existing examples.


Q / How can i use 180 dgree GVRVideoSceneObject?

I used 360 dgree GVRVideoSceneObject.
    GVRSphereSceneObject sphere = new GVRSphereSceneObject(gvrContext, 72, 144, false);
    GVRMesh mesh = sphere.getRenderData().getMesh();
    environmentObject = new GVRVideoSceneObject( gvrContext, mesh, EnviromentSceneObjectPlayer, GVRVideoSceneObject.GVRVideoType.MONO );
    environmentObject.getTransform().setScale(21f, 21f, 21f);
    environmentObject.setName( "environmentObject" );
    mGVRContext.getMainScene().addSceneObject(environmentObject);

I want to use 180 dgree GVRVideoScneneObject.
How can i use it?

I'm assuming that currently, your code maps the 180 degree video across the entire interior of the sphere instead of a single hemisphere. In order to achieve the effect you want, there are a few solutions.
First, you could adjust the UV mapping of the spherical mesh such that the texture (video) maps only to a single hemisphere. I believe that you may be able to achieve this programmatically - since the standard storage method for 360 degree videos is an equirectangular projection, it should follow that taking the original UV coordinates and multiplying the U coordinate by 2 will result in the video projecting to half as much area in the x-direction, and you should see the video show up on a single hemisphere. Depending on the render settings, you may see the video repeat on the opposite hemisphere as well.
Alternatively, if you have the ability to edit the video, you can extend the video in the x-direction with a black rectangular area the same size of your current video. This will create a second, black hemisphere that will allow the original part of the video to be properly projected onto a single hemisphere.
If the video is not in equirectangular format, however, you may need to try a different approach.

@J0Nreynolds
Thank you for your reply.
I want to show the sample code.
If you have sample code, Please Let me know.
I need your kind help.

In order to perform my first suggestion, modify your code to be the following:
GVRSphereSceneObject sphere = new GVRSphereSceneObject(gvrContext, 72, 144, false);
GVRMesh mesh = sphere.getRenderData().getMesh();

float[] texCoords = mesh.getTexCoords();
for(int i = 0; i < texCoords.length; i+=2){
    texCoords[i] = 2*texCoords[i];
}
mesh.setTexCoords(texCoords);

environmentObject = new GVRVideoSceneObject( gvrContext, mesh, EnviromentSceneObjectPlayer, GVRVideoSceneObject.GVRVideoType.MONO );
environmentObject.getTransform().setScale(21f, 21f, 21f);
environmentObject.setName( "environmentObject" );
mGVRContext.getMainScene().addSceneObject(environmentObject);

I tested this with a 180 degree photo, and it worked as I expected.

@miraclehwan If you could attach a picture of what your video looks like, I'd be able to determine the format that your video is stored in so I can help you map it to the sphere correctly.

@miraclehwan
Is the 180 video an unwarped panoramic video? Or is it a specific video format that must be warped to a hemisphere?
If it's the former, a cylinder geometry (or half of it) is suitable.
If it's the latter, use J0Nreynolds approach.
Alternatively, there are also shaders one can write to remap a 360 degree video to a 180 degree hemisphere instead of remapping the UV coordinates.

@J0Nreynolds
I ran into this thread, and I read your code.
If u = 2*u for a mesh, from my beginner's guess, the image should expand horizontally which can wrap sphere two times. (But the result is opposite, I checked it also)
Would you kindly help me to understand uv-coordinate correctly?
@bohuang3d
What kind of shader do we use to remap a video? I've looked into shader-related things, but couldn't understand how...

@joelsung
Just for debugging purposes, what happens if you do u = 0.5*u instead?
The remapping of u is more or less a vertex shader modification. One can also do a remapping in fragment shaders for example, to map a rectangle to a sphere, or one of many cartographical projections that your video may use.
You could share the format of your video and what you wish to do

@bohuang3d
If I do u = 0.5*u, the half of the video stretches all over the sphere.
My curiosity is, why does it work in an opposite way from my guess.
I'm thinking about doing a conference call through VR (Right now, I'm playing local mp4 file) :)

@joelsung I agree that the it seems a bit unintuitive that doubling the U coordinate compresses the projection by a factor of 2 instead of stretching it by a factor of 2, but I think I can explain it to you in a way that makes sense.
Recall that UV coordinates indicate which part of a texture should appear at a certain point of a mesh. Because of this, each vertex in a mesh has a UV coordinate that indicates what part of the texture should be drawn there. If we were to double all of the U coordinates, this would indicate that we'd want twice as much of the texture to be drawn on the the mesh in the U direction. For example, a vertex that originally had a U coordinate of 0.5 (halfway through the texture) would now have a U coordinate of 1.0 (the end of the texture). Since the mesh itself is unchanged, we need to fit twice as much texture on the same surface area as before, which means the texture will be compressed to fit on the mesh's surface, not stretched.
Similarly, multiplying the U coordinates by 0.5 will result in half as much of the texture to be drawn on the mesh.  A vertex that originally had a U coordinate of 0.5 (halfway through the texture) would now have a U coordinate of 0.25 (the quarter of the way through the texture). In this case, half as much texture will be displayed on the same surface area, and the texture will be stretched as a result.
I hope this explanation helps you understand this effect a little better.

@joelsung
For u = 0.5u the result is what you expect?
but for u = 2u the result is 'opposite'? Could you elaborate.
Also, check your texture wrapping mode. It should be set for REPEAT for your u coordinate

@joelsung
please also send screenshots for both cases. Thanks

@J0Nreynolds
Thanks so much for elaborating explanation!!
Due to your kind effort, I could understand and try display other videos.
But it was not easy for me just by assigning u, v to split the sphere into multiple regions.
So I finally decided to import part of sphere mesh, and am going really rough in loading obj file.
(I also tried to use GVRSphereSceneObject, but mesh shape was too limited).
Thanks though!
@bohuang3d
Sorry, I already changed method to do it.
Could I know how to vertex shader modification? I tried to figure out how could do with shader, but couldn't get a glimse of it. Is it possible sharing a bit of codes?

@joelsung
Something like this for the vertex shader
precision highp  float;
//Incoming vertex attributes
attribute vec3 position;
attribute vec2 uv;
uniform mat4 modelViewProjMatrix;
//This is filled in the vertex shader and passed to the fragment shader
out vec2 uvOut;
void main()
{
gl_Position = modelViewProjMatrix * vec4(position, 1);
//This is where you insert the scaling factor for your uv
uvOut = uv * 2.0f;
}

@J0Nreynolds
Thank you for your comment.
I solved this issues. but I hava a little problem.
Please look at below picture.
I don't want show the Back image.
Can i change the Back color or Same Video Image??

@miraclehwan
The circular stripes you see are usually due to one of the texture parameters (either U or V) not changing across the surface being mapped, or texture repeat mode is set to GL_CLAMP if the texture coordinates go beyond the [0,1] range

@bohuang3d
Thank you for comment.
if you know solve the issues, please let me know.
I used below code.

        float[] texCoords = mesh.getTexCoords();
        for(int i = 0; i < texCoords.length; i+=2){
            texCoords[i] = 2*texCoords[i];
        }

@miraclehwan
When you do
texCoords[i] = 2*texCoords[i];
you are mapping the texture range from [0,1] to [0,2]
You could try something like this:
//Create texture parameters and set the texture wrap style to GL_REPEAT. The S,T correspond to the U,V I mentioned.
GVRTextureParameters parameters = new GVRTextureParameters(mGVRContext);
        parameters.setWrapSType(TextureWrapType.GL_REPEAT);
        parameters.setWrapTType(TextureWrapType.GL_REPEAT);

//And pass the parameters to your texture
        GVRTexture texture = mGVRContext.loadTexture(
                new GVRAndroidResource(mGVRContext, R.drawable.ground_512), parameters);

@bohuang3d
I using GVRVideoSceneObject.
how can i set texture parmeters ?

    GVRSphereSceneObject sphere = new GVRSphereSceneObject(gvrContext, 72, 144, false);
    GVRMesh mesh = sphere.getRenderData().getMesh();

    EnvironmentVideoSceneObject = new GVRVideoSceneObject( gvrContext, mesh, EnviromentSceneObjectPlayer, VideoType );
    EnvironmentVideoSceneObject.getTransform().setScale(21f, 21f, 21f);
    if (VideoDegreeType.equals("180")){
        float[] texCoords = mesh.getTexCoords();
        for(int i = 0; i < texCoords.length; i+=2){
            texCoords[i] = 2*texCoords[i];
        }

        mesh.setTexCoords(texCoords);
        EnvironmentVideoSceneObject.getTransform().rotateByAxis(-180, 0, 1, 0);
    }else{
        EnvironmentVideoSceneObject.getTransform().rotateByAxis(-90, 0, 1, 0);
    }

    EnvironmentVideoSceneObject.setName( "EnvironmentVideoSceneObject" );
    mainScene.addSceneObject(EnvironmentVideoSceneObject);

GVRTextureParameters texparams = new GVRTextureParameters(mGVRContext);
parameters.setWrapSType(TextureWrapType.GL_REPEAT);
parameters.setWrapTType(TextureWrapType.GL_REPEAT);
EnvironmentVideoSceneObject.getRenderData().getMaterial().getMainTexture().updateTextureParameters(texparams);

@NolaDonato
Thank you for your comment.
But I still have a problem.
Could you check my code please?
        EnviromentSceneObjectPlayer = MakeMediaPlayer(PlayVideoUrl);

        GVRSphereSceneObject sphere = new GVRSphereSceneObject(gvrContext, 72, 144, false);
        GVRMesh mesh = sphere.getRenderData().getMesh();

        EnvironmentVideoSceneObject = new GVRVideoSceneObject( gvrContext, mesh, EnviromentSceneObjectPlayer, VideoType );
        EnvironmentVideoSceneObject.getTransform().setScale(21f, 21f, 21f);
        if (VideoDegreeType.equals("180")){
            float[] texCoords = mesh.getTexCoords();
            for(int i = 0; i < texCoords.length; i+=2){
                texCoords[i] = 2*texCoords[i];
            }

            mesh.setTexCoords(texCoords);
            EnvironmentVideoSceneObject.getTransform().rotateByAxis(-180, 0, 1, 0);

            GVRTextureParameters texparams = new GVRTextureParameters(mGVRContext);
            texparams.setWrapSType(GVRTextureParameters.TextureWrapType.GL_REPEAT);
            texparams.setWrapTType(GVRTextureParameters.TextureWrapType.GL_REPEAT);
            EnvironmentVideoSceneObject.getRenderData().getMaterial().getMainTexture().updateTextureParameters(texparams);

        }else{
            EnvironmentVideoSceneObject.getTransform().rotateByAxis(-90, 0, 1, 0);
        }

        EnvironmentVideoSceneObject.setName( "EnvironmentVideoSceneObject" );
        mainScene.addSceneObject(EnvironmentVideoSceneObject);

Current VideoView

@miraclehwan Run the texture parameters block on the GL thread:
getGVRContext().runOnGlThread(new Runnable() {
    @Override
    public void run() {
        GVRTextureParameters texparams = new GVRTextureParameters(mGVRContext);
        texparams.setWrapSType(GVRTextureParameters.TextureWrapType.GL_REPEAT);
        texparams.setWrapTType(GVRTextureParameters.TextureWrapType.GL_REPEAT);
        EnvironmentVideoSceneObject.getRenderData().getMaterial().getMainTexture().updateTextureParameters(texparams);
    }
});

If you still experience problems, please consider creating a test app for us to examine. Thanks.

@liaxim
Thank you for your comment.
I used GL thread. but My app crashing.
so I update my code.
Please check my project.

@bohuang3d Since the the video scene object has to use an external texture, the texture wrapping mode is fixed to GL_CLAMP_TO_EDGE per OES_EGL_image_external spec.
@miraclehwan I am not seeing a crash trying your app btw.
Given the video from the sample app, half of a cylinder is the mesh that is needed probably.

@miraclehwan I will modify your project with the initial half-sphere method to keep it simple and straight-forward and get back to you

@miraclehwan
I modified your Main.java and added a class called PartialSphereSceneObject that can generate hemispheres, partial spheres, and full sphere to map your video too. Both files attached please give a try, thanks
        //A new class that generates a part of a sphere
        //last two parameters (both range from 0.0f to 1.0f) determine how fully is the sphere
        // constructed
        // i.e.
        // 1.0f and 1.0f = a full sphere
        // 1.0f and 0.5f = a half sphere vertically sliced
        // 0.5f and 1.0f = a half sphere horizontally sliced
        final PartialSphereSceneObject sphere = new PartialSphereSceneObject(gvrContext, 72, 144,
                false,
                new GVRMaterial(gvrContext),
                1.0f, //the vertical direction
                0.5f  //the horizontal direction
                );

animaitontest_modified_src_files.zip

@liaxim
I updateed my code..
I solved this issues. but I curious why crash is my app .
@bohuang3d
Thank you for your code.
I solved this issues. Thanks you so much.
I have a question.
if i want to show duplicate video in front & back, how can i edit my code?
I think i make duplicate my video texture. but I don't know... Sorry a lot of question.
look this image please

@miraclehwan
For duplicate video, can you make two such hemispheres with video mapped to each? One for front and one for back. And you can position and rotate them however you want.
I didn't crash either when running your app. What's your device

@miraclehwan Can you attach the logcat output at the time of the crash?


feature request: Elements creations.

It would be nice to be able to create these through TF.

It is !
Created a ticket for this, here is the ref ID - PER-10470


Unable to resend decliend provision email

This page my_provision_was_declined_what_should_i_do.md does not specify if the email that this entire function depends on is lost or not received (for whatever reason). Would be great to point out how to re-send such email.

Hello @ivrh,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

Hello @ivrh,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

Hello @ivrh,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

Hello @ivrh,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs

Hello @ivrh,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs


Don't require ModelBuildDefinition for BuildInfo

Today you need to join a ModelBuildDefinition to a ModelBuild in order to get basic information like the URI of the build. This is excessive. Should adjust the ModelBuild so that it maintains the organization and project thus making it possible to get BuildInfo without a join.

Completed


It should be possible to install targets separately

At the moment we must build everything always. Instead it should be possible to install a single thing with all it's dependencies.
$ cmake ..; make install_server -j

so youre actually talking about installing? (not compiling like in the headline?)

I think after merging https://github.com/inexorgame/inexor-core/tree/remove_standalone2

Yes, after merging remove_standalone2.
For clarification: it can't be closed bc it's part of that Branch, but it can be closed since that branch makes that issue more or less obsolete:
there is no master server anymore and the client and the server usually will get installed together.
except for one situation: server only.
In this case you would simply disable the client target to get build at all (-DBUILD_CLIENT=OFF)


[meson,sw] Support Meson build on MacOS

Signed-off-by: Daniel Beitel<EMAIL_ADDRESS>Use brew to install build tools.
build riscv toolchain from source. (Install under /opt/tools)
Meson build configuration: ./meson_init.sh -t toolchain-darwin-x86.txt

Hi, Can someone give me any pointers on why the CI regression is failing?

Same reason as your other PR: see explanation here: https://github.com/lowRISC/opentitan/pull/10111#issuecomment-1015236702.

Same reason as your other PR: see explanation here: #10111 (comment).

Thanks Rupert.  For some reason my email wasn't correct in the git repo.  Hopefully the process will go smoother for me next time.  :)

@drewmacrae Its not strictly required that I rename WORKSPACE, I just did it for consistency.  I really only need to rename BUILD because it collides with build on MacOS.  I can revert the WORKSPACE rename if that is easier.

I haven't tested the BUILD renaming in isolation, but I'd prefer the change be as small as possible while still unblocking you.
If you're renaming /BUILD to BUILD.bazel can you also update /.github/CODEOWNERS so it controls the new file the same way as the old ones and doesn't change how it controls all the other BUILD files.
Are we talking only about the BUILD file at the root of the repository or all of them?

This might create problems with our configuration of cargo which should be checked

Ok, I'll revert WORKSPACE and update CODEOWNERS.  It's only BUILD in the root of the repository.  MacOS filesystems don't recognize case, so build and BUILD collide.

Ok, I reverted WORKSPACE and updated CODEOWNERS.

Added back

Filed https://github.com/lowRISC/opentitan/issues/10679 to track this.

What motivated adding the various #include <array.h> lines?
We have our own version of memset, from device/lib/base/memory.h. I'm concerned that the error in sram_execution_test, where the memset had to be replaced with a hand-rolled loop, is due to the wrong memset being used. Can you please verify that situation?

What motivated adding the various #include <array.h> lines? We have our own version of memset, from device/lib/base/memory.h. I'm concerned that the error in sram_execution_test, where the memset had to be replaced with a hand-rolled loop, may be due to the wrong memset being used. Can you please verify that situation?

@luismarques The compilation of some unittests were failing on std::array() definitions.  Adding the C++ Array header fixed these failures.  As for the memset issue, I checked and the hand-rolled memset is being used.  I reviewed my compiler, I built using the instructions in the documentation.  I did notice my version of gcc is 11.1.0 and the precompiled version is 9.2.0.  I may try building the latest RiscV gcc on linux and see if I have the same failure.

I reverted the  change to memset in: sw/device/tests/sram_ctrl_execution_test_ret.c.  This was fixed by using version 9.2.0 of gcc in the RiscV toolchain.


trail-connector should be hidden at trailstart

When having drawn a trail, and then moving back to the first year, I see a little colored line, which is the remaining part of the initial trail. The red line form China bubble in this screenshot

Yes, it's not yet fixed. Same :beetle: is when you press play and the connector appears earlier than expected, jumping in front of a leading bubble

Done for all cases except when time animation keyframes fall in between years =/ this is not trivial
Lets just assume that animation keyframes always correspond the trail segments and move on
Also the development triggered issue #108


ODATA Security & expand

Fixes #12115
Fixes  #12306
Internal review URL
OData Expand

@FIVIL  please review. See Public review URL Might get stale
From my testing all that works without the EDM except the EDM stuff at the end of the article. Is that correct?

@Rick-Anderson
Yes, I  also tested them, all of them work just fine (paging and ordering on indexed columns tested in production under load)
however, we didn't mention Expand() which enables querying related data and therefore it causes SQL joins and can be super demanding. I wanted to add Expand() related stuff to my second sets of articles but if you are creating security-related docs I assume we should mention it.

@FIVIL  push a commit to this branch with Expand

@Rick-Anderson Sure thing. (I just need a bit time to finalize my work on them)

@FIVIL No hurry. We all greatly appreciate your valuable contributions.

@Rick-Anderson
i created a new PR for $expand samples, i submitted PR to this branch 2/ODATA/security/ra not the master branch.
https://github.com/aspnet/AspNetCore.Docs/pull/12191

@Rick-Anderson
I finished expand documentation.
https://github.com/aspnet/AspNetCore.Docs/pull/12150

@hassanhabib please review

@hassanhabib please review

@Rick-Anderson  looks good to me - great stuff! thank you for doing this!

@FIVIL please review my changes to expand

@Rick-Anderson
They are fine with me.

@danroth27 please recommend a reviewer for ODATA.

@serpent5  How do I update these sample to 3.0 with endpoint routing?  Note the sample/doc will not got in this repo, it's going to https://github.com/MicrosoftDocs/OData-docs/issues/69

What would be nice is having Startup2.2.cs and a 3.0 version. Maybe use #if 2_2 in Main.

How do I update these sample to 3.0 with endpoint routing?

It doesn't look it's possible right now. See https://github.com/OData/WebApi/issues/1748#issuecomment-537531980 and the related thread.

@serpent5  thanks! I'll move the 2.2 samples over.

Moved to https://github.com/MicrosoftDocs/OData-docs/pull/74


Updated Useful Links section

Which issue this PR addresses:

No JIRA for this task
What this PR does / why we need it:
Added/Updated new useful links as suggested and discussed on #forum-aro
Test plan for issue:
None
Is there any documentation that needs to be updated for this PR?
None
How do you know this will function as expected in production?
None

/azp run ci


Research: Empty Metrics

Description
From #185 :
"Note: given that the instrumented package has been instrumented with the npm scope, there should always be at least one metric. Evaluate current state of code to find potential edge cases as to why this might be happening."
in 185 we added a conditional to the code to not emit data if no metrics where found (i.e., metrics were empty). Research work remains to be down to determine the root cause of the empty metrics issue.
Steps to reproduce
Unknown

We found evidence in the logs that for each time we see this warning on the collector, all scope had failed to run/report data. If (after 1.4.0) we starting data for the following analyzed repos, we know we fixed it. If we don't for a while, there's still some other issue.
failing analyzed.paths
fc76815d...
6bd575a9...
cdb60d45...
403c4fbe...
98730fc3...

@jdharvey-ibm can you check these repos to verify this fix?

it doesn't appear the issue was resolved in 1.4.0, evidenced by the fact that for some of these repos we show no activity in the past months and for others we stopped seeing activity after 1.3.0 (when we added the fix not to emit empty metrics). Meaning there's still an issue where empty metrics are being generated ( we would expect to see at least one, the instrumented package )


Dynamic capsules side effect ("families")

Useful for dynamic programming, incremental computation, recursive capsules, and weird one offs.
Will need to make capsules dispose properly from widgets (onNextUpdate may break as-is) and also a use.forceAutoDispose (or the like)
Update: for how to use, see https://github.com/GregoryConrad/rearch-dart/issues/221#issuecomment-2380717712

Ref: riverpod families

Thinking an API something like:
Family<Foo, Bar> fooBarFamily(CapsuleHandle use) {
  return use.family((use, Foo foo) {
    final client = use(httpClientCapsule);
    return Bar(client, foo);
  });
}

@rearchWidget
Widget example(WidgetHandle use, Foo foo) {
  // The below syntax requires some fun trickery, see next code snippet for impl
  final Bar bar = use(fooBarFamily[foo]);
  return BarWidget(bar: bar);
}

To support the use(fooBarFamily[foo]) syntax, we can do a cool:
extension FamilyAccess<Param, Return> on Capsule<Family<Param, Return>> {
  Capsule<Return> operator [](Param p) => (CapsuleHandle use) => use(use(this)[p]);
}

Can you explain this side effect? The Riverpod one refers to identified instances of a kind (type), but here having two generic types confuses me.
Also, does the callback passed to use.family executes synchronously?

Can you explain this side effect? The Riverpod one refers to identified instances of a kind (type), but here having two generic types confuses me.

I think I understod... Foo is the key.

It is akin to Riverpod families for really specific scenarios, or for odd one offs that can't be solved effectively with factories.
Not sure I'll call the resulting solution "family", since it's not too intuitive unless you're coming from Riverpod, but that's the placeholder name for now.

Also, does the callback passed to use.family executes synchronously?

The family side effect will essentially just create capsules for each parameter passed in (think a Map<Param, Capsule>). That callback will provide the body of each newly created capsule.

Can you explain this side effect?

In the possible API i gave above, Foo is the family key; Bar is the return value.

In the current experimental implementation, dynamic capsules (I'm calling "families" that to be consistent with the Rust implementation/docs) would keep all of the keys/variants stored in the Map even when the data of the dynamic capsules themselves are destroyed. I'm not really sure this even constitutes as a problem, but if it were to be "fixed," one of the following would need to happen:
abstract interface class SideEffectApi {
  void forceIdempotent(); // new method that tells ReArch to disregard this particular side effect registration
}

abstract interface class SideEffectRegistrar {
  // register(), as before
  /// Is called whenever this capsule changes, whether that means it is rebuilt or disposed.
  /// Can be used to cleanup a resource.
  void cleanup(void Function()); // this f
}

Or maybe something similar. Not sure what I like more at the moment.

May also add some helper functions to experimental.dart to make stuff more ergonomic:
final myCapsule = capsule((use) {
  return use.data(123);
});

final myFamily = dynamicCapsule((use, Param param) {
  return use.data(param);
});

Not entirely sold on them since they:

lack type information in source code
are not const, but rather final since closures can't be const yet

But I think this would make since to include and users can opt-in when they want.

For those following, here's a test case that shows how to use this new (experimental) side effect:
  test('fibonacci numbers', () {
    DynamicCapsule<int, BigInt> fibonacciCapsule(CapsuleHandle use) {
      return use.dynamic((use, n) {
        return switch (n) {
          _ when n < 0 => throw ArgumentError.value(n),
          0 => BigInt.zero,
          1 => BigInt.one,
          _ => use(fibonacciCapsule[n - 1]) + use(fibonacciCapsule[n - 2]),
        };
      });
    }

    final container = useContainer();
    expect(
      container.read(fibonacciCapsule[100]).toString(),
      equals('354224848179261915075'),
    );
  });

I'll publish a new release shortly with the first iteration of the side effect, but keep in mind things may leak/not work perfectly for the time being.

New version released (1.12.0) with experimental dynamic capsule implementation. It seems to work, but I wouldn't recommend using it for anything mission-critical anytime soon.

dynamicCapsule

Okay, but hear me out: capsule.dynamic((use, arg) => ...)

I've thought about this some more and decided on a few things:

forceIdempotent, as mentioned here, is not going to happen. It clashes far too much with the rest of ReArch's design.
I could add a cleanup style method on SideEffectRegistrar. The issue is that I never marked it @experimental, so it's possible someone using the library in some really weird way could break. That might, however, be a risk worth taking.

Instead of cleanup on the SideEffectRegistrar, I could instead add it on SideEffectApi, but that would present numerous other problems. So that won't likely happen either.

I vetted all the code again today (didn't take that long since the entire core implementation is only a few hundred lines of code--one selling point of ReArch 😄) and realized there wouldn't be any problems regarding dynamic capsules--everything is properly handled as-is. The only things is that onNextUpdate with dynamic capsules may be a bit leaky unless we:

(1) Trigger idempotent garbage collection a few levels deeper (say 5 or so), or
(2) Trigger idempotent garbage collection all the way until the "root" nodes of any branches used to build the leaf
(I'd probably just go with the first option to save implementation time & complexity, and do less at runtime)

I think I'd want to rename some of the types:

typedef DynamicCapsule<Param, Return> = Capsule<DynamicOrchestrator<Param, Return>>;, or something like that.
This way we can refer to dynamic capsules as DynamicCapsules directly.
And users won't try to treat dynamic capsules as regular capsules, because even though they are, they are a bit useless as such and require that special [] syntax to read out of them

I do like capsule.dynamic((use, arg) => ...), but I'm not entirely sold on it yet

Mostly because capsule() would mean capsule would be a top-level variable with a call, which would hurt the IDE experience just a little bit. Alas, here's some code you can use in your own project, since capsule and dynamicCapsule are still experimental anyways:

class _CapsuleCreationImpl {
  const _CapsuleCreationImpl();
  Capsule<T> call<T>(Capsule<T> cap) => cap;
  Capsule<DynamicCapsule<Param, Return>> dynamic<Param, Return>(
    Return Function(CapsuleHandle, Param) dyn,
  ) =>
      dynamicCapsule(dyn);
}

const capsule = _CapsuleCreationImpl();

// Usage:
final cap = capsule((use) => 123);
final cap2 = capsule.dynamic((use, int i) => '$i');

TODOs
So I don't forget:

[ ] (MAYBE) SideEffectRegistrar.cleanup, which would be used to cleanup resources without causing non-idempotence.

[ ] Could be used by the dynamic capsules side effect to remove capsules from the underlying DynamicOrchestrator's map when they are disposed.

[ ] Provide enhanced idempotent GC to onNextUpdate to prevent any leaky behavior when dynamic capsules are read from widgets.


Hybrid model

for your consideration...
also -- if you see a reason why I am using gobs of memory, please let me know! I can cut back on the num_background_tuples, etc but that's not a real solution, right?

Hmm... I'm going to recommend closing this PR and opening a new one from the same branch.  No need to review anything; I've already looked at it, and it's good to merge.  We just need to convince Travis to actually run.


Tree Taps item should have Patchouli invetory lookup link

Here is the lookup link on TFC's wooden Bucket

Excellent point, I'll put this on my todo list


Possible candidates for addition to stopwords

In some extractions, I'm seeing % and ~ being pulled out as entities from text. If we want to eliminate these, is the right approach to add them to the stopwords file?

Yes, thanks!

I should also add that filter you mentioned, mihai, about entities which
are a single character
On Sat, Apr 18, 2020 at 10:19 AM Mihai Surdeanu<EMAIL_ADDRESS>wrote:

External Email
Yes, thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615906741, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJCPCL2A6VXNVHZ5WEZZNDRNHOJXANCNFSM4MLNHNUQ
.

Yep.
The entity validator in Reach might also help:
https://github.com/clulab/reach/blob/master/processors/src/main/scala/org/clulab/processors/bionlp/BioLexiconEntityValidator.scala
On April 18, 2020 at 10:53:33 AM, Becky Sharp<EMAIL_ADDRESS>wrote:
I should also add that filter you mentioned, mihai, about entities which
are a single character
On Sat, Apr 18, 2020 at 10:19 AM Mihai Surdeanu<EMAIL_ADDRESS>wrote:

External Email
Yes, thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615906741, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABJCPCL2A6VXNVHZ5WEZZNDRNHOJXANCNFSM4MLNHNUQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615912581, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI75TUN535HUTCBXQQJPDLRNHSJ3ANCNFSM4MLNHNUQ
.

And this filter:
https://github.com/clulab/reach/blob/master/processors/src/main/scala/org/clulab/processors/bionlp/BioNERPostProcessor.scala#L70
On April 18, 2020 at 11:07:26 AM, Mihai Surdeanu<EMAIL_ADDRESS>wrote:
Yep.
The entity validator in Reach might also help:
https://github.com/clulab/reach/blob/master/processors/src/main/scala/org/clulab/processors/bionlp/BioLexiconEntityValidator.scala
On April 18, 2020 at 10:53:33 AM, Becky Sharp<EMAIL_ADDRESS>wrote:
I should also add that filter you mentioned, mihai, about entities which
are a single character
On Sat, Apr 18, 2020 at 10:19 AM Mihai Surdeanu<EMAIL_ADDRESS>wrote:

External Email
Yes, thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615906741, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABJCPCL2A6VXNVHZ5WEZZNDRNHOJXANCNFSM4MLNHNUQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615912581, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI75TUN535HUTCBXQQJPDLRNHSJ3ANCNFSM4MLNHNUQ
.

I can confirm that single character entities like S, R, etc. are showing up in large numbers. If I understand correctly, you can handle those systematically and we don't need to add them one-by-one to the stop words list.

yeah -- I can try to work on that today/this weekend, is that soon enough?
or is this like, this hour urgent?
On Sat, Apr 18, 2020 at 11:14 AM Benjamin M. Gyori<EMAIL_ADDRESS>wrote:

External Email
I can confirm that single character entities like S, R, etc. are showing
up in large numbers. If I understand correctly, you can handle those
systematically and we don't need to add them one-by-one to the stop words
list.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/827#issuecomment-615917870, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJCPCNQK4VJOV74H7UL6QTRNHUZZANCNFSM4MLNHNUQ
.

OK -- I have a fix, is there an official sentence or two for a test? Or should I make one up?


Links with special character not working

Given Text: https://docs.google.com/spreadsheets/d/edit#gid=sdfdsfsd
Expected Result: https://docs.google.com/spreadsheets/d/edit#gid=sdfdsfsd
**Actual Result:#gid=sdfdsfsd" class="linkified" target="_blank">https://docs.google.com/spreadsheets/d/edit#gid=sdfdsfsd
What is the Bug? : It converts all occurrences of  #grid into #gid

Cannot reproduce using the input box at http://soapbox.github.io/linkifyjs/
Can you make a pull request with a failing test case?


MergeVcfsAndGenotypes option --setKey not working

Hi,
I am trying to use the setKey option the same way I used in in GATK 3. But nothing added to the INFO field in the VCF.
The merging of the variant is done but not the info where it comes from.
java  -jar /ngs/programs/DISCVRSeq/DISCVRSeq-1.3.13.jar MergeVcfsAndGenotypes -R {params.genome} -V:HC {input.HC} -V:FB {input.FB} -V:VD {input.VD} -V:MA {input.MA} -O {output.vcf} -genotypeMergeOption UNSORTED --setKey CALLER
Thanks for your help

@wcarre: the was asked here: https://github.com/BimberLab/DISCVRSeq/issues/189. Can you look at this and comment?


Update Chromedriver to 101

What is the context of this PR?
Update ChromeDriver to 101.
How to review
Make sure it passes all the checks.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Update Chromedriver to 101.0.0

Solved in https://github.com/ONSdigital/eq-questionnaire-runner/pull/870


replace esbuild with ncc

cause some dependencies has native binaries, esbuild can't handle that

I guess ncc doesn't really help, https://twitter.com/_egoistlily/status/1385654437172023296?s=21 this needs too be fixed instead.


System for GDScript warnings

The GDScript editor shows errors very clearly, but there's no system in place to show warnings. I believe it would be very beneficial and help find some bugs in user code. For instance, some examples of what could be caught:

Deprecated methods/properties (#4397).
Standalone expressions (#7302).

With a static typing system is also possible to catch other problems:

Integer division (such as 3 / 7, which becomes zero).
Narrowing conversion (passing a float to a function that uses int).
Discarding the return value of a function call.

And probably other stuff I can't think of right now.
It should show warnings in editor, when possible, and runtime warnings as well. Turning them of on a case might be needed too (sometimes you do want to make an integer division).

I think Godot might need a separate errors/warnings bottom panel to support easy viewing and double clicking on each of them similar to Visual Studio C++. It would be kind of like a todo list.

I'm not sure about how to do the interface. Bottom panel sounds fine at first, but it should be easily relatable to the current open script. Warnings will only be caught when parsing so that means it's only meaningful for the edited script, since that's the one still being parsed (also, it should be easy to see the warnings in the current script). It also could show in the console when running the game.
Major problem with bottom panel is that it's hard to add from the script editor plugin. It should remain self-contained. A hidable panel in the editor itself is probably better.
Any suggestions on the interface are welcome.


Add GWSW overlays to dashboard

It's this url: https://geodata.nationaalgeoregister.nl/rioned/gwsw/wms/v1_0?&request=GetCapabilities&service=WMS

Available in 0.5.2


Problem with size of the player + qualty; have to reload

I have set the player size at 16/9. I wanted to try 3/2, so I chose this option. I didn't like it, so I went back to 16/9. Unfortunately, this appears sometimes. I have to reload the page in order to fix it. Plus, the quality of the video doesn't change there (I have set 1080p). When I reload the page, the video is good (size + quality).
Maybe it's related to SPF, I'm not sure. I know you had a fix recently, so it's uncertain right now.

Main thread for this is now: #1844.


brainstorming/sketches: full page interactive endpoint explorer

Visual representation options:

tree

Some filters maybe?
Endpoint categorization.
Related:

#226

This will be done by the Aalto collaboration.

Done at https://geneviz.aalto.fi/endpoint_browser_2.0/


Is it possible to run this as a web app without much changes

I would like to use the modeler applicatoin as  webapp as hosted in the demo.bpmn.io. Are there any possibilities to support that on this application.

You can refer to this closed issue as a reference.
Basically saying, it's possible to have this as a web app. You will just have to build it as a normal bpmn-js web application (like shown in the linked issue above) and include the zeebe related moddle descriptors into it.
Please ask if you need help with this. I'll close this issue since no real feature request or bug is described.


Proposal: Support topology server, blade, room

How can i define topology infra and use it to compose scheduling.
I want to scale over two datacenter and be shure that scaling is made on multi server, blade and room or other peace of topology.
I show how Ceph can manage define topology with CrushMap.
Is-it possible to add this new feature to increase High Aviability?

You can try to add different host labels to your hosts and schedule based on the labels.
http://docs.rancher.com/rancher/latest/en/rancher-compose/scheduling/
Would that satisfy what you're aiming to do?

This is not exaxtly that i want. Because
If i have this topo
DC1,Room1,Blade1
DC1,Room1,Blade2
DC1,Room2,Blade1
DC1,Room2,Blade2
DC2,Room1,Blade1
DC2,Room1,Blade2
When i scaling, i whant that my service is deployed on DC1 and DC2 but not on Room2 for DC2 and with more complexe topo.
If i scale 10, ia want 7 on DC1 and 3 on DC2 becaude CPU and RAM on DC2 is lower than DC1.
How can i optain this?

Currently you won't be able to do that level of detailing for scheduling for a single service.
Instead, you could create multiple services that are scheduled for your group of hosts that you want and scale those services based on how many containers you want in each datacenter. For example, service1 would be for the hosts in DC1 and service2 would be for the hosts in DC2. This allows you to scale DC1 to 7 containers and DC2 to 3 containers.
Then, you could add a service alias that point to these different groups of services and use the service alias for load balancer targets.
In the example,  you could create a service alias that points to service1 and service2. When you load balance against the service alias, we'd target all 10 containers.

@sebglon Please let me know if you have additional questions based on my suggestions.

erata:
http://docs.rancher.com/rancher/latest/en/rancher-compose/scheduling/ moved to:
http://docs.rancher.com/rancher/latest/en/cattle/scheduling/


Support propagation directly to/from strings.

Adds functions to support propagation directly to/from strings so as to allow tracers to use more efficient implementations.
Includes default implementations for the binary string Inject/Extract functions that use iostream's so that tracers aren't required to provide implementations for them.
Addresses efficiency concerns that came up when instrumenting envoy for OpenTracing.

so as to allow tracers to use more efficient implementations

Not sure I understand. (a) Binary format is not supported by many implementations. (b) What is the meaning of using a binary codec to write to an ostringstream - won't you end up with garbage?

(a) Isn't binary one of the required propagation formats for OpenTracing? It's supported in the other API's as well. Envy has a custom single-header propagation mode that uses a base64 encoding of the binary span context representation.
(b) stringstream's can be used with arbitrary binary data. They don't have to correspond to ASCII or any other printable format. (See https://stackoverflow.com/q/47125387/4447365)

(a) Isn't binary one of the required propagation formats for OpenTracing? It's supported in the other API's as well.

Yes, it is "required" yet often not implemented because there are hardly any transport protocols where binary is actually required. Pretty much all instrumentation for HTTP protocol uses HTTP_HEADERS format, sometimes TEXT_MAP format is used for protocols that guarantee that keys and values do not get mangled.

Envy has a custom single-header propagation mode that uses a base64 encoding of the binary span context representation.

Hm, that makes it incompatible with anything that's not going through Envoy. E.g. if you have a remote client (mobile or maybe an API client) talking to the backend over HTTP, the normal way for that client to pass the context is using the tracer's HTTP_HEADERS format.
I'm not suggesting you stop doing this, it's just an interesting development I wasn't aware of. The OT way is pretty much "tracer rules them all", there is no standard on how the context is represented on the wire, not even which headers are used. The TraceContext Spec is almost complete opposite, it standardizes both the headers and the values. And Envoy's approach is in the middle, standard header, but 100% custom value.

question directly related to the PR though - why extend the tracer API with string& writer instead of putting that code in Envoy?

I added an option in the OT PR so that users can configure their tracer to propagate using it's native format if they want, but the custom format is still there since Envoy has been using that for a while.
Their propagation method was discussed quite a bit here for context. With Zipkin, they actually do propagation twice, both in their custom format and Zipkin's native B3 format.

question directly related to the PR though - why extend the tracer API with string& writer instead of putting that code in Envoy?

The point string overloads is so that tracer's might implement those functions directly to propagate more efficiently. The code I provided is just a fallback to iostream Inject/Extract if tracer implementations don't want to bother with also writing Inject/Extract for strings.

The point of the string overloads is so that tracer's might implement those functions directly to propagate more efficiently.

But you are transposing Envoy's non-standard (from OT perspective) approach into OT API. There is no standard format in OT for "string blob". If the other side of the connection is an OT tracer from the same tracing system but in different language, it won't be able to deal with the string blob.

thanks for the link, btw - I saw the beginning of that discussion, but not how it ended (should've subscribed).

Yes, that is a drawback of how they're propagating. I think at Lyft they do this form of custom propagation in their other languages as well; so provided the binary formats in the different languages match, they can still propagate.
Nothing about their single header format is leaking into this PR, though. It's only about allowing for the already supported binary format to be more efficient.

For reference: this is how the proposed Envoy OT PR propagates. It supports both Envoy's custom format and the tracers native http format.

I'm just suggesting that you can do the exact same thing directly in Envoy - use the binary/ostream API but pass an ostringstream. No OT API in other languages define codecs for a string blob.  Efficiency here == utility ==> does not need to be part of the API (because it's confusing and unexplainable based on the OT spec).
I am not even sure why you need the string in the first place - base64 encoding is fundamentally defined over []byte not strings (could be a quirk of the specific encode you're using).

Right, but std::string is the closest thing you have to a []byte array in C++11. A separate std::byte type was only added in C++17. Using std::string like this to package binary data is fairly standard practice.
Envoy's concern with std::ostringstream was that it requires you to make unnecessary copies of the data. With std::string, a tracer can potentially propagate more efficiently by calculating how much space it needs and allocating memory only once.

For comparison, Google's C++ Protobuf library provides functions that serialize directly to/from std::string as well as iostreams.

This looks to me like an efficient implementation for binary propagation in C++. Can we focus on whether this is the correct way to implement binary in C++, and leave aside discussion of the utility of the binary transport?

It's not about the utility of the binary format, merely about the API design. We already have an f(X) in the API, but we're trying to add g(Y) which is trivially expressible in terms of f. So we're increasing the API surface without any new functional requirement, merely as a convenience, a convenience that can just as easily be implemented as a static utility function elsewhere.

@yurishkuro That's not quite true. The Inject/Extract functions are virtual, so tracer libraries can provide their own more efficient implementations if they want.
Since they can be expressed in terms of the iostream Inject/Extract functrions, the OT library does provide a default implementation so that libraries aren't required to implement them.
But the whole point of the PR is to allow for more efficient implementations if you're using a strings for binary propagation.

so tracer libraries can provide their own more efficient implementations if they want.

Rule of Three - do we have 3 library providers who are interested in overriding this method in order to use more efficient implementation?

I tend to agree. I have seen too many C++ programmers worried about streams vs. strings and strings vs. string views/refs when that is the least of their performance concerns. My fear is that the C++ implementation will become too C-like if performance is given priority over elegance/simplicity of use. If there is a significant performance issue and/or it is a deal-breaker for those considering OpenTracing, I would reconsider.

I'll close this since envoy was ok merging in a version using iostreams.
But I do think that unnecessary memory allocations are absolutely something to be concerned about in the API.


roch_robot: 1.0.13-2 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository roch_robot to 1.0.13-2:

upstream repository: https://github.com/SawYer-Robotics/roch_robot.git
release repository: https://github.com/SawYerRobotics-release/roch_robot-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.23
previous version for package: 1.0.11-0

roch_base
* Fixed odom rotation which combine encoders and imu, only enconders great errors.
* Add missing dependcies: nodelet.

roch_capabilities
* Modified: run depend of roch_capabilities.

roch_control
* Update twist_mux.yaml.
* Modified localization file.

roch_description
* Modified link transform of rplidar.

roch_ftdi

No changes

roch_msgs

No changes

roch_robot

No changes

roch_safety_controller
* Modified output command to twist_mux.

roch_sensorpc

No changes

Hi, I fixed circular dependency in: roch_bringup, roch_capabilities, roch_navigation.
Sorry about that.

Your sourcedeb is failing due to your version of bloom being out of date. http://build.ros.org/view/Ibin_arm_uThf/job/Isrc_uT__roch_capabilities__ubuntu_trusty__source/5/console
Please upgrade to 0.5.26 you need at least 0.5.25 for debian increment support.

Hi, okay I will update this latter, thanks a lot.


Set revisionHistoryLimit to 3

This will limit the amount of replicasets left stale on our clusters

Thanks @onedr0p :+1:


update genomic data release file

Fixes #27

set MAF file synapse ID to class definitions of each cohort
update NSCLC cohort to 11.0-public

LGTM. feel free to merge when ready.


Resolve npm/git hangs due to bad file descriptor

npm uses git, which uses ssh. ssh has code that iterates through proc/pid/fds, and closes any file descriptors that don't belong to it. some of these file descriptors belong to us, and closing them results in a "bad file descriptor" error or a hang when we try to use them.
this PR fixes the complications that arise from the above, by effectively intercepting the close function to prevent scoped applications from closing file descriptors that our transport object is maintaining.

I'm going to make three changes before accepting this PR.

I see that there is a transport unit test failure.  The cause is that if trans->net.pending_connect is -1, in checkPendingSocketStatus(), then these calls will result in an error from select with errno == EBADF

    FD_ZERO(&pending_results);
    FD_SET(trans->net.pending_connect, &pending_results);
    rc = g_fn.select(FD_SETSIZE, NULL, &pending_results, NULL, &tv);

My fix for this is to add the check of trans->net.pending_connect in the first line of checkPendingSocketStatus().
    if (!trans || trans->net.pending_connect == -1) return 0;

While looking for the cause of the above unit test failure, I noticed that the logic for transportConnection() isn't right if trans->net.sock == -1.  so I'm changing this:

            if (trans->net.sock) {
                return trans->net.sock;
            }

to this:
            if (trans->net.sock != -1) {
                return trans->net.sock;
            }

There is a separate PR that contains SCOPE_CONNECT_TIMEOUT_SECS.  (#440).  Because of this, I'm going to remove these changes from this PR just for clarity.

With the above changes, all tests were passing except the transport integration test.  The issue here was with this in transport.c, in checkPendingSocketStatus():
    // We have a connection
    scopeLog("connect successful", trans->net.pending_connect, CFG_LOG_INFO);

    // Socket no longer pending
    trans->net.pending_connect = -1;

    // Move this descriptor up out of the way
    trans->net.sock = placeDescriptor(trans->net.pending_connect, trans);

The problem is that trans->net.pending_connect contains the value of the file descriptor that the pending connection is being done on.  And we're overwriting it to -1 before we use it as an argument to placeDescriptor().  The fix is do the placeDescriptor first, and then we can overwrite the trans->net.pending_connect.

I made sure that @seanvaleo had a chance to take a look at the above.  I'm going to merge to master.


[Feature request] Force one-to-one sync

If I have lots of text and audio parts (e.g. 27) and I sync them all together at once, it causes a lot of out of sync and skipping issues.
But when I sync them one at a time then combine the smil results afterwards, it doesn't seem to cause much issues, if any.
Would be nice to have an option to force one-to-one syncing.

This could also be a workaround for #11 (aka r4victor/afaligner#2 and r4victor/afaligner#9)


Support for sampctl

Hello!
This plugin is great! However, a lot of users uses sampctl.
Could you add compatibility with it?
Thanks :D

Compatibility with sampctl has been added.

sampctl warn:
WARN: failed to ensure plugin github.com/KashCherry/Timer-Fix-plugin failed to get plugin github.com/KashCherry/Timer-Fix-plugin from net: resource matcher '^timerfix-(.+)-windows.zip$' does not match any release assets from '[ timerfix-1.0.8-linux.tar.gz timerfix-1.0.8-win32.zip]'
Please edit pawn.json


Add Mac support

Describe the bug
Currently Crash! only supports Windows.  We should also add support for Mac.  Unfortunately, since mono does not appear to support WebSockets this will likely only be able to be done for v8 WIP.

I think fully supporting mac, even if it's only Rhino 8 WIP and onwards would be a fantastic achievement. It'd allow for cross platform model sharing. I'm not aware of a cad package that supports that currently.
Since Rhinos geometry kernel is pretty stable and consistent I don't envision that there would be any issues transferring between versions

I was able to test this on Rhino 8 WIP for Mac and was sort of working. Notes:

Please create a package for mac. At the moment, no mac uses can see this in the package manager. To install it I had to go to the yak listing for the package, download the yak file, switch .yak to .macrhi, and drag and drop it into R8.
Users on windows were not able to see my changes, but I was also not able to see some users changes. I was also on a VPN, so this might have affected my connection performance. I did see a few names and some geometry!
Consider that the ActiveDoc can change in mac, as Rhino for Mac is multi document. You target ActiveDoc in several places: https://github.com/clicketyclackety/Crash/search?q=activedoc For that matter, consider what happens when a user on Windows starts a new file. You might want to listen to the CloseDocument event.

@fraguada, thanks for these pointers. I will create a PR to fix as many of these issues as possible 😊