Roundup: [oss-security] elfutils: memory allocation failure in __libelf_set_rawdata_wrlock (elf_getdata.c)

Here is a report from the oss-security mailing list for Vulnerability Roundup 27.
Skip to First Email
Instructions:
Identification
Identify if we have the software, in 16.09, 17.03, and unstable. Then determine if we are vulnerable, and make a comment with your findings. It can also be helpful to specify if you think there is a patch, or if it can be fixed via a general update.
Example:
unstable: we are not vulnerable (link to the package)
17.03: we are vulnerable (link to the package)
16.09: we don't have it packaged

IMPORTANT: If you believe there are possibly related issues, bring them up on the parent issue!
Patching
Start by commenting on this issue saying you're working on a patch. This way, we don't duplicate work.
If you open a pull request, tag this issue and the master issue for the roundup.
If you commit the patch directly to a branch, please leave a comment on this issue with the branch and the commit hash, example:
fixed:

release-16.09: abc123

Skip to First Email
Upon Completion ...

[ ] Update Graham's database

Info
Triage Indicator:
-needs-triage +roundup27 thread:0000000000002ade

File Search: https://search.nix.gsc.io/?q=elfutils&i=fosho&repos=nixos-nixpkgs
GitHub Search: https://github.com/NixOS/nixpkgs/search?utf8=✓&q=elfutils+in%3Apath&type=Code

Should the search term be changed from elfutils? Suggest a new package search by commenting:
-suggested:elfutils +suggested:correctPackageName thread:0000000000002ade

Known CVEs: CVE-2016-10255

Skip to End
Wed, 09 Nov 2016 15:38:04 +0100 Agostino Sarubbo <ago-at-gentoo.org>, 3155102.1YCGyAV9D0@blackgate
If it is suitable for a CVE please assign one. Thanks.

Description:
elfutils is a set of libraries/utilities to handle ELF objects (drop in
replacement for libelf).

During the fuzz of libdwarf, I noticed a memory allocation failure which
involves elfutils.
To have a double-check, the bug was first reported to the libdwarf maintainer
and then to the elfutils maintainer. Actually there is a proposed patch on the
elfutils mailing list, but nobody commented.

The complete ASan output:

# dwarfdump $FILE
==30083==ERROR: AddressSanitizer failed to allocate 0x8000003000
(549755826176) bytes of LargeMmapAllocator (error code: 12)
==30083==Process memory map follows:
	0x000000400000-0x0000006bb000	/usr/bin/dwarfdump-asan
	0x0000008ba000-0x0000008c2000	/usr/bin/dwarfdump-asan
	0x0000008c2000-0x0000008ff000	/usr/bin/dwarfdump-asan
	0x0000008ff000-0x0000015a3000
	0x00007fff7000-0x00008fff7000
	0x00008fff7000-0x02008fff7000
	0x02008fff7000-0x10007fff8000
	0x600000000000-0x602000000000
	0x602000000000-0x602000010000
	0x602000010000-0x603000000000
	0x603000000000-0x603000010000
	0x603000010000-0x604000000000
	0x604000000000-0x604000010000
	0x604000010000-0x607000000000
	0x607000000000-0x607000010000
	0x607000010000-0x611000000000
	0x611000000000-0x611000010000
	0x611000010000-0x612000000000
	0x612000000000-0x612000010000
	0x612000010000-0x613000000000
	0x613000000000-0x613000010000
	0x613000010000-0x614000000000
	0x614000000000-0x614000020000
	0x614000020000-0x619000000000
	0x619000000000-0x619000020000
	0x619000020000-0x61c000000000
	0x61c000000000-0x61c000020000
	0x61c000020000-0x61d000000000
	0x61d000000000-0x61d000020000
	0x61d000020000-0x624000000000
	0x624000000000-0x624000020000
	0x624000020000-0x625000000000
	0x625000000000-0x625000020000
	0x625000020000-0x640000000000
	0x640000000000-0x640000003000
	0x7f0afdc00000-0x7f0afdd00000
	0x7f0afde00000-0x7f0afdf00000
	0x7f0afdff0000-0x7f0b00342000
	0x7f0b00342000-0x7f0b004d5000	/lib64/libc-2.22.so
	0x7f0b004d5000-0x7f0b006d5000	/lib64/libc-2.22.so
	0x7f0b006d5000-0x7f0b006d9000	/lib64/libc-2.22.so
	0x7f0b006d9000-0x7f0b006db000	/lib64/libc-2.22.so
	0x7f0b006db000-0x7f0b006df000
	0x7f0b006df000-0x7f0b006f5000	/usr/lib64/gcc/x86_64-pc-linux-
gnu/4.9.3/libgcc_s.so.1
	0x7f0b006f5000-0x7f0b008f4000	/usr/lib64/gcc/x86_64-pc-linux-
gnu/4.9.3/libgcc_s.so.1
	0x7f0b008f4000-0x7f0b008f5000	/usr/lib64/gcc/x86_64-pc-linux-
gnu/4.9.3/libgcc_s.so.1
	0x7f0b008f5000-0x7f0b008f6000	/usr/lib64/gcc/x86_64-pc-linux-
gnu/4.9.3/libgcc_s.so.1
	0x7f0b008f6000-0x7f0b008f8000	/lib64/libdl-2.22.so
	0x7f0b008f8000-0x7f0b00af8000	/lib64/libdl-2.22.so
	0x7f0b00af8000-0x7f0b00af9000	/lib64/libdl-2.22.so
	0x7f0b00af9000-0x7f0b00afa000	/lib64/libdl-2.22.so
	0x7f0b00afa000-0x7f0b00bf7000	/lib64/libm-2.22.so
	0x7f0b00bf7000-0x7f0b00df6000	/lib64/libm-2.22.so
	0x7f0b00df6000-0x7f0b00df7000	/lib64/libm-2.22.so
	0x7f0b00df7000-0x7f0b00df8000	/lib64/libm-2.22.so
	0x7f0b00df8000-0x7f0b00dfe000	/lib64/librt-2.22.so
	0x7f0b00dfe000-0x7f0b00ffe000	/lib64/librt-2.22.so
	0x7f0b00ffe000-0x7f0b00fff000	/lib64/librt-2.22.so
	0x7f0b00fff000-0x7f0b01000000	/lib64/librt-2.22.so
	0x7f0b01000000-0x7f0b01017000	/lib64/libpthread-2.22.so
	0x7f0b01017000-0x7f0b01216000	/lib64/libpthread-2.22.so
	0x7f0b01216000-0x7f0b01217000	/lib64/libpthread-2.22.so
	0x7f0b01217000-0x7f0b01218000	/lib64/libpthread-2.22.so
	0x7f0b01218000-0x7f0b0121c000
	0x7f0b0121c000-0x7f0b01231000	/lib64/libz.so.1.2.8
	0x7f0b01231000-0x7f0b01430000	/lib64/libz.so.1.2.8
	0x7f0b01430000-0x7f0b01431000	/lib64/libz.so.1.2.8
	0x7f0b01431000-0x7f0b01432000	/lib64/libz.so.1.2.8
	0x7f0b01432000-0x7f0b01449000	/usr/lib64/libelf-0.166.so
	0x7f0b01449000-0x7f0b01649000	/usr/lib64/libelf-0.166.so
	0x7f0b01649000-0x7f0b0164a000	/usr/lib64/libelf-0.166.so
	0x7f0b0164a000-0x7f0b0164b000	/usr/lib64/libelf-0.166.so
	0x7f0b0164b000-0x7f0b0166d000	/lib64/ld-2.22.so
	0x7f0b017f7000-0x7f0b01860000
	0x7f0b01860000-0x7f0b0186c000
	0x7f0b0186c000-0x7f0b0186d000	/lib64/ld-2.22.so
	0x7f0b0186d000-0x7f0b0186e000	/lib64/ld-2.22.so
	0x7f0b0186e000-0x7f0b0186f000
	0x7ffff2f19000-0x7ffff2f3a000	[stack]
	0x7ffff2f3d000-0x7ffff2f3f000	[vvar]
	0x7ffff2f3f000-0x7ffff2f41000	[vdso]
	0xffffffffff600000-0xffffffffff601000	[vsyscall]
==30083==End of process memory map.
==30083==AddressSanitizer CHECK failed: /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_common.cc:183 "((0 && "unable to mmap")) !=
(0)" (0x0, 0x0)
    #0 0x4ca3ed in __asan::AsanCheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long) /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-rt/lib/asan/asan_rtl.cc:67
    #1 0x4d0f23 in __sanitizer::CheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long) /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_common.cc:159
    #2 0x4d1111 in __sanitizer::ReportMmapFailureAndDie(unsigned long, char
const*, char const*, int, bool) /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_common.cc:183
    #3 0x4da14a in __sanitizer::MmapOrDie(unsigned long, char const*, bool)
/var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/sanitizer_common/sanitizer_posix.cc:122
    #4 0x4224df in
__sanitizer::LargeMmapAllocator::Allocate(__sanitizer::AllocatorStats*,
unsigned long, unsigned long) /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/asan/../sanitizer_common/sanitizer_allocator.h:1033
    #5 0x4224df in
__sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<105553116266496ul,
4398046511104ul, 0ul, __sanitizer::SizeClassMap,
__asan::AsanMapUnmapCallback>,
__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<105553116266496ul,
4398046511104ul, 0ul, __sanitizer::SizeClassMap, __asan::AsanMapUnmapCallback>
>, __sanitizer::LargeMmapAllocator
>::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<105553116266496ul,
4398046511104ul, 0ul, __sanitizer::SizeClassMap, __asan::AsanMapUnmapCallback>
>*, unsigned long, unsigned long, bool, bool) /var/tmp/portage/sys-
devel/llvm-3.8.1-r2/work/llvm-3.8.1.src/projects/compiler-
rt/lib/asan/../sanitizer_common/sanitizer_allocator.h:1302
    #6 0x4224df in __asan::Allocator::Allocate(unsigned long, unsigned long,
__sanitizer::BufferedStackTrace*, __asan::AllocType, bool)
/var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-rt/lib/asan/asan_allocator.cc:368
    #7 0x4224df in __asan::asan_malloc(unsigned long,
__sanitizer::BufferedStackTrace*) /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-rt/lib/asan/asan_allocator.cc:718
    #8 0x4c0ab1 in malloc /var/tmp/portage/sys-devel/llvm-3.8.1-
r2/work/llvm-3.8.1.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:53
    #9 0x7f0b0143c206 in __libelf_set_rawdata_wrlock /tmp/portage/dev-
libs/elfutils-0.166/work/elfutils-0.166/libelf/elf_getdata.c:318
    #10 0x7f0b0143c5db in __elf_getdata_rdlock /tmp/portage/dev-
