Carthage Install failure

Yoshi fails to build during carthage install, as it fails to find swiftlint.
*** xcodebuild output can be found in /var/folders/4v/ht9_lyvj4615x2rc_pdq3mnc0000gn/T/carthage-xcodebuild.h7n8es.log
*** Building scheme "Yoshi" in YoshiExample.xcworkspace
2016-04-27 19:21:42.321 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Lin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.322 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.324 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.324 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution SwiftLint /Users/mike/Library/Developer/Xcode/DerivedData/YoshiExample-ezojbuubfnsxbbfnuqeunkpdrrxq/Build/Intermediates/Yoshi.build/Release-iphonesimulator/Yoshi.build/Script-27AFFEF51C6574B400C656BA.sh
(1 failure)
/Users/mike/Desktop/test proj bro/Carthage/Checkouts/Yoshi/Yoshi/Yoshi/YoshiActionResult.swift:23: warning: Trailing Newline Violation: File should have a single trailing newline (trailing_newline)
/Users/mike/Desktop/test proj bro/Carthage/Checkouts/Yoshi/Yoshi/Yoshi/YoshiActionResult.swift:13: warning: Line Length Violation: Line should be 120 characters or less: currently 124 characters (line_length)
A shell task failed with exit code 65:
2016-04-27 19:21:42.321 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Lin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.322 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.324 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-27 19:21:42.324 xcodebuild[32993:1185701] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution SwiftLint /Users/mike/Library/Developer/Xcode/DerivedData/YoshiExample-ezojbuubfnsxbbfnuqeunkpdrrxq/Build/Intermediates/Yoshi.build/Release-iphonesimulator/Yoshi.build/Script-27AFFEF51C6574B400C656BA.sh
(1 failure)

Carthage now installs with the changes from #39


Use ttf-parser for font parsing

I see that this crate uses its own code for TTF parsing. Is there a reason why ttf-parser isn't used here? It has no dependencies and is written in exclusively safe code.

The primary value proposition of swash is support for hinting which is not possible to implement on top of ttf-parser without significant architectural changes to that crate.

Rustybuzz implements shaping. AFAIK swash is the only rust library with full support for hinting.

Yeah, sorry, I completely misunderstood things. The more I understand about text rendering the more I understand that I don't understand more than I understand...
The source of my confusion was that I saw a reference to ttf-parser HintDevice and thought they use it (though they clearly don't since they don't do rasterizing).

Yes, text rendering is a very deep rabbit hole :)


fix: fix duplicate id="app" in Vue 3 project template

closes #5813
What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:

Just wondering, does this remove one of the #app divs from index.html or App.vue? Or, does it cause the App.vue node to replace the index.html node like in vue 2?
I tried to install vue-cli from master to check myself, but it complains about version mismatch.

From App.vue, the on in the HTML still needs to exist to be served as a mounting point.

The new version of App.vue has styles for the #app container declared in the index.html. It doesn't feel right, because the component applies styles to an element declared outside its template.

I agree with @HackyDev, this is very strange and should be reduced to a single #app.


.collapsible-header height changed to auto

Causing an issue for the collapsible component (especially on mobile devices).
Text was spilling over into the row below.
Rows weren't able to flexibly change height to accommodate the text:

Removing the 'height:3rem' means it can accommodate the text as the viewport shrinks:

Thanks!

Thanks for the solution. But in your pull request you only changed the compiled css and not the Sass. I did it myself and merged it in here 20d68a7.
Next time if you could edit the Sass and then compile the css, I can automatically merge through github.


Search Guard Proxy Authentication

Thanks for providing cerebro.
Search-Guard provides a proxy-authentication mode, which requires forwarding user defined headers.
I implemented a proof of concept for this here
Just wanted to ask in advance if you find it useful at all.
Any chance we can upstream this? I read your contribution guide.
The following things are missing

[ ] Test case
[ ] Passing all tests (currently blocked by #348)
[ ] Squasing and rebasing on develop.

It appears this might also be applicable for #295

Sounds great! It would be definitely useful for me to have that feature in cerebro.

Would love to see this after discovering Search-Guard from this thread :D

This proof of concept works fine.
Can it merged to the source code?

+1 would love to see this supported (searchguard) - cheers!

I opened a PR for this as is.


[raudio miniaudio] Unable to build raylib and miniaudio with tiny c compiler

I was trying to implement miniaudio and libxmp with raylib, after a while i was able to build with gcc. I tried to do the same, but now using tiny c and i ran into many issues: the first ones was getting those errors: tcc: error:
undefined symbol 'ma_get_bytes_per_sample'
tcc: error: undefined symbol 'ma_offset_pcm_frames_ptr'
tcc: error: undefined symbol 'ma_offset_pcm_frames_const_ptr'
tcc: error: undefined symbol 'ma_device_config_init'
tcc: error: undefined symbol 'ma_device_init'
tcc: error: undefined symbol 'ma_device_start'
tcc: error: undefined symbol 'ma_device_uninit'
It appears that libraylib.def doesn't have those functions and etc in it, so tiny c can't locate them and throw these errors                                                      And if i enable #define MINIAUDIO_IMPLEMENTATION that would generate other errors, causing conflicts, cause it's already in raylib and there's no need to add it.
So i was reading raudio header file and i found these lines of code :
#if defined(_WIN32)
// To avoid conflicting windows.h symbols with raylib, some flags are defined
// WARNING: Those flags avoid inclusion of some Win32 headers that could be required
// by user at some point and won't be included...
//-------------------------------------------------
There are a few #defines (flags) so i enabled all the flags and could finally build with tiny c and even add: #define MINIAUDIO_IMPLEMENTATION to my code and it would still build my project, so after a lot of trials and errors i realized that the only flag that i should Enable was: #define NOGDI. So i could finally run my app, but it had a lot of bugs, like: my up and down keys wouldn't work, i use them to increase and decrease volume in my app. also i was using my cmd to debug a few things like volume intensity, but it would generate an infinite loop that would print my volume on my console whindow while my app was running.                                                                                So i decided to look into miniaudio's project and there was a split folder which contains: miniaudio .c and .h header file, i decided to build a miniaudio lib out of it, so i could have a miniaudio.dll file, after doing that i did set up everything and could build my project with tiny c with no issues, but it would have the same bugs, even removing #define NOGDI from my code.                                                   I'm sure the issue is with raylib, cause i was able to build the same project without raylib with no issues. So after trying many things, even disable raylib's audio when configuring my project in cmake, but it would still give me the same issues. In the end i was able to build my project with mingw gcc and it works perfectly, but i can't do the same with tiny c without having bugs in my app.

I'm not using windows, however, I am able to compile raylib using tcc without issues, using the command:
make CC=tcc AR="tcc -ar"
I could then link and use this libraylib.a without issues

I would also note, that it is a very good idea to build tcc yourself
the last release is several years old and has numerous bugs

@Peter0x44 miniaudio is one of raylib's external libs, so it was supposed to work with. I think the issue is tiny c is the issue, cause i'm able to do that using gcc, it compiles flawlessly.

@r124c41 indeed it does, but it seems to be a pretty basic implementation. I was told to use miniaudio.h for multi-channel mix controll, and this is the only way my code will compile. i tried to build raylib in many ways, like disabling Raudio, but i'm still getting the same bugs. The fact is i can make miniaudio work stand alone, the issue is whenever i add raylib. So for now im using gcc to compile my project instead of tiny c

Ok. I fixed my issue by: removing raudio from my raylib build and using portaudio as my audio library. Now i can build with tiny c with no issue. But will only work with no bugs if i remove raudio (miniaudio backend). So that makes tiny c still viable for raylib in most cases.


Fix: check if notification no accepted and ask again if it's iOS

If not allowed push notification, it ask to enable it every time the app is opened

https://user-images.githubusercontent.com/237435/179817499-579672e1-e649-4fec-b731-d086b607f64a.mov

Closed in favor of https://github.com/bitpay/bitpay-app/pull/253


chore!: bump go, cometbft, cosmos-sdk & ignite

Ignite v28.6.0 is now required to build this project.
MacOS builds were disabled because of https://github.com/btcsuite/btcd/issues/2243 and the need to use the CGO implementation of libsecp256k1.
We can revisit the use of this build tag if https://github.com/cosmos/cosmos-sdk/pull/15018 gets backported to 0.47.x.

This caused an appHash error when upgrading a node from 0.2.2. in dev.
tarting MConnection service" #033[36mpeer=#033[0m8a06177b6b9d94358057d2a56eb5046fc2831fc7@<IP_ADDRESS>:26656
Dec 12 22:41:42 d-kvs-200 ghostcloudd[29603]: #033[90m10:41PM#033[0m #033[31mERR#033[0m #033[1mError in validation#033[0m #033[36merr=#033[0m"wrong Block.Header.AppHash.  Expected A0D193D71801F3759CF7FAAA56ED11E8E466601DC8A5776951E667F1E6FB1A29, got 58C3066EABE2678DE971089B0261B1B128C0D7FD68F387829D4F406FB2C7FEB6" #033[36mmodule=#033[0mblockchain
Dec 12 22:41:42 d-kvs-200 ghostcloudd[29603]: #033[90m10:41PM#033[0m #033[31mERR#033[0m #033[1mStopping peer for error#033[0m #033[36merr=#033[0m"Reactor validation error: wrong Block.Header.AppHash.  Expected A0D193D71801F3759CF7FAAA56ED11E8E466601DC8A5776951E667F1E6FB1A29, got 58C3066EABE2678DE971089B0261B1B128C0D7FD68F387829D4F406FB2C7FEB6" #033[36mmodule=#033[0mp2p #033[36mpeer=#033[0m"Peer{MConn{<IP_ADDRESS>:26656} b21161549e305833c308c35f08c4f7b256bee754 out}"

Also errored out in running a second attempt on the testnet:
https://gc-testnet-rpc.liftedinit.tech/block?height=5160787
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF service start impl=TimeoutTicker module=consensus msg="Starting TimeoutTicker service"
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF resetting proposal info height=5160787 module=consensus proposer=B4503C8B639E0F6524C360D8837C9DDD964DA24B round=1
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF commit is for a block we do not know about; set ProposalBlock=nil commit=A4E0A4509BE29BD8EFBB7E51E55048898BE3A9EDF1D7B06D16C67A80B0741636 commit_round=1 height=5160787 module=consensus proposal=
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF received complete proposal block hash=A4E0A4509BE29BD8EFBB7E51E55048898BE3A9EDF1D7B06D16C67A80B0741636 height=5160787 module=consensus
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM ERR CONSENSUS FAILURE!!! err="+2/3 committed an invalid block: wrong Block.Header.AppHash.  Expected E9926235362C9E798132A0A4BBB5DC22289065475211AED44338D8FAE70E5DA1, got DCF84029ABF84A605F7E3CB7C7E6A6D8F419F63C1EEBFAEE1D522025E6E32F4D" module=consensus stack="goroutine 209 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:26 +0x5e\ngithub.com/cometbft/cometbft/consensus.(*State).receiveRoutine.func2()\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:737 +0x46\npanic({0x216fbc0?, 0xc010ff1f60?})\n\t/usr/local/go/src/runtime/panic.go:785 +0x132\ngithub.com/cometbft/cometbft/consensus.(*State).finalizeCommit(0xc0005e0008, 0x4ebf53)\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:1651 +0xfb3\ngithub.com/cometbft/cometbft/consensus.(*State).tryFinalizeCommit(0xc0005e0008, 0x4ebf53)\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:1620 +0x2e8\ngithub.com/cometbft/cometbft/consensus.(*State).handleCompleteProposal(0xc0005e0008, 0x4ebf53)\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:2016 +0x372\ngithub.com/cometbft/cometbft/consensus.(*State).handleMsg(0xc0005e0008, {{0x2f51320, 0xc0104518d8}, {0xc000c09a40, 0x28}})\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:847 +0x167\ngithub.com/cometbft/cometbft/consensus.(*State).receiveRoutine(0xc0005e0008, 0x0)\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:773 +0x3f1\ncreated by github.com/cometbft/cometbft/consensus.(*State).OnStart in goroutine 150\n\t/home/circleci/go/pkg/mod/github.com/cometbft/cometbft@v0.37.12/consensus/state.go:384 +0x10c\n"
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF service stop impl=baseWAL module=consensus msg="Stopping baseWAL service" wal=/home/many/.ghostcloud/data/cs.wal/wal
Dec 13 16:44:49 d-kvs-103 ghostcloudd[727800]: 4:44PM INF service stop impl=Group module=consensus msg="Stopping Group service" wal=/home/many/.ghostcloud/data/cs.wal/wal
Dec 13 16:44:53 d-kvs-103 ghostcloudd[727800]: 4:44PM INF Timed out dur=3500 height=5160787 module=consensus round=1 step=RoundStepPropose


For some reason - pipenv sometimes ignores versions when generating lock.

Note the difference between Django 1.10.4 I installed and Django1.10.6 which is found in lock file.
Some extra debug info:

Also important to note - when I try this in docker (docker run -it python:3.6 bash) - then everything works as expected.

This is kind of an odd one. pip doesn't provide a guarantee avoiding version conflicts currently but a single pinned version like this should definitely not be changing. I can't reproduce this locally unfortunately. Could you provide the python version you're using (pipenv run python --version)?
Also could you provide the output of pipenv run pip freeze and pipenv --where for me? Thanks!

I'm fairly confident this is directly related to the problem addressed in #272. I've pushed a patch to master and will try to get a release out shortly. If you are still experiencing this on pipenv 3.5.4, please feel free to reopen this and we can dig further.
Thanks again @beregond!

I've shreded those pipenvs earlier, but anyway maybe this will be useful somehow for you:

If you are still experiencing this on pipenv 3.5.4, please feel free to reopen this and we can dig further.

Okay, thanks for help :)


