1.6.1 docker image crash when loading files

Hello, not sure if there is anything funky with my setup but whenever i bring up the docker image and try to load any files it crashes the x server at whne it finishes loading.
Here is some debug i think you could use:
I start it with:
docker run -d
--name=handbrake
-p 5800:5800
-v /home/apa/handbrake/config:/config:rw
-v /home/apa/handBrake/watch:/watch:rw
-v /home/apa/handBrake/output:/output:rw
-v /home/apa/handbrake/mounts:/storage:ro
-v /home/apa/handbrake/test:/storage2:ro
jlesage/handbrake:latest
/storage points at a samba share, /storage2 at the local file system, same things happens on both paths.
testfile is lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv a very comman one as to facilitate troubleshooting.
cat Activity.log.758
[08:52:46] gtkgui: HandBrake 1.6.1<PHONE_NUMBER>) - Linux x86_64 - https://handbrake.fr
[08:52:46] Compile-time hardening features are enabled
[08:52:46] qsv: not available on this system
Cannot load libnvidia-encode.so.1
[08:52:46] hb_init: starting libhb thread
[08:52:46] hb_init: starting libhb thread
[08:52:46] hb_init: starting libhb thread
[08:53:07] CPU: Common KVM processor
[08:53:07]  - logical processor count: 8
[08:53:07] Intel Quick Sync Video support: no
[08:53:07] hb_scan: path=/storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[08:53:07] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[08:53:07] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/storage2/lg-uhd-the-story-of-earth-in-ultra-hd-(www.demolandia.net).mkv':
Metadata:
creation_time   : 2023-01-31T12:37:42.000000Z
ENCODER         : Lavf59.27.100
Duration: 00:00:30.04, start: -0.007000, bitrate: 2643 kb/s
Stream #0:0: Video: av1 (Main), yuv420p(tv, bt709), 3840x2160, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn (default)
Metadata:
DURATION        : 00:00:30.037000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title           : Stereo
DURATION        : 00:00:30.021000000
[08:53:07] scan: decoding previews for title 1
[08:53:07] scan: audio 0x1: opus, rate=48000Hz, bitrate=1 English (Opus) (2.0 ch)
[08:53:22] scan: 10 previews, 3840x2160, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[08:53:22] libhb: scan thread found 1 valid title(s)
docker inspect handbrake
[
{
"Id": "37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413",
"Created": "2023-02-27T08:52:38.973729006Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 139,
"Error": "",
"StartedAt": "2023-02-27T08:52:40.102805066Z",
"FinishedAt": "2023-02-27T08:53:25.319164963Z"
},
"Image": "sha256:d771df1d21f32759656bb4140124b0680251c1cb71c96ac325322ae898b5853e",
"ResolvConfPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/hostname",
"HostsPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/hosts",
"LogPath": "/var/lib/docker/containers/37f55661840ae68254d7dfc122affb4c11abc465ec3bb6e671ae722cf1d52413/37f55661840ae68254d7dfc122                                      affb4c11abc465ec3bb6e671ae722cf1d52413-json.log",
"Name": "/handbrake",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/home/apa/handbrake/config:/config:rw",
"/home/apa/handBrake/watch:/watch:rw",
"/home/apa/handBrake/output:/output:rw",
"/home/apa/handbrake/mounts:/storage:ro",
"/home/apa/handbrake/test:/storage2:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"5800/tcp": [
{
"HostIp": "",
"HostPort": "5800"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a-init/diff:/var/lib/                                      docker/overlay2/2817527ba4052e195874cd50c972f38980754e1987e663d167a002b8ab7a1eaa/diff:/var/lib/docker/overlay2/c578d820740a024e8a4a31eeabc                                      43e3c7adb356708806ca834ba963ac0744783/diff:/var/lib/docker/overlay2/1faef04fc022808c8e392fea64712ad4760c7bad66955deb7e9cf8df31e150d3/diff:                                      /var/lib/docker/overlay2/3ceea71728ae75ae88a009e4777377b9454be0e922c2cc1c8ac35f6b88280683/diff:/var/lib/docker/overlay2/aafa5ba59a867de1e9                                      2fc65c9700bfa65570607ff3e21aae409b120bddab17f1/diff:/var/lib/docker/overlay2/62681e192c0c024c0927ff7c2800278b3e375c78d3abdd59112996fa4e004                                      3e8/diff:/var/lib/docker/overlay2/1fd53a87e80baf2ddcc5a63aeb399f4a2a232dfad36fd48421b271a86d62e3f1/diff:/var/lib/docker/overlay2/c54c8660e                                      93b116461440dbb9c9b68719ec9a785610cb4d6542d0ebf7d1c72f8/diff:/var/lib/docker/overlay2/a8f50a350e94ac1bab2f1dc9a9a1fc043aff1fac96fb09339cc0                                      0c5bc5c5f362/diff:/var/lib/docker/overlay2/428923af816ebe7bb590e2904dcf416aa0b24cfa8bf820096d652e6eab9ebc23/diff:/var/lib/docker/overlay2/                                      0ca1781df4b099c4236e2b4efc0c8b76b0363cdc3eeb8c6ae4851fac79076db3/diff:/var/lib/docker/overlay2/392dd7d5aca49a1f3c761993d34a7229eea8a892291                                      cec366f301dd952c9762d/diff:/var/lib/docker/overlay2/07e8e32fdd743270b210aacf89eefdf3af24c8502273dcd4cc5a7386a2e5f0e5/diff:/var/lib/docker/                                      overlay2/1f64a5c7c75406760469c46172ec969784f292a5b9f534b521e19b17d1d3a493/diff:/var/lib/docker/overlay2/06b22ca96e679439d3ff12b0759a6d93ae                                      ec02db7d849e3b9dd152925014ccc2/diff:/var/lib/docker/overlay2/5409ca01b27381bd45cd2e20f30491b08bcb7233df38af2375933594ebc61d8e/diff:/var/li                                      b/docker/overlay2/229b7ca78e5112bd6ed54f93bfa7360da5ac6683f5016bdb10bcc266d548e3cb/diff:/var/lib/docker/overlay2/2fc628a6e2a04ad69782860a5                                      fd5c179f9d2d283153c4bbd90234486b811691d/diff:/var/lib/docker/overlay2/102bfbc0fb3cb987a2cf6db33766f4e05bdae5fdc4fd0e3b4215b2e391d4055b/dif                                      f:/var/lib/docker/overlay2/76adc27a7d11bb1d0c5a2626c7516d874946fd0abd71673a5f80fb20b92b86ab/diff:/var/lib/docker/overlay2/bb4481d1be8c2492                                      9dbcf5583ef878d14c923537f2353b545e4eeaa62d5b499b/diff:/var/lib/docker/overlay2/87dd1e121ce9972f42ddf99e1d25a04d4955d78578aa23ff921f65d6f24                                      5af8d/diff:/var/lib/docker/overlay2/b3317d33f3d27d2809b6af49ae2de8dbcfb9ca309209c21c704dd9ab13876cd1/diff:/var/lib/docker/overlay2/4fb0c52                                      8fa3c52ec228a506bd37813ce6ffc0b878706d41377a25655465f1c90/diff:/var/lib/docker/overlay2/dc4a81ae5a85c666cac2159a56077d1a18993e977dc3ad2218                                      b1b24aea87e7a5/diff:/var/lib/docker/overlay2/bc3c6211f5c77f8ce7b599ec57863f82eb30f4a5240c08379f79034b140546a1/diff:/var/lib/docker/overlay                                      2/23097dc944ad59f54e7401d75e3586b250b8021df2768c94a20d07dc1442d0f8/diff:/var/lib/docker/overlay2/0d20133458082bfdfbac39a66a5e8ae8884e341ee                                      78e72104f23d1f52c5e97a6/diff:/var/lib/docker/overlay2/a31b1b201e7cfa88d98ef63645e15f3e7206e05b3cace3873ca0e55353faaa03/diff:/var/lib/docke                                      r/overlay2/0280d2161b3315739f12c6b22f46addd4d026042065d561405d33502d6857612/diff:/var/lib/docker/overlay2/44ce7369ee3a8cb494880e7b4061dd47                                      8c081fb6d8e13a586175cdf1a5e5be77/diff:/var/lib/docker/overlay2/741ca98dbf6137e9e282b54266b991daf724a59c7c075d14cfafa0f94bfec749/diff:/var/                                      lib/docker/overlay2/d8c9fe2bfce457d463a93a62b6f756b966ff6e7320e2a374d9ea5f45d9911267/diff:/var/lib/docker/overlay2/eef5e3ede57f448e3071d56                                      6f623d789b512ed2adc8f7b32f5425194c6597f82/diff",
"MergedDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/merged",
"UpperDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/diff",
"WorkDir": "/var/lib/docker/overlay2/6fbf2c519a412dee411fef0f6d0cf51794e2a525be0050b065f0b3bb291da81a/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/apa/handbrake/config",
"Destination": "/config",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/apa/handBrake/watch",
"Destination": "/watch",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/apa/handBrake/output",
"Destination": "/output",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/apa/handbrake/mounts",
"Destination": "/storage",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/apa/handbrake/test",
"Destination": "/storage2",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "81c1bb1a63b446c050979dac34e5a12989cefc0a3c163a3673095455ebce5b8f",
"Source": "/var/lib/docker/volumes/81c1bb1a63b446c050979dac34e5a12989cefc0a3c163a3673095455ebce5b8f/_data",
"Destination": "/trash",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "37f55661840a",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5800/tcp": {},
"5900/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
"ENV=/root/.docker_rc",
"USER_ID=1000",
"GROUP_ID=1000",
"SUP_GROUP_IDS=",
"UMASK=0022",
"LANG=en_US.UTF-8",
"TZ=Etc/UTC",
"KEEP_APP_RUNNING=0",
"APP_NICENESS=0",
"INSTALL_PACKAGES=",
"CONTAINER_DEBUG=0",
"DISPLAY_WIDTH=1920",
"DISPLAY_HEIGHT=1080",
"DARK_MODE=0",
"SECURE_CONNECTION=0",
"SECURE_CONNECTION_VNC_METHOD=SSL",
"SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
"WEB_LISTENING_PORT=5800",
"VNC_LISTENING_PORT=5900",
"VNC_PASSWORD=",
"ENABLE_CJK_FONT=0",
"HANDBRAKE_DEBUG=0",
"HANDBRAKE_GUI=1",
"AUTOMATED_CONVERSION=1",
"AUTOMATED_CONVERSION_PRESET=General/Very Fast 1080p30",
"AUTOMATED_CONVERSION_FORMAT=mp4",
"AUTOMATED_CONVERSION_SOURCE_STABLE_TIME=5",
"AUTOMATED_CONVERSION_SOURCE_MIN_DURATION=10",
"AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION=0",
"AUTOMATED_CONVERSION_KEEP_SOURCE=1",
"AUTOMATED_CONVERSION_OUTPUT_DIR=/output",
"AUTOMATED_CONVERSION_OUTPUT_SUBDIR=",
"AUTOMATED_CONVERSION_OVERWRITE_OUTPUT=0",
"AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS=",
"AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION=ignore",
"AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS=jpg jpeg bmp png gif txt nfo",
"AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS=5",
"AUTOMATED_CONVERSION_CHECK_INTERVAL=5",
"AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS=",
"AUTOMATED_CONVERSION_INSTALL_PKGS=",
"AUTOMATED_CONVERSION_NO_GUI_PROGRESS=0",
"AUTOMATED_CONVERSION_USE_TRASH=0"
],
"Cmd": [
"/init"
],
"Image": "jlesage/handbrake:latest",
"Volumes": {
"/config": {},
"/output": {},
"/storage": {},
"/trash": {},
"/watch": {}
},
"WorkingDir": "/tmp",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.label-schema.description": "Docker container for HandBrake",
"org.label-schema.name": "handbrake",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vcs-url": "https://github.com/jlesage/docker-handbrake",
"org.label-schema.version": "23.02.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "9949593d0af1b70e95fa672b133c7a8af24e4a170597193851dc73bb55a75c8b",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/9949593d0af1",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "52653ed5fdedd36faa92ac0d1739a8837f18982f9427587391840ca3c3341d3a",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]
Anything else you need ?