libs/elfutils-0.166/work/elfutils-0.166/libelf/elf_getdata.c:521
    #11 0x580659 in dwarf_elf_object_access_load_section
/tmp/dwarf-20161001/libdwarf/dwarf_elf_access.c:1312:16
    #12 0x5b5142 in _dwarf_load_section
/tmp/dwarf-20161001/libdwarf/dwarf_init_finish.c:1139:11
    #13 0x6082ae in _dwarf_load_debug_info
/tmp/dwarf-20161001/libdwarf/dwarf_util.c:855:11
    #14 0x57043f in _dwarf_next_cu_header_internal
/tmp/dwarf-20161001/libdwarf/dwarf_die_deliv.c:819:32
    #15 0x572fcd in dwarf_next_cu_header_d
/tmp/dwarf-20161001/libdwarf/dwarf_die_deliv.c:629:15
    #16 0x512f4f in print_one_die_section
/tmp/dwarf-20161001/dwarfdump/print_die.c:660:16
    #17 0x512262 in print_infos
/tmp/dwarf-20161001/dwarfdump/print_die.c:371:16
    #18 0x4faaea in process_one_file
/tmp/dwarf-20161001/dwarfdump/dwarfdump.c:1371:9
    #19 0x4faaea in main /tmp/dwarf-20161001/dwarfdump/dwarfdump.c:654
    #20 0x7f0b0036261f in __libc_start_main /var/tmp/portage/sys-
libs/glibc-2.22-r4/work/glibc-2.22/csu/libc-start.c:289
    #21 0x419588 in _start (/usr/bin/dwarfdump-asan+0x419588)

Affected version:
0.166

Fixed version:
N/A

Proposed patch:
<EMAIL_ADDRESS>
Credit:
This bug was discovered by Agostino Sarubbo of Gentoo.

CVE:
N/A

Reproducer:
https://github.com/asarubbo/poc/blob/master/00031-elfutils-memalloc-__libelf_set_rawdata_wrlock

Timeline:
2016-10-03: bug discovered
2016-10-21: bug reported to upstream
2016-11-04: blog post about the issue

Note:
This bug was found with American Fuzzy Lop.

Permalink:
https://blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-in-__libelf_set_rawdata_wrlock-elf_getdata-c

Skip to End

Wed, 22 Mar 2017 11:16:30 +0100 Agostino Sarubbo <ago-at-gentoo.org>, 2236717.WYepoSom2j@blackgate
On Wednesday 09 November 2016 15:38:04 Agostino Sarubbo wrote:
> Permalink:
> https://blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-i
> n-__libelf_set_rawdata_wrlock-elf_getdata-c

This is CVE-2016-10255

--
Agostino Sarubbo
Gentoo Linux Developer

Skip to End

Fixed.


feat(autoscale): add the ability to define autoscale rules per process type on an app

ref https://github.com/deis/controller-sdk-go/pull/89

Current coverage is 16.45% (diff: 28.46%)

Merging #208 into master will increase coverage by 0.43%

@@             master       #208   diff @@
==========================================
  Files            51         53     +2
  Lines          3596       3726   +130
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            576        613    +37
- Misses         2938       3025    +87
- Partials         82         88     +6

Powered by Codecov. Last update 0da35d8...dff7bcf


duplicate routines

I just pulled the latest version and when I load it up I get the following error:
Error Type: Application : [N/A]
Error Messages: Routines cannot be declared more than once.
The routine getBrushByType has been declared twice in different templates.
N

cannot reproduce


Missing quaternion.py when Constructing Music-to-Dance Benchmark

Great work!
After installing required packages. I met the following problem when constructing the Music-to-Dance Benchmark.
Traceback (most recent call last):
  File "/mnt/Projects/MotionCraft/data/datasets/finedance/pre_motion.py", line 12, in <module>
    from quaternion import ax_to_6v, ax_from_6v
ModuleNotFoundError: No module named 'quaternion‘

Great work! After installing required packages. I met the following problem when constructing the Music-to-Dance Benchmark.
Traceback (most recent call last):
  File "/mnt/Projects/MotionCraft/data/datasets/finedance/pre_motion.py", line 12, in <module>
    from quaternion import ax_to_6v, ax_from_6v
ModuleNotFoundError: No module named 'quaternion‘

Sorry about the missing file! I will be adding the relevant documents in the coming weeks, or you can directly use the Pytorch3D API, as this part is equivalent to the implementation in the Pytorch3D API.


Added more friendly search

When typing, I can type tv or dvd instead of TV and DVD

Thanks, made the change to the development channel


Flag to specify particular version

Since the scripts always download the latest available version of substrate (or the ui etc) it is challenging to use these scripts when following published tutorials. This situation has led to eg https://github.com/shawntabrizi/substrate-package being created and maintained.
I would like to specify something like --source <commit hash> to get a particular version.

here's a similar example for reference, just need to tweak it https://github.com/paritytech/scripts/pull/56/files#diff-b7b79349393e65ecfcc7c4cd6c9e8e11R225


fix: timestamps stored as incorrect type

Timestamps are currently using (behind a layer or 2 of abstraction) a time.Duration instead of time.Date

Closed with #63


Bump msgs, transport, and fuel-tools version in Harmonic

🎉 New feature
Summary
Bumping to use the new msgs, transport, and fuel-tools versions in Harmonic: msgs10, transport13, fuel-tools9
Depends on:
https://github.com/gazebosim/gz-fuel-tools/pull/326
https://github.com/gazebo-tooling/release-tools/pull/876
Part of https://github.com/gazebo-tooling/release-tools/issues/878
Checklist

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

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

This PR is ready for review. Harmonic CIs are now working.

@osrf-jenkins run tests please.


Multiple items per transactions and retrieving patterns

Hi,
is it possible to specify multiple items per transaction?
For instance,
[  [0, [1,2], 3],  [0, 1, 3],  [4, 5, 0, [1,2], 3] ]
Would also have the pattern [0, [1,2], 3] observed two times. Second, is it possible to specify that the framework should return all patterns that meet the minimum support criteria, without knowing how many there are in advance?
Thanks for a great tool! It seems to be super fast, even for millions of sequences.

Currently, having multiple items per event is not supported. It is because there are three algorithms, and I prefer adding this kind of support to all of them. This is on the todo list.
For your second question, the algorithms returns all the frequent (closed/generator) patterns w.r.t. the minimum support threshold.


CNV-28829: Update EnableInstanceTypeTechPreviewModal

📝 Description
This is the manual cherry pick of
https://github.com/kubevirt-ui/kubevirt-plugin/pull/1362
Update the text in InstanceType tech preview modal according to the changes in the related design doc:

omit "and quick" in the 1st sentence of the modal text

Remove "Enable" button and make "Go to Catalog" as primary action for non-admin users.
Related feature:
https://issues.redhat.com/browse/CNV-28829
Design:
https://docs.google.com/document/d/1uVW60mDyFkm3Qy181SDFjHBazx8Bwi-opQaUl6e-2Qw/

/lgtm


sphinx_build with 1.7.0

Hi Doug,
Have you tried this with Sphinx 1.7.0 ?  My project that uses paverutils just broke when I upgraded.  Works fine on 1.6.3.  The funny thing is the sphinx-build command it emits seems to work ok if I copy it and run it from the shell, but it dies when started up by paver.   Reverting to 1.6.3 is fine.
Here is the error message in case it rings any bells for a place for me to start looking.
error: cannot find files [path('./build/thinkcspy')]

Thanks,
Brad

This seems like a likely culprit:  https://github.com/sphinx-doc/sphinx/pull/3668

6268e5952fa564cefac05c06823b929a60522613 should fix this.


update packages

:x: Build TheIdServer 4.5.2-fix-dependencies1-0002 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/925bf7c092 by @)

:white_check_mark: Build TheIdServer 4.5.2-fix-dependencies.1+2.build.2041 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/925bf7c092 by @)


Provide a way to enable certificate owner ref feature so secrets are cleaned up on delete

ref https://github.com/jetstack/cert-manager/pull/1828

@kraman just to clarify, you want an option to enable secret deletion when certificates are refreshed/renewed.
eg.: a field enableSecretDeletion in cert-manager operator CR?

@swati-nair An option to delete the secret if the certificate object that generated it was deleted. It should not be deleted if cert is renewed.

@swati-nair any update on this?


Fix Block Bitmap Calculation

Fixes https://github.com/aws/ota-for-aws-iot-embedded-sdk/issues/503
Description
Multiply buffer size by element size (byte). Maybe this should use sizeof(*pFileBitmap).
I am not able to run the unit tests as I only have access to a mac and the unit tests depend on mqueue.h.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is formatted using Uncrustify.
[x] I have read and applied the rules stated in CONTRIBUTING.md.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for updating the PR, sorry for the delay. Please take a look at the PR checks and correct the issues, you seem to be missing a closing parentheses on line 2268 in ota.c. Thank you!

Sorry about that, I couldn't run the tests locally.

/bot run formatting

Hi, is this going to be merged?

Hi, @BogdanTheGeek, my apologies for the delay. Reviewing the remaining checks now.


Jetstream Controller does not support to update stream CRD's “sources” field

Create a stream CRD, for example mystream
mystream has "sources" field
Jetstream Controller can create a stream named "mystream" with "sources" info in the NATS cluster.
Edit the mystream CRD by kubectl, and add another source to the "sources" array
Then Jetstream Controller just "delete" the "sources" info from "mystream" in the NATS cluster.

before

edit CRD

after

I've opened a PR to try to solve this issue plus be able to update mirror field too https://github.com/nats-io/nack/pull/99

Fixed via #99


How to implement walking policy training with steerable controller?

Hi and thanks again for your amazing work.
Since the provided code exclusively covers imitation, I am trying to implement myself the humanoid walking policy with directional input.
To do so, I am following the details in the paper, and in particular Sec. 9 - Target Heading.
I have a couple of questions on implementation details to begin with:

How are desired directions d_t^* and speeds v^* randomly generated during policy training? Are they varied in order to produce "informative" bends, changes in pace and otherwise rich walking behaviors? If this is the case, could you please explain it at an implementable level of detail?
Which is the most convenient way for easily extracting v_t, the center-of-mass velocity of the simulated character?

Thanks a lot.

You can get the center of mass by calling cSimCharacter::CalcCOMVel().
To vary the target heading during training, we just apply some random gaussian noise to the heading direction every timestep. The noise is fairly small. But with something like 10% probability, at every timestep, we will also just sample a completely new heading direction between [-pi, pi]. This encourages the policy to also learn sharp turns.

I know DeepMimicCore.sln is to build DeepMimicCore.py, but what is the use of DeepMimic.sln?
Also, do I have to set the path of OpenGL, GLEW, freeGlut when building DeepMimicCore.py?
Can Anybody help me, please, btw, I'm using windows10.

