Linter should check that all rules have the correct CRS tag and version

The linter currently doesn't check that all rules have the OWASP_CRS and the version action.
As discussed in #3571, maybe not all rules need the tag (or should have it), but detection rules definitely should.
@airween?

This is a valid request, I can add more step to check the rule has a tag OWASP_CRS - but please help me, how can we formally describe the rule, which SecRule needs this tag? I mean rules with id:NNNN11, id:NNNN12... don't need this action (even so they mustn't have!).
Eg. SecRule's which have actions like block and deny?

Let's discuss this on Monday. It's already in the agenda.

Did we add something to the linter then? Can this one be closed?

Did we add something to the linter then?

No, as I remember we haven't made any decision. My question above is still relevant.

As far as I remember there was no hard opposition against tagging and versioning everything and instead of creating a complicated set of checks and exclusions, I suggest we tag and version everything.
We can look into plugins separately if it need be.

I agree with @dune73: tag all rules. I don't see the benefit of not tagging a subset of rules.

The new functions which check the existence of tag:'OWASP_CRS' and ver actions are done - but I need some help.
I need a reference value which describe the current ver value. Not it's 4.3.0-dev in main branch.
An additional note: the script in our workflow has a method which removes the comment signs before the SecRule and SecAction lines. This is necessary, because if the current file is during the check is crs-setup.conf.example, then we can check the necessary things on that file too.
So I can grab the current version from the first rule from there, namely 900000, or from the specified rule, eg. 900990.
What do you think about, which would be the preferred way? Store the version in a specific file (eg. VERSION in the root dir) and read it from there?
Or is there a GITHUB variable? But then we have to modify that too when the version is changed.

You can get the version by looking at the latest tag, e.g., git describe --tags, that will give you something like v4.2.0-75-g6a3df157 if the current commit is ahead of the tag or v4.2.0, if the current commit is the tagged commit. In the first case, you know that the ver mast be v4.3.0-dev, in the second case it must be v4.2.0.
Or you can read it from the setup file, that works too.

You can get the version by looking at the latest tag, e.g., git describe --tags, that will give you something like v4.2.0-75-g6a3df157 if the current commit is ahead of the tag or v4.2.0, if the current commit is the tagged commit.

I was thinking about git describe, but - may be something is wrong in my local repository - I got
$ git tag
2.2.7
2.2.8
2.2.9
nightly
test
...
v4.1.0
v4.2.0

and
$ git describe
2.2.7-4950-g742309b8

so I skipped that.

In the first case, you know that the ver mast be v4.3.0-dev, in the second case it must be v4.2.0.

This is the other problem: I don't like these implicit things. What if we use a patch level in a release (eg. v4.2.1), then what will the next version?

Or you can read it from the setup file, that works too.

Okay, then - if there is no idea - I'm going to introduce a new file with name VERSION in the source root.

git describe is not the same as git describe --tags. You need --tags because we don't use annotated tags.
Please don't add a a file to hold the version, we've worked hard to base versions on Git tags.

This is the other problem: I don't like these implicit things. What if we use a patch level in a release (eg. v4.2.1), then what will the next version?

The next version will always be <minor> + 1.

git describe is not the same as git describe --tags. You need --tags because we don't use annotated tags.

Ah, this makes sense - thanks. This works for me as you described.
$ git describe --tags
v4.2.0-92-g742309b8

Please don't add a a file to hold the version, we've worked hard to base versions on Git tags.

Right,

This is the other problem: I don't like these implicit things. What if we use a patch level in a release (eg. v4.2.1), then what will the next version?

The next version will always be <minor> + 1.

So I can hard code this scheme:
'4' '.' $MINOR+1 '.' '0'

right?

Yes, unless @fzipi or @dune73 have other opinions. Since we never really know what the next version will be, we simply use the next minor at the moment.

Here we have two scenarios:

the release is an LTS? Then it will be a patch probably, instead or minor. We should probably add -lts to the release 🤔
any other case, next minor is good.

I think we could just skip running the check for LTS. Such commits will usually be backports anyway.

I am not 100% sure there is agreement and if yes, I have not understood it yet. It may take a few more words to make it clear for everybody.

Proposed solution:

crs-setup.conf.example contains rule 900990
that rule's tag would be the reference for version tag
and that rule's ver would be the reference for ver action

All other rules must have this ver and a tag actions (including the commented ones).

Sounds good to me, but out of curiosity, why do you propose this solution instead of using the Git tag?

$ git describe --tags
v4.5.0-5-g25afc1e8

$ tail -n 3 crs-setup.conf.example
    tag:'OWASP_CRS',\
    ver:'OWASP_CRS/4.6.0-dev',\
    setvar:tx.crs_setup_version=460"

so, what is the correct version? v4.5.0-5 or 4.6.0-dev?
The other question: is there any way to get the current tag in GH workflow? Or should I run a subprocess inside of the Python script?

so, what is the correct version? v4.5.0-5 or 4.6.0-dev?

4.6.0-dev. -5 is the number of commits since the v4.5.0 tag.
You can use git via shell, some Git library for Python, or even the gh client from the shell. I recommend using git from the shell.

Is git command available inside of GH workflow?

Yes, when you use script: you have a full shell with all the tools installed in the container. Most of the tools one needs are already installed.

4.6.0-dev. -5 is the number of commits since the v4.5.0 tag.

The other problem is that to get the correct tag, everyone needs to fetch them explicitly. I mean if someone forgot to fetch tags, then he will get some false information. This is for the case if someone wants to check it on local.
Btw: if the git describe --tags gives value v4.5.0-5-g25afc1e8, then I should split it by -, and if the second part is greater than 0, then the correct tag is v4.6.0-dev? I need to split the first part, increment the second number, join it and append -dev?

If the current version has a tag then the output will be just v4.5.0. So you can simply check whether there's a suffix. Then split on . and increment the second number.

The other problem is that to get the correct tag, everyone needs to fetch them explicitly. I mean if someone forgot to fetch tags, then he will get some false information. This is for the case if someone wants to check it on local.

That is only partially correct. Tags that are reachable from objects that are fetched are downloaded as well (by default). So this would only be true for tags that are not on any branches normally updated (which means main usually).

I have a downloaded repository. It's very "old", I usually work there.
Here is what I saw today:
$ git describe --tags
v4.2.0-255-g25afc1e8

$ git fetch --tags upstream
remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 35 (delta 25), reused 34 (delta 25), pack-reused 0
Unpacking objects: 100% (35/35), 25.13 KiB | 279.00 KiB/s, done.
From https://github.com/coreruleset/coreruleset
 * [new branch]        fix/3354                    -> upstream/fix/3354
 ...
 * [new tag]           v4.5.0                      -> v4.5.0

$ git describe --tags
v4.5.0-5-g25afc1e8

Without git fetch --tags upstream I got a completely wrong value. This is what I want to avoid.

Makes sense, you didn't pull before you checked for tags. If you had pulled main you would have seen v4.5.0.

#3788 solves this, we can close the issue.


Sensor components iOS

Added the functionality of Barometer, MagneticFieldSensor and ProximitySensor in iOS

Can one of the admins verify this patch?

@AppInventorWorkerBee ok to test


Fix custom-metrics addon compilation

Description
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
The custom-metrics addon couldn't compile anymore after https://github.com/prometheus-operator/kube-prometheus/commit/80d04a1d53376ec31b3924b23d2fc1604bd0c952 because it was trying to get the value of $.values.prometheusAdapter.namespace inside of the field itself.
 Put an x in the box that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[x] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT (non-breaking change which improves existing functionality)
[ ] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry
Please put a one-line changelog entry below. Later this will be copied to the changelog file.

Fix a compilation error when building the custom-metrics addon

yes, what @IceWreck said

I switched to a pinned commit version of kube-prometheus. Not ideal and loggs ungly compared to a named version but it works with our existing workflow without hotpatching.


2 examples, neither work, getting "browse directory" view instead

kitchensink and helloworld-ts examples.

Also had to install webpack-dev-server, yarn develop failed without it:
yarn add -D webpack-dev-server
Then ran:
✗ node --version
v12.21.0

✗ yarn develop
yarn run v1.22.10
$ webpack serve --hot --port 8080 --disable-host-check --config webpack.develop.js
ℹ ｢wds｣: Project is running at http://localhost:8080/
ℹ ｢wds｣: webpack output is served from http://localhost:8080/
...
webpack 5.10.0 compiled successfully in 17501 ms
ℹ ｢wdm｣: Compiled successfully.

Result is screenshot up above. Node 12.

Not sure why you had to add the webpack dev server but its included in package.json and has been since May 6th.
Suspect that you are accessing the development server from the browser directly. The extension framework uses the Looker application URL parameter to load the javascript. The development server does not server up any HTML.


sites on dekstop are shown as if they were opened on a phone

Strange thing has happened to me - google works fine, but facebok opens up as if i was using my phone, i mean the site design is not for dekstops. sometimes even the links says m.facebook.com not facebook.com. how could i fix this?

At the moment tool is meant as a proof-of-concept and updates to site configs are not expected.


⚠ Arragon has degraded performance