human data object available ?

Hi ,
First of all. This is a really nice paper. I read the pre-print last summer and really enjoyed it and been waiting for the final paper to be published.
I was wondering if the Human NR4A2 positive dataset , for all cell-types and just the DaN subtypes was available as a seurat/single cell or ann data or even a liger object?
I wanted to use it as a reference for a project and thought to ask if you would be happy to provide a processed final object for that? i know the filtered mtx files and the umap co-ordinates and the metadata are on SCP , i just wondered if you would be happy to share the final object. Would help me save some time.
Also while im on here, is also possible to ask about the mouse data used in the cross -species analysis? is is possible to get the mtx and metadata and UMAP for that as well?
Best,
Devika

Hi Devika:
Thanks for your kind words. Of course! Happy to provide the NR4A2+ object and the DaN subtypes as liger objects. Would also be happy to share the mouse data. Could you drop me an email at the email address listed on the README of this repo? I'll be able to respond and share with you all of those objects this coming week.

Hi Tushar,
Thank you for the quick reply. I will email you.
I will email you.
Best,
Devika

Closing this issue -- resolved.


Upload of PST files v1.6.0 - Forbidden

🛑 STOP! 🛑
Are you encountering issues? Do these things first before submitting a bug report:

Check the troubleshooting guide for common problems and solutions.
Check the release notes for known issues.
If you need assistance, submit an Azure support request.

Storage Explorer Version: 1.6.0
Platform/OS: Windows / Windows Server 2008 R2
Architecture: ia32
Regression From: It worked with 1.5.0 and still does
Bug description
Uploading PST Files to the Azure Storage Blob provided by the Office 365 Import Service
Steps to Reproduce
List the minimal steps clearly and concisely to reproduce the behavior:

Connect to the blob using "Shared Access Signature URI"
Open the "ingestiondata" blob.
select "Upload Files"
Upload starts and runs to 100%, then ends up with error code 403 forbidden.

Expected Experience
100% Successful upload
Actual Experience
100%, the failed with error code 403 Forbidden.
File is present in blob.
Additional Context
Uninstalled 1.6.0
Installed 1.5.0
Executed the same steps.
Upload of same file
Successfull Upload.

Fix merged into hotfix branch.

HI, sorry to bring this old issue up but I'm on v1.10.1 and have exactly the same problem and cannot upload any files to the container. Did the fix actually go into a release or am I missing something else and should be connecting in a different way? All I do is enter the SAS URI that the Office 365 gives me, and I know if I use AZCopy manually I can upload files, it's just not as convenient as using Storage Explorer.
2019/10/09 06:59:34 ERR: [P#0-T#0] UPLOADFAILED: c:///Temp/Annotation%202019-10-03%20101833.png : 000 : Could not check file existence. -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /home/vsts/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.7.0/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=AuthorizationPermissionMismatch) =====
Description=403 This request is not authorized to perform this operation using this permission., Details: (none)

@Taomyn do you have AzCopy enabled or not enabled when you tried to do the upload?

Yes it's enabled


Update the more page so that the articles are correctly styled.

The articles on the more page are the reused Article.jsx component used on the home page.
To style these correctly, we may need to make a new component similar to the Article, but it will be only used on the More page.
Please ask questions if you need help. It should be pretty straightforward.

assign it to me #43

Assigned to you!


Grey out groups without visualizers and don't default-expand them

We now also show you entities that can't be shown in a space view (or aren't shown by default because we didn't pick a visualizer for you). This is nice, but to make it look nicer we should also grey out groups that only have such entities and don't expand them.
here's an example of a 2D image view with an image entity and two entities with tensors:

Group concepts going away in: https://github.com/rerun-io/rerun/issues/4899 closing this.


#feature/add_ui: show all chats in boxes, scroll to bottom needs to b…

…e fixed

Very basic UI displaying all channels

Great!


Symbolic Links Aren't Created When Needed Using TF_SYSTEM_LIBS

System information

OS: FreeBSD
Building from source
TensorFlow version: V1.14.0
Python version: 3.6
Bazel version (if compiling from source):  0.28
GCC/Compiler version (if compiling from source): Clang 6.0.1

Describe the problem
When using TF_SYSTEM_LIBS to build Tensorflow from source. It tries to include files which it has yet to create. In the file third_party/systemlibs/protobuf.BUILD. It creates symbolic links to the header files when building with TF_SYSTEM_LIBS. However it tries to compile code which relies on these headers before these headers have been created. If I continue the build without cleaning the build continues as normal.
Setting jobs to 1 even causes this problem. As the files either haven't been created or haven't finished creating them. I can't tell if this is an issue with Bazel or Tensorflow, but it's either not waiting for the sub command to complete and create these files, or when using TF_SYSTEM_LIBS it is compiling code which relies on these before they're created.
Provide the exact sequence of commands / steps that you executed before running into the problem
Compile Tensorflow with the following TF_SYSTEM_LIBS:
absl_py astor_archive
boringssl
com_github_googleapis_googleapis
com_github_googlecloudplatform_google_cloud_cpp
com_google_protobuf
com_google_protobuf_cc
com_googlesource_code_re2
curl
cython
double_conversion
enum34_archive
flatbuffers
gast_archive
gif_archive grpc
hwloc
icu
jpeg
jsoncpp_git
keras_applications_archive
lmdb
nasm
nsync org_sqlite
pasta
pcre
png_archive
protobuf_archive
six_archive
snappy
swig
termcolor_archive
wrapt
zlib_archive"

Additional enviroment variables for building:
PYTHON_BIN_PATH=${PYTHON_CMD}"
PYTHON_LIB_PATH="${PYTHON_SITELIBDIR}"
TF_NEED_JEMALLOC=0
TF_NEED_KAFKA=0
TF_NEED_OPENCL_SYCL=0
TF_NEED_AWS=0
TF_NEED_GCP=0
TF_NEED_HDFS=0
TF_NEED_S3=0
TF_ENABLE_XLA=0
TF_NEED_GDR=0
TF_NEED_VERBS=0
TF_NEED_OPENCL=0
TF_NEED_MPI=0
TF_NEED_TENSORRT=0
TF_NEED_NGRAPH=0
TF_NEED_IGNITE=0
TF_NEED_ROCM=0
TF_NEED_CUDA=0
TF_SET_ANDROID_WORKSPACE=0
TF_DOWNLOAD_CLANG=0
TF_NEED_NCCL=0
TF_NEED_OPENCL=0
TF_IGNORE_MAX_BAZEL_VERSION=1
CC_OPT_FLAGS="-march=${CPU_TARGET}"
PREFIX="${LOCALBASE}"

Using the follow bazelrc file:
startup --batch

build --strip=never
build --verbose_failures --noshow_loading_progress
test --verbose_test_summary --verbose_failures --noshow_loading_progress

build --spawn_strategy=local --genrule_strategy=local
test --spawn_strategy=local --genrule_strategy=local

fetch --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-distdir/"
build --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-distdir/"

build --define=PREFIX=%%LOCALBASE%%
build --define=LIBDIR=%%LOCALBASE%%/lib

build --config=noaws --config=nohdfs --config=noignite --config=nokafka

** Build Command Used**
bazel --bazelrc="${WRKDIR}/bazelrc" ${BAZEL_BOOT} build ${BAZEL_COPT} --host_copt="-I${LOCALBASE}/include" \
		--host_linkopt="-L${LOCALBASE}/lib" --linkopt="-L${LOCALBASE}/lib" --config=opt \
		--incompatible_no_support_tools_in_action_inputs=false \
		--verbose_failures -s \
		//tensorflow:libtensorflow.so \
		//tensorflow:libtensorflow_cc.so \
		//tensorflow:install_headers \
		//tensorflow/tools/pip_package:build_pip_package

Any other info / logs
Compilation log:
SUBCOMMAND: # //tensorflow/core:conv_autotuning_proto_cc_genproto [action 'ProtoCompile tensorflow/core/protobuf/conv_autotuning
.pb.cc [for host]']
(cd /usr/home/Amzo/FreeBSD-Tensorflow/science/py-tensorflow/work-py36/bazel_out/f19d4b0a99d0cb4c4a90e3adec2fef45/execroot/org_te
nsorflow && \
  exec env - \
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/Amzo/bin \
  bazel-out/host/bin/external/protobuf_archive/protoc.bin '--cpp_out=bazel-out/host/bin/' -I. -I. -Iexternal/protobuf_archive -I
bazel-out/host/bin/external/protobuf_archive -Iexternal/protobuf_archive -Ibazel-out/host/bin/external/protobuf_archive tensorfl
ow/core/protobuf/conv_autotuning.proto)
SUBCOMMAND: # //tensorflow/core:autotuning_proto_cc_genproto [action 'ProtoCompile tensorflow/core/protobuf/autotuning.pb.cc [fo
r host]']
(cd /usr/home/Amzo/FreeBSD-Tensorflow/science/py-tensorflow/work-py36/bazel_out/f19d4b0a99d0cb4c4a90e3adec2fef45/execroot/org_te
nsorflow && \
  exec env - \
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/Amzo/bin \
  bazel-out/host/bin/external/protobuf_archive/protoc.bin '--cpp_out=bazel-out/host/bin/' -I. -Iexternal/protobuf_archive -Ibaze
l-out/host/bin/external/protobuf_archive tensorflow/core/protobuf/autotuning.proto)
ERROR: /usr/home/Amzo/FreeBSD-Tensorflow/science/py-tensorflow/work-py36/tensorflow-1.14.0/tensorflow/core/BUILD:2255:1: ProtoCo
mpile tensorflow/core/protobuf/autotuning.pb.cc failed (Exit 1)
google/protobuf/any.proto: File not found.
google/protobuf/duration.proto: File not found.
tensorflow/core/protobuf/autotuning.proto:10:1: Import "google/protobuf/any.proto" was not found or had errors.
tensorflow/core/protobuf/autotuning.proto:11:1: Import "google/protobuf/duration.proto" was not found or had errors.
tensorflow/core/protobuf/autotuning.proto:52:3: "google.protobuf.Duration" is not defined.

