make all Failure on Debian 8.X

I did make all on the latest release and this happened.

I checked to make sure everything was setup properly and this still happened. Any ideas why? I have none.
Update: Tried it on Ubuntu, still had errors.

I have the same error, text error version of make all:
Building Kernel
make -C ./kernel
make[1]: Entering directory '/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel'
ld -melf_i386 -static  -L ./  -T ./arch/x86/linker.ld -o kernel.elf arch/x86/start.o runtime/cxx.o runtime/itoa.o runtime/buffer.o runtime/memory.o runtime/string.o core/class.o core/elf_loader.o core/file.o core/filesystem.o core/kernel.o core/api_posix.o core/process.o core/syscalls.o core/device.o core/system.o core/env.o core/user.o core/modulelink.o core/socket.o modules/module.o modules/null.o modules/stdtty.o modules/x86serial.o modules/ide.o modules/bochsvbe.o modules/ext2.o modules/dospartition.o modules/clock_x86.o modules/keys.o arch/x86/alloc.o arch/x86/architecture.o arch/x86/io.o arch/x86/vmm.o arch/x86/x86.o arch/x86/switch.o arch/x86/x86int.o
core/file.o: In function `File::~File()':
/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/file.cc:73: undefined reference to `operator delete(void*, unsigned int)'
core/file.o: In function `File::remove()':
/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/file.cc:223: undefined reference to `operator delete(void*, unsigned int)'
core/filesystem.o: In function `Filesystem::~Filesystem()':
/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/filesystem.cc:26: undefined reference to `operator delete(void*, unsigned int)'
core/process.o: In function `Process::~Process()':
/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/process.cc:12: undefined reference to `operator delete(void*, unsigned int)'
core/process.o: In function `Process::remove()':
/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/process.cc:106: undefined reference to `operator delete(void*, unsigned int)'
core/device.o:/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel/core/device.cc:35: more undefined references to `operator delete(void*, unsigned int)' follow
make[1]: *** [Makefile:21: kernel.elf] Error 1
make[1]: Leaving directory '/home/hiepph/src/How-to-Make-a-Computer-Operating-System/src/kernel'
make: *** [Makefile:11: all] Error 2

Reproduce Ubuntu 18.04.

Add to cxx.cc
c++ void operator delete(void * ptr, size_t size) { 	::operator delete(ptr); }

Add to cxx.cc
void operator delete(void * ptr, size_t size) { ::operator delete(ptr); }

This solve problem on ubuntu 18.04.
Thank You！

I experience issues when running make all command,with following error
ld: core/class.o: unrecognized relocation  (0x2b) in section .text
ld: final link failed: bad value
make[1]: [kernel.elf] error 1
make[1]: leaving directory
make: ***[all] error 2

I'm on vagrantlucid32


B-17690-Fix-Progear-Allowance

Agility ticket
Summary
Is there anything you would like reviewers to give additional scrutiny?
would like the Allowances screen to reflect the pro-gear amount entered by the service member,
So that I do not need to manually edit the allowances in order to see the information.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access milmovelocal
Create a PPM with Pro Gear
Access officelocal
Login as a TOO/SC
Open the PPM created with Pro Gear, under allowances should list 2000 for pro gear and 500 for spouse pro gear

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 6577eaf5b7f927b586520559b4010ceb0964fd20

Test coverage on client failed.
Last run: Wed 08 Nov 2023 02:20:07 PM UTC
Refer to this report to see coverage details for the client app.
Documentation for test coverage can be found at this link.

Additionally make sure to update the comment on line 232 in that snippet provided


LLVM backend error when compiling tests with Clang 12.0.1

Compiling sycl_tests from develop with Clang 12.0.1 produces the following error in tests/sycl/atomic.cpp:
fatal error: error in backend: Cannot select: 0x559e4ab2ff10: i64,ch = AtomicLoad<(load seq_cst 8 from %ir.71)> 0x559e3af685c8, 0x559e4aa1ce20, /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:83:10 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:392:1 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:405:30 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/atomic_ref.hpp:454:23 ] ] ]
  0x559e4aa1ce20: i64,ch = CopyFromReg 0x559e3af685c8, Register:i64 %0, /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:83:10 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:392:1 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/generic/hiplike/atomic_builtins.hpp:405:30 @[ /data/install/hipSYCL-develop/bin/../include/CL/../hipSYCL/sycl/libkernel/atomic_ref.hpp:454:23 ] ] ]
    0x559e4aa1c460: i64 = Register %0
In function: _ZNK7hipsycl4sycl10atomic_refIPiLNS0_12memory_orderE0ELNS0_12memory_scopeE3ELNS0_6access13address_spaceE4EE9fetch_subElS3_S4_
clang-12: error: clang frontend command failed with exit code 70 (use -v to see invocation)

The CUDA version is 11.4. I do not know what happens for other Clang or CUDA versions.
hipSYCL cmake invocation:
 cmake -B build -DCMAKE_INSTALL_PREFIX=/data/install/hipSYCL-develop -DWITH_CUDA_BACKEND=YES

Test suite cmake invocation:
 cmake -B build -DCMAKE_PREFIX_PATH=/data/install/hipSYCL-develop/lib/cmake -DHIPSYCL_TARGETS=cuda:sm_75

Clang info:
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

git bisect:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
bb7930a4f075726667aeea3629f939830dc9d326
406d97a67ef8d3b4d115d4ea901982d0dd82d2a1
b08ea98cc63d9c0ad1309c54c7ebafdfed3786f1
04f67e46f7a92840fc4114937938d98e8d541832
b99dd82d02a0a8345824720fc48d06d761122f23
4ff64a1511da8901938a04f53f684e5225069be5
We cannot bisect more!

Not all commits between the last-working version and now can be compiled because of other errors, so they were skipped. The remaining commit ids correspond to PR #584 .

Cannot reproduce with clang 12.0.1 and CUDA 11.4 for sm_75. The atomic tests compile for me. However, due to clang's partial support for CUDA newer than 10.1, it's quite possible that PTX support for atomic operation on sm_75 might be partial or experimental as well. Does it work when targeting older architectures?
According to your error log, the error is triggered by the long overload of fetch_sub. The PR you mention has introduced support for this in the first place, as previously this overload just was not supported at all. As it is not natively supported by CUDA's atomicSub, we do a CAS loop the implemention of which also requires calls to the __atomic_load() builtin. My guess is that this is being miscompiled by clang for your target architecture.

Embarrassingly, this was fixed by a clean checkout of the hipSYCL repo, so the culprit seems to have been some dependency tracking hole in the CMake setup. I'm closing this until I manage to reproduce it in a reliable way. Thanks for giving it a try!


Change package name setting to com.linkedin.coral

Right now, the maven pom's group id is 'coral'. It will be better to use 'com.linkedin.coral'

+1 LGTM


Doesn't show changes in gutter when there is a symlink in path to git repository on Windows 10

Let's say we have a git repo in E:\src\project and there is a symlink to src in home folder C:\Users\aleks\src -> E:\src.
git-diff works without problems when Atom opens target directory E:\src\project, but when Atom tries to open this project using the symlink, i.e. C:\Users\aleks\src\project git-diff doesn't show changes in the gutter.
However, tree-view always shows the changes. Atom also shows branch name in the status bar in both cases.

This bug seems to be OS unspecific - i am using Mac OS X:
Error getting line diffs for /Users/florianb/github/linter-javac/spec/sym-fixtures/sub-directory/Test.java:(anonymous function) @ /Users/florianb/github/atom/node_modules/git-diff/lib/git-diff-view.coffee:172
/Users/florianb/github/atom/node_modules/git-diff/lib/git-diff-view.coffee:173
Error: the path 'sym-fixtures' exists but is not a tree(…)(anonymous function) @ /Users/florianb/github/atom/node_modules/git-diff/lib/git-diff-view.coffee:173

apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.7.4

I have the same issue with drive mappings to a Windows share. Not sure if I should open a new issue for that, as it may very well be related.

I'm seeing the same issue when opening a project via webdrive.

A lot has changed since we've heard about this, and I can't reproduce it on mac os. So the issue  may have been fixed. If not, please feel free to open a new issue on the main Atom repository, as we have moved this code there. Thanks!


Bottosheet landscape: content of the page overflows below the Bottomsheet

on mobile / landscape, content of the page overflows below the bottomsheet. IMO this should be fixed before release it.

As discovered by @elisa-hery during QA
https://github.com/adevinta/spark-android/issues/1039#issue-2213401631

We'll have to wait this issue to be closed to check if this is fixed or not

Fixed with version 1.3 of Material 3


Build rosetta mainnet/devnet docker

Porting PR: https://github.com/MinaProtocol/mina/pull/16156  from compatible allowing to build rosetta mainnet

!ci-build-me

!ci-nightly-me

Nightly: https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/2712#0192778c-42ff-4575-b4ec-497d682e05e1

!approved-for-mainnet


add model to sql datamodel

Detailed Description
We now want to run multiple ml models from one site, so we need to tag the forecast with the model name
Context

some queries just look at foreacstvalue table, so dont want to do many joins

Possible Implementation
There are a few options

Add new model table and join to forecast table
Add new model table join to forecastvalue table
Add columns model_name and model_version to forecastvalue table

I think we should go for 3, to keep it simple for the moment
We would also need to

update forecast app to save the model version
update read function in api to
update internal dashboard

decided actually to go with option 3. This will make the read function the faster I think

Once #85 is deployed, it would be great to back fill the last month of forecasts, attaching them to the model. This can be done with some SQL code

Ill makr this as complete for now, but might need to run migrations still


KBFS not running

I'm getting this error
My log id is 69ca310701e070870d245c1c

@gabriel @strib any ideas?  looks like kbfsfuse isn't coming up on macOS

The log shows error trying to mount:
172 2017-01-20T14:34:30.918252 ▶ [DEBU kbfs main.go:104] 002 Mounting: /keybase
173 kbfsfuse error: (2) exit status 255

I think 255 is a "file system is not available" but not sure.
@whitj00 what is the output of:
kextstat | grep kbfuse

No output

What happens if you run:
/Applications/Keybase.app/Contents/Resources/KeybaseInstaller.app/Contents/MacOS/Keybase --install-fuse --timeout=60 --run-mode=prod --app-path=/Applications/Keybase.app

Same issue here: https://github.com/keybase/keybase-issues/issues/2721

@whitj00 Are you running any anti-virus or vpn software (seeing if it might conflict with fuse)
Does the issue resolve after rebooting?

I was able to reproduce the problem by running VMWare. Are any of you running that?

If you quit virtualbox and vmware, are you able to startup the Keybase.app?

OK, this issue is the os not having enough device slots left:

FUSE needs to register a virtual device for exchanging messages between the kernel and the actual file system implementation running in user space. The number of available device slots is limited by macOS. So if you are using other software like VMware, VirtualBox, TunTap, Intel HAXM, ..., that eat up all free device slots, FUSE will not be able to register its virtual device.

On a brand new install of macOS 10.12 there are six free device slots. VMware and VirtualBox require multiple slots each. TunTap (VPN) requires two slots, as far as I know. Intel HAXM requires at least one slot.

https://github.com/osxfuse/osxfuse/issues/358#issuecomment-279086264

I use proXPN, LittleFlocker, and of course VirtualBox (as I believe do many of Keybase fans). Yes, attempt to load kext results in 255. What next?

Hi sorry, just saw this.  Once I rebooted my computer it worked again.
Thanks!

I'm gonna keep this open, cause we'll need to at least notify the user of the specific error, and how to workaround it

@gabriel Thanks for referencing me to this one. So it should be ok if I remove e.g. VirtualBox (freeing up those slots)?

VirtualBox seems to load some kexts on bootup so if you aren't using it, yeah uninstalling that might fix it for you.

So I'm not sure if understood this correctly but I'm using VPN + VirtualBox (for backend dev) and Intel HAXM (for Android dev) and because of that I can't use KBFS?
Is there any way to make more slots available? For now it looks I can't use OS X client because of that.

Other solutions here:
https://github.com/keybase/client/wiki/Troubleshooting#solutions
(If you aren't connecting to windows machines, you can unload the smb kext)

I think it might conflict with Docker too.


fix: bugs and new version

Codecov Report

Merging #41 (38ef0c1) into main (4ac1fd3) will decrease coverage by 0.06%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   99.47%   99.41%   -0.07%
==========================================
  Files          20       20
  Lines        1531     1533       +2
==========================================
+ Hits         1523     1524       +1
- Misses          8        9       +1

Impacted Files
Coverage Δ

src/cofi/solvers/emcee.py
100.00% <ø> (ø)

src/cofi/inversion.py
98.95% <66.66%> (-1.05%)
:arrow_down:

src/cofi/_version.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


mIoU

Hello, may I inquire if the mIoU metric mentioned in the paper refers to the test/mIoU generated during training or the test/mIoU_part?

It is the test/mIoU_part in the paper.
The  test/mIoU is used for ShapeNet Segmentation.
The relevant implementions can be found in the follows two places:
https://github.com/octree-nn/octformer/blob/master/segmentation.py#L135
https://github.com/octree-nn/octformer/blob/master/tools/seg_scannet.py#L270

Thank you very much


[Cortex Prim Hammerheads] Fixed some issues

Fixed broken images
Removed Trauma stats (unused in this Cortex set)
Added d10 and d12 settings to relationships
Minor adjustments
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Managing Resources for Containers

Read about project quotas in XFS in https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#what-s-next
https://xfs.org/docs/xfsdocs-xml-dev/XFS_User_Guide/tmp/en-US/html/xfs-quotas.html the link is 404
I cannot find a page named xfs-quotas in xfs.org.
I only find https://xfs.org/index.php/XFS_FAQ#Q:_Quota:_What.27s_project_quota.3F .

/language en
/kind bug
/triage accepted
/priority backlog
/sig storage

The issue is fixed by PR #31701. I believe we can close this issue. Thanks.

/close


New package: DABeamS v1.0.0

Registering package: DABeamS
Repository: https://github.com/luizpancini/DABeamS.jl
Created by: @luizpancini
Version: v1.0.0
Commit: 63492805f650a35d321f0a92d98179becf7473fa
Reviewed by: @luizpancini
Reference: https://github.com/luizpancini/DABeamS.jl/issues/1#issuecomment-1885182514
Description: A Julia package for aeroelastic simulation of beam structures

This appears to be an empty package. The guidelines for General discourage registering empty packages: https://github.com/JuliaRegistries/General/blob/master/README.md

Right, kinda missed that part. But yeah, not just "discourage", but "prohibit".
I would also ask that you add some form of documentation before registering. At the very least, a description and usage example of the package in the README.
Definitely resubmit when the package has reached a 1.0 status (or more likely 0.1, for the initial minimum-viable-package that is ready for the general public)


[Usage]  resume_from_checkpoint fails when finetuning in the lora settings

Describe the issue
I think the code is trying to resume_from_checkpoint like its a full-parameter fine-tunung checkpoint.

I have the same issue. Can anyone tell me how to fix it?

+1

+1

I encountered this error while resuming the checkpoint of Lora training. I found that this is basically due to the old version of Transformers that LLaVA is using. Please refer to this issue: https://github.com/huggingface/peft/issues/746.
In this issue, the names of keys in the checkpoint saved via deepspeed have some mismatches with those saved via Transformers. Specifically, there is an added ".default." in each key of the non-trainable parameters, leading to errors while loading the checkpoint.
Here is a solution that I found. I have only tested it for Lora training, and it works well. However, I haven't tested it for other features, thus, it may potentially introduce further errors:

This "mismatch" problem has been solved in the latest Transformers package. Thus, we need to update the Transformers package to the latest version:
pip install transformers==4.39.3
And then we need to update Accelerate as well based on the version of Transformers:
pip install accelerate==0.27.2

Again, this works for me so far only with Lora training. I'm not sure whether this will introduce other errors.

I encountered this error while resuming the checkpoint of Lora training. I found that this is basically due to the old version of Transformers that LLaVA is using. Please refer to this issue: huggingface/peft#746.
In this issue, the names of keys in the checkpoint saved via deepspeed have some mismatches with those saved via Transformers. Specifically, there is an added ".default." in each key of the non-trainable parameters, leading to errors while loading the checkpoint.
Here is a solution that I found. I have only tested it for Lora training, and it works well. However, I haven't tested it for other features, thus, it may potentially introduce further errors:

This "mismatch" problem has been solved in the latest Transformers package. Thus, we need to update the Transformers package to the latest version:
pip install transformers==4.39.3
And then we need to update Accelerate as well based on the version of Transformers:
pip install accelerate==0.27.2

Again, this works for me so far only with Lora training. I'm not sure whether this will introduce other errors.

but i meet some problems when pip, how can you solve this :

I encountered this error while resuming the checkpoint of Lora training. I found that this is basically due to the old version of Transformers that LLaVA is using. Please refer to this issue: huggingface/peft#746.
In this issue, the names of keys in the checkpoint saved via deepspeed have some mismatches with those saved via Transformers. Specifically, there is an added ".default." in each key of the non-trainable parameters, leading to errors while loading the checkpoint.
Here is a solution that I found. I have only tested it for Lora training, and it works well. However, I haven't tested it for other features, thus, it may potentially introduce further errors:

This "mismatch" problem has been solved in the latest Transformers package. Thus, we need to update the Transformers package to the latest version:
pip install transformers==4.39.3
And then we need to update Accelerate as well based on the version of Transformers:
pip install accelerate==0.27.2

Again, this works for me so far only with Lora training. I'm not sure whether this will introduce other errors.

but i meet some problems when pip, how can you solve this :

just ignore it

On my end, this incompatible issue only causes errors while doing testing. So, I have two conda envs basically. One is for training (transformers==4.39.3), and one is for testing (transformers==4.37.1).

I encountered this error while resuming the checkpoint of Lora training. I found that this is basically due to the old version of Transformers that LLaVA is using. Please refer to this issue: huggingface/peft#746.
In this issue, the names of keys in the checkpoint saved via deepspeed have some mismatches with those saved via Transformers. Specifically, there is an added ".default." in each key of the non-trainable parameters, leading to errors while loading the checkpoint.
Here is a solution that I found. I have only tested it for Lora training, and it works well. However, I haven't tested it for other features, thus, it may potentially introduce further errors:

This "mismatch" problem has been solved in the latest Transformers package. Thus, we need to update the Transformers package to the latest version:
pip install transformers==4.39.3
And then we need to update Accelerate as well based on the version of Transformers:
pip install accelerate==0.27.2

Again, this works for me so far only with Lora training. I'm not sure whether this will introduce other errors.

Thanks! Solved my issue. I tried to save and load the LoRA checkpoints but had problems for a while

I fixed this bug by modifying it:  site-packages/deepspeed/runtime/engine.py line 2675 load_module_strict=Fasle

I am afraid that non_lora_trainables.bin will not be loaded by just setting trainer.train(resume_from_checkpoint=True), because non_lora_trainables.bin is a name only specific to LLaVA and is outside the scope of huggingface.
Could anyone clarify this point?

I am afraid that non_lora_trainables.bin will not be loaded by just setting trainer.train(resume_from_checkpoint=True), because non_lora_trainables.bin is a name only specific to LLaVA and is outside the scope of huggingface. Could anyone clarify this point?
Added : It seems that non_lora_trainables.bin is not even saved at intermediate saving steps (at every args.save_steps iterations). It is saved only when the whole training schedule is ended. In any case, I am afraid that non_lora_trainables.bin will not be loaded by using huggingface APIs, including other ways such as in #1027
Maybe we have to insert a code to load non_lora_trainables.bin in llava/train/train.py, just as is done, for example, in llava/eval/model_vqa.py. I would appreciate comments if I am misunderstanding.

hello, I am also confused about this question. We should reload non_lora_trainables.bin to projector, but in the checkpoint files, I cannot find this non_lora_trainables.bin file, so what I need to do to save non_lora_trainables.bin in the saving checkpoint stage?


Make the enroll now button actually enroll users

As a user, I'd like to be enrolled immediately when I click the enroll now button, so I can be part of the course even if I'm not ready to pay yet.
As a member of the course, I want to encourage users to enroll immediately so they will start receiving messages about financial aid deadlines, payment deadline etc.
Description
This is our current enrollment flow:

User visits course about page, e.g. https://rc.mitxonline.mit.edu/courses/course-v1:MITx+14.740x/
User clicks "Enroll Now" button
Pop-up displays with three options:

"Continue" to the checkout page to pay for a certificate.
"Need Financial Assistance"
"No thanks, I'll take the free version..."

Only the 3rd option will enroll the user immediately. This means that learners who intend to pay but need financial assistance and learners who don't checkout immediately will not be enrolled. They may miss course deadlines and important messages from the course team.
Instead, we should enroll the user after step 2, when they click "Enroll Now"

The button label implies it will happen immediately
There's no cost to learners to enroll them immediately.

If we do change this behavior, we should change the message in the pop-up to make it clear that they have already been enrolled.

If we do change this behavior, we should change the message in the pop-up to make it clear that they have already been enrolled.

Currently, we show a banner notification telling the user in the enrollment was successful or not. If this behavior is maintained, we don't really need to change the pop-up text.


Determine possible issues before swap is initiated (i.e. amounts too low for swap)

By actively fetching the swap fee while the assets are being "modified", the app can determine whether the amounts will be enough to proceed before clicking "save".

Is this an issue related to TUSD tokens?
I'm asking because I tried to swap 5 USD worth of ETH to TUSD but the swap failed. The transaction went through but I didn't receive any tokens.
By the way, is the<EMAIL_ADDRESS>address working or do it need to be updated, since I've sent several emails asking what could be the problem but haven't received yet any response. Not even an automatic one.

This is what I see in the details:

This is what I see in the details:

@rraallvv This was a backend issue. Support has reached out.

Indeed @moeadham, the issue was solved. They did a wonderful job in solving the problem. I highly recommend Faast for crypto and token swaps and exchanges.


Fix wrong slice index when reading a file

As the title, it fixes the wrong slice index of an internal buffer when reading a File.

I found this issue affects many of my applications. If possible, release 1.6.1 along with this and other critical fix-ups?

yes, I'll try and cut a release tomorrow


Compile circuits in parallel

Summary
Compile circuits in parallel
Details and comments
Simply wrapping circuit compilation through futures for speedup. The change is minor. (only at qiskit/transpiler/_transpiler.py)
Some comments about this approach:

The speedup is related to the number of circuits and the complexity (number of qubits and gates) of each circuit; in general, if you submit more complex circuits, you will see more speedup.
followed by point 1; however, there is a little bit overhead if you only submit a few simple circuits.
What is the default number of workers would be used in qiskit-terra? I use the number of cores as the default number (assuming Intel CPU with hyperthreading).

This uses ProcessPoolExecutor and thus will be dreadfully slow on Windows.  Recommend moving to ThreadPool.

Thanks. I was testing on mac only.
However, as I know the ThreadPool in python is not real parallelization, the speed would be almost the same as the one using the single thread (at least for mac). Thus, that is the reason I use ProcessPool.
May I do thing like:
if sys.platform in ['win32']:
        executor = concurrent.futures.ThreadPoolExecutor()
    else:
        executor = concurrent.futures.ProcessPoolExecutor()

as you do in localjob.py here:
https://github.com/QISKit/qiskit-terra/blob/master/qiskit/backends/local/localjob.py#L29
And there is one observation related to issue #567.
At that time, the example code there will only work on mac, and the only difference between Linux and mac is this executor in localjob.py.  If I use ThreadPoolExecutor in the Linux system the example there works.
May I know why the mac uses ThreadPoolExecutor but Linux uses ProcessorPoolExecutor?


New UI  and enhancement of simple calculator

Please assign it to me

/assign

/assign

Please assign it to me.

Hi @maharshi-sinha I would like to work on this issue. Please assign it to me.


Pressing 'Enter' on login page doesn't submit login

@dpoirier This could possibly be a browser issue. Trying in Chrome allowed me to hit enter to login


Firing

Simply, Rapid, and Heavy Enemy now fires at enemies as they pass.  This was done by implementing an animation engine which will be utilized for all contextual animations.
When viewing the tower actually firing a bug was found where range was not being calculated correctly. (the towers would not fire at the right time to the left and below their range, and fired overly so to the left and above).  To fix this 25 had to be added to both the x and y attributes of enemy position in the tower enemies in range function.  It would seem that this isnt needed, yet the tower does not fire at the proper points otherwise.  Tower ranges will need to be re-thought to accommodate this correction.

So stoked to watch this happen!!! I'm going to merge it in and we can refactor together tomorrow.


Small bug in Document/Models/Project.swift

While reading through your code I noticed the following:
https://github.com/ChimeHQ/Chime/blob/72e6297f6971a2dd235701016390267584fe60e5/Edit/Modules/Document/Models/Project.swift#L72-L73
If Chime is built in release, the call to textDocuments.remove will be elided, as it is only used in the context of the assert call, and those are removed when doing a release build. As a result, you wouldn’t be able to successfully remove documents from projects. You would need to do this to make it work:
case let doc as TextDocument:
    let removed: Bool = textDocuments.remove(doc) != nil
    assert(removed)

Oh boy, that isn't the first time I've made a mistake like that. Thank you so much!

Fixed with 0a00ba614e7ff04c75ba4a8b890fc2200494b213


Can't Connect to HomeKit

I want to connect Gateway to iPhone in order to get independent from Home Assistant way of controlling devices.
Tried a lot of times by different options -- no luck

If I try to from Mi Home or Home App Using Camera  -- I get Not Found Error
Screenshot and video here
https://drive.google.com/drive/folders/1AVB0X8_H7YYhBsb7o5TSmRv2DhdM6ND5?usp=sharing
If I Add by providing HomeKit Code -- I get Wrong Code Error

Then i tried to add Gateway to Home Assistant HomeKit Controller Integration and that's i found i logs:
2021-01-15 22:54:18 ERROR (MainThread) [homeassistant.components.homekit_controller.config_flow] Pairing attempt failed with an unhandled exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py", line 310, in async_step_pair
pairing = await self.finish_pairing(code)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/controller/ip/discovery.py", line 99, in finish_pairing
request, expected = state_machine.send(response)
File "/usr/local/lib/python3.8/site-packages/aiohomekit/protocol/__init__.py", line 179, in perform_pair_setup_part2
raise InvalidError("M5: not an error or a proof")
aiohomekit.exceptions.InvalidError: M5: not an error or a proof

If you already connected gateway via HomeKit somethere (example Home Asisstant) - you need reset your gateway to factory default. 10 clicks on button.

If you already connected gateway via HomeKit somethere (example Home Asisstant) - you need reset your gateway to factory default. 10 clicks on button.


Command doesn't allow filtering on RecordData

PS C:\Users\admin> Get-DnsServerResourceRecord -RRType PTR -ComputerName dns.server.name -ZoneName 12.10.in-addr.arpa | ? {$_.HostName -eq "193.0"}
HostName                  RecordType Type       Timestamp            TimeToLive      RecordData

193.0                     PTR        12         0                    00:10:00        your.server.name.
Assuming you want to check if a record PTR exists for server
PS C:\Users\admin> Get-DnsServerResourceRecord -RRType PTR -ComputerName dns.server.name -ZoneName 12.10.in-addr.arpa | ? {$_.RecordData -eq "your.server.name."}
This doesn't return anything, but if you filter by hostname ($_.HostName -eq "193.0"}, it shows proper data.

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

ID: 1701e8ed-ce3f-3a03-2f12-9438d8046fec
Version Independent ID: 5d58a38c-5fb1-92c4-55a1-ef45aadbdcfd
Content: Get-DnsServerResourceRecord (dnsserver)
Content Source: docset/windows/dnsserver/Get-DnsServerResourceRecord.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

The issues section of this repository is used for documentation problems, not bugs related to the PowerShell modules.
Related UserVoice report: https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/37356952-possible-bug-in-dns-module-get-dnsserverresourcere
Feel free to re-open in case you would like to suggest improvements to the article itself.
Thank you.


icon variables

What is your question?
what are the icon variables? like the group variables, scale variables, x, y, etc

It can be variables thats possible to be in a sprite, like spr.scale.x, spr.scrollFactor, spr.y etc.

whats the group sprite, for both iconP1 and iconP2?

whats the group sprite, for both iconP1 and iconP2?

I dont think theres a specific group for the icons, but uigroup does exist

whats the group sprite, for both iconP1 and iconP2?

I dont think theres a specific group for the icons, but uiGroup exists. Try using HealthIcon

whats the group sprite, for both iconP1 and iconP2?

I dont think theres a specific group for the icons, but uiGroup exists. Try using HealthIcon

whats the group sprite, for both iconP1 and iconP2?

The sprite names are literally named iconP1 and iconP2


SampleRelationship fixed [SUBS-379]

USI SampleRelationship is now using the Sample.accession as the source accession and the SampleRelationship.accession as the target for the BioSamples relationship.

@davidrichardson I have removed private String sourceAccession; variable, have a look.


Add fullscreen (all images) downloadable screenshot

Won't do: created a single image including all the wrapped cards.


Removing extra whitespace when assigning output SqlDeploymentOutputFile

Fixes #9669

Hi @biste5 , thanks for raising a PR for fixing this issue. I will merge this.


Fan not working

Hi,
Since updating to the last Home Assistant version - 0.110.1, i also updated the Smart IR component to latest version.
The Fan stooped working, when i try turn it on i get the following errors:

error from the logfile:
2020-05-23 09:59:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139812806421136] 'default' Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service     connection.context(msg),   File "/usr/src/homeassistant/homeassistant/core.py", line 1253, in async_call     task.result()   File "/usr/src/homeassistant/homeassistant/core.py", line 1288, in _execute_service     await handler.func(service_call)   File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service     self._platforms.values(), func, call, required_features   File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 453, in entity_service_call     future.result()  # pop exception if have   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call     await coro   File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 484, in _handle_entity_call     await result   File "/config/custom_components/smartir/fan.py", line 236, in async_turn_on     await self.async_set_speed(speed)   File "/config/custom_components/smartir/fan.py", line 212, in async_set_speed     await self.send_command()   File "/config/custom_components/smartir/fan.py", line 254, in send_command     command = self._commands[direction][speed] KeyError: 'default'
Media_Player - Working OK
Climate - Working OK
Appreciate the help.
Thank you,

Could you also send me your json file?

Done
בתאריך שבת, 23 במאי 2020 ב-23:23 מאת Vassilis Panos <
notifications@github.com>:

Could you also send me your json file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smartHomeHub/SmartIR/issues/360#issuecomment-633132613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLBVPUTBOZXMXXQJ3X6BBDRTAWCLANCNFSM4NISYISA
.

The only thing that i can do is to turn off the device, beside turn it off,
everything else like change speed, turn it on, set a timer, is not working.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smartHomeHub/SmartIR/issues/360#issuecomment-633132613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLBVPUTBOZXMXXQJ3X6BBDRTAWCLANCNFSM4NISYISA
.

Nothing received. Please zip the file and attach it directly to the issue. Not through email reply.

Fan.zip

Is the problem present in both files?

no only in the 1000.json - which is the fan
בתאריך שבת, 23 במאי 2020 ב-23:52 מאת Vassilis Panos <
notifications@github.com>:

Is the problem present in both files?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/smartHomeHub/SmartIR/issues/360#issuecomment-633138143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLBVPRV7UOTNS2GL236353RTAZRFANCNFSM4NISYISA
.

I can't reproduce your problem. Your 1000.json works well for me.
As I can see you made some changes to the default 1000.json (Kaze fan). Your fan is not supporting two directions, right?

not quite sure what you mean

So, I cleaned up the file for you. It's a good idea to give a different number as file name since there is an official 1000.json code file. Put the file in custom_components/smartir/codes/fan and change the code in yaml to 4000.
4000.zip

Thanks! Issue resolved !!


Quote placeholder attribute

Even though it is not needed to quote the attribute in this case. I think it's safer to just quote it, considering there is translation in place.

I've committed https://github.com/pradyunsg/furo/commit/ebd8a49db21a085c97dd88ccbacde2fca1576e32, which changes the minimal amount of things needed for this.
I've listed you as a co-author, using the same name+email as GitHub would have used had I merged this as-is.
Thanks for the PR @potpath! ^.^


[BUG] SAS tokens are sanitized incorrectly when they start with ?

Describe the bug
After introducing https://github.com/Azure/azure-sdk-for-java/pull/20520 SAS query params are sanitized but it seems like the parsing is not taking into account the case where the SAS token has a ? prefix:
https://github.com/Azure/azure-sdk-for-java/blob/3f31d68eed6fbe11516ca3afe3955c8840a6e974/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/connectionstring/StorageAuthenticationSettings.java#L86-L92
This ends up removing the first query parameter from the SAS token, therefore producing an invalid signature, since the first query parameter is parsed as ?<key> instead of <key>.
To Reproduce
Steps to reproduce the behavior:
Provide a valid SAS signature with ? as prefix.
Expected behavior
A clear and concise description of what you expected to happen.
Setup (please complete the following information):

Library/Libraries: com.azure:azure-storage:12.16.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

@rickle-msft @kasobol-msft could you please follow up with @fcofdez on this github issue?


ModuleNotFoundError: No module named 'aiohttp'

While installing in my VPS

Wha.., somehow its worked....


Refactor medal lock check a little bit

refactor medal lock get state a bit, now a runtime error doesn't happen and it will always give result now instead of just returning NOTHING when the medal wasn't locked

then it may have to be changed a bit in the admin panel then as it now returns 0 for non locked medals instead of just a big nothing

admin panel uses completely different apis and code, doesn't matter


Higher-Ranked types over lifetime in trait associated types

Currently the usability of trait associated types (as return values of methods) is mostly limited to those which have no lifetime parameters. That's because you need to fix those lifetime parameters at the impl level, whereas many times you would want a lifetime parameter that's dependant on the lifetimes of method arguments (say &'a self).
Example 1:
trait Position { ... }

struct MyStructPosition<'a> {
    _ref: &'a MyStruct,
    pos: u64,
    ...
}

impl<'a> Position for MyStructPosition<'a> { ... }

trait Positionable {
    type PositionType: Position;
    fn<'a>(&'a self, pos: u64) -> Self::PositionType<'a>;
}

impl Positionable for MyStruct {
    type PositionType = MyStructPosition;
    fn<'a>(&'a self, pos: u64) -> MyStructPosition<'a> { ... }
}

Example 2:
struct RaiiAndOption<T> {
    guard: RaiiGuard,
    data: Option<const * T>,
}

impl<T> Deref for RaiiAndOption<T> {
    type Target = Option<&T>;
    fn deref(&'a self) -> &'a Option<&'a T> {
        &self.data.map(|x| unsafe { mem::transmute<const * T, &'a T>(x) })
    }
}

It is true that the second example uses transmute, but this is safe - our inner references can only live as long as we can borrow RaiiAndOption, which means no later than the RaiiGuard is dropped.
Of course, the first one is reasonable syntax; the second is more of a stretch, verbatim, but even if the syntax will require a type OptionRef<'a, T> = Option<&'a T> that's still good.

https://github.com/rust-lang/rfcs/pull/1598 is an existing RFC for "Associated type constructors". Is this the same?

Yes. Thanks!


Hyperf v1.1.0 升级到v2.0.0后, 项目启动不了!!

按照文档上的升级流程走了以后, 启动项目 (php bin/hyperf.php start) :
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /codepath/project/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php on line 176

升级流程:

修改入口文件
修改phpunit入口文件
修改composer.json, 调整依赖版本, 升级到~2.0.0, 并执行composer update
调整 config/config.php 配置文件
修改 config/autoload/logger.php
修改 config/autoload/exceptions.php

环境与版本信息 (uname -a && php -v && composer info | grep hyperf && php --ri swoole):
Darwin mbp 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul  5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64
PHP 7.4.8 (cli) (built: Jul  9 2020 23:43:51) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
hyperf/async-queue                   v2.0.3   A async queue component for hyperf.
hyperf/cache                         v2.0.7   A cache component for hyperf.
hyperf/command                       v2.0.5   Command for hyperf
hyperf/config                        v2.0.3   An independent component that provides configuration container.
hyperf/contract                      v2.0.3   The contracts of Hyperf.
hyperf/crontab                       v2.0.3   A crontab component for Hyperf.
hyperf/database                      v2.0.4   A flexible database library.
hyperf/db-connection                 v2.0.3   A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v2.0.3   A Devtool for Hyperf.
hyperf/di                            v2.0.7   A DI for Hyperf.
hyperf/dispatcher                    v2.0.3   A HTTP Server for Hyperf.
hyperf/event                         v2.0.3   an event manager that implements PSR-14.
hyperf/exception-handler             v2.0.3   Exception handler for hyperf
hyperf/framework                     v2.0.3   A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microse...
hyperf/guzzle                        v2.0.3   Swoole coroutine handler for guzzle
hyperf/http-message                  v2.0.3   microservice framework base on swoole
hyperf/http-server                   v2.0.4   A HTTP Server for Hyperf.
hyperf/json-rpc                      v2.0.7   A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer                 v2.0.3   A load balancer library for Hyperf.
hyperf/logger                        v2.0.3   A logger component for hyperf.
hyperf/memory                        v2.0.3   An independent component that use to operate and manage memory.
hyperf/model-cache                   v2.0.5   A model cache component for hyperf.
hyperf/model-listener                v2.0.3   A model listener for Hyperf.
hyperf/paginator                     v2.0.3   A paginator component for hyperf.
hyperf/pool                          v2.0.3   An independent universal connection pool component.
hyperf/process                       v2.0.3   A process component for hyperf.
hyperf/redis                         v2.0.3   A redis component for hyperf.
hyperf/rpc                           v2.0.3   A rpc basic library for Hyperf.
hyperf/rpc-client                    v2.0.7   An abstract rpc server component for Hyperf.
hyperf/rpc-server                    v2.0.3   An abstract rpc server component for Hyperf.
hyperf/server                        v2.0.5   A base server library for Hyperf.
hyperf/testing                       v2.0.3   Testing for hyperf
hyperf/translation                   v2.0.3   An independent translation component, forked by illuminate/translation.
hyperf/utils                         v2.0.0   A tools package that could help developer solved the problem quickly.
hyperf/validation                    v2.0.5   hyperf validation

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.5.2
Built => Jun 17 2020 14:31:22
coroutine => enabled
kqueue => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1g  21 Apr 2020
pcre => enabled
zlib => 1.2.11
brotli => E16777223/D16777223
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

修改php.inimemory_limit到228M以后问题解决, 但是为什么128M内存不够用了呢?

改一下内存限制

修改php.inimemory_limit到228M以后问题解决, 但是为什么128M内存不够用了呢?

2.0 在启动阶段需要使用的内存上限是超过 128m 的，所以需要设置下内存


Add a mapping file

Add a mapping file describing which input file has been renamed into which other file name.

Is it really necessary to rename the files? This will be problematic for users, as it is unwieldy to have to check the content of the filenamemappings.dat file to attribute each file to each marker. It would be much better if the names of the input files are used for the outputs; if some renaming cannot be avoided, then maybe we could just append something after the original part of the filename (e.g. originalname_newpart)?

The original file name may contain characters that can break a script or somehow represent a security risk. This is more a problem from files coming from a linux os than from a windows os - since it is totally valid to have characters like '*', '?', '<', '>' etc. present in Linux files ... but files on Windows are not allowed to contain such characters. Also with the multi file upload it is (tricky but) possible to upload multiple files from different folders. It is then possible that two (or more files) share the same file name - which results in multiple files overwriting each other. Via the file renaming I'm preventing such issues ... but maybe it is possible to do this a bit less restrictive ... I will reopen the issue and evaluate/implement another method.

I see... A possibility would be to remove all non-alphanumerical characters from the filenames, then append a number ("_1", "_2", etc.) specifying the order in which the files were uploaded - I guess that it would remove the security risk and the problem of having several files with identical names, while at the same time making it possible for users to identify easily their input files in the names of the output files).

At the moment it is a bit like this. It is "secured original name till first ."_"nr".fa, where all non alpha numerical characters have been replaced by a "X".

It sounds perfect, except that I would rather go till the last dot (unless this poses a security problem) as users may have put important information after the first dot. Also, in Linux it could be that there is no dot at all, so we need to make sure that this would not break the script.

It does not break the script if there's no dot at all ... This is a case that I already tested yesterday.

Better to only rename files internally but when they are getting served - use original names ...

Not needed anymore - files get renamed internally but are shown with the original file name in the zip / when downloaded ....
solved with commit 40e6b23195e79c3ab780eb69bd8d7316e1837e29 / 6ec86efbdc2a3951b2b2a355b122a43de02c6e0b


KDE lagging and OBS flickering on Nvidia

Change the composition settings in nvidia-settings may fix the problem

Saving settings to X config needs sudo

Needs help to:

Check if it really fix the problem
Create the code to apply* and change the config file

* may not need, can the user be prompted to logout or restart computer

To a better result uncheck "allow flipping" in opengl settings:


Can you do screenshot though? From 3s in as e.g.

I was redirected here from https://stackoverflow.com/questions/46344151/mp4-upload-is-it-possible-to-make-screenshot-via-php but couldn't find any examples of using library to take screenhots. Chrs!

https://github.com/PHP-FFMpeg/PHP-FFMpeg#basic-usage here you have example


Creating pinned pointers from archived types is technically incorrect

The pinning invariants require that pinned values must be dropped before the memory is reused. However, because archived types are self-contained and never dropped, that's not the case for them. Therefore, it's technically incorrect to create pinned references to archived types.
This is a pretty minor issue but does suggest that rkyv may benefit from its own flavor of pinned pointers or that Pin's guarantees could be relaxed.

Fixed by eb16b0c7ebb23a0118b8c4ed5f453edaf1f97444


Doc: Hide ip-security shared-key from device documentation

Change Summary
Better not to display the shared-key in the device documentation for everyone to grab
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
The key is not rendered in the doc per se but can be seen in EOS template rendered in the doc. Added the necessary Jinja2 filter to hide it from the doc
How to test
molecule
Checklist
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

Would probably be a good idea to add ip_security to the test hide-passwords


Flutter aboutDialog applicationIcon is black

Steps to Reproduce

create a new flutter app
add a AboutListTile to it
add a ImageIcon with your logo to the AboutListTile

Logs
Analyzing schoolsen_mobile...
No issues found! (ran in 5.4s)

[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.165], locale de-DE)
    • Flutter version 0.5.1 at E:\Flutter\flutter
    • Framework revision c7ea3ca377 (2 months ago), 2018-05-29 21:07:33 +0200
    • Engine revision 1ed25ca7b7
    • Dart version 2.0.0-dev.58.0.flutter-f981f09760

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\Gregor\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: E:\Program Files\Android\AndroidStudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at E:\Program Files\Android\AndroidStudio
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] Connected devices (2 available)
    • ONEPLUS A3003             • fe20f4e6      • android-arm64 • Android 8.0.0 (API 26)
    • Android SDK built for x86 • emulator-5554 • android-x86   • Android 9 (API 28) (emulator)

Can you please post a screenshot?
Does flutter clean fix it?
Is there any error output?

Here's a screenshot.
I'm currently on vacation so I'm not able to test it. But can you reproduce it ?

The applicationIcon stayed black after flutter clean and upgrading to the newest version of flutter.

It seems that the problem is the ImageIcon. With Image.asset() it works.

The problem is that generally a AssetImage doesn't work inside an ImageIcon.


Underscore not escaped

\iexec[stdout=foo.txt]{echo $MY_VAR}
will result in
unhbox voidb@x protect penalty @M hskip z@skip T1textunderscore protect discretionary {char hyphenchar font }{}{}protect penalty @M hskip z@skip VAR

A shell variable is not my actual use case, I'm trying to use jq and the json key also contains an underscore. Unfortunately I have no experience with writing latex plugins, so I'm having a hard time figuring out how to fix this. I saw this escaping and tried to append something like \let\__%, but no avail.

@jgollenz see 0582fd4 and f66fd29 The test works for me.

@jgollenz maybe the problem is related to the fact that you don't use quiet option and the result of execution gets imported into your document. This text may have some issues, that's why your compiler complains.


Bluetooth: The work struct bt_conn::tx_complete_work  cannot be submitted due to the flag K_WORK_CANCELING_BIT of k_sys_work_q is set

Describe the bug
After the hci_num_completed_packets is received, the pending conn_tx will be appeded to the queue struct bt_conn::tx_complete. And the work struct bt_conn::tx_complete_work will be submitted.
But the work struct bt_conn::tx_complete_work  cannot be submitted due to the flag K_WORK_CANCELING_BIT of k_sys_work_q is set.
When the issue occurs,, the error code -EBUSY will be returned by k_work_submit(&conn->tx_complete_work); in function hci_num_completed_packets of file hci_core.c. While the error code is ignored by the function k_work_submit(&conn->tx_complete_work);.
Because the error code is ignored, this causes the Bluetooth Host stack to hang.

Form the debug log, there are three conn_tx nodes 0x5659aa80,0x5659aa60,0x5659aa70 completed.

After check all appended note of struct bt_conn::tx_complete, all of these nodes are appended.

Meanwhile, the BIT K_WORK_CANCELING_BIT of flags is set in k_sys_work_q.

Is this for classic or LE?

Is this for classic or LE?

I found this issue in BR/EDR examples. However, I think this issue should not be unique to BE/EDR. From a code perspective, the function hci_num_completed_packets does not capture and handle all possible exceptions.

@lylezhu2012 do you have a fix proposal?

@lylezhu2012 do you have a fix proposal?

After in-depth research, I found that the cause of the issue was inconsistent with my previous description. The work work struct bt_conn::tx_complete_work has been submitted, but it is not executed. The system work queue is in canceling state. The pending work is not executed normally.
The function bt_conn_create_pdu_timeout is called in system work queue thread context. It blocks the thread of k_sys_work_q. It make the system work queue to hang.
It seams the wrong usage. The function bt_conn_create_pdu_timeout cannot be called in context of the thread of k_sys_work_q.


Upgrade akka-http to 10.0.1

https://github.com/MonsantoCo/kamon-prometheus/issues/13

Coverage remained the same at 88.421% when pulling 871d22663cc8d6d0cdfa7a817cee443e2b1c5e8f on pjfanning:upgrade-akka-http into 42aa539bbcad70bf9ff47ae620ecce58ce71ddb6 on MonsantoCo:master.


serialization performance

Benchmark performance as fraction of standard json serialization
Without these changes:  0.35
changes from #77: 0.48
All these changes: 0.71

Awesome! What did you find were the next big wins?

Most of the improvement was using a ResourceObjectContract that predetermines the json:api properties. So the WriteFullObjectJson and WriteReferenceObjectJson no longer needs to to do property lookups or determine if a property is an attribute or relationship, this is all contained in the ResourceObjectContract which json.net will cache for us.
Also a small change at https://github.com/codecutout/JsonApiSerializer/pull/79/files#diff-b1866ec017b021bc4857b4ee4f7a36a7R48 saw a rather nice performance bump
There are a few other things I want to have a look into

Tune the list processing to remove the ienumerable
Investigate a way remove dependance on writer.path which is starting to show up more during profiling. We may be able to keep our own writing stack to determine if we are in a relationship or not. But i'm not sure if the stack will be any faster than the writer.path

Want to get this in and we can do another round later? This will be pretty dramatic as is.

With the latest commit: 1.02
You read that correctly, it is somehow faster than vanilla json serialisation.
I'm ecstatic about the speed, it is making me question my benchmark. I cant see any obvious issue with it, all tests are passing and it is undoubtedly faster (although im still suspicious its THAT much faster) so I cant see any reason to not merge it in

Awesome! 👍 Nice work :D


[Dev]Developer's photo overlap text in Contribute section

Prerequisites:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Steps to reproduce:
1.Go to MP-dev and open any addon with contributions(ie .  https://addons-dev.allizom.org/ro/firefox/addon/adblock-plus/?src=hp-dl-mostpopular)
2.Observe contributions section
Expected results:
No UI issues
Actual results:
Developer's photo overlap text in Contribute section
Please see screencast for this bug : http://screencast.com/t/n78GHxnEVj
NOTES:
Not reproducible on Stage

Fixed via #1237


KeyDive timeout

Hi everyone, I am stuck here. How can I continue. Can somebody help me? thank you!

The problem is in the hook of the frida-server binary which needs to be run as root. And if this is already the case, try deactivating/reducing SELinux (setenforce 0)


Bring docker to our campus

Individual(s) responsible: @palash25

@palash25  What is it about? Looks so cool, give some reference?

It has been discontinued for now. I will post a link if this program starts again.
https://blog.docker.com/2017/05/announcing-docker-student-developer-kit-campus-ambassador-program/

Ok this can be done later then, not necessarily in August. 👍


Chrome-tracing error on a recursive make directory

Expected Behavior
With a recursive make set of json (outputted by remake), makegrind chrome-tracing  produce a chrome-tracing output
Actual Behavior
Crash
makegrind -v chrome-tracing
INFO: Loading files
INFO: Combining graphs
INFO: Generating chrome-traching file
Traceback (most recent call last):
  File "/home/DianaO/.local/bin/makegrind", line 33, in <module>
    sys.exit(load_entry_point('makegrind==0.1.dev7+g8237762.d20230120', 'console_scripts', 'makegrind')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    rv.append(sub_ctx.command.invoke(sub_ctx))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/decorators.py", line 38, in new_func
    return f(get_current_context().obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/__main__.py", line 151, in chrome_tracing
    makegrind.dump_chrome_tracing(graph, outfile)
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/output.py", line 102, in dump_chrome_tracing
    process(graph.targets.info(node))
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/output.py", line 90, in process
    process(child)
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/output.py", line 90, in process
    process(child)
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/output.py", line 90, in process
    process(child)
  [Previous line repeated 6 more times]
  File "/home/DianaO/.local/lib/python3.11/site-packages/makegrind/output.py", line 84, in process
    "ts": round(node.start.timestamp() * 1000000),
                ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'timestamp'

Steps to Reproduce the Problem

get a recursive make set of build.*.json
makegrind chrome-tracing

Specifications

Version: Python 3.11.1
Platform: Fedora amd64

I am going to explore this one myself more tomorrow, but I wanted to open it in case someone that understands this stuff better could find a solution faster.


merge hotel api updates

Docs Build status updates of commit 78efaaf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/hotel-ads/release-notes.md
:white_check_mark:Succeeded

Advertising/hotel-service/get-started-service.md
:white_check_mark:Succeeded

Advertising/hotel-service/get-started.md
:white_check_mark:Succeeded

Advertising/pos-feed/create-pos-feed.md
:white_check_mark:Succeeded

Advertising/transaction-message/transaction-message.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Method not found in ExpectoConfig..ctor

It seems like this one has popped up and been fixed before.
Executing tests in assembly E:\GitRepos\DependentTypes\tests\DomainLib.Tests\bin\Debug\net472\DomainLib.Tests.exe
[9/30/2018 12:28:16 PM Error] System.MissingMethodException: Method not found: 'Void ExpectoConfig..ctor(Boolean, Int32, Microsoft.FSharp.Core.FSharpOption`1<System.TimeSpan>, System.TimeSpan, Double, Boolean, Microsoft.FSharp.Core.FSharpFunc`2<Expecto.Test,Expecto.Test>, TestPrinters, Expecto.Logging.LogLevel, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpFunc`2<Expecto.TestCode,Expecto.SourceLocation>, Int32, Int32, Microsoft.FSharp.Core.FSharpOption`1<Int32>, Boolean, Boolean)'.
   at Execution.ExecuteProxy.ExecuteTests()
   at Execution.ExecuteProxy.ExecuteTests()
   at <StartupCode$Expecto-VisualStudio-TestAdapter>.$Execution.clo@180-10.Invoke(Unit unitVar)
   at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@522.Invoke(AsyncParams`1 args)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.FSharp.Control.AsyncBuilderImpl.commit[a](AsyncImplResult`1 res)
   at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronouslyInCurrentThread[a](CancellationToken token, FSharpAsync`1 computation)
   at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[a](CancellationToken token, FSharpAsync`1 computation, FSharpOption`1 timeout)
   at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken)
   at Execution.ExpectoTestExecutor.runAllExecutors()
   at Execution.ExpectoTestExecutor.Microsoft-VisualStudio-TestPlatform-ObjectModel-Adapter-ITestExecutor-RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle)