@I know DeepMimicCore.sln is to build DeepMimicCore.py, but what is the use of DeepMimic.sln?
Also, do I have to set the path of OpenGL, GLEW, freeGlut when building DeepMimicCore.py?
Can Anybody help me, please, btw, I'm using windows10.

You can get the center of mass by calling cSimCharacter::CalcCOMVel().
To vary the target heading during training, we just apply some random gaussian noise to the heading direction every timestep. The noise is fairly small. But with something like 10% probability, at every timestep, we will also just sample a completely new heading direction between [-pi, pi]. This encourages the policy to also learn sharp turns.

You can get the center of mass by calling cSimCharacter::CalcCOMVel().
To vary the target heading during training, we just apply some random gaussian noise to the heading direction every timestep. The noise is fairly small. But with something like 10% probability, at every timestep, we will also just sample a completely new heading direction between [-pi, pi]. This encourages the policy to also learn sharp turns.

@xbpeng I have tried the above approach but the result is usually the agent walking in circles (like it is taking an average of the heading). I am wondering what is the ratio of the heading and pose reward for getting a heading behavior?
Also 10% at every timestep seems very high, like is this timestep 0.00166667?

Yes you will need to tune the weight between the heading and pose reward. For our tasks we were using 0.7 for the weight of the imitation reward and 0.3 for the heading reward. To debug, it might be helpful to just fix the target heading to always point in one direction (e.g. the positive x direction) and see if the character learns to walk straight.
Oh, sorry I  forgot about a little detail for the target heading. We are not updating the target heading every environment step. We update the target heading once every 0.25 seconds by applying uniform noise between [-0.15, 0.15]rad to the current heading. Then we also have a 10% prob every 0.25 seconds of  changing to a completely random heading. Sorry about the confusion. See if these new settings help at all.

Dear @xbpeng,
I was wondering if the 5 walking, running and jogging clips with different turning radii which you mentioned in Section 10.2 of the paper and show in the main video are downloadable somewhere or could kindly be provided, since I want to investigate the performance gap between single-clip and multi-clip integration steerable walking controllers.

Sure, you can find the motions here:
https://drive.google.com/drive/folders/1TRINX1efQQV4KkWeOQjhYGNoz8PHKqgT?usp=sharing

Thank you so much!

@xbpeng @raffaello-camoriano @ZhengyiLuo
Do I have to add heading_reward here?

@xbpeng Should I set root_w = 0 after adding the heading-based task_reward?
There seems to be a conflict between task_reward and pure-imitation root_w * root_reward, since:

root_reward includes root position and orientation mismatch which penalize any non-straight-walking behaviour
task_reward, on the other hand, rewards walking with a generic heading

I also modified the code for expressing the end_eff_reward relative to the Sim or Kin humanoids' root instead of the world frame, but this is not enough to fix the issue.
The best behaviour obtained with these settings is the humanoid walking in circles, e.g. as follows:

Do you have any suggestions?
Thank you.

@xbpeng @raffaello-camoriano @ZhengyiLuo
Do I have to add heading_reward here?

Yes.

@xbpeng @raffaello-camoriano @ZhengyiLuo
Do I have to add heading_reward here?

Yes, you can add an additional reward term for the heading there.

@xbpeng Should I set root_w = 0 after adding the heading-based task_reward?
There seems to be a conflict between task_reward and pure-imitation root_w * root_reward, since:

root_reward includes root position and orientation mismatch w.r.t. straight-walking MoCap (which I could not find in Sec. 5.3), which penalizes non-straight-walking
task_reward, on the other hand, rewards walking with a generic heading

I also modified the code for expressing the end_eff_reward relative to the Sim or Kin humanoids' root instead of the world frame, but this is not enough to fix the issue.
The best behaviour obtained with these settings is the humanoid walking in circles.
Do you have any suggestions?
Thank you.

Yes, it might be a good idea to disable the root reward if you are going to add the heading term. You can also play around with the weights for the different objectives a bit to get the desired behaviours. I'm not sure why the character would be walking in circles. But sounds like it could be an issue with the heading reward?

@xbpeng , first of all, thanks for sharing your outstanding work. I'm trying to implement the heading too. Thanks for the extra details about how and when you change the heading (and also for the extra motion files with human turning left and right). Looks a challenging task.
In addition, I have added the reward here:
double cSceneImitate::CalcReward(int agent_id) const
{
	const cSimCharacter* sim_char = GetAgentChar(agent_id);
	bool fallen = HasFallen(*sim_char);

	double r = 0;
	int max_id = 0;
	if (!fallen)
	{
		if (haveGoalDir()) {
			r = CalcRewardImitate(*sim_char, *mKinChar) * 0.7 + CalcRewardGoal(*sim_char, *mKinChar) * 0.3;
		} else {
			r = CalcRewardImitate(*sim_char, *mKinChar);
		}
	}
	return r;
}

double cSceneImitate::CalcRewardGoal(const cSimCharacter& sim_char, const cKinCharacter& kin_char) const
{
	double reward = 0.0;
	auto ct_ctrl = dynamic_cast<cCtController *>(this->GetController().get());
	if (ct_ctrl != nullptr)
	{
		const auto goalDir = ct_ctrl->GetGoalDir();

		// Get the Center-Of-Mass velocity along the XZ plane only...
		tVector com_vel0_world = sim_char.CalcCOMVel();
		com_vel0_world.y() = 0.0;
		com_vel0_world.normalize();

		const auto angle = __max(0.0, 1.0 - com_vel0_world.dot(goalDir));
		reward = exp(-2.5 * angle * angle);
	}
	return reward;
}

How much it looks correct in your opinion? :)


add support for @starting-style

Description

Add support for @starting-style (see #318)
Related Issue
fixes #318
Motivation and Context
Allows parsing @starting-style (see #318)
How Has This Been Tested?
Added new test
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project..
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thank you for your quick support and for releasing this change :)
I created two upstream issues and prs to upgrade to @adobe/css-tools 4.4.0:

https://github.com/styled-components/jest-styled-components/issues/447
https://github.com/testing-library/jest-dom/issues/603


Added iPhone 6s, 6s Plus & iPad Pro simulator configurations

Thanks!

@facebook-github-bot shipit


Adding orientation to injection

Coverage increased (+0.002%) to 74.15% when pulling 266ab1586b2b2cb0b26dd83640c573cde0e75d17 on jiwalker-usgs:svg-inject into e4242901f8a81c921e006767ce4ca28070f42fd5 on USGS-VIZLAB:master.


Message on console when manually editing url in links, withing html file

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

PowerShell
ms-vscode
0.7.2

Steps to Reproduce:

Open any html file that includes links
Edit the href value of an existing link and delete some random characters of the url. The output console shows this message for the category "HTML Language Server"

duplicate of #15018


WelcomeScreen Preliminary

Coverage decreased (-1.6%) to 86.989% when pulling f565291afd68f60efd808faf97075ddc44f22dc5 on CT15:v1.5 into f46e95d6b5c2331ffaac1907457e65ef8ef71304 on CS2103AUG2017-T15-B2:master.

Coverage decreased (-1.8%) to 87.429% when pulling 15611185e51655214cab276c731c3a75d9eb1f59 on CT15:v1.5 into aa06febb83bb7438f7b329bdde18335c07493d9f on CS2103AUG2017-T15-B2:master.


fix typos and syntax errors, and paraphrase

Some enhancements are made to the original writeup, which include,

fixing multiple typos and syntax errors,
paraphrasing some sentences to make the writing idiomatic,
trimming whitespaces.

There are some other issues which I could not address as the figure editing will be involved.

"This expression can be seen as the three linear combinations in the right in one formula." for both P1 and P2 in Figure 7.  "seen" is better to be replaced with "viewed" and "in the right" shall be "on the right". The latter has been systematically applied to The-Art-of-Linear-Algebra.tex, Illustrations.pptx, and Graphic-Notes-on-LA4E-v1.1.pptx.
"This pattern makes another combination of columns" in Figure 9. "reveals" is more appropriate than "makes".
"A matrix is broken down to a sum of rank 1 matrices" in Figure 10.  For "broken down to", "decomposed into" is the better way to go.

Finally, the very last sentence in Conclusion and Acknowledgement (i.e., "An important part of the matrix world.") seems to be isolated from the context and makes the concluding remark very weird! The Chinese version (probably as a direct translation of its English counterpart) has the same problem.

hi, @jdlph , thank you for your contribution!
I want to pull and merge only the main .tex and fix other pptx file on my side.
So could you resend a PR including only the main .tex file to me, again ?

Hi @kenjihiranabe, I have reverted Illustrations.pptx and Graphic-Notes-on-LA4E-v1.1.pptx to commit 906fd31 per your request.
For some reason, Illustrations.pptx still shows some change while Graphic-Notes-on-LA4E-v1.1.pptx is successfully reset. I have double checked the content of Illustrations.pptx and confirmed the changes I made on "in the right" are all reverted. You may want to verify on that.

all done! thanks.


Template literals

Template strings are actually quite complicated, since they can create 4 different grammar elements:
* `foobar`
* `foo${
* }bar{
* }baz`

Closed wtih #24


Support for SYLT

Empty issues are closed on principal. Please provide more info (templates are provided).
This is up to fb2k itself. If fb2k provides a way to reliably read from and write to SYLT tags, then openlyrics will support it (as for USLT). Until then, this is not something I can do.


Propagate the underlying parse error

Found while diagnosing https://github.com/hyperledger/firefly/issues/990#issuecomment-1221077085, that we didn't include the underlying error when we had a problem parsing the input for the Ethereum implementation of the /api/v1/contracts/interfaces/generate endpoint.

Codecov Report

Merging #992 (7515b87) into main (de314c8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #992   +/-   ##
=======================================
  Coverage   99.99%   99.99%
=======================================
  Files         301      301
  Lines       19815    19815
=======================================
  Hits        19814    19814
  Misses          1        1

Impacted Files
Coverage Δ

internal/blockchain/ethereum/ethereum.go
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


stu: 0.5.0 -> 0.5.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/lusingander/stu/releases.
meta.description for stu is: Terminal file explorer for S3 buckets
meta.homepage for stu is: https://lusingander.github.io/stu/
meta.changelog for stu is: https://github.com/lusingander/stu/releases/tag/v0.5.1
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.1 with grep in /nix/store/3xydwpiz4h9nh6s8pqqmhyzihx719481-stu-0.5.1
found 0.5.1 in filename of file in /nix/store/3xydwpiz4h9nh6s8pqqmhyzihx719481-stu-0.5.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

stu

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3xydwpiz4h9nh6s8pqqmhyzihx719481-stu-0.5.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A stu https://github.com/r-ryantm/nixpkgs/archive/5362da9ab92424aa546b171a26d2b44493453ba4.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/5362da9ab92424aa546b171a26d2b44493453ba4#stu

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3xydwpiz4h9nh6s8pqqmhyzihx719481-stu-0.5.1
ls -la /nix/store/3xydwpiz4h9nh6s8pqqmhyzihx719481-stu-0.5.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

stu

Maintainer pings
cc @Nebucatnetzer for testing.

Result of nixpkgs-review pr 329241 run on x86_64-linux 1

1 package built:

stu


"See more" button in Queue

That'd be great to have the possibility to see more tracks in the queue.

Isn't the scrolling sufficient?

kind of, but ATM you can scroll to the end of the queue, it it is much shorter than actual playlist/library

Isn't the scrolling sufficient?

We won't display 3000 tracks if there's 3000 tracks in the queue. This would implies to do a dynamic loading like what I did for TracksList. Another solution of course is dynamically load 20 more after a certain scroll.

Scrolling is more accessible than mixing scroll & button IMO. I do not recommend to do that feature with a button, think about 3000 tracks displayed 50 per 50 for example.

That's true, but usually you should not need to access the 3000th track. I copied that behavior from iTunes. I'm fine with a scroll :)


