Feature #158234226 Admin View All Users

What does this PR do?
Add a route where only Administrators can view one request.
Description of Task to be completed?

Use Test Driven Development to create the following endpoints:
GET api/v1/users

How should this be manually tested?

Clone this repository under the ft-Admin-View-All-Users-#158234226 branch.

If the branch is deleted you can view the latest commit on the above branch here

cd into the directory where this repository was cloned.

create a virtual environment using the code below
pip install virtualenv
virtualenv venv

install the requirements needed
pip install -r requirements.txt

run the code below to set the environment variables.
Windows
setx APP_CONFIG_NAME development
setx DB_NAME testdb
setx DB_USER <your postgresql user>
setx DB_PASSWORD <your postgresql user's password>
Ensure your user has read and write privilleges
setx ADMIN_EMAIL <your prefered email>
setx ADMIN_PASSWORD <your prefered password>- should follow guidelines given in the
signup route in the documentation
setx ADMIN_QUESTION <your prefered security question>
setx ADMIN_ANSWER<your prefered security answer>
You can use the above credentials in the login route, to log in as an administrator
Mac/Linux
export APP_CONFIG_NAME=development
export DB_NAME=testdb
export DB_USER=<your postgresql user>
export DB_PASSWORD=<your postgresql user's password>
Ensure your user has read and write privilleges
export ADMIN_EMAIL <your prefered email>
export ADMIN_PASSWORD <your prefered password>- should follow guidelines given in the
signup route in the documentation
export ADMIN_QUESTION <your prefered security question>
export ADMIN_ANSWER<your prefered security answer>
You can use the above credentials in the login route, to log in as an administrator

run the code below to start the server:
python maintenanceTracker.py

Test the above endpoints using Postman.

The endpoints documentation can be found on the path
api/v1 inside the browser. You can also test the endpoints here