building with dotnet\sdk\2.1.500-preview-009297
test exe is net472
Expecto adapter version 9
VS 15.9.0 Preview 2.0 or VS 15.8.5
Reproduction steps:
clone this commit of DependentTypes
https://github.com/jackfoxy/DependentTypes/commit/6474cf9ef818861978484540f595c492dff0e564
Do test discovery and run all tests.

@jackfoxy I think it is related to a breaking change in expecto. New package pushed to a nugget. Please give a sign if it helps you.

@MNie fixed. Thanks.


Get Started with UI5 Web Components for React

Tutorial: https://developers.sap.com/tutorials/ui5-webcomponents-react-introduction.html
Write here what you need help with ...
The command "npx create-react-app my-app --template @ui5/cra-template-webcomponents-react" does not generate the template properly to follow the tutorial instructions.

Hi @AlexandreFossati
for me it works as expected. Could you please elaborate on what exactly is missing?

Hi @AlexandreFossati
for me it works as expected. Could you please elaborate on what exactly is missing?

The YARN command was working perfectly, so I run node -v and noticed that I was using version 10, that was the problem, the command now is working fine, sorry :(

The YARN command was working perfectly, so I run node -v and noticed that I was using version 10, that was the problem, the command now is working fine, sorry :(


feat(store): improve errors

In this PR we improve error statuses returned by the some store API.
Initially it was needed by https://github.com/0xPolygonMiden/miden-node/issues/504 (I wanted to be able to process "account not in DB" errors), but finally it became unused due to changed solution. But it might make our API better, so I propose to keep these changes.

There are still possibilities where the mapping might be the wrong default for some situations; e.g. if we have bad internal state and attempt to retrieve an unknown block then that shouldn't be exposed.

Yes, for such cases we can map it to whatever we need. :)


Field argument descriptions don't get applied if using raw identifier in arguments

This is quite an obscure bug that I doubt many will run into, but I did hit while building juniper-from-schema.
Describe the bug
If you define an object like this:
#[graphql_object]
impl Query {
    #[graphql(
        arguments(
            a(description = "foo"),
            b(description = "bar"),
        )
    )]
    fn add(a: i32, b: i32) -> i32 {
        a + b
    }
}

