Symbiflow shows Unable to detect GNU compiler type

Hii
I am facing an issue while setting up environment for CFU Playground.
While running make prog TARGET=digilent_arty USE_SYMBIFLOW=1
i am getting this
meson /home/mamuneeb/CFU-Playground/third_party/python/pythondata-software-picolibc/pythondata_software_picolibc/data
-Dmultilib=false
-Dpicocrt=false
-Datomic-ungetc=false
-Dthread-local-storage=false
-Dio-long-long=true
-Dformat-default=integer
-Dincludedir=picolibc/riscv64-unknown-elf/include
-Dlibdir=picolibc/riscv64-unknown-elf/lib
--cross-file cross.txt
WARNING: Unknown CPU family riscv, please report this at https://github.com/mesonbuild/meson/issues/new
The Meson build system
Version: 0.63.99
Source dir: /home/mamuneeb/CFU-Playground/third_party/python/pythondata-software-picolibc/pythondata_software_picolibc/data
Build dir: /home/mamuneeb/CFU-Playground/soc/build/digilent_arty.proj_template/software/libc
Build type: cross build
Project name: picolibc
Project version: 1.7.7
../../../../../third_party/python/pythondata-software-picolibc/pythondata_software_picolibc/data/meson.build:35:0: ERROR: Unable to detect GNU compiler type:
Compiler stdout:
Compiler stderr:
riscv64-unknown-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
compilation terminated.
A full log can be found at /home/mamuneeb/CFU-Playground/soc/build/digilent_arty.proj_template/software/libc/meson-logs/meson-log.txt
make[6]: *** [/home/mamuneeb/CFU-Playground/third_party/python/litex/litex/soc/software/libc/Makefile:43: __libc.a] Error 1
make[6]: Leaving directory '/home/mamuneeb/CFU-Playground/soc/build/digilent_arty.proj_template/software/libc'
Traceback (most recent call last):
File "./common_soc.py", line 57, in
main()
File "./common_soc.py", line 53, in main
workflow.run()
File "/home/mamuneeb/CFU-Playground/soc/board_specific_workflows/general.py", line 125, in run
soc_builder = self.build_soc(soc)
File "/home/mamuneeb/CFU-Playground/soc/board_specific_workflows/digilent_arty.py", line 73, in build_soc
return super().build_soc(soc, **kwargs)
File "/home/mamuneeb/CFU-Playground/soc/board_specific_workflows/general.py", line 102, in build_soc
soc_builder.build(run=self.args.build, **kwargs)
File "/home/mamuneeb/CFU-Playground/third_party/python/litex/litex/soc/integration/builder.py", line 344, in build
self._generate_rom_software(compile_bios=use_bios)
File "/home/mamuneeb/CFU-Playground/third_party/python/litex/litex/soc/integration/builder.py", line 281, in _generate_rom_software
subprocess.check_call(["make", "-C", dst_dir, "-f", makefile])
File "/home/mamuneeb/CFU-Playground/env/conda/envs/cfu-symbiflow/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', '/home/mamuneeb/CFU-Playground/soc/build/digilent_arty.proj_template/software/libc', '-f', '/home/mamuneeb/CFU-Playground/third_party/python/litex/litex/soc/software/libc/Makefile']' returned non-zero exit status 2.
make[5]: *** [/home/mamuneeb/CFU-Playground/soc/common_soc.mk:115: build/digilent_arty.proj_template/gateware/digilent_arty.bit] Error 1
make[5]: Leaving directory '/home/mamuneeb/CFU-Playground/soc'
make[4]: *** [../proj.mk:312: prog] Error 2
make[4]: Leaving directory '/home/mamuneeb/CFU-Playground/proj/proj_template`
It says unable to detect GNU compiler type.
Please help.

Hi @mamuneeb , thank you for the report.  I don't recall seeing that exact error, but it seems to be an installation issue.  Do you have your own SymbiFlow installation, or did you do the make install-sf and make enter-sf way of getting SymbiFlow using Conda (instructions)?    Also, on which OS are you running?

Hii
Thank you sir for your response.
Sir i did the make install-sf and make enter-sf .
I am using Ubuntu 22.04 OS.

Hmm, I don't think I've tried Ubuntu 22.04.   I'll see if I can access that on a cloud VM or in Github Actions.  Thanks again for your report!

Sir may i know on which Ubuntu version this works fine.

Ubuntu 20.04 is the best tested, but we also use Ubuntu 18.04 since that is the only OS available in Google Colabs.
But I am trying to reproduce your issue on Ubuntu 22.   It might not have anything to do with the OS version.