IsADirectoryError: making read_csv accept a string path to a folder without wildcards

This is a minor issue, but dask.dataframe.read_csv can accept a string containing path to a folder with wildcards, e.g. testfolder/*.csv. However, passing just testfolder will result in IsADirectoryError. The same error will not appear for read_parquet, so I was wondering if there is any reason to have a different treatment for csv files? Below is the mcve:
import dask.dataframe as dd
import numpy as np

# create a df with multiple blocks
df = dd.from_array(np.array([x for x in range(10)]), chunksize=5, columns=['a'])

# define a path (note all the functions below will work if the path is changed to 'test/*')
testpath = 'test/'

df.to_parquet(testpath) # this works
dd.read_parquet(testpath) # this works

# run this if in jupyternotebook (otherwise delete the folder before running the commands below to ensure that the folder contains only csv files)
!rm -vrf {testpath}

df.to_csv(testpath) # this works
dd.read_csv(testpath) # this doesn't work

Comparing the relevant code in https://github.com/dask/dask/blob/master/dask/dataframe/io/parquet/core.py and https://github.com/dask/dask/blob/master/dask/bytes/core.py, it seems that the behaviour in read_csv can be changed to accept just a string path to a folder (without wildcards), so perhaps there is a reason this was not implemented?
However, if this is something that is OK to be implemented, I will be happy to contribute (some handholding would be appreciated).
Environment:

Dask version: 2.21.0
Python version: 3.8
Operating System: Linux
Install method (conda, pip, source): conda

Hmm, I think I understand the potential reason not to have it. read_parquet can still work on a folder in the presence of other files because of the metadata. To have the same behaviour for csv files (the name need not necessarily have the .csv extension), one needs to assume that the folder contains only files in one format (which to me seems reasonable, but maybe this was the precautionary concern for not accepting a path to a folder).

Hi @SultanOrazbayev -- thanks for raising this.  I think the different handling is more a function of the relative age of each read_* method.  (I could be wrong about that).
If you want to take this on, I think it would be a good addition.

OK, I know how to spend the next weekend.

:)
On Mon, Aug 3, 2020 at 9:07 AM SultanOrazbayev<EMAIL_ADDRESS>wrote:

OK, I know how to spend the next weekend.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/6476#issuecomment-668107135, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTGPKQSC7LFVH7ULT2DR63OFHANCNFSM4PRCGF6A
.

So after implementing this and trying it out under various scenarios, I feel that actually the existing approach based on globstrings is simpler, and allowing just directories will introduce unnecessary complexity (how to deal with nested directories, symlinks, etc.), so my guess is that it's best to leave things as they are. Just in case, my implementation is here: https://github.com/SultanOrazbayev/dask/commit/511ea7194c9d71f7d059ba754e9c6a06e2cf1c52

Thanks for trying it out anyways!


Import from Google Keep - $500

Please upvote this issue if you would like to see Google Keep as an import format.
Bounty
See the Contribution guidelines for how to claim this bounty.
Bounty: $500 USD
Timeframe: 10 days
Requirements
By using the existing HTML importer you should be to convert Google Keep's HTML export

[ ] Must work on macOS, Windows, Linux
[ ] Convert to proper Obsidian Markdown formatting
[ ] Maintain folder structure
[ ] Apply the created/modified date to the created Markdown file
[ ] Follow the user's setting for Default location for new attachments
[ ] Use Obsidian-style embed links for attachments ![[image.png]]

Current solutions

See Obsidian forum
obsidian_google-keep-import

This (apparently) exists: https://github.com/daledesilva/obsidian_google-keep-import

Hi!
I would like to apply for this bounty.
I am the developer of the Google Keep Import community plugin and so I am already familiar with format and the requirements.
In maintaining that plug-in, I have also been able to learn about different users setups and expectations in importing their keep notes that would allow me to more efficiently rewrite it for core inclusion.

@daledesilva ok! You're assigned! Let us know in the Discord channel if you have any questions 😊

Please make sure to submit your PR by end of day (GMT) on August 4th, 2023. Thanks!

I've submitted my PR here, but noted that I didn't meet the requirement of following the users default location for new attachments.
I was going to fix it, but I'd like to question it. I don't think this is the best approach.
Importing from Google Keep is a one time operation, so if the files land in an different assets folder, it is really just a quick drag and drop for them to move it where they would like, or to delete them if the import didn't meet their expectations somehow.
On the flipside, if the attachments go into their default attachment location, and the import doesn't meet their expectations, all the Keep attachments will now be dispersed amongst their normal attachments and it will be very hard for them to remove - they would have to somehow identify each file and select them one at a time.
My suggestion is that we leave it as is and if they want to move the files they can do it after confirming the import went well.

I think that's actually degrading the experience slightly.
It means more options for the user before import, whereas we can very safely just import it all and if they wanna rename the folder later once they see how it works they can without problem.

Options before would make sense if this was an action they do periodically, as it would save them having to rename each time (if we remembered their options).
But I think this is really a one time operation for users.

Oh, I think I misunderstood what you said slightly.
We could move the folder...
From this (currently):
Google Keep/Assets
To:
default import folder/Keep Assets/
Happy to do it if you want, but I think it's better as is. Currently it keeps all the imported stuff together for easy one click deletion if anything goes wrong. And they can easily move the folder or files if they're happy with it.
I agree with the sentiment of staying consistent with user preferences, but I think one time imports from another program are special use cases that have different needs and expectations from the user.

As a counter point, what I describe above probably works differently from the other importer formats, so that's important to consider too.
Happy to do whatever, will wait for the final call.


Configuration set up

Dear Team,
Please provide wiki or help document for how to implement or use this tool. This would be helpful for everyone.
Cheers
velan

We've added wiki to the project. We hope that it's enough to try Nostradamus.


Remove ic_launcher images

The library contains ic_launcher resources, with the default Android icon (For example https://github.com/rey5137/material/blob/master/lib/src/main/res/drawable-hdpi/ic_launcher.png). Since ic_launcher is the common name for the launcher icon, this may lead into trouble for apps using your library.
In my case, I didn't have the mdpi launcher icon, which led to your Android ic_launcher icon being shown on mdpi devices, instead of scaling down my hdpi version.

I removed it in next version.


Join App Update

[ ] Join Landing Page
[ ] Join Onboarding Flow in Accounts
[ ] Persona Questions in Accounts

Join Landing Page

user can now signup ing /join

Join Onboarding Flow in Accounts

user will proceed to onboarding flow if no instance and no invites and isNewuser

Persona Questions in Accounts

persona question will be triggered if user has no persona


ingress.yaml has error

Hi,
I am using k8s 1.17 version.
now ingress.yaml does not work for me.
if you can change flie like below,
it works well!
{{- if .Values.ingress.enabled -}}
{{- $serviceName := include "sonarqube.fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" -}}
apiVersion: networking.k8s.io/v1
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress" -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
  name: {{ template "sonarqube.fullname" . }}
  labels:
    app: {{ template "sonarqube.name" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
{{- if .Values.ingress.labels }}
{{ .Values.ingress.labels | toYaml | trimSuffix "\n"| indent 4 -}}
{{- end}}
{{- if .Values.ingress.annotations}}
  annotations:
    {{- range $key, $value := .Values.ingress.annotations }}
    {{ $key }}: {{ $value | quote }}
    {{- end }}
{{- end }}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }}
spec:
...

Hi @Hokwang ,
kubernetes 1.17 is eol since January if i recall correctly. you should probably take this as a hint to update your cluster :wink:

@tobias-trabelsi-sonarsource
that's right, but when if you edit, you can support whole version of kuberentes simply.

tbh i don't think it makes sense to create a compatibility for a kubernetes version that was eol before we even published this helm chart. also we are very explicit which version of k8s and sq are currently supported in the README.md


Suggest a topic

For support questions about OpenShift, please use StackOverflow.
This repository's issue tracker is only for issues related to the OpenShift cookbook content. It is not a forum for asking about how to use OpenShift, or to get help with problems you are having with using OpenShift.
This issue template is for suggesting a new topic to be included in the OpenShift cookbook. Please provide answers to the following questions.
What is the new topic you would like to added to the OpenShift cookbook?
Summarize storage use
If this is to help you solve a specific problem, can you describe that problem?
See how much disk space is being used in a project. Basically, add up all the PVC's requested. Not sure if there are any other items to consider. Trying to answer a basic "how much storage do I need" for a project after building it up over time.

This is one option:
oc get pvc | tail +2 | awk -F" +" '{sum += $4} END { print sum }'


[MPWG page] Add Quote guidelines under Testimonials

@rstjames,
Can you please find a way to add https://github.com/eclipse/microprofile-marketing/wiki/Quote-Submissions-Guidelines:-MicroProfiler-Testimonials on the https://microprofile.io/workinggroup/#testimonials section?
After today's discussion, we need the how to in the section like a call to action to bring anyone who reads the quotes to submit quotes if desired.
Thanks,

Updated.

the improvement is fantastic, thank you!


How to reset a peripheral RP2040(SPI1)

I am working on extending the spi implementation to include a slave configuration for the RP2040 hal.
This does require a resetting of the peripheral and I am not sure how to interact with these functions below:
Please elaborate on usage and the meaninf of the Peripherals struct.  Is this the correct way to do a reset like:
reset(&mut p.SPI1);
In embassy_rp/src/reset.rs:
These functions are provided:
pub unsafe fn reset(peris: Peripherals) {
pac::RESETS.reset().write_value(peris);
}
pub unsafe fn unreset_wait(peris: Peripherals) {
// TODO use the "atomic clear" register version
pac::RESETS.reset().modify(|v| *v = Peripherals(v.0 & !peris.0));
while ((!pac::RESETS.reset_done().read().0) & peris.0) != 0 {}
}

It's a bitfield with one bit per peripheral. Initialize it to all zero bits, then set the bit for the peripheral you want, then use it:
let mut p = Peripherals(0);
p.set_spi1(true);
reset(p);
unreset_wait(p);


Fix #21. Fix uncaught type error.Expected an object with start and end properties

This change is a quick fix for the issue (uncaught type error. expected an object with start and end properties) by checking for the empty object. (Replicated this issue on Mac OS X)
Fix #21.

Thanks for the submission. While this fixed the error, it didn't fix the deprecation or the broken tests. I found a better way to fix the error ultimately so this has been superseded by #24.
Thanks again for the help!


GP2040-CE 0.7.7 Oled screen configuration problem.

Device :Homemade flatbox  WAVESHARE RP2040 Zero and 0.96" oled screen 128X64 I2C IIC
Firmware : GP2040-CE_0.7.5_WaveshareZero
The problem that I am having is that when I try to upgrade to 0.7.7 with nuke install , the screen doesn't work anymore.
According to other users experience when I posted the issue to discord support channel https://discordapp.com/channels/1049366310389289001/1212816199742656522 from firmware version 0.7.6 and onwards the i2c1 isn't working for my device and probably and some others .There isn't any issue with i2c0 when assigning pins 00-01 as descirbed at discord support channel but is not convenient to use them with the wave share board  .
Other users at the support channel were able to reproduce the problem described at the support channel.

Pending investigations, though reproduction has been spotty at the moment.

Yes I have tested 0.7.8 and works flawlessly.Good job!!!
Στις Δευ, 15 Απρ 2024, 15:26 ο χρήστης TheTrain @.***>
έγραψε:

@TNiks https://github.com/TNiks have you tested this on the new v0.7.8?
—
Reply to this email directly, view it on GitHub
https://github.com/OpenStickCommunity/GP2040-CE/issues/896#issuecomment-2056731904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHAXUHGEYOYPXYH36P4TS3DY5PBQNAVCNFSM6AAAAABEZP3KM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWG4ZTCOJQGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Minions Treasure Hunt

Session Name
Minions Treasure Hunt
finding places, making friends, winning goodies!
Abstract
The treasure hunt aims to encourage freshies to explore different parts of the school, familiarising themselves in the new environment while having fun.
Student Organisation organising this session
Minions
Session intent (what to expect)
Participants will get to know the different spaces in school while bonding with their new friends. They will also get a taste of SUTD's welfare events and are open to suggest welfare events that Minions can hold in the future.
Session details
When: 21 - 24 May (Tues - Fri)
Where: Key locations around the school
Participants: All freshmores only
Freshies have to form teams of 4 to participate. They will be looking for wooden laser cut minions. Each minion is tagged with a unique serial number in which they will key into a telegram bot. Prizes will be scheduled to be claimed on a separate day (28 May, 8pm tentative) and there is a limit of one prize per group. More information on the day and time will be disseminated via the bot.
Logistical details
We are looking at 40 prizes catering to 160 students. Types of prizes will be decided when budget is confirmed. We are looking at about $2/pax + miscellaneous costs, total budget ~$350
Emails<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hello, it would greatly help if you could let us know some details of how the last session went. Specifically the actual turn out, feedback from students and the proceedings of the event please

The last treasure hunt was held from 25th to 29th March 2019, where 119 eggs were hidden all across the campus, of which 77 were found. Participation rate was high, with most eggs found during the first day. Most of the eggs that not found were hidden in secluded locations.
For this treasure hunt, the tokens will be hidden in popular key locations around campus. The motive is to not only let the freshies have fun, but also familiarise them with key locations in the campus. Difficulty level of this upcoming treasure hunt will thus be easier. Also, freshies will be relatively less busy compared to the participants of the previous treasure hunt. Hence, we expect most of the tokens to be found.
During the previous treasure hunt, we used $700 to purchase rewards and miscellaneous items such as decorations. For this upcoming event, we are toning down on the expenditure to approximately $2 per participant. As mentioned above, if most tokens were to be found, we require about $350 for the event.
From the feedback we gathered, treasure hunts are one of the more engaging events. Some participants even woke up at 8am to hunt for eggs. It was one of the more successful events that minions have organised.

Hello, it would greatly help if you could let us know some details of how the last session went. Specifically the actual turn out, feedback from students and the proceedings of the event please

The last treasure hunt was held from 25th to 29th March 2019, where 119 eggs were hidden all across the campus, of which 77 were found. Participation rate was high, with most eggs found during the first day. Most of the eggs that not found were hidden in secluded locations.
For this treasure hunt, the tokens will be hidden in popular key locations around campus. The motive is to not only let the freshies have fun, but also familiarise them with key locations in the campus. Difficulty level of this upcoming treasure hunt will thus be easier. Also, freshies will be relatively less busy compared to the participants of the previous treasure hunt. Hence, we expect most of the tokens to be found.
During the previous treasure hunt, we used $700 to purchase rewards and miscellaneous items such as decorations. For this upcoming event, we are toning down on the expenditure to approximately $2 per participant. As mentioned above, if most tokens were to be found, we require about $350 for the event.
From the feedback we gathered, treasure hunts are one of the more engaging events. Some participants even woke up at 8am to hunt for eggs. It was one of the more successful events that minions have organised.

just to confirm, you don't need a specific venue yes?
also there doesn't seem to be a need for a formal sign up process as it's going to be done through telegram, could I clarify on this please!
Thank you :)

just to confirm, you don't need a specific venue yes?
also there doesn't seem to be a need for a formal sign up process as it's going to be done through telegram, could I clarify on this please!
Thank you :)

Yup, we do not need a specific venue. However, the prize collection will be held on 28 May at TT17 (we are booking it on our side).
There is no formal sign up as well. They are only required to fill in their names and ID via a form given on telegram if they were to find a token for prize collection purposes.

Please verify this and feel free to tell us if you want changes
https://discover.sutd.dev/events.html#treasure-hunt


Add license Header to Go source code

It is ASL licensed but none of the Go source code has the ASL v2 license header. Bottom line, the license is not properly applied...
Technically we need to add it to every file

Interesting, this is contrary to (eg) the openstack foundation's legal advice, although of course the only thing lawyers can agree on is that you should keep paying them by the hour.
I failed to find one with a quick look - do you know of a doc somewhere that describes the k8s community's copyright policies?

I am no lawyer either, but I think the LICENSE file is pretty clear:
https://github.com/ksonnet/kubecfg/blob/master/LICENSE#L178
To apply the license you need to add the header to all source files. Bu default I usually try to put it everywhere, .txt and even .md.
The openstack link you mention is a bit vague to might taste and deals with the copyright header, not the license header. Which are separate.
Didn't find k8s info about this, but if you check most source files they have an ASL license header and a copyright to "the Kubernetes authors".

Heh, can't argue with the instructions in our own LICENSE file ;)


Bugfix/publishing

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

v1.2.3
GitHub release

Your semantic-release bot :package::rocket:


Simplify returning of views (Core)

I understand that you are trying to be extremely explicit. But I am a complete believer in the least amount of code (simpler) wins.
As such, in Asp.Net Core, an example of how your routing can be simplified:
       [HttpGet("", Name = HomeControllerRoute.GetIndex)]
        public IActionResult Index()
        {
            return this.View(HomeControllerAction.Index);
        }

        [HttpGet("about", Name = HomeControllerRoute.GetAbout)]
        public IActionResult About()
        {
            return this.View(HomeControllerAction.About);
        }

        [HttpGet("contact", Name = HomeControllerRoute.GetContact)]
        public IActionResult Contact()
        {
            return this.View(HomeControllerAction.Contact);
        }

To something like this:
        [HttpGet]
        public IActionResult Index()
        {
            return this.View();
        }

        [HttpGet(nameof(About))]
        public IActionResult About()
        {
            return this.View();
        }

        [HttpGet(nameof(Contact))]
        public IActionResult Contact()
        {
            return this.View();
        }

It does exactly the same thing, without being overly verbose.

I guess this is about taste and I should conform. Would you be willing to submit a PR for this?

I've archived the MVC boilerplate project due to the size and complexity of moving it to ASP.NET Core 2.0 with the latest and greatest web front end stuff like Bootstrap 4, Webpack, Workbox etc. I also had to learn all that stuff so needed time for that. I'm focusing my efforts on the API Boilerplate project and will bring back the MVC project better than ever before once I have the courage to attempt it.


problem loading James lions dataset

James reported that he tried to load his lions dataset from Movebank (study id<PHONE_NUMBER>) and the app doesn't seem to do anything.

after some debugging, there appears to be 2 issues:

as.POSIXct() threw an error and doesn't seem to be able to handle the data time format (eg "9/23/05 22:15") so i replaced it with the call to as.POSIXlt() and specified the format
the file size exceeds Shiny's max size which is 5 MB, according to https://groups.google.com/g/shiny-discuss/c/rU3vwGMZexQ/m/zeKhiYXrtEQJ, and James' dataset is > 17 MB so i added options() call to increase the size to 30 MB

Adding options(shiny.maxRequestSize=30*1024^2) should fix James' problem

above problem fixed but now new problem...
loading James' entire lion data set, current we are getting the error message "Error : figure margins too large".  i did some debugging and the error message is coming from the call "area_mcp <- mcp.area(gpsdata.sp, unin="m", unout=areaUnits, percent=100)"

The default is for function mcp.area() to plot the MCP. Since we only need the results of the area calculation, we can just disable plotting as follows (note last argument)
area_mcp <- mcp.area(gpsdata.sp, unin="m", unout=areaUnits, percent=100, plotit=FALSE)

hi @sinkovit , the error for animal F121 is:
Error in cut.default(getValues(x), breaks = breaks, labels = FALSE, ...): 'breaks' are not unique\n"

@monaw I'm not having problem with F121, either when loading either the entire lion data set of restricting to just those records for animal F121. Is this happening at the loading, MCP or MKDE step? And if MCP or MKDE, can you give the parameters?
If I can't reproduce the error, I'll also ask for the data file you're using. Maybe there's something wrong with your file and not mine.


Documentation incomplete for the "headers" object

"header" is an optional parameter for the send() function of the vertxBus / vertxBusService. In older versions of this project the place of this parameter was used to define a send timeout. How to accomplish this with the "headers" object`?
environment

version of angular-vertxbus: 6.2.0

@leolux  Which one? Maybe link to the code directly...

Fixed (doc issue).


fix: directive I/F consistency

I'm no JS master so can someone explain why you got rid of the function keyword and what it does?
Is it just another syntax? I see the consistency with e.g. the v-ondirective code.

@vuchl This is es6 syntax,  it basically sugar syntax for functions in objects.


[REQUEST] Last kill/loss ship

First of all, please keep up with the updates, this tool is amazing !
Now for my request, do you think you could add a column to scrap the last ship used by the pilot (from zkillboard's last kill/loss) for exemple.
It would help giving an idea on the last ship used by the pilot.
Thanks

Work has begun on this feature. No eta as of yet.


iOS 13 Alamofire

When will be alamofire for iOS 13 will be officially released?

Alamofire 4 builds and runs fine. Alamofire 5 will be released as soon as we can finish the extensive documentation rewrite it requires.


Revert " HDFS-15160. branch-3.2. ReplicaMap, Disk Balancer, Directory Scanner and various FsDatasetImpl methods should use datanode readlock."

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
8m 15s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 9 new or modified test files.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
3m 30s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m  9s

branch-3.2 passed

+1 :green_heart:
compile
15m  2s

branch-3.2 passed

+1 :green_heart:
checkstyle
2m 35s

branch-3.2 passed

+1 :green_heart:
mvnsite
2m 41s

branch-3.2 passed

+1 :green_heart:
javadoc
2m 20s

branch-3.2 passed

+1 :green_heart:
spotbugs
4m 55s

branch-3.2 passed

+1 :green_heart:
shadedclient
15m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 24s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 55s

the patch passed

+1 :green_heart:
compile
14m 18s

the patch passed

+1 :green_heart:
javac
14m 18s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
2m 29s
/results-checkstyle-root.txt
root: The patch generated 1 new + 566 unchanged - 0 fixed = 567 total (was 566)

+1 :green_heart:
mvnsite
2m 39s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
2m 14s

the patch passed

+1 :green_heart:
spotbugs
5m 18s

the patch passed

+1 :green_heart:
shadedclient
15m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
16m  6s

hadoop-common in the patch passed.

-1 :x:
unit
247m 36s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
asflicense
1m  3s
/results-asflicense.txt
The patch generated 9 ASF License warnings.

386m 10s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestNamenodeRetryCache

hadoop.hdfs.server.namenode.TestFSImageWithAcl

hadoop.hdfs.server.namenode.TestRedudantBlocks

hadoop.hdfs.server.namenode.TestNamenodeCapacityReport

hadoop.hdfs.server.namenode.TestNameEditsConfigs

hadoop.hdfs.server.namenode.TestGetContentSummaryWithPermission

hadoop.hdfs.server.datanode.TestBatchIbr

hadoop.hdfs.TestDistributedFileSystemWithECFileWithRandomECPolicy

hadoop.hdfs.server.blockmanagement.TestBlockManager

hadoop.hdfs.server.blockmanagement.TestReconstructStripedBlocksWithRackAwareness

hadoop.hdfs.server.namenode.TestAuditLogs

hadoop.hdfs.TestDFSStripedInputStream

hadoop.hdfs.server.namenode.TestHostsFiles

hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

hadoop.hdfs.TestDFSStripedOutputStream

hadoop.hdfs.server.namenode.TestNameNodeRpcServerMethods

hadoop.hdfs.server.namenode.TestSaveNamespace

hadoop.hdfs.server.namenode.TestFSImage

hadoop.hdfs.server.namenode.TestDeleteRace

hadoop.hdfs.server.blockmanagement.TestOverReplicatedBlocks

hadoop.hdfs.server.datanode.TestNNHandlesCombinedBlockReport

hadoop.hdfs.TestReadStripedFileWithDecoding

hadoop.hdfs.server.diskbalancer.TestDiskBalancerWithMockMover

hadoop.hdfs.TestDFSInotifyEventInputStreamKerberized

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3432/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3432

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml

uname
Linux 449f2ae58359 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 21fc30c1aa7b447d366d8394baca58ec7357e690

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~18.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3432/1/testReport/

Max. process+thread count
3235 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3432/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


[BUG] Can't select intercalary month as Season Starting Month or New Moon Month

Describe the bug
Can't select a different intercalary month as the start of a season or new moon. Always defaults to the last intercalary month of the year.
To Reproduce

Create a calendar with multiple intercalary months
Add new season or moon
Try to set Season Starting Month or New Moon Month as different intercalary months
See error

Expected behavior
I'd like to set intercalary days (months with number of days = 1) for the start of each season in my custom calendar.

Sorry you ran into this bug.
I will get this fixed.


Add basic text analysis to SAI:

Adds the case_sensitive, normalize and ascii options to the index.

@adelapena @bereng Please note that I have just made a number of changes for the Lucene 9.7 upgrade.

@mike-tr-adamson I think it would be good to add a dtest quickly verifying that tokenisation and analysis don't break RFP (classic CASSANDRA-8272). I think something like this would work:
public class ReplicaFilteringProtectionTest extends TestBaseImpl
{
    private static final int REPLICAS = 2;

    @Test
    public void testRFPWithIndexTransformations() throws IOException
    {
        try (Cluster cluster = init(Cluster.build()
                                           .withNodes(REPLICAS)
                                           .withConfig(config -> config.set("hinted_handoff_enabled", false)
                                                                       .set("commitlog_sync", "batch")).start()))
        {
            String tableName = "sai_rfp";
            String fullTableName = KEYSPACE + '.' + tableName;

            cluster.schemaChange("CREATE TABLE " + fullTableName + " (k int PRIMARY KEY, v text)");
            cluster.schemaChange("CREATE CUSTOM INDEX ON " + fullTableName + "(v) USING 'StorageAttachedIndex' " +
                                 "WITH OPTIONS = { 'case_sensitive' : false}");

            // both nodes have the old value
            cluster.coordinator(1).execute("INSERT INTO " + fullTableName + "(k, v) VALUES (0, 'OLD')", ALL);

            String select = "SELECT * FROM " + fullTableName + " WHERE v = 'old'";
            Object[][] initialRows = cluster.coordinator(1).execute(select, ALL);
            assertRows(initialRows, row(0, "OLD"));

            // only one node gets the new value
            cluster.get(1).executeInternal("UPDATE " + fullTableName + " SET v = 'new' WHERE k = 0");

            // querying by the old value shouldn't return the old surviving row
            SimpleQueryResult oldResult = cluster.coordinator(1).executeWithResult(select, ALL);
            assertRows(oldResult.toObjectArrays());
        }
    }
}

@adelapena I've added the ReplicaFilteringProtectionTest but, I have to admit, I'm not entirely sure how/why it's working. My main concern is that the test is passing for reasons that aren't the ones that we are testing for. I will have a bit of a dig to confirm this.

@mike-tr-adamson I think RFP is working because StorageAttachedIndexSearcher #filterReplicaFilteringProtection takes care of applying the filters to the expressions that are used in the coordinator: https://github.com/apache/cassandra/blob/723cc160921cff6afa1fa7219b3a8a1b4c41c961/src/java/org/apache/cassandra/index/sai/plan/StorageAttachedIndexSearcher.java#L85-L103
You can artificially see the test failing if you modify that method or if you make DataResolver#needsReplicaFilteringProtection return false.

Thank you, that's what I was trying to find.


Refactor/ios labelled params

Use labelled parameters to improve the iOS SDK's readability.

Well spotted @EdwinVanRooij, will fix this.


Add a flag to enable/disable worker init container injection

Why are these changes needed?

Currently, the init container is always injected into the worker pod with a specific command. However, in our case, ray does not exist in the $PATH so it failed. We want to have a way to disable the injection from kuberay and customize our own injection. This PR adds an env ENABLE_INIT_CONTAINER_INJECTION to switch the init container injection.
Checks

[x] I've made sure the tests are passing.

Running Suite: Utils Suite
==========================
Random Seed:<PHONE_NUMBER>
Will run 4 of 4 specs

••••
Ran 4 of 4 Specs in 0.001 seconds
SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 0 Skipped

Testing Strategy

[x] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

@ByronHsu Here is a conflict. Would you mind rebasing with the master branch?

Would you mind fixing the lint error and adding this env variable in KubeRay operator Helm chart with the default value "true" and warning comments? Thanks!

e2e test done

Local build the image and push
Add the env and update the image to the chart

- name: ENABLE_INIT_CONTAINER_INJECTION
  value: "false"

Init Containers doesn't have ray health-check anymore, only containing my custom init container

Init Containers:
  init-myservice:
     <masked>


Update copied_to_following_framework flag if supplied

Trello: https://trello.com/c/u0QnZn8y/459-deleting-a-copied-draft-service-should-reset-the-source-service-flag
Currently a call to update_service can only update the service data itself, not the copied_to_following_framework flag. This PR checks for the flag in the request payload and sets the flag if necessary.
To keep changes minimal, the service is still archived and re-indexed via the helper function, as per any other service update.

This prevented me from editing/updating an existing service copied from G10 for a G11 submission, in the end, I needed to copy and paste to replicate the service.
As an aside, I was able to copy the broken service, it throws the 400 error but still duplicated the service.


Improve logging logic to improve/fix GPU performance

Open Source Contributors Welcomed!
Please comment below if you would like to work on this issue!
Contact Details [Optional]
<EMAIL_ADDRESS>What happened?
Users have reported a significant drop in GPU utilization (from 95% to 2%) after upgrading ZenML from version 0.32.1 to 0.44.2. This issue was observed while deploying pipelines on GCP VertexAI. Investigations suggest that the performance bottleneck is due to the logging mechanism, especially when using progress bars like tqdm. It appears that logging, particularly frequent updates from progress bars, is substantially slowing down the processing speed.
Task Description
Investigate and optimize the logging logic in ZenML, particularly for scenarios involving high GPU usage. The goal is to ensure that the logging process, including progress bars, does not adversely affect the GPU performance and overall speed of pipeline execution.
Expected Outcome

ZenML should maintain high GPU utilization without being impacted by the logging process.
Users should be able to use progress bars and other logging tools without experiencing a significant slowdown in processing.
Modifications should be made to allow users to control the frequency and verbosity of logs to balance between logging needs and performance.

Steps to Implement

Analyze the current logging mechanism and identify how it interacts with GPU-intensive processes.
Develop solution(s) to optimize logging, particularly when progress bars are used, to reduce their impact on GPU and overall performance.
Implement configurable settings for users to control the logging behavior, such as limiting log frequency or verbosity.
Thoroughly test the changes in scenarios with high GPU usage to ensure that the logging optimizations are effective.
Update documentation to guide users on how to configure logging settings for optimal performance.

Note that part of the solution might be to expose these global variables / constants better in settings via environment variables.
Additional Context
This issue is critical for users leveraging ZenML for GPU-intensive tasks, as efficient GPU utilization is key to performance in these scenarios. The solution should provide a balance between informative logging and optimal resource utilization.
Code of Conduct

[ ] I agree to follow this project's Code of Conduct

@strickvl I'm interested in working on this issue. Can I take it up?

Sure thing, @nida-imran173! I'll assign it to you and let us know if you have any questions. Most basic things should be answered in our CONTRIBUTING.md document.

So first thing I'd say would be to reproduce the issue. I.e. run a step when logging is turned on (i.e. by default). Then either toggle / update STEP_LOGS_STORAGE_INTERVAL_SECONDS env variable, or perhaps by disabling step logs.
When someone is running on a GPU-enabled environment, we could potentially have different behaviour. Also it isn't yet clear to me why logs within a GPU-enabled environment are slower beyond maybe that the task itself generates a certain frequency of logs. So in short, we'll need to dive a bit deeper into the problem I think.

@strickvl @nida-imran173 I would just add to this discussion that I think the primary reason for GPU performance degredation is exactly as Nida already said:

The code performs file I/O operations (fileio.open, fileio.makedirs, fileio.remove) to read, write, and create directories. These operations can be resource-intensive, especially if there are frequent reads or writes to the file system. Depending on the logging frequency and the size of the buffer, it could impact performance. If logging occurs too frequently, it may lead to increased file I/O operations, potentially affecting performance.

I would try to tackle this issue first. basically, id run some tests to see how this can effect performance. A very simple test could be to run a pipeline which trains a model using pytorch or tensorflow. These libraries produce progress bars that are then logged and cause a slow down . Once we've verified this,  we can work on a fix all together by brainstorming strategies.
But first things first, as @strickvl said, we need a test in place where we can measure things


Retrieve git-remote from local configuration

When running pimpmychangelog from CI, I encountered this issue:
When running
PimpMyChangelog::CLI.run!

in CircleCI I get this prompt:
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?

This happens because pimpmychangelog is trying to connect to the remote git repository when running:
  def run_command
   `git remote show origin | grep "Fetch URL"`
  end

Our CI jobs don't have permission by default to connect back to the original git repository. We can work around this by trusting the SSH key above, or by using HTTPS, but I wondered if we even needed to connect back to the remote server at all. Turns out it's not necessary.
We are only interested in the GitHub "user" and git "repository name" for the git repository in the working directory. These are found in the origin url, which can be retrieved locally from config:
git config --get remote.origin.url

This PR uses the local configuration value, instead of fetching a remote value with the same information.
This PR also fixes the current CI failure, due to the removal of RSpec its syntax from the core library.

Fantastic! Thank you!

Fantastic! Thank you!

I just released v0.1.3 with your changes.

I just released v0.1.3 with your changes.


[Feature] Update osf user model to store ssrn profile url [OSF-7313]

Purpose
Store user ssrn profile link in the database.
Currently, user ssrn profile link is not being stored to the database, hence does not
show social profile view and user search.
Changes

Update osf user model to store ssn profile link.

I'm guessing we'll need to migrate_search for this.


Align transaction dialogs

Align design of Vega transaction dialogs and Ethereum transaction dialogs. Perhaps into a shared transaction dialog which can be used in both cases

Merged with #1513


Sleep timer number max increase/sleep clock off

Current version: 2.0.4/Android

current:

possible alternate appearance select:

clock off variant:

basically just increase the numbers for countdown and have well set optional definited times in clock off select variant.
sorry for bad * late night reports aren't my forte

Limit was increased to 2 hours in e77e6611d48b4915ad01b49e04eaf453d2137031.
I still need to think about what a better design would be.


Issue with emojis showing on some apps but not other apps

Hello I had installed iOS 10.2 emojis on my iPhone 6s Plus running iOS 10.1.1. I had no problems with it until one day I installed a custom font. I tried reinstalling the emojis by redoing the steps with iFile and reinstalling emojiattributes and emoji10. After doing this my 10.2 emojis only show on my keyboard on some apps and when pasting or typing a 10.2 emoji on the apps that don't show the emojis on the keyboard I get question mark boxes.

I have removed my custom font if that helps but the emojis still don't show on those apps

Which custom font you are talking about?

"Komika Display" in BytaFont tweak mode

I found out that the font wasn't the problem but phantom for Snapchat blocking the tweaks but I still can't see the new emojis on my keyboard

Phantom has to be updated to include Emoji10 for iOS 10 tweak.

I am sorry sir but my Snapchat still doesn't have the emojis even after updating phantom lite and enabling emojiattributes

That is because Phantom hasn't included Emoji10WT.dylib as whitelist. What you may want to try: go to /Library/MobileSubstrate/DynamicLibraries and rename Emoji10WT.dylib to Emoji10PS.dylib / Emoji10WT.plist to Emoji10PS.plist

Gracias


aria gets to use her potion

and presumably coda as well. most likely because blunder detection works by comparing health before to health after a test hit, and their health is the same both before and after

it might be possible to prevent this using Damage.Flag.BYPASS_DEATH_TRIGGERS, but handling a damage event would likely be a more comprehensive solution


pkgs/development/compilers: stdenv.lib -> lib

Motivation for this change
Part of #108938
Things done

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

[ ] 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"
[ ] 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.

for verifying these changes don't cause regressions, do you mind doing:
TMPDIR=$(mktemp -d)
nix-instantiate --readonly-mode --eval --strict --show-trace --json ./maintainers/scripts/find-tarballs.nix --arg expr 'import ./maintainers/scripts/all-tarballs.nix' > $TMPDIR/tarballs.json

for verifying these changes don't cause regressions, do you mind doing:
TMPDIR=$(mktemp -d)
nix-instantiate --readonly-mode --eval --strict --show-trace --json ./maintainers/scripts/find-tarballs.nix --arg expr 'import ./maintainers/scripts/all-tarballs.nix' > $TMPDIR/tarballs.json

We had a channel blocker due to a deeply nested lib. https://hydra.nixos.org/build/135415084/nixlog/106
it was fixed in https://github.com/NixOS/nixpkgs/commit/59863dc3d7d549e853d9cfe705fe0ea975284eaa

We had a channel blocker due to a deeply nested lib. https://hydra.nixos.org/build/135415084/nixlog/106
it was fixed in https://github.com/NixOS/nixpkgs/commit/59863dc3d7d549e853d9cfe705fe0ea975284eaa

for verifying these changes don't cause regressions, do you mind doing:
TMPDIR=$(mktemp -d)
nix-instantiate --readonly-mode --eval --strict --show-trace --json ./maintainers/scripts/find-tarballs.nix --arg expr 'import ./maintainers/scripts/all-tarballs.nix' > $TMPDIR/tarballs.json

Thanks, I'm using this to find eval errors in my autofixing script now.

for verifying these changes don't cause regressions, do you mind doing:
TMPDIR=$(mktemp -d)
nix-instantiate --readonly-mode --eval --strict --show-trace --json ./maintainers/scripts/find-tarballs.nix --arg expr 'import ./maintainers/scripts/all-tarballs.nix' > $TMPDIR/tarballs.json

Thanks, I'm using this to find eval errors in my autofixing script now.

@jonringer please merge

@jonringer please merge

@SuperSandro2000 rebuild 0

@SuperSandro2000 rebuild 0

sorry, I logged off for the day when you mentioned me :)

sorry, I logged off for the day when you mentioned me :)


bug(MatRadioButton): won't display as selected after clicking on it

Is this a regression?

[x] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
12.2.17
No response
Description
MatRadioButton won't display as selected after clicking on it
Reproduction
Steps to reproduce:

https://github.com/adorogensky/angular-training/tree/ng-wtf3
http://localhost:4200/
clicking on a radio button

Expected Behavior
the radio button will display as selected
Actual Behavior
the radio button won't display as selected
Environment

Angular: 14.0.4
CDK/Material: 14.0.4
Browser(s): Chromium Version 102.0.5005.115 (Official Build) Fedora Project (64-bit)
Operating System (e.g. Windows, macOS, Ubuntu): Fedora Linux 36 (Workstation Edition)

It's because you haven't set a value on the radio buttons.

no it's not, here check out the last commit. i used an example code from here https://material.angular.io/components/radio/examples

You also haven't included a theme. There's even a warning about in the console.

i don't see any warnings in the console. what environment are you testing in? i ran ng add @angular/material and chose the default theme.

you can check out ng14 branch, which is an upgrade of a simple app that has two components app and hello-world from 11 to 14 following steps from https://update.angular.io. do ng add @angular/material and select all the default options. then add that example code that won't work.

so this is a problem with ng add script, it won't add<EMAIL_ADDRESS>to angular.json

closing this issue, new one with better description is created https://github.com/angular/components/issues/25215


Upgrade Doobie version

Upgrade to newest Doobie version after dropping Java 8 support.
Fix a few tests because of the API change of Doobie.
Fixes #issue_number
Problem
Explain here the context, and why you're making that change.
What is the problem you're trying to solve?
Solution
Describe the modifications you've done.
Notes
Additional notes.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

Thank you for your help @wb14123 🙏


Pattern edit made easier

Autocrafting pattern editing made easier
Where Grid and ProcessingPatternEncoder can read an already configured pattern from the output slot.

I don't understand what this does, mainly because you totally ignored the coding style.
Also, you can already override patterns by just placing them again in the input slot, not merging.

Thank you, for looking at the request. I will of course fix the coding style to match.
And for what this change does, it enables the encoders (Grid/Processing) to read existing patterns by placing them in the output slot, making it easy to change that one copper bar that was not the right one for crafting, or changing some item that required some odd nbt value.
And i am sorry for my bad english, english isn't my first language.

I want to keep the behavior simple, which is inputs on the top and outputs on the bottom. No weird overriding of output slots.


relation doesn't exist error postgreSQL -- yes it does!

Extension can see my database, connect, even see the tables. But when I make a query, I get a relation doesn't exist error.

FYI, the tables are in a named schema in db, not on public.
i.e. I'm connecting to myDB.myschema not just myDB...

Potentially related to https://github.com/Bajdzis/vscode-database/issues/24 -- this also contains a period selector.

It seems like the database selector works once to switch to dotted schema, and after one query, it resets.

@kasecato

Thanks for issue ;) I have two additional question:
What are your versions PG server? You could send your incorrect query?

output from psql --version
psql (PostgreSQL) 9.6.9
I didn't make a query. I used the GUI:

Hi @ortonomy ,
Thank you for your reporting to me. I tried to fix this issue...
@Bajdzis , I just PR of this issue, please check it. 🙇

@kasecato
Thank you for your help ;)


Error occurred with status code: -11. Error message: .

[2024-11-28 13:35:35,648] CMD: zcat /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/test2.sim1.fq.gz 1>/public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/PanGenie/test2.fq && zcat /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/test2.sim2.fq.gz 1>>/public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/PanGenie/test2.fq
[2024-11-28 13:35:35,696] [EVG.getsize] file exists, skip: /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/PanGenie/test2_genotyping.vcf
Error occurred with status code: -11. Error message: .
Follow the command:EVG -r test.fa -v test.vcf.gz -s sample.txt --software VG-MAP VG-Giraffe GraphAligner Paragraph BayesTyper GraphTyper2 PanGenie &>log.txt &
My PanGenie version is v3.0.1，I do not know why this happen

[2024-11-28 14:32:09,385] CMD: PanGenie -s test2 -i /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/PanGenie/test2.fq -f /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/convert/PanGenie/out -t 10 -j 10 -o /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/PanGenie/test2
[2024-11-28 14:32:10,735] CMD: bayesTyperTools makeBloom -k /public/home/cszx_huangxh/qiujie/collabrators/gulei/biosoftwares/EVG/test/genotype/BayesTyper/0/test1.bam -p 10
Error occurred with status code: -11. Error message: .

Apologies for the delayed response. I have been a bit busy recently and didn’t get a chance to check the issue earlier.
Could you please try running PanGenie in your current environment to see if it works successfully? There is a possibility that another instance of PanGenie in the conda environment is causing the conflict.


Custom 404 page (404.html)

First of all, thank you for this very useful repository. 👍
I have a small question about the now-basic-auth/node code in this file: https://github.com/flawyte/now-basic-auth/blob/master/node/index.js .
(My entire website is password-protected and my output directory is called dist instead of _static)
How do i show a custom 404 page instead of the "404 Not Found" message (when authorized)?
https://github.com/flawyte/now-basic-auth/blob/86e9bdd5b6f39a8635fe2b01ec4273738961dfe8/node/index.js#L35
I want to show my 404.html file instead of the "404 Not Found" message. The file is located at /dist/404.html.
Vercel supports custom 404 pages via a 404.html file in the output directory. How can i use that feature together with your now-basic-auth/node code? Vercel should detect the 404.html file automatically right? I don't have to reference the /dist/404.html file in the index.js right? Do i have to remove the handle404 part at line 33-36?:
// Serve files
-  return serve(req, res, () => {
-    res.statusCode = 404;
-    res.end('404 Not Found');
-  });
+  return serve(req, res);

Hi @dennishzg
No problem! My pleasure.
Since your entire website is password-protected and thus all requests go through the index.js file, even if your 404 html file follows Vercel's convention I don't see how it could be used automatically.
I don't see any other solution than to read the 404 page in the index.js file and returns its contents manually when the requested file can't be found. I haven't tried, but I'm thinking about something like this :
const fs = require('fs');
const pathTo404Page = __dirname + '/dist/404.html';

// Serve files
return serve(req, res, () => {
  const html = fs.readFileSync(pathTo404Page, 'utf8');
  res.writeHead(404, {'Content-Type': 'text/html'});
  res.write(html);
  res.end();
});

This should work if your file is located at dist/404.html and your dist directory is in the same directory as the index.js file. Otherwise, just change the pathTo404Page variable.
Let me know if that worked! :)

It worked! Thank you. 👍


Clarify that SYNC is not needed after data updates (even if new partitioning were added)

I suggest clarifying that SYNC command is only needed when the table DDL was modified. In a normal "data refresh by a legacy job" scenario, even if new data has resulted in a new partition creation, SYNC is not required (hope i understand it correctly).
This clarification would be helpful.

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

ID: a0387cf0-5f76-748e-1e01-6bd386908254
Version Independent ID: a0387cf0-5f76-748e-1e01-6bd386908254
Content: SYNC - Azure Databricks - Databricks SQL
Content Source: databricks/sql/language-manual/sql-ref-syntax-aux-sync.md
Service: azure-databricks
Sub-service: databricks-sql-analytics
GitHub Login: @mssaperla
Microsoft Alias: saperla

@DmitriyAlergant-T1A-Rogers
Thanks for your feedback! We will investigate and update as appropriate.

@DmitriyAlergant-T1A-Rogers
You are correct that the SYNC command in Azure Databricks is only needed when the table DDL (Data Definition Language) was modified. The SYNC command is used to synchronize the metadata of a table with the underlying data files. This is necessary when the table schema or partitioning has been modified, as it ensures that the table metadata accurately reflects the structure of the data files.
In a normal "data refresh by a legacy job" scenario, where new data has resulted in a new partition creation, the SYNC command is not required. This is because the new partition will be automatically detected and added to the table metadata when the data is loaded into the table.
Thanks for your contribution. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)

Hi @Naveenommi-MSFT, thanks.
It was already clear to me how the command worked, it was not really a question (not from me) - more of a suggestion to improve the documentation in this aspect; Some of my colleagues were not 100% clear on this aspect and it required a bit of research to confirm the behavior.

@kateglee-db
Could you please review add comments on this, update as appropriate.


Added hasPID parameter to the mimic joint

Without the hasPID parameter and the gazebo controller submitted in PR for the simulation package, the gripper is unable to pick up objects. This and https://github.com/ROBOTIS-GIT/open_manipulator_simulations/pull/18 will fix this.

Sorry, just noticed i'd committed another change against this branch, have removed!


project name

This project began as an offshoot of another (very similar) language I was working on called zippy. corollary has never really been a favourite name of mine (mostly because I don't think it really fits), so I want to keep a log of name alternatives before 0.0.1.
I like the letter z as an extension (and something like zc for the compiler), so I hope to find one with an initial z.

zippy - I like this one, but worry that maybe it gives the wrong impression of the language (e.g. it is vaguely similar to Zig, and maybe it sounds a bit like it's performance-focused), but it is also light hearted and fun

And done! A couple of metadata updates, and zippy will officially be 0.0.1!


Temp. fix for llvm apt being down

Apt for llvm and clang has been down for quite some time (see https://github.com/travis-ci/travis-ci/issues/6120), so here is the fix for POCL builds which require the latest clang and llvm.

Coverage remained the same at 80.861% when pulling a721db2f721c51cf105986bb77e52cd82af1e8dd on haahh:pr_pocl_fix_llvm_apt into 04e7dde2204fb30eb223679ddefe437757a6feb9 on boostorg:develop.

Thanks!


New maintainer

Hello sublee,
I pushed merge request few weeks ago https://github.com/sublee/flask-autoindex/pull/43 but there are no update on pypi (and I need it)
I know you don't maintain this repo but if you want I can manage the repo to continue the project
Thanks

Hi @general03,
That sounds great. Please email me with your PyPI username to get permission at PyPI.
Thank you so much.

@general03 I also can transfer this repository to you. How do you think about?

Sure, I sent you mail with my information
Thanks

Thank you so much. I'm closing this issue. We will talk in Email.


Added compress option to api and cli

Nice one!

Not so nice, the html compressor doesn't play nicely with ng2 syntax....

Okay no worries. Are you having a look at it? Maybe add some tests too. Cheers.

Yeah, I'll have a play tomorrow. I'll add some ng2 syntax to your test suite and reuse.
I noticed some funnies with crlf and the style regex BTW; if test.js is on windows then it doesn't select the multi line URL blocks.
Feel free to rollback if you want - I was a bit quick to commit (without test anyway!)

All good, let me know how it goes :-)


try catch bug?

yield in try block is getting executed even when I get a 400 HTTP error back from the api.
then the yield in the catch block is also getting executed
export function* searchContacts(query) {
  try {
    const contacts = yield call(apiSearchContacts, query)
    yield put({ type: "CONTACTS_RECEIVED", data: contacts })
  }
  catch(error) {
    yield put({ type: "CONTACTS_REQUEST_FAILED", error })
  }
}

export function apiSearchContacts(query) {
	return fetch("https://qa-api.isha.in/v1/in/contact/api/contact/search", {
		method: 'post',
		headers,
	  body: JSON.stringify({
	  	matchValues: query
	  })
	}).then(response => response.json())
}

I have just tried your exact code and everything is like expected - got 400 error from the API response and only CONTACTS_REQUEST_FAILED got dispatched.

see my output of redux devtools
redux-devtools-output.zip
If I handle the error in my Api code then it works:
}).then(response => {
		if (response.status >= 400) {
			throw new Error("Bad response from server");
		}
 		return response.json();
	})
}

But it still shouldn't be executing the yields in both the try and catch blocks

Could you maybe make a jsfiddle with minimal test case?

I have taken the relevant parts of my app and put in jsfiddle... However, I'm not able to get it working due to some error with the generator functions
Hope this is of some help

Could you share this, even not working, fiddle here?

https://jsfiddle.net/o0ge38L3/21/

I've made just few minor changes (just to make it work) here - http://www.webpackbin.com/Vygh0vIo-
And everything works as expected, I got in the console just those 2 messages
searchContacts(query)
catched error from apiSearchContacts

This is not a bug. I thought that receiving 400 HTTP error from fetch should trigger the catch block only. (I didn't realise that fetch still considers this a "success" response).
Maybe worthwhile putting a note in the docs about this - since may be a common misconception
Am closing this

the fetch documentation makes it clear, only network errors are thrown, any response that contains a status response is not thrown


Gh 2144 update checkstyle

Codecov Report

Merging #2151 into develop will increase coverage by 3.78%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #2151      +/-   ##
=============================================
+ Coverage       65.7%   69.48%   +3.78%
+ Complexity      2359      712    -1647
=============================================
  Files            901      452     -449
  Lines          30039    14866   -15173
  Branches        3711     1766    -1945
=============================================
- Hits           19737    10330    -9407
+ Misses          8746     3834    -4912
+ Partials        1556      702     -854

Impacted Files
Coverage Δ
Complexity Δ

...hq/gaffer/store/serialiser/EntityIdSerialiser.java

.../commonutil/iterable/WrappedCloseableIterator.java

...gov/gchq/gaffer/commonutil/iterable/Validator.java

.../java/uk/gov/gchq/gaffer/data/IsEdgeValidator.java

...uk/gov/gchq/gaffer/operation/impl/compare/Min.java

...gov/gchq/gaffer/store/operation/OperationUtil.java

...bilityutil/exception/VisibilityParseException.java

...ava/uk/gov/gchq/gaffer/data/element/id/EdgeId.java

...a/elementdefinition/exception/SchemaException.java

...hq/gaffer/commonutil/iterable/ChainedIterable.java

... and 439 more

Continue to review full report at Codecov.

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


Simulator Frontend - Always send fromAddress argument to backend calls

@bradleySuira it is important that we always match the method's signature:
async def call_contract_function(
    from_account: str, contract_address: str, function_name: str, args: list
) -> dict:

And that we don't need the from_account int he contract. The Frontend should add it when calling the RPC