Then the docs on the arguments show up just fine in GraphiQL.
However if you use raw identifiers
#[graphql_object]
impl Query {
    #[graphql(
        arguments(
            r#a(description = "foo"),
            r#b(description = "bar"),
        )
    )]
    fn add(r#a: i32, r#b: i32) -> i32 {
        a + b
    }
}

Then they don't show up
To Reproduce
Example warp app with GraphiQL that I used for debugging this
use juniper::*;
use warp::Filter;

type Schema = RootNode<'static, Query, EmptyMutation<()>, EmptySubscription<()>>;

fn schema() -> Schema {
    Schema::new(
        Query,
        EmptyMutation::<()>::new(),
        EmptySubscription::<()>::new(),
    )
}

struct Query;

#[graphql_object]
impl Query {
    #[graphql(
        arguments(
            r#a(description = "foo"),
            r#b(description = "bar"),
        )
    )]
    fn add(r#a: i32, r#b: i32) -> i32 {
        a + b
    }
}

#[tokio::main]
async fn main() {
    let state = warp::any().map(move || ());

    let graphql_filter = juniper_warp::make_graphql_filter(schema(), state.boxed());

    let graphiql_filter = warp::get()
        .and(warp::path("graphiql"))
        .and(juniper_warp::graphiql_filter("/graphql", None));

    warp::serve(graphiql_filter.or(warp::path("graphql").and(graphql_filter)))
        .run(([127, 0, 0, 1], 8080))
        .await
}

