Building boost for ARM64 UPW fails

On my machine (Windows 10 (V 1803, 17134.648) building boost for ARM64 does not work (I first tried it on my own but also with vcpkg and the following command):
/vcpkg.exe install boost:arm64-uwp

First problem: boost-build:x86-windows is not installed (sounds a little bit strange, because I wanted to build for ARM64 but I can give it a try):
Starting package 1/94: boost-system:arm64-uwp
Building package boost-system[core]:arm64-uwp...
-- Using cached C:/dev/libs/vcpkg/downloads/boostorg-system-boost-1.69.0.tar.gz
-- Using source at C:/dev/libs/vcpkg/buildtrees/boost-system/src/ost-1.69.0-9d1d01900c
CMake Error at installed/arm64-uwp/share/boost-build/boost-modular-build.cmake:18 (message):
  The x86 boost-build tools must be installed to build for non-x86/x64
  platforms.  Please run `vcpkg install boost-build:x86-windows`.
Call Stack (most recent call first):
  ports/boost-system/portfile.cmake:14 (boost_modular_build)
  scripts/ports.cmake:71 (include)

Error: Building package boost-system:arm64-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: boost-system:arm64-uwp
  Vcpkg version: 2018.11.23-nohash

After installation, I retried it:
Starting package 1/94: boost-system:arm64-uwp
Building package boost-system[core]:arm64-uwp...
-- Using cached C:/dev/libs/vcpkg/downloads/boostorg-system-boost-1.69.0.tar.gz
-- Using source at C:/dev/libs/vcpkg/buildtrees/boost-system/src/ost-1.69.0-9d1d01900c
-- Building arm64-uwp-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: C:/dev/libs/vcpkg/installed/x86-windows/tools/boost-build/b2.exe;--stagedir=C:/dev/libs/vcpkg/buildtrees/boost-system/arm64-uwp-rel/stage;--build-dir=C:/dev/libs/vcpkg/buildtrees/boost-system/arm64-uwp-rel;--user-config=C:/dev/libs/vcpkg/buildtrees/boost-system/arm64-uwp-rel/user-config.jam;windows-api=store;-j12;--debug-configuration;--debug-building;--debug-generators;--disable-icu;--ignore-site-config;--hash;-q;-sZLIB_INCLUDE="C:/dev/libs/vcpkg/installed/arm64-uwp/include";-sBZIP2_INCLUDE="C:/dev/libs/vcpkg/installed/arm64-uwp/include";threading=multi;threadapi=win32;runtime-link=shared;link=shared;address-model=32;architecture=x86;toolset=msvc-14.1;-sZLIB_BINARY=zlib;-sZLIB_LIBPATH="C:/dev/libs/vcpkg/installed/arm64-uwp/lib";-sBZIP2_BINARY=bz2;-sBZIP2_LIBPATH="C:/dev/libs/vcpkg/installed/arm64-uwp/lib";variant=release;debug-symbols=on
    Working Directory: C:/dev/libs/vcpkg/buildtrees/boost-system/src/ost-1.69.0-9d1d01900c/build
    Error code: 1
    See logs for more information:
      C:\dev\libs\vcpkg\buildtrees\boost-system\build-arm64-uwp-rel-out.log

Call Stack (most recent call first):
  installed/arm64-uwp/share/boost-build/boost-modular-build.cmake:270 (vcpkg_execute_required_process)
  ports/boost-system/portfile.cmake:14 (boost_modular_build)
  scripts/ports.cmake:71 (include)

Error: Building package boost-system:arm64-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: boost-system:arm64-uwp
  Vcpkg version: 2018.11.23-nohash

The log additionally contains the following message:
...found 126 targets...
...updating 16 targets...
msvc.write-setup-script C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\standalone\msvc\385cf315c2a3f5f5b74419d819aaf257\msvc-setup.bat
compile-c-c++ C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\error_code.obj
error_code.cpp
msvc.link.dll C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.dll
C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\error_code.obj : fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x86'

        call "C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\standalone\msvc\385cf315c2a3f5f5b74419d819aaf257\msvc-setup.bat" x86 >nul
 link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X86 /MANIFEST /OPT:REF,ICF /subsystem:console /out:"C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.dll" /IMPLIB:"C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.lib"   /APPCONTAINER WindowsApp.lib @"C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.dll.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link.dll C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.dll C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.lib C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.pdb C:\dev\libs\vcpkg\buildtrees\boost-system\arm64-uwp-rel\boost\build\e392a74d0120f6eee896facab62434f2\boost_system-vc141-mt-x32-1_69.pdb...
...failed updating 1 target...
...updated 11 targets...

The error message seems to be fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x86' but also the parameter address-model=32 and architecture=x86 look a little bit strange. Did I do anything wrong? How can I build boost for ARM64?

This issue has been fixed by PR #12762.


libxkbcommon: 1.2.0 -> 1.2.1

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 118754 at d9da362d run on x86_64-linux 1

531 packages marked as broken and skipped:

adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
agdaPackages.iowa-stdlib
aldor
...

1 package failed to build:

gupnp-igd

4090 packages skipped due to time constraints:

AusweisApp2
DisnixWebService
MIDIVisualizer
OSCAR
R
SDL2_gfx
SDL2_mixer
SDL2_net
SDL_gpu
Sylk
...

22 packages built successfully:

SDL2
SDL2_image
SDL2_ttf
adoptopenjdk-bin (adoptopenjdk-hotspot-bin-11 ,openjdk11-bootstrap)
openjdk8-bootstrap (adoptopenjdk-hotspot-bin-8)
clickclack
gnome3.gnome-desktop (gnome3.gnome_desktop)
gtk3 (gnome3.gtk ,gtk3-x11)
gssdp
gtkspell3
gupnp
libappindicator (libappindicator-gtk3)
libdbusmenu-gtk3
libindicator (libindicator-gtk3)
libwnck3
libxkbcommon (libxkbcommon_8)
openconnect (openconnect_gnutls)
qrencode
smpeg2
stoken
usbview
xdotool

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.


S3 client side encryption support

Option 2: Using a Client-Side Master Key
http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html

@Andrei-Pozolotin this looks interesting, but is probably a bit out of the scope of my time and abilities to work on at the moment. I'd be happy to consider a PR though. Also FYI, I am also looking at the other Maven S3 wagon projects and what it would take to deprecate this project to move to one of them. I'm not sure when or if that will happen, but keep that in mind.

OK, I see.
I choose to PR encryption into big old ugly Kuali
https://github.com/jcaddel/maven-s3-wagon/pull/21
See if you want to back port that here.

Closing for now as out of scope, though if someone is willing to provide a PR I could be interested (talk to me first though!).


Modal: fix error with dismissModalOnClickOutside

Fixes #1954
CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[x] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[x] npm run lint:fix has been run and linting passes.
[x] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[x] Tests have been added for new props to prevent regressions in the future. See readme.
[x] Review the appropriate Storybook stories. Open http://localhost:9001/.
[x] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[x] Review tests are passing in the browser. Open http://localhost:8001/.
[x] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

so for whatever reason, your bot tagged my personal github account for the CLA, not this one I use for work and will be contributing under.

@mattly It probably has to do with the commit email and what emails you have listed in your github account.

@mattly Thank you for catching this bug. At this point, I plan to release a patch release next week.

@mattly It probably has to do with the commit email and what emails you have listed in your github account.

Ah yeah that would have done it. I need to figure out how to modify my .gitconfig by hostname and still sync it between computers.


Can't use ol.style.Icon with ol.render.canvas.Immediate

Because the style image is not loaded by the renderer (ol.style.Image#load).

See also #2112.  Since fetching a resource from a URL is not "immediate," it is the user's responsibility to load images before using them with the immediate API.

@fredj I guess we can close this one?

yes, closing


Use onfileadd without file-upload

Hi, I have a custom list of files to be uploaded, as well as custom buttons to maintain and upload the files, and have not figured how to use {{file-upload}} for that. I would still like to use the component. Is there a way how to invoke "onfileadd" or trigger the upload from my own list, please? Maybe I just need to learn how to create an instance of your file, just to be able to trigger file.upload ?
Thank you for your suggestions.

Hi @kmichek, it sounds like you'd like to use the upload method on a file. (Sorry about the lacking documentation)
You can import the file by importing the File object from ember-file-upload/file. I think you'll be able to create a file object by creating it using File.fromBlob(file). After doing that, you can follow the docs and upload that file 😄

Hi, yes, that works perfect. Thank you very much!


#438 track intensity contributions

Summary of Changes:

New (node,node+1) matrix called intensity_contributions to record intensity per contribution
New init_intensity_contributions(intensity_contributions) function to initialise intensity_contributions
New update_time_shift_contributions(delay,intensity_contributions) function to update intensity_contributions if intensity is tracked
New (node,node+1,timestamp) matrix called itr_contributions to store intensity per contribution during entire simulation if intensity is tracked
New tracked_intensity_contributions python property to expose itr_contributions

I'm closing this request because I'm thinking of making some further changes


Build in Docker Container #119

[x] Fixes #119
[x] Add name to Authors file
[x] Format fixes to bootstrap

@xmudrii Issue fixed, However I have added build support for the different os architectures. I think a possible update will be to make the user specify the particular build environment from darwin, freebsd, windows or linux making the default Linux. Just let me know your thoughts on this.

@Ch3ck Can you please run the make gofmt to format all Go files? That should fix tests.

@xmudrii Done! Also, Do I need to refactor the docker/ directory since with a Dockerfile present that script is no longer necessary?


METATHEOREM: Determine all laws implied by the commutative law 43

Determine the complete set of laws EquationX implied by the commutative law Equation43.
This should be close to already being resolved computationally by existing implications, but I believe there should also be a theoretical classification in both cases.
The result can be added to the general implications chapter of the blueprint.

According to https://nicholas.carlini.com/tmp/view.html , this problem has already been solved.  A metatheorem is still doable, but very low priority, so I am closing this issue.


Add support for cohorts metadata in Af1

Ref https://github.com/malariagen/malariagen-data-python/issues/315

Functions checklist:

[x] snp_allele_frequencies() in Parent
[x] aa_allele_frequencies() in Parent
[x] plot_frequencies_heatmap() in Parent
[x] snp_allele_frequencies_advanced() in Children (diff filters)
[x] aa_allele_frequencies_advanced() in Parent
[x] plot_frequencies_time_series() in Parent
[x] plot_frequencies_map_markers() in Parent
[x] plot_frequencies_interactive_map() in Parent
[x] snp_allele_counts() in Children (diff caches)
[x] plot_pca_coords() in Parent
[x] plot_pca_coords_3d() in Parent
[x] cohort_diversity_stats() in Parent
[x] diversity_stats() in Parent
[x] plot_diversity_stats() in Parent
[x] plot_samples_interactive_map() in Parent
[x] count_samples() in Parent
[x] fst_gwss() - in Children (diff caches)
[x] plot_fst_gwss_track() - in Parent and Children (override default site_mask)
[x] plot_fst_gwss() - in Parent and Children (override default site_mask)

To do later, maybe:

Develop snp_effects() test for Af1.0. The data appear incomplete, which makes testing difficult.
Compare diversity_stats() with cohort_diversity_stats(), now both in the parent class.
Produce API doc for Af1.0, for __repr__, _repr_html_ https://malariagen.github.io/vector-data/af1/api.html

@alimanfoo  @cclarkson  I think I need a good way to test and debug the plotting functions.
I suspect there might be errors around the results_cache, but it might just be the way I'm trying to test things.

@jorels1

Thanks @alimanfoo . Ready for re-review?

Thanks @leehart. I'm going to make another PR to add some additional checks into the notebooks using Af1, to verify the new functionality is available and working as expected. This should also verify plotting functions. I'll make another PR against your fork.


wire-desktop: Only blank window shown

Issue description
wire-desktop is non-functional, as after start only a blank window is displayed and nothing except quitting it works.
This happens no matter whether the package is run from a nix-shell ow whether it's installed into an environment.
Steps to reproduce
nix-shell -p wire-desktop --command "wire-desktop"
Technical details

system: "x86_64-linux"
host os: Linux 4.19.20, NixOS, 18.09.2137.168cbb39691 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-18.09.2247.3276e04a39e, nixos-unstable-19.03pre170194.2a81eceeba6"
channels(user): "home-manager-18.09"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Are you using wire-desktop installed from unstable on 18.09?
Things that could be helpful are the following for me to help are:

pasting the output of running the application with strace
run wire-desktop with --devtools and inspect if there's an errors in the console

@worldofpeace No, I ran wire-desktop from stable. But I can provide you with the logs you want.
Or shall I try the unstable version right away?

Update: The version from nixos-unstable does work

Update: The version from nixos-unstable does work

Yeah, mixing applications like this from unstable will usually never work.

"mixing"? I'm using release-18.09 as my base system.

"mixing" meaning using 18.09 as your base system and then using patched applications like this from unstable. But you said you weren't doing that so it's a non-issue.
Also, was this sudden or did it happen after like a system rebuild?

Interestingly, the "mixed" version is the one that does work, while the wire-desktop from release-18.09 does not work.
I never used wire before, so I cannot say when it stopped working. It never did for me.

Interestingly, the "mixed" version is the one that does work, while the wire-desktop from release-18.09 does not work.

Sorry, does can sometimes appear like doesn't :smile:
I think it's just out of date so I'll backport the updates.

Done this in 23453d2d8c7189d479e26de0cf87906cb5189870...8ee1cdde2200d8a70d42199dedf1769d12047ed7
I could reproduce your issue and doing this fixed it for me.

I'l probably have another crash issue for wire-desktop, but I'm going to take care of this later =)

btw if you want to check if that fixed it you can do
nix run -f "https://github.com/NixOS/nixpkgs/archive/release-18.09.tar.gz" wire-desktop

FYI, I can not reproduce this. Wire seems to start fine for me on release-18.09
$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.109, NixOS, 18.09.2456.43ba99fa035 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.3`
 - channels(root): `"nixos-18.09.2456.43ba99fa035"`
 - channels(arian): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Yep, the updates fixed it when I backported them.
Just left it open for reporter feedback, but I guess it's properly solved.


Rare race condition in KVM migration

There is a race condition in the monitoring of the migration process on KVM. If the monitor wakes up in the tight window after the migration succeeds, but before the migration thread terminates, the monitor will get a LibvirtException “Domain not found: no domain with matching uuid” when checking on the migration status. This in turn causes CloudStack to sync the VM state to stop, in which it issues a defensive StopCommand to ensure it is correctly synced.
Fix: Prevent LibvirtException: "Domain not found" caused by the call to dm.getInfo()

So, the idea to solve this rare case, is just ignore the exception that happens when you reach such conditions? Will everything else be ok, even if that exception happens? Also, if the conditions happens, you do not need to suspend the VM?

Hi @rafaelweingartner, let me answer your questions by explaining the issue in a better way:
This is issue is reported under these conditions:

VM migration has physically finished
Migration thread executor is still not marked as terminated

From the migration monitoring process, as VM has been migrated, that domain cannot be found (we should get the destination domain from the migration thread later) and the LibvirtException is thrown: LibvirtException “Domain not found: no domain with matching uuid”.
So basically the idea is just logging the issue but not suspending the VM as the migration has already been performed, but the migration thread is not marked as finished. Once the migrarion thread is marked as finished, the migration monitoring process (while loop) ends and the migration command wrapper would continue its execution.
Regarding your last question, we won't need to suspend the VM in this case as the migration has already been performed. VM suspension will take place whenever the migration is in progress and those conditions are met

Thanks @nvazquez, was just investigating this issue when I saw your PR. Looks pretty much what we saw as well. Will test it :)

Thanks @rafaelweingartner your reviewing!
That's great @remibergsma, thanks, much appreaciated!

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1732

@blueorangutan test

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2278)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 29885 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2466-t2278-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_vpc_privategw_static_routes
Failure
187.97
test_privategw_acl.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
176.70
test_privategw_acl.py

@nvazquez can you add JIRA item please

@nvazquez how can we change the value of vm.migrate.pauseafter in order to test this?

@borisstoyanov JIRA ticket added. That setting can be set on agent.properties file

Thanks for this fix @nvazquez, I've managed to test it out. On master (without the fix) I've set the vm.migrate.pauseafter to 1 and did a migration, the issue is reproduce every time you try to migrate and the VM is put to stopped state, when applying the fix and using the same settings I was able to migrate successfully the VM around and got nothing in the management.

Thanks @borisstoyanov! @rhtyd can we merge this one?


Run any migration individually by specifying "type"

Opps, wrong target, meant to do it in my own repo. Sorry!


Upgrade to latest Sinatra

There's a deprecation method in Sinatra
Thread.exclusive is deprecated, use Mutex
web.1  | /Users/.../.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route'
web.1  | /Users/.../.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'

Should be resolved by #8


Cmd manual start stuck

Hello consultation, I use
adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 1.24 log_level=info bit_rate=8000000 tunnel_forward=true max_fps=15 control=true stay_awake=true
After the command starts, he returns the device information to me, and there is no response, and no interface pops up, thank you
I want to start the server through this command, and then transmit it to the ECS through TCP and display it on the web page after processing, is it directly using the forwarding function?

To get the raw H.264 stream over TCP, there is an example here: https://code.videolan.org/rom1v/vlc/-/merge_requests/20

要通过TCP获取原始H.264流，这里有一个例子：https://code.videolan.org/rom1v/vlc/-/merge_requests/20

Thank you


🐞[bug]: Improve Service Page width and background

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The contact form in the footer of the Service page is too small for users to easily verify their email. Additionally, the curved line at the bottom of the page does not look appealing and detracts from the footer content. Propose resizing the form and redesigning the footer for a more cohesive appearance.
Expected behavior
Changes to the contact form to make slightly bigger and bit change on background of the page so it don't look weird.
Add ScreenShots

What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

Thank You

Please assign this issue to me under gssoc-ext, hacktoberfest, and a suitable level label i want to contribute in it.


Dependency injection doesn't work

Thank you very much for your report!
I was able to reproduce the issue with the screenshot provided and a fix has been merged into main.
I also tagged a release v0.0.9 which includes the fix and some other small changes!


Passive flush with gap between current applied index and last flushed index

What problem does this PR solve?
Issue Number: ref #7564
Problem Summary:
This is the first part of #7756.
#7756 is hard to be merged in bulk since our TiKV pr is still pending review.
However, we can still take advantage of changing interval-based passive flush into raft log gap based passive flush.
Meanwhile, since we have resolved conflicts with the master branch for many times, we also want to add some utilities here to reduce the size of later PRs.
What is changed and how it works?
Check List
Tests

[x] Unit test
[ ] Integration test
The original integration test is enough.
[x] Manual test (add detailed scripts or steps below)
It is tested under workload of 17kops in a 720 GiB table.
It is tested with frequent restart and then check consistency.
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Make KVStore persist according to log gap since last persist rather than a random interval

/rebuild

/run-all-tests

/run-all-tests

/run-build-release comment=true

/run-build-release comment=true

/run-build-release comment=true

/run-build-release comment=true

/run-build-release comment=true

/run-build-release comment=true

/run-build-release comment=true

/run-all-tests

/run-build-release comment=true

/run-all-tests

/run-build-release comment=true

/run-build-release comment=true

/run-all-tests

/run-build-release comment=true

/re build

/rebuild

/run-all-tests

/run-all-tests

/unhold

/run-all-tests

/run-unit-test

@JaySon-Huang Is there any other issue what we need to address? I want to have this PR merged now

/run-all-tests

/run-all-tests

/merge

/merge


Site cleanup

Includes everything but last bullet item in https://github.com/strongloop/expressjs.com/wiki/Site-cleanup-notes.

@hacksparrow PTAL.  There are lots of changes here, so I'd just like someone else to confirm that nothing breaks and everything looks OK.

LGTM

I moved the copyright notice from all the individual markdown files into the template files.


After upgrade changed name to Superset, existing role's permission names were not changed

Superset version
Previously 0.11.x
After upgrade, <IP_ADDRESS>
Expected results
Existing standard roles (Admin, Alpha, Gamma) and custom roles (in our case, Client) would have their names changed from, e.g. "can welcome on Caravel" to "can welcome on Superset" as a part of the migration.
Actual results
No roles' names have changed. We have to manually change the names either one at a time through the UI, or through database queries. Only users with Admin role continued to work. For clients on all other roles, this resulted in ERR_TOO_MANY_REDIRECTS in Chrome, and investigation into the logs to identify this as the source of the issue.
Steps to reproduce
Perform the upgrade.
We ended up having to blow out our database and recreating it. We could not reliably upgrade.

Yeah, would be very nice to have a migration for that

@jasonshah - have u tried superset init ?

@bkyryliuk yes, we followed instructions on the documentation for an upgrade.

superset init should work.

@malleshm I followed the documentation provided for applying an upgrade, so yes, I did run superset init. It still did not migrate the custom roles we have set up. Is it possible superset init failed in the middle of the process and just didn't log anything?

ah, yes - we have 0 control over the custom roles.

I meet the same problem that move the whole virtualenv files with superset-0.15.4 into product cluster's machine for upgrading superset-0.14.1. And i changed the sqlite3 datasource from /home/superset/.superset/superset.db into /root/.superset/superset.db. However, those information of superset changed nothing about USER, ROLE etc, even the UI.

Expected Result:

But changed nothing:

@xrmx

@asdf2014 completely unrelated issue, before opening a new issue double check that your config correctly points to the right db and that you are using the correct virtualenv (last time i checked virtualenv were not movable). On top of that running stuff as root is bad.

I see.

Config
I use the default sqlite path, and i print the value of SQLALCHEMY_DATABASE_URI is /home/superset/.superset/superset.db.

Virtualenv
I am afraid I can not agree with your point of view that virtualenv is not movable. We can relocal the path of it with virtualenv --relocatable command.

User
I just put it in /root/superset, but it still belong to superset user.

@xrmx


Fix linux build

Fix the linux build: https://github.com/sqlectron/sqlectron-gui/runs/2018631610
Run sudo apt-get install libgnome-keyring-dev icnsutils graphicsmagick rpm bsdtar
Reading package lists...
Building dependency tree...
Reading state information...
Package bsdtar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libarchive-tools

Now it is failing because of libgnome-keyring-dev https://github.com/electron/electron/issues/27704

I think it'd be easier to just specify ubuntu-18.04 in the build matrix for now?


Update .openpublishing.publish.config.json

remove it for testing

The PR is not being built because the target branch live is filtered in .openpublishing.publish.config.json on live branch.

The PR is not being built because the target branch live is filtered in .openpublishing.publish.config.json on live branch.


Fix Issue #80

Changes the definition of NAME to not include certain keywords to solve issue #80

I still do not know how to make NAME not include certain keywords.


Is keepLatest join from higher-order FRP?

In his talk on FRP https://www.youtube.com/watch?v=Agu6jipKfYw Evan Czaplicki mentions that join :: Signal (Signal a) -> Signal a is the workhorse of higher-order FRP and allows dynamic signals.

Isn't this what keepLatest does?

Hmmm probably not, as keepLatest really does only keep the latest event so I guess you could say the only type of "dynamism" it allows is deferring?

Hmmm probably not, as keepLatest really does only keep the latest event so I guess you could say the only type of "dynamism" it allows is deferring?


fix: add patreon badge, show static usage

Why one is better? I'm still wondering which one to use in my READMEs..

aaaaah, https://github.com/amio/badgen-service/commit/4596fab0fedd3ec49399561d310bfb60caf9f958 :laughing:
Btw, i intentionally added fill=white to the svg, because it seemed that it does not whitten it..

Personally I prefer 2nd, reads like the popular "chat | on gitter"

Exactly :heart:


[Lease] The Loan::state should calculate the loan interest on its own

Currently, that is the responsibility of Lpp. The response from Lpp::loan does contain all the data to calculate it up to the wanted point of time.

done


ci: check size limit and cleanPublish script

Codecov Report

Merging #422 (94a80cc) into master (829fd10) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #422   +/-   ##
=======================================
  Coverage   42.29%   42.29%
=======================================
  Files          15       15
  Lines         532      532
  Branches      118      118
=======================================
  Hits          225      225
  Misses        246      246
  Partials       61       61

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 829fd10...94a80cc. Read the comment docs.


Parallel run - Validate test text

Currently it just fires tests the tests, if bad name found as Test-Method, then it goes to next thread.
Instead it should complain, that method not found

Not available in 1.2.0, Look in the next subsequent release.


sso secretname on configmap is not respected and defaults to sso as secretname

Summary
sso secret name on --configmap=argo-workflow-controller-configmap is not respected and defaults to "sso" as the secret name even we define secret on  argo-workflow-controller-configmap configmap. This is working fine on v2.11.17 but not on v2.12.0-rc2
Diagnostics
AKS 1.16.15
Argo 2.12.0-rc2
Argo-Server pods:
kubectl logs -n argowf argo-server-b754b67fc-9qmjw
time="2020-11-13T14:12:39Z" level=info authModes="[sso]" baseHRef=/workflow/ managedNamespace= namespace=argowf secure=false
time="2020-11-13T14:12:39Z" level=warning msg="You are running in insecure mode. Learn how to enable transport layer security: https://argoproj.github.io/argo/tls/"
time="2020-11-13T14:12:39Z" level=info msg="config map" name=argo-workflow-controller-configmap
time="2020-11-13T14:12:40Z" level=fatal msg="failed to read secret: secrets \"sso\" not found"

configmap (containing argo-server-sso as sso section)
    sso:
      clientId:
        key: client-id
        name: argo-server-sso
      clientSecret:
        key: client-secret
        name: argo-server-sso
      issuer: xxx.com
      redirectUrl: https://xxx.com/workflow/oauth2/callback

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Just for test changed secret name from argo-server-sso to sso and that part has passed but now has:
kubectl logs -n argowf argo-server-b754b67fc-qzm6b
time="2020-11-13T14:31:58Z" level=info authModes="[sso]" baseHRef=/workflow/ managedNamespace= namespace=argowf secure=false
time="2020-11-13T14:31:58Z" level=warning msg="You are running in insecure mode. Learn how to enable transport layer security: https://argoproj.github.io/argo/tls/"
time="2020-11-13T14:31:58Z" level=info msg="config map" name=argo-workflow-controller-configmap
time="2020-11-13T14:31:59Z" level=fatal msg="failed to parse private key: asn1: syntax error: sequence truncated"

Not sure why it is complaining about:
"failed to parse private key: asn1: syntax error: sequence truncated

sso secret name on --configmap=argo-workflow-controller-configmap is not respected and defaults to "sso" as the secret name even we define secret on argo-workflow-controller-configmap configmap.

Incorrect. There is a new secret used to store the encryption key for JWE cookie. I expect it is unable to create that secret, as per #4514, and therefore probably fixed by it.
@simster7 @sarabala1979 I don't think v2.12-rc1/2 starts up for most people and rc3 is therefore needed.

@alexec I think that is valid for secret creation but i simply created secret manually before so this issue has 2 parts:

sso secret name on configmap is not respected
sso.clientId.name: client-id-secret is not respected and simply uses default secret which i think sso


provided code does not appear

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/modify
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Once I run the code the page says this site cannot be reached.

I was indeed modifying the .cs file in visual  studio. The other one I
could only use notepad ++, is this the one ?
On Mon., Sep. 27, 2021, 21:38 Maira Wenzel, @.***>
wrote:

Were there any errors on the console? Maybe try starting over and see if
you have the same problem. One thing to pay attention to on Windows is to
make sure you're editing the cshtml file and not the cshtml.cs file
(sometimes the extension is hidden and users end up editing the wrong one
and run into issues). Please let me know what errors you see.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/6735#issuecomment-928585209, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APV3ELFMTMYW6BKJIVTBSSLUEEMATANCNFSM5EWBV7FQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Attachments don't work if you reply via e-mail, only via GitHub UI on their site.
The tutorial asks you to edit the cshtml page, not the cs page.

All is well
Thank you for your help Maira
On Tue., Sep. 28, 2021, 13:53 Maira Wenzel, @.***>
wrote:

Attachments don't work if you reply via e-mail, only via GitHub UI on
their site.
The tutorial asks you to edit the cshtml page, not the cs page.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/6735#issuecomment-929490054, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APV3ELBL3OO4BIRUDAHJ7ULUEH6JJANCNFSM5EWBV7FQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

It seems you're good now so closing the issue.


Idea: enable ctrl + k / cmd + k as "go-to-search-input" hotkey

Think this could be a nice touch! ❇

Added!


Motion retargetting result looks quite off

Hi, first of all, thank you for sharing great project.
I'm utilizing Mixamo mocap data, to inject punch motion to my character.
This is the frame where punch hits, so skeleton's right hand is extended most, even beyond its left hand on sagittal plane.

But the joint position at the specific frame (obtained from AnimatedDrawingRig class) is somewhat off.

both shoulder (red and orange) length should be shrinked, left arm (green) should be shrinked, and right arm (yellow) should be more extended. I'm wondering how I can deal with this problem.
Edit
I guess it's due to the skeleton always projected to its sagittal plane, I'm wondering if we can set the projection plane, such as XZ plane.
Result reproduction details

I downloaded cross punch motion from Mixamo.

Then I imported downloaded fbx mocap file, and rotate the skeleton to do punches toward +X axis

I exported that data to bvh format

I edit bvh, retarget cfg, and motion cfg as follows.
yamls_and_bvh.zip

I generate retargeted motions.

Hi @JinwooMcLee
Thanks for the detailed bug report.
There's a view-dependent element to the pose retargeting, so it's possible that the mismatch you're seeing is due to the particular position of the camera when you took the picture of the BVH skeleton punching.
Even with the mismatch that the view-dependent retargeting could introduce, I agree with you that the poses seem pretty different. I'm investigating now to figure out why.

Hi @hjessmith , thank you for detailed response.
Even when I change camera's position and forward vector, the problem doesn't seem get better.
And if I choose frontal plane projection for upper body, problem didn't resolve. Also, with sagittal projection, every frame shows same shoulder length without any extension or shrinkage.
I'd like to add the functionality, so would you guide me where?
And I'm wondering why we need projection plane. (Maybe to add picasso-like multi perspective?)
Isn't setting camera position and fwd vector has same effect as setting projection plane?
If we set both camera and projection plane, I wonder how do they interact.
Forgive me if I'm wrong.

Nose -> Neck: Nose is the name of that particular keypoint in the coco human pose keypoint format. But we're using it as a point in the head so we can move the head around a little bit. So, in my mind, it's more akin to a neck joint than a nose joint once we're using it specifically for animation.
Motion Retargeting: Read 3.4 in the paper. It's a forward kinematics, orientation-matching method for posing the figures. The method and line you've linked are specifically for calculating how to scale the root offset of the character (i.e. when the character is walking, how far should I move the entire character left/right?). That's the only way in which differences with actor/character limb lengths are explicitly dealt with.
Projection Plane: Read 3.4 and see Figure 8.c. Projection planes are defined relative to the motion source skeleton and are used to calculate how to project the motion source's 3D limb orientations into a 2D orientation we can apply to the character. This is totally distinct from the camera position and forward vector, which are used to control the rendering camera within the scene.
If you want to change the supported projection planes, that would occur within the retargeter. Here is where the two projection planes are defined for use by the retargeter. I would do a search the code to see where these values are being used and then plan your edits accordingly. Note that they are defined relative to the motion source skeleton, where the skeleton is always assumed to be facing along the +X axis, with +Y axis corresponding to up and +Z it towards the skeleton's right side.

Hi @hjessmith, I hope this message finds you well. First and foremost, I would like to express my sincere gratitude for your detailed explanation and assistance. It has been incredibly helpful.
After carefully revisiting the paper with your explanation in mind, I found that many concepts that were previously unclear to me are now much more understandable. However, I am currently facing a challenge that I would greatly appreciate your insights on.
I am working with Mixamo mocap data rendered in Blender, as shown in the image below:

I also rendered the same mocap data using Animated Drawings with sagittal projection for all limbs, as depicted in the following image:

Upon reviewing the retargeted motion, it appears that something may not be quite right. Based on my understanding, I suspect that the issue may be related to the intentional design choice of not introducing foreshortening in Animated Drawings. As a result, the Blender rendering displays foreshortening for the shoulders and other limbs, while Animated Drawings does not. Please forgive me if my assessment is incorrect.
I am eager to find a solution to this challenge and was wondering if there might be a way to introduce foreshortening or any other approach that could help address this issue.
Thank you once again for your invaluable support. I eagerly await your guidance.

You're assessment is correct. May I ask why you are trying to do this? What you're asking for is possible, but it will take a bit of time on your part to implement, as I specifically designed the system to avoid foreshortening.
I want to make sure the AD code is the best option for your use case before I try to describe how to make such a code change.

Thank you for your patience, as this will be a comprehensive response.
As you know, animating 2D humanoid characters is indeed a challenging task, as it usually requires drawing each frame or rigging the character and moving the rig manually.
However, AD significantly improved the user experience in animating 2D characters. AD offers motion templates, allowing the user to simply provide the character and select the desired motion.
Behind the scenes, AD does the hard works. It retargets 3D motion to the 2D character and deforms the mesh accordingly. The inclusion of a default pose detector also enhances the user experience.
Therefore, my primary needs are motion retargeting and proper 2D mesh deformation.
Last but not least, by achieving well-deformed mesh, I aim to explore whether it can be further improved with the power of diffusion models.

Thanks for your patience. I have good news and bad news. The bad news is that aI've thought about it and I can't think of a simple, straightforward way for you to modify the AD code to introduce foreshortening, which you've indicated you need. It is certainly possible but not simple.
The good news is that you can reuse many parts of AD to do what you want. The arap.py file can be used as a standalone python script, and that is what deforms the mesh based upon 'pin' positions. And the pose estimation models can be run independently of the retageting/rendering code. You'll just need to figure out how to project the motion capture joint positions onto a 2D plane in the way way that you want, then use the position of those joints on the 2D plane as 'pins' to drive the ARAP solve.
Best of luck and, if you'd like, please feel free to share any visuals create with the code.

@hjessmith, I want to extend my sincere gratitude for your comprehensive advice; it has provided much-needed clarity. I am eager to explore your suggestions and will definitely try them out.
To delve deeper into the subject, I was wondering if you could recommend a reference book or a scholarly paper that explains motion retargeting comprehensively, possibly with a focus on converting from 3D to 2D, or 2D to 2D? I apologize if this seems a bit off-topic, but gaining insights into this area will significantly aid my understanding and progress.
Currently, I am immersing myself in learning computer graphics and, while I have found numerous resources, I am struggling to find substantial references specifically on motion retargeting. Thus, any recommendation from you would be immensely valuable to me.
Thank you once again for your kindness and support.

Hello,
Motion retargeting is a fairly complex task, and I would be hesitant to suggest papers that deal with it specifically, since they will assume a lot of prior knowledge in graphics and animation.
If you are new to graphics more generally, I would recommend Fundamentals of Computer Graphics. The first few chapters about linear algebra and transforms are all useful background information: https://www.amazon.com/Fundamentals-Computer-Graphics-Steve-Marschner/dp/0367505037/ref=asc_df_0367505037/?tag=hyprod-20&linkCode=df0&hvadid=560352773205&hvpos=&hvnetw=g&hvrand=4804398781104349615&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9032046&hvtargid=pla-1188459326544&psc=1
Next I would recommend Parent's Animation book: https://www.amazon.com/Computer-Animation-Algorithms-Rick-Parent/dp/0124158420
It gives good information about how motion is represented in skeletal animation systems.
With both of these books read, you should have more than enough knowledge to perform 3D -> 2D retargeting.


SideNav flickers back and forth when swiping up or down on overlay

Description
Hi,
when swipping up or down on the sidenav overlay, the menu disappears but when tapping on the screen, it reappears to disappear...
It seems to comes from sideNav.js#L189:
menu.css('transform', 'translateX(' + (x - options.menuWidth) + 'px)');

where menu is translated out...
Repro Steps
On a mobile device (or Chrome Dev Tools with device toolbar activated with mobile device):

open http://materializecss.com/
open menu
swipe up or down on the overlay: The menu disappear
tap somewhere on the page: The menu flickers back

I am currently trying to find a workaround
Nice work btw

Actually, when swipping from the overlay, x equals 0, therefore it translates the menu out but does not close it correctly.
the workaround would be to give x a fallback value to 300. The code would change to:
menu.css('transform', 'translateX(' + ((x || 300) - options.menuWidth) + 'px)');

FYI: it only occurs when the menu is open on the left edge.
If it is something suitable I would make a PR.
Regards

Duplicate of https://github.com/Dogfalo/materialize/issues/4082, would you mind to post you discoveries over at that issue? Anyhow I will close this issue for now

sorry about that didn't look for side-nav but sidenav in issue list


zlib-spm

*** Skipped building zlib-spm due to the error:
Dependency "zlib-spm" has no shared framework schemes
Got this error after running carthage for "watson-developer-cloud/swift-sdk"

I have the same issue, although with Starscream. Anyone has a solution?

I got this error building Starscream with Carthage.


Build on macOS Sierra failed: Importer.cpp calls deprecated gdal class OGRSFDriverRegistrar

Failed to build mapd-core on macOS Sierra (v 10.12.6 ) with the following error messages during build stage (i.e. 'make -j 4' invocation).
Note: I installed all dependencies captured in "mapd-deps-osx.sh" and also set all ENV variables defined there.
Note: I installed gdal version 1.11.5 via Homebrew (see below):
$ brew info gdal
gdal: stable 1.11.5 (bottled), HEAD
Geospatial Data Abstraction Library
http://www.gdal.org/
/usr/local/Cellar/gdal/1.11.5_3 (421 files, 36.4MB) *
  Built from source on 2017-08-12 at 21:50:07 with: --with-libkml
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gdal.rb
==> Dependencies
Required: libpng ✔, jpeg ✔, giflib ✔, libtiff ✔, libgeotiff ✔, proj ✔, geos ✔, json-c ✔, libxml2 ✔, pcre ✔, sqlite ✔, freexl ✔, libspatialite ✔
Optional: postgresql ✘, mysql ✘, armadillo ✘
==> Requirements
Build: java >= 1.7 ✔, fortran ✔, git ✔
Optional: java >= 1.7 ✔, python3 ✔

---- Excerpt of build error messages
[ 89%] Linking CXX executable ImportTest
[ 89%] Linking CXX executable bin/mapd_server
[ 89%] Linking CXX executable StorageTest
[ 89%] Linking CXX executable ExecuteTest
Undefined symbols for architecture x86_64:
  "OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)", referenced from:
      Importer_NS::openGDALDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libCsvImport.a(Importer.cpp.o)
  "OGRLineString::getPoint(int, OGRPoint*) const", referenced from:
      Importer_NS::Importer::readVerticesFromGDALGeometryZ(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OGRPolygon*, Importer_NS::PolyData2d&, bool) in libCsvImport.a(Importer.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Tests/ImportTest] Error 1
make[1]: *** [Tests/CMakeFiles/ImportTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
  "OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)", referenced from:
      Importer_NS::openGDALDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libCsvImport.a(Importer.cpp.o)
Undefined symbols for architecture x86_64:
  "OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)", referenced from:
      Importer_NS::openGDALDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libCsvImport.a(Importer.cpp.o)
Undefined symbols for architecture x86_64:
  "OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)", referenced from:
      Importer_NS::openGDALDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libCsvImport.a(Importer.cpp.o)
  "OGRLineString::getPoint(int, OGRPoint*) const", referenced from:
      Importer_NS::Importer::readVerticesFromGDALGeometryZ(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OGRPolygon*, Importer_NS::PolyData2d&, bool) in libCsvImport.a(Importer.cpp.o)
  "OGRLineString::getPoint(int, OGRPoint*) const", referenced from:
      Importer_NS::Importer::readVerticesFromGDALGeometryZ(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OGRPolygon*, Importer_NS::PolyData2d&, bool) in libCsvImport.a(Importer.cpp.o)
  "OGRLineString::getPoint(int, OGRPoint*) const", referenced from:
      Importer_NS::Importer::readVerticesFromGDALGeometryZ(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OGRPolygon*, Importer_NS::PolyData2d&, bool) in libCsvImport.a(Importer.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/mapd_server] Error 1
make[1]: *** [CMakeFiles/mapd_server.dir/all] Error 2
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Tests/StorageTest] Error 1
make[1]: *** [Tests/CMakeFiles/StorageTest.dir/all] Error 2
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Tests/ExecuteTest] Error 1
make[1]: *** [Tests/CMakeFiles/ExecuteTest.dir/all] Error 2
make: *** [all] Error 2

Update from cjaensch => build works after switch to gdal version 2.1!
Once I checked on the latest version of GDAL, I uninstalled gdal version 1.11.5 together with all it's dependencies using Homebrew!
Then I installed GDAL version 2.1 instead using: brew cask install gdal-framework.
Afterwards I removed the build directory and rebuilt everything from scratch ... and voila it works!!!
Please update line 57 of mapd-deps-osx.sh to use brew cask install gdal-framework for gdal.


Validator is invalid or can't be applied to the field

Hi after upgrading to the latest today I got this error. The code is simple

import (
	"fmt"

	"github.com/asaskevich/govalidator"
)

type TestStruct struct {
	SomeID     uint `valid:"uint,optional"`
	AnotherID  uint `valid:"uint,optional"`
	SomeString string
}

func main() {
	test := TestStruct{4, 1, "testing"}
	ok, err := govalidator.ValidateStruct(&test)
	println(ok, fmt.Sprintf("%v", err))
}

The output of this code is:
false SomeID: The following validator is invalid or can't be applied to the field: "uint";AnotherID: The following validator is invalid or can't be applied to the field: "uint"
This simple code did work for revision 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877

Solution is using
CustomTypeTagMap


[GOBBLIN-260] Fix Salesforce dynamic partitioning bugs

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-260

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Use low watermark in histogram query for incremental job with dynamic partitioning
Don't do dynamic partitioning if source.max.number.of.partitions = 1

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@htran1 @zxcware please review


[microNPU] Cascader performance model bugfixes

This PR fixes some bugs related to the microNPU performance model in the cascader.

Fixed incorrect num_blocks calculations for both BufferModes.
Fixed similar issues with Read/Write byte calculations.
Fixed an issue where the 'partkernel' flag was not propagated to
the performance estimation code.
Fixed single buffering check incorrectly used output shape and
block rather than the input shape and block.
Fixed block config not aligned to micro block for Elementwise.

@mbaret @manupa-arm @ekalda @NicolaLancellotti @lhutton1 @dchauhan-arm

Replaced by: https://github.com/apache/tvm/pull/10510


Filename of embedded files is cut off

When embedding a file within a note using ![[Filename]], the lower portion of the filename is cut-off when rendered in preview mode.
For example:
## Tasks
![[Today's Tasks]]

Renders like this:

Hey, thanks for raising this issue! I am releasing an update tonight that should address this, so closing for now. Please feel free to re-open if it's not solved on your end. Thanks again!


Plane overhead ✈👀

You could use a cheap rtl-sdr dongle + dump1090-mutability for this to avoid cloud dependencies.
Furthermore, you can use the same webserver which delivers the dump1090 webpage to also do a simple transformation to the GeoJson format, so that you can use the Home Assistant GeoJson Integration to get the data into home assistant.
From there, a template sensor which checks if there are any plane geojson entities with a distance below x could be the way to go.

This is a PHP script which I use for the mentioned geojson transformation
<?php
header('Content-Type: application/json');

$content = file_get_contents('/run/dump1090-mutability/aircraft.json');
if (!$content) {
    echo json_encode([
        'type' => 'FeatureCollection',
        'features' => [],
    ], JSON_PRETTY_PRINT);

    exit;
}

$input = json_decode($content, true);
if (!$input) {
    echo json_encode([
        'type' => 'FeatureCollection',
        'features' => [],
    ], JSON_PRETTY_PRINT);

    exit;
}

$features = [];
foreach ($input['aircraft'] as $aircraft) {

    if (!isset($aircraft['lat']) || !isset($aircraft['lon'])) {
        continue;
    }

    $features[] = [
        'type' => 'Feature',
        'geometry' => [
            'type' => 'Point',
            'coordinates' => [$aircraft['lon'], $aircraft['lat']],
        ],
        'properties' => [
            'title' => isset($aircraft['flight']) ? 'Flight ' . trim($aircraft['flight']) : 'Plane',
            'hex' => $aircraft['hex'],
            'altitude' => $aircraft['altitude'],
            'heading' => $aircraft['track'],
            'speed' => $aircraft['speed'],
        ],
        'id' => "plane".$aircraft['hex']
    ];
}

echo json_encode([
    'type' => 'FeatureCollection',
    'features' => $features
], JSON_PRETTY_PRINT);

?>


Can you share full source code?

Hi @lovebdsobuj ,
The app or the languages algorithm ?

Hello @fethica,
Thanks for your response.
You can share,
App with languages algorithm.
On 5/29/16, Fethi El Hassasna<EMAIL_ADDRESS>wrote:

Hi @lovebdsobuj ,
The app or the languages algorithm ?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/fethica/NumbersIntoWords/issues/1#issuecomment-222355080

Hi @lovebdsobuj,
Thank you for your request 👍 I will update the project soon !

I will glad to see you brother, :heart: for you...


can't add "orderBy:"id", orderDesc: true, limit: 1" to findOne

Hello,
Not sure if there's any way to sort and limit rows in results, as SQL Query option, instead of getting all records.
Did you get findOne working with orderDesc?

@j2l is this for getting rows from a user defined table or one of the built in models (Table, Field, View etc)

Hello and thank you @glutamate
It is for a standard table. I can't find an example of a JS script SQL query to sort rows of any table using findOne.
I'd like to get only one row, the latest added of a simple table using run_JS event. If I don't use orderBy and limit, natural order is ascending, and it sends all rows.
To lower query results, I think we need to limit inside the SQL query (sort, limit) instead of sorting the result of all unsorted rows to finally only keep one.
Hope it makes sense :smile:
Have a great day!

Implemented in #1427 - now you can:
const table = Table.findOne({name: "persons"})
const youngestSam = table.getRow({name:"Sam"} , {orderBy: "age})
limit 1 should now be automatic when using getRow

this is related to #1265

Great, thank you @glutamate
One stone two birds!


[en] typos

Changes:

"webpack" -> "Webpack"
change double quotes into single quotes in code snippets about "native Node.js" in history-mode.md, just because the others all use single quotes.

Thanks.

Sorry for the changes without confirmation. But I found many "Webpack" with uppercases in other docs like vue-loader. So please don't mind me to make sure which is the right one. 😅
If the letter "w" should be lowercase. I will revert them above and fix the other docs.
Thanks.

@Jinjiang no worries! 👌

I had a check. The word in official website of webpack are all with lowercases. So I think the lowercase is right.
I only left one place with uppercase which is the first word of a sentence. I guess this should be changed.

It should also be lowercase when it's the first word in the sentence 😆 (https://webpack.js.org/support/#cto-s-vps-owners). Don't worry, I changed it


Readthedocs

Migrating docs from latex manual to generating docs via sphinx for readthedocs.org.

is there any way to preview this?

docs.zip
Unzip that and open index.html in a browser. I think that should work.

Looks great! Let's deploy on readthedocs.org. We should also update the README.


crossbeam_channel::tick delivery_time can support different flavor

Currently, the new delivery_time is calculated as:
https://github.com/crossbeam-rs/crossbeam/blob/dfafb46a6102aa7810c534b65d0407b998987fba/crossbeam-channel/src/flavors/tick.rs#L47-L50
But it can be a flavor config like Java's ScheduledExecutorService: scheduleAtFixedRate and scheduleWithFixedDelay.
The current flavor is in scheduleWithFixedDelay, while replace now + self.duration with delivery_time + self.duration can simulate scheduleAtFixedRate as much as possible.
To consume multiple ticks backlog, one can use try_iter and then collect.
Let me know if it's a good idea to follow. cc @taiki-e

What API are you proposing to add?

@taiki-e that's the next step. If the semantic is good to have, I think the best way to express the API is by submitting a patch :D
I file this issue advanced to avoid wasting time on patches that would never be accepted.

I didn't mean to ask you to create a patch before the discussion about API, I wanted to know what you are imagining it would look like if it were expressed as an API in Rust.
I guess what you are actually requesting here is something like tokio::time::interval, but tokio::time::interval also has an API to tune the behavior.

@taiki-e Thanks for your information!
Yes, it seems like tokio::time::interval while I don't find your comment "has an API to tune the behavior". It seems that struct has only a period arg to define the interval.
For API in crossbeam channel, the whole structure can be identical to tick with different rules for calculating delivery_time, i.e.,

for try_recv, it's delivery_time + self.duration over now + self.duration.
for recv, it's delivery_time + self.duration over delivery_time.max(now) + self.duration.

If we agree on reuse the structure, it can be a different API on crossbeam_channel to switch the flavor,

tick_with_delay supersedes the current manner;
tick_with_interval indicates the proposed manner.


Fix certificate autorenewal

updated by hand atm, should take a look at https://certbot.org/renewal-setup


[Docs] Documentation is a bit misleading

Docs

Go version: 1.19
OS: Ubuntu 22.04

https://github.com/UTDNebula/nebula-api/blob/39701080f05a10508c6f7e65ce40c0ac5e41be1d/docs/index.md?plain=1#L24-L31
It says to place the .env file inside the api folder, but then says to run the server one directory above: go run api/server.go. The env loader, godotenv, defaults to the .env in the root directory, which it assumes is the directory you build from.
If you follow the docs word for word you get some error like:
Error loading .env file: %vopen .env: no such file or directory
So the docs should read something like
cd api
go run server.go

Hopefully this doesn't come off as nitpicky as I think this can genuinely confuse people who aren't familiar with how env files are loaded.
:heart:

Good catch! I have opened #113 to correct this.


Build failure: ocamlPackages.eio_posix

Steps To Reproduce
Steps to reproduce the behavior:

build ocamlPackages.eio_posix on x86_64-darwin

Build log
error: builder for '/nix/store/pw9wpp7v2mkp9ijnqwpn12hv6b2n2y6k-ocaml5.1.1-eio_posix-1.0.drv' failed with exit code 1;
       > eio_posix_stubs.c:133:7: error: call to undeclared function 'preadv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
       >   r = preadv(Int_val(v_fd), iov, n_bufs, offset);
       >       ^
       > eio_posix_stubs.c:150:7: error: call to undeclared function 'pwritev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
       >   r = pwritev(Int_val(v_fd), iov, n_bufs, offset);
       >       ^
       > 2 errors generated.
       >
       For full logs, run 'nix log /nix/store/pw9wpp7v2mkp9ijnqwpn12hv6b2n2y6k-ocaml5.1.1-eio_posix-1.0.drv'.
error: 1 dependencies of derivation '/nix/store/1b9x6a5fj12cmp1prwkyk803g467wknz-ocaml5.1.1-eio_main-1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gly8zm9w97ffh35xv2dhzy73d0b3gcxz-ocaml5.1.1-docfd-3.0.0.drv' failed to build

Additional context
Package is a dependency of docfd. Builds fine on linux and aarch64-darwin, just fails on x86_64-darwin.
Notify maintainers
@toastal

Add a :+1: reaction to issues you find important.

Can test later, but it looks like there is a workaround for this exact error at https://github.com/NixOS/nixpkgs/blob/15f378d47eed487f2ab11b03814ab7beecaee844/pkgs/tools/networking/nbd/default.nix#L51

Thanks. I tried that flag earlier, which turns the error into a warning and allows ocamlPackages.eio_posix to build (with warnings). But then when I try and build docfd which depends on this I get linker errors,
Undefined symbols for architecture x86_64:
  "_preadv", referenced from:
      _caml_eio_posix_preadv in libeio_posix_stubs.a(eio_posix_stubs.o)
     (maybe you meant: _caml_eio_posix_preadv)
  "_pwritev", referenced from:
      _caml_eio_posix_pwritev in libeio_posix_stubs.a(eio_posix_stubs.o)
     (maybe you meant: _caml_eio_posix_pwritev)
ld: symbol(s) not found for architecture x86_64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

preadv and pwritev were added in 11.0. It should use overrideSDK stdenv { darwinMinVersion = "11.0"; darwinSdkVersion = "11.0"; } to override the stdenv to use the 11.0 SDK with an 11.0 deployment target.

Many thanks, that worked! Much appreciated.


Python solve is faster than C code-generated one

Hi,
I ran the quadrotor example in Python and generated C code in the standard way. I noticed that it intentionally generated code with an EMBEDDED flag then I have to use time.h to measure the solve time of the osqp_solve(&workspace) function.
Both Python and C gave me the same results but the solve times are unexpected. Python one is like 1ms and C one is like 3ms. I don't really get why this happened. Did anyone see this problem before?
Thanks.

Do you have the same compiler optimization flags enabled in both cases?

I am not sure if we have an optimization flag in the Python compiler, right? My function looks like this
prob.codegen('code', project_type='Makefile', force_rewrite=True, FLOAT=False)
I did not modify anything in the generated CMakeLists.txt.
if (NOT DEFINED EMBEDDED)  # enable embedded anyway
    set (EMBEDDED 1)
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g")

But I do see this in osqp_configure.h.in
/* DEBUG */
#cmakedefine DEBUG

By Python do you mean just calling solve on the problem, not using the codegen wrapper? If so, then there is an expected difference in the solve times because the code generation/embedded mode will disable certain features of the solver - such as the adaptive rho computation. Disabling those can possibly increase the time needed to solve the problem. One thing to try is to take the problem and take the optimal rho values from Python and put it into the code generation version (this should hopefully give you closer timings).

@imciner2
Thank you for your response.
Intuitively, I thought for embedded mode, the features should encourage faster solve time.
My naive expectation is that the generated C code should be faster given the same problem setup.


Update to Switchy 2.0. Add UI previewing.

Updates the mod to use and utilize Switchy 2.0. Basic updates, plus:

Opinionated Changes

Shortened a couple of names in code (but not in saves/ids) to help with the new longer signatures.

Feature integrations

Added module documentation (description, enabled, disabled).
Module previewing for switchy-ui (a built-in switchy addon), as shown on the switch screen:

2.0 should release within a few hours on modrinth - The github changelog will have a detailed summary of changes for addon devs.
Feel free to adjust anything as you prefer ^^

Looks good! I'll merge and release a new version.


Add a draft of PerpetualValidiumUpdateCollector

I'm closing this PR as it is already covered in approved PR for ValidiumDataSyncService


Looks like showing only one empty game.

I used 6.3 hotfix version of program and it missed some games.
It recognized all games I have but not showed some of them.
I downloaded latest version but I cannot see my games except one weird game which is not even available on Steam. Then I used game ID to add game, but it cannot add games but shows only one game per search. Something went wrong :(
Is there any quick method to add my own multiple game IDs in setting file?
I don't have any knowledge about coding, but if there is thing that I can modify with wordpad or notepad, I'll try it out !

It's because my server is down at the moment, so the game list download is failing.
Sorry for the trouble. It'll be back as soon as I am able.
There's no way to currently add multiple games at once, something for the future, perhaps.

Oh, was it server sided? Never expected that tho..
Thanks for the reply. I use this program very very well.
👍

There's no API in Steam to iterate owned games, so I have a huge list of games that have achievements, and SAM checks every single ID to see if you own them.


Annotations MVP: As a user I can write an annotation

Issue moved to influxdata/ui #377 via ZenHub


[App]: Cannot see the plot of metrics logged in a resumed run

Current Behavior
I cannot see the metrics I log when resuming a run in the wandb interface section. This mostly happens with my old runs. I tried creating a new public project to showcase this issue but was not able to reproduce it. The screenshot below is from my private run.

Expected Behavior
New metrics are plotted in their corresponding section in the resumed wandb runs, as in the new public run below:

Steps To Reproduce
(create a new conda env and install wandb 0.16.0)
I wrote this script to reporduce the issue but it only happens with my old run (the private one). It happens with most of my private old runs in fact.
'''
A script to show how wandb fails to log new metrics to some old runs.
the run in debugging-wandb works fine, the one in retrodiffuser does not.
So far did not manage to reproduce this in a public wandb project.
'''
import wandb
import random

# start a new wandb run to track this script
# 1. The run id, etc.
# data from dummy run
# run_id = "qet1ecmx"
# project = "Debugging-Wandb"
# data for my own (private) run
run_id = "bxwydbhx"
project = "retrodiffuser"

entity = "najwalb"
resume_nb = 5

# run this to create a dummy run for the first time
# wandb.init(
#     # set the wandb project where this run will be logged
#     project=project,
#     # track hyperparameters and run metadata
#     config={
#         "learning_rate": 0.02,
#         "architecture": "CNN",
#         "dataset": "CIFAR-100",
#         "epochs": 10,
#     }
# )

def get_run_path(run_id, project, entity):
    return f"{entity}/{project}/{run_id}"

def get_run(run_path):
    api = wandb.Api()
    run = api.run(run_path)
    return run

run_path = get_run_path(run_id, project, entity)
run = get_run(run_path)

# simulate training
step = run.lastHistoryStep+1
with wandb.init(id=run_id, project=project, entity=entity, resume="allow") as run:
    epochs = 10
    offset = random.random() / 5
    for epoch in range(2, epochs):
        acc = 1 - 2 ** -epoch - random.random() / epoch - offset
        loss = 2 ** -epoch + random.random() / epoch + offset

        # log metrics to wandb
        wandb.log({f"resume_{resume_nb}/acc": acc, f"resume_{resume_nb}/loss": loss}, step=step)
        step += 1

# [optional] finish the wandb run, necessary in notebooks
wandb.finish()

Screenshots
No response
Environment
OS: mac sonoma 14.01
Browsers: chrome/mozilla
Version: 0.16.0
Additional Context
I found one related issue here, but I tried the proposed solution (setting the x axis to Step) and it did not help.

hey @najwalb - just to confirm my understanding: you're only running into this issue when trying to resume older runs? would it be possible to provide a link to any/some of those runs so I could take a look on my end?

Hi, yes I can share links to the runs but their private. I could not replicate the issue in a new public project. Here is an example of a run: https://wandb.ai/najwalb/retrodiffuser/runs/95p37rjt?workspace=user-najwalaabid

hey @najwalb - I haven't been able to reproduce the issue again so I have a few follow up questions in the meantime:

are all your older runs that you're trying to resume (but are reaching the faulty behavior) on the same SDK version? (0.16.0)
do you reach the same behavior when setting resume='must' in wandb.init()? (along with the run_id)
what happens when you log a new metric to a resumed run? (therefore creating a new panel)

WandB Internal User commented:
umakrishnaswamy commented:
hey @najwalb - I haven't been able to reproduce the issue again so I have a few follow up questions in the meantime:

are all your older runs that you're trying to resume (but are reaching the faulty behavior) on the same SDK version? (0.16.0)
do you reach the same behavior when setting resume='must' in wandb.init()? (along with the run_id)
what happens when you log a new metric to a resumed run? (therefore creating a new panel)

Hi!

No my older runs are on the previous SDK
Will try the 'must' keyword now and let you know!
My problem is with creating a new panel. The screenshots from my first message are from their own panel 'resume_5'.

Note that I was able to add metrics to these same runs for a while, but since I posted about this issue it became impossible. As a current work around, I changed my pipeline so that I do extra evaluation in separate runs and link all runs from the same experiment with tags and groups.

hey @najwalb - what behavior did you run into when you used resume='must' ?

Hi @najwalb, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Private link documentation doesn't specify the resource type and resource in the table

Resource Type | Select the resource type you're connecting to.
Should be Microsoft.DocumentDB/mongoClusters
Resource | Select the resource type you're connecting to.
the name of cluster previously created

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 49e47298-919c-ca74-b9a9-0b6bd8e81880
Version Independent ID: dff091f7-606b-8b85-85bb-73911cc5ae54
Content: Use Azure Private Link - Azure Cosmos DB for MongoDB vCore
Content Source: articles/cosmos-db/mongodb/vcore/how-to-private-link.md
Service: cosmos-db
Sub-service: mongodb-vcore
GitHub Login: @gahl-levy
Microsoft Alias: gahllevy

Hi @DavideDelVecchio ,
Thanks for sharing this feedback. We will look into this and update as appropriate.
Hi @gahl-levy ,
Could you please look into this, thanks.

We are now adding those steps to the table. Thank you for your input, @DavideDelVecchio!


Retrive old file path

Right now the users have to guess what is the old file name that in the cases where the new file version has a different name is the exact old file name or in the cases were the file name doesn't changes is the old file name with the .zs-old post fix.
After the update process ends successfully some clients may require to know the location of the old file in order to delete it, move it to an special location or doing something else. Therefore it's required a reliable way of retrieving it.

Agree.


Pugjs Patching Technique

Is your feature request related to a problem? Please describe.
I am not exactly frustrated with the software. It increased my page load speeds by about 3x.
I was previously using expressjs.
Describe the solution you'd like
This is just a suggested concept for people who enjoy developing with pugjs instead of regular html
Describe alternatives you've considered
I built a gist of the proposed idea.
Additional context
Maybe you can add it to the wiki as user contributed ideas or work-around or something.
Either way this issue is pretty much solved already.
Just provided an example in case somebody runs into the same problem.
Thanks.
https://gist.github.com/greysquidcat/5a8d904a39d39a0b3c63a7e215105910

I consolidated
https://gist.github.com/a93h/3a39ef0d1d5708b543fcf864fafc2ce8
Updated link.


Icon Request: icon-battery

fi-battery-full
fi-battery-half
fi-battery-quarter
fi-battery-three-quarters
fi-battery-empty

icons added

http://fontisto.com/icon-battery-full
http://fontisto.com/icon-battery-half
http://fontisto.com/icon-battery-quarter
http://fontisto.com/icon-battery-three-quarters
http://fontisto.com/icon-battery-empty


Don't log apikeys

It now obfuscates the apikey, but shows the first and last character of it to help the user debug the many cases where ChatGPT forgets or just alters the apiKey used:
GET /api/x<obfuscated>y/files/listfiles

In certain exceptions undertow still logs them

They are no longer logged


Couldn't install via pip

I got these error messages when I try to install the package via pip, I'm using Ubuntu 20.04
ERROR: Could not find a version that satisfies the requirement csghop2023-pyutils (from versions: none)
ERROR: No matching distribution found for csghop2023-pyutils

Hey,
Can you tell me which version of python and pip you are using? You can get this information using python --version and pip --version.

I'm having python 3.10.7 and pip 22.3.1

That is very odd because the package is listed here correctly to be compatible with Python[>=3.7]. It some odd cases, pip links to the Python2 version and you have to use pip3 instead.
You can alternatively also just download the repository and execute pip install . within the folder.

I downloaded the repo and ran pip install . but I got these errors:
Building wheels for collected packages: cgshop2023-pyutils
  Building wheel for cgshop2023-pyutils (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cgshop2023-pyutils (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]
      Configuration:
      [settings]
      arch=x86_64
      arch_build=x86_64
      build_type=Release
      compiler=gcc
      compiler.libcxx=libstdc++
      compiler.version=9
      os=Linux
      os_build=Linux
      [options]
      [build_requires]
      [env]

      Version ranges solved
          Version range '==5.3' required by 'conanfile.txt' resolved to 'cgal/5.3.2' in local cache
          Version range '>=3.11' required by 'conanfile.txt' resolved to 'nlohmann_json/3.11.2' in local cache

      conanfile.txt: Installing package
      Requirements
          boost/1.75.0 from 'conancenter' - Cache
          bzip2/1.0.8 from 'conancenter' - Cache
          cgal/5.3.2 from 'conancenter' - Cache
          eigen/3.3.9 from 'conancenter' - Cache
          gmp/6.2.1 from 'conancenter' - Cache
          libbacktrace/cci.20210118 from 'conancenter' - Cache
          mpfr/4.1.0 from 'conancenter' - Cache
          nlohmann_json/3.11.2 from 'conancenter' - Cache
          zlib/1.2.13 from 'conancenter' - Cache
      Packages
          boost/1.75.0:adf48b8e4446dcb68f440fe42ff08878d5c7feed - Cache
          bzip2/1.0.8:da606cf731e334010b0bf6e85a2a6f891b9f36b0 - Cache
          cgal/5.3.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
          eigen/3.3.9:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
          gmp/6.2.1:7afb5e29f0f97ee06c193341f7883a4aefd39a8c - Cache
          libbacktrace/cci.20210118:6af9cc7cb931c5ad942174fd7838eb655717c709 - Cache
          mpfr/4.1.0:2a345fab1896a5e7007785742bbfa07f780e3aa2 - Cache
          nlohmann_json/3.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
          zlib/1.2.13:6af9cc7cb931c5ad942174fd7838eb655717c709 - Cache

      Installing (downloading, building) binaries...
      bzip2/1.0.8: Already installed!
      eigen/3.3.9: Already installed!
      gmp/6.2.1: Already installed!
      libbacktrace/cci.20210118: Already installed!
      nlohmann_json/3.11.2: Already installed!
      zlib/1.2.13: Already installed!
      boost/1.75.0: Already installed!
      mpfr/4.1.0: Already installed!
      cgal/5.3.2: Already installed!
      conanfile.txt: Generator cmake_find_package created FindCGAL.cmake
      conanfile.txt: Generator cmake_find_package created Findnlohmann_json.cmake
      conanfile.txt: Generator cmake_find_package created FindBoost.cmake
      conanfile.txt: Generator cmake_find_package created FindEigen3.cmake
      conanfile.txt: Generator cmake_find_package created Findmpfr.cmake
      conanfile.txt: Generator cmake_find_package created FindZLIB.cmake
      conanfile.txt: Generator cmake_find_package created FindBZip2.cmake
      conanfile.txt: Generator cmake_find_package created Findlibbacktrace.cmake
      conanfile.txt: Generator cmake_find_package created Findgmp.cmake
      conanfile.txt: Generator txt created conanbuildinfo.txt
      conanfile.txt: Aggregating env generators
      conanfile.txt: Generated conaninfo.txt
      conanfile.txt: Generated graphinfo
      Traceback (most recent call last):
        File "/tmp/pip-build-env-fgc45re9/overlay/local/lib/python3.10/dist-packages/skbuild/setuptools_wrap.py", line 612, in setup
          cmkr = cmaker.CMaker(cmake_executable)
        File "/tmp/pip-build-env-fgc45re9/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 148, in __init__
          self.cmake_version = get_cmake_version(self.cmake_executable)
        File "/tmp/pip-build-env-fgc45re9/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 103, in get_cmake_version
          raise SKBuildError(

      Problem with the CMake installation, aborting build. CMake executable is cmake
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cgshop2023-pyutils
Failed to build cgshop2023-pyutils
ERROR: Could not build wheels for cgshop2023-pyutils, which is required to install pyproject.toml-based projects

Interesting - what kind of problem could it have with your CMake installation?
What happens if you run the cmake command?

Ohh. Maybe our cmake version requirement is to high for an LTS system.
You could try to just edit CMakeLists.txt and lower the version e.g. to cmake_minimum_required(VERSION 3.17), which I believe should still work.

However, in this case I would actually believe scikit-build would have provided a better error message... but you could check the version of your cmake. If it is below 3.21 it may be too old for our script and you need to make the change of above.

Could we also try to avoid this situation by requiring a reasonably recent CMake version in the conan dependencies?
Well, I guess it may be difficult to convince skbuild of using that version if it invokes CMake itself...

Yes. We should do that. 3.21 has only been release 1.5years ago which is to new for some systems.

Ohh. We could also just state the dependency cmake[>=3.21] as it is available from PyPI. Don't know if this may interferes with the system's cmake. Reducing the required version should be easier.

Hm, I guess this will install another cmake that will be on the path inside the environment where the package is installed.
This will probably sidestep the issue of making scikit-build find that version of CMake that we would have with using conan to install CMake, so its a big upgrade on that idea.
I don't know what version of CMake is safe to drop back to. < 3.16 is very probably broken for our purposes because of how FindPython works with python virtual environments there (it doesn't really). 3.17 (as you suggested) may work.

I lowered the required CMake version and defined the necessary version in the toml. @hieu-lee  maybe you could test this so I can close this issue?

I worked when I do pip install . but it still doesn't work when I try pip install csghop2023-pyutils

Ok. I just checked: Ubuntu 20.04 LTS comes with cmake 3.16. So 3.17 is still too new. The build requirement only seems to work when installing it directly, not via PyPI (otherwise it should have failed too using the local installation). I don't know if 3.16 would still be ok for building.

Maybe we have to specify the required cmake version by cmake_minimum_required_version="3.17", in the setup.py and can not only specify it within the CMakeList.txt.

The latest version should fix this problem. @hieu-lee if you find the time, it would be nice of you to check it. Otherwise, I will just close this issue in a few days.


Table colouring and wrapping tags

Description
Closes none
Fixes the table colouring again and wraps tags when overflowing the page width.
Type of change
Please select the option that is relevant

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] All the required documentation is added.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.

Additional information

Thanks @ImreBoersma !


Support Avro schema for pulsar kafka client wrapper

Fixes https://github.com/apache/pulsar/issues/4228
(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)
Master Issue: https://github.com/apache/pulsar/issues/4228
Motivation
Use Avro schema in pulsar kafka client.
Modifications
Support schema of pulsar for pulsar kafka client
Verifying this change
Add Unit test
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

run java8 tests

run java8 tests

run java8 tests

run java8 tests
run integration tests

run java8 tests
run integration tests

@sijie PTAL

run java8 tests
run integration tests

@tuteng please rebase this pull request to latest master to fix the build errors.

@tuteng please rebase this pull request to latest master to fix the build errors.

done. Thank you

mark back to 2.4.1, since it bring conflict for #4671


Remove unneeded ground_based_people_detector_node_zed.cpp?

In the 1804 branch, we updated ground_based_people_detector_node_zed.cpp to check for sensor_type == "zed" and do the proper initialization. So, we can remove https://github.com/OpenPTrack/open_ptrack_v2/blob/1804/detection/apps/ground_based_people_detector_node_zed.cpp . Right?

You're right - I'll test just to make sure, and incorporate into my next commit.

Done here 0252f6417d3114bcba79ece78018f4f69dcafcba (with corresponding changes to CMakeLists.txt in the subsequent commit)


Nginx to proxy http relay url

Hi master,I have a problem with relay's http wich is proxy by nginx,When there is no relay HTTP address using the NGINX proxy the video play well,But if the relay HTTP was proxied by nginx,The video every few seconds it will freeze for probably about half a second,run choppy a few frames and then continue until it happens again.I have no idea to fix the problem,Here is my nginx config
upstream server121steam100001 {
               server <IP_ADDRESS>:10000;
       }
server {
               listen 8012;
               server_name swallow.unicysk.com;
               location / {
                       proxy_pass http://server121steam100001;
                       proxy_http_version 1.1;
                       proxy_set_header Upgrade $http_upgrade;
                       proxy_set_header Connection "Upgrade";
                       proxy_request_buffering off;
                       proxy_set_header Host $host;
                       proxy_set_header X-Real-Ip $remote_addr;
                       proxy_set_header X-Forwarded-For $remote_addr;
               }
               client_max_body_size 0M;
       }

Or can you provide your NGINX configuration to relay HTTP


Issue #956 solved

Closes #956

ISSUE #956 SOLVED

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] My change requires changes to the documentation.
[X] I have updated the documentation accordingly.
[X] All new and existing tests passed.

could u add some screenshots of ur work !


Move ActionOpt types into a subpackage of profiles

This change does not provide much value right now, but this will simplify the diff of an upcoming PR. Some other trivial refactoring changes from that upcoming PR have been picked here to further reduce the size of that diff.
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.836% (+0.007%) from 52.829%
when pulling d17db9db5049057097045dd0d123675ed6a64ee0 on rule-instance-refactor-prep
into e25716e60b96af81388f2661a8bdc62b64499492 on main.


Can't import from json.  Can't open from google drive

I am trying to transfer from one computer to the next.  I've tried this.

Export from old computer

Export creates JSON file
Import in new computer
Error "Unable to parse theFile"

Open file from GoogleDrive

Login with same account
I see a list of saved calls
click on the one I want and hit "Select"
screen on new computer does not populate the screen

Old computer is Win 8.1 - New computer is Win 10

I am seeing similar behavior on Fedora 24 chrome. When debugging, I see the message every time I try to load a .arc from my google drive.
elements.js:118349 What to do???

looks to be dup of #925
I am unable to load a .arc file via drive UI "open with" nor the "select" interface in ARC. The "open with" results in the following errors in the console:
window.localStorage is not available in packaged apps. Use chrome.storage.local instead.
elements.js:12652 /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
measureHeaderHeight @ elements.js:12652
main.js:585 Uncaught TypeError: Cannot set property 'opened' of null
at HTMLTemplateElement.app._mainPageSelected (main.js:585)
at HTMLElement.handler (elements.js:3386)
at HTMLElement.fire (elements.js:4152)
at HTMLElement._applySelection (elements.js:8726)
at Polymer.IronSelection.setItemSelected (elements.js:8368)
at Polymer.IronSelection.select (elements.js:8387)
at HTMLElement._selectSelected (elements.js:8674)
at HTMLElement._updateSelected (elements.js:8670)
at HTMLElement._complexObserverEffect (elements.js:4479)
at HTMLElement._effectEffects (elements.js:4314)

Hi,
thank you for the issue report.
Can you please check the exported file format? It should be something like this:
{
  "createdAt: String,
  "version": String,
  "kind": "ARC#SavedHistoryDataExport",
  "requests": [{
    "name": String,
    "method": String,
    "url": String,
    "type": String,q
    "headers": String,
    "payload": String,
    "created": String,
    "kind": "ARC#RequestData"
  }],
  "projects": [...]
}

Also, where have you exported the data? Is it was the import / export page, history or saved list?
Over the time the file export structure has changed. However, the latest version of the app should accept almost all older versions. Almost because I think it doesn't recognise the oldest format but it is not used for years now.
I'll be glad for checking this up.
Thanks

I was about to submit a new bug but decided to check to see if others had the same issue and they have. I will provide my would-be bug report as a comment here to hopefully help you get some new insight.
I'm having to migrate from Windows 7 to Windows 10. The export on Windows 7 produces verifiable correct json; however, the import fails with the error message: "Unable to parse the file." I tested this on the same box as well and the json generated by the Windows 7 installation cannot be imported to the same installation. This also occurs exporting the data from the settings menu with the same error messages. The vanilla installation on Windows 10 with no history generating the following complete json also failed to be parsed on the same installation:
{"createdAt":"2017-01-13T15:40:52.168Z","version":"<IP_ADDRESS>6","kind":"ARC#SavedHistoryDataExport"}
Expected outcome
What should happen?
History should be imported.
Actual outcome
What happened?
Error message: "Unable to parse the file."
Versions
App: <IP_ADDRESS>6-stable
Chrome: 55.0.2883.87
Platform: Windows (10)
App: <IP_ADDRESS>6-stable
Chrome: 55.0.2883.87
Platform: Windows (7)
Steps to reproduce

Export history of ARC to a json file.
Attempt to import that same history, get "Unable to parse the file."


Assertion failed: Could not find 'git' via 'C:\Windows\System32\where.exe'

Whenever I attempt to compile the driver powershell spits out the error "Assertion failed: Could not find 'git' via 'C:\Windows\System32\where.exe'" I installed everything asked of me in the pre requisite tab and restarded my PC to no avail. Why am I getting this error?

How do you compile it? The PowerShell scripts are meant to run on CI so I have no idea if they even work locally.

How do you compile it? The PowerShell scripts are meant to run on CI so I have no idea if they even work locally.

In powershell I use the command that is on the page, ".\build.ps1 -configuration release"

In powershell I use the command that is on the page, ".\build.ps1 -configuration release"

Works a treat over here, mate. Make sure your build environment has all the dependencies. Or build within Visual Studio.

Works a treat over here, mate. Make sure your build environment has all the dependencies. Or build within Visual Studio.


Live Preview: Randomizer uses dummy dataset even after entering data and saving project

Live preview projects use a dummy dataset for purposes of previewing prior to entering custom data. Currently, the Headline Randomizer continues to use dummy data even after actual data has been provided and the project saved.

Navigate to Autotune on staging
Create new headline randomizer project
Open preview to view dummy dataset
Enter actual data into appropriate fields and save
View Randomizer (http://staging.autotune.voxmedia.com/projects/racked-testing-again)
Open preview
Observe dummy data persists in preview

Verified fixed. Randomizer now correctly displays data in preview.


OCPP201: Report status in remote start and stop transaction callbacks

At the moment we can't reject a remote start this way, so this always reports back Accepted for now
Describe your changes
Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[x] I read the contribution documentation and made sure that my changes meet its requirements

Closed in favor of #890


ModuleNotFoundError: No module named 'requests_cache'

When I try to run just this:
from capiq.capiq_client import CapIQClient
then is gives the error above. Why is that, and how can I get it working?

@KING-SID did you perhaps find a solution for this?

pip install requests_cache resolves the issue.