To run tests:
`nosetests -v ./MaintenanceTrackerAPI/_tests

What are the relevant pivotal tracker stories?
#158234226
Signed-off-by: Dave Mathews<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 183

32 of 35 (91.43%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 93.408%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

MaintenanceTrackerAPI/api/v1/database.py
10
11
90.91%

MaintenanceTrackerAPI/api/v1/users/all_users.py
20
22
90.91%

Totals

Change from base Build 180:
-0.1%

Covered Lines:
666

Relevant Lines:
713

💛  - Coveralls


AArch64 Android compilation fails: unsupported platform

Error
When compiling wasmtime for android aarch64, an error occurs:
$ cargo +nightly build --target aarch64-linux-android --release
   Compiling wasmtime-runtime v0.18.0 (/home/local/rimi/Documents/test/wasmtimetest/android_runtime/wasmtime/crates/runtime)
error: unsupported platform
   --> wasmtime/crates/runtime/src/traphandlers.rs:171:21
    |
171 |                     compile_error!("unsupported platform");
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> wasmtime/crates/runtime/src/traphandlers.rs:156:52
    |
156 |         unsafe fn get_pc(cx: *mut libc::c_void) -> *const u8 {
    |                   ------                           ^^^^^^^^^ expected *-ptr, found `()`
    |                   |
    |                   implicitly returns `()` as its body has no tail or `return` expression
    |
    = note: expected raw pointer `*const u8`
                 found unit type `()`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.
error: could not compile `wasmtime-runtime`.

To learn more, run the command again with --verbose.

Problem
The error comes from this code: https://github.com/bytecodealliance/wasmtime/blob/c9a3f05afd45961b0b397f97c4ad79cd7a7c807d/crates/runtime/src/traphandlers.rs#L156-L174
The reason seems to be that there is no aarch64 android case in the code.
Proposed solution
By doing the following change I am able to compile successfully, but I am unsure if this is a proper fix to the issue.
The diff was generated for 5c35a9631cdffc00a32b416f9cb0b80f182b716e.
diff --git a/crates/runtime/src/traphandlers.rs b/crates/runtime/src/traphandlers.rs
index 0bd6f2cd1b..198d03a640 100644
--- a/crates/runtime/src/traphandlers.rs
+++ b/crates/runtime/src/traphandlers.rs
@@ -161,7 +161,7 @@ cfg_if::cfg_if! {
                 } else if #[cfg(all(target_os = "linux", target_arch = "x86"))] {
                     let cx = &*(cx as *const libc::ucontext_t);
                     cx.uc_mcontext.gregs[libc::REG_EIP as usize] as *const u8
-                } else if #[cfg(all(target_os = "linux", target_arch = "aarch64"))] {
+                } else if #[cfg(all(any(target_os = "linux", target_os = "android"), target_arch = "aarch64"))] {
                     let cx = &*(cx as *const libc::ucontext_t);
                     cx.uc_mcontext.pc as *const u8
                 } else if #[cfg(target_os = "macos")] {

If that patch works for you then it looks right to me too, would you be interested in sending a PR for this?

Addressed in https://github.com/bytecodealliance/wasmtime/pull/2002


Does vue-validator support validation on fields inside a v-for element?

I cannot get this to work on fields inside a v-for element. Is this possible with the current version?
Great work so far! Thank you

Yes.
You can use the validation with v-validate inside v-for directive.
Example:
https://github.com/vuejs/vue-validator/blob/dev/test/specs/directives/validate.js#L49

Hello, that's great! I've have noticed one problem though, v-model causes the code to break if it's used on a field inside the view-directive with the for items name. For example, the below breaks the code:

  <input type="text" v-model="room.price" :field="'field' + $index" v-validate="{ minlength: 4 }">
   valid !!

It will give an error saying 'Uncaught TypeError: Cannot read property 'price' of undefined'
Thanks for your time so far. This is a great module.

Thank you for your providing codes :smile_cat:
I tried to reproduction 'Uncaught TypeError: Cannot read property 'price' of undefined' error, However, I could not reproduction.
Can you provide the the following   info to me please ?

vue.js version
vue-validator version

Hi,
I'm using the latest of both:
vue.js: 1.0.14
vue-validator version: 2.0.0-alpha.12

Thank you very much for the prompt bug fix! :-) Great work!

The link https://github.com/vuejs/vue-validator/blob/dev/test/specs/directives/validate.js#L49 is 404.

hello ,I want to see this example: https://github.com/vuejs/vue-validator/blob/dev/test/specs/directives/validate.js#L49, but it is 404.Thank you!


Add social card and related metadata for Twitter, Open Graph

Is your feature request related to a problem? Please describe. A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]
The app needs a social card so that if it's shared on Twitter or elsewhere, a nice image will appear for the link
Describe the solution you'd like A clear and concise description of what you
want to happen.
Add a Twitter Social card and other social cards, e.g. og:image. There is no design yet, so maybe once the app is in a better place, we can take a screenshot.
And add all the related metatags, e.g.

See iamdeveloper.com as an example if you look in the <head /> element.
Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.
N/A
Additional context Add any other context or screenshots about the feature
request here.

Twitter Social Cards
Twitter Social Card Validator
The Open Graph Protocol

For now, until we have an actual social card, a screenshot of the initial app is probably good enough for now.

You can take a screenshot from https://awesome-connect-four.netlify.app/ and create the proper image sizes.

I'd like to try and tackle this issue.

Thanks @adnerdable! I've assigned the issue to you.


FLUME-3308:TailDirSource will write an empty position json file

If an exception occurs while FileWriter writing to the file, whereafter call FileWriter close method ,the file will be cleared. This is FileWriter characteristic.

When the number of files exceeds the system limit.

Why doesn't it compile


cleanup tool instructions for OpenAI models

proposed fix for issue #649

Thanks @alexagr -- create a dupe with some small fixes. Will merge when tests finish.

finished in dupe #652


docs: Add documentation for delete emoji endpoint.

This endpoint was previously marked as intentionally_undocumented but that was a mistake.
Removed intentionally_undocumented and added proper documentation with valid python_example for this Endpoint.

Fixes: #24084

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@gnprice Sure I opened the discussion thread and linked it in this PR description!

@timabbott Addressed your review once again!

@gnprice Thanks for noticing that small detail fixed it!

@timabbott Bumping this PR for a quick review since it's been some time.

Updates:

Added appropriate line breaks.
Added a sentence for clarifying who can deactivate an emoji.
Made changes to the sentences as suggested by @gnprice .

Ready for another look @timabbott @laurynmm @gnprice

Merged, thanks @Lalit3716!


Merging Old develop into old-master 6.11.2019 - click tracking updates

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Exclude Jackson XML from Storage test code

Description
Adds Maven dependency exclusions to exclude jackson-dataformat-xml in testing code. This was being brought in by azure-core-test and will be removed from it in the future. These manual exclusions are being done to ensure that when azure-core-test does remove this dependency it won't break Storage tests.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - storage

API change check
API changes are not detected in this pull request.


Too long time on the first import. How can I shift this time to installation?

First of all, sorry if this is a duplicate. I spent a minute searching related issues and didn't found.
So you know, that the first import is slow. The thing that I want to ask is how can I shift this time to installation? I think this is very native to think about compilation as a part of the installation. In the end, we don't spend an hour when calling import numpy, even if it was installed from sources. It compiles during installation, not during the first import.
I'm searching for a simple solution for me. Of course, I can solve this by adding an extra step after the installation of the requirements for my application: python -c "import pymatting". But I don't want to worry about if pymatting or other libraries were installed since I even don't use it directly and had no idea before that the start of the application could be that slow.
I fully understand that there could be no instruments for my request. In this case, let's redirect this request to Numba and see what they say.

In the past, we tried to solve this with Numba's Ahead-of-Time compilation, but it caused various issues, so we removed it.

https://github.com/pymatting/pymatting/issues/43
https://github.com/pymatting/pymatting/issues/45
https://github.com/pymatting/pymatting/issues/38
https://github.com/pymatting/pymatting/issues/37
https://github.com/pymatting/pymatting/issues/35

From some discussion with the number developers, AoT did not sound like it would receive much support in the future and JIT-compilation (with caching) should be used instead, but that was years ago. Things might have changed.
Anyway, it would be nice if Numba simply compiled faster. The taichi library also uses LLVM and feels much faster, so perhaps it is possible, but the Numba internals are very complex, so I can not tell you whether that is going to happen someday.
I have even thought about rewriting PyMatting to use Taichi instead of Numba, but that would take substantial effort and I am also worried about potential compatibility issues, so I have not done that yet.
I think python -c "import pymatting" is a reasonable solution for now (or perhaps putting the import in your setup.py), but if you want to use PyMatting, I am afraid that the first import has to happen at some point and then it will be slow.

What if cancelling numba‘s binarize optimization at all? So that this awesome tool can be more accessible and applicable for everyone.
If numba decides to take 1 hour (as it did to me till now) to complie a temporary cache,  I would certainly expect numba to output a intel-optimized ubuntu.iso to match such effort.
Seems to me the existence of such a numba is to push python developers to use pure c + cmake to better save time.

What if cancelling numba‘s binarize optimization at all?

What do you mean by that?

I would certainly expect numba to output a intel-optimized ubuntu.iso to match such effort.

Numba does not output ISOs.

Seems to me the existence of such a numba is to push python developers to use pure c + cmake to better save time.

With Numba, we do not have to deal with compilation for different platforms. Memory management, array indexing and parallelization is also much easier than with C.

If numba decides to take 1 hour (as it did to me till now) to complie a temporary cache

That sounds like a bug somewhere. Could you run this benchmark so we can find out what is slow? For comparison, those are the results on my machine with a rather old CPU from 2011:
CPU info:
------------------------------------------------------------
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping        : 7
microcode       : 0x2f
cpu MHz         : 1680.755
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
vmx flags       : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 6185.63
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
------------------------------------------------------------

0.262 sec - import numpy
0.611 sec - import numba
1.926 sec - _make_tree
2.073 sec - _find_knn
0.133 sec - _propagate_1d_first_pass
0.379 sec - _propagate_1d
2.280 sec - _propagate_distance
1.797 sec - boxfilter_rows_valid
2.258 sec - boxfilter_rows_same
2.864 sec - boxfilter_rows_full
1.793 sec - _cf_laplacian
0.663 sec - _resize_nearest_multichannel
0.482 sec - _resize_nearest
2.397 sec - _estimate_fb_ml
0.189 sec - estimate_alpha
0.108 sec - inner
0.183 sec - Mp2
0.207 sec - Np
0.539 sec - Ep
0.224 sec - dist
0.073 sec - length
1.105 sec - expand_trimap
4.918 sec - sample_gathering
2.898 sec - sample_refinement
6.213 sec - local_smoothing
0.012 sec - rand
0.036 sec - matmul
0.031 sec - matmul
0.030 sec - matmul
0.030 sec - matmul
0.028 sec - matmul
0.028 sec - matmul
0.028 sec - matmul
0.028 sec - matmul
0.027 sec - matmul
0.028 sec - matmul

Share with you an option for Docker build. It helped me reduce import time at runtime and move importing to the build process:
ENV NUMBA_CPU_NAME=generic
ENV NUMBA_CACHE_DIR=/numba_cache
RUN mkdir -p $NUMBA_CACHE_DIR  && chmod -R 777 $NUMBA_CACHE_DIR

RUN python3 -c "import pymatting"

Thank you for sharing this. I tested it with Docker build and found that it still compiles every time.

I’ll try to find another way to improve this and will note it here if I find something.

If you are using Docker, you also have the option of using checkpoints. But I have just tested them and they are slower (1.2 seconds vs 1 second for a prebuilt image).
I created the following Dockerfile:
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
    python3 \
    python3-pip \
    python3-venv \
    wget \
    --no-install-recommends && \
    rm -rf /var/lib/apt/lists/*

# Create new user for security (don't want to run as root)
RUN useradd -m user
USER user
WORKDIR /home/user

# Download test images, create virtual environment, install pymatting and compile
RUN wget https://raw.githubusercontent.com/pymatting/pymatting/refs/heads/master/data/lemur/lemur.png && \
    wget https://raw.githubusercontent.com/pymatting/pymatting/refs/heads/master/data/lemur/lemur_trimap.png && \
    python3 -m venv venv && \
    . venv/bin/activate && \
    pip install --no-cache-dir pymatting &&\
    python3 -c "import pymatting"

CMD ["/home/user/venv/bin/python"]

and then ran the following command in the same directory as the Dockerfile to build the pymattingimage Docker image.
docker build -t pymattingimage .

Running
docker run --rm -ti pymattingimage

and then writing
import pymatting

takes about one second on my laptop. You can then use the PyMatting functions like
pymatting.cutout("lemur.png", "lemur_trimap.png", "cutout.png")

Now I wanted to test whether I could save the state of the current Python interpreter to disk and restore from it faster.
In a new terminal, I first installed the necessary dependency criu with the following command (need to add PPA because the current Ubuntu 24.04 package is broken)
sudo add-apt-repository ppa:criu/ppa

# Need to press enter here

sudo apt update
sudo apt install criu

and then enabled support for the experimental Docker checkpoint feature
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker

I started a new container
docker run --name pymattingcontainer -ti pymattingimage

imported pymatting
import pymatting

and created a checkpoint from that container in a new terminal (this will stop the container in the first terminal)
docker checkpoint create pymattingcontainer pymattingcheckpoint

The checkpoint can then be resumed later with
docker start --checkpoint pymattingcheckpoint -ai pymattingcontainer

and there is no need to import pymatting now because it has already been imported. It might appear at first that nothing is happening, but that is just because the >>>  from the Python interpreter is not being printed. You can write Python code right away.
Unfortunately, restoring the checkpoint takes 1.2 seconds, so it is slower than just starting the container regularly and importing PyMatting.

Hello
It look like working when building and using it on computer.
But when pulling the docker image in kubernetes and lauching it, the pymatting import took 80s on each launch.
Do you have any idea why ? Specially because it's working locally.

Do you have any idea why ?

Sorry, no idea, but I guess your issue is probably related to Numba. They have a very active discourse group. Maybe someone there knows the answer: https://numba.discourse.group/

Thank you. By doing a quick search I found the answer. It's because the cashe is CPU related so if I change from a first manchine to an other one it would not hit the cache.
That's said that strange that there is a difference in docker but as using GCP it's possible they have some custom behavior for handling hardware ressources. If I come with a solution will post it here.

It look like the numba cache as also a timestamp so it's not realy reliable. So I juste use an async import when using the function to not block the server at first launch.
It for sure slow down the first usage after a server reboot a lot so It depend of your usage ad preference.
Also it is working because I have an async server with the capability to handle multiple thread.

@AMontagu
Do you have RUN python -c "import pymatting" step in your Dockerfile?

@homm yes because it's working when building the image locally.
I really think that it come from CPU settings that create the cache key. If they are different between the build and the run system the cache will not be used even if constructed.

@homm yes because it's working when building the image locally.
I really think that it come from CPU settings that create the cache key. If they are different between the build and the run system the cache will not be used even if constructed.

I also encountered the same problem. We hosted our server on RunPod, specifically using a custom node with ComfyUI that utilized the rembg repository, which depends on this repo.
I tested the Docker solution provided above on my GCP experiment VM, and it worked. However, on the RunPod serverless environment, it still took at least 30 seconds to compile Numba’s cache.  Eventually, I abandoned this solution since none of the caching methods recommended by the official Numba documentation worked for me.
Here is my customized version without Numba for you. You can install it directly via Git or modify your requirements.txt. It might be a bit slower than the original, but all tests passed.
# rembg
pip install git+https://github.com/gazai-io/rembg.git@feat/remove-numba-for-serverless
# pymatting
pip install git+https://github.com/gazai-io/pymatting.git@feat/remove-numba-for-serverless

Please feel free to share any other potential solutions if the Numba cache works.

It might be a bit slower than the original, but all tests passed.

rembg only uses PyMatting for foreground estimation, which is relatively fast. If you are using the computationally expensive alpha estimation methods of PyMatting, it would take an unreasonable amount of time without Numba.

It might be a bit slower than the original, but all tests passed.

rembg only uses PyMatting for foreground estimation, which is relatively fast. If you are using the computationally expensive alpha estimation methods of PyMatting, it would take an unreasonable amount of time without Numba.

Yeah, you’re right. Thankfully, rembg uses pymatting only minimally. 🥹


Vague installation Instructions

The section in getting started for setting up environment paths doesn't contain clear instructions on how to update your profile. I copied and pasted the code shown in terminal is that the correct way to do it?
Also under installing rtbkit it says to run "sudo su - rtbkit"
but running this only yields No passwd entry for user 'rtbkit'
Been wrestling trying to get it installed on Ubuntu 14 for almost a week off and on. Latest problem is this error i get after trying to compile rtbkit.
zaithe@derek-virtual-ubuntu:~/rtbkit$ sudo make compile NODEJS_ENABLED=0
            [SO] libexception_hook.so
/usr/bin/ld: cannot find -larch
collect2: error: ld returned 1 exit status
make: *** [build/x86_64/bin/libexception_hook.26aef504f376ba68cdaf0f50a4528ccc.so] Error 1

I'm not sure what fixed it but i just ran it not under sudo and it worked. But still the other area of the documentation could use some quick improvement.


Insert class with generic.

Hey, I'm not sure if I'm doing something wrong but I am getting an error when trying to insert an object with generic type. Is this possible or am I doing something wrong?
LiteDB.LiteException: Invalid format: Channel`1
   at LiteDB.CollectionService.Add(String name)
   at LiteDB.LiteEngine.GetCollectionPage(String name, Boolean addIfNotExits)
   at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func`2 action)
   at LiteDB.LiteEngine.Insert(String collection, BsonDocument doc, BsonType autoId)
   at LiteDB.LiteCollection`1.Insert(T document)

public class Channel<TUser>
{
    public int ChannelId { get; set; }
    public IList<TUser> Users { get; set; }
}

public class User
{
    public int Userid { get; set; }
}

using(var db = new LiteRepository("config.db"))
{
    var channel = new Channel<User>{ChannelId = 1, Users = new List<User>{new User{Userid = 1}}};
    db.Insert(channel);
}

My best guess ist that you'd have to sepcify the collection name manually
Because of https://github.com/mbdavid/LiteDB/blob/master/LiteDB/Mapper/BsonMapper.cs#L102
Try this:
https://github.com/mbdavid/LiteDB/wiki/Object-Mapping