In 304f49b, Arragon (https://arragon.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 2919 ms

Resolved: Arragon performance has improved in 44d7e11 after 18 minutes.


fix: MD039/no-space-in-links

Remove spaces inside link text

@nschonni : Thanks for your contribution! The author, @jeevansd, has been notified to review your proposed change.

We're reviewing this pull request.

This article does not require any next steps, so I have not added it. SaaS app tutorials are not TOC integrated.
Our toc is here: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-saas-tutorial-list
#sign-off


Fail to create frozen graph.

I'm trying to do visualization on custom pre trained model and I met with the problem after I tried to create frozen graph like this:
od_graph_def = tf.GraphDef()
with tf.gfile.GFile(PATH_TO_CKPT, 'rb') as fid:
    serialized_graph = fid.read()
    od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')

then I tried to do the activation visualization:
layers = ['r', 'p', 'c']

start = time.time()
temp = tf.get_default_graph()
print(temp)
X = tf.placeholder(np.uint8, shape = [1, 370, 1224, 3])
# with detection_graph.as_default():
# with sess_graph_path = None, the default Session will be used for visualization.\
is_success = activation_visualization(sess_graph_path = tf.get_default_graph(), value_feed_dict = {X : im},
                                          layers=layers, path_logdir=os.path.join("Log","Kitti"),
                                          path_outdir=os.path.join("Output","Kitti"))
start = time.time() - start
print("Total Time = %f" % (start))

Then I got the error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-14-82e3351f0452> in <module>()
     10 is_success = activation_visualization(sess_graph_path = tf.get_default_graph(), value_feed_dict = {X : im},
     11                                           layers=layers, path_logdir=os.path.join("Log","Kitti"),
---> 12                                           path_outdir=os.path.join("Output","Kitti"))
     13 start = time.time() - start
     14 print("Total Time = %f" % (start))

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tf_cnnvis-1.0.0-py2.7.egg/tf_cnnvis/tf_cnnvis.pyc in activation_visualization(sess_graph_path, value_feed_dict, input_tensor, layers, path_logdir, path_outdir)
    404 def activation_visualization(sess_graph_path, value_feed_dict, input_tensor = None,  layers = 'r', path_logdir = './Log', path_outdir = "./Output"):
    405     is_success = _get_visualization(sess_graph_path, value_feed_dict, input_tensor = input_tensor, layers = layers, method = "act",
--> 406         path_logdir = path_logdir, path_outdir = path_outdir)
    407     return is_success
    408 def deconv_visualization(sess_graph_path, value_feed_dict, input_tensor = None,  layers = 'r', path_logdir = './Log', path_outdir = "./Output"):

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tf_cnnvis-1.0.0-py2.7.egg/tf_cnnvis/tf_cnnvis.pyc in _get_visualization(sess_graph_path, value_feed_dict, input_tensor, layers, path_logdir, path_outdir, method)
    129     # convert all inplicit and explicit sess input cases to a PATH
    130     if isinstance(sess_graph_path, tf.Graph):
--> 131         PATH = _save_model(sess_graph_path)
    132     elif isinstance(sess_graph_path, tf.Session):
    133         PATH = _save_model(sess_graph_path)

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tf_cnnvis-1.0.0-py2.7.egg/tf_cnnvis/tf_cnnvis.pyc in _save_model(graph_or_sess)
     63         for op in ops:
     64             if 'variable' in op.type.lower():
---> 65                 raise ValueError('Please input a frozen graph (no variables). Or pass in the session object.')
     66
     67         with graph_or_sess.as_default():

ValueError: Please input a frozen graph (no variables). Or pass in the session object.

I'm not sure if I wrongly created the frozen graph. Please help me if I did it wrongly. Many thanks!

Hi @ZhengLyuFelix
Try using the session directly as mentioned in the error above

Please input a frozen graph (no variables). Or pass in the session object.
Since your model has variables present.

Also, there is no need to add an external standalone placeholder (X from the example above). It'll cause errors. Just pass in the input to your model, the library functions will detect the input node automatically.

Closing this for lack of activity. Reopen if needed.


:art: rewrite tagging of HTTPRequests and HTTPResponses

currently tagging is performed using MiddlewareTags Objects. Tagging is used for middleware processing steps to keep track of information between processing steps for the same components.

fixed in commits:

45869d7c4837d1f8f86b7d3876186f2474550c47
81bb307c30fc853cb91e73ac51e36e63d4947756


fix build

value toEither is not a member of scala.util.Try[A] xD

OH MY GOD

Codecov Report

Merging #211 into master will increase coverage by 0.2%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #211     +/-   ##
=========================================
+ Coverage   64.95%   65.15%   +0.2%
=========================================
  Files          27       27
  Lines        1247     1260     +13
  Branches      158      157      -1
=========================================
+ Hits          810      821     +11
- Misses        437      439      +2

Impacted Files
Coverage Δ

core/shared/src/main/scala/scalaz/zio/IO.scala
69.34% <0%> (-0.36%)
:arrow_down:

...d/src/main/scala/scalaz/zio/interop/scalaz72.scala
90.9% <0%> (+0.43%)
:arrow_up:

...e/shared/src/main/scala/scalaz/zio/KleisliIO.scala
74.02% <0%> (+0.69%)
:arrow_up:

core/jvm/src/main/scala/scalaz/zio/RTS.scala
90.95% <0%> (+1.73%)
:arrow_up:

Continue to review full report at Codecov.

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


Couple B787-9 Dreamliner liveries (Livery Request)

Note: The lines in every livery is man-made. So there might be some mistakes. Especially in the LOT Proud of Poland's Independence livery.
List of liveries I made:
Air New Zealand (Normal)
Air New Zealand (All Black)
Hainan Airlines
Japan Airlines (One World)
Latam (Brasil)
LOT Polish Airlines (Proud of Poland's Independence)
Neos
Oman Air
Shanghai Airlines
Suparna Airlines
TUIfly Nordic

Whoah, really impressive work here ! well done

Thanks lol


build: update babel packages #17439

Upgrade to the latest babel packages.

#17439

@googlebot I signed it!


Merge 'MiqTask' and 'Job' views (add former job specific columns to task view)

blocked:

[x] link miq_servers and miq_tasks table https://github.com/ManageIQ/manageiq/pull/14701
[x] replace Waiting_to_start state to Queued in miq_tasks table https://github.com/ManageIQ/manageiq/pull/14679
[x] do not destroy task if it is active https://github.com/ManageIQ/manageiq/pull/14658

related:

[x] remove references to Job#agent_message and use Job#message instead https://github.com/ManageIQ/manageiq/pull/14767
[x] merge jobs and tasks layouts https://github.com/ManageIQ/manageiq-ui-classic/pull/242

after merging https://github.com/ManageIQ/manageiq-ui-classic/pull/242 there is no difference between job and task from UI perspective - single view (product/views/MiqTask.yaml) used
This PR is adding columns to shared Jobs/Tasks view (which were present on UI for Job view):

Started_on
Server

BEFORE:

AFTER:

@miq-bot add-label fine/no

@miq-bot add-label refactoring

@miq-bot remove-label wip

Closing this PR due to migrating product/views/... to UI repository.
Same PR on UI: https://github.com/ManageIQ/manageiq-ui-classic/pull/1422


Walk through: https://towardsdatascience.com/genai-with-python-build-agents-from-scratch-complete-tutorial-4fc1e084e2ec

Walk through: https://towardsdatascience.com/genai-with-python-build-agents-from-scratch-complete-tutorial-4fc1e084e2ec


Re-downloaded from github, but I got container running error again

#Traceback (most recent call last):
?  File "/opt/mobileraker/mobileraker.py", line 14, in
/    from snapshot_client import SnapshotClient
B  File "/opt/mobileraker/snapshot_client.py", line 3, in
    from PIL import Image
T  File "/opt/venv/lib/python3.11/site-packages/PIL/Image.py", line 103, in
#    from . import _imaging as core
XImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
#Traceback (most recent call last):
?  File "/opt/mobileraker/mobileraker.py", line 14, in
/    from snapshot_client import SnapshotClient
B  File "/opt/mobileraker/snapshot_client.py", line 3, in
    from PIL import Image
T  File "/opt/venv/lib/python3.11/site-packages/PIL/Image.py", line 103, in
#    from . import _imaging as core
XImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory

I think we need to add some more libraries to get pillow to work.
Is there a way for me to test the image processing of the companion without having the "supporter" Version of the app @Clon1998?
Looking at the build requirements for pillow, the list of external libraries is quite extensive and I'd refrain from installing all the corresponding runtime libraries to not bloat the resulting image.
https://pillow.readthedocs.io/en/stable/installation.html#external-libraries

@mkuf Sure!
I can grant you the supporter status manually, however, that would require the anonymous user ID of your device. I don't have a reliable way of extracting that since I want to move to user accounts via either Apple, google/another SSO.
But I include it in the logs that you can find at the bottom of the App's settings. To extract it that way:

Force Close the app
Open it again
go to the settings and open debug logs
Copy the logs
Search for $RCAnonymousID: since that's the prefix. An typical ID would look like  $RCAnonymousID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dm it to me.

Also feel free to reach out to me via discord: Pad#3489

Thanks for the access @Clon1998!
I can't seem to replicate the described behaviour.
What architecture/computer are you running on @Maeians?
Please run docker system info on your machine and share the output here.
It does seem that on amd64 pillow does come with the necessary libraries, so I suspect that this is specific to any of the arm architectures. This does also explain why I can't replicate it in my dev setup.
mobileraker@3e8178a4d32d:/opt$ find / -iname *libopenjp*
/opt/venv/lib/python3.11/site-packages/Pillow.libs/libopenjp2-78c47f58.so.2.5.0

@mkuf Ok, I call Docker related information, as shown below
Last login: Sat Jun  3 20:07:00 2023 from <IP_ADDRESS>
root@onecloud:~# docker system info
Client: Docker Engine - Community
Version:    24.0.2
Context:    default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version:  v0.10.5
Path:     /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version:  v2.18.1
Path:     /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 4
Running: 2
Paused: 0
Stopped: 2
Images: 4
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.1.11-meson
Operating System: Debian GNU/Linux 11 (bullseye)
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 990.5MiB
Name: onecloud
ID: 5YTZ:WFSQ:K27X:YYCT:C2C4:G3NG:CT4G:6ST4:OT6I:MSJS:M6KH:7CW3
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Registry Mirrors:
https://rnvca2sh.mirror.aliyuncs.com/
Live Restore Enabled: false
Therefore, my Armbian system version is : Welcome to Armbian 23.02.2 Bullseye with bleeding edge Linux 6.1.11-meson

This firmware comes from the armbian project address of Wankeyun: https://github.com/hzyitc/armbian-onecloud
S805 chip
So Docker has been successfully installed here, and qinglong, kodexplorer, mainsail, etc. in other containers are running perfectly. Unfortunately, mobileker_companion cannot run in the container.

This is only affecting the armv7l architecture as far as I can see.
On my amd64 and aarch64 machines the issue is not occuring.
https://github.com/Clon1998/mobileraker_companion/pull/35 adds the required packages for running on armv7l

@mkuf @Clon1998 Unfortunately, the container error is still displayed
When I reinstalled, the error date is as follows

I used this machine as a backup server at the time, and it could only run containers and the like. I didn’t install the kiauh family plug-in, and Mainsail using Docker alone, but the armv7l you mentioned will only affect the architecture. I can consider replacing the amd64 and aarch64 machines to run mobileker_companion, thanks you work hard
But the last sentence is wrong because of the Docker command syntax "Run the Companion in Docker"
What should be correctly commanded is
docker run -d
--name mobileraker_companion
-v "$(pwd)/mobileraker.conf:/opt/printer_data/config/mobileraker.conf"
ghcr.io/clon1998/mobileraker_companion:latest
Maybe you can consider using the armv7l architecture, it runs perfectly in the container and kiauh, you can consider please try it

The PR I mentioned has not been merged yet, so you'll have to wait for that before trying again :)

@mkuf ok thanks, i'll try it later＼(°o°)／

@Maeians is it working now?

Not for the time being, I am still working on compatibility with all python dependent libraries related to armv7l, due to the artificial docker kernel, I am still working on it


Use the prometheus.type metric metadata to support double-writing unknown-typed metrics

Depends on https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/32605
This removes the gcp.untypedDoubleExport feature gate, as it is no longer needed.
Specification
From https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#gauges-1

An OpenTelemetry Gauge MUST be converted to a Prometheus Unknown-typed metric if the prometheus.type key of metric.metadata is unknown. Otherwise, it MUST be converted to a Prometheus Gauge.

cc @ridwanmsharif

Blocked by https://github.com/open-telemetry/opentelemetry-collector/pull/10026

I pinned the pdata dependency only in the integration test module (so it doesn't affect the released modules) to include https://github.com/open-telemetry/opentelemetry-collector/pull/10026.  This makes sure the fixture-based tests continue to work correctly.

This is ready for review now


map/guide of the standard library at the start of chapter 2

Should this be ordered from "simple to complex" by given zig file names or what order do you have in mind?


Smoothing reported death data

There are several issues with daily reported death data: Weekly trends including delays in reporting at weekends. One off issues eg addition of multiple care home deaths at irregular intervals.
It should be relatively simple to smooth the weekly trends. For irregular additions, these extra deaths could be proportionally redistributed back to the previous irregular addition.
The smoothed death distribution can then be better compared against the modelled distribution.

look at usa code we allow that now for you to test. read_data functions


fix #626

fix handling of "root" username for mysql container

error seems unrelated to my change?
Unrelated to that: Is there a way we could change the cake config, so one could build the nuget package locally too?
https://github.com/testcontainers/testcontainers-dotnet/blob/08e7fa5a6e1d08c02bf249db79ac57e097276ba6/build.cake#L133

error seems unrelated to my change?

Yes, the error does not relate to your change. I addressed it to the dev that contributed Azurite. I will take a look at your changes in the next days.

error seems unrelated to my change?

Yes, the error does not relate to your change. I addressed it to the dev that contributed Azurite. I will take a look at your changes in the next days.

@DanielHabenicht and @HofmeisterAn I created bug #631 to track the Azurite failure.

Unrelated to that: Is there a way we could change the cake config, so one could build the nuget package locally too?

Usually I set ShouldPublish to true:

Directly in the script? I thought there would be a Command Line Option for that, this way I always have to check what I commit :)

Directly in the script? I thought there would be a Command Line Option for that, this way I always have to check what I commit :)

That is what I do. I ignore those changes with my global .gitignore, but OC we can add a mechanism to force skip the WithCriteria checks.


More Info on the preview feature

I am looking to find more information about the custom authentication features listed in this link - https://azure.microsoft.com/en-us/roadmap/azure-active-directory-b2c-new-configuration-option-for-fully-customizable-authentication-journeys/

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

ID: 245ef8a4-a811-19b7-676c-aa9b82e2126f
Version Independent ID: ad2ec743-2aa7-b3c7-3350-2986a78d7c90
Content: What is Azure Active Directory B2C?
Content Source: articles/active-directory-b2c/active-directory-b2c-overview.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@Garima2k1 Thanks for your feedback! We will investigate and update as appropriate.

@Garima2k1 This feature is still in preview so we haven't finalized the documentation yet. Can you please provide us with further details on what items you are looking for in regards to this preview feature?

@Garima2k1 Since we have not heard back from you, we will now proceed to close this post. Please tag me in your reply if you do get the change to respond.

Hi Bryan,
Apologies for the delayed response. I was discussing this internally. We
had Microsoft presentation talking about this feature, and it is really
important for is to be able to move to B2C journey.
Could you please arrange some documentation or more information around this
feature. We would also like to do some POC on this feature. Thanks
Regards
Garima
On Tue, 12 Jun 2018 at 5:18 PM, Bryan Trach<EMAIL_ADDRESS>wrote:

@Garima2k1 https://github.com/Garima2k1 Since we have not heard back
from you, we will now proceed to close this post. Please tag me in your
reply if you do get the change to respond.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/9751#issuecomment-396774390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYAk1asmeY-TDb-6vIgDI9tTaq6l-8Pzks5t8FprgaJpZM4Ubc02
.

@BryanTrach-MSFT I am looking specific information around the feature to be able "to integrate with existing user stores of customers/citizens/employees". Could you share some information around this preview feature. Thanks.

@Garima2k1 Please note that preview products are not considered production workload ready until the feature goes GA.
The preview period is also the time when documentation is gathered and written so the doc author will be able to speak to their doc roadmap better than me.
@davidmu1 Are you able to provide documentation on the b2c preview feature in which customers integrate with existing user stores of customer/citizens/employees?

Thanks @BryanTrach-MSFT Bryan, I understand that preview feature will not be available for production until GA.
@davidmu1 could you please share the information around the b2c feature to integrate with existing user stores of customer/citizens/employees? Any draft documentation and how could we POC this feature. Thanks.

That is an old blog which is referring to the use of custom policies. There is nothing to change in the article referenced in this issue. For information about custom policies, see https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-overview-custom and https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-get-started-custom.
#please-close

@Garima2k1 We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@davidmu1 thanks for this link, but I think this does not address the
preview feature to connect to existing local user directory. It is still
talking about creating custom policies to use either social identity or
azure ad b2c tenant identity. From the description of preview feature I
assumed we could use user identity stored in our LDAP store?
On Fri, 29 Jun 2018 at 5:19 PM, femsulu-MSFT<EMAIL_ADDRESS>wrote:

Closed #9751 https://github.com/MicrosoftDocs/azure-docs/issues/9751.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/9751#event-1709734201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYAk1QYrd1i7DIlYR790ZcvBI9R1AUnQks5uBsQdgaJpZM4Ubc02
.

@Garima2k1 could you please post such questions on stack overflow using the tag 'azure-ad-b2c'. This repo (and its issues) are intended for documentation issues.
To quickly answer your questions, using custom policies, you can call out to rest API's, SAML identity providers (like ADFS) and OpenID connect identity providers. To connect to LDAP, i'm assuming you will have to use ADFS in the middle. You can find articles on how to integrate with ADFS under the identity experience framework section in the navigation section.


choose arch

currently this command:
cargo run get-toolchain 14.33 hello

gets every arch. In my case I only care about X64

Hi,
indeed there is no arch filter implemented for now.
For a package, there are fields "productArch" and "machineArch", but they don't appear to be present on all packages alas. So, it should be filtered by search for arch identifier in package.id.
Depending on what you are looking for, you can check those projects:

https://github.com/Jake-Shadle/xwin
https://github.com/mstorsjo/msvc-wine

thanks, the Xwin seems to be pretty cool!

so are you refusing to add this feature here?

I'm 100% open to add this here,  but I don't know when I'll be able to work on it.
If you are trying to build things using msvc, xwin/msvc-wine are much more mature and available now.
For now, this project only downloads and extracts some packages. It was mainly started to understand Visual Studio installer and its manifest structure.

I'm 100% open to add this here, but I don't know when I'll be able to work on it.
If you are trying to build things using msvc, xwin/msvc-wine are much more mature and available now.
For now, this project only downloads and extracts some packages. It was mainly started to understand Visual Studio installer and its manifest structure.

Upon further checking, it seems Xwin is not an option, because it does not include the compiler cl.exe. So if you ever get around to fixing the Arch feature here, it would be much appreciated.


Allow a request in FINISHED state to be redeployed

Should probably add some messaging in the ui about what FINISHED actually means (that a provided schedule has no more iterations).
This should cover the case of allowing a finished request to be redeployed, since there is currently no other way to update it other than to pause + deploy to unpause with a new schedule. Previously it was hitting the case in the deploy checker for isActive and failing every deploy at that point.
This sets the state of the request back to active when the new deploy is created, which will allow it to pass the deploy checked.
Still need to add tests and determine if a deploy failure will allow it to move back to finished state correctly

Changed this up and added a test for it. Instead of setting to active before the deploy, I am setting it to active after a successful deploy, and allowing FINISHED states to pass through the deploy checker.

🚢


safari reCAPTCHA v3 API

Google Recaptcha V3 is not working on Safari Browser in iOS devices. Is there any solution for it ?
https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php

This is Safari for windows: discontinued, last version: 5.1.7 on May 9, 2012

As stated in the previous comment, this looks like an unsupported platform.


Issue: How to add chat history in prompt template

Issue you'd like to raise.

```
def generate_custom_prompt(query=None, name=None, not_uuid=None, chroma_db_path=None):
    check = query.lower()
    embedding = OpenAIEmbeddings()
    vectordb = Chroma(persist_directory=chroma_db_path, embedding_function=embedding)
    retriever = vectordb.as_retriever(search_kwargs={"k": 2})
    relevant_document = retriever.get_relevant_documents(query)
    print(relevant_document, "*****************************************")
    context_text = "\n\n---\n\n".join([doc.page_content for doc in relevant_document])
    user_experience_inst = UserExperience.objects.get(not_uuid=not_uuid)
    greetings = ['hi', 'hello', 'hey', 'hui', 'hiiii', 'hii', 'hiii', 'heyyy']
    if check in greetings:
        custom_prompt_template = f"""
        Just simply reply with "Hello {name}! How can I assist you today?"
        """
    elif check not in greetings and user_experience_inst.custom_prompt:
        custom_prompt_template = f"""Answer the question based only on following context: ```{context_text} ```
        You are a chatbot designed to provide answers to User's Questions:```{check}```, delimited by triple backticks.
        Generate your answer to match the user's requirements: {user_experience_inst.custom_prompt}

        If you encounter a question for which you don't know the answer, please respond with 'I don't know' and refrain from making up an answer.
        - Before saying 'I don't know,' please re-verify your vector store to ensure the answer is not present in the database.

        Remember, your goal is to assist the user in the best way possible. If the question is unclear or ambiguous, feel free to ask for clarification.

        User's Question: ```{check}```
        AI Answer:"""
    else:
        custom_prompt_template = f"""Generate your response exclusively from the provided context: {{context_text}}. You function as a chatbot specializing in delivering detailed answers to the User's Question: ```{{check}} ```, enclosed within triple backticks.
            Generate your answer in points in the following format:
            1. Point no 1
                1.1 Its subpoint in details
                1.2 More information if needed.
            2. Point no 2
                2.1 Its subpoint in details
                2.2 More information if needed.
            …
            N. Another main point.

            If you encounter a question for which you don't know the answer based on the predefined points, please respond with 'I don't know' and refrain from making up an answer.
            However, if the answer is not present in the predefined points, then Provide comprehensive information related to the user's query.
            Remember, your goal is to assist the user in the best way possible. If the question is unclear or ambiguous, you can ask for clarification.

            User's Question: ```{{check}} ```
            AI Answer:"""

    custom_prompt = ChatPromptTemplate.from_template(template=custom_prompt_template)
    formatted_prompt = custom_prompt.format(context_text=context_text, check=check)
    llm = ChatOpenAI(temperature=0.1)
    memory = ConversationBufferMemory(llm=llm, output_key='answer', memory_key='chat_history', return_messages=True)
    qa = ConversationalRetrievalChain.from_llm(llm=llm, memory=memory, chain_type="stuff", retriever=retriever,
                                               return_source_documents=True, get_chat_history=lambda h: h, verbose=True,
                                               combine_docs_chain_kwargs={"prompt": PromptTemplate(
                                                   template=custom_prompt_template, input_variables=["context_text", "check"])})
    return qa
```

How to add chat history in prompt template as well in above function
Suggestion:
No response

Chat History: ```{{history}}```

🤖
Hello again, @deepak-habilelabs! Nice to see you working on LangChain. Let's dive into your issue.
To include the chat history in the prompt template, you can modify the generate_custom_prompt function to include a history parameter that stores the chat history. This history parameter can be a list of strings, where each string is a previous message in the chat.
You can then include this history in your custom_prompt_template by adding a placeholder for it, such as {history}. When you format the custom_prompt_template, you can pass in the history parameter to replace the {history} placeholder with the actual chat history.
Here's an example of how you can modify your function to include the chat history:
def generate_custom_prompt(query=None, name=None, not_uuid=None, chroma_db_path=None, history=None):
    # ... existing code ...

    if check in greetings:
        custom_prompt_template = f"""
        Just simply reply with "Hello {name}! How can I assist you today?"
        """
    elif check not in greetings and user_experience_inst.custom_prompt:
        custom_prompt_template = f"""Answer the question based only on following context: ```{context_text} ```
        You are a chatbot designed to provide answers to User's Questions:```{check}```, delimited by triple backticks.
        Generate your answer to match the user's requirements: {user_experience_inst.custom_prompt}

        If you encounter a question for which you don't know the answer, please respond with 'I don't know' and refrain from making up an answer.
        - Before saying 'I don't know,' please re-verify your vector store to ensure the answer is not present in the database.

        Remember, your goal is to assist the user in the best way possible. If the question is unclear or ambiguous, feel free to ask for clarification.

        User's Question: ```{check}```
        AI Answer:
        Chat History: ```{history}```"""
    else:
        custom_prompt_template = f"""Generate your response exclusively from the provided context: {{context_text}}. You function as a chatbot specializing in delivering detailed answers to the User's Question: ```{{check}} ```, enclosed within triple backticks.
            Generate your answer in points in the following format:
            1. Point no 1
                1.1 Its subpoint in details
                1.2 More information if needed.
            2. Point no 2
                2.1 Its subpoint in details
                2.2 More information if needed.
            …
            N. Another main point.

            If you encounter a question for which you don't know the answer based on the predefined points, please respond with 'I don't know' and refrain from making up an answer.
            However, if the answer is not present in the predefined points, then Provide comprehensive information related to the user's query.
            Remember, your goal is to assist the user in the best way possible. If the question is unclear or ambiguous, you can ask for clarification.

            User's Question: ```{{check}} ```
            AI Answer:
            Chat History: ```{{history}}```"""

    # ... existing code ...

In this example, I've added a history parameter to the generate_custom_prompt function and included a {history} placeholder in the custom_prompt_template. When you format the custom_prompt_template, you can pass in the history parameter to replace the {history} placeholder with the actual chat history.
Please note that this is a simplified example and the actual implementation may vary depending on the details of your application and the LangChain framework. For example, you may need to format the history parameter into a string before passing it to the custom_prompt_template.
I hope this helps! If you have any further questions, please let me know.
Sources

libs/core/tests/unit_tests/prompts/test_chat.py
libs/langchain/langchain/chains/qa_generation/prompt.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

How to use it in memory and conversational retreival chain?

memory = ConversationBufferMemory(llm=llm,output_key='answer',memory_key='chat_history',return_messages=True)
qa = ConversationalRetrievalChain.from_llm(llm=llm,memory=memory,chain_type="stuff",retriever=retriever,return_source_documents=True,get_chat_history=lambda h : h,verbose=True, combine_docs_chain_kwargs={"prompt": PromptTemplate(template=custom_prompt_template,input_variables=["context_text","check"])})

🤖
To incorporate the history parameter into the ConversationBufferMemory and ConversationalRetrievalChain objects in your modified generate_custom_prompt function in the LangChain application, you can follow the examples provided in the RunnableWithMessageHistory class.
Firstly, you need to create a ChatPromptTemplate that includes a MessagesPlaceholder for the history. This placeholder will be replaced with the actual history when the prompt is generated.
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder

prompt = ChatPromptTemplate.from_messages([
    ("system", "You're an assistant who's good at {ability}"),
    MessagesPlaceholder(variable_name="history"),
    ("human", "{question}"),
])

Then, you can create a RunnableWithMessageHistory object that wraps your ConversationalRetrievalChain (or any other Runnable object). This object will manage the chat history for the wrapped runnable.
from langchain_core.runnables.history import RunnableWithMessageHistory

chain_with_history = RunnableWithMessageHistory(
    chain,  # This should be your ConversationalRetrievalChain
    get_session_history,  # This should be a function that returns a ConversationBufferMemory
    input_messages_key="question",
    history_messages_key="history",
)

The get_session_history function should return a ConversationBufferMemory object for the given session. This function will be called with the session_id from the config.
Finally, you can invoke the chain_with_history with the history and question parameters in the input and the session_id in the config.
chain_with_history.invoke(
    {"ability": "math", "question": "What does cosine mean?"},
    config={"configurable": {"session_id": "foo"}}
)

This will generate a prompt that includes the history and the question, and then pass it to the ConversationalRetrievalChain. The ConversationalRetrievalChain should be designed to handle this kind of input.
You can find more details about this in the RunnableWithMessageHistory class.
As for the ConversationBufferMemory class, it is used for storing conversation memory. It provides methods and properties to manage the conversation history. You can find more details about this in the ConversationBufferMemory class.
I hope this helps! If you have any more questions, feel free to ask.
Sources

libs/core/langchain_core/runnables/history.py
libs/langchain/langchain/memory/buffer.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

Modify my code according to above.


Icons missing?

Some icons like https://fonts.google.com/icons?icon.query=video+camera+front seem to be missing or do i use them wrong?
<x-gmdi-video-camera-front class="h-6 w-6"/>

Unable to locate a class or view for component [gmdi-video-camera-front].

Also some variant like outline (https://fonts.google.com/icons?icon.query=voice+chat) are not working:
<x-gmdi-voice-chat class="h-6 w-6"/>

@martin-ro
we were planning to follow the release cycle of https://github.com/google/material-design-icons/, assuming that only what gets released is available on websitefonts.google.com. The last release was in Sep 2020 which do not have the icons you have mentioned.
You can update your composer dependency to "codeat3/blade-google-material-design-icons": "dev-master" which is an Unreleased version and which has all the icons which seems to be missing from the released version (https://github.com/codeat3/blade-google-material-design-icons/releases/tag/0.4.0).
Let me cross check few things, if fonts.google.com is not following the release cycle then we can change our release policy, and you would have all the latest icons without waiting for parent repo to tag a release.

You can update your package to 1.2.2 to take benefit of all the new icons.
From now on we won't wait for release and sync with the latest commits.


Update vendor packaging in pkg_resources to v19.2

Summary of changes
I bumped the version of vendor packaging of pkg_resources to v19.2 using the script proposed in #2179. I bumped it to v19.2 to keep it consistent with the version of packaging vendored under setuptools, but I can update this vendor to the latest version along with others as well if that's okay?
Closes #2175.
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in changelog.d. See documentation for details

In c30aca86, I ran pip-run paver -- -m paver update_vendored and it produced a small diff:
diff --git a/pkg_resources/_vendor/packaging/requirements.py b/pkg_resources/_vendor/packaging/requirements.py
index a175b8a2..c3424dcb 100644
--- a/pkg_resources/_vendor/packaging/requirements.py
+++ b/pkg_resources/_vendor/packaging/requirements.py
@@ -70,7 +70,7 @@ URL_AND_MARKER = URL + Optional(MARKER)
 NAMED_REQUIREMENT = NAME + Optional(EXTRAS) + (URL_AND_MARKER | VERSION_AND_MARKER)

 REQUIREMENT = stringStart + NAMED_REQUIREMENT + stringEnd
-# pyparsing isn't thread safe during initialization, so we do it eagerly, see
+# pkg_resources.extern.pyparsing isn't thread safe during initialization, so we do it eagerly, see
 # issue #104
 REQUIREMENT.parseString("x[]")

So I used that for consistency. I've also added a changelog entry.


NEXT-0000 - Fix: Do now require a sales channel id for the GenerateDocumentAction

1. Why is this change necessary?
As far as I can tell the GenerateDocumentAction does not requires a sales channel id.
2. What does this change do, exactly?
Remove the check if a sales channel id is set.
3. Describe each step to reproduce the issue or behaviour.
-
4. Please link to the relevant issues (if any).
-
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[x] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Your PR has been merged. Thank you for your contribution 🎉


Juris-M missing multi-lingual fields

OS X 10.11.4, FF 45.0.2, Juris-M <IP_ADDRESS>m67, BBT1.6.48
The following  item in Juris-M (for Firefox):

is exported as
@online{leishuku,
  title = {中國類書庫},
  url = {http://server.wenzibase.com},
  shorttitle = {leishuku},
  timestamp = {2016-04-21T13:06:09Z},
  langid = {pinyin},
  titleaddon = {中國類書庫},
  type = {Full-text databse},
  author = {{愛如生}},
  urldate = {2016-04-20},
  year = {n.d.},
  file = {Google-Ergebnis für http\://crossasia.org/uploads/tx_sbbtyponewsletter/rte/RTEmagicC_erudition.png.png:/Users/HALmob/Library/Application Support/Firefox/Profiles/6wgnt11i.default/zotero/storage/ZF99V7IR/imgres.html:}
}

none of the multi-lingual fields are included. Is this the expected behavior? I use JM Chicago style (but other styles have the same effect). This is the cite item result:
Ài rú shēng, 愛如生 Erudition. “Zhōngguó lèishū kù”, 中國類書庫 (Database of Chinese Encyclopeadias). Full-text databse. 中國類書庫 Zhōngguó lèishū kù, n.d. http://server.wenzibase.com.

There is no expected behavior yet, as this release is the first that works at all with Juris-M :)
I have no access to that item, but if you right-click it in Zotero and select "Send Better BibTeX Error", I will get a copy. If you click through that dialog, you'll get an ID, please post that here so I know which is yours. If you could attach the resulting BibTeX (or BibLaTeX, please specify which) here, I can get on that.

@retorquere thanks for looking into this. No time like the first time.
ErrorID: NV6HSWWG
the contents. of the leishuku.bib file are in the op you can download it from here as well.
Because of UTF-8 I only work with (better)biblatex (and biber as the backend) I have no idea about bibtex.
Some initial impression of working with juris-m and bbt:

autogenerated cite keys are a pain, regardless of the option to use or not use ascii for biblatex the initial keys are always __XXXX where "xxxx" is the year, and non-latin characters aren't processed.

it would be much better if bbt tried to generate a key using the transliteration, or translation information instead.
from what I understand so far biblatex can take titleaddon and authoraddon information to store transliteration / translation info, however, names only work for single author records, kind of voiding the whole thing.
the MWE from the above is special in that the author name field has both transliteration AND translation (it's a company). It is much more common for there to be only original and transliteration for names. (titles on the other hand often have both.)
*This SE thread describes a common solution for multi-lingual bibliographies in latex including cjk references.

tl;dr for bbt to play nice with juris-m transliteration and translation information should somehow be present in the exported biblatex files. Even if users have to edit the bib files to change the field names.

Is leishuku.bib what you want it to export, or what it does export? I'm looking for an entry how you want it to export.
On the other points:

The "as ASCII" setting only affects the fields, not the citekey. If you select "as ASCII" it will translate unicode characters to their LaTeX equivalent commands. What you want is "Force citation key to ASCII", which you have disabled currently. This force uses the Zotero transliteration -- it usually does OK with Latin-like languages, but Chinese (is that Chinese) I think it doesn't do so well. If you know of any projects that transliterate such characters well I'll be happy to look into those.
BBT does do that by default for most patterns, although there are some patterns that yield untransliterated keys, which is when  the "Force" option is useful.
Given that, what would you suggest?
I'm fine with that as long as I know how you want it
You wildly overestimate how well I understand BibLaTeX :grin: I don't know what I should take away from those threads.

(the reason for the first question above my list is that leishuku.bib doesn't seem to provide a solution for points 3 and 4)

no leishuku.bib is what is currently exported, and yes its a chinese reference.  Maybe we should open a new issue for the citation keys. Since it is a separate thing.
So after having another look at the biblatex docs there is three option to work around the fact that juris-m is capable of things that biblatex just isn't. I ll use the examples from the Stackexchange threads.

Monkey patch (aka do not use any fancy biblatex stuff) and let the users hack their document preambles; e.g.:

author = {Li, 李无未, Wuwei}

\newbibmacro*{name:cjk}[3]{%
 \usebibmacro{name:delim}{#2#3#1}%
 \usebibmacro{name:hook}{#2#3#1}%
 \mkbibnamelast{#1}%
 \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}}%
 \ifblank{#3}{}{\bibnamedelimd\mkbibnameaffix{#3}}}

add titleaddon and nameaddon to the default better biblatex export option. This will occasionally lead to bad .bib files due to a bug in biblatex.

Author = {{Li Wuwei}}, %Author as institution not individual
nameaddon = {李无未},

add a new export format biblatexml which requires biber (most juris-m users probably do already), but t's the only thing that can handle everything that juris-m is throwing at it.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="biblatexml.rng"
            type="application/xml"
            schematypens="http://relaxng.org/ns/structure/1.0"?>
<bltx:entries xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
  <bltx:entry id="key1" entrytype="book">
    <bltx:names type="author" morenames="3" useprefix="true">
      <bltx:name part xml:lang="zh" type="family">李</bltx:namepart>
      <bltx:name part xml:lang="zh" type="given">无未</bltx:namepart>
      <bltx:name part xml:lang="zh-alac97" type="family">Lǐ</bltx:namepart>
      <bltx:name part xml:lang="zh-alac97" type="given">Wúwèi</bltx:namepart>
    </bltx:name>
  </bltx:entry>
</bltx:entries>

I'm quite swamped atm, but i ll try to upload a working .bib examples for bilatex and biblatexml, I don't think monkey-patch is the way to go here. Let me know what you think.

Option 2 should be easy. Don't really fancy option 1. Option 3 is obviously desirable, but it will be more work (and the next few weeks I'll be swamped), and for the life of me I can't find documentation on what biblatexml is supposed to look like.

yes I contacted the biblatex and biber devs, waiting to hear back. It seems biblatexml is in pre-documentation beta. There seems to have been a multi-script branch of biblatex that is already in public but i can't find documentation for it either. I ll just export and process some items and see what the logs have to say.

Holy ... biblatexml is a schizo format. Parts XML, parts LaTeX. Why didn't they just settle on CSL-JSON?!

Ok after a bunch of testing, Biblatex just can't do it. There is an discussion thread here.

Option one could only work with access to zotero language prefs, where users already configure how transcriptions and translations should be handled in citations. Monkey-patching this for every possible combination of languages seems unfeasible. So users would need to be able to set this to fit their previous Tex documents and workflow.
Option two is on hold and not working with experimental or official branches of biblatex.
That leaves option three, but without better documentation for biblatexml I also don't see a way to implement this.

The only thing that seems both safe to use and not mess things up, is \titleaddon. Names, Publishers, Places etc.  are beyond reach. Currently titleaddon uses the same data as title, which doesn't make much sense [see op].  Instead BBT could do the following:

If there is only one title: use current behaviour.
If there is a title which has a variant from the same language family or has only one titlevariant: put it in titleaddon
If there is more then one variant or variants in other languages user usere to usera.

so for the example in the op error ID: PMNPC378
@online{leishuku,
  title = {中國類書庫}, % this is "zh" in jurism
  titleaddon={Zhōngguó lèishū kù}, % this is "zh-alalc97" in jurism
  %userd={Datenbank der chinesischen Encyclopädien} this would be further variants
  usere={Database of Chinese Encyclopeadias} % this is "en" title variant in jurism
  url = {http://server.wenzibase.com},
  shorttitle = {leishuku},
  timestamp = {2016-04-21T13:06:09Z},
  langid = {pinyin}, %babel for "zh"
  type = {Full-text databse},
  author = {{愛如生}},
  urldate = {2016-04-20},
  year = {n.d.},
  file = {Google-Ergebnis für http\://crossasia.org/uploads/tx_sbbtyponewsletter/rte/RTEmagicC_erudition.png.png:/Users/HALmob/Library/Application Support/Firefox/Profiles/6wgnt11i.default/zotero/storage/ZF99V7IR/imgres.html:}
}

this would at least safe users from manually copying the title information, and play nice with current releases of biblatex and biber.

Holy poo, that is a royal mess.
The author of Juris-M suggested a while ago everyone should just give up on Bib(La)TeX and wrap citeproc instead -- I'm beginning to believe that's actually the right approach. Fortunately, the aux/bbl/bcf process/format is exceedingly well documented (ahem) so that should happen any day now (right).

Yes and after looking into this again a few years after my last foray into bibtex I agree with Frank. What do you make of my suggestion about titles? Any idea why BBT currently repeats the title and puts it into titleaddon on export?

Oh yeah I have an idea why -- I didn't know what I was doing when I implemented that. The titles sounds sensible, and fits easily in the current implementation.

So for the comment I've marked leishuku:1:

How would I decide what goes into titleaddon, and what goes into usere? The reference doesn't provide a preference
Why usere instead of usera?
The data for userd isn't in the reference

Based on swarm intelligence usere seems to be most common, no clue why. But it's pretty consistent so there might be a reason.
Yes, I just put the German into the commented section for demonstration purposes.
In my example titleaddon would be used for iso lang variants, e.g.  the title is "zh" titleaddon is "zh-alalc97". "En", "uz" … would be user[a-z]. So comparing the Lang attribute could determine that. Since more citation styles use titleaddon if there is only two zotero title variants use it regardless of languages. User[a-z] is a last resort thing.
Since neither titleaddon nor user[-z] have defined uses this seemed the most consistent to me. It s also  in line with the majority of  examples I found online during the last couple of days.

Can you give https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.50-circle-2369.xpi a try?

I did but with leishuku it gave an an error. ID VHCCSTTK I've tried the reference from the citekey example and that worked fine:

@collection{__2000-4,
  location = {{北京}},
  edition = {Revised Edition},
  title = {春秋左傳注},
  isbn = {7-101-00262-5},
  volumes = {4},
  timestamp = {2016-05-05T10:12:00Z},
  langid = {pinyin},
  titleaddon = {Chunqiu Zuozhuan Zhu},
  publisher = {{中华书局}},
  editor = {{楊伯峻}},
  date = {2000},
  keywords = {Chun qiu,Confucius,Zuoqiu; Ming,Zuo zhuan,左丘明,左傳,春秋},
  file = {Yang Bojun 楊伯峻 - 1981 - Chunqiu Zuozhuan Zhu 春秋左傳注.pdf:/Users/HALmob/Library/Application Support/Firefox/Profiles/6wgnt11i.default/zotero/storage/JMGHFDD2/Yang Bojun 楊伯峻 - 1981 - Chunqiu Zuozhuan Zhu 春秋左傳注.pdf:application/pdf},
  origdate = {1981}
}

The reference in VHCCSTTK doesn't have any multi fields as I hadn't merged #483 yet. Could you submit again with https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.50-circle-2373.xpi ?

New version at https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.51-circle-2379.xpi -- .51 is out, and it will update over 2373 had you already installed it.

New 2379 error id for leishuku is DHXCG57F still an empty export.
38EJAWMJ on the other hand works fine:

@thesis{yan_cairong__2003,
  title = {明清時期出版與文化─以「才子佳人」小說為中心},
  url = {http://ndltd.ncl.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dnclcdr&s=id=%22091NCNU0493006%22.&searchmode=basic},
  pagetotal = {214},
  timestamp = {2016-05-06T19:43:11Z},
  titleaddon = {Publishing and Culture in Ming-Qing period : The Scholar-Beauty Novels as an Example},
  institution = {{國立暨南國際大學}},
  type = {Ph.{{D}}. {{Dissertation}}},
  author = {{顏采容}},
  date = {2003},
  file = {Yan Cairong 顏采容 Ming-Qing Publishing Culture 明清時期出版與文化─以「才子佳人」小說為中心 (200X).pdf:/Users/halalpha/Library/Application Support/Firefox/Profiles/sklfgs3h.default/zotero/storage/K9JJ2XHZ/Yan Cairong 顏采容 Ming-Qing Publishing Culture 明清時期出版與文化─以「才子佳人」小說為中心 (200X).pdf:application/pdf}
}

I don't see a . in the citekey? But yeah the [zotero] pattern isn't really great. The only reason it's the default is to help people over.
I've found the problem triggered by the leishuku example, try the updated https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.51-circle-2380.xpi
There's a separate problem that makes my tests fail as multi-lingual references cause Juris-M to error out on the import, which makes tests currently impossible. I could work around it, but I don't know what the side effects of that would be, I've lodged a new issue at Juris-M.

very nice 2380 no more error and the output is as expected.

@online{leishuku,
  title = {中國類書庫},
  url = {http://server.wenzibase.com},
  shorttitle = {leishuku},
  timestamp = {2016-04-21T13:06:09Z},
  langid = {pinyin},
  titleaddon = {Zhōngguó lèishū kù},
  usere = {Database of Chinese Encyclopeadias},
  type = {Full-text databse},
  author = {{愛如生}},
  urldate = {2016-04-20},
  year = {n.d.},
  file = {Google-Ergebnis für http\://crossasia.org/uploads/tx_sbbtyponewsletter/rte/RTEmagicC_erudition.png.png:/Users/halalpha/Library/Application Support/Firefox/Profiles/sklfgs3h.default/zotero/storage/ZF99V7IR/imgres.html:}
}

I can't explain right now how 2379 would be different from 2380 when it comes to generating the citekey when the date is n.d., but if you're happy with the results of 2380, that's good enough for me.
I'm waiting for feedback on https://github.com/Juris-M/zotero/issues/20 before I merge this into master, as I want to have tests in place, and I can't until that issue is either fixed in Juris-M, or I get feedback that my proposed workaround is safe to use.

For confirmation, the latest build passes all tests, including the newly added tests for this issue; the biblatex they export to can be found here. If you could confirm that biblatex looks good, I can merge and release, unless you have more test cases you want me to tackle.

I ve checked with about 10 different items with different types and multi-lingual fields, all worked well. citekeys are solid, and titleaddon and usere show probably more consistence then in biblatex itself. All good from my end, thanks again for the efforts.


Feature request: list all supported AMD video cards.

When I buy any recent NVIDIA video card, I know it supports CUDA.
When I see people open issues here saying their AMD video card can't initialize ROCm stack, the usual response from AMD employees is "we don't support that video card".
I can find mentions of some supported AMD video cards in some obscure AMD PDFs on the Internet, but
would've been nice to just have a list of all AMD video cards that are currently supported.
Thanks.

I agree.
In my opinion, it would be helpful to indicate the support status in some groups: the software tools (e.g. for debug), the OpenCL/HIP runtime, the HPC libraries, the machine learning libraries, etc.
This prevents the issue from focusing on one ROCm repository.
It also makes it easier to provide appropriate support and report problems.

I agree too.
I only find a list from here:
https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/Prerequisite_Actions.html
But for RDNA GPUs, do 6800xt and 6900xt support by this release?

I agree, almost every Nvidia GPU available on the market today supports CUDA without looking at the support list.  But when I wanted to buy a new laptop (with AMD CPU and GPU) I was surprised to find that the latest RX 6000M or 6000S series GPUs do not support ROCm technology. I also see why people on the web are talking about older AMD GPUs. It's incomprehensible that the latest GPUs can't use ROCm.

I agree. I think it has been clearly stated that ROCM will come with RDNA2 support (https://github.com/RadeonOpenCompute/ROCm/issues/1180). It was also said to happen already in 2021. 6000 series GPUs are RDNA2 right?

Please stay on topic of this issue, this issue is about an official list of all supported AMD video cards and feature levels, as was suggested by @Umio-Yasuno, not about some particular video cards you want to know about. Open another issue if you want to know which ones or if all RDNA2 video cards are supported, though this issue is not about that. Thanks! 🙂

I've been attempting to create something analogous to this in #1617
It's doesnt currently include pre-RDNA cards, but I'd gladly welcome contributions from others to track
A: What cards are supported in the latest version
B: What was the last version of ROCm to support a given card
C: What card has no support in any version whatsoever

Hi @procedural
Thanks for reaching out.
You are looking for the information of listing each and every card that supports ROCm?
Our docs have this information right? This needs to be matured or do you wish to see the list in a different way?
Please share your thoughts.

You are looking for the information of listing each and every card that supports ROCm?

Yes, a list of all AMD cards AMD officially supports for latest versions of ROCm. Such a list can be updated if support for some AMD cards or ROCm versions is dropped.

Our docs have this information right? This needs to be matured or do you wish to see the list in a different way?

This repository doesn't have a direct link to such a list, @nlnjnj found one, but it already conflicts with the links from https://docs.amd.com for ROCm v5.0 and ROCm v5.0.1 which point to https://docs.amd.com/bundle/AMD_ROCm_Release_Notes_v4.5/page/Hardware_and_Software_Support.html that doesn't state that RDNA cards are supported, even though https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/Prerequisite_Actions.html states they are.
This is all confusing. Just have a single list of currently supported AMD video cards and link it to this repository's readme. Thanks.

Team green has set a great example: https://developer.nvidia.com/cuda-gpus

You are looking for the information of listing each and every card that supports ROCm?

Yes, a list of all AMD cards AMD officially supports for latest versions of ROCm. Such a list can be updated if support for some AMD cards or ROCm versions is dropped.

Our docs have this information right? This needs to be matured or do you wish to see the list in a different way?

This repository doesn't have a direct link to such a list, @nlnjnj found one, but it already conflicts with the links from https://docs.amd.com for ROCm v5.0 and ROCm v5.0.1 which point to https://docs.amd.com/bundle/AMD_ROCm_Release_Notes_v4.5/page/Hardware_and_Software_Support.html that doesn't state that RDNA cards are supported, even though https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/Prerequisite_Actions.html states they are.
This is all confusing. Just have a single list of currently supported AMD video cards and link it to this repository's readme. Thanks.

Hi @procedural
I have updated the same to our documentation team, request to wait for sometime.
Thank you.

Thank you for reaching out, @procedural. This issue is fixed. Could you please access https://docs.amd.com, and click the link in the Support Documentation box.
As always, we look forward to your feedback for improvement.
Sincerely,
AMD ROCm Documentation Team

So the new link is
https://docs.amd.com/bundle/Hardware_and_Software_Reference_Guide/page/Hardware_and_Software_Support.html
, correct?

That is correct.

Thanks, the issue can be closed then.
It would also be nice to add the link to this repository's readme directly, to track it if it will change in future.


[Issue #90] (Team 1) - Added Dictionary Predicate

@chenlica @JavierJia  Kindly review this.

Added @zuozhi to this PR if he has time to review it quickly.  If not, that's fine, and it should't be blocking. I will do mine today.

This PR looks good to me.  You can take care of a minor comment then do the merge.

Make sure to delete this branch.

Done


'Flutter/Flutter.h' file not found on iOS 18

Steps to reproduce
Run flutter app in iOS 18 (Device - iPhone 13 Mini)
Expected results
It should run without an error.
Actual results
I am using webview_flutter version 4.9.0 (Latest version)
When I ran the app on iOS 18 (Device - iPhone 13 Mini), It showed the following error.
'Flutter/Flutter.h' file not found
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @sabbir420, please provide the output of flutter doctor -v.
Do you get this issue with the webview example app?
Please provide the full output of flutter run -v.
Thank you

Hi @danagbemava-nc
This is the output of flutter doctor -v
`[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-BD)
• Flutter version 3.24.3 on channel stable at /Users/mdsabbirhossain/Documents/develop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (12 days ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/mdsabbirhossain/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16A242d
• CocoaPods version 1.15.2
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.93.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.96.0
[✓] Connected device (4 available)
• Sabbir’s iPhone (mobile)        • 00008020-0005581E1479002E            • ios          • iOS 17.6.1 21G93
• iPhone 13 mini (mobile)         • AA4BA651-0D32-4648-8012-1615DFFD3374 • ios          • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator)
• macOS (desktop)                 • macos                                • darwin-arm64 • macOS 15.0 24A335 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin       • macOS 15.0 24A335 darwin-arm64
[✓] Network resources
• All expected network resources are available.`
This is the output of flutter run -v
`[   +1 ms] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFWebsiteDataStoreHostApi.h
:9:8
[   +1 ms] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFWebViewHostApi.h:9:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFWebViewFlutterWKWebViewEx
ternalAPI.h:10:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFUserContentControllerHost
Api.h:9:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFWebViewConfigurationHostA
pi.h:9:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFURLProtectionSpaceHostApi
.h:11:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFURLHostApi.h:9:8
[        ] Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
/Users/mdsabbirhossain/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.15.0/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/include/webview_flutter_wkwebview/FWFURLCredentialHostApi.h:12
:8
[   +1 ms] Could not build the application for the simulator.
[        ] Error launching application on iPhone 13 mini.
[   +1 ms] "flutter run" took 27,702ms.
[   +1 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1408:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)

#8      run.. (package:flutter_tools/runner.dart:130:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)

#10     main (package:flutter_tools/executable.dart:93:3)

[ +174 ms] ensureAnalyticsSent: 173ms
[        ] Running 2 shutdown hooks
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 1`

Hi @sabbir420, @nkrmr, can we get the full output of flutter run -v not just before the tool exits. The output is going to be huge so please put it into a .txt file or pastebin and share it here.
Also, can you try
flutter clean
flutter pub get
flutter pub upgrade

And try running your app again to see if you still experience this issue? Please also share the full verbose output after trying this.
Thank you

@danagbemava-nc I have tried everything, couldn't solve the issue. I have cleaned the podfile even I deleted iOS folder and regenerate the iOS folder. It doesn't solve the issue either.
Here is the log file.
log.zip

Hi @sabbir420, can you try cleaning your pub cache and try again?
You can clean your pub cache by running
flutter pub cache clean

You will need to re-run flutter pub get in your project. Also, some parts of your logs were missing. Please provide the full logs.
Thank you

Hello,
We have tried every solution we could find on the internet to resolve the issue, including all the common troubleshooting steps like flutter clean, flutter pub get, and flutter pub upgrade. However, none of these approaches worked. We even performed a fresh installation of Flutter, but the problem persists. It seems to be directly related to the migration to iOS 18 and Xcode 16, as everything was working perfectly before this migration.
You can replicate the issue with a fresh Flutter installation using the provided pubspec.yaml. Despite using a clean environment, the project still fails to build, and we continue to encounter the 'Flutter/Flutter.h' file not found error.
We would appreciate any further assistance or insights into resolving this problem, as it appears to be related to recent changes in Xcode or the iOS SDK. Thank you for your help!
name: flutter_app
description: A new Flutter project with Clean Architecture
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1

environment:
  sdk: ">=3.4.0 <4.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter
  cloud_firestore: ^5.4.2
  firebase_core: ^3.1.0
  firebase_auth: ^5.1.0
  flutter_bloc: ^8.1.6
  equatable: ^2.0.5
  get_it: ^8.0.0
  google_sign_in: ^6.2.1
  sign_in_with_apple: ^6.1.1
  flutter_signin_button: ^2.0.0
  cupertino_icons: ^1.0.6
  provider: ^6.1.2
  flutter_launcher_icons: ^0.14.0
  shared_preferences: ^2.2.2
  flutter_screenutil: ^5.9.0
  intl: any
  dartz: ^0.10.1
  flutter_spinkit: ^5.2.0
  flutter_svg: ^2.0.9
  dio: ^5.4.0
  logging: ^1.2.0
  json_annotation: ^4.8.1
  freezed: ^2.4.5
  cached_network_image: ^3.3.0
  pull_to_refresh: ^2.0.0
  shimmer: ^3.0.0
  device_preview: ^1.2.0
  webview_flutter: ^4.4.2
  photo_view: ^0.15.0
  mockito: ^5.4.3
  test_cov_console: ^0.2.2
  flutter_localizations:
    sdk: flutter
  internet_connection_checker_plus: ^2.5.1
  bloc: ^8.1.4
  email_validator: ^3.0.0
  flutter_native_splash: ^2.4.1
  rive: ^0.13.13
  eva_icons_flutter: ^3.1.0
  auto_route: ^9.2.0
  geolocator: ^13.0.1
  dynamic_color: ^1.7.0
  flutter_snake_navigationbar: ^0.6.1
  auto_size_text: ^3.0.0
  package_info_plus: ^8.0.2
  carousel_slider: ^5.0.0
  webview_flutter_web: ^0.2.3+2
  animations: ^2.0.11

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^2.4.7
  json_serializable: ^6.7.1
  flutter_lints: ^4.0.0
  bloc_test: ^9.1.7
  auto_route_generator: ^9.0.0

# Localization config
flutter_intl:
  main_locale: en
  enabled: true
  output_dir: lib/src/core/translations
  arb_dir: lib/src/core/translations

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/images/app_logo.jpg"
  min_sdk_android: 21 # android min sdk min:16, default 21
  web:
    generate: true
    image_path: "assets/images/app_logo.jpg"
    background_color: "#FFFFFF"
    theme_color: "#FFFFFF"
  windows:
    generate: true
    image_path: "assets/images/app_logo.jpg"
    icon_size: 48 # min:48, max:256, default: 48
  macos:
    generate: true
    image_path: "assets/images/app_logo.jpg"

flutter:
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  assets:
    - assets/images/
    - assets/images/auth/
    - assets/images/help/
    - assets/images/magic/
    - assets/videos/
    - assets/svgs/
    - assets/RiveAssets/

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font.
  fonts:
    - family: Nunito
      fonts:
        - asset: assets/fonts/Nunito/Nunito-Bold.ttf
          weight: 700
        - asset: assets/fonts/Nunito/Nunito-Medium.ttf
          weight: 500
        - asset: assets/fonts/Nunito/Nunito-Regular.ttf
          weight: 400
        - asset: assets/fonts/Nunito/Nunito-Light.ttf
          weight: 300

flutter_native_splash:
  color: "#ffffff"
  image: assets/images/splash/logo_flash_golf_splash.png
  color_dark: "#000000"
  image_dark: assets/images/splash/logo_flash_golf_splash.png
  android_12:
    image: assets/images/splash/logo_flash_golf_splash.png
    icon_background_color: "#ffffff"
    image_dark: assets/images/splash/logo_flash_golf_splash.png
    icon_background_color_dark: "#000000"
  fullscreen: true

@danagbemava-nc I have done the process already.
rm Podfile.lock
pod cache clear --all
pod deintegrate
flutter clean
flutter pub get
pod install

I have done this process also. But the issue persists.  I even backedup my Runner folder in iOS. I deleted the iOS folder and create again. But still the issue remains.

Hi @nkrmr, I used the pubspec.yaml file you provided in https://github.com/flutter/flutter/issues/155529#issuecomment-2375010774 in a new project but I run into this issue from the firebase repo https://github.com/firebase/flutterfire/issues/13323. After following the comment in https://github.com/firebase/flutterfire/issues/13323#issuecomment-2355013360 I was able to run the app successfully.  Can you also try that to see if it helps?
@sabbir420 can you also try same? And also, are you using firebase in your project?

@danagbemava-nc Yes I am using Firebase for my app. Okay, I will do the same and let you know the result.

Hi @danagbemava-nc , thanks for your suggestion. However, I’ve already tried those steps, and the issue still persists. Ever since I updated my MacBook to macOS Sequoia, Xcode 16, and iOS 18 on my phone, my builds keep failing. Everything was working perfectly before the update. Could it be that something has changed in these new versions? Have you heard of any recent changes that might be affecting this?
Thank you for your help!

Could it be that something has changed in these new versions? Have you heard of any recent changes that might be affecting this?

Hi @nkrmr, almost every new version of Xcode brings some changes, what exactly it is, we find out after we encounter them. Btw, could you provide the output of flutter doctor -v?

Hi @danagbemava-nc
My flutter doctor
flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-FR)
    • Flutter version 3.24.3 on channel stable at /Users/nkrmr/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (2 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/nkrmr/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.96.0

[✓] Connected device (4 available)
    • iPhone (mobile)                 • 00008120-001668891A30201E • ios            • iOS 18.0 22A3354
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.0 24A335 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.0 24A335 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 129.0.6668.60

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thank you for your help!

Hi @nkrmr, aside the change to you made for the firebase issue, have you made any changes to your build phases/settings? Also, can you share your Podfile & Podfile.lock? You can put these into a .txt file and share them here

Hi, @danagbemava-nc
the Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == 'BoringSSL-GRPC'
      target.source_build_phase.files.each do |file|
        if file.settings && file.settings['COMPILER_FLAGS']
          flags = file.settings['COMPILER_FLAGS'].split
          flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
          file.settings['COMPILER_FLAGS'] = flags.join(' ')
        end
      end
    end
  end
end

And the Podfile.lock
Thank you for your help!

Hi @nkrmr, I noticed in your Podfile that you're missing flutter_additional_ios_build_settings(target) in the post_install section. I see you updated that due to https://github.com/grpc/grpc/issues/36888 but it seems to have been fixed so it doesn't seem to be required anymore (as it was back ported to 0.0.36, see https://github.com/grpc/grpc/pull/37310)
Can you try removing that block and adding back  flutter_additional_ios_build_settings(target)  to see if you're able to build?

@danagbemava-nc @nkrmr I solved the issue by removing the Flutter framework from the Xcode project. After removing the framework, it will install as a new one. After removing the framework, do the following process.
rm -rf ~/Library/Developer/Xcode/DerivedData
rm Podfile.lock
pod cache clear --all
pod deintegrate
flutter clean
flutter pub get
pod install


Adding member bios component pages

Description
Adds the member bio component and logic for bio pages.

@mark-casias can you please update the units you used in the CSS? I prefer rem over em and always start a decimal with a 0. so margin-top: .67em; would be margin-top: 0.67rem;
thanks!

updated.. I also did a little layout adjustment so the social didn't wrap.


recursion in rollout

Is there a reason that the rollout simulation is recursive rather than in a while loop? It seems like that could have a large performance penalty

Yeah, doing a loop is better.

Its written recursively in DMU :)
It's also more compact (in code), since the backpropogation step can be handled naturally recursively. If you do a loop, you need to make sure to update all the previously visited states as you climb back up the tree.

Good point. :-)

Ahh I see. Yep, then putting it in a loop is the way to go.

fixed this in a recent commit


Live update

Hi @dergraf
can you update package repo? I want test, feature live update vernemq.
and on documents installation still version 0.10.1

Hi there,
We've updated the debian and ubuntu repos, we've currently facing a problem with the redhat packaging (we have to investigate..). Are you on a rpm based system, or deb?
Live upgrade won't work here as it we several parts of the update are not backward compatible. I guess that's the luxury of not being 1.0.0 yet.
Have a look at the changelog.txt to see what has changed.

Ok, I miss read changelog.
I use rpm based system.
when I compile source, I got error
===> Compiling /opt/app/vernemq/_build/default/lib/plumtree/src/hashtree_tree.erl failed
/opt/app/vernemq/_build/default/lib/plumtree/src/hashtree_tree.erl:141: referring to built-in type set as a remote type; please take out the module name

Ok, will check with the RPMs as soon as possible.
Have you started from a fresh git clone?

Thanks,
I was started fresh clone from git.

which version of Erlang are you using? It should be one of the 17.x series, 18.0 isn't working.

Erlang from repo epel Centos 7, version R16.
I will try with 17.x series.

ok, compile success.
when I compile, vmq_passwd needed openssl-devel.
Thanks

great! please let us know as soon as you run in public, we're eager to showcase your usecase.


string constructs

close #2

Codecov Report

Merging #9 (9ab9ada) into master (843f75c) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   96.55%   96.66%   +0.10%
==========================================
  Files          19       20       +1
  Lines         523      539      +16
==========================================
+ Hits          505      521      +16
  Misses         18       18

Impacted Files
Coverage Δ

src/String.jl
100.00% <100.00%> (ø)

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


latest.tar.gz.sha512sum files on AWS are missing.

the sha512sum files on AWS are missing.
Expected Behaviour
have latest.tar.gz.sha512sum and $v.tar.gz.sha512sum also on AWS
Current Behaviour
latest.tar.gz.sha512sum
and $v.tar.gz.sha512sum are on AWS
Possible Solution
add it to the upload at
https://github.com/tinkerbell/osie/blob/master/rules.mk.j2#L229

#136


test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource,  @tag.JS

Description

Adding tags to the existing test cases

We can now run GSheet test cases using -    /ok-to-test<EMAIL_ADDRESS>We can now run JS test cases using.        -    /ok-to-test<EMAIL_ADDRESS>and few datasource testcases using         -     /ok-to-test<EMAIL_ADDRESS>GSheet and Datasource tagged testcases using - /ok-to-test tags="<EMAIL_ADDRESS>Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing
How Has This Been Tested?

[x] Manual
[ ] Cypress

Test Plan

ok to test with tags added

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

Summary by CodeRabbit

New Features

Enhanced test suite categorization with the addition of metadata tags for improved filtering and organization.

Refactor

Reorganized test suite structures for clarity and maintainability.
Updated test descriptions and assertions for better test coverage.

Bug Fixes

Modified test cases to include additional validation steps for bug fix verification.

Documentation

Updated test suite descriptions with new tags to reflect changes in testing strategies.

Chores

Adjusted file paths for test specifications to align with the updated testing focus.

/ok-to-test<EMAIL_ADDRESS>

/ok-to-test<EMAIL_ADDRESS>

/ok-to-test tags="<EMAIL_ADDRESS>

/ok-to-test<EMAIL_ADDRESS><EMAIL_ADDRESS>

/ok-to-test<EMAIL_ADDRESS>@tag.Binding

@mohanarpit  can you please merge this? ci-test-result not updated and couldn't merge.