Do you have an URL for the test file you are using ?
Which official preset are you using ?
Can you also provide the container's log: docker logs <container name>

It would seem like it does this with every file i throw at it, at seems like it crashes at the moment it's about to bring up a sample picture within handbrake of the video i load.
I'm currently rebuilding my computer for re-encoding to either run proxmox or straight up ubuntu with docker on it, haven't decided yet.
I'll get back with requested info when done if the above info ain't enough to help you out.
Also, and outside of the scope of this bugreport, would it be possible to make an image with nightly builds of handbrake? they recently added dolby vision support after 1.6.1 and i very much like that... :)
I'll try to make my own docker image with it, but last time i tried there was some problem with x265 files iirc.

It would seem like it does this with every file i throw at it, an seems like it crashes at the moment it's about to bring up a sample picture within handbrake of the video i load.

Did you ever find a fix for this issue?


qmculogin.html location?

Regarding these instructions at the end of the install process (I saw no reference to this in the install instructions):
"QMC Utilities uses the Qlik Sense proxy to properly authenticate users to the power tool.  In order to facilitate authentication and authorization in QMC Utilities, a stub page will be added to the default content library with the name qmculogin.html.  If the upload process fails, manually upload the the qmculogin.html file using the QMC.  The qmculogin.html file is located in the QMCUtilities root."
"WinHttp.WinHttpRequest:  A certificate is required to complete client authentication.  The authentication stub page qmculogin.html needs to be added to QMC content library manually."
Since the folder "C:\ProgramData\Qlik\Sense\Engine\Content\Default" was empty, I am inferring that this be where the "qmculogin.html" file is required?
[later edit] I see that "C:\ProgramData\Qlik\Sense\Repository\Content\Default" is also does not have this file...  It has some image files, but no html files.
[later edit] And then there is the "C:\ProgramData\Qlik\Sense\Repository\DefaultContent" folder, which is also empty but for another folder named "DefaultMediaLibrary".
Thanks,
René

@PlexPro, if the file does not get uploaded to the default content library you can upload it manually.  The file is located in %programfiles%\qlik\sense\eapowertools\qmcutilities.
You should see the file dropped there.  If not, then it's an installer bug.

@goldbergjeffrey, thank you, I did find the source location, what I'm not sure about is where it should be found to have been copied.
René


Update Chinese translation

ensures that the format complies with the original en_us file, huge thanks to @Pyrofab's tool!

Thanks for the translations!


python3Packages.sip: fix typo

Description of changes
A typo broke the build of reverse dependencies. This PR fixes it. See also https://github.com/macports/macports-ports/commit/ec069438e74a52a53c9831ad2243846a0496b039
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Should go to staging.

A typo broke the build of reverse dependencies.

Do you have an example?

Do you have an example?

I encountered it when trying to build pythonPackages.poppler-qt5.

Should go to staging.

staging fails on the pkgs/by-name check due to a seemingly unrelated issue.

I rebased it to an older staging commit since the latest staging contains libplacebo_5 and vulkan-volk which do not honour the pkgs/by-name policy.

See https://github.com/NixOS/nixpkgs/pull/282707 for why CI failed, it's an interesting edge case, could've been fixed by retriggered CI

@ofborg build python3.pkgs.sip

Actually should we merge it into staging-next since it fixes some builds?

We should continue in #281180 which provides the newer version fixing this issue. Looking at the 6.8.1 code: https://www.riverbankcomputing.com/hg/sip/file/d6da922b80f7/sipbuild/generator/outputs/code.py

We should continue in #281180 which provides the newer version fixing this issue. Looking at the 6.8.1 code: https://www.riverbankcomputing.com/hg/sip/file/d6da922b80f7/sipbuild/generator/outputs/code.py

Should https://github.com/NixOS/nixpkgs/pull/282473/commits/219c17d5607c13ff50a701f84527280cc42754dc also go there?

I not a big fan of df7ab7d1ddf6f4e151effea427fd99c9c7dcd186.
219c17d5607c13ff50a701f84527280cc42754dc LGTM, but not sure where we should track it.

closing in favor of #281180


Remove unnecessary null pointer checks

An extra null pointer check is not needed in functions like the following.

durable_log
leveldb_datalayer

Thanks for the report.  There's a pull request in progress to address it.


Extensible Selector

Reference

#74

Use Case
In order to properly extend a class, the extension by default should fully represent the super, before any extending changes, per Liskov's Substitution Principle - the L in SOLID.
Proposed Solution
Virtualize all public or protected methods, enabling engineers to override specific methods as needed for overriding purposes.

Pull Request #78


updated bose-soundtouch (<IP_ADDRESS>93)

Thank you for the contribution. It was merged directly as c877ace6d40864454f25271368983704e6b73de4 to keep commit history cleaner. Your contribution is still credited to you.


Blank Page Flash on Drawer Navigation

Description:
A blank page flash occurs when navigating from the drawer to a shorter page. This issue is due to the persistent negative top property on the body tag set by the drawer, which is not reset immediately upon navigation.
Steps to Reproduce:

Navigate to a page where the content height exceeds the viewport height, necessitating vertical scrolling.
Scroll to the bottom of the page where the drawer trigger element is visible, or in our case, it's a sticky button (thank you for https://github.com/emilkowalski/vaul/issues/191 🎉 )
Open the drawer.
Select a link to navigate to a shorter page; in our case, the drawer is used to filter products (query param changes)
Observe the blank page flash before the content becomes visible after the drawer closes.

Expected Behavior:
Immediate visibility of the new page's content when navigating from the drawer, without any blank page flash.
Actual Behavior:
Delayed display of the new page's content due to the persistent negative top property on the body tag.
Sandbox example

https://github.com/emilkowalski/vaul/assets/12925816/66cd26ee-4990-442a-a162-701c03e86273

Using the noBodyStyles prop together with the disablePreventScroll fixes this issue for me.


Improve support for Arabic script in TextField

Hi,
Similar to this issue, I opened an issue on HaxeFlixel about Arabic text not rendering correctly (link).
Gama11 posted some OpenFL code:
package;

import openfl.display.Sprite;

class Main extends Sprite
{
	public function new()
	{
		super();
		var text = new openfl.text.TextField();
		text.text = "بِسم للَه";
		text.defaultTextFormat = new openfl.text.TextFormat("Arial", 48);
		stage.addChild(text);
	}
}

This generates disjointed text on Neko (and presumably Android):

From this issue first, I presumed from the conclusion that this should work now. Am I doing something wrong?
To be clear, this is with OpenFL 8 with Lime 6.2.0:

install openfl dev via haxelib git openfl https://github.com/openfl/openfl
for Lime, the latest Haxelib release (6.2.0) should be fine

Thanks for this. I hope I will get a chance to work on this soon.