@davidpdrsn but why do we need use raw arguments in proc macro tokens? The arguments are anyway wiil be named as a and b in schema. r#awing arguments is only required for usual Rust code, in proc macro we are free to use even keyword, so r#awing is not required.

In juniper-from-schema I use raw identifiers when generating code for all idents that come from the schema in case users put Rust keywords in the schema. I get that it isn't strictly necessary in this case but rather than checking if something is a keyword I would rather just use raw idents everywhere.


ID mismatch read

There seems to be some ID mismatch issue with the mod, its not reading some modid correctly:
mod called go-fish-1.2.3-beta-1.16.5.jar with id go-fish is read as gofish by the walled garden, same goes for morevillagers-fabric which is read as morevillagers thus making it client unable to join the game:

I've got a pretty good idea of why this is happening. Could you share your config file please?

Actually, the issue is with how those mods register blocks and items. They each use the namespace morevillagers and gofish respectively when registering things, but their actual mod ID's are morevillagers-fabric and go-fish which causes the mismatch. You can disable the option that requires mods that add blocks and items as a fix on your end, though the most appropriate action would be for the developers of those mods to change their mod ID's accordingly.


Add Test Function

This will make it easy to check whether the data diode is configured properly. Also, users can now test pydiode without potentially leaking sensitive information (e.g., if they haven't configured network interfaces correctly).

@Patrick-Ziegler When you have time, it would be good to test that everything works as expected when tested on Debian or Tails. So far, I've only tested locally on my Mac.

I tested this in the lab today, and it seems to work well! So I will merge into main.


design patterns for real projects

hey dudes, some days ago I was reading codes from this repo I have an idea. Would be nice to have some libraries with abstract implementation of Design Patterns so I can use in real project!
What it means?
Something like PSRs and we could create a organization with some repositories to provide the way to implement one specific pattern
Look like, create a abstract structure to someone implement a Chain of Responsibility? You know...

The purpose of this repository is to teach users how to implement generally used design patterns in real world scenarios. These are in general, and not language specific. Neither are they anyones creation. Therefore, an organisation is not necessary to be setup to enforce this. It is not necessary to enforce these, as they are already practiced.

@HassanAlthaf +1

@HassanAlthaf +1

@domnikl I suggest closing this issue.


Device not found: LDH400

Hi, I have a LDH400 DC load with LXI enabled, still the tools are unable to find the device.
I have tried all mDNS services.
The linux is running on a VM in the same network as the DC load.
trying the command line give ma also an error.
Can you help me out where it gets stuck?
Kind Regards
Davy

Please find attached some screenshots.

EDIT: When rinning the command  with -r and specific port it works.
I cannot change the port number.
Is it possible to add the feature in the GUI?

Same problem with the Aim TTi CPX400SP. Connected it to a local switch with a fixed IP and I can ping it, go to the web interface etc.

EDIT: When rinning the command with -r and specific port it works.
I cannot change the port number.

This solved it, although I don't understand why a search via mDNS is necessary if I use an IP.

To me it seems like your Aim instruments do not support the standard VXI11 protocol but only RAW TCP for sending commands.

This solved it, although I don't understand why a search via mDNS is necessary if I use an IP.
Apparently your instrument does not support the old way of discovery that most instruments support. Maybe Aim decided to leave it behind.

EDIT: When rinning the command with -r and specific port it works. I cannot change the port number. Is it possible to add the feature in the GUI?

The lxi-gui application has recently been fully rewritten in GTK4. I may add such option in the future but the gui is really only meant to be simple and support instruments which adhere strictly to the LXI standard.

Oh, by the way. If you guys run stuff in a VM, you have to remember to bridge the VM network with your local network else the discovery broadcast messages will be lost. This may be another reason the discover feature did not work for you.


Custom Inventory classes

From the first Note above, "If you've manually changed the Configuration.mof file to add custom inventory classes, these changes will be overwritten when you update to version 1602."
Does this apply to just an upgrade to 1602? Or do these custom classes get overwritten after each upgrade  (1702, 1710, 1802 etc.,)?

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

ID: 54dd8166-9fb1-3027-ad24-6a14c2dd5f3f
Version Independent ID: 02c01bf8-020c-b29a-ab8f-1541c83743b5
Content: Extend hardware inventory - Configuration Manager
Content Source: sccm/core/clients/manage/inventory/extend-hardware-inventory.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @jocasti for calling this out. At the very least I'm trying to clean up references to old builds that are no longer supported. In this case it obviously could have a functional impact as well. I'm checking with engineering.

Any updates on the question of jocasti as apparently with my upgrade 1802 the Custom Inventory Classes previously used are gone !!!

To extend hardware inventory do we need to add the relevant WMI class to each SCCM client and then add it to the client settings?
If yes, how do you do it?

Thanks again for the feedback. We recently moved this content to a new GitHub repository, so this issue is no longer tracked with the original article. As part of that process, we reviewed our backlog of feedback, and made some tough decisions on items that we don't think we'll realistically ever address. If you're passionate about this specific feedback, please refile it on the current article, now under docs.microsoft.com/mem/configmgr.
(I think this is now obsolete too, as 1802 is no longer supported)


Update README.md

Fixed a typo and wording error.
@robertleeplummerjr Reopening the PR here as requested. :)
Also I'd be happy to help maintain the repo if needed.