It basically takes the name of the type. If it's a generic class it would be something like ```
GenericType`1
So there could be multiple matches.
It would be pretty easy to fix, I guess.

Yea, I read that collection names are limited to 30 bits or so and there is also a limit to total size of collections. I ended up using a hash of Type.FullName.

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Consolidate all classes to a single namespace

We are offering only two concrete classes, and the rest are factories.  Since all are named well, there's no need for additional subnamespaces.
This patch moves all source code under the namespace Zend\Expressive\Swoole.

Pinging @ezimuel to review.

@weierophinney I agree with the short namespaces.
There are issues with swoole on Travis.

There are issues with swoole on Travis.

I think this was due to caching the old Swoole extension. I've cleared the caches and restarted the build at this time.


tapcell.tcl runs 'forever', [INFO ODB-0303] The initial 119565 rows (-1535139212 sites) were cut with

Describe the bug
Use make tapcell_issue archive
./run-me-megaboom-asap7-base.sh
OpenROAD v2.0-10090-g067d1f4be
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
[INFO-FLOW] Tap and End Cap cell insertion
[INFO-FLOW]   TAP Cell          : TAPCELL_ASAP7_75t_R
[INFO-FLOW]   ENDCAP Cell       : TAPCELL_ASAP7_75t_R
[INFO-FLOW]   Halo Around Macro : 2 2
[INFO-FLOW]   TAP Cell Distance : 25
[INFO ODB-0303] The initial 119565 rows (-1535139212 sites) were cut with 18 shapes for a total of 153977 rows (-1894716766 sites).
[INFO TAP-0004] Inserted 239130 endcaps.

I set CORE_UTILIZATION=0.5 as a first guess and I got this result, which was surprising... The die area ended up very large... 1024mm^2 or so...

Lower right corner:

Expected Behavior
complete in a reasonable amount of time
Environment
OpenROAD v2.0-10090-g067d1f4be

To Reproduce
See above.
Relevant log output
No response
Screenshots
No response
Additional Context
No response

@oharboe
The core area seems very high.
>>> ord::get_core_area
2.052 2.16 32284.764 32284.71

Is that created by automatically or manual size passed?
I have seen such cases, if users give big die size more than 10k micron, tapcell insertion takes too long.

 Normally 30-60 reasonable for automatic die size calculation.

Actually, the design I'm working on has pretty much only macros at the top level. CORE_UTILIZATION misbehaves in this case, giving very, very large die area, even for 0.99 :-)

I have seen such cases, if users give big die size more than 10k micron, tapcell insertion takes too long.

This github issue is a bug report(or perhaps feature request rather) to fix error messages. There is some sort of overflow, see "(-1535139212 sites)" in the error message.

Would you make an example test case for the ifp issue?

Note that
| `-utilization` | Percentage utilization. Allowed values are `double` in the range `(0-100]`.

0.99 is still very low (0.99% not 99%).

Note that
| `-utilization` | Percentage utilization. Allowed values are `double` in the range `(0-100]`.

0.99 is still very low (0.99% not 99%).

doh! I saw it next to place density :-)

Would you make an example test case for the ifp issue?

I was messing around with megaboom when I ran into it, bu

Would you make an example test case for the ifp issue?

ifp?

Ifp is initialize floorplan. However with your misunderstanding I don't think it matters anymore

Is this still an issue? The problem with tapcell here is that it needs to place cells in more than 150k rows, each row with almost 600k sites. This seems like a lot, but I don't know if we can have a real design with such large dimensions.

Is this still an issue? The problem with tapcell here is that it needs to place cells in more than 150k rows, each row with almost 600k sites. This seems like a lot, but I don't know if we can have a real design with such large dimensions.

The design is not real, it is a mistake in floorplanning w.r.t. units.
If it isnt worth fixing the overflow in the error message, then I would just close the issue.
Perhaps a clearer error message for such floorplanning mistakes could be worthwhile.

@eder-matheus on initialize_floorplan it probably would have been good to generate an error when the computed area overflowed (it looks like it might have since the width is ~2^15)

@eder-matheus on initialize_floorplan it probably would have been good to generate an error when the computed area overflowed (it looks like it might have since the width is ~2^15)

It is not overflowing since we represent the die area with std::int64_t. The value is huge, tho:<PHONE_NUMBER>372025.
I will add an error message in the cutRows code to detect the overflow when calculating the total number of sites.

This feels too targeted as a fix.  I'm sure there are many places that will fail on such an unreasonably large design.  Also the message doesn't offer much insight into the problem.
I suggest in initialize_floorplan we error on any block with more than 2^32 sites.


fixed missing rows for MK1 and marked DNP

Won't this get overwritten next time we export the BOM?

yes, I mistook the message from github about fixing missing columns as a note from a human. Please ignore the PR


LockWAL segfault

under db_write_test got segfault. (LockWAL)
Unfortunatly can't reproduce and don't have core dump

@Yuval-Ariel any idea?


Use nodejs for running the CLI

Using the pre-packaged CLI is troublesome and annoying, it'd be better to implement this for PCR.

Would the total download size significantly increase compared to the native CLI?
I'm running rust on docker for development and production, and I'll have to download the cli every time I deploy using Dockerfile with cargo prisma generate in the pipeline, and my cloud provider is not going to cache the layers, will it download the 800mb node binary each time I deploy it?

Would the total download size significantly increase compared to the native CLI?

No, it'd likely be about the same, except it'd be up to you how you'd like to install Node - either do it yourself or PCR will do it for you.

will it download the 800mb node binary each time I deploy it?

It'll only download Node if you don't have it installed already. The CLI and engine binaries will be downloaded no matter what.

will I be able to run it using Deno?

No, the Prisma CLI only runs on Node.

my cloud provider is not going to cache the layers

I'd suggest finding a way to do so 😅

my cloud provider is not going to cache the layers

I'd suggest finding a way to do so 😅

I'm using Okteto Cloud, a free managed Kubernetes cluster, sometimes it caches everything and takes only 1 minute for an incremental build, which I consider lucky, but most of the times it starts over at cargo fetch and takes 18 minutes to complete building, that's quite frustrating 😂, do you have any advice in decreasing Rust's build time?

+1
I crave this feature too.
I want to run prisma-dbml-generator, but I can't do it with this client.

Sorry, I didn't give you enough information.
I currently have the following schema.prisma file
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["postgresqlExtensions"]
}

generator dbml {
  provider   = "prisma-dbml-generator"
}

// ...Schema definition is omitted...

If you want to use prisma-rust-client, this prisma file must be rewritten as follows
generator client {
  provider        = "cargo prisma"
  // previewFeatures = ["postgresqlExtensions"]
}

generator dbml {
  provider   = "prisma-dbml-generator"
}

This is only intended to generate Rust clients, so running the command with npx prisma generate would fail.
% yarn prisma generate
yarn run v1.22.15
$ /home/username/Project/study/prisma-client-rust/examples/basic/node_modules/.bin/prisma generate
Prisma schema loaded from prisma/schema.prisma
Error:
Generator "cargo prisma" failed:
warning: skipping duplicate package test-macros found at /home/username/.cargo/git/checkouts/prisma-engines-8e1416dd0e571d11/45b026c/libs/test-macros
warning: skipping duplicate package test-setup found at /home/username/.cargo/git/checkouts/prisma-engines-8e1416dd0e571d11/45b026c/libs/test-setup
warning: ambiguous glob re-exports
  --> crates/sdk/src/lib.rs:34:13
   |
34 |     pub use super::{args::, prisma::, *};
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
   |             |                           |
   |             |                           but the name dmmf in the type namespace is also re-exported here
   |             the name dmmf in the type namespace is first re-exported here
   |
   = note: #[warn(ambiguous_glob_reexports)] on by default
warning: variable does not need to be mutable
   --> crates/sdk/src/args.rs:142:25
    |
142 |                     let mut s = "Json".to_string();
    |                         ----^
    |                         |
    |                         help: remove this mut
    |
    = note: #[warn(unused_mut)] on by default
warning: prisma-client-rust-sdk (lib) generated 2 warnings (run cargo fix --lib -p prisma-client-rust-sdk to apply 1 suggestion)
warning: unused variable: field_type
  --> crates/generator/src/models/include_select.rs:72:13
   |
72 |         let field_type = field.type_tokens(module_path);
   |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _field_type
   |
   = note: #[warn(unused_variables)] on by default
warning: unused variable: model_name_snake
  --> crates/generator/src/models/mod.rs:87:17
   |
87 |             let model_name_snake = snake_ident(model_name);
   |                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _model_name_snake
warning: prisma-client-rust-generator (lib) generated 2 warnings (run cargo fix --lib -p prisma-client-rust-generator to apply 2 suggestions)
    Finished dev [unoptimized + debuginfo] target(s) in 2.13s
warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3
note: to see what the problems were, use the option --future-incompat-report, or run cargo report future-incompatibilities --id 1
     Running /home/username/Project/study/prisma-client-rust/target/debug/prisma
thread 'main' panicked at 'Failed to deserialize DMMF from Prisma engines: Error { path: Path { segments: [Map { key: "generator" }, Map { key: "binaryTargets" }, Seq { index: 0 }] }, original: Error("invalid type: map, expected a string", line: 1, column: 833) }', crates/sdk/src/runtime.rs:62:26
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
:チェックマーク大: Generated DBML Schema to ./prisma/dbml in 8ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

So I thought it was necessary to implement this issue in order to use prisma-dbml-generator with prisma-rust-client.
Since the schema.prisma is different for each client, it would be possible to operate both in parallel by using a library such as prisma-import to manage prisma files for each client.

I'm not 100% it will work but I think I've done it before.

Do you have a sample of that code?

Out of curiosity, do you think it would be possible to do something like this:

Given an env with node/npm and rust/cargo, install the js prisma cli
Create a binary create that run prisma-client-rust-generator::run()
In the prisma schema, configure the provider to run this binary
Then run the js prisma cli to generate the code (npx prisma generate). It should delegate code generation to the prisma-client-rust package.

It would be an easy solution for projects that already rely on node and rust (example: my case is an angular frontend and rust backend that both live in a Nx monorepo)

@maxmousse It's totally possible, and wouldn't actually require any changes for end users. What makes this tricky is that a) I don't want to require users to have node installed, so i'd have to install it locally, and b) I don't want to install the prisma cli as a global package (not hard just annoying).
Prisma Client Python has an easier time with this as nodeenv exists, but there's no equivalent for rust.

Thanks for your quick response @Brendonovich !
Yeah I understand that users should not need to install node =)
Also, I gave a try to the 'Use the js prisma cli solution'. I encountered the next problems:

I was not able to directly use the prisma-client-rust-generator crate as I did not found it in the 0.6.11 taged version. So I directly used prisma-client-rust-cli. Do you think it would make sens to have prisma-client-rust-generator exposed with a binary, in order to be able to call it directly from the schema ? Tell me if you are interested, I'd be glad to help and provide a PR =)

When trying to generate with the js prisma cli and the prisma-client-rust-cli generator, I encounterd the next error: ```
➜  test-prisma-rust git:(master) ✗ npx prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error:
Generator "RUST_BACKTRACE=1 cargo run" failed:
Finished dev [unoptimized + debuginfo] target(s) in 0.16s
warning: the following packages contain code that will be rejected by a future version of Rust: connection-string v0.1.13
note: to see what the problems were, use the option --future-incompat-report, or run cargo report future-incompatibilities --id 1
Running target/debug/test-prisma-rust
thread 'main' panicked at /home/maxim/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/3ac68d0/sdk/src/runtime.rs:57:26:
Failed to deserialize DMMF from Prisma engines: Error { path: Path { segments: [Map { key: "generator" }, Map { key: "binaryTargets" }, Seq { index: 0 }] }, original: Error("invalid type: map, expected a string", line: 1, column: 726) }
stack backtrace:
0: rust_begin_unwind
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
1: core::panicking::panic_fmt
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
2: core::result::unwrap_failed
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1652:5
3: core::result::Result<T,E>::expect
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1034:23
4: prisma_client_rust_sdk::runtime::GeneratorMetadata::run
at /home/maxim/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/3ac68d0/sdk/src/runtime.rs:56:32
5: prisma_client_rust_sdk::PrismaGenerator::run
at /home/maxim/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/3ac68d0/sdk/src/lib.rs:94:9
6: prisma_client_rust_cli::run
at /home/maxim/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/3ac68d0/cli/src/lib.rs:20:5
7: test_prisma_rust::main
at ./src/main.rs:2:5
8: core::ops::function::FnOnce::call_once
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