I can live with no spaces for now (since I'm just using singular words)
I have to figure out how to integrate OpenFL into a HaxeFlixel project (not that difficult I hope)
I don't like using unreleased OpenFL/HaxeFlixel versions, but my game is very small, so I can live with it for this project.

Thanks for the prompt response and fix. I'll verify once things look good on my end and close this.

@jgranick I'm currently experiencing some problems getting the experimental Flixel branch to work with the latest lime and OpenFL. There's a commentary in the PR thread about it. If I resolve it, I will build (and ship) my game on Android and update you.
If you can take a quick look, maybe the answer is really obvious to you what the problem is.

@nightblade9 I would recommend using the development version of OpenFL and the development version of Lime, together. However, using the release version, lime.Lib.extraParams should be available, but only in the macro context. Do you get the error when doing openfl test neko, or something else?

@jgranick I get the error when running lime test neko or lime test html5 (I didn't tset other targets). I'll switch lime over to use Git also to see if that makes a difference.

Also, try updating Haxe to a newer version? From what I recall, Haxe 3.4.0 was not stable for us, only Haxe 3.4.3 or greater

@jgranick I tried reinstlaling Haxe (3.4.7) with lime/openfl from Git; I now get a completely new error when I run lime test <anything>:
Called from ? line 1
Called from CommandLineTools.hx line 2084
Called from CommandLineTools.hx line 26
Called from CommandLineTools.hx line 140
Called from CommandLineTools.hx line 1869
Called from lime/project/ProjectXMLParser.hx line 25
Called from lime/project/ProjectXMLParser.hx line 58
Called from lime/project/ProjectXMLParser.hx line 2225
Called from lime/project/ProjectXMLParser.hx line 1370
Called from lime/tools/helpers/HaxelibHelper.hx line 255
Called from lime/tools/helpers/LogHelper.hx line 49
Called from lime/tools/helpers/LogHelper.hx line 140
Called from D:\HaxeToolkit\haxe\std/neko/Lib.hx line 42
Uncaught exception - load.c(237) : Failed to load library : lime.ndll

Lime 6.2.0 gives me a different error; any idea what this error means? Could it be something about the CPU architecture?

I'm going to stop right here. I'll wait for the HaxeFlixel branch to merge in, and hopefully these issues will be resolved.
Thanks for your help.
For posterity, here's the error I got (I think it means I'm missing cl.exe but I'm not interested in figuring this out right now):
Compiling group: lime
cl.exe -Iinclude -Ilib/cairo/include -Ilib/cairo/include/configs/windows/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_WIN32_STATIC_BUILD -DCAIRO_HAS_FT_FONT -Ilib/curl/include/ -DLIME_CURL -DCURL_STATICLIB -Ilib/efsw/include/ -DLIME_EFSW -Ilib/freetype/include -DLIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -Ilib/jpeg/ -DLIME_JPEG -Ilib/lzma/src -DLIME_LZMA -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal/include/ -DLIME_OPENAL -DLIME_OPENALSOFT -DAL_LIBTYPE_STATIC=1 -DAL_ALEXT_PROTOTYPES -DLIME_OPENGL -Ilib/png/ -Ilib/zlib/ -DLIME_PNG -Ilib/sdl/include/ -Ilib/sdl/include/configs/windows/ -DHAVE_LIBC -DLIME_SDL -Ilib/tinyfiledialogs/ -DLIME_TINYFILEDIALOGS -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_VORBIS -DLIME_ZLIB -nologo -DHX_WINDOWS -D_USING_V140_SDK71_
-GR -O2(optim-std) -Zi(debug) -FdD:\HaxeToolkit\haxelib\lime\project\obj/msvcxp/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -Oy- -c -EHs -GS- -arch:SSE2 -ID:/Haxetoolkit/haxelib/hxcpp/3,4,188/include -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 ... tags=[haxe,static]
 - src/graphics/cairo/CairoBindings.cpp
 - src/net/curl/CURLBindings.cpp
 - src/ExternalInterface.cpp
Process creation failure : cl.exe

@jgranick if I may request one more thing: if it's possible, please expose these fields so that they can (eventually) be consumed by HaxeFlixel code. I assume detecting language is very tricky/difficult, and instead, we should expose constructor/method/property parameters that allow the user to specify that the language is indeed right-to-left.

Now that the HaxeFlixel change is merged, is there any way to get this to work without building OpenFL from source?


[174] Issue #174 - December 03, 2020

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

https://forums.swift.org/t/differentiable-programming-for-gradient-based-machine-learning/42147

https://fivestars.blog/swift/disfavoredOverload.html

https://twitter.com/SwiftLang/status/1329549618909040641

RFC: Deprecating generate-xcodeproj
https://forums.swift.org/t/rfc-deprecating-generate-xcodeproj/42159

[Concurrency] Evolving the Concurrency design and proposals
https://forums.swift.org/t/concurrency-evolving-the-concurrency-design-and-proposals/42184

Building Swift fails on M1 MBA
https://forums.swift.org/t/building-swift-fails-on-m1-mba/42181

Pitch: Inline @convention(…) attributes for closures
https://forums.swift.org/t/pitch-inline-convention-attributes-for-closures/42178

Reacting to state transitions
https://forums.swift.org/t/reacting-to-state-transitions/42176

[Pitch] Package Editor Commands
https://forums.swift.org/t/pitch-package-editor-commands/42224

https://www.swiftbysundell.com/podcast/86/

[Half-baked idea] Autoconform Codable for C structs
https://forums.swift.org/t/half-baked-idea-autoconform-codable-for-c-structs/42244

maybe final https://twitter.com/taylorswift13/status/1331389046065684483

Floating Point Interval
https://forums.swift.org/t/floating-point-interval/42263

https://forums.swift.org/t/speeding-up-strings-utf8-parsing/42270

“Actors are reference types, but why classes?”
https://forums.swift.org/t/actors-are-reference-types-but-why-classes/42281

https://blog.swiftpackageindex.com/posts/keeping-up-to-date-with-swift-packages

https://twitter.com/maxdesiatov/status/1332318551131230210

https://forums.swift.org/t/generalized-abstract-data-types-gadts/42298

Actor memory isolation for “global” state
https://forums.swift.org/t/actor-memory-isolation-for-global-state/42311

https://youtu.be/wbIwhv98ALg

https://twitter.com/morlhon/status/1332609373051478016

https://tclementdev.com/posts/what_went_wrong_with_the_libdispatch.html

I don’t think the libdispatch and docker items quality as Swift news.

Basic Swift ownership-y questions
https://forums.swift.org/t/basic-swift-ownership-y-questions/42340

https://aws.amazon.com/blogs/aws/new-use-mac-instances-to-build-test-macos-ios-ipados-tvos-and-watchos-apps/

SE-0291 (2nd review): Package Collections
https://forums.swift.org/t/se-0291-2nd-review-package-collections/42369

[Pitch] Rethrowing protocol conformances
https://forums.swift.org/t/pitch-rethrowing-protocol-conformances/42373

https://forums.swift.org/t/se0293-extend-property-wrappers-to-function-and-closure-parameters/42400

This is cute. Dependency diagram showing which in-flight Swift concurrency proposals depend on which other ones

https://twitter.com/catfish_man/status/1333936848150745089

https://forums.swift.org/t/concurrency-asyncsequence/42417

SE-0295: Codable synthesis for enums with associated values
https://forums.swift.org/t/se-0295-codable-synthesis-for-enums-with-associated-values/42408

[Pitch #2] Async/await
https://forums.swift.org/t/pitch-2-async-await/42420

[Concurrency] AsyncSequence
https://forums.swift.org/t/concurrency-asyncsequence/42417

SE-0294: Declaring executable targets in Package Manifests
https://forums.swift.org/t/se-0294-declaring-executable-targets-in-package-manifests/42404

https://techcrunch.com/2020/12/01/aws-announces-high-resource-lambda-functions-container-image-support-millisecond-billing/

Good morning Swift friends!
Do you ever mix up Swift dot releases or forget which release is shipping or in development?
Do you ever need to know which Swift shipped with which Xcode?
I know I do. So I made https://swiftversion.net.
I hope you find it useful!

https://twitter.com/jamesdempsey/status/1334158982798184448

Swift Platform Support
https://forums.swift.org/t/swift-platform-support/42455


Unable to generate component /module or service through cli

I'm submitting a...

[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
Current behavior
Getting following error when trying to generate component through cli
'Error: dryRunSink.commit(...).ignoreElements is not a function
dryRunSink.commit(...).ignoreElements is not a function'
Expected behavior
Should able to generate Component
The generator only not working if project generate though ngx-rocket, If i generate normal cli project its working perfectly fine. I am using cli 1.6.5.
I
Any advice or anyone having similar issues ?
Thanks in advance

@shojibur Do you still have issues, or was it related to your angular/cli version?

@sinedied Hi there sorry forgot to update here, it was Angular CLI issues it fixed on recent release.
Thanks


refactor: async routing

Added content-routing and peer-routing with the delegated modules with the new async versions.
I also refactored the test creators we have, as I am thinking on extracting them to a new module js-libp2p-test-utils, as they can be used across multiple repos

Per https://github.com/libp2p/js-libp2p/pull/472/files#r352196509 I also switched dht.put, dht.get and dht.getMany under contentRouting


Incorrect help text for commands "add", "update", "remove"

It doesn't describe option which allows to declare a name of the app, lib or dep for manipulations.
And addition options needed to specific commands like options for declaration of a programming language, build options an so on.
Actually the CLI syntax has two layers of commands and --help option (as other options) is context specific, i.e. prints a help text dependent on the command and subcommand but it is not described anywhere.
IMHO this principle should be described in the help text which prints antler-proj after run without options.
root@c1742fb0fdb3:/app# antler-proj add  --help
Add an app, dependency, library or test to your project.
Usage: antler-proj add [OPTIONS] [path] [SUBCOMMAND]
Positionals:
path TEXT                   This is the root path to create the project in.
Options:
-h,--help                   Print this help message and exit
-p TEXT                     This is the root path to create the project in.
Subcommands:
app                         Add a new app to your project.
lib                         Add a new library to your project.
dep                         Add a new dependency to the project.
root@c1742fb0fdb3:/app# antler-proj update --help
Update an app, dependency, library or test to your project.
Usage: antler-proj update [OPTIONS] [path] [SUBCOMMAND]
Positionals:
path TEXT                   This must be the path to the project.yml or the path containing it.
Options:
-h,--help                   Print this help message and exit
-p TEXT                     This must be the path to the project.yml or the path containing it.
Subcommands:
app                         Remove app from the project.
lib                         Remove lib from the project.
dep                         Remove a dependency from the project.
root@c1742fb0fdb3:/app# antler-proj remove --help
Add an app, dependency, library or test to your project.
Usage: antler-proj remove [OPTIONS] path [SUBCOMMAND]
Positionals:
path TEXT REQUIRED          This must be the path to the project.yml or the path containing it.
Options:
-h,--help                   Print this help message and exit
-p TEXT REQUIRED            This must be the path to the project.yml or the path containing it.
Subcommands:
app                         Remove app from the project.
lib                         Remove lib from the project.
dep                         Remove a dependency from the project.

@jolly-fellow what is this issue about?
Is it about changing description of -p for each of the command: antler-proj remove, antler-proj add, antler-proj update from:
This is the root path to create the project in.
to
This must be the path to the project.yml or the directory containing it.?

@jolly-fellow what is this issue about? Is it about changing description of -p for each of the command: antler-proj remove, antler-proj add, antler-proj update from: This is the root path to create the project in. to This must be the path to the project.yml or the directory containing it.?

When we start ./antler-proj without parameters we see this text:
$ ./antler-proj
Please run one of the subcommands available. Use --help to see what is available.

IMHO it is not enough for a user to understand what to do next because he don't know what is a subcommand, which subcommands are available and how to use --help.
IMHO this text should print the syntax of the CLI and basic rules how to use it i.e. the text which printed with global --help option. Actually may be it make sense to remove this global option at all. I don't see any reason to hide the following text from the user and force him to run the program twice to get this text.
And I'd prefer to use command word instead of subcommand because subcommand implies the presence of some command.
$ ./antler-proj --help
Antelope Smart Contract Project Management Tool
Usage: antler-proj [OPTIONS] [SUBCOMMAND]

Options:
  -h,--help                   Print this help message and exit
  -V,--version                get the version of antler-proj

Subcommands:
  validate                    Validate a project.
  update                      Update an app, dependency, library or test to your project.
  remove                      Add an app, dependency, library or test to your project.
  populate                    Populate a project's dependencies and CMake.
  init                        Initialize a new project creating the directory tree and a `project.yaml` file.
  build                       Build a project.
  add                         Add an app, dependency, library or test to your project.

Please run one of the subcommands with --help option to get detailed help for the subcommand.

I have added PR for displaying help when someone executes antler-proj without arguments.
As for subcommand vs command - this needs to be discussed.
I treat antler-proj as command and i.e. init or add as subcommands, so existing version LGTM.

I have added PR for displaying help when someone executes antler-proj without arguments. As for subcommand vs command - this needs to be discussed. I treat antler-proj as command and i.e. init or add as subcommands, so existing version LGTM.

antler-proj is a program, an executable file, it is an entity from completely different field as command line arguments of CLI of the antler-proj program.

I have added PR for displaying help when someone executes antler-proj without arguments. As for subcommand vs command - this needs to be discussed. I treat antler-proj as command and i.e. init or add as subcommands, so existing version LGTM.

antler-proj is a program, an executable file, it is an entity from completely different field as command line arguments of CLI of the antler-proj program.

I think both naming conventions (your proposed and the existing one) make sense. In that case I wouldn't change it.
GPT "thinks" the same:

Quick feedback on command vs subcommand: since the command is antler-proj, it makes sense that add, init, etc is a subcommand.
We (ENF) use CLI11 in other tools and I don't think we should deviate here if we haven't in leap or CDT.

Maybe this should be closed as a duplicate of #13?

I think it's acceptable as is. But I would be on board for changing this a call missing a subcommand prints the simple help.

Maybe this should be closed as a duplicate of #13?

Not yet, in the PR related: https://github.com/AntelopeIO/antler-proj/pull/52 I'm printing --help when no arguments are provided

Maybe this should be closed as a duplicate of #13?

Not yet, in the PR related: #52 I'm printing --help when no arguments are provided

Have you seen: app.require_subcommand(); ? It may do what we want.


Add Array.prototype.flat polyfill

This adds the flat method for Arrays.
Resolves #4294

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

I think I agree to everything, but I could use 2 small clarifications.

All contributions to the polyfill service are made under the MIT licence

By agreeing to this, am I retroactively relicensing all of my other contributions to this repository? I think the answer is “no”.
Do I need to license my work to myself first, and then submit it to this repository? I think the answer is “that’s up to me”, and so if I wish to CC0 license my work, I need to first do that in config.json, similar to the URL polyfill.

I apologize for being sheepish with licenses. It’s one of the reasons I’ve always used CC0.

Thanks for the pull-request @jonathantneal
This feature has been implemented in the polyfill-library repo -- https://github.com/Financial-Times/polyfill-library/pull/93


ci: fix lint.

Use source file to prevent requiring build before linting.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Error retrieving pre-indexed documentation.

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows 11
- Continue: latest release
- IDE: VS Code
- Model: Codestral for both main chat and autocompletions
- Embeddings: voyage-code-2 with my own API key

Description
When I type @React or type @docs and select any of the default documentation sites I get the following error, and no context is inserted into the prompts. When I use a custom documentation site that I added myself it works fine.
Error getting context items from docs: Error: No body returned when downloading from S3 bucket
To reproduce
No response
Log output
No response

Plus 1 to this issue. We've seen this on a build in Windows.

I also encountered this problem

I encountered this as well

OS: Windows 10
Continue: latest release  (v0.8.40)
IDE: VS Code
Model: Ollama - llama3 for main chat

Noticed that there was a request to continue-indexed-docs.s3.us-west-1.amazonaws.com:443 when I tried to retrieve the pre-indexed doc and then I got the error Error getting context items from docs: Error: No body returned when downloading from S3 bucket

facing the same issue on:
continue version: v0.8.40
VSCODE Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22621

at least provide an option to remove all these pre-built docs. that why we can add them ourselves.

facing the same issue on:
continue version: v0.8.40
VSCODE Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22621

at least provide an option to remove all of these pre-built docs. that why we can add them ourselves.

I believe this has since been resolved—there was a difference in naming scheme that pointed to a non-existent bucket.
Let me know if there's something else going on as well. I don't want to close this issue yet as I think there's a chance that something else is necessary

Continue (from VSCode marketplace), same issue.
Continue: v0.9.182 (pre-release)
VSCode: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:08:12.169Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.5.0-41-generic

Some specific docs can't be retrieved. I've encountered it with Continue several times, and right now with one of the both: Pytorch or Transformers. I don't know if the issue is persistant or temporary as I just started using Continue 2 days ago :D

Same here, getting theis error: Error getting context items from docs: Error: No body returned when downloading from S3 bucket  . Even on the continue.dev pre-define  url

I am getting this error when using @docs. I assume the LLM is completely hallucinating its response.

Continue: v0.9.214 (pre-release) Version: 1.94.0 (system setup) Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511 Datum: 2024-10-02T13:08:12.626Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: <IP_ADDRESS>-electron.0 Betriebssystem: Windows_NT x64 10.0.22631
Only happens with the "C# Language Reference" for me. Might be related to the # in the title?


hyperscan: add configuration docs

Signed-off-by: Xie Zhihao<EMAIL_ADDRESS>Commit Message: hyperscan: add configuration docs
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: Yes, added in configuration reference
Release Notes: N/A
Platform Specific Features: N/A

/retest

Looks like it cannot be retested. It fails on an example of local ratelimit, which is nothing to do with the PR.


Update EF Code First CTP 5 to EF 4.1 RC

Now that EF 4.1 RC is released, update the project to use it instead of the CTP.

This was completed in commit daaafb15bc37313a34526fb326235723c4e05ef2


OpenGL - Better Extension Handling

The WebGL backend has a nice mechanism for gradually opting into extensions, and reporting to the user when they aren't supported.
The OpenGL backend does no such thing, and uses an arbitrary GL version.
What I'd like to do here is 1) find the minimum GL version that supports all of the features I want to use (possibly via extensions), and 2), what is the list of extensions required and which ones of them can be made optional.  I might just say that Gl 4.0 is the cutoff to keep this more manageable.
After that, we need a graceful failure path for when the required functionality is not available.
Ideally there should also be a way to automatically insert extensions and maybe also the version string into shader sources.

Glad is now generated per-project at build time as of 84f3bfcde422d7be9f7f49893736e1bc4bffc0ad, so we'll need to regenerate it when the required extensions change.


debug message for indexing time per series

Hi there,
Thanks for contributing.
What is the use case for this?
Adding debug statements to parse_series is generally not a good idea as that would create potentially thousands/millions of debug messages, making debug log unreadable and adding a lot of overhead to series parsing when debug logging is enabled.

hi parnos,
It is debug message to identify which series consume a lot of indexing time.  The problem that found is some serie has a lot of field (more than 100k) and cause slow indexing time.

So this is a change for testing purposes. In that case I suggest the webapp be run locally/on dev machine. This change is not appropriate in general for reasons above so it should not be in committed code.


Add University of Oxford

Institution/School Name
University of Oxford
Instiution/School Website
http://www.ox.ac.uk/
Email Users
Please place an x between the square brackets if yes

[ ] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[x] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[x] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

Hi,
Unfortunately we cannot accept domains that are purely for alumni.


CCDB GE/035 - Section <IP_ADDRESS>.3

Para 468
Comment:
"… to deterministically generate the RSA key pair":  For this to work also randomness involved with Miller-Rabin-Tests must be fixed - which is perhaps not always possible without deep and possibly prohibitive intervention into the implementation?
Proposal:
Priority: 1

@jfisherbah can you please take a look at this?

Para 468 is for random provable primes which does not relate to Miller-Rabin testing; that is part of random probable primes which is referenced in Para 470.
For probable primes, Miller-Rabin requires random numbers but this is used for verification of the primes. This won't affect the value of the actual key pair that is output. The implementation should be able to generate a deterministic key pair by fixing the seed value for only the random bit generator that is used to generate the primes.
If the implementation does not allow an arbitrary random seed to be specified (and if there is no interface to output the seed that was used to generate a given key pair), the implementation just generates 25 key pairs and the checks outlined by the bulleted list are used to provide some baseline level of confidence that the key pairs are generated correctly. A code/design review would be needed in this case to determine with certainty that the implementation is correct. That is not currently part of the test activity and the TC/schemes would need to determine if it should be.

I doubt it would be useful to mention Miller-Rabin testing explicitly in the description.
As the answer is already covered 2 paragraphs later, I do not see anything to change unless we can see some way to better call out the different prime sections (but I don't see how off hand).

Will be closed based on agreement.


Pattern matching to some format of files, mp3, exe, and so on

Add some internal pattern script to parse bytes in a certain format pattern？
Add some patterns to recognize blocks in the matched pattern.
Example:
A mp3 file has a id3 tag, id3 tag has some blocks, can we highlight those blocks and highlight the whole tag block?

This feature seems quite out of scope for hexyl. Beyond that, the current implementation details of hexyl would make this infeasible. Files are processed and printed line by line, with the size of the line being arbitrary in length. There's no way for hexyl to "look ahead", recognize some structure, and highlight the line it's processing.
The only version of this that would be somewhat feasible would be to allow custom styling of specific bytes that carry some meaning to the user. But anything more than single-byte styling is impossible.


Fix issue 32 :: Properly parse installed vagrant plugins

This PR addresses the bug described in ISSUE #32.  The existing plugin provider does not properly parse the installed vagrant plugins.  I am still unsure if the parsing code should be concerned with properly parsing the system vagrant plugins such as:
vagrant-share (1.1.4, system)

If so, we probably need to include a gsub or another split(',') call before calling @current_resource.installed_version setter.
This PR is an alternative to https://github.com/jtimberman/vagrant-cookbook/pull/40.  I believe this PR#40 will not properly parse output (it will only remove parentheses)

This feature is implemented by merged PR #51. Closing.


Configuration File in Connector

Hi,
I have developed a custom connector that it is working fine with an url that is static in the code. My url looks like this:
http://server/ms/asp/taskGenerator?taskId=getSessionPBI&server=server1
Now I have a requirement that my users want to either have a configuration file or a window before the login window, where they can change the &server Parameter.
Is there any way to achieve this?
Regards

You can pass in arguments as parameters into your function. You have to define your entry point method as having a parameter.
My.Provider.DatabaseImpl = (url as text) =>
Then you can use url in your function body. You can use type functions and meta tags to adjust the way the field is shown in Power BI, but I have nothing I can share at this moment.
It would be useful to update the documentation to explain how this works.

hey!
You could argue that this is already documented over here
but if you're looking for a more concise sample, then this will probably help you. This is a free open source with a publicly available environment so you can test it and use it as a playground for getting to know custom connectors.

@migueesc123 I was looking for that sample for half an hour before I gave up. I probably missed the path I had to follow from the documentation (and to me it wasn't clear that file hold the solution here). Maybe we could add some extra guidance on what files does what?

Hey ! @PatrickHofman  you mean for the function documentation or the WooCommerce connector? either way, send your suggestions via a pull request. I'm sure that the MSFT will look at it if you send it to them and you I can guarantee that I'm always on top of any notifications from my repos.

I meant the function documentation. Will check where we can improve.


conversion to base

Hi @CarliJoy
Is the conversion to base units in the database necessary for Pint etc, or could it be made optional?
In some cases I'd like for users to be able to enter data in SI or US units and then have them displayed in update or detail views etc, but using the same units rather than automatic conversion to base.
Thanks

Its impossible. You would need to store the information which unit was used somewhere. That is not easily possible with the given django model as you would need two database fields that represent one django model field.
Something I explained already in https://github.com/CarliJoy/django-pint/issues/38#issuecomment-1137018967


DynaLearn's nomex debug methods

Only DynaLearn's files have been edited**

I think there is an issue in dlDemoScript.m because the line for s is commented https://github.com/HNXJ/DynaSim/blob/b9bc9da00bd6e804cc5c03751cdc1fd7aec60115/demos/dlDemoScript.m#L15 and then used for creating the model m https://github.com/HNXJ/DynaSim/blob/b9bc9da00bd6e804cc5c03751cdc1fd7aec60115/demos/dlDemoScript.m#L21
@HNXJ, can you fix this?

Dear Salva;
The script "dlDemoScript.m" is only for example, to run it just uncomment
one of those lines. I'll edit and re-pull it soon.
On Sat, May 28, 2022 at 12:07 PM Salva Ardid @.***>
wrote:

I think there is an issue in dlDemoScript.m because the line for s is
commented
https://github.com/HNXJ/DynaSim/blob/b9bc9da00bd6e804cc5c03751cdc1fd7aec60115/demos/dlDemoScript.m#L15
and then used for creating the model m
https://github.com/HNXJ/DynaSim/blob/b9bc9da00bd6e804cc5c03751cdc1fd7aec60115/demos/dlDemoScript.m#L21
@HNXJ https://github.com/HNXJ, can you fix this?
—
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/pull/671#issuecomment-1140196294, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOJR47LUZXSPSXO2OYOH25LVMHEL7ANCNFSM5XEP5DQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The script "dlDemoScript.m" is only for example, to run it just uncomment one of those lines. I'll edit and re-pull it soon.

I know, but it's better to have an example that works. I'd have done myself but the pull request didn't allow me to edit the file content easily


python3Packages.mkPythonEditablePackage: init

Description of changes
When developing Python packages it's common to install packages in editable mode.
Like mkPythonMetaPackage this function exists to create an otherwise empty package, but also containing a pointer to an impure location outside the Nix store that can be changed without rebuilding.
The editable root is passed as a string. Normally .pth files contains absolute paths to the mutable location. This isn't always ergonomic with Nix, so I have decided to expand environment variables at runtime.
This means that a shell hook setting up something like a $REPO_ROOT variable can be used as the relative package root.
Note that overriding packages deeper in the dependency graph can work, but it's not the primary usecase and overriding existing packages can make others break in unexpected ways.
{ pkgs ? import <nixpkgs> { } }:

let
  myPython = pkgs.python.override {
    self = myPython;
    packageOverrides = pyfinal: pyprev: {
      # An editable package with a script that loads our mutable location
      my-editable = pyfinal.mkPythonEditablePackage {
        pname = "my-editable";
        version = "0.1.0";
        root = "$REPO_ROOT/src"; # Use environment variable expansion at runtime
        # Inject a script (other PEP-621 entrypoints are also accepted)
        scripts = {
          my-script = "my_editable.main:main";
        };
      };
    };
  };

  pythonEnv =  testPython.withPackages (ps: [ ps.my-editable ]);

in pkgs.mkShell {
  packages = [ pythonEnv ];
}

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Unless someone gives me a good reason not to I intend to self-merge this sooner rather than later.

I'm not sure if adding more buildPythonPackage friends is the direction we should go.
Can we take an approach that injects into existing builders, maybe editableInstallHook?

I'm not sure if adding more buildPythonPackage friends is the direction we should go.
Can we take an approach that injects into existing builders, maybe editableInstallHook?

No. We need to create package metadata and pointer files in the store as regular Python packages, and these should be built without sources.
These metadata files needs to go into the venv like created by withPackages.
There is no reasonable place to set up a hook to get editable behaviour for development shells.

I could conjure up an implementation of a hook-based editable builder, but it's usage would have to look like:
buildPythonPackage {
  pname = "my-editable";
  version = "0.1.0";

  # Assuming that you'd want to use pyproject.toml from current directory, don't know if there is a more elegant way to express this
  # If you'd forget to filter your sources the point of the editable is kinda moot since you'd rebuild all the time anyway.
  src = lib.filesets.toSource {
    root = ./.;
    fileset = [ ./pyproject.toml ];
  };

  pyproject = true;

  editableRoot = "$REPO_ROOT";

  nativeBuildInputs = [
    editablePatchHook # Patches pyproject.toml with the editable root build and forces hatchling to be the build-system
  ];
}

That's a lot of stuff to get right every time for every user. I prefer a function abstraction based approach in this instance, even though I generally agree that we should move towards hooks.

Giving a 24 hour notice to merge.

Is the primary concern the handling of src?
A hook-based interface looks good, but I agree that it could be confusing to the end user.
I'm leaning towards having a simple function since it's for external use.

Is the primary concern the handling of src?

That's one of the main two concerns, but also handling of editableRoot. It's very appealing to go for editableRoot = ./. or something similar, which will end up pointing to a store path, and not your editable location.
By making it a hook it's not possible to enforce the type of editableRoot at eval time.
We could of course capture this at build time and error out there instead, but I find the user experience of that terrible compared to erroring out at eval time.


MQTT SSL EXAMPLE (IDFGH-11737)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.0
Espressif SoC revision.
esp32-wroom-32e
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
custom board | esp32devkitc
Power Supply used.
External 5V
What is the expected behavior?
The expected behavior is the one expected on the ssl example
What is the actual behavior?
It returns error
E (15785) esp-tls: [sock=54] select() timeout
E (15785) esp-tls: Failed to open new connection
E (15785) transport_base: Failed to open a new connection
E (15785) mqtt_client: Error transport connect
Steps to reproduce.

Step
Step
Step
...
use ssl example over examples/protocols/mqtt/ssl

Debug Logs.
No response
More Information.
Over tcp works well, cert is accepted tried different brokers and accounts
I did see some issues with the same description but solution didnt work for me

@edg2411 It seems the TCP SYN packet no response and TCP connection failed. Could you please check the port whether is open in server side?

it is at least with my broker i can connect and talk to with mqtt ssl

@edg2411 Could you share the broker url and port? And also share the mqtt/ssl example that mqtt client configuration.

i made the example work.. now im trying to get it work with my broker.. im using an account from cloudmqtt i think im not allow to connect through ssl with that account..

我使用範例成功的更換成我的mqtt主機及自簽憑證。
但移植到我的專案時卻得到了下面的錯誤。
我不知道我漏了甚麼。
I (6041) wifi:AP's beacon interval = 102400 us, DTIM period = 1
W (7045) mesh_mqtt: mqtt_app_start()
_mqttHost ... mqtts://mqtt.aiotsys.com
I (7056) mesh_mqtt: [APP] Free memory: 2029212 bytes
W (7058) mqtt_client: Publish: Losing qos0 data when client not connected
W (7061) Mesh-Lite-Message: send_message_to_parent
I (7072) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (7076) bridge_wifi: Connected with IP Address:<IP_ADDRESS>
I (7082) vendor_ie: RTC store: ssid:MikroTik-8A6FB4; bssid:00:00:00:00:00:00 crc:2874121999
I (7101) mesh_mqtt: Other event id:7
E (7133) esp-tls-mbedtls: mbedtls_x509_crt_parse returned -0x1180
E (7133) esp-tls-mbedtls: Failed to set client configurations, returned [0x8015] (ESP_ERR_MBEDTLS_X509_CRT_PARSE_FAILED)
E (7140) esp-tls: create_ssl_handle failed
E (7145) esp-tls: Failed to open new connection
E (7150) transport_base: Failed to open a new connection
E (7158) mqtt_client: Error transport connect
I (7162) mesh_mqtt: MQTT_EVENT_ERROR

環境
esp32-s2-devkitm-1-v1
IDF v5.0.2
idf_component.yml
dependencies:
idf: ">=5.0"
mesh_lite:
version: ""
espressif/esp_modem:
version: 0.
espressif/esp_modem_usb_dte:
version: 1.*
public: true
rules:
if: "target in [esp32s2, esp32s3]"
usb_device:
path: components/usb/usb_device
git: https://github.com/espressif/esp-iot-bridge.git
rules:
if: "target in [esp32s2, esp32s3]"
espressif/led_strip: "^2.0.0"
lib
version
libesp_mesh_lite_esp32.a :473e10d
libesp_mesh_lite_esp32c2.a :473e10d
libesp_mesh_lite_esp32c3.a :473e10d
libesp_mesh_lite_esp32c6.a :473e10d
libesp_mesh_lite_esp32s2.a :473e10d
libesp_mesh_lite_esp32s3.a :473e10d
sdkconfig
sdkconfig.zip
我的 mqtt_main
mqtt_main.zip

我使用範例成功的更換成我的mqtt主機及自簽憑證。 但移植到我的專案時卻得到了下面的錯誤。 我已經盡可能地去比對與範例的差異，但我找不到漏了甚麼。 或許最大的差異是我的專案是透過mseh-lite建立連線。 因為我將範例的app_main.c複製到我的專案中也得到相同的錯誤。
I (6041) wifi:AP's beacon interval = 102400 us, DTIM period = 1
W (7045) mesh_mqtt: mqtt_app_start()
_mqttHost ... mqtts://mqtt.aiotsys.com
I (7056) mesh_mqtt: [APP] Free memory: 2029212 bytes
W (7058) mqtt_client: Publish: Losing qos0 data when client not connected
W (7061) Mesh-Lite-Message: send_message_to_parent
I (7072) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (7076) bridge_wifi: Connected with IP Address:<IP_ADDRESS>
I (7082) vendor_ie: RTC store: ssid:MikroTik-8A6FB4; bssid:00:00:00:00:00:00 crc:2874121999
I (7101) mesh_mqtt: Other event id:7
E (7133) esp-tls-mbedtls: mbedtls_x509_crt_parse returned -0x1180
E (7133) esp-tls-mbedtls: Failed to set client configurations, returned [0x8015] (ESP_ERR_MBEDTLS_X509_CRT_PARSE_FAILED)
E (7140) esp-tls: create_ssl_handle failed
E (7145) esp-tls: Failed to open new connection
E (7150) transport_base: Failed to open a new connection
E (7158) mqtt_client: Error transport connect
I (7162) mesh_mqtt: MQTT_EVENT_ERROR

環境
esp32-s2-devkitm-1-v1 IDF v5.0.2
idf_component.yml dependencies: idf: ">=5.0" mesh_lite: version: "" espressif/esp_modem: version: 0. espressif/esp_modem_usb_dte: version: 1.* public: true rules:
if: "target in [esp32s2, esp32s3]" usb_device: path: components/usb/usb_device git: https://github.com/espressif/esp-iot-bridge.git rules: if: "target in [esp32s2, esp32s3]" espressif/led_strip: "^2.0.0" lib version libesp_mesh_lite_esp32.a :473e10d libesp_mesh_lite_esp32c2.a :473e10d libesp_mesh_lite_esp32c3.a :473e10d libesp_mesh_lite_esp32c6.a :473e10d libesp_mesh_lite_esp32s2.a :473e10d libesp_mesh_lite_esp32s3.a :473e10d
sdkconfig
sdkconfig.zip
我的 mqtt_main
mqtt_main.zip

0x1180 means MBEDTLS_ERR_PEM_ALLOC_FAILED, it seems the internal memory is not enough to malloc buffer for pem. Could you please print the internal memory szie and you can add some debug.

i made the example work.. now im trying to get it work with my broker.. im using an account from cloudmqtt i think im not allow to connect through ssl with that account..

Do the account is for mqtt? Such as mqtt username and password?

yes and i add it to the code.. i needed to do that even with tcp and it worked.. the cert is the same as the one in the example i dont understand much about that topic

Sorry that i not get your point. Colud you tell me about the problems you are currently encountering and what topic you want to know?

@edg2411 Any update for this issue? I am closing this issue. If you have, feel free to open again. Thanks.


How to use test_v16_charge_point.py?

I am new to ocpp and have a question: what is the idea of this script? Is this used to test a charge point? If so, could someone provide an example of how to use it?

They are just unit tests that are run to ensure changes don't break the code. They can be used as a reference for using the library along with the examples in the examples folder.


jsx-no-bind bug?

class Test extends Component {
  handleClick = () => {}

  render() {
    return (

 {/* <-- This gets flagged */}

 {/* <-- This doesn't get flagged */}

    );
  }
}

I understand that this.handleClick.bind(this) is redundant as the handleClick is already bound, but the rule isn't behaving the way I expected. It seems to be ignoring any bind with arguments past the first one. I expect the rule to flag both of above statements.
Version info:
    "tslint": "5.12.1",
    "typescript": "3.2.2",

Confirmed.

The rule explicitly allows .bind usage which is not simply .bind(this), because it might be necessary to use the additional arguments (which make .bind no longer functionally equivalent to () =>)

Perhaps a quick documentation change?

jsx-no-bind (since v2.6.0)

Forbids function binding in JSX attributes. This has the same intent as jsx-no-lambda in helping you avoid excessive re-renders.
Note that this currently only does a simple syntactic check, not a semantic one (it doesn't use the type checker). So it may have some
rare false positives if you define your own .bind function and supply this as a parameter.

// Good

// Bad

Rule options: none

It's not a rare false positive, the rule is functioning as intended. There is a semantic difference between .bind(this) and .bind(this, whatever)

While I know that tslint-react doesn't claim to be equivalent to eslint-plugin-react, there is a pretty good justification for not using bind, even if the multiple argument version is used, and in fact the eslint version of jsx-no-bind does check for this case:
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md


Document how to run this image on GKE

We should document it like this: https://github.com/GoogleCloudPlatform/nodejs-docker#container-engine--other-docker-hosts


Update nuget package

I can see from source code that .NET Core standard is added, but I guess it isn't published to nuget.
Are you planning to publish it ?

Yes, in next version that will be added in Nuget

Can you share approximately when you are going to update Nuget ?
Thanks.

Tomorrow if possible

Already did. Version 0.7.5 supports .NET core


Using match force causes provisioning profile to be created with a new name

New Issue Checklist

[ ] Updated fastlane to the latest version (2.42.0)
[X] I have read the Contribution Guidelines

Issue Description
When calling match from inside a fastfile and forcing a new provisioning profile to be created, it seems that it is no longer using the old name, but instead creating a new provisioning profile with what appears to be time since epoch appended to the name, this seems to be causing a ton of bloat to the dev portal.

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Relevant lines of log outputted here (taken from out Bamboo server):
ERROR [2017-07-24 13:16:56.43]: The name 'match InHouse BUNDLE_ID' is already taken, using another one.
WARN [2017-07-24 13:16:56.43]: Creating new provisioning profile for 'BUNDLE_ID' with name 'match InHouse BUNDLE_ID<PHONE_NUMBER>' for 'ios' platform
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.1.10

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rvm/gems/ruby-2.1.10/bin/fastlane

Host
Mac OS X 10.11.6 (15G1108)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.1.10/lib

OpenSSL Version
OpenSSL 1.0.2i  22 Sep 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode_8_2_1.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.47.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.13.7

slack-notifier
1.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

faraday-cookie_jar
0.0.6

fastimage
2.1.0

public_suffix
2.0.5

addressable
2.5.1

mime-types-data
3.2016.0521

mime-types
3.1

google-api-client
0.12.0

mini_magick
4.5.1

multi_json
1.12.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

json
2.1.0

excon
0.57.1

rubyzip
1.2.1

plist
3.3.0

faraday
0.12.2

http-cookie
1.0.3

unf
0.1.4

domain_name
0.5.20170404

faraday_middleware
<IP_ADDRESS>

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

terminal-table
1.8.0

unicode-display_width
1.3.0

generated on: 2017-07-24

Seems like this was a problem with some custom code in portal_client that I wrote


"REST and OData API Documentation" - system query options and OData service definition

In the About OData APIs section there's a table showing "what you can query", with the first column headed "Query". Might it be worth being more accurate here and using "System Query Option" instead, which is what they are? In this context also, $count is both a system query option, and also used as suffix (also in OData V2).
In addition, in the "OData Service Types and Documentation Requirements" section, the term "OData service" is used to refer to both producers and consumers of OData, err, services. "OData service" is a well-known term and I would suggest that it is confusing to refer to the consumer of an OData service, as an OData service. Perhaps something like "OData producers & consumers and documentation requirements" as a heading might help, with a similar modification for the content of this section?

We have merged the changes and they are now available: https://help.sap.com/docs/SNG_4_APIDOC/53e39c8b7c924c28a2575be50bc09786/d8acc942e39d44af9231260bbb6a6161.html?version=PUBLIC


Support to initiate PAR request and returning PAR response

Hi Team,
For the German Wallet, we need to use AusweisApp SDK (https://www.ausweisapp.bund.de/sdk/) to use eID function in order to verify the German Residence permits.
We need the PAR response, having the request uri specifically, in order to continue the verification.
Currently, the issuance is done in the doIssue method  in DefaultOpenId4VciManager.kt where the whole issuance flow from PAR to getting credentials happen. While authorize method in IssuerAuthorization.kt has the prepareAuthorizationRequest() call.
Ofcourse, then the continuation of the issuance after the card verification, which is to authorize with authorization code and then continue with getting credentials.
We tried the following code (Just sharing as a reference)
   override suspend fun performPushAuthorizationRequest(docType: String): PARResponse {
        offer = offerCreator.createOffer(docType)
        issuer = issuerCreator.createIssuer(offer)
        val parResponse = issuerAuthorization.performPushAuthorizationRequest(issuer)
        pkceVerifier = PKCEVerifier(
            codeVerifier = parResponse.pkceVerifier.codeVerifier,
            codeVerifierMethod = parResponse.pkceVerifier.codeVerifierMethod
        )
        credentialConfigurationIdentifierList = parResponse.identifiersSentAsAuthDetails
        return PARResponse(
            authorizationCodeURL = parResponse.authorizationCodeURL.value,
            state = parResponse.state
        )
    }

    override suspend fun issueDocument(
        authorizationCode: String,
        serverState: String,
        redirectUrl: URL,
        dpopNonce: String,
        executor: Executor?,
        onIssueEvent: OpenId4VciManager.OnIssueEvent
    ) {
        launch(executor, onIssueEvent) { coroutineScope, listener ->

            try {
                var authorizedRequest = issuerAuthorization.authorizeWithAuthorizationCode(
                    issuer = issuer,
                    authRequest = AuthorizationRequestPrepared(
                        authorizationCodeURL = HttpsUrl.invoke(redirectUrl.toString()).getOrThrow(),
                        pkceVerifier = pkceVerifier,
                        state = serverState,
                        identifiersSentAsAuthDetails = credentialConfigurationIdentifierList,
                        dpopNonce = Nonce(dpopNonce)
                    ),
                    authorizationCode = authorizationCode,
                    dpopNonce = dpopNonce
                )

                listener(IssueEvent.Started(offer.offeredDocuments.size))
                val issuedDocumentIds = mutableListOf<DocumentId>()
                val requestMap = offer.offeredDocuments.associateBy { offeredDocument ->
                    documentManager.createDocument(offeredDocument, config.useStrongBoxIfSupported)
                        .getOrThrow()
                }
                val request = SubmitRequest(config, issuer, authorizedRequest)
                val response = request.request(requestMap).also {
                    authorizedRequest = request.authorizedRequest
                }
                ProcessResponse(
                    documentManager = documentManager,
                    deferredContextCreator = DeferredContextCreator(issuer, authorizedRequest),
                    listener = listener,
                    issuedDocumentIds = issuedDocumentIds,
                    logger = logger
                ).use { it.process(response) }

                listener(IssueEvent.Finished(issuedDocumentIds))
            } catch (e: Throwable) {
                listener(failure(e))
                coroutineScope.cancel("issueDocument failed", e)
            }
        }
    }

While PARResponse (public) is:
data class PARResponse (
    val authorizationCodeURL: URL,
    val state: String,
)

I can also create a PR that can be reviewed.

Hi @daniel-idrees
Thank you for sharing the details and code reference.
If I understand correctly, you’re looking to obtain the request URI from the PAR response instead of opening the browser from the SDK. We’ll plan to adjust this in a future release to facilitate the process.
Please let me know if there’s anything further you’d need.


create safe description string

Coverage increased (+0.2%) to 89.163% when pulling 67141fff3c2842168909eb424e862efe2ebc921e on mbocek:step_with_same_name into 9c2a4404f7d38fe55884cdbb24f79f7f878ef082 on jbehavesupport:master.


Weasyprint not easily installing in windows

To generate a report as a pdf we are using weasyprint, but this module has shown it's downsides when trying to installing it on windows, there's not a way to do it only with pip.

We've decided to not use weasyprint, using dash instead.

Dash does not support the export of an serverless HTML file so we also need to have a Jinja2 template.


Update documentation to clarify start command options

Motivation
The existing README.md in snarkOS does not adequately specify the argument to be passed for the various command line options for the start command. This PR adds more verbiage to help developers understand exactly how they are meant to use the various options when starting a snarkOS node.
Test Plan
Can be verified directly by viewing the source of README.md, or by running snarkos start --help
Related PRs
None

Discussed offline with @iamalwaysuncomfortable. PR #2263 supersedes #2262

After reviewing #2263 , I realized the design deviates from the original intended design.
Reopening #2262.


Async Autorest

Attempt two, replace https://github.com/Azure/azure-sdk-for-python/pull/2085 which got too old.

(message created by the CI based on PR content)

Deprecated


The materialized view partition ttl property has being lost after restarting fe

create materialized view
CREATE MATERIALIZED VIEW mv_hive_order (dt, product_id, gmv)
PARTITION BY (str2date(dt, '%Y-%m-%d'))
DISTRIBUTED BY HASH(product_id)
REFRESH MANUAL
PROPERTIES (
"replicated_storage" = "true",
"partition_refresh_number" = "1",
"session.enable_spill" = "true",
"replication_num" = "1",
"session.query_timeout" = "3600",
"partition_ttl" = "2 DAY",
"storage_medium" = "HDD"
)
AS SELECT hive_order.dt, hive_order.product_id, sum(hive_order.price) AS gmv
FROM hive_hms_catalog.ods.hive_order

restart fe

show create materialized view
| mv_hive_order     | CREATE MATERIALIZED VIEW mv_hive_order (dt, product_id, gmv)
PARTITION BY (str2date(dt, '%Y-%m-%d'))
DISTRIBUTED BY HASH(product_id)
REFRESH MANUAL
PROPERTIES (
"replicated_storage" = "true",
"partition_refresh_number" = "1",
"session.enable_spill" = "true",
"replication_num" = "1",
"session.query_timeout" = "3600",
"storage_medium" = "HDD"
)
AS SELECT hive_order.dt, hive_order.product_id, sum(hive_order.price) AS gmv
FROM hive_hms_catalog.ods.hive_order
GROUP BY hive_order.dt, hive_order.product_id;

fix partition ttl lost url : https://github.com/StarRocks/starrocks/pull/51194
It was removed when calling the PropertyAnalyzer.analyzePartitionTTL method. Therefore, the properties need to be copied before calling the method and the copied object is used as a parameter. such code :
Map<String, String> props = new HashMap(properties);
Pair<String, PeriodDuration> ttlDuration = PropertyAnalyzer.analyzePartitionTTL(props);

@guanxianchun this is fixed as part of PR https://github.com/StarRocks/starrocks/pull/51028

It was removed when calling the PropertyAnalyzer.analyzePartitionTTL method:

@guanxianchun this is fixed as part of PR #51028 it seems your version does not have the fix.

I am using the latest code from branch 3.1, which already includes the bug fix code. This is a new issue that arose after using the analyzePartitionTTL method.
It was removed when calling the PropertyAnalyzer.analyzePartitionTTL method:
public static Pair<String, PeriodDuration> analyzePartitionTTL(Map<String, String> properties) {
if (properties != null && properties.containsKey(PROPERTIES_PARTITION_TTL)) {
String ttlStr = properties.get(PROPERTIES_PARTITION_TTL);
PeriodDuration duration;
try {
duration = TimeUtils.parseHumanReadablePeriodOrDuration(ttlStr);
} catch (NumberFormatException e) {
throw new SemanticException(String.format("illegal %s: %s", PROPERTIES_PARTITION_TTL, e.getMessage()));
}
properties.remove(PROPERTIES_PARTITION_TTL);
return Pair.create(ttlStr, duration);
}
return Pair.create(null, PeriodDuration.ZERO);
}
In the analyzePartitionTTL method, the PROPERTIES_PARTITION_TTL property was removed： properties.remove(PROPERTIES_PARTITION_TTL);


fast line collection kinda works with color feature

https://github.com/kushalkolar/fastplotlib/assets/9403332/de2679b3-8a9d-4ad4-b5b8-3dc3349699ec

This is no longer necessary after #214 and #215, but it might be useful in the future where a Graphic can have access to a slice of a buffer instead of an entire buffer.


React component's "All branches incompatible" (spurious?) only reported if instantiated

Flow version: 0.82.0 and later
Expected behavior

Errors in a function definition should always appear, whether used or not.
flow should report no errors with this function as input.

Actual behavior

Deleting the JSX block makes flow report everything is fine. Restoring the JSX block, which calls the function as a stateless React component, makes flow error, and point at the function definition, instead of at its usage.
flow reports an error that all branches are incompatible with the return type.

Link to Try-Flow

// @flow
import React, { type Node } from 'react';
function RenderCond({children}: {children: Array<[boolean, ?Node]>}): ?Node {
  for (const [bool, Component] of children) {                      // ^ ERROR
    if (bool) {
      return Component;
    }
  }
  return null;
}

// Try deleting this block:
<RenderCond>
  {[
    [false,
{'Comp 1'}
],
    [true,
{'Comp 2'}
],
    [true,
{'Comp 3'}
],
  ]}
</RenderCond>

The above produces the following error on flow versions after 0.81.0:
$ flow --show-all-branches
Error ┈┈┈┈ src/util/renderCond.js:3:71

All branches are incompatible:
 • Either null or undefined [1] is incompatible with null [2].
 • Or null or undefined [1] is incompatible with boolean [3].
 • Or null or undefined [1] is incompatible with number [4].
 • Or null or undefined [1] is incompatible with string [5].
 • Or inexact null or undefined [1] is incompatible with exact React.Element [6].
 • Or null or undefined [1] is incompatible with React.Portal [7].
 • Or property @@iterator is missing in null or undefined [1] but exists in $Iterable [8].

     src/util/renderCond.js
      1│ // @flow
      2│ import React, { type Node } from 'react';
 [1]  3│ function RenderCond({children}: {children: Array<[boolean, ?Node]>}): ?Node {
      4│   for (const [bool, Component] of children) {                      // ^ ERROR
      5│     if (bool) {
      6│       return Component;

     /private/tmp/flow/flowlib_2060946e/react.js
 [2] 14│   | null
 [3] 15│   | boolean
 [4] 16│   | number
 [5] 17│   | string
 [6] 18│   | React$Element<any>
 [7] 19│   | React$Portal
 [8] 20│   | Iterable<?React$Node>;

I believe Flow is correct here:
Without your usage in JSX, there's no way Flow could know your function is a React component.  It could just be a general purpose function that happens to deal with React components as its inputs/outputs, in which case there's nothing wrong with it.
However, if you want it to be a React component, it needs to follow React standards.  Which are that undefined is not a valid return type.  You should just be using Node, which covers everything React can render, including null.  By writing ?Node, you're making a union of Node | null | void (undefined).
Your Try Flow works if you replace all ?Node with Node.

@jamesisaac is spot on.


Add table giving a quick reference of collision probabilities?

I noticed the official ai nanoid also lacks this feature.  Maybe it belongs there, but I'm a .NET guy and I had found this package first. :)
I see there's an option to generate shorter nanoids (and increase collision probability).
I think it would be super handy if there was a table in the read me that showed two columns:  nanoid length and collision probability. Then a person could quickly glance at the table to judge how short of nanoids they could feasibly use for their use case.
The phrasing example in the ai nanoid doc is really nice:
"For there to be a one in a billion chance of duplication, 103 trillion version 4 IDs must be generated."
That's great if I expected to generate 103 trillion IDs.  But I only expect to generate a few billion in my lifetime, so I'd like shorter IDs.

Fixed in #14

thank you. v3.1.0 released.


[format] Upgrade java format to 1.15.0

Change-Id: I84800194e7919df2f8b2251188a44680d8075c4b
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #1727 (d59fd4f) into master (bb5073f) will decrease coverage by 1.59%.
The diff coverage is 70.89%.

@@             Coverage Diff              @@
##             master    #1727      +/-   ##
============================================
- Coverage     72.08%   70.49%   -1.60%
- Complexity     5126     5533     +407
============================================
  Files           473      525      +52
  Lines         21970    24602    +2632
  Branches       2351     2662     +311
============================================
+ Hits          15838    17344    +1506
- Misses         4925     5934    +1009
- Partials       1207     1324     +117

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
8.33% <0.00%> (-0.50%)
:arrow_down:

... and 405 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d619d27...d59fd4f. Read the comment docs.


chore(deps): update common-dev-assets digest to 4582204

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
df713db -> 4582204

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

GitHub release
v5.1.0

Your semantic-release bot :package::rocket:


Question about "patch_size"

Thanks for your work. I have some questions about the patch size of patch embedding when using CNN and Transformer as the encoder.
In the section 3.2 of the paper, it mentions that patch embedding is applied to 1x1 patches extracted from the CNN feature maps  instead of from raw image when using CNN-Tranformer hybrid as the encoder.
From my understanding, regardless of the height and width of the feature map extracted from CNN, the patch embedding will be the nn.Conv2d with kernel_size=1 and stride=1.
Here is the code.
if config.patches.get("grid") is not None:   # ResNet
            grid_size = config.patches["grid"]
            patch_size = (img_size[0] // 16 // grid_size[0], img_size[1] // 16 // grid_size[1])
            patch_size_real = (patch_size[0] * 16, patch_size[1] * 16)
            n_patches = (img_size[0] // patch_size_real[0]) * (img_size[1] // patch_size_real[1])
            self.hybrid = True
        else:
            patch_size = _pair(config.patches["size"])
            n_patches = (img_size[0] // patch_size[0]) * (img_size[1] // patch_size[1])
            self.hybrid = False

        if self.hybrid:
            self.hybrid_model = ResNetV2(block_units=config.resnet.num_layers, width_factor=config.resnet.width_factor)
            in_channels = self.hybrid_model.width * 16
        self.patch_embeddings = Conv2d(in_channels=in_channels,
                                       out_channels=config.hidden_size,
                                       kernel_size=patch_size,
                                       stride=patch_size)

When img_size=512, and configurations in get_r50_b16_config is applied, the outputs of patch_embedding will be a tensor which shape is (B, 1024, 16, 16). The height and width is 1/32, not 1/16 of the original image size.
So you will need total 5 times of upsampling operations instead of 4 times, which is different from your implementation.
Shouldn't the kernel_size and stride be 1 when using CNN-Tranformer as the encoder?
I would be very grateful for letting me know if it is my misunderstanding.

I meet the same question. According to the paper,  when img_size = 224, the patch_size=224 // 16 // 16 = 0.

In train.py, the grid_size is reset. So, when img_size = 224, the grid_size is 224//116=14, and the patch_size=224//14//16 = 1.
    if args.vit_name.find('R50') != -1:         config_vit.patches.grid = (int(args.img_size / args.vit_patches_size), int(args.img_size / args.vit_patches_size))


Major Issue in 24.6.13

Description
Bugs:

User and Organisation Icons from the Repo path are missing, just names are being shown.
File History color is gone by most recent update.
No profile icons/pictures of other users are shown.

See the image :

How to replicate the issue + URL

https://github.com/refined-github/refined-github
https://github.com/offensive-vk/UntilEverything/

Extension version
<IP_ADDRESS>1
Browser(s) used
Brave Official Build

Thank you for the report. This was resolved in 24.6.14, we just need to wait for it to become available on Chrome

So it hasn't published on chrome web store yet?

File History color is indeed missing on <IP_ADDRESS>1
Will this feature be restored in V24.6.14 @fregante?

24.6.14 is out on Chrome and Firefox. Safari will follow soon.

Everything is restored back to normal with new latest update.
Thanks @fregante 🙌


[BUG] - Error Message Parse error: Unexpected "@@row_coun"

Hi There,
I am unable use the command @@row_count using the extension.
I get the error message Parse error: Unexpected "@@row_coun" at line 6 column 8.
Here is a snippet of the code I am using. This code works perfectly on the bigquery console itself
select     count(1) from     ..; select @@row_count;
This is true when using any of the System variables reference. For example the below code also throws an error
select     count(1) from        ..; select @@current_job_id
ERROR : Parse error: Unexpected "@@current_" at line 6 column 8

I didn't even know this existed 🤔
System variables reference

@prernaprakash
Released as v1.21.4. Please try it.


Themes doesnt work with ISPConfig-3.1

Hi, Would it be possible to get this theme updated for ISPConfig 3.1

Yes. Would you like to start doing this?
ISPConfig 3.1 uses Bootstrap 3, with SASS, so it would be enough to update some variables and build.
At the moment I'm busy with other services. If you want to send a PR I will be very happy.
The source is here: https://git.ispconfig.org/ispconfig/ispconfig3/tree/master/interface/web/themes/default/assets/stylesheets


[Word Search] Fetch text from selection while using hotkey

Extension
https://www.raycast.com/rishabswift/word-search
Description
Hi 👋🏻
Recently, I realized while writing I'm checking spellings and for this installed this extension to check the spelling mistake I made. I assigned hotkey that will open the "Spell a Word" command.
Now, When I write and not sure about the spelling I wrote is correct I hit hotkey I assigned but unfortunetly I've to retype the same spelling to check the result.
Hence, Can you improve it so it fetches the input from the selected text on system?
There's another benefit except spell checking someone can just select text and press the hotkey to get the spell result.
Who will benefit from this feature?

People who writes and wants to spell check
People who want to get explanation via single hotkey

Anything else?
No response

@RishabSwift Are you upto it?

I can knock this out real quick if no one else is doing it.

Added in last update
@raycastbot close this issue


Group usage help

Description
Group usage help into categories so it's easier to parse all the relevant info.
Checklist

[x] Add tests for these changes
[ ] Test coverage is not decreased
[ ] Entire test suite passes

Codecov Report

Merging #173 into master will decrease coverage by 0.23%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   97.70%   97.46%   -0.24%
==========================================
  Files          28       28
  Lines        1655     1657       +2
  Branches      269      271       +2
==========================================
- Hits         1617     1615       -2
- Misses         21       24       +3
- Partials       17       18       +1

Impacted Files
Coverage Δ

src/spellbot/__init__.py
95.97% <100.00%> (-0.36%)
:arrow_down:

src/spellbot/data.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2c5329...aa1f1a7. Read the comment docs.


initial django core-bot sample

@tsuwandy : It might be a good idea if we start out pylint clean (with exception of string length, which I regularly disable).  I have to be honest, the code I checked in earlier was not clean.  I just started this with the 201 sample.  I can show you how to enable in vscode.
For the main bot class stuff, you can steal what I did in 201 (which should be the majority of the code).


ARROW-10708: [Packaging][deb] Add support for Ubuntu 20.10

@github-actions crossbow submit debian-* ubuntu-*

@kszucs https://travis-ci.com/github/ursa-labs/crossbow/builds says

Builds have been temporarily disabled for public repositories due to a negative credit balance. Please go to the Plan page to replenish your credit balance or alter your Consume paid credits for OSS setting.

Could you confirm this?

+1
All arm64 builds are passed on kou/crossbow:

https://travis-ci.org/github/kou/crossbow/builds/745551499
https://travis-ci.org/github/kou/crossbow/builds/745551501
https://travis-ci.org/github/kou/crossbow/builds/745551505
https://travis-ci.org/github/kou/crossbow/builds/745551507
https://travis-ci.org/github/kou/crossbow/builds/745551509
https://travis-ci.org/github/kou/crossbow/builds/745551511


LAN(eth) Connection Failed Between 2 PCs

I'm not able to connect my another pc threw LAN (eth) with my main pc
Can you try if this same issue comes with you too ?

can you check network manager status?
systemctl status NetworkManager
if not running try restart
sudo systemctl restart NetworkManager.service
enable at boot
sudo systemctl enable --now NetworkManager.service
if not, click on the networkmanager applet.
click enable networking something....

im closing this. This has something to do with internet sharing lan sharing which should be covered by Arch wiki


SRv6 implementation of  K8s service

Code is working, but only with patched vpp-agent (see commit https://github.com/contiv/vpp/commit/3d68e1697334e1ff728ec32294d15aa55f047c00). So until this is properly resolved, this is only draft pull request (i'm waiting for https://github.com/ligato/vpp-agent/pull/1273 so that i can do proper dependency for existing vrf table that is needed for srv6 components)

force-pushed commits to add signoff to commit messages (couldn't do what DCO suggested due to older git)

Overall, looks good to me. It would be helpful to include some SRv6 related README into the docs as well, explaining how it can be enabled, how does it work, and how it can be debugged.
Since we plan to get rid of the ipv6route service renderer in favor of srv6, it would be great to have it covered by unit tests as well, similar to nat44 renderer.

PR https://github.com/ligato/vpp-agent/pull/1273 is ready for review.
I have also tested the integration with Contiv (in IPv4 mode only) - for inspiration see commit: https://github.com/milanlenco/vpp-1/commit/e8f2862a7981621fed7494b5f584c6e4d040011c

Overall, looks good to me. It would be helpful to include some SRv6 related README into the docs as well, explaining how it can be enabled, how does it work, and how it can be debugged.
Since we plan to get rid of the ipv6route service renderer in favor of srv6, it would be great to have it covered by unit tests as well, similar to nat44 renderer.

added documentation in https://github.com/contiv/vpp/pull/1523/commits/35e4e25ddbf0a7f3fab29d840be86801e4354b0f

Overall, looks good to me. It would be helpful to include some SRv6 related README into the docs as well, explaining how it can be enabled, how does it work, and how it can be debugged.
Since we plan to get rid of the ipv6route service renderer in favor of srv6, it would be great to have it covered by unit tests as well, similar to nat44 renderer.

Added unit tests in https://github.com/contiv/vpp/pull/1523/commits/c35f6935abe86ae21ceec6b5305dfb39e5af9c8f

Coverage decreased (-1.01%) to 72.878% when pulling f8467e35e831227eb593109c74a8af8ffde03625 on fgschwan:sr-k8s-service into 0fed420ce72d67f062f98ed48d72d9503b4de51c on contiv:dev.


Text selection highlight doesn't reach the top of the text on iOS

cc @mpcomplete

We're supposed to replace the height with a constant multiple of the font size called the "selection height".  If you look in the C++ code, you can see how this is supposed to work.

We look pretty good here!

I think we can close. :)


Yuqian/unstable example fix

fix all unstable examples: sklearn-mnist, keras_cntk_backend_mnist, keras_tensorflow_backend_mnist, mxnet-autoencoder or tensorflow-cifar10

make the example auto-test project support the rest-server with namespace

add tensorboard preparation in prepare.sh.

Coverage increased (+0.01%) to 51.632% when pulling c7ce52ac39a2b12db1df276e35469cb1460c4350 on yuqian/unstable_example_fix into f4e934bcd3a2f7f751dc6b5dec7e57edd55e3da7 on master.