I love open source.  That has to be a record of the fastest turnaround of any pr I've ever had the pleasure of working with.  Ty!


Ignore a flaky Kademlia test

#[ignore] that Kademlia test that likes to randomly fail due to being dependent on actual network.

bors cancel

bors r-

bors retry

no I didn't want to retry the cancel :)
bors r+

bors retry


Replacing /usr/local/bin/forever with /usr/bin/env forever for better portability of script/server

For whatever reason on my system, forever is installed in /usr/bin/forever and not /usr/local/bin/forever. I hope this is a small and acceptable edit that will make harmony-api run easily for more users.

I've run into this too recently. Maybe instead, just fetch the path with which?

That's essentially what /usr/bin/env is doing. If forever is in the path, it will find it and run it. Though it looks like /usr/local/bin isn't in the path for all use cases on OS X: https://github.com/gtramontina/ghooks/issues/30

That's essentially what /usr/bin/env is doing.

Oh, I see. I was reading it wrong. Great! Thanks.


RuntimeError: maximum recursion depth exceeded

File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 68, in walk_to
self._do_walk_to(speed, position_lat, position_lng, lat, lng, alt, 25)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 94, in _do_walk_to
self._work_at_position(position_lat, position_lng)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 137, in _work_at_position
self.bot.work_on_cell(cell)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/init.py", line 90, in work_on_cell
walk_worker.work()
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/cell_workers/walk_towards_fort_worker.py", line 62, in work
self.stepper.walk_to(self.config.walk, *position)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 68, in walk_to
self._do_walk_to(speed, position_lat, position_lng, lat, lng, alt, 25)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 94, in _do_walk_to
self._work_at_position(position_lat, position_lng)
File "/home/wwwroot/pokemon/OpenPoGoBot/pokemongo_bot/stepper.py", line 123, in _work_at_position
response_dict = self.api_wrapper.call()
File "/home/wwwroot/pokemon/OpenPoGoBot/api/init.py", line 96, in call
results = request.call()
File "/home/wwwroot/pokemon/OpenPoGoBot/src/pgoapi/pgoapi/pgoapi.py", line 177, in call
request = RpcApi(self._auth_provider)
File "/home/wwwroot/pokemon/OpenPoGoBot/src/pgoapi/pgoapi/rpc_api.py", line 56, in init
self._session = requests.session()
File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 689, in session
return Session()
File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 346, in init
self.mount('https://', HTTPAdapter())
File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 109, in init
self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block)
File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 145, in init_poolmanager
block=block, strict=True, **pool_kwargs)
File "/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/poolmanager.py", line 66, in init
dispose_func=lambda p: p.close())
File "/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/_collections.py", line 47, in init
self._container = self.ContainerCls()
File "/usr/local/lib/python2.7/collections.py", line 57, in init
self.__update(*args, **kwds)
File "/usr/local/lib/python2.7/abc.py", line 151, in subclasscheck
if subclass in cls._abc_cache:
File "/usr/local/lib/python2.7/_weakrefset.py", line 72, in contains
wr = ref(item)
RuntimeError: maximum recursion depth exceeded