For what I understand, the js cli does not call the generator with the same input as the rust one. If you want, I can provide a repo to reproduce, and again, I'd be glad to help.


Django-Grappelli note

https://github.com/charettes/django-colorful/issues/28#issuecomment-216585529

Coverage remained the same at 100.0% when pulling 99b4703ff74ebc2a8432ac53ceab3360c1b2d81e on cjmochrie:patch-1 into 63f78007f75378d2d191cae2ef7e2e37835765c3 on charettes:master.

Thanks!


Missing elements?

How can this bug be reproduced?

Step one

Trying to use
$(document).foundation();
$('.title-bar').on('sticky.zf.stuckto:top', function(){
  $(this).addClass('shrink');
}).on('sticky.zf.unstuckfrom:top', function(){
  $(this).removeClass('shrink');
})

Doesn't work.  It appears so many elements from Foundation are missing.  How can I ensure everything from 6.4.3 are included?

Step two
Step three

What did you expect to happen?
I expect to use Foundation 6 out of the box but just integrated into Wordpress
What happened instead?
It's like only part of Foundation are in place, i'm confused to what is present and what is not.
Please List the Following:

OS & version: macOS
Node version (node -v) [Node v4+ is required] :  v8.11.2
FoundationPress version (see line 3 in package.json):   "version": "2.10.4"
Foundation version (found in node_modules/foundation-sites/package.json) :

i also tired to use
rem-calc
and this was missing

@chrisyoong-golin where and how are you using rem-calc? It's included in Foundation by default so something is not right.
Also, are there any errors in the console related to your Sticky event handlers?