While I know FreeBSD isn't a supported platform, I just need help finding the culprit to this issue. As the problem only occasionally occurs. If I create a new jail and build, then sometimes it will succeed and sometimes it will fail due to trying to compile source before the proto headers have been linked. This is just based on luck as to whether or not another job has created them.

@perfinion as he helped set up TF_SYSTEM_LIBS

I've just worked around the issue for now and patched the bzl file to just use the include files directly from ${LOCALBASE}/includes instead of just creating symlinks to the build directory.

I just ran into the same issue: TF_SYSTEM_LIBS=com_google_protobuf set but compile throws a "dangling symbolic link" to the protobuf headers. I was using the 2.0.0 tag

Actually it is not the same issue. The link is indeed dangling because TF uses $(INCLUDEDIR). We have protobuf installed to a different prefix as other software (think /opt/protobuf-x.y.z) to isolate it properly. So what we need is something like TF_PROTOBUF_PREFIX to set this to the folder containing the include, bin etc folders.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

@Flamefire was this ever fixed? I have it on Tensorflow 2.5.0

@surak What exactly do you have? TF now uses another variable for the protobuf headers: https://github.com/tensorflow/tensorflow/blob/c313c925f4d525aef40914413299706074fb51f8/third_party/systemlibs/protobuf.BUILD#L57
This works so far in EasyBuild


how to mine another ethash cryptocurrency like Expanse?

i dont want to mine eth or etc .. i tried to mine expanse but nothing work

If you want to mine Expanse just mine to an Expanse pool and it will work.

without doing anything ?
just the same as eth?

Yes just use an Expanse pool and a wallet address. Expanse uses the same algorithm as ETH (Ethash) so it works without changing anything else.

Can i mine "raven" on nanopool? is it a good choice? I chose it becouse it has small difficulty.

You can mine Ravencoin with https://github.com/UnamSanctam/SilentXMRMiner but you shouldn't do that just for the difficulty. Share difficulty is basically irrelevant so there's no real reason to care about it.

Which crypto can you recomend to mine on gpu with nanopool?

ETH, ETC or RVN. I like all of them so chose whichever one you like the most.

thank you bro

@prorms if you succeed, write here, I am tring to do it too

@dyachenkomark ok

@dyachenkomark it works bro using the same options as eth

I am trying to start it on 2miners.com, but it doesnt work. i use this parameters:

where have i made a mistake and which pool do you use?

Try it without a password

I have tryed but it doesnt work, also i decided to move on callisto(becouse found some recomendation from you), but it also doesnt work. in process hacker i see the service, but it getting red and deleted (i have turned off antivirus). Maybe 2miners pool is bad chose?
https://clo.2miners.com/help

No, it works, I'm mining to it right now. Can you send your .exe here?

I tried to archive it, but i cant send it. how to do exe?

If you archive it to a .zip you should be able to just send it here by dragging it onto the reply box or you can upload it to something like anonfiles.

https://anonfiles.com/r6jfK6xfub/testUnam_rar

Your wallet address is wrong, what wallet address is that?

I have made it here, https://wallet.callisto.network/

That looks like your private key and not the wallet address, make a new wallet since you've now exposed your private key (meaning that anyone can access it).

Ok, i will change it.

@dyachenkomark use guarda wallet , and exp.2miners.com:3030 then ure wallet address only without password also i didnt use a worker name .. the worker name comes as computer name it self and everything now working like a charm
Connection scheme: stratum standard
Pool : exp.2miners.com:3030
Wallet address: Your address here
no otional settings

@dyachenkomark i am now facing a problem with 2miners eth using rx 580 .. never works with me .. even on all pools
it works only with nvidia cards

@UnamSanctam @prorms Thank you guys!) i think its working, waiting when my account will be created in 2miners. How long should i wait?

@UnamSanctam
i am now facing a problem with 2miners eth using rx 580 .. never works with me .. even on all pools
it works only with nvidia cards

RX 580 8GB? And how long has it been since you've update your AMD drivers?

@UnamSanctam @prorms Thank you guys!) i think its working, waiting when my account will be created in 2miners. How long should i wait?

It should appear when you've mined at least 1 share (might might also be a bit of a delay on the website though).

@UnamSanctam all drivers are up to date
also i tried monero mining on same pc using the cpu and it works

Miner Test 3.zip
Can you try running this test miner and see what it says in the console?

@UnamSanctam Sure ill but i must wait until the pc restarted to use another miner

@UnamSanctam @dyachenkomark
i think mining ravencoin is better than expanse on a 3gb cards but it will stop after september because the dag file is now over than 2800 gb for raven coin

Maybe, although Ravencoin (the algorithm KawPow) uses a lot more GPU than Expanse (Ethash).

i have found 2 shares and mining for 30 minuts, but my i dont see my profile, strange....

@dyachenkomark give me your wallet address to check

@UnamSanctam yes, ill go with expanse for 3gb cards
but my problem is only with ati cards

@UnamSanctam is lime crypter working now ,, cuz its uploaded since 2019

@UnamSanctam i am mining eth using 1660 6gb, on ethermine.org since a week and everything is fine

There is no difference between mining Expanse and ETH since they use the exact same algorithm. If it works for ETH it should work for Expanse.
To reduce detections you shouldn't use lime-crypter, https://github.com/UnamSanctam/SilentETHMiner/wiki#how-can-i-decrease-detections

i am asking for lime crypter for another program not the miner bro

@UnamSanctam so the problem is with ati cards only

If you test the file I sent before you should be able to see if it works for ATI cards.

ill test it now

@UnamSanctam opencl.dll not found
it wont work
old versions working

Are you running it in a VM?

yes the program only

cant run it directly on my pc

i want only to make the miner exe then use it on a pc

Yeah then that's why, the OpenCL.dll file is outside your VM so it can't access it.

old versions working fine on vm

i dont want to mine on vm just only to add my informations on the app then take the miner to other pc

Yeah but the old version doesn't work on new AMD cards or drivers if the Khronos registry key is missing which it seems to be for quite a few people. The miner error comes from the new AMD OpenCL integration whenever it can't find the OpenCL.dll version while the drivers are installed. The miner isn't meant to be run in a VM.

ok bro ill try this

@UnamSanctam not working

What does it say?

nothing

What do you mean by 'nothing'? What are you trying to do and what happens when you try to do so?