Duplicate of #147.


Streaming Support

cc @sj26 @keithpitt
The problem (as described to me by @keithpitt) is terminal (and its ecosystem) need to support the common use case of being able to see output as it happens, including being able to display in-browser those clever npm/yarn/docker spinners and progress bars and so forth.
 Bor-ing.
terminal parses the ANSI, the browser interprets it
Terminal is responsible for parsing the ANSI and turning it in to a set of instructions (eg left; up; color 3; write bob) that are then sent to the browser for interpretation.
terminal parses the ANSI and renders it, sends browser individual lines
Terminal parses the ANSI, renders it to an internal buffer, and at a set interval (once per second? faster? when a certain amount of input is read?) sends the lines to the browser. The browser receives the lines and either adds them to the DOM (if it's a new line) or replaces it (if it's an existing line).
Terminal would stream JSON blobs (with one blob per newline) that would look something like this:
{ line: 1, html: "<span class=..." }
...
{ line: 50, html: "Loading.. 10%" }
{ line: 50, html: "Loading.. 20%" }
{ line: 50, html: "Loading.. 30%" }

Personally, I prefer option 3, but if I was worried about moving parts and so forth I'd be strongly considering option 1. I have some sentimental attachment to this project but it's mainly an excuse for me to hack on something in Go where performance is a factor more than anything else.
If you went with option 2 or 3, you could integrate that directly in to the agent to reduce the load on your own servers, and have the agent send both ANSI and the line changes. Also, less moving parts & service management. That said .. we (Marketplacer) very rarely ever upgrade our agents (because lazy/risk averse) so backward compat may be an issue for some of your customers.