@colin-marshall I discovered that FoundationPress seemed to omit some for core functions / mixins when compared to the latest Foundation 6.4.3 Build (either that or they're located / enabled somewhere else?)
I've found myself manually adding these files gradually as and when I need them to the node_modules/foundation-sites/scss/ folder.
e.g. I've added
`util, xy-grid' to that folder
I'm just a little confused.  I assumed FoundationPress had everything 6.4.3 had just within a WordPress setup but I don't this this assumption is right?

@chrisyoong-golin that assumption is 100% right. Something is wrong with your install. node_modules/foundation-sites/ will ALWAYS have everything in it already as that is the Foundation Sites package. If it's missing stuff you should do a rm -rf node_modules and run npm install again.

Closing this. Feel free to reopen if you still need help.


Expo support with react-native-video

I am interested in react-native-video and as I am currently developing with Expo I was just wondering if this component is usable in Expo.

I don't think so, but you can try ...
Please, let me know what issue you found.
(notice that there is expo-av, but I didn't see regular exoplayer player updates in this project)

I am using expo 46 with react native video, no issues at all.
I recommend using react-native-video ver 6 so you have exoplayer player by default without any configurations, same as expo-av
the reason I don't use expo-av is it does not support subtitles yet, react-native-video does.

I am using expo 46 with react native video, no issues at all. I recommend using react-native-video ver 6 so you have exoplayer player by default without any configurations, same as expo-av the reason I don't use expo-av is it does not support subtitles yet, react-native-video does.

@jeremyspritelyco
Would you be able to share any details on install of react-native-video in expo?  I am going to be experimenting with it and would be good to know what things to watch out for and the steps required to follow specifically in the expo case.

It works fine on Expo SDK 47.
Just added "react-native-video": "^6.0.0-alpha.4" using yarn add react-native-video@alpha.
You need to create EAS build, follow the instruction down there. No need for config plugin. It just works.

It works well on Expo 48, but has anyone verified if caching is working as expected?

react-native-video 5.2.1 doesn't work with me on react native expo. I tried Expo 48 even same problem. I receive error:

Uncaught Error: Your web project is importing a module from 'react-native' instead of 'react-native-web'.

Any ideas?

react-native-video 6.1.2 doesn't work for me on Expo 51.
requiredNativeComponent: "RCTView" was not found in the UIManager.

I try to replicate the issue, I think you should use "npx expo run:android" in order to ensure the native code is build once.

I open a Pull request to move the sample to expo: https://github.com/TheWidlarzGroup/react-native-video/pull/3880
I think it will close this discussion

react-native-video 6.1.2 doesn't work for me on Expo 51.
requiredNativeComponent: "RCTView" was not found in the UIManager.

similar problem, expo 51.0.11,  react-native-video 6.2.0
ERROR  Invariant Violation: requireNativeComponent: "RCTVideo" was not found in the UIManager.

@HustCoderHu did you try npx expo run:android ?

react-native-video 6.1.2 doesn't work for me on Expo 51.
requiredNativeComponent: "RCTView" was not found in the UIManager.

similar problem, expo 51.0.11, react-native-video 6.2.0
ERROR  Invariant Violation: requireNativeComponent: "RCTVideo" was not found in the UIManager.

Same problem Expo 51.0.17, react-native-video 6.3.0
invariant violation: requirenativecomponent: "rctvideo" was not found in the uimanager.

but it works when i run a development build with npx expo run:android


Missing image /tfs/server/_img/add-administrator-tfs/people-and-groups.png

The image with the alt text "Follow instructions for your version of SharePoint" doesn't resolve

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

ID: 1a6dbc38-c975-8045-8910-d87483e3446e
Version Independent ID: d9c4ddff-7e03-6fc3-9f20-a2e281a1d6a1
Content: Set SharePoint permissions for TFS
Content Source: docs/organizations/security/set-sharepoint-permissions.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@nschonni - Thank you for the feedback. I'm correcting this now and the fix should be live later today.


insolving

https://github.com/Parvezofficial/SBB-Class-Project-04/commit/818652a7563004d09073ae5f77b07933b1ee40e8

@muhasinsmec I'm sorry, I'm not sure what exactly you're trying to achieve here. If nothing happens this bug will probably get closed.


[BUG] Extractor failing with subscription id incorrectly formatted

Release version
v5.0.1
Describe the bug
When running the pipeline the extractor is failing with the error:
  System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups/PaaS/providers/Microsoft.ApiManagement/service/APIM-D/namedValues?api-version=2022-04-01-preview failed with status code 400. Content is '{"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier '***' is malformed or invalid."}}'.
However, I checked the variable it has the correct subscription id in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Also in the step Set extraction variables the debug print shows the correct subscription id:

Not sure what am I missing?
Expected behavior
The extractor should work fine.
Actual behavior
Getting the error described above
Reproduction Steps
Run the extractor pipeline with an account with multiple subscriptions.

We haven't seen this error before. Is it possible that the subscription is inactive or something odd like that?

No the subscription is active. I managed to work around the issue by removing the dynamic assignment of the subscription id,   I then created a variable in the group called "AZURESUBSCRIPTIONID" and used the modified  script below:
[cid:b43b10f9-e176-479f-b36a-5ceaa46e9ee0]
Thanks for the prompt response.
AA
Alnoor Alidina
Sr. Applications Architect, Solutions Delivery
Ontario Medical Association
■
T<PHONE_NUMBER> ext. 3086   TF   1.800.268.7215 ext. 3086
150 Bloor St. West, Suite 900, Toronto, ON  M5S 3C1
oma.orghttps://www.oma.org
Facebookhttps://www.facebook.com/Ontariosdoctors/  |  Twitterhttps://twitter.com/ontariosdoctors  |  Instagramhttps://www.instagram.com/ontariosdoctors/  |  YouTubehttps://www.youtube.com/user/OntMedAssociation  |  LinkedInhttps://www.linkedin.com/organization-guest/company/ontario-medical-association?challengeId=AQGdOp6XePYVKQAAAXMGTu62OwybvmRqOTI9r9wP-GdGgBm0Is8Mv65Fxm4jhQ_vvVTJ1eCXiNtCyWBph4VH8saK4Tw4445BKQ&submissionId=35e3a3d1-0163-1d16-4bc2-4d9b1f345375

From: Wael Kdouh @.>
Sent: Monday, January 15, 2024 7:12 PM
To: Azure/apiops @.>
Cc: Alidina, Alnoor @.>; Author @.>
Subject: Re: [Azure/apiops] [BUG] Extractor failing with subscription id incorrectly formatted (Issue #460)
EXTERNAL
Do not click any links or attachments unless you recognize the sender and know the content is safe.
We haven't seen this error before. Is it possible that the subscription is inactive or something odd like that?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/apiops/issues/460#issuecomment-1892897778, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQ6XPEVBS2NPVXHNU5B5BTYOXAXDAVCNFSM6AAAAABB36APQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSHA4TONZXHA.
You are receiving this because you authored the thread.

I can't see the script you are referring to.

      - task<EMAIL_ADDRESS>        displayName: Set extraction variables
        inputs:
          azureSubscription: "$(SERVICE_CONNECTION_NAME)"
          scriptType: pscore
          scriptLocation: inlineScript
          inlineScript: |
            Set-StrictMode -Version Latest
            $ErrorActionPreference = "Stop"
            $VerbosePreference = "Continue"
            $InformationPreference = "Continue"

            Write-Host "##vso[task.setvariable issecret=true;variable=AZURE_BEARER_TOKEN]$(az account get-access-token --query "accessToken" --output tsv)"
            Write-Host "##vso[task.setvariable issecret=true;variable=AZURE_CLIENT_ID]$env:servicePrincipalId"
            Write-Host "##vso[task.setvariable issecret=true;variable=AZURE_CLIENT_SECRET]$env:servicePrincipalKey"
            Write-Host "##vso[task.setvariable issecret=true;variable=AZURE_TENANT_ID]$env:tenantId"
            Write-Host "##vso[task.setvariable issecret=true;variable=AZURE_SUBSCRIPTION_ID]$env:AZURE_SUBSCRIPTION_ID"

          addSpnToEnvironment: true
          failOnStandardError: true
        env:
          AZURE_SUBSCRIPTION_ID: $(AZURESUBSCRIPTIONID)

Alnoor Alidina
Sr. Applications Architect, Solutions Delivery
Ontario Medical Association
■
T<PHONE_NUMBER> ext. 3086   TF   1.800.268.7215 ext. 3086
150 Bloor St. West, Suite 900, Toronto, ON  M5S 3C1
oma.orghttps://www.oma.org
Facebookhttps://www.facebook.com/Ontariosdoctors/  |  Twitterhttps://twitter.com/ontariosdoctors  |  Instagramhttps://www.instagram.com/ontariosdoctors/  |  YouTubehttps://www.youtube.com/user/OntMedAssociation  |  LinkedInhttps://www.linkedin.com/organization-guest/company/ontario-medical-association?challengeId=AQGdOp6XePYVKQAAAXMGTu62OwybvmRqOTI9r9wP-GdGgBm0Is8Mv65Fxm4jhQ_vvVTJ1eCXiNtCyWBph4VH8saK4Tw4445BKQ&submissionId=35e3a3d1-0163-1d16-4bc2-4d9b1f345375

From: Wael Kdouh @.>
Sent: Monday, January 15, 2024 7:21 PM
To: Azure/apiops @.>
Cc: Alidina, Alnoor @.>; Author @.>
Subject: Re: [Azure/apiops] [BUG] Extractor failing with subscription id incorrectly formatted (Issue #460)
EXTERNAL
Do not click any links or attachments unless you recognize the sender and know the content is safe.
I can't see the script you are referring to.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/apiops/issues/460#issuecomment-1892902741, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQ6XPGADIJ7ACS3PVOKNBLYOXBXDAVCNFSM6AAAAABB36APQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSHEYDENZUGE.
You are receiving this because you authored the thread.Message ID: @.***>

If your issue is resolved please remember to close the issue.


removed deprecated version of copy to clipboard method to clipboard.w…

…riteText

Thanks for the copyToClipboard refactoring.
Could you please remove changes in render() method from PR. They make code cleaner but they are not related to the PR (removed deprecated version of copy to clipboard method). It is better to make them in the separate one.


lenovo legion 7 slim 15ach6: add hidpi settings

Description of changes
Values are taken from https://www.digitec.ch/en/s1/product/lenovo-legion-slim-7-1560-amd-ryzen-7-5800h-32-gb-1000-gb-ch-notebook-17240001?supplier=406802
Things done

[X] Tested the changes in your own NixOS Configuration
[X] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

bors merge

Tests seem to fail because of unrelated changes.
The following 2 test(s) failed:
./tests/run.py '<nixos-hardware/lenovo/thinkpad/z/z13>'
./tests/run.py '<nixos-hardware/lenovo/thinkpad/z>'
Error: Process completed with exit code 1.

bors merge


Initialize as embulk-util-msgpack built with Gradle

Initialize as embulk-util-msgpack built with Gradle
It is a fork from the MessagePack for Java v0.8.24 for Embulk plugins to process MessagePack-formated data without the msgpack-core dependency in embulk-api or their own.
After forking as-is from MessagePack for Java v0.8.24, it includes :

Removing unnecessary files, including msgpack-jackson,
Switching the build tool to Gradle,
Changing the "developers" and "contributors" in pom.xml for the fork,
Switching the GitHub Actions settings to its own,
Updating NOTICE for the fork,
Updating README.md

The plan after this initialization would be :

Move its Java packages from org.msgpack.* to org.embulk.util.msgpack.*
Add a support for the original org.msgpack.value.Value classes
Add a support for the new org.embulk.spi.json.JsonValue classes

See: https://github.com/embulk/embulk/pull/1538

It will be used in embulk-parser-msgpack, and maybe other MessagePack-related plugins.

Yeah, that's intentional. It's yet under consideration.

Thanks!


Problems with using expressions in vcf top-level scope

const foo = 'foo'
const bar = () => 'bar'
export function App() {
  console.log(foo, bar())
  return vine`
    <div>{{foo}} {{bar()}}</div>
   `
}

For a simple expression, it can be used or accessed in vcf components, but is currently invalid in templates, because it is compiled into ctx.foo

This is because of we didn't collect valid declarations (without any reactivity API call) on top level into binding metadata for  template compilation.
We must collect them as VueBindingTypes.LITERAL_CONST to tell Vue's template compiler remaining them as-is.
I'll fix this in a separate PR and add more details for restrictions of top level declaration.


Update: Make sure restarting VS Code after settings change uses autoUpdater.quitAndInstall

@bpasero need your help on this one, in order to figure out where to put these changes:

NativeHostMainService
LifecycleMainService
some other place?

Discussing offline, maybe for debt week in August rather, since its late in the game.

Hi, what are some verification steps for this issue?

Have a pending VSCode update and change a setting that requires a restart such as macOS native tabs. Or changing the title from custom to native style. After restart from the popping up dialog, ensure the update is applied.


nix/module.nix: Start comin after the network comes up

If you add a local remote, comin could fetch new commit without having to rely on the network.
Moreover, since comin polls periodically, i don't think it's an issue if it starts before the network: comin could fail on first iterations but then succeeds once the network it up.
So, i'm not in favor of adding such dependency.
What kind of issue did you encounter exactly?

It started up very early in my boot sequence (way before networkd and unbound) - and thus failed a bunch of times on DNS requests.
I might just override this locally on all my boxes.


Document default value behaviour

Addresses #125 through documenting the current behaviour.

Coverage remained the same at 100.0% when pulling 8e80eea180e85c4427876a186a03831622c459df on jobh:master into 66d88115001d32083e33f56c1b29d736a6d18560 on mewwts:master.


add val de marne ent

I have done all the following:

[x] added the feature
[x] added documentation for the feature
[x] added tests for the feature
[x] ran mypy, black, and unit tests

Hello,
What are you waiting for ? This is a simple request.

Thanks. Please really run black next time.


[storage-queue] sample improvements

azureAdAuth.js

The sample contains URLs with "en-us" in the docstrings. Any locale information in the URLs should be removed. https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/javascript/azureAdAuth.js#L10-L17

iterators.js

Not a bug per se, but I think the output can be improved to help the user understand what ran in the sample. Right now it outputs:

List queues
Queue 1: pythonqueue600cbcd5ffb0410c8d2b6c5d87e75244
Queue 2: pythonqueue67ed08bd3da14a798b771cf506c7feb4
Queue 3: pythonqueuea317de8727704ba3bb11e4b28237de5f
Queue 4: pythonqueueaec7c8f0b9ba41f4acd566dd97cf8a48
Queue 5: pythonqueuecb74271cd2ca419999904de53230e5d6
Queue 6: pythonqueuecf2d2b241c32485984d63b08d36f75f3
Queue 7: pythonqueuee27de426be8448e598a2efbd9b254f17
Queue 1: pythonqueue600cbcd5ffb0410c8d2b6c5d87e75244
Queue 2: pythonqueue67ed08bd3da14a798b771cf506c7feb4
Queue 3: pythonqueuea317de8727704ba3bb11e4b28237de5f
Queue 4: pythonqueueaec7c8f0b9ba41f4acd566dd97cf8a48
Queue 5: pythonqueuecb74271cd2ca419999904de53230e5d6
Queue 6: pythonqueuecf2d2b241c32485984d63b08d36f75f3
Queue 7: pythonqueuee27de426be8448e598a2efbd9b254f17
Queue 1: pythonqueue600cbcd5ffb0410c8d2b6c5d87e75244
Queue 2: pythonqueue67ed08bd3da14a798b771cf506c7feb4
Queue 7: pythonqueuee27de426be8448e598a2efbd9b254f17
<...continued>

If I try to mentally map what code example ran with the given output, it's pretty tough. I suggest printing out the descriptions (which are currently in the comments) before listing queues so the user can make that mapping.

I recently merged a PR #21704 related to this sample and I think I might fix this too. @EmmaZhu, how do you think I should approach

I suggest printing out the descriptions (which are currently in the comments) before listing queues so the user can make that mapping.

Particularly, I am unsure what descriptions (which are currently in the comments) are.


Add to 'Supporting Projects' in site

+1 but same feedback as @HorizonNet

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  1s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 34s
master passed

+1 :green_heart:
mvnsite
18m 12s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m  4s
the patch passed

+1 :green_heart:
mvnsite
17m 51s
the patch passed

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

_ Other Tests _

+1 :green_heart:
asflicense
0m 23s
The patch does not generate ASF License warnings.

48m 53s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-976/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/976

Optional Tests
dupname asflicense mvnsite xml

uname
Linux 00d8f7322ba1 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-976/out/precommit/personality/provided.sh

git revision
master / 923ba7763e

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-976/1/artifact/out/whitespace-eol.txt

Max. process+thread count
93 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-976/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Removed whitespace at the end of the tag based on recommendation from HBase Robot.
Added JIRA ticket to title of the PR.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Other Tests _

+1 :green_heart:
asflicense
0m 21s
The patch does not generate ASF License warnings.

48m 52s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-976/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/976

JIRA Issue
HBASE-23629

Optional Tests
dupname asflicense mvnsite xml

uname
Linux 633d3d547aa4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-976/out/precommit/personality/provided.sh

git revision
master / 4cb952ce34

Max. process+thread count
92 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-976/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


[nowide] update to 11.1.2

Describe the pull request

What does your PR fix? Fixes the pipeline of #17179

Which triplets are supported/not supported? Have you updated the CI baseline? all

Does your PR follow the maintainer guide? yes

@autoantwort Thank you for creating PR for upgrading in favor of me.  I hope this PR will be successfully merged.


document need for cluster-admin to run tests

Feature Request
Users of OpenShift, and presumably other clusters as well, do not generally run as cluster-admin the way some developers do when using minikube or similar. When developing an operator on openshift, it would be helpful to have some documentation that provides guidance on the best or most appropriate way to ensure that the tests run with sufficient permission to create and remove the CRD.

I ended up with 1 extra step to add the cluster-admin ClusterRole to my user. It's possible a role with fewer privileges would work, too.
See https://github.com/metalkube/baremetal-operator#running-end-to-end-tests and https://github.com/metalkube/baremetal-operator/blob/master/test/e2e/role_binding.yaml

/remove-lifecycle stale

/lifecycle frozen

/assign @jberkhahn


fix travis to work on forks

There were some issues with running tests on forks. This PR fixes it. Also added ability to test against upstream by naming branches with test-*
go get wasn't needed (thats the default in install) and sudo: false is also the default, so that wasn't needed either

thanks


Update to annotate-snippet-rs to 0.11.5

Hello,
I faced an issue with typst-languagetool-cli panicking due to bad UTF-8 handling in annotate-snippet-rs.
The issue was actually already fixed on their side but not released, now it is!
So it would be nice to update the dependencies here to get the fix!

I updated the dependency.
Sometimes the range marker


New dev branch

This is my new dev branch, which is not perfect, but is a significant improvement on current master, IMO, so I'm PRing it. Main new features are skinning, experimental animation support, near-complete material support, and support for four new glTF extensions (one untested).
Hopefully I can get some feedback and testing. My internet connection is not currently up to the challenge of updating my sample model repo, so I have only tested it with an old revision of the samples ^^;;;

Coordinates

Coordinates are hard-modified at import time, as opposed to soft-modified by eg. putting a transform at the root of the tree.

Meshes

Meshes are skinned.
All texcoord and color attributes are imported. Textures can now use texcoords other than TEXCOORD_0. However, the color layers COLOR_X (X >= 1), though they are imported, don't affect materials. (COLOR_0 does, see below.)
At some point in (2.79.0, 2.79.4], Blender added RGBA vertex colors, so we now use those. Fixes #26.
>4 vertex weights are supported (untested), see https://github.com/KhronosGroup/glTF/pull/1381
Polygon smoothing can now be disabled as an import option (@zignig).

Materials

Node groups are now created from serialized data in node_groups.json taken from KhronosGroup/glTF-Blender-Exporter/pbr_node/glTF2.blend. Cf. https://github.com/ksons/gltf-blender-importer/issues/15#issuecomment-390947470.
Most (all?) glTF properties are now wired up in Blender.
COLOR_0 attributes affect the material. Fixes #23. The work-around for the issue I mentioned there was just to, whenever a material would have applied to both meshes with and without colors, add colors to the meshes without (this means some meshes may have a COLOR_0 that didn't in the glTF file).
Images are cached (so embedded images are not duplicated if used multiple times).
The extension KHR_materials_pbrSpecularGlossiness is supported (this was easy since the group was already in the exporter.)
The extension KHR_materials_unlit is supported (I wrote the group for this; it's just a simple modification of the Metallic Roughness group).
The extension MSFT_texture_dds is supported (Blender basically already did everything for this.)
The extension KHR_texture_transform is roughed in but is NOT TESTED. @sonygod

Scene Graph

Armatures are inserted into the scene at the points where the roots of skins are. All their children are realized as bones. This avoids my unpopular single-armature idea :)
Blender scenes are created for glTF scenes if this is enabled with an import option.
But there are problems with bones still:

Bone lengths are still crazy Should be okay now.

Bone direction is still crazy, for the sample models at least. But the bone directions make the bone tree have the same matrix at each bone as the glTF node tree does at each node.

Bones can't have non-unit scaling (this appears to be a Blender limitation)

Meshes and cameras that are children of a bone are placed in the wrong spot. I haven't figured out what transform will move them from the tail of the bone to the head yet. (This and the previous point are not a big issue for glTFs created from Blender-like scene graphs.)

Animations

There is experimental animation support gated behind an import option. Since there is no longer a single armature for the whole forest, a single animation may result in >1 actions, one for each object it animates. The actions are named like animation-name@object-name. To play them, select the object, open the Dope Sheet, change to Action Editor, and select the desired action. (Is there a better way to import these?)
Some of the animations still look wrong (eg. Monster).

Cameras

@cinghiale's camera support was merged in.

Thanks! Great progress. Did not fully test everything but will look more closely before releasing 0.4.0.

@ksons Thanks :)


Replace BitDAO contract with a simple setter/emitter

Replace the BitDAO Solidity with one that allows setting, getting and event emitting.
Replace the test with one that cover the features of setting, getting and listening for events (Ensure TypeChain is used / demonstrated).

Done, replaced with Box


kubectl-convert: add a plugin for kubectl.

Description of changes
Add the kubectl plugin: kubectl convert (cf: kubectl-convert: add a plugin for kubectl.  )
A plugin for Kubernetes command-line tool kubectl, which allows you to convert manifests between different API versions.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@zowoq No problem for me, but if I understand correctly, the convert plugin will be build and delivered with kubectl, even if you do not want the plugin.
Is it what we want ?

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

3 packages built:

gsctl
kubectl
kubernetes

@zowoq sorry, I do not know what I did wrong, but how can I re-open this PR ?


Refactor all communication into abstract "Connection" object

We want to have a clean abstraction for communication between a host computer and Tessel 2. Because they can connect over USB or SSH (WiFi), it would be much simpler to provide a "Connection" object which handles the actual transfer of data.

Fixed with #37.


Add support for Klarstein Iceblock Ecosmart AC

Add support for Klarstein Iceblock Ecosmart AC

Hi @make-all,
excuse my late reply, I was on vacation 🏖
Thanks for your review and for merging my PR!
I will open a new PR to get into your comments.

Follow-up PR is https://github.com/make-all/tuya-local/pull/2096

Sorry, I jumped the gun making the change to separate out the power and modes again, causing a conflict, so I have made the changes manually.


ETE3PAML - Clean and polish

@sdhutchins needs to simplify this and integrate IQtree

The IQ-Tree wrapper for the command line is pretty basic, but it works.  It gives you very basic functionality (-s and -st parameters).

`
iqtree --help
IQ-TREE version 1.5.5 for Linux 64-bit built Jun  2 2017
Copyright (c) 2011-2017 by Bui Quang Minh, Nguyen Lam Tung,
Olga Chernomor, Heiko Schmidt, and Arndt von Haeseler.
Usage: iqtree -s  [OPTIONS]
GENERAL OPTIONS:
-? or -h             Print this help dialog
-s        Input alignment in PHYLIP/FASTA/NEXUS/CLUSTAL/MSF format
-st <data_type>      BIN, DNA, AA, NT2AA, CODON, MORPH (default: auto-detect)
-q <partition_file>  Edge-linked partition model (file in NEXUS/RAxML format)
-spp <partition_file> Like -q option but allowing partition-specific rates
-sp <partition_file> Edge-unlinked partition model (like -M option of RAxML)
-t <start_tree_file> or -t BIONJ or -t RANDOM
Starting tree (default: 99 parsimony tree and BIONJ)
-te <user_tree_file> Like -t but fixing user tree (no tree search performed)
-o <outgroup_taxon>  Outgroup taxon name for writing .treefile
-pre         Prefix for all output files (default: aln/partition)
-seed        Random seed number, normally used for debugging purpose
-v, -vv, -vvv        Verbose mode, printing more messages to screen
-quiet               Quiet mode, suppress printing to screen (stdout)
-keep-ident          Keep identical sequences (default: remove & finally add)
-safe                Safe likelihood kernel to avoid numerical underflow
-mem RAM             Maximal RAM usage for memory saving mode
CHECKPOINTING TO RESUME STOPPED RUN:
-redo                Redo analysis even for successful runs (default: resume)
-cptime     Minimum checkpoint time interval (default: 20)
LIKELIHOOD MAPPING ANALYSIS:
-lmap <#quartets>    Number of quartets for likelihood mapping analysis
-lmclust  NEXUS file containing clusters for likelihood mapping
-wql                 Print quartet log-likelihoods to .quartetlh file
NEW STOCHASTIC TREE SEARCH ALGORITHM:
-ninit       Number of initial parsimony trees (default: 100)
-ntop        Number of top initial trees (default: 20)
-nbest       Number of best trees retained during search (defaut: 5)
-n <#iterations>     Fix number of iterations to stop (default: auto)
-nstop       Number of unsuccessful iterations to stop (default: 100)
-pers    Perturbation strength for randomized NNI (default: 0.5)
-sprrad      Radius for parsimony SPR search (default: 6)
-allnni              Perform more thorough NNI search (default: off)
-g <constraint_tree> (Multifurcating) topological constraint tree file
ULTRAFAST BOOTSTRAP:
-bb <#replicates>    Ultrafast bootstrap (>=1000)
-bsam GENE|GENESITE  Resample GENE or GENE+SITE for partition (default: SITE)
-wbt                 Write bootstrap trees to .ufboot file (default: none)
-wbtl                Like -wbt but also writing branch lengths
-nm <#iterations>    Maximum number of iterations (default: 1000)
-nstep <#iterations> #Iterations for UFBoot stopping rule (default: 100)
-bcor <min_corr>     Minimum correlation coefficient (default: 0.99)
-beps       RELL epsilon to break tie (default: 0.5)
STANDARD NON-PARAMETRIC BOOTSTRAP:
-b <#replicates>     Bootstrap + ML tree + consensus tree (>=100)
-bc <#replicates>    Bootstrap + consensus tree
-bo <#replicates>    Bootstrap only
SINGLE BRANCH TEST:
-alrt <#replicates>  SH-like approximate likelihood ratio test (SH-aLRT)
-alrt 0              Parametric aLRT test (Anisimova and Gascuel 2006)
-abayes              approximate Bayes test (Anisimova et al. 2011)
-lbp <#replicates>   Fast local bootstrap probabilities
MODEL-FINDER:
-m TESTONLY          Standard model selection (like jModelTest, ProtTest)
-m TEST              Standard model selection followed by tree inference
-m MF                Extended model selection with FreeRate heterogeneity
-m MFP               Extended model selection followed by tree inference
-m TESTMERGEONLY     Find best partition scheme (like PartitionFinder)
-m TESTMERGE         Find best partition scheme followed by tree inference
-m MF+MERGE          Find best partition scheme incl. FreeRate heterogeneity
-m MFP+MERGE         Like -m MF+MERGE followed by tree inference
-rcluster   Percentage of partition pairs (relaxed clustering alg.)
-mset program        Restrict search to models supported by other programs
(raxml, phyml or mrbayes)
-mset m1,...,mk      Restrict search to models in a comma-separated list
(e.g. -mset WAG,LG,JTT)
-msub source         Restrict search to AA models for specific sources
(nuclear, mitochondrial, chloroplast or viral)
-mfreq f1,...,fk     Restrict search to using a list of state frequencies
(default AA: -mfreq FU,F; codon: -mfreq ,F1x4,F3x4,F)
-mrate r1,...,rk     Restrict search to a list of rate-across-sites models
(e.g. -mrate E,I,G,I+G,R is used for -m MF)
-cmin          Min #categories for FreeRate model [+R] (default: 2)
-cmax          Max #categories for FreeRate model [+R] (default: 10)
-merit AIC|AICc|BIC  Optimality criterion to use (default: all)
-mtree               Perform full tree search for each model considered
-mredo               Ignore model results computed earlier (default: reuse)
-madd mx1,...,mxk    List of mixture models to also consider
-mdef <nexus_file>   A model definition NEXUS file (see Manual)
SUBSTITUTION MODEL:
-m <model_name>
DNA: HKY (default), JC, F81, K2P, K3P, K81uf, TN/TrN, TNef,
TIM, TIMef, TVM, TVMef, SYM, GTR, or 6-digit model
specification (e.g., 010010 = HKY)
Protein: LG (default), Poisson, cpREV, mtREV, Dayhoff, mtMAM,
JTT, WAG, mtART, mtZOA, VT, rtREV, DCMut, PMB, HIVb,
HIVw, JTTDCMut, FLU, Blosum62, GTR20
Protein mixture: C10,...,C60, EX2, EX3, EHO, UL2, UL3, EX_EHO, LG4M, LG4X
Binary: JC2 (default), GTR2
Empirical codon: KOSI07, SCHN05
Mechanistic codon: GY (default), MG, MGK, GY0K, GY1KTS, GY1KTV, GY2K,
MG1KTS, MG1KTV, MG2K
Semi-empirical codon: XX_YY where XX is empirical and YY is mechanistic model
Morphology/SNP: MK (default), ORDERED
Otherwise: Name of file containing user-model parameters
(rate parameters and state frequencies)
-m <model_name>+F or +FO or +FU or +FQ (default: auto)
counted, optimized, user-defined, equal state frequency
-m <model_name>+F1x4 or +F3x4
Codon frequencies
-m <model_name>+ASC  Ascertainment bias correction for morphological/SNP data
-m "MIX{m1,...mK}"   Mixture model with K components
-m "FMIX{f1,...fK}"  Frequency mixture model with K components
-mwopt               Turn on optimizing mixture weights (default: auto)
RATE HETEROGENEITY AMONG SITES:
-m <model_name>+I or +G[n] or +I+G[n] or +R[n]
Invar, Gamma, Invar+Gamma, or FreeRate model where n is
number of categories (default: n=4)
-a <Gamma_shape>     Gamma shape parameter for site rates (default: estimate)
-amin <min_shape>    Min Gamma shape parameter for site rates (default: 0.02)
-gmedian             Median approximation for +G site rates (default: mean)
--opt-gamma-inv      More thorough estimation for +I+G model parameters
-i <p_invar>         Proportion of invariable sites (default: estimate)
-wsr                 Write site rates to .rate file
-mh                  Computing site-specific rates to .mhrate file using
Meyer & von Haeseler (2003) method
SITE-SPECIFIC FREQUENCY MODEL:
-ft <tree_file>      Input tree to infer site frequency model
-fs <in_freq_file>   Input site frequency model file
-fmax                Posterior maximum instead of mean approximation
CONSENSUS RECONSTRUCTION:
-t <tree_file>       Set of input trees for consensus reconstruction
-minsup   Min split support in range [0,1]; 0.5 for majority-rule
consensus (default: 0, i.e. extended consensus)
-bi          Discarding  trees at beginning of
-con                 Computing consensus tree to .contree file
-net                 Computing consensus network to .nex file
-sup <target_tree>   Assigning support values for <target_tree> to .suptree
-suptag        Node name (or ALL) to assign tree IDs where node occurs
ROBINSON-FOULDS DISTANCE:
-rf_all              Computing all-to-all RF distances of trees in
-rf       Computing all RF distances between two sets of trees
stored in  and
-rf_adj              Computing RF distances of adjacent trees in
TREE TOPOLOGY TEST:
-z <trees_file>      Evaluating a set of user trees
-zb <#replicates>    Performing BP,KH,SH,ELW tests for trees passed via -z
-zw                  Also performing weighted-KH and weighted-SH tests
-au                  Also performing approximately unbiased (AU) test
GENERATING RANDOM TREES:
-r <num_taxa>        Create a random tree under Yule-Harding model
-ru <num_taxa>       Create a random tree under Uniform model
-rcat <num_taxa>     Create a random caterpillar tree
-rbal <num_taxa>     Create a random balanced tree
-rcsg <num_taxa>     Create a random circular split network
-rlen <min_len> <mean_len> <max_len>
min, mean, and max branch lengths of random trees
MISCELLANEOUS:
-wt                  Write locally optimal trees into .treels file
-blfix               Fix branch lengths of user tree passed via -te
-blscale             Scale branch lengths of user tree passed via -t
-blmin               Min branch length for optimization (default 0.000001)
-blmax               Max branch length for optimization (default 100)
-wsr                 Write site rates and categories to .rate file
-wsl                 Write site log-likelihoods to .sitelh file
-wslr                Write site log-likelihoods per rate category
-wslm                Write site log-likelihoods per mixture class
-wslmr               Write site log-likelihoods per mixture+rate class
-wspr                Write site probabilities per rate category
-wspm                Write site probabilities per mixture class
-wspmr               Write site probabilities per mixture+rate class
-wpl                 Write partition log-likelihoods to .partlh file
-fconst f1,...,fN    Add constant patterns into alignment (N=#nstates)
-me         LogL epsilon for parameter estimation (default 0.01)
--no-outfiles        Suppress printing output files
`

I can't stand giving the thumbs up here..soooo... :smiley:

:stuck_out_tongue_winking_eye:

@grabear https://www.webpagefx.com/tools/emoji-cheat-sheet/

:stuck_out_tongue_closed_eyes:

@grabear I'm going to close this out tonight.

@sdhutchins Good deal!

aada0313460b758afa614bf7b9767a4ccd56e1ed - has the updated ETE3PAML class.
Any thoughts or comments @grabear?

Addressed by #99


feat: added new pro logo

Overview
We're using this new logo component in the most recent curriculum card designs. By default, it uses the navy color for the background and white for the foreground (cutout text). The colors can be changed, and the cutout text can be set as transparent to allow the color of the element beneath it to show through.
PR Checklist

[ ] Related to Abstract designs:
[x] Related to JIRA ticket: EGG-149
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f6532c016d9f201303d45a1--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5f68ea913732081f1f354a36--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f6a6527f5bd9510c07c1824--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f6d107ae177de6086490a0b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f6d120090d94b72582ce5c8--gamut-preview.netlify.appDeploy Logs


using createStore setter function to update array results in argument is not iterable error

Describe the bug
When using the setter returned from createStore to update an array, i get an error that indicates the array is not an iterable. I know it's not undefined as in #1277 because I can log out the values of the store.  I've set up a demo on codepen here.
In the demo, I'm attempting to update the status of ToDo items in an event handler and then move completed items from a New Todo list to a Done list.
Then in the todo component I have an event handler that calls the setter function from returned from createStore almost exactly like in the example docs:
const setComplete = (e) => {
    setState(state, l => [...l, {id: props.toDo.id, data: props.toDo.data, status: 'complete'}]);
  };

Your Example Website or App
https://codepen.io/tx-tim-the-selector/pen/gOEdNKb
Steps to Reproduce the Bug or Issue

go to https://codepen.io/tx-tim-the-selector/pen/gOEdNKb
click on one of the items where you see the app is rendered
open the console an see the error "TypeError: l is not iterable"

Expected behavior
I would expect the setState function to update the array item in the store, and for the item to then move to the corresponding list
Screenshots or Videos
No response
Platform

OS: [e.g. macOS]
Browser: [e.g. Chrome, Firefox]
Version: [1.7]

Additional context
No response

Hi @tx-tim,
I think it should be this:
const setComplete = (e) => {
    setState(l => [...l, {id: props.toDo.id, data: props.toDo.data, status: 'complete'}]);
  };

Though you won't get an error it still won't work.
If you do typeof l you see it is an object.
createStore([]) apparently turns your array into an object with 0,1,2,... as the keys of that object.
So effectively your doing this:
const array = [...obj]; // TypeError: obj is not iterable

I just started with SolidJS so not sure why setState does that.
I think the SolidJS way of changing your example would be to target get the task index in the array and update the specific completed field only, instead of creating a new array and overwriting the old one with the update.
setState(0, "status", "completed")

Thanks @hawkerboy7. Your response is mostly correct. typeof someArray will be "object" even for arrays so that doesn't mean it can't be iterated. The problem with iteration was the store being passed in as the first argument. It definitely can be spread like shown.
I would add, I think that the codepen is not using our JSX transform so things like the For component aren't updating because the each property is manually being wrapped in a function. I went and wrapped every expression in a function and this "works".  I mean it doesn't behave the way I would expect but that is the way the code is written.
/** @jsx h */

const $ = document.querySelector.bind(document);

import { render } from "https://cdn.skypack.dev/solid-js/web";
import h from "https://cdn.skypack.dev/solid-js/h";
import { For } from "https://cdn.skypack.dev/solid-js";
import { createStore } from "https://cdn.skypack.dev/solid-js/store";

var todoList =
[
    {
        "id": 1,
        "status": "complete",
        "data": {}
    },
    {
        "id": 2,
        "status": "skipped",
        "data": {}
    },
    {
        "id": 3,
        "status": "skipped",
        "data": {}
    },
    {
        "id": 4,
        "status": "new",
        "data": {}
    }
];

const [state, setState] = createStore(todoList);

function App() {
  return (

      <TaskList heading="New" tasks={() => state.filter((item)=>item.status === 'new')} />
      <TaskList heading="Done" tasks={() => state.filter((item)=>item.status !== 'new')}/>

  );
}

function TaskList(props) {
  return(

      {() => props.heading}
      <For each={() => props.tasks}>
        {item => (
         <Task task={item} />
        )}
      </For>

)
}

function Task(props) {
  const setComplete = (e) => {
        setState(l => [...l, {id: props.task.id, data: props.task.data, status: 'complete'}]);
  }
  return(

      task:{() => props.task.id} | {() => props.task.status}

)
}

render(() => <App />, $("#app"));

So instead of doing that I copied it into our playground where it uses our JSX transform:
https://playground.solidjs.com/anonymous/78c23588-b553-45df-8f28-5aec7cda77ca

@hawkerboy7 @ryansolid thanks for your replies - I have a much better understanding now - cheers!


Web Fonts

I have seen some blogs with nicer fonts than mine.  Does the user have to download new fonts?  Are there speed and compatibility issues?
I would like a nicer font, but I will have to do some research first.

No.


Test broader GHC versions

This also adds explicit version bounds.
Fixes #94.

I'm surprised, I was sure that I was testing and using PyF with GHC 9.2, but looks like I may have dreamed about it only, and then you did it.
Thank you. I'll press merge once the test are succesful.

9.2 is there for nix_build in main, but it's failing. So my initial change removed it. Then the later one fixes the issue and adds it back both for nix_build and slack_build.

Looks like tests are passing, is this good to be merged?

Thank you, sorry for the latency in my answer.


Bluetooth: IRK handling issue when using multiple local identities

Describe the bug
When using Bluetooth with multiple local identities, the IRK handling issues may occur.
To Reproduce

Use Zephyr Bluetooth peripheral with multiple local identities (A, B) and Central that uses IRK.
Connect and bond with Central on identity A.
Connect and bond with Central on identity B.
You will see the following error log:
<err> bt_hci_core: Failed to add IRK to controller
The error log is observable also on every reboot.
Failure is caused by trying to add the same IRK multiple times.
Reset one of the local identities (A or B) - the IRK will be removed from controller causing reconnection problem for second identity. After the reboot, the IRK's are reloaded and the device will be able to reconnect properly.

Impact
Error logs and possible reconection problems, when connecting given Central with multiple local identities of the same Zephyr device.
This affects the following use-cases:
Advertising using directed advertising when privacy is enabled.
Advertising using whitelist when peer is privacy-enabled.
Environment

Commit SHA: b413223a66ed9e857c67ee21d1e8be4768804dd1

Additional context
The problem replicates using various Link Layers.
The IRKs are currently not associated with local identities in the Bluetooth Controller.

@joerchan please add a quick line in the documentation about this limitation.

@joerchan please add a quick line in the documentation about this limitation.

Related to #34848

A new Kconfig option allowing the user to choose between failing the bond procedure or overwriting the bond of the other identity will be introduced, as well as accompanying documentation.

A new Kconfig option allowing the user to choose between failing the bond procedure or overwriting the bond of the other identity will be introduced, as well as accompanying documentation.

CONFIG_BT_SAME_PEER_DIFF_ID_BOND_OVERWRITE:
If set to y, then bonding with the same peer but a different identity (when already bonded) will overwrite the existing bond, effectively "moving" the bond from the old to the new identity. Note: this will not be an actual "overwrite" since bonds are identified by identity:peer address and thus the new bond will have a different identifier.
If set to n, then trying to bond with an already-bonded device but this time with a different identity will result in the pairing procedure failing.


feat: interfaces for async embeddings, implement async openai

This change adds support to the base Embeddings class for two methods, aembed_query and aembed_documents, those two methods supporting async equivalents of embed_query and
embed_documents respectively. This ever so slightly rounds out async support within langchain, with an initial implementation of this functionality being implemented for openai.
Implements #6109

CC @hwchase17 @dev2049 for review. the _aget_len_safe_embeddings bit is a bit rough, as I couldn't think of a great way to reuse the non-embedding work from _get_len_safe_embeddings, open to suggestions there.

Let me know if there is anything I can do to help push this along. I know you're all busy, but just want to make sure there isn't anything on my end holding this up. Also:

I wasn’t 100% on where I should be adding more documentation, so if I should be adding more documentation, kindly point me in the right direction there.
I added integration tests for openai async embeddings, but if I should be adding tests for fake embeddings async or some such, I can do so.

Thanks!

Hi @tyree731 , code looks good -- let's remove the abstractmethod to reduce scope and avoid breaking changes and then code is good to merge.

Updated based on your comments. Let me know if there's anything I need to do for the vercel failure.

Sorry for the delay in responding @hwchase17 , currently on vacation in Germany for the next couple of weeks, so I'll get to your comments when I get back.


[FEATURE] Infinite scroll

Detailed description

Add a limited number of news on the home page
Set infinite scroll

5 news on the main screen, while scrolling load more news

Context

User will get more news
no need for pagination if we use infinite scroll

Possible implementation

also, add a loading icon the end of the screen while fetching news.
Additional information
No response
Code of Conduct

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

Hey Can I work on this issue?

Hey Can I work on this issue?

Yes, you can
We will assign this issue to you.

Hey Can I work on this issue?

Will you checkout this repository frist?
https://github.com/CryptoverseWeb3/git-github-practice

You will get more green squares.

Hello @Tusharjain123
any progress?

Hello @Tusharjain123 any progress?

I am working on it

Hello @Tusharjain123 any progress?

I am working on it

Awesome, I am assigning this issue to you.
If you will have any doubts and questions, let us know.

Where should I add the infinite scroll feature because in website there is no cybernews column?

Where should I add the infinite scroll feature because in website there is no cybernews column?

there is, under resoruces section
https://www.thecyberhub.org/resources/cybernews
If you will have any doubts and questions, let us know.

Where should I add the infinite scroll feature because in website there is no cybernews column?

there is, under resoruces section https://www.thecyberhub.org/resources/cybernews
If you will have any doubts and questions, let us know.

ok thanks

Hey, @andreaevolo Any progress?
If you need any help let me know...

@kabir0x23 Can I work on this?

@kabir0x23 Can I work on this?

sure, i am assigning you this issue

@kabir0x23 I can't see news section on Home page. Can you tell me how to find it?

@kabir0x23 I can't see the news section on the Home page. Can you tell me how to find it?

There is a routing issue in the News section since we changes the navbar design, and we didn't notice that till now.
Will you be able to fix that routing path?
let me know, otherwise will fix it my self.
Thanks

I'll see how it goes and let you know.

I'll see how it goes and let you know.

Awesome 👍

@kabir0x23 I have fixed the routing issue for News which is under Learn Dropdown. Can you confirm where to implement infinite scroll as I can't see news on home page? or am I missing something.

@kabir0x23 I have fixed the routing issue for News which is under Learn Dropdown. Can you confirm where to implement infinite scroll as I can't see news on the home page? or am I missing something?

is NEWS visible under learn > news section?
after you open that NEWS section?
if not
create an issue on fixing news routing and send the PR.
and then I can give a look at this issue.

is NEWS visible under learn > news section?
after you open that NEWS section?

Yes it is visible then.

is NEWS visible under learn > news section?
after you open that NEWS section?

Yes it is visible then.

yes, have to implement it here.

@kabir0x23 Do I raise a PR for that fix or is it okay to do it with this issue?

this same feature we  have impemented here before
https://github.com/CryptoverseWeb3/cryptoverseWeb3.com
if you got stuck anywhere, you can checkout this code.
Thank you.

@kabir0x23 Do I raise a PR for that fix or is it okay to do it with this issue?

Yes you can raise a one pr for both fixes


[BUG] /auth/logout cannot clear session info

Opening issue from an old one that had to be deleted. From @jezsy:

It seems OpenSearch Dashboards does not properly invalidate sessions even after users explicitly log out.
Steps to Reproduce
Log in to Dashboards
Note value of generated cookie security_authentication
Log out of Dashboards via UI button
Use same security_authentication token and access Dashboards (e.g. url:5601/api/v1/configuration/account) - the session token still works
The security plugin does seem to be keeping track of the sessions somehow, because it invalidates the cookie after around an >hour of inactivity. However, the log out button only clears the cookie in the browser but does not invalidate the session on the >server side immediately
Using OpenSearch 1.2.3 and OpenSearch Dashboards 1.2.0 (with corresponding security plugins), with http_authenticator: basic >and authentication_backend: intern

This issues is due to how security plugin does session management.
Security plug-in manages session at client side and there is no server side session management. So during logout it only clear out the cookie and can't invalidate the session (as there is no session information at server side to invalidate it).
So, if someone present same session token which was not expired, it is valid.

Thanks for the feedback @hardik-k-shah
Do I understand correctly that cookie expiration is directly baked into the value of security_authentication itself? And hence why the cookie value is changing every access because the cookie expiry is being extended, due to session keepalive defaulting to true?
Is this documented anywhere, how Dashboards security handles session management? Tried to find in OpenSearch docs but couldn't seem to find any. The closest I could find was this reference in SearchGuard: https://docs.search-guard.com/latest/kibana-authentication-http-basic. Some of the parameters described here seem to still work, but would be nice to have them officially documented
Lastly, are there plans to improve/modify this behavior? I believe in Kibana it was addressed by this issue: https://github.com/elastic/kibana/issues/17870

Thanks @davidlago for bringing up this issue.  The session token that is granted has a time limit associated with it, until that limit has expired the token is still valid, closing this out as this is by design.
As updates are made to sessions management it possible improvements will be made, during those proposals and designs features like this will be up for consideration.