I'm currently running make USE_SYMBIFLOW=1 prog on a 22.04 VM and it's progressing fine.   When it finishes the bitstream, I'll try making the software target.
Oh, I may see your problem.   Your log mentions riscv64-unknown-elf-gcc.   The toolchain in Conda is all riscv32.   So the build may be attempting to mix and match different compilers.
I suggest you try removing the riscv64 toolchain from your path (or if it's a personal installation, just make the directory unreadable) so that all parts of the build use the included riscv32 toolchain.

Sir could you please help me with the command or proper steps to do that ?
I dont see any 64bit RISC V Toolchain in path in the .bashrc file

Sir could you please help me with the command or proper steps to do that ?
I dont see any 64bit RISC V Toolchain in path in the .bashrc file

Try:
which riscv64-unknown-elf-gcc

and / or
locate riscv64-unknown-elf-gcc

Yes sir, i got the files using the locate riscv64-unknown-elf-gcc
How to delete this files. I tried them deleting but its not getting deleted

I would not recommend deleting system files.   Find the executable that the build found --- did which riscv64-unknown-elf-gcc turn up anything?   Or else, try this to find the actual executable, and then remove the path from your $PATH (unless it's a common directory that you need).
locate riscv64-unknown-elf-gcc | grep riscv64-unknown-elf-gcc$

Or perhaps you installed the Ubuntu package?   If you're not using it for other projects, you could try uninstalling the package.   To find if any riscv64 packages are installed, run apt list -i | grep riscv64.

Sir when i run which riscv64-unknown-elf-gcc it shows
/bin/riscv64-unknown-elf-gcc
also
after doing
locate riscv64-unknown-elf-gcc | grep riscv64-unknown-elf-gcc$
I am getting
/riscv/bin/riscv64-unknown-elf-gcc /tools/riscv-newlib/bin/riscv64-unknown-elf-gcc /usr/bin/riscv64-unknown-elf-gcc /usr/lib/ccache/riscv64-unknown-elf-gcc

Hii @tcal-x Sir
The issue was with the earlier installed 64-bit tool chain.
I had used a VM now and this issue is solved.
Thanks a lot for your help.
Closing this.

I just started to test the CFU Playground following the setup guide. I'm using an Ubuntu 22.04 (on a UTM/Qemu VM) along with a FOMU FPGA. The make prog TARGET=kosagi_fomu USE_SYMBIFLOW=1 works fine and seems to produce the bitstream. However, make load TTY=/dev/ttyAMA0 BUILD_JOBS=1 TARGET=kosagi_fomu results in an error: riscv64-unknown-elf-gcc: No such file or directory
Did I miss something in the installation step? Any help is appreciated
By the way, locate riscv64-unknown-elf-gcc and apt list -i | grep riscv64 both show nothing

Hello @haaslukas , admittedly the alternative installation paths are a bit confusing.

If you are using the Conda installation (make env, make enter), then the riscv GCC toolchain is provided; the main issue that comes up in this case is that there may be a conflict if you already have a different riscv GCC toolchain installed in your system.
If you are NOT using the Conda installation, then you must download and install a riscv GCC toolchain and put it in your path (your $PATH environment variable).  This is the recommended tarball from SiFive: https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.08/riscv64-unknown-elf-gcc-10.1.0-2020.08.2-x86_64-linux-ubuntu14.tar.gz

If you are not able to resolve the issue, please include the complete log from your build attempt.

@haaslukas also, I have not tested CFU Playground with UTM/Qemu VM and Fomu before.   We should make sure the USB will work.   If you're in the Conda env, you should have dfu-util.   Try running this with the Fomu plugged in:
dfu-util -l

(that's lower-case L for "list") and let me know what you see.

dfu-util -l works fine within the VM, though I haven't testet it in the conda environment, because somehow I can't create it (yet). make envresults in the following error:
source /home/username/CFU-Playground/env/conda/bin/activate && conda env update --name cfu-common --file /home/username/CFU-Playground/conf/environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - litex-hub::verilator
  - litex-hub::yosys
  - litex-hub::flterm
  - litex-hub::iceprog
  - litex-hub::dfu-util
  - litex-hub::symbiflow-yosys-plugins
  - litex-hub::nextpnr-nexus
  - litex-hub::openocd
  - litex-hub::gcc-riscv32-elf-newlib
  - litex-hub::nextpnr-ice40
  - litex-hub::nextpnr-ecp5

make: *** [third_party/make-env/conda.mk:145: /home/username/CFU-Playground/env/conda/envs/cfu-common/bin/python] Error 1

This irritates me a little bit, because i actually have the tools (at least I though so and did use them for some FOMU workshop parts). The history in my console tells me
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py init
python3 litex_setup.py install

Could it be a version issue then?

@haaslukas , you can try to use a local installation of the tools (and not use the Conda env at all), but the tool versions from either the Fomu workshop tar or from apt install are very old.  In particular, I know that the older version of Yosys available from the Fomu workshop can't handle the CFU in our keyword spotting project since that CFU is written in System Verilog.   So if you want to go the non-conda route, I'd suggest cloning the repos, building, and installing for both yosys and nextpnr-ice40 according to the instructions at their repositories.
Also, always start a new shell that is not mixed up with your pure LiteX installation (litex_setup.py) (which typically recommends you install it in a Python virtual env).   Even though we have LiteX repos as a submodule dependency, we access them a different way (they're not installed in our conda env).  So definitely do not run litex_setup.py in CFU Playground.
I don't recall seeing that error output from Conda that you show above, although I notice something -- is your username in the VM actually username?    If not, there may be a variable substitution issue.
Can you also see what you get from which conda?   If you're using a system conda and not the one that's downloaded, that could be an issue.


Ability to share reference to some lens app state via link.

**Ability to share references to some lens app state via URL link. **
As a user I would like to share a link to open the console of some specific pod for my teammate, so he could easily and quickly open Lens in the exact location of the cluster. Or I could share links to pods view with the specific filter applied.  Or my CI could have a link in logs to the view in lens app with selected pods that have just started with ci/cd job.**:

related to #1274


Add support for windows

It is necessary to create a HF to improve Windows support:
ssh.settings {
    knownHosts = allowAnyHosts
}

Fixed


kernel-modules-headers.bb: Fix missing

openssl/bio.h when compiling on kernel
version 4.16
Adding the dependency on openssl fixes the following error:
|   HOSTCC  scripts/extract-cert
| scripts/extract-cert.c:21:10: fatal error: openssl/bio.h:
No such file or directory
Change-type: patch
Changelog-entry: Fix kernel-modules-headers compile missing bio.h
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>
Contributor checklist

[ ] Changes have been tested
[ ] Change-type present on at least one commit
[ ] Signed-off-by is present
[ ] The PR complies with the Open Embedded Commit Patch Message Guidelines

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

retest

@resin-jenkins retest this please

retest


Task/06 routing

Acceptance Criteria for 1

[ ] Mentor is added to pr
[ ] AC copied to pr description
[ ] Link to deployed version is added to pr
[ ] LayoutComponent with a static header and footer, and an Outlet for dynamic content, is added.
[ ] Two routes, AboutPage and ProductsPage, are added.
[ ] The AboutPage is set as the index route.
[ ] A route for invalid pages is added, displaying Page not found with a link to the AboutPage.

Acceptance Criteria for 1*

[ ] The layout for ProductPage is added according to the design.
[ ] An additional route for ProductPage with dynamic parameters :id is added.
[ ] An additional request getProduct is implemented, using the product's id.

Hey, @roman-orlovskyi-moc thanx for your pr, gonna check it out during the day


Allow writing protos directly to the storage API without conversion

R: @ahmedabu98

Merging based on lgtm from @ahmedabu98

Correct.
On Wed, Aug 23, 2023 at 2:03 AM Phil @.***> wrote:

@reuvenlax https://github.com/reuvenlax hi, this is an amazing feature!
Do I understand correctly that it will be coming with the Beam 2.50?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/27866#issuecomment-1689570274, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAYJVJGZOMCFZDWLMVKUKDXWXBN7ANCNFSM6AAAAAA3FPOA7M
.
You are receiving this because you were mentioned.Message ID:
@.***>


If my feature extractor changes from arcface to adaface, will it not work as well, and will I need to retrain the model with adaface?

If my feature extractor changes from arcface to adaface, will it not work as well, and will I need to retrain the model with adaface?

I have this question as well. How does the  dependency on ArcFace affect performance

Hi, the method works with the FR network in a black-box setting, using only its output embeddings (thus, any ID features could have been used for conditioning). However, since each network's embeddings reside in different spaces, the provided model is not interchangeable with, for example, AdaFace, as it was trained on ArcFace. Re-training would be required when switching to a different FR network.

Another possible solution is to try converting AdaFace embeddings to the ArcFace latent space. We have achieved some successful results by converting buffalo_l embeddings to antelopev2 without having to retrain the Arc2Face models. https://github.com/lambdaterm/biometricshack-2024


Any pretrained network for fine-tuning?

Hello,
I'm training the model from scratch on my custom dataset and the convergence is very slow. So, can you share any pretrained networks if possible?

Did you find the weights?

Nope :/


make the source code into RPM package

I want to make the source code into RPM package，but have a question。

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for dolphinscheduler 1.2.1:
[INFO]
[INFO] dolphinscheduler ................................... SUCCESS [  9.994 s]
[INFO] dolphinscheduler-ui ................................ SUCCESS [  1.827 s]
[INFO] dolphinscheduler-common ............................ SUCCESS [ 30.829 s]
[INFO] dolphinscheduler-dao ............................... SUCCESS [01:47 min]
[INFO] dolphinscheduler-rpc ............................... SUCCESS [09:46 min]
[INFO] dolphinscheduler-alert ............................. SUCCESS [01:29 min]
[INFO] dolphinscheduler-server ............................ SUCCESS [ 19.841 s]
[INFO] dolphinscheduler-api ............................... SUCCESS [06:49 min]
[INFO] dolphinscheduler-dist .............................. FAILURE [ 51.450 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:52 min
[INFO] Finished at: 2020-02-27T11:43:35+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.2.0:attached-rpm (default) on project dolphinscheduler-dist: Source location /opt/apache-dolphinscheduler-incubating-1.2.1-src-release/dolphinscheduler-dist/../dolphinscheduler-ui/dist does not exist -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :dolphinscheduler-dist

Hi, I will work to fix it.
Thank you.

Hi, I will work to fix it.
Thank you.

Do you have a compiled RPM package for download
@gaojun2048

Hi, I will work to fix it.
Thank you.

Do you have a compiled RPM package for download
@gaojun2048

@dailidong  Do we have a file server that releases rpm packages？

Hi, I will work to fix it.
Thank you.

Do you have a compiled RPM package for download
@gaojun2048

@dailidong Do we have a file server that releases rpm packages？

when i want to start api server ,meet this question, need help .I have tested the same configuration locally, but have had this problem on the server

when i want to start api server ,meet this question, need help .I have tested the same configuration locally, but have had this problem on the server

Looks like this is not a rpmbuild issue , can you create another issue about it and some one will help you fix it .

@gaojun2048 , this issue can close or not?


Part of fix 11492 -  Provide support for updating Container entity

Describe your changes:
Fixes
Part of fix 11492

Type of change:

[ x] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[x ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@pmbrull Had a question about which fields of Container entity can be changed/updated.

I have added 'prefix' and 'fileFormat' fields. Can these values be updated? Will the update be stored in the backend?
Should the CONTAINER_UPDATE_FIELDS and CONTAINER_PATCH_FIELDS also be updated accordingly to indicate that these fields can be updated?
Please give your feedback on this.


Add a banner in v1 site to tell people to visit v2 site

Hello!! Is it assigned to anyone? Otherwise, I would like to work on this issue.


Add support/validate for Torch 2.5 (required for Intel Gaudi 1.19.0)

Open question: Can we unbound torch going forward?

This blocks https://github.com/instructlab/instructlab/issues/2669 as we'll need the training library to support this before we can attempt bumping it in the CLI
Is this ticket itself blocked by https://github.com/instructlab/training/issues/293?

@JamesKunstle - should we update this issue to cover new request in ilab repo https://github.com/instructlab/instructlab/issues/2772

@ktam3 Seems like we need to bump torch for everybody, this issue can just continue to exist, we'll take care of this.

From the conversation between prarit and nathan in https://github.com/instructlab/instructlab/issues/2669 - it looks like we should be treating version bumps as separate requests for each arch? Does that make sense in the training repo?

Updating description to make this more general to cover gaudi and ROCm


Adding Table Top Defined Sheet

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is:  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is:  (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is:  (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[x] This sheet has been made on behalf of, or by, the game's publisher.
[x] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: https://tabletopdefined.com
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

Adds this SRD to my "To Read" pile


Change in Maintainer section

@Avish-Tripathi, could you link this PR with the issue (by commenting: fixes <#issue_number> or closes <#issue_number>)


[build-script-helper] Always do a clean build, to workaround an incremental build bug in swiftpm

@swift-ci Please test


Fix python 3.7 support for #384 and remove Python 2 related code

This may break Python 2 functions in the function repo but those will be removed soon anyway
Fixes #384
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Running integration tests. Decided to not brick Python 2 just yet.

Integration tests passed. Raspberry Pi 4 test passed.


Added base, openjdk & kafdrop alpine images

Draft : need to build for and test on all platforms.  Currently built and tested an amd64.

Image size differences (uncompressed) w/alpine + openjdk headless + reduced image layers:
Base
Original: 157M
Alpine: 9.37M
Open JDK
Original: 479M
Alpine: 179M
Kafrop
Original: 894M
Alpine: 455M
Size reduction due to alpine: 292M
Size reduction due to openjdk-jre-headless: 8MB
Size reduction due to layer reduction: 139M

Image size differences (uncompressed) w/alpine + openjdk headless + reduced image layers:
Base
Original: 157M
Alpine: 9.37M
Open JDK
Original: 479M
Alpine: 179M
Kafrop
Original: 894M
Alpine: 455M
Size reduction due to alpine: 292M
Size reduction due to openjdk-jre-headless: 8MB
Size reduction due to layer reduction: 139M

Opened an alpine issue for kafdrop on alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12275#note_134258
Also added a kafka-alpine image.  Alpine reduced the size of the kafka image from 648MB to 289MB.

Opened an alpine issue for kafdrop on alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12275#note_134258
Also added a kafka-alpine image.  Alpine reduced the size of the kafka image from 648MB to 289MB.


Muted Speaker

Hi,
Thanks for the awesome node you created, not sure if it possible, but I have a feature request.
Sometimes I mute my Sonos speaker and forget to unmute them. If I then send a text to it, including volume level, logically no sound comes out of the speaker (case it's muted). Would it be possible to add a function that checks on forehand whether the speaker is muted and then unmute it
Steps to reproduce the behavior:

With the Sonos App mute a speaker
With TTS-Ultimate send text to the muted speaker
TTS-Ultimate seems to work correctly, but no sound is actually played

Expected behavior
An option to unmute a muted speaker
Are you running node-red behind homematic, docker or anything similar?
Node-Red running on Hassio

Hi,
will check what "Een optie om het dempen van een gedempte luidspreker op te heffen" means and i'll take a look.

Hi Rink
<EMAIL_ADDRESS>is out. Please see the README about new "Unmute" option.
Basically, just enable it in the config window.
If not already done, please STAR my node. Thanks.

You don't need to pass unmute in the message. This is only for temporary purpose.
Change the config directly in the configuration window.


Replace standard json library by segmentio's library

The segmentio json library is a drop-in replacement that it's faster than the standard library. In this case it's ~37% faster.
goos: darwin
goarch: arm64
pkg: github.com/aws/aws-lambda-go/lambda
       │ bench.orig.txt │           bench.json.txt            │
       │     sec/op     │   sec/op     vs base                │
JSON-8      7.901µ ± 0%   4.985µ ± 0%  -36.90% (p=0.000 n=40)

       │ bench.orig.txt │             bench.json.txt             │
       │      B/op      │     B/op       vs base                 │
JSON-8     4.353Ki ± 0%   38.273Ki ± 0%  +779.34% (p=0.000 n=40)

       │ bench.orig.txt │       bench.json.txt       │
       │   allocs/op    │ allocs/op   vs base        │
JSON-8       31.00 ± 0%   17.00 ± 0%  -45.16% (n=40)

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

We're currently processing your upload.  This comment will be updated when the results are available.

I'm not comfortable expanding the dependencies of aws-lambda-go beyond that of Go's standard library.


[video_player] Can't  Change HSL Video Quilty

“HLS”, “MPEG-DASH” Adaptive Bitrate  Streaming
Quality Change Features Need.

Hi @A29sTech
Can you please the feature request/bug in detail? We need more information
Thank you

Flutter video plugin,
m3u8 video supports Adaptive Bitrate Streaming.
And it's video quality can be changed.
But In m3u8 video Metadata come with all information Like video quality 240p, 360p, 720p, 1080p Etc.
How can I choose video quality manually.
There is no way to change video quality manually in flutter video plugin.
Thanks for response.
3u8 video resolution can't change.
M3u8 video Bitrate can't change.

I need same feature please tell us how to switch quality of hls while playing video and also to download video by selecting quality

Is the default behaviour of flutter video_player to automatically use adaptive bitrate? Or does it just choose a quality and stick to it, when using hls?

I also need the same feature for adaptive quality for hls encoded files. Is there any update on this feature request?

// M3U8 Data Setup
Future<List> getM3U8(String video) async {
Logging.log("---- m3u8 fitch start ----\n$video\n--- please wait –––");
return await m3u8video(video);
}
// Future m3u8video(String video) async {
Future<List> m3u8video(String video) async {
// m3u8 temp data
String m3u8Content;
List qualities = [];
//qualities.add(M3U8pass(dataQuality: "Auto", dataURL: video));
RegExp regExp = new RegExp(
r"#EXT-X-STREAM-INF:(?:.,RESOLUTION=(\d+x\d+))?,?(.)\r?\n(.*)",
caseSensitive: false,
multiLine: true,
);
if (m3u8Content != null) {
  Logging.log("--- HLS Old Data ----\n$m3u8Content");
  m3u8Content = null;
}
if (m3u8Content == null && video != null) {
  http.Response response = await http.get(Uri.parse(video));
  if (response.statusCode == 200) {
    m3u8Content = utf8.decode(response.bodyBytes);
  }
}

List<RegExpMatch> matches = regExp.allMatches(m3u8Content).toList();
Logging.log("--- HLS Data ----\n$m3u8Content\nfinish");

matches.forEach(
  (RegExpMatch regExpMatch) async {
    String quality = (regExpMatch.group(1)).toString();
    String sourceURL = (regExpMatch.group(3)).toString();
    final netRegex = new RegExp(r'^(http|https):\/\/([\w.]+\/?)\S*');
    final netRegex2 = new RegExp(r'(.*)\r?\/');
    final isNetwork = netRegex.hasMatch(sourceURL);
    final match = netRegex2.firstMatch(video);
    String url;
    if (isNetwork) {
      url = sourceURL;
    } else {
      Logging.log(match);
      final dataURL = match.group(0);
      url = "$dataURL$sourceURL";
      Logging.log("--- hls child url integration ---\nchild url :$url");
    }
    Logging.log('qualityVideo');
    Logging.log(quality);
    Logging.log('sourceURL');
    Logging.log(sourceURL);
    qualities.add(M3U8pass(dataQuality: quality, dataURL: url));
  },
);
return qualities;

}

@thanhit93 How you changed the URL runtime of VideoController?

we are looking for adaptive quality also like we can set quality somehow, we hope anyone can support to make it

I think we need an additional function for changing the video's bitrate.
I created a PR  for the setBitrate function.
Please check if it's good to go further.

thanks @apieceofcode1801
Do you add custom control for that also like if we set Birates so we have a menu to select ?

@diegothucao
I'm not familiar with android programming, so it may take time to complete with native code approaching.
I'm implementing another approach that processes the qualities from HLS m3u8 file then loads them to the player. Users can choose from the quality list. This approach was referred from yoyo_player package.
You can check this repo.

I forked the main flutter/plugins and add the function setBitrate to it. If you want, you can try to add it to your pubspec.yaml.
video_player:
    git:
      url: git@github.com:apieceofcode1801/plugins.git
      ref: main
      path: packages/video_player/video_player

Any news regarding selecting video quality manually from HLS and Dash playlist?

To add to this, besides setting it manually, it would be nice to be able to set a range (eg. min and max) regardless what the HLS file offers.

Any prominent solution for changing video quality ?

How long should we wait for this?

any work for this issues?

Anything news?


gitfs hangs while doing a large push to the repository

I am testing gitfs as a file version filesystem of binary files. I have done a test copying ~1GB binary files to the mount directory. gitfs does the commit and pushes to the repository synchronously. This means that while it is pushing to the repository the system does not allow additional writes to the mount path until the push is finished.
June-04-2016 08:37:15 SyncWorker: Get some commits
June-04-2016 10:09:34 SyncWorker: Push done

In this example, it is not possible to write to the mount point between 'Get some commits' and 'Push done'.
Ideally the push should be done asynchronously so that further writes can be carried out.

Hi @eddienko,
Sorry for the late reply. This behavior was chosen in order to be as POSIX complaint as possible.
If the push is done asynchronously, then you'll risk to have inconsistent writes (a push may fail, but you continue to change the state of the repository).
Now, Gitfs will delay any write operation until a push is done. If the push fails, the entire file system will move to read-only, until the push is done (since 0.4.0, Gitfs have a retry mechanism).
I know that is suitable for large binary files, but implementing https://github.com/PressLabs/gitfs/issues/203 should improve the behaviour.
Thank you for trying Gitfs and if you have any question, don't hesitate to ask.


Expression parsing

Add LALRPOP based expression parsing for the scoring expressions so they're easier to write in the config.

Fixes #16


🔧 fix typing issues from checking untyped defs, fixes #509

One thing we should enable is the feature to disallow untyped definitions. This option was previously turned off but I've enabled it and fixed all of the issues listed (100+)
I still want to add some more changes here regarding standardizing on the array types we want to support as well as leveraging generics more with bounds to achieve some of the more dynamic behavior of the library.
This also follows the guidance from mypy to turn these feature on as soon as possible: article

This code also fixes a bug surfaced by the new  type strictness.
The bug itself was an issue where the download logic would never check if the upstream source was updated or the same resource when compared to the local data-store always resulting in files being downloaded.
Our test code should have caught this but a mismatch in type checking introduced a bit of an oversight.
Increase the type strictness should prevent code like where we call functions with the wrong types.
Had this been type checked I would have updated to use the right type and realized the function would no longer check for the local modification time since it only handled buffers.

This is generally not necessary, but can be helpful for developers (e.g. if you want to require mypy to pass with certain settings on).
I didn't look at the full diff, but from the description it seems that the changes are only to the type hints. Python ignores type hints, so the code itself is unchanged in functionality.
So, two questions to ask are:

Are these hints helpful for the contributors?
Are these hints helpful for the end user?

IMO:

They can be in moderation, if I can understand the types. But if you develop a type system only to satisfy a strict type checking tool, e.g. mypy, it can easily escalate to a type system nightmare. There are some type definitions here that I don't understand on first look. Doesn't mean that I couldn't understand them if I studied them, but they're complex enough that they're not obvious.
Probably not; the users will mostly read the docstrings.

@selipot this is ready for re-review

What's the advantage of using from numpy.typing import NDArray instead of np.ndarray ?

and I would suggest also doing :
from clouddrift.typing import ArrayTypes

to remove some verbosity in the docstring.

What's the advantage of using from numpy.typing import NDArray instead of np.ndarray ?
And if it's really required, I would suggest doing it uniformly. I see some places you have:
from numpy.typing import NDArray
import numpy.typing as np_typing

and I think we are only using NDArray in the code from this module.

The main reason I swapped the ndarray class out with the NDArray one is because it makes the type annotations less verbose. Using np.ndarray would be preferable if not for the extra verbosity required when using it as an annotation. It's one less import and more familiar to users but what made me consider using NDArray was that it only required we a dtype as a a type variable. To provide a fully concrete type using the ndarray class, a type for the shape must also be provided and the dtype (np.int64, np.float64, etc...) must be provided as a type variable of the np.dtype type. An example of what I mean in code can be found below:
Example
Using np.ndarray
import numpy as np
from typing import Any

def foo() -> np.ndarray[Any, np.dtype[np.int64]]:
    ...

Using np.typing.NDArray
from numpy.typing import NDArray

def foo() -> NDArray[np.int64]
    ...


Introduce Utilize All Parameters

This is a project to find a set of molecules containing all parameters
in smirnoff99Frosst. This commit shows the first attempts.

@jmaat can you do a first review of this PR?


CLI command to injection

Which CLI command should we use to manually inject dylib to apps? (As cynject on unc0ver?)

This is not available yet, use opainject

thanks! it works!
вт, 4 апр. 2023 г. в 19:54, Évelyne @.***>:

This is not available yet, use opainject
—
Reply to this email directly, view it on GitHub
https://github.com/evelyneee/ellekit/issues/18#issuecomment-1496300841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQRYVHZZQU4AF56SM4HIWADW7RG37ANCNFSM6AAAAAAWPOYSM4
.
You are receiving this because you authored the thread.Message ID:
@.***>


[DoNotMerge] Workaround ceph ipv6 deployment

By explicitely providing ipv6 params
OSPRH-8579

https://github.com/openstack-k8s-operators/ci-framework/pull/2080 will get you further so lets abandon this

Please https://github.com/openstack-k8s-operators/ci-framework/pull/2080 instead


Write distinct message for error

Instead of the help text being displayed when there is an error with a check we want to display a message that directs the user to look at the logs to figure out the issue. We want there to be a distinction between a check failure and error.
Fixes #12

@komish yes I agree with you that we could combine description and message as they seem to be very similar purposes. Seems Message often just repeats the description and says it doesn't meet that requirement. Though I think that is already indicated by the check being in the failed part of the results.
I definitely agree with your suggestion

I think we should probably involve the tool consumers to ensure the backward incompatible changes that we are making, is not breaking the pipeline. Other than that, I am also in favor of removing unnecessary data.

I think we should probably involve the tool consumers to ensure the backward incompatible changes that we are making, is not breaking the pipeline. Other than that, I am also in favor of removing unnecessary data.

@samira-barouti I don't think the suggested path causes backwards incompatible changes, given that it preserves the existing fields and doesn't add or remove any fields. In the suggested case, we just repurpose the existing fields so we don't have to make any changes to the schema.

IMO this is still a backward incompatible change; it is true that the syntax does not change, but the semantic (i.e. behavior) of the API is changing.

I'll send this PR over to those folks for review!

Per conversation with @amisstea this shouldn't cause any issues on their end, so we should be good to change the meaning of help to guide the user in how to troubleshoot a check error.
@edreyer-1 you should be set to implement!
@samira-barouti good catch!


Update slick, slick-hikaricp to 3.5.1 in scala-steward-dependencies

About this PR
📦 Updates

com.typesafe.slick:slick
com.typesafe.slick:slick-hikaricp

from 3.4.1 to 3.5.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.slick" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.typesafe.slick" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:pvp, commit-count:1

Closing for same reason as comment in this pr https://github.com/nationalarchives/tdr-consignment-api/pull/773


Add option to Find and Replace with "Ctrl+F"

I would like to suggest adding an option to quickly Find & Replace code in Jupyter Notebooks when using the shortcut Ctrl+F, just like the behavior when using Ctrl+F in Markdown (.md) files in VSCode and also in RStudio.

Thanks for the suggestion @fschaffner. This will be supported on our new Native Notebooks. You can try it right now with VS Code Insiders.
Let me know if that works for you.

Hi @fschaffner, it looks like using insiders works for you. I'm closing this for now, but you can reopen it otherwise.


chore: bump app and node packages

@monstrobishi build is failing because new node is not yet present. Let's re-run it later

"connectedToPeers": "Verbunden mit %{peers} Peers",
@thedoublejay Is Peers more understandable as Knoten? Maybe Netzwerkknoten?

@sergejmueller It was requested by our german translator. Let me check with him Netzwerkknoten is ok.

@thedoublejay He doesn't care about all the spelling mistakes (1, 2, 3) and wants to correct this one thing? It's ok.

@thedoublejay He doesn't care about all the spelling mistakes (1, 2, 3) and wants to correct this one thing? It's ok.

@sergejmueller It's not that he doesn't care. He might have overlooked it. Anyway, he replied and he prefers using "peers" so we can keep it like this.


how to set body of OUT message in yaml DSL?

like this java DSL do?
exchange.getOut().setBody("Message received);

This example is set the IN message's body. I want to set the OUT message body without any headers from IN message. etc.

I think the answer is actually the one that @squakez gave you but you need to use the - set-body in the right place in your route to be able to access the response body instead of the request body.
As for the headers from the IN message, if you want to remove them you need to use the remove headers component
      - removeHeaders:
          pattern: "*"

You can ask more help on the user mailing list or the zulip chat room. Your question is more general Camel YAML DSL questions than Camel K specific.
https://camel.apache.org/community/support/


The request header could be configurable, or used any standart

https://github.com/almerindo/traceability/blob/59f7f485a979e4657a0eb454e83fffd99e75aa47/src/ContextAsyncHooks.ts#L37
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields ( see X-Request-ID section ).

PS: it is not a standard, but is commonly used by others libraries.

Please, take a look on https://github.com/almerindo/traceability/pull/4.
We will let the trackId name too  for compatibility questions.


AspNetIdentity sample won't compile

I installed the Thinktecture.IdentityServer3 and Thinktecture.IdentityManager nuget packages which fixed some of the build errors but still there are more. Can't find a reference to AspNetIdentityManagerService class.

On master or dev?

In master. I made a PL with the fixes #115

Thanks.

I think this was fixed when we merged from dev to master.


Search

Codecov Report

Merging #137 into master will decrease coverage by 0.27%.
The diff coverage is 36.36%.

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
- Coverage   95.82%   95.55%   -0.28%
==========================================
  Files          19       19
  Lines        2397     2408      +11
  Branches      560      564       +4
==========================================
+ Hits         2297     2301       +4
- Misses         49       55       +6
- Partials       51       52       +1

Impacted Files
Coverage Δ

shed/databroker_tools.py
81.63% <28.57%> (-8.85%)
:arrow_down:

shed/translation.py
88.83% <50%> (-0.81%)
:arrow_down:

Continue to review full report at Codecov.

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


This plugin is missing the point.

I was just curious about this plugin as i am not a fan of woke culture. I read the source code and I think this plugin is missing the point. Yeah wow, I can not use the word {insert slur here} in my code. And so what if I write in my source code comments "// TODO: what the fuck". Maybe not professional to write that but still...
Despite that I am not a fan of woke culture, I think somebody installing this plugin would expect to get help for having better wording for TECHNICAL terminology. Naming of technical terms/variables/classes/etc. is the most discussed issue in professional programming. So helping to speed up the technical discussion would help in a lot of cases.
Technical Terminology as e.g. master and slave could be replaced by primary and secondary. Or not slaves but replicas.
Or blacklist and whitelist could be replaced by passlist and blocklist. Or that thing with sanity check (was that the woke replacement? or was this the no-no-Word for validity?).
E.g. you start writing a program, and then you think "Oh I need a blacklist".  So you say: "Hey that is actually also a very good word for this variable/class/etc.. I am at the beginning of my project, so there is a low effort to rename this. I replace the word ." Scandal averted as the woke wont complain.
Now you have just the patronizing "Hey the word blacklist is considered a no-no-word" but no suggestion what an appropriate replacement could be.
So yeah... I recommend to extend this plugin to have some real life use with recommending a potential replacement. Nobody serious would write racial slurs into his code (well except for this plugin i guess), or stuff like barmaid (use case?) but alot of people use still blacklist, master-branch, etc.. Pointing to technical alternatives would be alot of help, even if you arent a fan of woke culture.

Yeah, I agree. I originally wanted to make this plugin auto-suggest replacements or even use the autofix feature but soon realized that there's no good way (that I could think of) to offer reasonable replacements for every slur, curse, and offensive word.

I recommend to you to remove all the curse, slurs, and offensive words from this package. I mean, you only cover english words but not german, french etc..
Even gender neutrality makes no sense if it is not in a technical context.  Imagine a program makes you to select your gender, man, woman, or diverse... your script says this is not genderneutral. Makes no sense, even though the implementor did the right think.
I recommend to you to focus on the technical terms.

The plugin can be configured to exclude any of the different sections, why totally remove them? Also, if you know any German or French slurs, I'd be happy to accept a PR.

I am not convinced of the usefulness of this plugin. Adding German slurs makes no sense. In Germany it could also be considered an insult if the word is not insulting and being branded as insulting. A former employer of mine even removed their insultlist to avoid legal issues.
Well yeah anyway. I think I made my point


Bug report: Could not recognize letter 'r'

I report a strange bug here...
When there exists a letter r in the expression except for \right, the calculator could not evaluate it, like (➡ means after pressing Ctrl + Shift + Alt + E)

a*a ➡ a*a=a^{2}
r*r ➡ Message "I expected something else here r*r ^"
\left(a\right)*a ➡ \left(a\right)*a=a^{2}
\int_0^{+\infty}e^{-x}dx ➡ \int_0^{+\infty}e^{-x}dx=1
\int_0^{+\infty}e^{-r}dr ➡ Message "I expected something else here \int_0^{+\infty}e^{-r}dr ~~~~~~~~~~~~~~~~~~~~^"
\int_0^r e^{-x}dx ➡ Message "I expected something else here \int_0^re^{-x}dx ~~~~~~~^"
\int_0^a e^{-x}dx ➡ \int_0^a e^{-x}dx=1 - e^{- a}

Anyway, this extension is amazing! Yet please help to fix this bug, thanks a lot!

It is a bug and I found it some months ago. But I can't figure it out after several times of tries.
You can substitute it with other letters like \rho.
I am sorry about it :-(

Yeah, I know there might well be an unexpected 'r'... Yet let's think about it from another way.
When couldn't 'r' be replaced? Only when 'r' is used in a LaTeX command. What is special about commands? They all start with a backslash, and except for several symbols like \#, \, etc., they are all composed of alphabets and numbers (Click here to see all common commands in LaTeX). So why couldn't we write the replace algorithm like this?
# Updated by Na2CuCl4
def latex2latex(tex):
    # All supported Greek alphabets
    replacement = [ r'\alpha', r'\beta', r'\gamma', r'\delta', r'\epsilon', r'\varepsilon', r'\zeta', r'\eta', r'\theta', r'\vartheta', r'\iota', r'\kappa', r'\lambda', r'\mu', r'\nu', r'\xi', r'\pi', r'\varpi', r'\rho', r'\varrho', r'\sigma', r'\varsigma', r'\tau', r'\upsilon', r'\phi', r'\varphi', r'\chi', r'\psi', r'\omega', r'\Gamma', r'\Delta', r'\Theta', r'\Lambda', r'\Xi', r'\Pi', r'\Sigma', r'\Upsilon', r'\Phi', r'\Psi', r'\Omega' ]

    # Replace r with another symbol
    replaced = ""
    newTex = ""
    for expr in replacement:
        if tex.find(expr) == -1:
            replaced = expr
            TexCmd = False # If it is a LaTeX command
            for ch in tex:
                if ch == '\\':
                    if TexCmd: TexCmd = False # Line break
                    else: TexCmd = True # New command
                    newTex += ch
                elif ch.isalnum() and TexCmd: # Still a command
                    newTex += ch
                else: # Not a command
                    TexCmd = False
                    if ch == 'r': # Replace
                        newTex += replaced + ' '
                    else:
                        newTex += ch
            break

    # Evaluation
    newTex = sympy.latex(simplify(latex2sympy(newTex).subs(variances).doit().doit())).replace(r'\left[\begin{matrix}', r'\begin{bmatrix}', -1).replace(r'\end{matrix}\right]', r'\end{bmatrix}', -1)

    # Modify the result
    if replaced == "":
        return newTex
    else:
        return newTex.replace(replaced, 'r', -1)

This will not involve any unexpected 'r'. Hope it might help!


support DELETE /v1/teams/:team_name/posts/:post_number/star #20

Close #20

Codecov Report

Merging #86 (c312167) into main (0a33461) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
+ Coverage   97.22%   97.29%   +0.06%
==========================================
  Files          23       23
  Lines         866      886      +20
==========================================
+ Hits          842      862      +20
  Misses         16       16
  Partials        8        8

Impacted Files
Coverage Δ

esaapi/stars/types/stars_parameter.go
95.65% <100.00%> (+1.31%)
:arrow_up:

esaapi/stars/types/stars_response.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Access to function/method comments?

I'd like to write a rule that checks function and method comments. But the field doesn't seem to be populated properly.
For example, given this function in my source code, I'd like to extract the block comment and analyze it.
/***
 * FUNCTION foo
 * Does some stuff
 **/
function foo() {
 // ...
}

PDepend's ASTNode (the superclass for AbstractNode) has this method:
    /**
     * Returns a doc comment for this node or <b>null</b> when no comment was
     * found.
     *
     * @return string
     */
    public function getComment();

So, I added a method to AbstractNode:
    public function getComment()
    {
        return $this->node->getComment();
    }

Then I made an ImproperComment class and pointed to the rule in my xml file:
class ImproperComment extends AbstractRule implements MethodAware, FunctionAware
{
    public function apply(AbstractNode $node)
    {
        var_dump($node->getComment());
    }
}

This var_dump is giving NULL for every method in my project, even ones that have block comments. Any ideas on what I'm doing wrong?

Haven't looked into it yet, but may be phpcs is the more appropriate tool for that... :thought_balloon:

Usage seems fair to me. The public function getComment() method would be a valid PR for me. About the null value, it requires a fix in PDepend.


Update opentelemetry dependency requirements

The poetry caret requirements operate differently for version 0.x than for 1.x and above. For ^0.2.0, for example, it would update to 0.2.1 but not 0.3.0. Whereas ^1.2.0 would update to 1.3.0 if it existed.
This has the effect of pinning these opentelemetry deps to a specific version, which I'm not sure was intended, and creates problems for projects that depend on mlserver and also use opentelemetry. Updating to >= instead of ^ should still work and offer more flexibility

Hey @wdhorton ,
Thanks for the contribution!
Before going ahead, could you also update the lock file?

Hey @wdhorton ,
Closing this one for now, although we're still quite keen to get this merged. Feel free to reopen once you get a chance to address the comments above.


Modal not closing after viewing record from data table

I've got a list of records in my Data Table and when I try to view one,  a modal opens with the fields to edit, delete, or cancel. It fails however to close when I click the cancel button. I checked my browser console an note this error:
TypeError: undefined is not an object (evaluating '$(this).find("button:focus")[0].innerText')

NB: This is on Safari browser

fixed the issue


Model load failed in android app

Fail To Load Models! Please Check if models exists at /sdcard/Download/model and restart
but i have  copied model in that location. still getting same error message what would be the reason.

Hi,

Currently the android lib is only shipped with LLaMA and Fuyu support, please make sure your model files are supported.
Could you double check the file is renamed properly according to This notice? it would be better if you attach a screenshot or else to show the file tree structure of your /sdcard/Download/model.

for llama it was detecting ,, but Fuyu load was not detecting what could be the reason.

while loading fuyu app is getting crashed getting below errors:
FATAL EXCEPTION: main
Process: org.saltedfish.chatbot, PID: 10488
java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
Process is going to kill itself!
java.lang.Exception
at android.os.Process.killProcess(Process.java:1356)
at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:174)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066)
at java.lang.Thread.dispatchUncaughtException(Thread.java:2306)

Uh... It seems something wrong about the UI framework. What kind of device you are testing on?

Uh... It seems something wrong about the UI framework. What kind of device you are testing on?

Snapdragon 8 gen3 (xiaomi14)

Opps... It seems fine on our testing devices (of same model). We may need some time to investigate it.😂

Opps... It seems fine on our testing devices (of same model). We may need some time to investigate it.😂

okay.

Hi, we tried to reproduce the bug but sadly failed. Could you double check the model file tree?

hi @lx200916 , could able to load the model , but app is getting crashed after passing image.

Understood. Could you attach the image file here? I guess maybe something wrong about the file size or PreProcessors.

The input image needs to be 3-channel (RGB),  @Vinaysukhesh98 you need to check if it is 4-channel (RGBA)

Understood. Could you attach the image file here? I guess maybe something wrong about the file size or PreProcessors.

https://github.com/UbiquitousLearning/mllm/blob/main/assets/dog_image.jpg

The input image needs to be 3-channel (RGB), @Vinaysukhesh98 you need to check if it is 4-channel (RGBA)

can you please help me with more info or any steps to resolve.


[Parquet][C++] Dictionary Fallback support not only PLAIN type

Describe the enhancement requested
In our standard ( https://github.com/apache/parquet-format/blob/master/Encodings.md#dictionary-encoding-plain_dictionary--2-and-rle_dictionary--8 ) , the dict fallback will goes to PLAIN encoding.
But in many implementions, it says that Parquet 2.0 should support fallback to other types, in our code, there is some todo:
    // Only PLAIN encoding is supported for fallback in V1
    // TODO(majetideepak): Use user specified encoding for V2
    if (dictionary_fallback) {
      thrift_encodings.push_back(ToThrift(Encoding::PLAIN));
    }

And, in parquet-mr and arrow-rs, they both support fallback to other types:

parquet-mr: https://github.com/apache/parquet-mr/blob/master/parquet-column/src/main/java/org/apache/parquet/column/values/factory/DefaultV2ValuesWriterFactory.java
arrow-rs: https://github.com/apache/arrow-rs/blob/master/parquet/src/column/writer/mod.rs#L1028-L1040

So, should we support that?
Component(s)
C++, Parquet

@pitrou mind take a look?

Eek. I opened https://issues.apache.org/jira/browse/PARQUET-2221 for the defective spec.

Maybe the code is
    fn try_new(descr: &ColumnDescPtr, props: &WriterProperties) -> Result<Self> {
        let dict_supported = props.dictionary_enabled(descr.path())
            && has_dictionary_support(T::get_physical_type(), props);
        let dict_encoder = dict_supported.then(|| DictEncoder::new(descr.clone()));

        // Set either main encoder or fallback encoder.
        let encoder = get_encoder(
            props
                .encoding(descr.path())
                .unwrap_or_else(|| fallback_encoding(T::get_physical_type(), props)),
        )?;

        let statistics_enabled = props.statistics_enabled(descr.path());

        let bloom_filter = props
            .bloom_filter_properties(descr.path())
            .map(|props| Sbbf::new_with_ndv_fpp(props.ndv, props.fpp))
            .transpose()?;

        Ok(Self {
            encoder,
            dict_encoder,
            descr: descr.clone(),
            num_values: 0,
            statistics_enabled,
            bloom_filter,
            min_value: None,
            max_value: None,
        })
    }

Seems that it creates a encoder when build the writer


pull request for e2e test at 02/01/2017 08:26:15

:white_check_mark: Validation status: passed
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.


[ISSUE #276] Check if pull message service has shutdown before scheduling pull request

Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
Check pull request thread pool is not stopped before scheduling new tasking
Brief changelog
Add guarding code to check
Verifying this change
Exceptions are no longer raised after applying this checking
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.04%) to 41.478% when pulling 5f9d0e46bf03e75d27c54770ec82a7966687fa63 on lizhanhui:dev into d035ccb08a3f75f6211a374e02e4a8f6ea520e67 on apache:develop.


pv-migrate: 1.2.0 -> 1.3.0

Description of changes
change log: https://github.com/utkuozdemir/pv-migrate/releases/tag/v1.3.0
diff: https://github.com/utkuozdemir/pv-migrate/compare/v1.2.0...v1.3.0

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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

pv-migrate


Storage: Adds creation time to storage volumes and snapshots

Also tested migrating instances and volumes to/from a LXD 5.6 server to check compatibility.
Related to #10436

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.11034/

Testsuite passed

Testsuite passed

@stgraber ready for review when you get a chance.

Testsuite passed

Testsuite passed


Latest image (2018-04-13) does not work with Raspberry Pi 3 B+ for Voice Kit V1

Hi, this is related to #310 where people haven't been able to make pi 3B+ work with Voice Kit V1. I tried using the latest image (2018-04-13), but it doesn't go beyond 4 raspberries and cursor. It seems others were able to get it working, hence the issue was closed. But I found someone else still having issue recently like me. Please help.

Just to confirm, you Pi 3B+ is working fine with  Raspbian image and doesn't work with AIY 2018-04-13 image?

Thanks for quick response. I was able to figure out the issue. It was not the image, but power supply. I found this blog which mentioned the lightning symbol. I am now able to get the basic setup working with different power cable.

Just bought P3B+, Voice Kit V1, installed latest image.
Encountered issue as mentioned in the title.
ahomeuser is correct.
I've tried 3 cables from different vendors:
With Cable1, power pad on P3B+ board read ~5.80V, and system will not boot;
With Cable2, power pad on P3B+ board read ~5.90V, boot and a "lightening" symbol shows up on top right corner above Desktop;
With Cable3, power pad on P3B+ board read ~4.999V, boot and aiyproject works smoothly.
This is just to confirm ahomeuser's conclusion that good quality power cable does matter to P3B+.
Guess that's due to Brown Out function of P3B+ board.

@babyrobotx Thank you for useful details, good power cable is really important.

How to tell a "good quality power cable" on the market?

That's a good question.
Most convenient way is to use a dedicated device to test impedance, which is on market.
An econimic way is to multimeter to test yourself.
If you think those bother too much, then you should buy a branded cable. They cost higher than unbranded ones, but are still as cheap as below 10 dollars. They are worth the money, since the branded ones use better material, low resistance, higher current carrying capability.
Of the 3 I tried, the only cable that reads 4.999v is a cable from a brand which sells quality products. Another thing to mention, try short cables, for better IR drop.


It is possible to return command instead of sending to print?

Hello, Before continuing, I would like to tell you that this is an excellent library and it works perfectly with the QL-1110NWB!!!
Thank you very much for your time and for this development!
Continuing with my question, can a method be made that instead of sending the command to print, it returns it in a chain so that it can be sent through another type of connection, such as Bluetooth for example?
Once again, many, many thanks for sharing this excellent development!
So sorry for my english.

Hi iKarl,
To returns the commands instead of sending to print, you can use the getCommands() on the mode class.
e.g.
$stream = fopen('php://temp', 'rw');
$printer = new Printer(new Escp($stream));
$font = new Command\Font('brussels', Command\Font::TYPE_OUTLINE);
$printer->addCommand(new Command\CharStyle(Command\CharStyle::NORMAL));
$printer->addCommand($font);
$printer->addCommand(new Command\CharSize(46, $font));
$printer->addCommand(new Command\Align(Command\Align::CENTER));
$printer->addCommand(new Command\Text('Hallo'));

$commands = $printer->getMode()->getCommands();

Hi ntaylor,
It's so true, thank you very much.
Regards

@RamyTalal do you want to close this issue off?


Update version

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

There should be a change to {% set version = "1.0.0" %} no?

@znicholls I updated the version number to 1.0.0 and committed that change before realising I was supposed to fork and create a PR rather than commit directly to the repo. (i.e. the version update has already been done)

got it

Try the re-rendering command, that might help with the CI

@conda-forge-admin, please rerender

ipynbname isn't on conda (yet). I'm assuming this is now a hard dependency (?) and gitpython is no longer a dependency (?). There are a few ways to work around this:

make ipynbname an optional dependency (pros: don't have to add it to conda forge, cons: have to tweak cmdline_provenance and really novice users might get confused)
add ipynbname to conda forge (pros: helpful for everyone, cons: have to spend 20 mins setting up)

Ah, I was wondering what the problem could be!
Yep, ipynbname is a hard dependency (creating a command log entry for processes run in a notebook rather than via a command line script has come up as something people need) and gitpython is no longer a dependency (I've removed the git hash functionality).
I'd rather not make ipynbname optional (like you say, it makes things more confusing), so I'll have a go at adding it to conda-forge (will be a good exercise for me since I've never added one before). Is it customary to warn the authors of a package that you're going to add their package to conda-forge, or do people just go ahead and do it?

Is it customary to warn the authors of a package that you're going to add their package to conda-forge, or do people just go ahead and do it?

I'd raise an issue in their repo and give a day or two for a reply then just go for it. If you're in a massive rush, just go for it, you can always pull it down/give them control later.

All fixed! @znicholls - I guess we just go ahead and merge?

You got it! Nice work with ipynbname too


DTR - Docker Volume Configuration Planning

Problem description
Right now, there is documentation talking about the external storage and just mentioning the internal storage via Docker Volumes. It doesn't talk about how to plan for your Postgres and RethinkDB database mounts, which are local (to each node in the DTR cluster) as Docker Volumes. How much throughput should I be planning for? How big should I make them? For example, Prometheus gives you an idea of how big, in the general case, a single metric will take up in disk. This is useful because we can take our current deployment to plan for how much a new deployment will need. That way we aren't on our heels when a node runs out of disk space.
Problem location

I couldn't find the information I wanted. I expected to find it near the following URL: https://docs.docker.com/ee/dtr/admin/configure/external-storage/#local-filesystem

Maybe there is an "Internal Storage" section around this URL ^^
Project version(s) affected
I don't think this is version specific. It depends on how long we've been using Postgres and RethinkDB under the hook of DTR.
Suggestions for a fix
--

Hi @ingshtrom - hope we can chat about this in person sometime next week. :)

@cquon @caervs @RobbKistler Had a quick chat around this issue with @ingshtrom while at DockerCon. This is mainly a gap in our DTR documentation - I don't think I can dig deep until about 2-3 weeks from now, but if we can start thinking about how to tackle the documentation work now, that should help with a faster resolution/fix.
In case I haven't said this enough, thank you for everybody's help with docs. :)

@jose-bigio FYI - this is a gap in our documentation. It hasn't been documented at all.

Thanks for your feedback. Docker Enterprise docs are now part of Mirantis. You can take a look at the Docker Enterprise documentation at https://docs.mirantis.com/docker-enterprise/.
Let me close this issue here for that reason. Feel free to continue the conversation after I close.


Microsoft.ServicesBus Topic & Queue missing x-ms-mutability

Within the definitions of SBTopicProperties and SBQueueProperties, the properties requiresDuplicateDetection, requiresSession and enablePartitioning should have the following attribute added as they can't be updated once created.
"x-ms-mutability": [
  "create",
  "read"
]

Documentation References

You can't enable or disable message sessions after the queue or subscription is created. You can only do so at the time of creating the queue or subscription.

https://docs.microsoft.com/en-us/azure/service-bus-messaging/enable-message-sessions

You can't enable or disable duplicate detection after the queue or topic is created. You can only do so at the time of creating the queue or topic.

https://docs.microsoft.com/en-us/azure/service-bus-messaging/enable-duplicate-detection

It's not possible to change the partitioning option on any existing queue or topic. You can only set the option when you create a queue or a topic.

https://docs.microsoft.com/en-us/azure/service-bus-messaging/enable-partitions

Thank you for your feedback on this item. We are currently actively working on this, however we don't have a timeline to share yet around when this work will finish.


Paket keeps flapping .0 at the end of the package versions

It looks like Paket randomly (?) adds or removes ".0" at the end of the package version every time the version changes. For instance, looking at the history of the paket.lock file I can see these changes:
Costura.Fody (1.3.3) -> Costura.Fody (<IP_ADDRESS>)
Costura.Fody (<IP_ADDRESS>) ->  Costura.Fody (1.3.3)
Costura.Fody (1.3.3) -> Costura.Fody (<IP_ADDRESS>)
Costura.Fody (<IP_ADDRESS>) ->  Costura.Fody (1.3.3)
... ... ...
It does not happen for all packages, but for many, for instance:
Microsoft.Web.Infrastructure, PagedList, JSNLog, IKVM, MimeKit, etc.

Mhm this seems to be related to which protocol responds the fastest. I will
try to find a solution.
On Dec 2, 2015 22:01, "Konstantin Erman"<EMAIL_ADDRESS>wrote:

It looks like Paket randomly (?) adds or removes ".0" at the end of the
package version every time the version changes. For instance, looking at
the history of the paket.lock file I can see these changes:
Costura.Fody (1.3.3) -> Costura.Fody (<IP_ADDRESS>)
Costura.Fody (<IP_ADDRESS>) -> Costura.Fody (1.3.3)
Costura.Fody (1.3.3) -> Costura.Fody (<IP_ADDRESS>)
Costura.Fody (<IP_ADDRESS>) -> Costura.Fody (1.3.3)
... ... ...
It does not happen for all packages, but for many, for instance:
Microsoft.Web.Infrastructure, PagedList, JSNLog, IKVM, MimeKit, etc.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1282.

is this only with nuget.org?

please check if this works for you. we only do this for nuget.org since other servers fail on NormalizedVersions

It will take some time to make sure it is fixed as the problem was intermittent by nature.

yes I know....


Add micrometer metrics in the stack

various langs + rx
vertx-stack

cc @jotak

There's PR #77

can you check the PR still work ? in the meantime the documentation part has been changed due to the stack rework

@vietj I cannot verify the build due to many missing dependencies at the moment on 3.6.0-SNAPSHOT : not only micrometer but others like consul, camel-bridge, zookeeper and probably many other.
Is there a staging repo that I should configure?

even with that some are missing (consul , camel-bridge ...)

that's weird

@jotak I think we are actually done with this task :-)


Find forwards

Allow finding first event matching predicate
Add stream to Event.__str__
Expose RedisCounter
Update version to 0.3.1

This LGTM


"inital version"

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
line 1
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

The system of submitting the assignments is super frustrating.  Why is it so complicated and so difficult to follow?! MAke people like the rats running in a maze. I gave up.

Why can't the submitting the assignment be simple????? Complicity can show your course be at the level as high as unreachable?!

I tried, the TA helped, but the assignment I had done via VS and Git Bash, still can't be pushed to here.
The assignments not difficult to finish, but the process of opening the assignments on VS, and push back to Gib, are ridiculously difficult to me.  This had given our kind TA too much work to help people like me. Wasted too much time and energy.


advice for modifying driver

Following the instruction in the wiki I can compile and load the hello world driver.
Now I am trying to compile a driver for a touch panel IC (FT5206).  A bit of background on my project can be found here: https://www.raspberrypi.org/forums/viewtopic.php?t=185948.
The source code from the driver is here: https://github.com/focaltech-systems/drivers-input-touchscreen-FTS_driver (which is where the manufacturer of my screen pointed me).
I know I need to modify the driver source code so that it compiles and functions on my system, but this is all new to me.  Can anyone offer some advice on learning how to write/modify drivers?
Also, if there's any specific advice for this IC and driver I'd be very happy for feedback.
Thanks in advance!

Have you tried the in-kernel driver?
https://www.kernel.org/doc/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
http://elixir.free-electrons.com/linux/latest/source/drivers/input/touchscreen/edt-ft5x06.c

Thanks notro,
After reading this thread: https://github.com/notro/fbtft/issues/446, I saw that I needed a rpi-update to update the kernel for built in edt_ft5x06 driver support.  The driver is there and a modinfo edt-ft5x06 gives me reasonable output.
I've tried to make a simple dts overlay using this information: http://elixir.free-electrons.com/linux/latest/source/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt.  I compile that (saved as edt-ft5x06.dtbo) and add this line: dtoverlay=edt-ft5x06 to /boot/config.txt.  After rebooting, I do a lsmod and see the edt_ft5x06 driver is loaded, but is not used by any hardware.  I can also do a i2cdetect -y 1 and see that there is a device at address 38.  So the hardware seems to be connected and the driver loaded, but they are not talking.  Also, based on the thread I linked to earlier, I can try evtest, but only the mouse and keyboard come up as devices (which seems to make sense as nothing is using the edt_ft5x06 driver).
Attached is my dts file (as a txt).  Any advice would be welcome.  Thanks very much!
edt-ft5x06.txt

Working on the dts...
My updated file is attached (again as a txt edt-ft5x06.txt).  I was missing some parameters which http://elixir.free-electrons.com/linux/latest/source/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt reports as being required.  Using this new overlay, the touch panel responds to touch!
I am still confused because an lsmod shows the edt_ft5x06 driver loaded, but there is still nothing using the driver.  Maybe I don't understand the output of the command.
Also there are calibration issues with the position of the touch and the position on the screen.  As you see in the attached file, I've added the x and y pixel dimensions to the dts file.  However, this doesn't solve the issue.  I'll start reading up on the tslib package and the ts_test and ts_calibrate tools, but would still welcome any suggestions (especially if the error is in my device tree set-up).
Thanks!

Raspian has changed how X handles input so my knowledge about calibration is moot.
If a program has an open file handle on the input device, it should show up in the lsmod use counter.

Thanks again, notro
My mistake was pretty simply, in the dts file I used the LCD TFT screen resolution instead of the touch panel resolution.  Changing this to the correct value, the panel works as expected.
Thanks for all the help (and for the awesome software).  The discussion has evolved from my simple driver compilation query so again I appreciate your patience and help.


Type Assertions of objects modify its type

The following works fine (Flow Try):
const value = 42;

(value: number); // Works
(value: 42);     // Works

But the following fails (Flow Try):
const object = {
  foo: 42
};

(object: {foo: number}); // Works
(object: {foo: 42});     // Error!

It fails with the error "Cannot cast 'object' to object type because number [1] is incompatible with number literal '42' [2] in property 'foo'.".
Note that asserting 42 first, and then number works fine (Flow Try):
const object = {
  foo: 42
};

(object: {foo: 42});     // Works
(object: {foo: number}); // Works

Therefore, it looks like type assertions of objects modify its type. Is this an error?

Well, foo is not constant, it could be anything.

@lll000111 Thanks, but I'm not sure if that is the problem because updating the first example to use let keeps working (Flow Try):
let value = 42;

(value: number); // Works
(value: 42);     // Works

Besides, I'm not sure if I need to define a type for the object for this to be a valid problem. I just want to be able to assert the types inferred by Flow, without changing the types while asserting.
I updated the original post with an example of how changing the order of assertions makes it work again.

Yes (link, demo)
The reason is probably what is described here: https://flow.org/en/docs/types/casting/#toc-type-casting
Although this is all not exactly ideal, neither the behavior nor the documentation.

@lll000111 got it, thanks!


Affinity rotate changes angle in place

version/platform
All from Anaconda main channel

Shapely 1.6.4
Geo's 3.8.0
Python 3.7 x64
Windows 10 x64

Expected behavior and actual behavior.
When applying affinity rotate to line string with an angle in degrees, afterwards the variable containing angle has been permanently changed to radians.
If angle is already in radians, and use_radians=True then works as expected
Steps to reproduce the problem.
from shapely import affinity
from shapely.geometry import LineString
L = 1.6
P = 5
tracker_theta = 129.7  # degrees
tracker1 = LineString([(-L/2, 0), (L/2, 0)])
tracker1rot = affinity.rotate(
    tracker1, tracker_theta)
# tracker_theta has been permanently converted to radians
tracker2 = LineString([(P-L/2, 0), (P+L/2, 0)])
tracker2rot = affinity.rotate(
    tracker2, tracker_theta)

# tracker2rot is incorrect because use_radians is false by default, but tracker theta had been converted in place unexpectedly

Operating system
(For example, Mac OS X 10.12.3)
Shapely version and provenance
(For example, 1.6b4 installed from PyPI using pip)

@mikofski Python floats are not mutable, so this would be unexpected. I can't reproduce the problem using Python 3.6.
>>> from shapely import affinity                                                                      │
>>> from shapely.geometry import LineString                                                           │
>>> L = 1.6                                                                                │
>>> P = 5                                                                                │
>>> tracker_theta = 129.7  # degrees                                                                  │
>>> tracker1 = LineString([(-L/2, 0), (L/2, 0)])                                                      │
>>> tracker1rot = affinity.rotate(                                                                    │
...     tracker1, tracker_theta)                                                                      │
>>> tracker1                                                                                │
<shapely.geometry.linestring.LineString object at 0x10f70d160>                                        │
>>> tracker1rot                                                                                │
<shapely.geometry.linestring.LineString object at 0x10f70d128>                                        │
>>> tracker_theta                                                                                │
129.7

bizarre, now neither can I. Thanks!

FYI: it was in a jupyter notebook in this Gist.

Ah, it happens when the variable is a numpy array.
try this:
>>> from shapely import affinity
>>> from shapely.geometry import LineString
>>> import numpy as np

>>> L = 1.6
>>> P = 5
>>> tracker_theta = np.array([129.7])  # degrees
>>> tracker1 = LineString([(-L/2, 0), (L/2, 0)])
>>> tracker1rot = affinity.rotate(tracker1, tracker_theta)

>>> tracker_theta
# array([2.26369204])

@mikofski thanks for coming back with the crucial detail. I hadn't considered the array.


Fix wrong namespace forward/backward slash

Good catch, thanks @dol.

Catched by being lazy. Copy/pasting off the website and wondering why it's not working. 😉


[DRAFT] Backporting yarn 1.16.2 to 1.16.1

The backporting PRs are back.
All the related files to backporting are here: https://gist.github.com/LambdAurora/04608dac389e91cb5c41553641f6b8d2
This is highly WIP for now.

Looks good other than the few comments.

Should be good. I just recall vanilla has mechanism change for tags or maybe some dimension/biome loading stuff; maybe some names there for 1.16.2 doesn't fit in 1.16.1.

Yes, that's why it's a draft for now, I still have to figure out what should not be backported.

Is this still WIP/Draft?

Definitely do not merge this yet since the field_23986 issue is unresolved.

@LambdAurora do you still want to maintain this?


Move to jinja2

Closes #1

Coverage increased (+0.02%) to 87.12% when pulling 335da07e0389bcd063f91b4ca5811f32b902f3a4 on iho:master into a93605ac8c52be5607017989da1bae3c68dd8c67 on aio-libs:master.

From first glance looks pretty good! But let me play PR bit more... And one more thing, could you rename templates from *.dbtmako to *.jinja2 ?

Coverage increased (+0.13%) to 87.23% when pulling dc5a90b00afeacdf9f6d7fa7c910013731d292b9 on iho:master into a93605ac8c52be5607017989da1bae3c68dd8c67 on aio-libs:master.

Coverage increased (+0.13%) to 87.23% when pulling dc5a90b00afeacdf9f6d7fa7c910013731d292b9 on iho:master into a93605ac8c52be5607017989da1bae3c68dd8c67 on aio-libs:master.

Why did you introduce so many style changes and import reorganizations not related to this PR? It is not necessary bad thing, but now it is pain to review all modifications... You could have done that in separate PR.

@jettify all this stuff from commit "pep8 fixes" so just do not look them.

@iho  I've played with your PR and demo app, looks like everything working. Revert please autopep fixes and add aiohttp_mako in a way @asvetlov suggested.

@jettify sommething not ok? CI cannot build because it have pep8 errors.

Why you do not want merge this PR?

wait a bit, I am working on this right now :)

Thank you for your effort!

Cool! :+1:


[WIP] Porting to based sdk v0.43.0-alpha1

Description
https://github.com/tendermint/liquidity/issues/231
Working in progress for porting to based sdk v0.43.0-alpha1

[x] app/app.go
[ ] x/liquidity/module.go
[ ] x/liquidity/keeper
[ ] x/liquidity/types
[ ] Rosetta API

Good projects sir.
I have success in project you.
Good luck.

@Mutholibahmad.
Good nice projects sir.
Thanks you

Beta1 is released and continues with https://github.com/tendermint/liquidity/pull/343


JSDoc examples for augmenting global properties and custom options differ from docs

Vue version
3.4.37
Link to minimal reproduction
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBDAnmApnA3nAwhcEB2K+MWArgM4y4AKUEqswK5cAvnAGZ0hwDkAbqRS8A3EA
Steps to reproduce

Open typescript playground
Hover over ComponentCustomProperties or ComponentCustomOptions and inspect @example

What is expected?
Example should say to augment vue module as stated in docs https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties. For instance
declare module 'vue' {
  interface ComponentCustomProperties {
    $router: Router
  }

  interface ComponentCustomOptions {
    beforeRouteUpdate?(
      to: Route,
      from: Route,
      next: () => void
    ): void
  }
}

What is actually happening?
Example instructs to augment @vue/runtime-core module.
System Info
No response
Any additional comments?
Augmentation docs were updated in this commit https://github.com/vuejs/docs/commit/92f1b4bfef37fbdfa473c3fcb745420a107a7de5 but it seems this was never reflected in JSDoc of ComponentCustomProperties or ComponentCustomOptions types.
This was discovered after vue-router migrated to correct way of augmentation in 4.4.1 https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#441-2024-07-31 and this caused some disruption in type checking when combined with other packages that use vue/runtime-core augmentation.
Willing to work on PR for this.

@romansp
The JSDoc should align with the docs.
PR welcome.


RSS

Should not be hard, we can take some inspiration from site.xml, that is already implemented.

Also worth considering just adding Atom support since many SSGs just do that and most RSS readers can read Atom.


Improve pie chart UIs

Purpose
Fixes https://github.com/wso2/analytics-apim/issues/739
Fixes https://github.com/wso2/analytics-apim/issues/986

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

can you update a screenshot which has values of multiple legends? To check the colour pallette

@fazlan-nazeem updated screenshots with multiple legends.


Changed affiliations of Jonathan Gregory and Phil Bentley.

See http://cf-trac.llnl.gov/trac/ticket/141

[ ] Added link from trac ticket to this PR?

Applied via https://github.com/cf-convention/cf-conventions/pull/XXX

[X] Updated "Revision History"? (Use the date you applied the changes.)

Thanks :+1:


moonlight-qt: Support darwin

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 239600 run on aarch64-darwin 1

1 package built:

moonlight-qt

Builds, but I run into the following issue when I try to run it.
[nix-shell:~/.../nixpkgs-review/pr-239600-1]$ moonlight
Redirecting log output to /tmp/Moonlight-1687751691.log
Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file NSView.m, line 12783.
Trace/BPT trap: 5

Builds, but I run into the following issue when I try to run it.
[nix-shell:~/.../nixpkgs-review/pr-239600-1]$ moonlight
Redirecting log output to /tmp/Moonlight-1687751691.log
Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file NSView.m, line 12783.
Trace/BPT trap: 5

Works for me on MacBook Pro M1, macOS 13.3.1:
cd ~/src/nixpkgs
nix build -f . moonlight-qt
./result/bin/moonlight

I've previously install and uninstall Moonlight using homebrew, but I don't think it's related.

Strange, I'm also on 13.3.1 and M1 Pro. Maybe someone in @NixOS/darwin-maintainers can also test?

Anyone knows why x86_64-darwin failed?
       > /nix/store/yq2ik7qk45ykqz2pa2dyf34j6jraghhl-apple-framework-AudioToolbox-11.0.0/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h:55:10: fatal error: 'os/workgroup.h' file not found
       > #include <os/workgroup.h>
       >          ^~~~~~~~~~~~~~~~
       > 6 errors generated.
       > make[2]: *** [Makefile.Release:166: release/channel_layout.o] Error 1
       > make[2]: Leaving directory '/private/tmp/nix-build-moonlight-qt-4.3.1.drv-0/source/soundio'
       > make[1]: *** [Makefile:45: release] Error 2
       > make[1]: Leaving directory '/private/tmp/nix-build-moonlight-qt-4.3.1.drv-0/source/soundio'
       > make: *** [Makefile:157: sub-soundio-make_first] Error 2
       For full logs, run 'nix log /nix/store/9yj55x7b5pq0z5fy3zhg05iirj5b5gf1-moonlight-qt-4.3.1.drv'.


zipfile.BadZipFile: File is not a zip file

when I run follow line:
nlp.add_pipe("scispacy_linker", config={"resolve_abbreviations": True, "linker_name": "umls"})
There was an error, “zipfile.BadZipFile: File is not a zip file”

Please post the full error

I encounter the following error when executing the fifth line of the example of EntityLinker:
import spacy import scispacy from scispacy.linking import EntityLinker nlp = spacy.load("en_core_sci_sm") nlp.add_pipe("scispacy_linker", config={"resolve_abbreviations": True, "linker_name": "umls"})
=======================
`https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/data/linkers/2020-10-09/umls/tfidf_vectors_sparse.npz not found in cache, downloading to /tmp/tmp2uhkewjb
Finished download, copying /tmp/tmp2uhkewjb to cache at /root/.scispacy/datasets/e9f7327283e43f0482f7c0c71b71dec278a58ccb3ffdd03c2c2350159e7ef146.f2a350ad19015b2591545f7feeed6a6d6d2fffcd635d868a5d7fc0dfc3cadfd8.tfidf_vectors_sparse.npz
Traceback (most recent call last):
File "", line 1, in
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/spacy/language.py", line 797, in add_pipe
validate=validate,
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/spacy/language.py", line 674, in create_pipe
resolved = registry.resolve(cfg, validate=validate)
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/thinc/config.py", line 747, in resolve
config, schema=schema, overrides=overrides, validate=validate, resolve=True
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/thinc/config.py", line 796, in _make
config, schema, validate=validate, overrides=overrides, resolve=resolve
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/thinc/config.py", line 867, in _fill
getter_result = getter(*args, **kwargs)
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/scispacy/linking.py", line 85, in init
name=linker_name
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/scispacy/candidate_generation.py", line 223, in init
linker_paths=linker_paths, ef_search=ef_search
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/scispacy/candidate_generation.py", line 133, in load_approximate_nearest_neighbours_index
cached_path(linker_paths.tfidf_vectors)
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/scipy/sparse/_matrix_io.py", line 123, in load_npz
with np.load(file, **PICKLE_KWARGS) as loaded:
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/numpy/lib/npyio.py", line 432, in load
pickle_kwargs=pickle_kwargs)
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/numpy/lib/npyio.py", line 186, in init
_zip = zipfile_factory(fid)
File "/root/anaconda3/envs/test/lib/python3.6/site-packages/numpy/lib/npyio.py", line 112, in zipfile_factory
return zipfile.ZipFile(file, *args, **kwargs)
File "/root/anaconda3/envs/test/lib/python3.6/zipfile.py", line 1131, in init
self._RealGetContents()
File "/root/anaconda3/envs/test/lib/python3.6/zipfile.py", line 1198, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Could you please share the output of pip/conda list? I will try to reproduce, but first it would be great if you could try in a new, clean environment.

I create a new and clean environment and have solved this problem, thanks.


Replace [order deny,allow Deny form all] with [Require all denied]

I had to make that replacement in .htaccess on apache 2.4.
Thanks for the cool stuff!  Love it.

@moodboom seems to suggest an update on your .htaccess file. Indeed your file is using Apache 2.2 access control key words where we are using version 2.4 nowadays.
The consequence seems to be an alert in /var/log/apache2/error.log => AH01630 client by server configuration

Fixed by #31. Closing.


Dark mode

In the demo, a change of the dark/light mode doesn't affect the color of the LiveSelect, which always stays white.

It depends on which style mode you're using:

In daisyui mode, the colors will change, because daisyui has built-in support for dark mode via themes
In tailwind mode the toggle would have no effect

I changed the showcase app so that tailwind will now honor the settings of the toggle.
However, if you use standard tailwind, it's up to you to style the component so that it will apply certain classes only in dark mode. For this purpose you use the dark variant: https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually
Example. Pull the latest changes and run the showcase app locally at port 4000 and open this link:
http://localhost:4000/?active_option_class=&container_class=&container_extra_class=&debounce=100&dropdown_class=&dropdown_extra_class=&field_name=city_search&form_name=my_form&option_class=&option_extra_class=&placeholder=Search+for+a+city&search_delay=10&show_styles=true&style=tailwind&text_input_class=&text_input_extra_class=dark%3Abg-red-200&text_input_selected_class=&update_min_len=
You will see that the background of the text input becomes red when you toggle dark mode. That's because of the setting:
text_input_extra_class=dark:bg-red-200
which tells tailwind to use a red background only if dark mode is enabled.