I’d been thinking we’d go for option 1, but I think I’m having the engineer’s fallacy of seeing an interesting problem I want to take on when there’s already a viable solution in place. 😅
I figure as much as it’d be nice to defer this responsibility to the Agent, it might well make more sense to defer it to the end user’s computer if anything. I think the possibility of pushing the raw ANSI over a websocket came up at one point.
Now the interesting thing is that these options seem to flout the existing line limits we have in place. That’s potentially okay if we’re buffering things correctly and ensuring the lines are accepted correctly, but it’d be worth double checking our math when we calculate which lines are valid.

but I think I’m having the engineer’s fallacy of seeing an interesting problem I want to take on

I have exactly this problem ;)

Hello!
I'm looking for something to hack on this RailsCamp, and this seems appropriate as it's Go and Javascript.
Did you end up reaching a decision?

At RailsCamp I worked on a proof of concept for streaming support: https://github.com/buildkite/terminal/compare/mp/Streaming?expand=1
Demo by building it then running cat fixtures/npm.sh.raw | ./terminal-to-html -rateLimit 100 and opening http://localhost:6060
Supports multiple clients (had it up to 25 at RC during the demo). If you stop the server and re-run it with new input it'll refresh also.


Add GPS filtering to task creation flow

Add support to filter images by GPS location during task creation flow
PR fixes #82
Changes

Add latitude+longitude filters to the task creation form
Change Image model to default location attributes to invalid values rather than using required=false, which seems to be the same as defaulting to 0 (a valid value) rather than undefined
Plumb filters through the task POST endpoint and taskQueuer

Note the ticket specifies setting a placeholder text on the form fields, but placeholders appear to be broken on this whole form. Suggest we fix that bug as a separate task.
Test Plan:

Tested that the UI can correctly reflect filters in image-count
Verified taskQueuer finds the right files
Verified image preview shows the right files
Verified ground truth page and CSV exports still work properly with model changes

hiya @naknomum ! Yes, the intention of the ticket is that values outside of the lat/long ranges listed should be disallowed from being entered.


Update captions.csv

I guess I didn't understand previously now i have done it again please tell if its right and pull my request
thank you

Doesn't follow the guidelines set in https://github.com/devcer/captions-for-ig/issues/1 ! Please resubmit to get this merged.


Add support for k0s

I would like to have support for k0s as well as k3s for the templates.

I am a bit hesitant on adding support for k0s because I don't really have the inside-out knowledge like I do with k3s. However it would be interesting to see what needs to change to see that happen.

Done


SHOW BACKUP privileges update

Closes #9558

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c3703cc2773839b3573b29d235eb03128f22f967/
Edited pages:

v21.1/show-backup.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/818905af0f32a5d4a705a6f24a3a7f27f2c91fbc/
Edited pages:

v21.1/import.md
v21.1/show-backup.md


Async Main on templates

Fixes https://github.com/aspnet/Templating/issues/733.

@ryanbrandenburg do you know if this works in VS 16 OOTB? I was playing around with it and it seems like async main isn't on by default.
@jaredpar it seems like the default langauge version of 16 isn't quite 8? When will we be able to use async main by default without a language version specified in the project template?

it seems like the default langauge version of 16 isn't quite 8?

Correct. The C# 8 features are in preview at Dev16 RTM. They won't go RTM themselves until we get to .NET Core 3.0 RTM.

When will we be able to use async main by default without a language version specified in the project template?

Likely Dev16RTM when we move the default language version to 7.3.

@ryanbrandenburg we should probably close this and reopen when we will get to this.


Knowledge Panel clickable in scanner

What

KnowledgePanel is clickable but is not
It should not be clickable

https://user-images.githubusercontent.com/39344769/169523057-012dcf87-0552-400c-8bde-4a3d1f6194c8.mp4

2 modification have been implemented, please let me know if it is not ok for you:

If Summary card is not a full version(in carousel), those Score Card are not clickable any more ( icon Arrow_down will be hidden)
Click on the label : "Tap to see more info..." to open the product page, not all card

no clickable
clickable

--
--

great @cli1005 👍
Not sure about the rationale behind this change: "Click on the label : "Tap to see more info..." to open the product page, not all card"

Just assigning myself to not forget to test this

we can close I believe


west init --mr SHA works again

west init --mr SHA does not work for a while now.
This PR adds this capability back into the resulting docker-image.
Relates to nrfconnect/sdk-nrf#11346

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

Thanks!


When will the code be released?

Hi, thanks for your interest, and also sorry for the late response.
We've released the code for our DiffuseHigh.
Also, we've updated our method with more features, please check the new version of our DiffuseHigh on arXiv.
Thanks!

I'll close this issue, thanks!


Errorr when running for a long period of time

I am using one Coral Edge Tpu on Raspberry Pi 4.  I run yolov5s created using this repo at about 5 ~ 10 fps.  I have encountered the following error consistenly when running the code for a long period of time (couple of hours) but also occasionally in shorter amounts of time(several minutes).
F :859] transfer on tag 2 failed. Abort. Deadline exceeded: USB transfer error 2 [LibUsbDataOutCallback]
As mentioned in #11 , it may be a power issue. But I had used  an USB Power Meter to confirm that the Tpu consistenly draw about 4.95V and 0.20A (even at the moment the above  error showing up). The only thing i connected to the Pi 4 is the Tpu and a webcam, so i don't thing power is an issue.
Moreover, I encountered the the error after i switching from MobileNet SSD V2 (Downloaded from the coral official site) to yolov5s.
Here is the edgetpu compiler log for the yolov5s:

Link for .tflite file: yolov5s-int8_edgetpu.tflite
I hope I gave you all the information needed, please do not hesitate to ask for more precisions.
Thanks in advance.

Hello, it seems to be a usb3 issue, which I sometimes have with the RPI3. Could you try to see if it is reproducible on a us2 port or with a different cable?

Hello, it seems to be a usb3 issue, which I sometimes have with the RPI3. Could you try to see if it is reproducible on a us2 port or with a different cable?

@Namburger
Thank you. I will try using a different cable first then usb2.

@Namburger
Thank you. I will try using a different cable first then usb2.

@Namburger
Both options "using a different cable" and "use usb2 port" still encounter the same error.
This error could be related to yolov5s model, cuase my code work fine with MobileNet SSD V2
The code from .7z file i attached here should be able to reproduce the error if you want to have a try.
yolov5s.7z
Inside here you will see three files

yolov5s.py: the main code
yolov5s-int8_edgetpu.tflite: model file
yolov5s.yaml: cfg file for yolov5s

It may take up to 20 hours until the erorr show up.

@Namburger
Both options "using a different cable" and "use usb2 port" still encounter the same error.
This error could be related to yolov5s model, cuase my code work fine with MobileNet SSD V2
The code from .7z file i attached here should be able to reproduce the error if you want to have a try.
yolov5s.7z
Inside here you will see three files

yolov5s.py: the main code
yolov5s-int8_edgetpu.tflite: model file
yolov5s.yaml: cfg file for yolov5s

It may take up to 20 hours until the erorr show up.

As mentioned here
Running on an ubuntu PC for 48 hours without error.
so, it may be an OS issue?

As mentioned here
Running on an ubuntu PC for 48 hours without error.
so, it may be an OS issue?

I tested on a different set of hardware(RPI4 and TPU), the error still show up.

I tested on a different set of hardware(RPI4 and TPU), the error still show up.

I found the problem, but don't know how to fix it.
import numpy as np
import time
from models.yolov5 import yolov5
from utils.camera import ImageGenerator
model = yolov5('weights/yolov5s-int8_edgetpu.tflite',
               'weights/yolov5s.yaml', 0.5)

gen = ImageGenerator()
# if comment out the following line, error won't show up
gen.start_read()
ret = True
while ret:
    img = np.random.randint(0, 256, (600, 800, 3)).astype('uint8')
    model.predict(img)

start_read() method will start a new thread to read frame from usb webcam constantly.
predict() method do preprocessing and invoke() and postpreocessing using edge tpu.
I found that error won't show up if i comment out  gen.start_read()  (89hours without error).
So can it be the limitation of the usb bandwidth?


How to import WebAudioRecorder.js in ReactJs component?

My ReactJs project is based on ReactJs Boilerplate project architecture. I have a ReactJs Component in which I have to record audio in ogg format.  I have seen three similar node modules links for same library which is also bit confusing for us to choose right one.
QUESTION 1: Please let us know which one is working perfect for ReactJs project:

web-audio-recorder-js-webpack
web-audio-recorder-js
web-audio-recorder-fixed

QUESTION 2: How to import in my ReactJS component?
As I was expecting from node libraries are mostly used without calling in html. I mean without using the script tag. But you have mention to call in HTML. Which is logically incorrect with ReactJs, Vue and Angular . So I would like to request you to please suggest us how to use it with this kind of framework projects.
<script src="javascripts/WebAudioRecorder.js"></script>

This is an implementation/learning/knowledge question relating nothing to this library.
Post your question on Stackoverflow.com.
@tiggem1993 close this issue.

This is an implementation/learning/knowledge question relating nothing to this library.
Post your question on Stackoverflow.com.
@tiggem1993 close this issue.


Collision slowdown/stuck in objects

Godot version
4.1.1 stable
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 SUPER (NVIDIA; <IP_ADDRESS>79) - Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 Threads)
Issue description
I'm working on an immersive sim type project, and part of that is being able to pick up and throw objects, however, when the objects are near a wall and the play rubs up against the wall while on these objects, collision has a really bad tendency to slow down significantly, or for the player to get stuck entirely (at which point the slowdown seems to stop).
Steps to reproduce
WASD movement, tab to enable/disable mouse, space to jump, right click to pick up/throw boxes.
Jump around the boxes and walk into the corners formed between the boxes and wall. Boxes can be thrown to create new, more natural angles that would be relevant for real use applications.
Minimal reproduction project
BugReproductionProject.zip

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/65596.


Bug with yarn berry: @vue/test-utils tried to access @vue/compiler-dom

Describe the bug
with yarn berry i have an issue with the version 2.4.0.

 RUN  v0.32.2 /app

 ❯ example.test.ts (0)

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  example.test.ts [ example.test.ts ]
Error: @vue/test-utils tried to access @vue/compiler-dom (a peer dependency) but it isn't provided by your application; this makes the require call ambiguous and unsound.

Required package: @vue/compiler-dom (via<EMAIL_ADDRESS>Required by: @vue/test-utils@virtual:0460f86c7587ee75dac643681550c044e8047ba46e219a5baac054fc0fea2d0af97a9bd3fe4b22de0884797215e0a1a4368bb60f9ef7087a69c4008789f4e032#npm:2.4.0 (via /app/.yarn/__virtual__/@vue-test-utils-virtual-4aca422d8c/0/cache/<EMAIL_ADDRESS>Ancestor breaking the chain: app@workspace:.

 ❯ makeError .pnp.cjs:11264:34
 ❯ resolveToUnqualified .pnp.cjs:12930:21
 ❯ Object.resolveToUnqualified .pnp.cjs:13173:26
 ❯ resolve$1 .pnp.loader.mjs:1977:31

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
  "code": "MODULE_NOT_FOUND",
  "data": {
    "brokenAncestors": [
      {
        "name": "app",
        "reference": "workspace:.",
      },
    ],
    "dependencyName": "@vue/compiler-dom",
    "issuer": "/app/.yarn/__virtual__/@vue-test-utils-virtual-4aca422d8c/0/cache/<EMAIL_ADDRESS>    "issuerLocator": {
      "name": "@vue/test-utils",
      "reference": "virtual:0460f86c7587ee75dac643681550c044e8047ba46e219a5baac054fc0fea2d0af97a9bd3fe4b22de0884797215e0a1a4368bb60f9ef7087a69c4008789f4e032#npm:2.4.0",
    },
    "request"<EMAIL_ADDRESS>  },
  "pnpCode": "MISSING_PEER_DEPENDENCY",
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  no tests
   Start at  16:15:05
   Duration  894ms (transform 51ms, setup 0ms, collect 0ms, tests 0ms, environment 198ms, prepare 124ms)

To Reproduce
https://github.com/stefpb/vue-test-utils-yarn-issue
Expected behavior
test-runner passed
Related information:
Look to my minimal repo.

The peer dependency is marked as optional using peerDependenciesMeta (see https://github.com/vuejs/test-utils/blob/main/package.json#L72-L74)
Maybe that should not be the case as it used to compile slots (I don't remember why it was marked optional).
Would you like to open a PR to remove the optional from the pakage.json file and see if that fixes the issue? We would greatly appreciate it

Thanks for your answer. Now it looks like that this commit https://github.com/vuejs/test-utils/commit/b08b1f04681c703d1fd14f07272337f4e9ff2bfc leads to this problem. But yes, how i can double check this?

i identify this commit https://github.com/vuejs/test-utils/commit/b08b1f04681c703d1fd14f07272337f4e9ff2bfc
fork this repo ( https://github.com/stefpb/test-utils )
clone the repo
i do a git revert b08b1f04681c703d1fd14f07272337f4e9ff2bfc
solve (in a way) the conflicts of pnpm-lock.yaml
git push

but now i don't know how i change this line https://github.com/stefpb/vue-test-utils-yarn-issue/blob/main/Dockerfile#L21 to say yarn to load the library from there :/

Yes, it's hard to test. But I think you can safely open a PR to remove compiler-dom from peerDependencies and peerDependenciesMeta, as the dependency is in fact mandatory.

Unfortantely this Pull-Request (https://github.com/vuejs/test-utils/pull/2114) is not solving #2107. With 2.4.1 i have still this issue: https://github.com/stefpb/vue-test-utils-yarn-issue/tree/main
My intention was to revert https://github.com/vuejs/test-utils/commit/b08b1f04681c703d1fd14f07272337f4e9ff2bfc as you can see in https://github.com/vuejs/test-utils/pull/2113. Could you also restore the optional dependencies to the original state, as was intended?

If this fixes it, I say we go for it. Can you make a fresh PR @stefpb? I don't really know the intricacies of optionalDeps vs peer etc, it sounds like this is something you know well and have a fix for.

PR has been submitted. If a new release is available, I'll test that version here: https://github.com/stefpb/vue-test-utils-yarn-issue/blob/main/Dockerfile#L21

Any updates on planned fixes for this?
Checking the current package.json @vue/compiler-dom is still listed as a devDependency in lieu of either dependency or peerDependency

In order to fix this issue with Yarn (in PNP mode) I had to add the following to my .yarnrc.yml to fake the dependencies so that things work.
packageExtensions:
  "@vue/test-utils@*":
    dependencies:
      "@vue/compiler-dom": "3.3.13"
      "@vue/server-renderer": "3.3.13"


[Sage-369] Modal - Content Scrolling

Description

Allows scrolling within the Sage Modal content for longer modals.
Screenshots

Before:

After:
https://user-images.githubusercontent.com/14791307/160713063-9ba8a783-1344-492e-8c0a-0ce5f2407e20.mov
Testing in sage-lib

Rails

View Rails component
Check that scrolling is possible within Modal content

React

View Storybook
Check that scrolling is possible within Modal content

Testing in kajabi-products

(MEDIUM) Allows scrolling within the Sage Modal content for longer modals. This may affect modals in Kajabi Products.
Related

Sage-369

Looks good. Totally an optional idea: what do you think about switching the margin: 1.5rem 1.5rem to padding: 0 1.5rem? This seemed a little more visually pleasant to me with a) a smaller gap above and below and b) the scrollbar now is out on the far right of the pane rather than inset from the right.
Might be worth a quick discussion with Sam as you see fit. :)

Thanks for the suggestion @philschanely! Since we have Foundations updates coming soon, I'm going to leave the spacing changes up to the refresh.