when i open the builder nothing happend

When you open the builder or the miner?

the builder bro not working

What does it say? The builder works, what are you trying to run it on?

pc not VM , when i run it nothing happen like i am running the miner lol

Then there is something wrong with your PC, do you have the latest .NET Framework installed?

yes everything is installed and the latest version of the builder is working fine

The builder is working fine? What isn't working then?

Ah, you mean the miner? If you run start test 100%.bat what does it say?

If i make worker name "rig1" and start program on 2 different account, will it has 2 different ID on 2miners or they will be calculated?

If i make worker name "rig1" and start program on 2 different account, will it has 2 different ID on 2miners or they will be calculated?

If you start it on another account? Then it would just show one worker on one account and the other worker on the other account like always. If you mean that you mine with two miners with the same worker name on the same account then it will just combine the hashrate under a single worker name.

@UnamSanctam the latest version of the miner worked with rx 580 but not with all of them i dont know why ( all of the drivers are up to date )

@UnamSanctam the latest version of the miner worked with rx 580 but not with all of them i dont know why ( all of the drivers are up to date )

Are all of them 8GB? Since there exists RX 580 4GB as well.

Hey guys, why if i put in calculator 1 1060 card, the result shows best variant ethereum, but if i put in calculator 1 2070 card, the result shows best variant cortex?

Hey guys, why if i put in calculator 1 1060 card, the result shows best variant ethereum, but if i put in calculator 1 2070 card, the result shows best variant cortex?
https://2cryptocalc.com/gpu/24h/2070/1/

Because all cards mine at different speeds and can mine different currencies so it can change depending on the card. These other coins might be quite unstable though (in price, etc) which can also be a reason. But as you can still see Ethereum is the most profitable over all.

@UnamSanctam the latest version of the miner worked with rx 580 but not with all of them i dont know why ( all of the drivers are up to date )

Are all of them 8GB? Since there exists RX 580 4GB as well.

yes bro 8gb

Well, If they're all the same card and they all have updated drivers then there shouldn't really be any reason why it shouldn't work

Hi Unam, something wrong with my program, can you check please? I am trying to mine RVN on 2miners, but it doesnt work, afer that i tryed to mine on nanopool and it works but doesnt mine on my address.

Hi Unam, something wrong with my program, can you check please? I am trying to mine RVN on 2miners, but it doesnt work, afer that i tryed to mine on nanopool and it works but doesnt mine on my address.
https://anonfiles.com/z3T2W3yfu1/tesy13_exe

You're using the wrong miner, this is the Ethash/Etchash miner but Ravencoin uses the KawPow algorithm which is in the https://github.com/UnamSanctam/SilentXMRMiner. To mine Ravencoin go into the 'Advanced Options' and change the --algo=rx/0 to --algo=kawpow in the 'Advanced Parameters' field.

will "idle" option works in XMRminer if i mine on gpu or it will be always 100%?

It's technically always at 100% but just like the ETH miner it should automatically go down if another program needs it.


Equipment does not like packs.

Hello, Sage again with another bug!  Tired of me yet?
When selecting a pack via the builder I get this error.

8equipmentStep.ts:398 Uncaught TypeError: undefined. Cannot read properties of undefined (reading 'system')
[Detected 1 package: hero-creation-tool]
at _Equipment.makeItemOption (equipmentStep.ts:398:19)
at _Equipment.addPackToSelection (equipmentStep.ts:254:27)
at _Equipment.addItemOrPack (equipmentStep.ts:138:12)
at _Equipment.select (equipmentStep.ts:126:10)
at HTMLDivElement. (equipmentStep.ts:117:16)
at HTMLDivElement.dispatch (jquery.min.js:2:43064)
at y.handle (jquery.min.js:2:41048)

Now I do use the module "Item Containers" which is probably a factor here.  As that pack has all the items it comes with "in" it.  So maybe this is less of a bug and more of an enhancement.  Please play nice with "Item Containers".


Make WRR LB thread aware

The existing WRR LB uses a per-thread EDF scheduler. This makes memory usage O(m * n) where m is the number of hosts and n the number of endpoints. We can shrink this to O(n * w), where w is the weight range, if we precompute the schedule on the main thread (as we do for consistent hash balancers) and just maintain an index that we rotate around the shared schedule for WRR. This comes at the downside of increased memory use when we have a wide range of weights, but as long as we maintain a limited set of weights (which we need to do anyway to sanely support locality weighting with the consistent hash balancers), this should be reasonable.

Somewhat related to https://github.com/envoyproxy/envoy/issues/2874.

@alyssawilk points out that this might not do brilliantly as the number of hosts scales if we want the full range of weights preserved, and that what we do today with the consistent hash schemes is also problematic. We should explore these tradeoffs more thoroughly before committing to a specific implementation path here.


Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './node' is not defined by "exports"

Describe the bug
Its throwing error when trying to import { BaseSequencer } from 'vitest/node';
Reproduction
Just download any sample and try to add
import { BaseSequencer } from 'vitest/node';
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 4.66 GB / 15.73 GB
  Binaries:
    Node: 14.18.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (104.0.1293.54)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-legacy: 2.0.0 => 2.0.0
    @vitejs/plugin-vue2: 1.1.2 => 1.1.2
    vite: 3.0.2 => 3.0.2
    vitest: 0.22.1 => 0.22.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Vitest doesn't bundle CJS version. You need to enable "type": "module" in your package.json or rename config to vite.config.mts/vite.config.mjs.

Is there a possibility of reconsidering this? I mean bundling a CJS version.
My use case is that I am creating a VSCode extension. I was able to successfully use vite to bundle the extension and I would like to conduct testing using vitest. Unfortunately VSCode is built on top electron which only uses commonjs.
I tried to include vitest using a hacky method, like so:
const vitestNodeModules = path.resolve(__dirname, '../../node_modules/vitest/dist/node.js');

const { startVitest } = await import(pathToFileURL(vitestNodeModules).href);
	const vitest = await startVitest('test', [], {
		watch: false,
		dir: path.resolve(__dirname, '..'),
	});

This, however, did not work and caused a myriad of other issues.
I am using JavasSript API because vscode runs the tests in a separate process and it is impossible to run it directly. I wasted a whole day trying to figure out how to make them work together.
I can use mocha framework but I prefer vitest in this case for two reasons:

I already use vite in my project and its working fine. I want to have a single configuration between test and build process so I can utilize paths alias and other configurations.
I already use vitest in other parts of the project (it is a monorepo) and it is working fine. It will be easier to maintain if the testing framework was the same across the entire codebase.

I hope there is a reconsideration of this issue until electronjs moves to ESM (if ever).


Negation performance

found the following Tools/Algorithms referenced for detecting Negation of diagnosis:

[ ] NegEx (https://github.com/chapmanbe/negex
[ ] NegFinder (Look at appendix https://www.ncbi.nlm.nih.gov/pmc/articles/PMC130070/)
[ ] DepND (https://github.com/zachguo/DepND)
[ ] DEEPEN (https://github.com/jessica-glover/deepen)
[ ] Negation Resolution

Looks like NegFinder has best results.
Is cTakes implemented any of them in its library?

Here Negex code:
https://code.google.com/archive/p/negex/

I should also take a look at https://github.com/RuleML/reaction-ruleml/issues/40 , looks like they have something to be used as inspiration

/cc @mkhayter


Remove workarounds for suppression bug in Search

After azure/autorest.csharp#601 is fixed and merged into this repo, remove the hacks in the Search models.

This was resolved in PR #11049.


Some attributes not initialized in WebSocketCommonProtocol

I had some code that was working prior to 8.0 that stopped working when upgrading. When a connection ended, the code did some debug logging like logging protocol.close_code. Starting with 8.0, that code started raising AttributeError because the attribute (along with some others) aren't initialized starting with 8.0:
https://github.com/aaugustin/websockets/commit/94945fec3280c1c6d04aa4c9dc41a794f1ef1a42#diff-5e2d99fc26f0a3387bd0ff4241906a9bL225-R240
The changelog also doesn't mention that these attributes would be going away. Some of the other attributes affected are path and request_headers. Is there a reason the attributes can't all be initialized to some value like None, or an equivalent for the attribute's type?

If you initialize them to None, type declarations become more complicated.
This mypy experiment is a complete disaster.

Are you sure? For example, what about initializing close_code to 0? It seems like the type checker would be just as happy with that.

Yes, the type checker would be happy with that, but I wouldn't. The close code is undefined until we receive a close frame (or until we decide we'll never receive one because the connection has dropped). Usually undefined values are set to None in Python. That's what websockets used to do.
 I opted not to define the at all until we know the value. That was probably a mistake.
There's an easy, but ugly, way to restore backwards-compatibility: rename close_code to _close_code and add:
    @property
    def close_code(self):
        return getattr(self, `_close_code`, None)

The alternative is to bite the bullet, use Optional[None] and add whatever needed for mypy to stop complaining. This may be feasible; I don't think I tried very hard.

close_reason has the same problem and should be treated similarly to close_code.
Ditto for all other public attributes that are in the same situation.
I don't think we have to make changes for the private attributes.

Okay, I wasn't sure if it was the Optional you were trying to avoid. I agree mypy doesn't necessarily make things easy. I think it's probably just a lot harder when trying to do it all at once as opposed to incrementally, where you can address these things at a slower pace.

If the Sans I/O refactor completes, all these will become properties of the asyncio Protocol, forwarded to the underlying Sans I/O Connection. This will provide an easy opportunity to use getattr to provide a default value. I guess you'll have worked around the issue long before we get there... but at least that's a plan.

It's fixed in the main branch for close_code and code_reason.
path, request_headers and response_headers are always set before it makes sense to access them. In practice, the only possible problem is that response_headers isn't set in process_request and select_subprotocol, but it doesn't make sense to access it at this point anyway as the response headers aren't defined yet.
So, for practical purposes, this bug is fixed.


docs: :memo: virt-manager README fixed

You added a secondary line for your NixOS module for it despite the home manager module not even existing now Genius!

I used to have one but then nixos upstreamed it without me saying anything thanks for notcijg though


Provide Kotlin Extension Functions (with reified type) for GatewayFilterSpec

GatewayFilterSpec (https://github.com/spring-cloud/spring-cloud-gateway/blob/master/spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/route/builder/GatewayFilterSpec.java) has the Java methods modifyRequestBody and modifyResponseBody with arguments of type Class<T>. It would be nice to have Kotlin Extension Functions with reified types just as implemented by @sdeleuze for the Spring Framework.
Then in Kotlin one could write e.g. modifyResponseBody<String, String> { … } instead of modifyResponseBody(String::class.java, String::class.java) { … }.

PRs welcome

I'd help with this, if none has started the work


[bug] MakeIconW base on diff DPI

System Environment：

Version：

Description of the issue：

Reproduction steps：
Change DPI and use makeiconw.

use DPI 125% befor the issue fixed


Jina reranker(turbo/tiny) being classified as embedding models

System Info
System Info:
AWS EC2 G4dn
Amazon Linux
Model:jinaai/jina-reranker-v1-tiny-en or jinaai/jina-reranker-v1-turbo-en
Hardware: Nvidia-smi
Using latest docker version
Command:
port=7997
rerank_model=jinaai/jina-reranker-v1-tiny-en
volume=$PWD/data
sudo docker run -it --gpus all
-v $volume:/app/.cache
-p $port:$port
michaelf34/infinity:latest
v2
--batch-size 256
--model-id $rerank_model
--port $port
Information

[X] Docker
[ ] The CLI directly via pip

Tasks

[x] An officially supported command
[ ] My own modifications

Reproduction
Run the following command,
port=7997
rerank_model=jinaai/jina-reranker-v1-tiny-en
volume=$PWD/data
sudo docker run -it --gpus all
-v $volume:/app/.cache
-p $port:$port
michaelf34/infinity:latest
v2
--batch-size 256
--model-id $rerank_model
--port $port
Then attempt to use the /rerank endpoint with a simple body
{
"query": "test",
"documents": [
"test"
],
"return_documents": false,
"model": "jinaai/jina-reranker-v1-tiny-en"
}
and you will get the following error
"error": {
"message": "ModelNotDeployedError: model=jinaai/jina-reranker-v1-tiny-en does not support rerank. Reason: the loaded moded cannot fullyfill rerank.options are {'embed'}.",
"type": null,
"param": null,
"code": 400
}
}.
I've tested this with other inference servers like Text embedding inference and the same error occurs, however, it does not occur with the standard transformer library.
Expected behavior
Should be able to rerank with these models.

Does e.g. something like this work? https://huggingface.co/jinaai/jina-reranker-v1-turbo-en/discussions/10 aka --revision refs/pr/10 or so ? Seems like jina messed up their config. https://huggingface.co/mixedbread-ai/mxbai-rerank-xsmall-v1/blob/main/config.json mixedbread does it better here..

@John42506176Linux The detail is that you need to set   "architectures": ["JinaBertForSequenceClassification"], in the config.json to be recognized as reranker model. Would you be so kind and open PRs at the Jina models for this? I apprechiate your time

Assumed it was something simple, thanks for the quick response, I am testing your first comment rn.

K looks good. Thanks for the quick fix, I appreciate the quick response, I'll open a pr, for the tiny model soon. (Need to finish testing for the turbo model first), but thanks saved me some time :).

@michaelfeil Tiny gives the following error when making the config.json change RuntimeError: Error(s) in loading state_dict for JinaBertForSequenceClassification:
size mismatch for classifier.weight: copying a param with shape torch.Size([1, 384]) from checkpoint, the shape in current model is torch.Size([2, 384]).
size mismatch for classifier.bias: copying a param with shape torch.Size([1]) from checkpoint, the shape in current model is torch.Size([2]).
You may consider adding ignore_mismatched_sizes=True in the model from_pretrained method.

No worries, you already saved me time, by helping with turbo. Thanks for the assistance.

Hi @michaelfeil  and @John42506176Linux ,
adding num_labels:1  additonally to the config seems to do the trick here.
I tested it with:
infinity_emb v2 --model-id jinaai/jina-reranker-v1-turbo-en --revision refs/pr/11

And it correclty shows up as a rerank model:
"capabilities":["rerank"]

@wirthual Thanks so much! This is exactly the solution for this model!


Eth2AP example in boot loop (IDFGH-5532)

----------------------------- Delete below -----------------------------
Reminder: If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at https://esp32.com instead.
INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.

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

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
Describe your problem.
Include debug logs from the "monitor" tool, or coredumps.
Providing as much information as possible under Other items if possible will help us locate and fix the problem.
Use Markdown (see formatting buttons above) and the Preview tab to check what the issue will look like.
Delete these instructions from the above to the below marker lines before submitting this issue.

IMPORTANT: If you do not follow these instructions and provide the necessary details, your issue may not be resolved.
----------------------------- Delete above -----------------------------
Environment

Development Kit:  ESP32-Ethernet-Kit_A_v1.2
Kit version v1.2
Module or chip used:  ESP32-WROVER-E
IDF version (run git describe --tags to find it): v4.4-dev-1594-g1d7068e4b
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:    Linux
(Windows only) environment type: [MSYS2 mingw32|ESP Command Prompt|Plain Command Prompt|PowerShell].
Using an IDE?: No
Power Supply: USB

Problem Description
I built the Eth2AP example application and flashed my ESP32-Ethernet-Kit_A_V1.2 and it's stuck in a boot loop. The debug output is as follows:
ELF file SHA256: 7e58e01de8426c2c

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6744
load:0x40078000,len:14236
ho 0 tail 12 room 4
load:0x40080400,len:3716
entry 0x40080680
I (29) boot: ESP-IDF v4.4-dev-1594-g1d7068e4b 2nd stage bootloader
I (29) boot: compile time 18:14:02
I (29) boot: chip revision: 3
I (33) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed      : 40MHz
I (45) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 2MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 3, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=12bc0h ( 76736) map
I (140) esp_image: segment 1: paddr=00022be8 vaddr=3ffb0000 size=03a2ch ( 14892) load
I (147) esp_image: segment 2: paddr=0002661c vaddr=40080000 size=099fch ( 39420) load
I (163) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=5d4f4h (382196) map
I (302) esp_image: segment 4: paddr=0008d51c vaddr=400899fc size=0af34h ( 44852) load
I (320) esp_image: segment 5: paddr=00098458 vaddr=50000000 size=00010h (    16) load
I (331) boot: Loaded app from partition at offset 0x10000
I (331) boot: Disabling RNG early entropy source...
I (343) cpu_start: Pro cpu up.
I (343) cpu_start: Starting app cpu, entry point is 0x400810b4
I (329) cpu_start: App cpu up.
I (357) cpu_start: Pro cpu start user code
I (357) cpu_start: cpu freq: 160000000
I (357) cpu_start: Application information:
I (362) cpu_start: Project name:     eth2ap
I (367) cpu_start: App version:      1
I (371) cpu_start: Compile time:     Jul 11 2021 18:13:59
I (377) cpu_start: ELF file SHA256:  7e58e01de8426c2c...
I (383) cpu_start: ESP-IDF:          v4.4-dev-1594-g1d7068e4b
I (390) heap_init: Initializing. RAM available for dynamic allocation:
I (397) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (403) heap_init: At 3FFB6618 len 000299E8 (166 KiB): DRAM
I (409) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (415) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (422) heap_init: At 40094930 len 0000B6D0 (45 KiB): IRAM
I (429) spi_flash: detected chip: generic
I (433) spi_flash: flash io: dio
W (437) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (451) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (575) system_api: Base MAC address is not set
I (575) system_api: read default base MAC address from EFUSE
I (2495) eth_example: Ethernet Started
I (2495) eth_example: Ethernet Link Up
ESP_ERROR_CHECK failed: esp_err_t 0x3001 (ESP_ERR_WIFI_NOT_INIT) at 0x40087f88
file: "../main/ethernet_example_main.c" line 108
func: eth_event_handler
expression: esp_wifi_start()

abort() was called at PC 0x40087f8b on core 0

Backtrace:0x400d23a7:0x3ffbb5100x40087f99:0x3ffbb530 0x4008e9da:0x3ffbb550 0x40087f8b:0x3ffbb5c0 0x400d6733:0x3ffbb5e0 0x4012b8a5:0x3ffbb600 0x4012b4f2:0x3ffbb630 0x4012b5cd:0x3ffbb670 0x4008b03d:0x3ffbb690

Expected Behavior
It doesn't go into a boot loop and serves up an access point.
Actual Behavior
Boot loop
Steps to reproduce
Build and burn using the idf python script
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

The boot loop only happens when I have the RTSP server running and boot the ESP32. If I allow the ESP32 to boot then connect the RTSP server, it boots fine, but I cannot connect to the AP with my iPhone.

@robopp55 Could you please move initialize_wifi() calling before initialize_ethernet() in app_main and try.

@robopp55 Is this patch could slove your issue? Or any update.


Orientation Issue

I found an issue about orientation on Portrait app.
I set project configure as Portrait orientation only.
But every times I rotate an app. CZPicker view will animate in again.
Using CZPicker (0.3.2)

Thanks @wanpaya, I noticed this issue as well, will fix soon.

Fixed in v0.3.3 0f88484fa34d224e08bc072a24aed872d0b8222c

Thanks


Recover client from server restarts when handling batons?

Currently, I think that when a client holds a server-issued baton and attempts to send it back after a server restart, the request fails with a BatonInvalid error. This error breaks the client's workflow and requires manual intervention.
If this turns out to be the case, let's fix that so thatif a BatonInvalid error occurs and no transaction is in progress, the client should:

Automatically restart the stream
Obtain a new baton from the server
Continue normal operation

I was testing the Rust SDK and this only happens if restart happens in the middle of an interactive transaction. We send the following error:
thread 'main' panicked at libsql/examples/example.rs:31:23:
called `Result::unwrap()` on an `Err` value: Hrana(Api("Received an invalid baton"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Which we should improve to tell that the transaction was aborted.

I suspected that this would trigger with cursors, but in testing it looks like we recover from restarts fine. Or perhaps I was not trying hard enough to figure out a case where this can happen.


Add shadow control to container component

Feature Description:

Introduce a shadow effect option for the container component.
The shadow will have predefined styling
3.Users can enable or disable the shadow effect through a toggle switch in the properties panel.

Properties Panel:

Add a toggle control labeled "Shadow" to the properties panel of the container component.
When enabled, the shadow will be applied to the container.
When disabled, the shadow will be removed.

PR

Further enhancements to the shadow style property will be addressed by the changes pushed to the properties panell: https://github.com/shesha-io/shesha-framework/issues/2264


nixos/qemu-vm: allow booting VM with the custom kernel

While doing kernel development with the nixos testing infrastructure, it is useful to quickly compile the kernel on the side
and boot it in the testing VM.
This patch allows overriding the kernel through the environment variable. For example, the following:
$ QEMU_KERNEL_testvm=$LINUX_SRC/arch/x86/boot/bzImage $VM/bin/nixos-test-driver --interactive
Boots testvm testing machine with the fresh kernel compiled in $LINUX_SRC.
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Please format your commit message as described in CONTRIBUTING.md.  In particular, it should start with "nixos/qemu-vm: ".

Hi @roberth, @alyssais, @tfc ,
Sorry for the noise, but is there anything else I need to do to get this PR merged?
Thanks,
Boris.

I'm not convinced that we shouldn't have - in the names.
The names are generally hostnames, which generally have - instead of _ because of DNS, although _ is allowed by posix(?).
I don't recall this issue being settled, so you could either contribute to that, which is more research and implementation work or you could sanitize the name here.

I'm not convinced that we shouldn't have - in the names.
The names are generally hostnames, which generally have - instead of _ because of DNS, although _ is allowed by posix(?).
I don't recall this issue being settled, so you could either contribute to that, which is more research and implementation work or you could sanitize the name here.

Creating names containing - is impossible right now. This is the error that I get:
error: Cannot create machines out of (kernel-test-vm)!
All machines are referenced as python variables in the testing framework which will break the
script when special characters are used.

This is an IMPLEMENTATION ERROR and needs to be fixed. Meanwhile,
please stick to alphanumeric chars and underscores as separation.

IMHO, the patch in question doesn't make the problem worse.

I guess this is safe enough then.


create an animation system with binary data

like the vier from 2014 but this time with binary data

it works!
I need to execute an optimization, but it is working!

Binary Data looked promising, but at the end, compared with the old string encoding format I proposed in the past is not worth enough.


Fix brew fails on macos-latest

Since all brew update fails in CI, I've fixed this.
workaround: https://github.com/actions/virtual-environments/issues/1811#issuecomment-708480190gi

Thanks :+1:


Configuration machinery integration

Context
Users of the configuration API would benefit from having a single source of truth for configurable values.  The status quo in cardano-shell has three different configuration mechanisms which are not seemingly integrated with each other, at least in context of cardano-node:

CLI (see https://github.com/input-output-hk/cardano-node/blob/master/app/Main.hs#L119)
Dhall config files (no mention in cardano-node)
Presets (CardanoConfiguration in https://github.com/input-output-hk/cardano-shell/blob/master/src/Cardano/Shell/Presets.hs#L145)

Note: this is a prerequisite for https://github.com/input-output-hk/cardano-node/issues/30.
Requirements

Configuration API users should have a single, unified, final source of truth for configuration values, that is informed by the aforementioned mechanisms.
Maintenance of the separation between relative "constants" and "configurables". Sometimes the distinction is hard to make.

Here constants are defined as environment/cluster defaults that are not necessarily available to CLI-based overriding.

No hard coded values: there should be no need to recompile cardano-node to override any values, even those that are classified as "constants". This does not mean that all values need to be necessarily configurable via CLI -- any runtime configuration specification method is acceptable.

Open questions

There is no overarching type for the overall configuration.  Do we want one?  To what degree do we think we want/can keep configuration isolated per feature?  How do we approach ambiguities?

What is the authoritative definition for the notion of "constants"?  Are they indeed just a combination of two properties:
a. Having environment (mainnet/testnet/staging/dev) -dependent defaults.
b. Not having CLI representation.
Do we, perhaps, want to separate these two properties and apply them to each option independently?

Ideas

Towards the goal of a unified model of configuration, we could assemble a single registry of all configuration options.  That could help with:

avoiding duplication
finding the best place for new options
keeping track of the properties of the options -- users, environment dependency, CLI-overridability
maintaining an overall picture
setting up a point of collaboration in this area
One could imagine this registry being kept as a spreadsheet -- since that would allow sorting on arbitrary columns, so as to allow easy queries.

Towards the requirement №2, we could externalise the hard-coded values for the CardanoConfiguration values into a external file -- and a Dhall file, for that matter, so as to reuse an existing mechanism.

Towards abstracted, generalised merging of options layers (presets, Dhall, CLI), we could consider the Generalised Options Monoid approach by Fischoff: https://medium.com/@jonathangfischoff/the-partial-options-monoid-pattern-31914a71fc67

@deepfire The idea is ok - have a common configuration structure and have the ability to override some params.
But, as we talked, it is not the case that we have the same structure for everything (CLI, Dhall config, constants) since there are things that exist only in one of them.
The problem is that there are some params, like the k param, which will probably remain constant for most of the cases - mainnet and testnet users will benefit from having a simple constant instead of passing it in via CLI, and we don't want to burden all users with knowing what k is.
So, it would be best to actually see which params you need, you can write them down here as we talked and we can go from there.
Doing smart things before we see an actual example might be leading us to some path that might not turn out to be useful in the end. And it might turn out that this way of structuring the configuration like we tried to do with cardano-shell is not the best way.
Let's see what you (and others) need and let us conclude what's best in that case.

Also note Genesis.Config is piped here: https://github.com/input-output-hk/cardano-node/blob/master/app/CLI.hs#L72
@deepfire  I like the look of the Generalised Options Monoid approach.

But, as we talked, it is not the case that we have the same structure for everything (CLI, Dhall config, constants) since there are things that exist only in one of them.
...
The problem is that there are some params, like the k param, which will probably remain constant for most of the cases - mainnet and testnet users will benefit from having a simple constant instead of passing it in via CLI, and we don't want to burden all users with knowing what k is.

@ksaric, I completely agree on lack of necessity to have all parameters represented in CLI -- and that is reflected in the issue already, I believe.  Now the question of constants vs. Dhall -- why don't we simply move constants to Dhall files? That way we get just two different sources (constants and CLI).

Let's see what you (and others) need and let us conclude what's best in that case.

I completely agree -- and I think that getting an overall picture of our parameters is the way forward -- so that allows us to make any conclusions.  The idea №1 seems to be an important first step.  I'm ready to start on this, as I said -- all I'd want is some consensus on its necessity, and that it's not just voices in my head : -)

@deepfire I like the look of the Generalised Options Monoid approach. Maybe we can combine Dhall with this? We can hide parameters like k from the user by using default values (i.e defaultPartialOptions in the medium article)

@Jimbo4350, yes, I'd love to explore this approach, actually.

@deepfire Do you know which params you need? Can you write them down here?

@ksaric, my particular need is to be able to choose a genesis config from the CLI.

My thoughts based on what I've seen in SL and in rust code:

Protocol constants like k, protocolMagic and networkMagic I think should only be in the genesis config. I don't see a need to reflect this in a config file outside of genesis, unless I'm missing some need to have it duplicated.

"pre-baked" genesis files used for config so I can specify --cluster=mainnet, --cluster=testnet or --cluster=staging.

Ability to specify a custom genesis if I'm not using a pre-baked genesis with --cluster=custom --genesis-config=benchmark1.json.

The actual config outside of genesis should be as limited as possible. Ideally it would specify protocol version and some pre-seeded relay addresses only on a core/relay node and on a wallet would have additional configuration information like TLS and port information (if https enabled, or sock file to use if using unix sockets) and daedalus configuration would have all of the above mentioned attributes plus update server URL and application version.

"pre-baked" genesis files used for config so I can specify --cluster=mainnet, --cluster=testnet or --cluster=staging.

@disassembler, the current way the genesis file is specified is via a FilePath+Hash tuple. So we could make these --cluster=X names reference presets of those tuples, then (in addition to whatever else is appropriate).


{WIP} Drive Dtree with a thread

Adds calls to drive Dtree work distribution by parent nodes in a number of places in divide_and_infer(), and with a reserved thread in the infer() parallel loop.
Still seeing signs of https://github.com/JuliaLang/julia/issues/15620.

I don't think I know Dtree well enough to understand this PR, but I'll have some faith and merge to move things forwards.


Removes the Object Type Facet from My Works, Collections, and Highlights.

Removed the has_model object type from all of the My Controllers and then added it back in for the My Shares Controller.
Fixes #351

Coverage decreased (-3.0%) to 59.7% when pulling 705031665a6436aa23c45be00dc2837eb27bddf5 on i#351-object into 348e2c61441e78b7947f5349257547a49d37ce92 on develop.


Unicode exception for delimiter detection

When a partial multibyte character appears right at the end of the lookahead buffer for CSV delimiter detection, the character is incomplete and triggers a Unicode exception.
Sample data: https://docs.google.com/spreadsheets/d/1xLo4-_QY2Yxy4-4EoRQf2SXnFF9EDWGfbDKBdR1P-jk/edit#gid=0

Deployed to beta. Confirmation link: https://beta.proxy.hxlstandard.org/data/tagger?dest=data_view&url=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1xLo4-_QY2Yxy4-4EoRQf2SXnFF9EDWGfbDKBdR1P-jk%2Fedit%23gid%3D0


Doesn't work in text-angular1.5.0

keydown event never work

@dennis-dudayev Please, can you provide more details?

I can't provide an example. And I don't remember this issue. But looks like I can't bind to event keydown event via your directive.

I have just checked it with text-angular 1.5.16. It works fine for me. It seems that the issue was caused by something else.


Add new tab button

Hi, Adam. Kindly review and accept my pull request if you will. Thanks.

Hi, Adam. Thanks for your response. I have made the changes you requested. Kindly review. Thanks.

Hey @power-f-GOD. Thanks again for working on this. Another issue I’m seeing is that chrome-tabs.js appears to have been linted or formatted in some other way. Please ensure all of the changes in this PR are directly related to the addition of the new tab button and its functionality.  Thanks

Hi, Adams. I've made the change you requested. Kindly review. Thanks.

Hiyi.

Any update about this feature? It's really a necessary function, people including me are waiting for this for months.

Oh. This PR is still open (three years later). 🥲


An email address added by an admin should be confirmed (#427)

Add test verifying that edited email should be confirmed
Confirm primary emails edited by the admin
Add unit test to ensure all admin created emails are confirmed

Closes #424

Coverage increased (+0.3%) to 87.4% when pulling 1933b84b2db3efd9769ee1053a0060b357fbc79a on 1.0/bug/427 into 956a51516565f38284da4085ae360eb4d69eed13 on v1.0.


Use require-less for widget styling

This PR comes on the top of #246 .
Rather than statically building css, I use require-less for the styling of widgets which allows third-party widget libraries to use that less.

I'm not sure how I feel about having people run bower on install from npm.
I don't really like the alternative though, where our package becomes bloated because we include the other package's source.
I'm not sure which is worse.

Another question, what does this solve?  Is it just so that you have access to the less from within the browser?

Accessing the less from within other packages is one advantage.
Another is being able to include the css when loading the widget module - but this could be done with require-css too. It simplifies embedding the css with the web example IMO.

Accessing the less from within other packages is one advantage.

Hmm, can't that be done the same way that ipywidgets currently accesses less of other projects?

Accessing the less from within other packages is one advantage.
Hmm, can't that be done the same way that ipywidgets currently accesses less of other projects?

Except for custom widget using require-less. Although the less source just needs to be available but not necessarily compiled on the fly.

@jdfreder I just added a new development example. This example requires a dumped widget_state.json which is typically created with the new notebook action downloading the widget manager state.
This example works with pretty much any widget manager state that is based only on ipywidgets, but here I just used two sliders and a jsdlink.

No idea why the tests are not passing. The only thing that is remaining otherwise is loading boostrap's css.

No idea why the tests are not passing. The only thing that is remaining otherwise is loading boostrap's css.

Looks like the less parser is incompatible with Phantom - it uses .bind which Phantom does not support.

Arg this is really too bad for Phantom... In any case, another solution is to use require-css, and pre-build the less.
Besides, as per the conversation on gitter, I realized that we depend on jquery-ui's css for the styling.

😓
Sent from my iPhone

On Nov 23, 2015, at 2:49 PM, Jonathan Frederic<EMAIL_ADDRESS>wrote:
No idea why the tests are not passing. The only thing that is remaining otherwise is loading boostrap's css.
Looks like the less parser is incompatible with Phantom - it uses .bind which Phantom does not support.
—
Reply to this email directly or view it on GitHub.

Time to abandon phantom once and for all...

OK, the tests are now passing and the static widgets have styling! Let me know what you think.

I added a codemirror text editor with the static page example.

This is ready to get in. #253 comes on the top of it.

Awesome


[Deadlands classic anniversary improved] Bug Fix

Changes / Comments
Previous merge had conflicts which left artifacts in the code after merge.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[X] 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.

Ignore the translation file updates--just adding a space on a key for consistency and to bring these in line with dev copies.

#6730
Added issue so that users know this is being addressed.


Update for Mesos 1.0.0-rc2 and related build changes.

@spahl

Closed in favor of https://github.com/dcos/dcos/pull/328


Adding go-validator for validating the user-defined structs

What this PR does / why we need it:
Adds a standard validator library for validating the user-defined structs (that cannot be validated using Kubebuilder's annotation based validators)
go-validator: https://github.com/go-playground/validator
How Has This Been Tested?:
WIP
Release note:
2. If no release note is required, just write "NONE".
NONE

Closing since the validations will go in the webhook PR.


Make metric(s) monitored configurable with a flag.

Send all metrics we want to with a configurated flag.

Not going to do this yet.


DUID length exceeds 36 chars when adding a static DHCP lease

My OpenWRT version is OpenWrt 19.07.4 r11208-ce6496d796
Here's a screenshot when adding a static DHCPv6 lease, obviously either the reported DUID from the pull-down menu or the internal length limit is wrong

Looks like 36 hex digits + colons, which apparently are displayed contrary to the validation rule.
This is from master, where the rule expects 20-36 hex chars without colons.  The length fails first, but the colons would cause failure too (as "hexstring" does not allow colons)
https://github.com/openwrt/luci/blob/a805a3178f902fe609d3d4a6c7b6b5b1dad88838/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L496

@dianlujitao can we get more info? Are you using a special service to provide ipv6 dhcp?

@dianlujitao can we get more info? Are you using a special service to provide ipv6 dhcp?

I use dnsmasq-full as DHCPv6 server.

bump, any updates?

Do you still have this with latest master?

Do you still have this with latest master?

Seems not with the latest 19.07.4, the colons are gone from the pull-down menu. But I reinstalled odhcpd-ipv6only because there are some minor issues when using dnsmasq-full alone, dunno if this happens to be a workaround.

This is still an issue. If you select a hex value from the drop-down list, they are not accepted as too long. Nor can you type in a full hex string value in the custom entry.
Also, the colons should not be stripped - dnsmasq needs the hex values with colons. Otherwise the values would be considered a string. The dnsmasq manual says

It is allowed to use client identifiers (called client DUID in IPv6-land) rather than hardware addresses to identify hosts by prefixing with 'id:'. Thus: --dhcp-host=id:01:02:03:04,..... refers to the host with client identifier 01:02:03:04. It is also allowed to specify the client ID as text, like this: --dhcp-host=id:clientidastext,.....

I have tried stripping the colons and then the client IDs don't match. I put the hex string with colons in directly and then they match.

Problem is that odhcpd expects DUIDs without colons afair, and that is the default DHCPv6 server on OpenWrt. This should be aligned on the OpenWrt side first before we can change it in LuCI.

@jow- true but even without that, there is a LuCI problem - it populates a list of DUIDs from the current leases, which may included colon-separated hex strings, but then doesn't accept the value you have just picked from the list.

From which list of current leases? The dnsmasq ones? By default dnsmasq should not produce DHCPv6 leases because support for it is not compiled in, so it falls into the same category as above. Easiest fix would likely be making odhcpd accept and produce colon separated DUIDs to align with dnsmasq, but until this is the case we can't change it in LuCI to not break default setups.
At this point, dnsmasq based DHCPv6 should be simply considered unsupported.

I use dnsmasq-full, and I have the exact behaviour shown in the picture in the original report here (https://github.com/openwrt/luci/issues/4543#issue-729320773). The list is populated with full hex strings taken from active leases, but you can't select one because it is too long.

At this point, dnsmasq based DHCPv6 should be simply considered unsupported in LuCI.

This particular issue could be fixed just by extending the length limit.

Where are those colon strings come from exactly? I don't see this on my devices.

I see those values in /var/dhcp.leases. eg
1662681721 38:c9:86:40:86:37 <IP_ADDRESS> potoroo ff:b7:b0:95:87:00:03:00:01:83:6d:06:a5:ef:01

No, because DUIDs with colons are invalid for odhcpd.

Do you see values with colons suggested though?

Nope, I do not see such suggestions

Is it harmful to allow longer values just so dnsmasq users? In each case users will be able to select from the list successfully.

my duid is 44 characters, example<PHONE_NUMBER>580f0ceb16f323e54cbd318d66c7b33cbc and odhcp recognizes it fine, and luci displays it, but complains it's too long.  Setting it manually in the dhcp config file works fine.  No colon's in my duid.  Generated from a t520 laptop running linux/intel amt.

I have luci-mod-network git-24.207.52553-1f36628 and I'm still seeing complaints about duids being too long. Is the fix not in this version yet?

Try again tomorrow? You might need to build a new image. See whether that helps.

ping @hmoffatt

It looks like this change is in rpcd-mod-luci, but I don't see an updated package for 23.05.4; I have 20240305-1. Is there something else I can do to get this change?

Available in 23 now.

opkg doesn't show it yet but I'll check again tomorrow.


Withdraw issue or lost 0.00000001

Preset:
-You should have a coin with amount 100 or higher (easiest with XRP)
-Set the "Quick withdraw limit" to 100+ and "Withdraw fee" to 0.0, in the http://peatio.trade/admin/currencies (not necessary, just to make clear point)
-Some Bitgo test addres to send to (like rfUKVVX5KJQ2FsWYrjS6JMedz3jdjPhRPZ?dt=3)
STR:

Go to the funds menu
Open Withdraw of coin currency that you have more than 100
Input address to "Withdraw address" field you will withdraw to
Input 90.1 or 80.48 to "Withdraw amount" filed
Observe "Actual Amount" and State/Action column.

Expected: The "Actual Amount" should show you the amount that was withdrawn minus "Withdraw fee" (if you have it). The status should be "Done".
Actual: The "Actual Amount" will be incorrect (80.48999999 or 90.09999999). The status will be "Failed"

Some times it will happen to smaller amount but rarely.

The status «failed» is due to bitgo restrictions for precision. But the issue with losing 0.00000001 is real.

I think this is the issue with front. Probably it does something scary. Can you repeat and include XHR request / response?

cc @pkucherenk0

2_Full.txt

Reproduction steps: Order.new(fee: 90.1).

Closed by #963 #962 #958


Shaders break everything (Fabric)

Using shaders smh breaks a lot of stuff. From bone hiding to animations
Video with demonstration: https://youtu.be/yPwOsZBQNL0
Mods used for demo:
Cloth Config API (ver. 8.2.88): https://www.curseforge.com/minecraft/mc-mods/cloth-config/files/3972420
Geckolib (ver. 3.1.20): https://www.curseforge.com/minecraft/mc-mods/geckolib/files/3989825
Sodium (ver. 0.4.4): https://www.curseforge.com/minecraft/mc-mods/sodium/files/3957319
Indium (ver. 1.0.9): https://www.curseforge.com/minecraft/mc-mods/indium/files/3957480
Iris (ver. 1.3.1): https://www.curseforge.com/minecraft/mc-mods/irisshaders/files/3981799
Useless Reptile (ver. 0.1.1): https://www.curseforge.com/minecraft/mc-mods/useless-reptile/files/3998332
Used shaders for demo: https://www.curseforge.com/minecraft/customization/bsl-shaders/files/3868240 (although I saw people having issues with other shaders too)
Logs: latest.log
P.S. Useless Reptile is my mod, so feel free to contact if more info needed

Iris works fine with Geckolib, its not an issue with our side. I use shaders with my own Fabric mods that use Geckolib


Replace whitelist with allowlist

Most of it is documentation, but there is one part of the API that uses whitelist. This is deprecated only, still supported, and will only be fully removed in a future release.

:tada: This pull request is included in v2.5.0, available on npm<EMAIL_ADDRESS>
Generated by :package::rocket: semantic-release


Chars in constant values

In the constant values page, the char constants are rendered by their integer values, even though in generated fake source they are in '' quotes. Dunno why this happens, need to check out later.

Hmm, this now seems fixed when I examine the record outputs. Maybe it's a javadoc tool thing after all


css not working with angular-cli

I tried to test ngx-datatable on my angular-cli project, but the css is not applied and i got a result like this

I imported NgxDatatableModule in my app.module and linked css as in the documentation in my index.html
< link rel="stylesheet" type="text/css" href="./release/datatable.css" />   < link rel="stylesheet" type="text/css" href="./release/material.css" /> (I added a space here between < and link due to github injection security but it's not present in my code)
And my html look like this
<ngx-datatable   class='material'   [rows]='rows'   [columnMode]="'standard'"   [headerHeight]="50"   [footerHeight]="50"   [rowHeight]="50"   [scrollbarV]="true"   (page)="onPage($event)">   <ngx-datatable-column name="Name" width="200">     <template let-value="value" ngx-datatable-cell-template>       a     </template>   </ngx-datatable-column>   <ngx-datatable-column name="Gender" width="300">     <template let-row="row" let-value="value" ngx-datatable-cell-template>        and b     </template>   </ngx-datatable-column>   <ngx-datatable-column name="Age" width="80">   </ngx-datatable-column> </ngx-datatable>
Also my package.json dependencies
"dependencies": {     "@angular/common": "2.3.1",     "@angular/compiler": "2.3.1",     "@angular/core": "2.3.1",     "@angular/forms": "2.3.1",     "@angular/http": "2.3.1",     "@angular/platform-browser": "2.3.1",     "@angular/platform-browser-dynamic": "2.3.1",     "@angular/router": "3.3.1",     "@swimlane/ngx-datatable": "4.0.0",     "angular2-cookie": "1.2.5",     "angular2-toaster": "1.1.0",     "core-js": "^2.4.1",     "js-sha256": "0.3.2",     "ng2-bootstrap": "1.1.16",     "rxjs": "5.0.1",     "ts-helpers": "^1.1.1",     "zone.js": "^0.6.23"   },   "devDependencies": {     "@angular/compiler-cli": "2.3.1",     "@types/jasmine": "2.5.38",     "@types/node": "^6.0.42",     "angular-cli": "1.0.0-beta.21",     "codelyzer": "~2.0.0-beta.1",     "jasmine-core": "2.5.2",     "jasmine-spec-reporter": "2.5.0",     "karma": "1.2.0",     "karma-chrome-launcher": "^2.0.0",     "karma-cli": "^1.0.1",     "karma-jasmine": "^1.0.2",     "karma-remap-istanbul": "^0.2.1",     "protractor": "4.0.9",     "ts-node": "1.2.1",     "tslint": "^4.0.2",     "typescript": "~2.0.3",     "webdriver-manager": "10.2.5"   }
So i don't know if it's an error in my implementation, if the doc is incorrect or if it's an issue with the ngx-datatable module or another module..

Got the same problem. Here's a print screen:

Actually I should point out that, it gets displayed like this using the quickstart. I actually haven't used the Angular CLI at all.

i was able to repo this @PEsteves8's screenshot by only including material.css
you need to include both:

"../node_modules/angular2-data-table/release/datatable.css"
"../node_modules/angular2-data-table/release/material.css"

Thanks. I'm now realizing it was indeed specified in the docs. I must have missed it.
I'm assuming the OP didn't include either.

I use following to have sorting icons working as well... ;-)
@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>

This is included in docs, suggestions welcome for better approaches.

I solved by adding these line in my angular-cli.json in the section "apps" > "styles"
<EMAIL_ADDRESS><EMAIL_ADDRESS>thats give me something like this
"apps": [     {       "styles": [<EMAIL_ADDRESS><EMAIL_ADDRESS>        "styles.css"       ],

In my case,
@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>to scss file is correct. I hope this is helpful for someone.

would u mind PR to the docs?

I've done, I hope it helps. 🙂

for me, put those css files at .scss does not work. But put them in component.ts file works.
Another thing is, I need to change @import to import

Anyone know how to get this working with scss in the CLI?

@closer27
@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>worked for me also until i updated to angular 5 & co..
Now i have this compile error in my table.component.css, where i actually have just those 3 lines:
ERROR in ./src/app/table/table.component.css
Module build failed: TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.isAbsolute (path.js:1200:5)
at Promise.all.paths.map.file (/Users/xx/CRUD/node_modules/postcss-import/index.js:187:24)
at Array.map (native)
at Promise.resolve.then.paths (/Users/xx/CRUD/node_modules/postcss-import/index.js:186:15)
at process._tickCallback (internal/process/next_tick.js:109:7)
@ ./src/app/table/table.component.ts 38:21-53
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://<IP_ADDRESS>:0 ./src/main.ts
anybody has an idea?

Eu Resolvi assim (I resolved in Angular11 themes)
Angular 11 no angular.json
"projects": {
  "admin": {
    "architect": {
      "build": {
        "options": {
             styles": [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>            ]

Eu Resolvi assim (I resolved in Angular11 themes)
Angular 11 no angular.json
"projects": {
  "admin": {
    "architect": {
      "build": {
        "options": {
             styles": [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>            ]

Thank you @fabiobernardo, life saver!


Unclear what type is used for $locationProvider

I'm attempting to upgrade to the 1.0 branch in an Angular 1.5 application using TypeScript. In setting up the routes, we typically like to type the arguments like is shown for $stateProvider and $urlRouterProvider below. However, we have not been able to identify the proper type for $locationProvider. What class and/or interface can we import to correctly type it?
import uiRouter, {StateProvider, UrlRouterProvider} from 'angular-ui-router';

.config(($stateProvider: StateProvider, $urlRouterProvider: UrlRouterProvider, $locationProvider: any) => {

        $urlRouterProvider.otherwise('/');
})

$locationProvider not ui-router, it's an angular service.  If you have @types/angular installed, you should be able to
import { ILocationProvider } from "angular";


ssd1306 wrong resolution on 128x32 OLED

Using this product on Raspberry Pi Zero W using latest stretch:
Adafruit PiOLED - 128x32 Monochrome OLED Add-on for Raspberry Pi
https://www.adafruit.com/product/3527
The image seems wrong using the ssd1306 cmd provided in the package:
./ssd1306 -h 32

Results in:

It only writes to the second half of the screen, with tiny text cut in half.
# even though the display has a height of 32, I tried 64 to see
./ssd1306 -h 64

Results in:

The display is working fine with their official python library: https://github.com/adafruit/Adafruit_Python_SSD1306/blob/master/Adafruit_SSD1306/SSD1306.py
The Adafruit 128x64 OLED Bonnet for Raspberry Pi  is working fine with periph (https://www.adafruit.com/product/3531):

Interesting. Can you try changing this line:
https://github.com/google/periph/blob/master/devices/ssd1306/ssd1306.go#L207
to 0xDA, 0x02, ?

@maruel nope, same problem.
I don't know if it is relevant/interesting or not but... if I try with -h 32 on the 128x64 display, it displays on the bottom half of the screen (like 1st screenshot, but on the 128x64 device)

@maruel I picked up the device again and found the problem this time.
I looked at how the device was initialized with the adafruit python library (https://github.com/adafruit/Adafruit_Python_SSD1306/blob/master/Adafruit_SSD1306/SSD1306.py#L309). I found a mismatch here https://github.com/google/periph/blob/master/devices/ssd1306/ssd1306.go#L207.
So I replaced...
0xDA, 0x12, // Set COM pins hardware configuration; see page 40

with...
0xDA, 0x02, // Set COM pins hardware configuration; see page 40

And now the display is working properly:

There is no public interface to send commands directly to the display, what do you propose to make something flexible so I can make it work?

@maruel I feel silly, that was your proposed diagnosis the first time!

I found out how to do it:
if err = c.Tx(0x3C, []byte{
    0x00, // I²C transaction has stream of command bytes
    0xDA, // set comm pins
    0x02, // 2
}, nil); err != nil {
    return nil, err
}

I am going to close it now :)

No worries. :) Reopening because this is a bug.
So clearly the COM pins configuration needs to either have more conditions or be made configurable. I think we'll need the later as this really depends on the hardware configuration. :/ Expanding on the doc which isn't that clear;
Bits

5 enables top and bottom panel swap
4 enables alternative each side instead of using two subpannels

This is coupled with C0/C8:

C0 means bottom-top
C8 means top-bottom

It is used to rotate the display.
So we'll need an enum to clarify the above in a way that keeps the rotated functionality working (which I'd prefer if possible).

FTR, I still want to fix this, I just need to figure out the best way to expose the bit.

I'm starting to think about v3, this should be fixed in time for this release, which will likely be in a few months.

@maruel thanks! in the meantime I have a workaround so that's great

Thank you very much!


Merge prTesting_202004271943 branch to master branch

Docs Build status updates of commit e5ce13e:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit e5ce13e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestCon.md
:warning:Warning

Details

split/updateTestCon.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 0: [Warning] Markdown content is not allowed before H1.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

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.