Attribute background-position is illegal

The compiler return this notice and the background position not working
#Line 5 (mj-section) — Attribute background-position is illegal
<mj-section background-color="#000001" background-position="center center" background-url=".../logo.png"  background-repeat="no-repeat">

Hi there @nikmauro
Background-position is not a valid attribute in MJML. As https://www.campaignmonitor.com/css/ state, it's not very well supported, so we don't allow it to mj-section


Documentation site not accessible

Site pipenv.pypa.io is not accessible with browser. Both Firefox and Chrome return this screen

This condition cannot be bypassed, but hacking the security settings of the browser which would expose to security issues with possibly forged sites, so the documentation remains de facto not available.

Apparently a certificate problem, it is only valid for: ssl1036715.cloudflaressl.com, *.readthedocs.io, readthedocs.io

Duplicate with #4805

Duplicate with #4805

This is not a 403, though 🤔


Counts number of authentication errors encountered by the collector

Hey
Nice exporter!
I just have one question:
Is the number of authentication failures collected when trying to log in to the site itself or what is that? If so, I just tried that but nothing comes up in the Grafana dashboard. I can't find it in the api itself either. So I think the exporter is meant if it can't connect?
Thanks!

Yes, these are the authentication issues that happened to the exporter itself while getting the data from Nextcloud. If this is counting up it usually means that the other metrics are not available.
I am getting that the description does not make this clear enough. Do you have a suggestion for a better description?

Maybe:
Counts the number of authentication failures from the collector itself. Not Website!

I have changed how the authentication errors are reported. I hope this will clear up the confusion around this metric.


Load tracing and performance optimizations

Tracing Framework
In CesiumUtility/Tracing.h. This originally came from asset-pipeline, was ported to cesium-native by Bao, and then I extended it to support tracing async processes across threads. To enable it, add -DCESIUM_TRACING_ENABLED=ON to your CMake configure CLI. You also need to uncomment the line that adds CESIUM_TRACING_ENABLED to PublicDefinitions in CesiumRuntime.build.cs in Cesium for Unreal.
Once you've done all that, run e.g. Cesium for Unreal, shut it down, and look for cesium-trace-[number].json in C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\Win64 or equivalent. Visit chrome://tracing in Chrome and drag/drop that JSON file onto it. It looks something like this:

You zoom and pan with the W/A/S/D keys. Choose the "Selection" mode (it looks like an arrow) and drag a box around a part of the trace you're interested in. It will show all the events in that time period. Click the Occurrences column twice to show the most frequently occurring events at the top.

Then you can click on one, click the "Duration" radio button, and see a nice chart of the distribution of times taken by this event:

AsyncSystem improvements
Separated the giant AsyncSystem.h into separate source files. Most of the code is "private" and ideally wouldn't be in a public header, but it needs to be because of how templates work.
Added Future<T>::thenImmediately to run a continuation immediately when the future resolves, in whatever thread does the resolving. For really quick tasks that you don't care where they run.
Changed Future<T>::thenInWorkerThread and Future<T>::thenInMainThread to run immediately in the same thread if the previous continuation finishes in the correct thread (worker or main). This saves some overhead of queuing and task dispatching.
Add AsyncSystem::createThreadPool and Future::thenInThreadPool to dispatch continuations to a user-managed thread pool rather than main thread or the ITaskProcessor interface / UE task system.
Created a dedicated thread for the SQLite cache
CachingAssetAccessor now uses the createThreadPool and threadInThreadPool methods described above to do all cache database access in a single designated thread (it's a thread pool with one thread). This is a significant optimization because when multiple threads share a single SQLite connection (as we were doing), all access gets serialized using a mutex. So we'd end up dispatching work to UE tasks only for them to sit there blocked while another thread read from or wrote to the disk cache. Having one thread dedicated to reading/writing the cache DB frees up UE tasks threads for more important work than waiting around for the disk.
To do

[x] I've seen crashes at shutdown, seemingly related to the lifetime of the queue that holds continuations for the main thread. Need to investigate.

thanks @kring, the PR looks good to me


New features: hightlight, asciiMath and checklist

Hello!
I've been wandering through many MD editors and parsers. I think that, while keeping the "core"  is vital (tell me about "so many standards"), there are many features out there that are very interesting (like GitHub extensions) and others that could be easier to use (like Math) than using LaTeX (binary can be easier... :D) It would be good to see some of them added to the markdown "core".
So, here are some ideas to improve Classeur, easiest first:

[ ] highlight text using ==  ==text== becomes text
[ ] Checklists (GitHub extension, and this  list is a checklist, just to prove how does it looks ;))
[ ] CSV to Table, perhaps through fenced code (```csv to trigger the conversion)
[ ] a Table of Contents. That's tricky, but I've seen some implementations using the [TOC] token
[ ] UML diagrams using PlantUML (consistent syntax for 8 UML diagrams, highly configurable, implemented in StackEdit using ```uml as trigger)
[ ] AsciiMath, because it's easy to write (markdown's main goal, IMHO), yet powerful

Simplest additions
Checklists and highlight are trivial, and feels like MarkDown. The logic for the ToC is already there, it would be just a question about what would trigger it.
CSV to Table
CSV has been around for decades, and it's still in use, and it would be a good addition to have a parser that converts a CSV to table, there are many situations where this can be interesting, since office suites don't convert tables to MarkDown tables, but they can convert tables to CSV, and it's still easy to read (and write!).
I have a parser (taken from github issues page) from csv to MD table in StackEdit, using fenced code and using csv (and tsv) as keyword.
PlantUML
PlantUML is the best text2diagram software I've seen, even if it's written in Java :p
It has a good documentation (could be better, but it's well structured and very complete), and is has many features: color customization, some asciiDoc like capabilities, it renders SVG, PNG and even ASCII art!
I have it in StackEdit (taken from GitHub issues page) using fenced code and the keyword uml. That's consistent, since the text to create a diagram is a code of some sort.
It can produce:

Sequence diagram,
Use Case diagram,
Class diagram,
Object diagram,
Activity diagram,
Component diagram,
State diagram,
Deployment diagram,
Wireframe graphical interface

Very complete OSS.
Math and ASCII Math
Using LaTeX for anything is always a PITA... that's why MarkDown exists, in fact. :) so, mathematical expressions should also be easier to type. And looking around, from MathJax thanks to StakEdit, I found AsciiMath.
MathJax is good, but AsciiMath is even easier and covers many common scenarios. I would suggest to allow both in the Options, specially since the MathJax library contains the AsciiMath parser.
Just to make a point, see the difference between TeX and asciiMath with these examples. I must say I could write the quadratic formula without taking a look at the syntax. It's really easy:

Cauchy-Schwarz Inequality, the difference is breathtaking:

TeX:
\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]

AsciiMath:

    (sum_(k=1)^n a_kb_k)^2 <=
    (sum_(k=1)^n a_k^2)
    (sum_(k=1)^n b_k^2)`

The most important about this one, is that I didn't peek  at the syntax... It's just "natural". I'm very impressed.

Lorenz:

TeX:
\dot{x} = \sigma(y-x) \\ \dot{y} = \rho x - y - xz \\ \dot{z} = -\beta z + xy
AsciiMath:
dotx = sigma(y-x)
\doty = rho x-y - xz
\dotz = -beta z + xy

Probability:

TeX:
\[P(E)   = {n \choose k} p^k (1-p)^{ n-k } \]

AsciiMath:
P(E) = ((n),(k)) p^k (1-p)^(n-k)

And, of course, the quadratic formula:

TeX:
-b \pm \sqrt{b^2 - 4ac} \over 2a

AsciiMath
x=-b+- sqrt(b^2-4ac)/(2a)

Thank you @mlopezgva!
I am marking this as an enhancement request for later evaluation. :+1:
~Robert

Some more examples comparing the same formulas in Markdown Plus help:

Núm.
LaTeX
length
ASCII Math
length

1
\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n
66
(1/2[1-(1/2)^n])/(1-(1/2))=8_n
30

2
\oint_C x^3\, dx + 4y^2\, dy
28
oint_Cx^3 dx+4y^2 dy
21

3
2 = \left( \frac{\left(3-x\right) \times 2}{3-x} \right)
57
2=(((3-x)xx2)/(3-x))
20

4
\sum_{m=1}^\infty\sum_{n=1}^\infty\frac{m^2\,n} {3^m\left(m\,3^n+n\,3^m\right)}
80
sum_(m=1)^oosum_(n=1)^oo(m^2 n)/(3^m(m3^n+n3^m)
48

And the last one is so big (169 characters), I must put it as a code block...
phi_n(\kappa) =
 \frac{1}{4\pi^2\kappa^2} \int_0^\infty
 \frac{\sin(\kappa R)}{\kappa R}
 \frac{\partial}{\partial R}
 \left[R^2\frac{\partial D_n(R)}{\partial R}\right]\,dR

And, ASCIImath version:
phi_n(kappa) = 1/(4pi^2 kappa^2)
 int_0^oo (sin(kappa R))/(kappa R)
 del/(del R)
[R^2 (del D_n (R))/(del R)] del R

Its not so long (112 characters, including spaces, I could've put it in a oneliner:
phi_n(kappa) = 1/(4pi^2 kappa^2)  int_0^oo (sin(kappa R))/(kappa R)  del/(del R) [R^2 (del D_n (R))/(del R)] del R
See the difference? And there's another one: I had only peeked at the docs to see he "name" of the 'oint'. Everything else I was able to type without help, it's "natural" (something LaTeX is definetly not ;)).
So, please, consider ASCIImath as an alterane way to write math in markdown.

Dear @mlopezgva,
Thank you very much for your insightful examples!
I do see why you want to have support for ASCIImath.
I encourage @benweet to take a closer look at it.
Warmly,
-Robert

@mlopezgva sorry I was confused with https://github.com/benweet/stackedit/issues/242.
Can you split this ticket into multiple enhancement requests?
Thank you in advance.


Code and datasets

Hi yuheng, I am very interested in this work, I would like to ask when the dataset and code of this work will be released, thank you

+1

where is the official code and dataset?

Could you please release the real/fake dataset for the diffusion model? That will be a great help to my work, thank you

@Yuheng-Li Please release the dataset and complete the repository!


AddressResolver with DNS or List?

hi,
i found the addresses conf with spring.rabbitmq.addresses=<IP_ADDRESS>:5672,<IP_ADDRESS>:5672 is not well,because it fixed target rabbitmq server node rather than random a node.
and i could not want to use DnsRecordIpAddressResolver.because it has higher costs.
following code if not set to false,i think more well.because the connect is random
	public RabbitConnectionFactoryBean() {
		this.connectionFactory.setAutomaticRecoveryEnabled(false);
	}

 if (isAutomaticRecoveryEnabled()) {
            // see com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory#newConnection
            AutorecoveringConnection conn = new AutorecoveringConnection(params, fhFactory, addressResolver, metricsCollector);

            conn.init();
            return conn;
        } else {
            List<Address> addrs = addressResolver.getAddresses();
            Exception lastException = null;
            for (Address addr : addrs) {
                try {
                    FrameHandler handler = fhFactory.create(addr);
                    AMQConnection conn = createConnection(params, handler, metricsCollector);
                    conn.start();
                    this.metricsCollector.newConnection(conn);
                    return conn;
                } catch (IOException e) {
                    lastException = e;
                } catch (TimeoutException te) {
                    lastException = te;
                }
            }

random a address
public RecoveryAwareAMQConnection newConnection() throws IOException, TimeoutException {
        Exception lastException = null;
        List<Address> shuffled = shuffle(addressResolver.getAddresses());

        for (Address addr : shuffled) {
            try {
                FrameHandler frameHandler = factory.create(addr);
                RecoveryAwareAMQConnection conn = createConnection(params, frameHandler, metricsCollector);
                conn.start();
                metricsCollector.newConnection(conn);

this.connectionFactory.setAutomaticRecoveryEnabled(false);

Spring AMQP has its own connection recovery mechanism; it existed before the rabbitmq client added connection recovery.
It is best not to use the client recovery; there have been problems with the two mechanisms adversely interacting in the past (hung consumers); we have fixed all known problems, but it's safer to simply turn off the client's recovery mechanism.
The shuffle is interesting; we can add a similar mechanism to this framework.

thank you @garyrussell


chore(dialog): transition improvements code

Few improvements:

fix a typo in _dialog.scss (trasition => transition)
condition performTransition to only perform a transition when this.open new and old values are different.
set opacity to 0 on containerElement when it's closed and 1 when it opens, so opening and closing animation feels smoother.

@e111077 @asyncLiz I spent quite some time on this one because I didn't want to just throw in some changes until it worked, I analyzed the existing state of this element and came up with that solution.
I think it's an important update because it makes the dialog visually more stable.
I would really appreciate if you could review this PR as soon as you guys can.
For context, this fixes the issue I was talking some days ago on Discord : https://discord.com/channels/1012791295170859069/1113583575808344106/1113583579763572886
Thanks

Mind rebasing for the conflicting file? :)

@asyncLiz can I resolve conflicts from Github interface and merge instead?

@asyncLiz can I resolve conflicts from Github interface and merge instead?

Maaaybe? One way to find out lol

@asyncLiz That did it!

Obsolete now with dialog's refactor in https://github.com/material-components/material-web/pull/4677


METRON-676 Create Zeppelin Notebook for YAF Telemetry

Created a Zeppelin Notebook that serves as a basic template for a situational awareness dashboard for the YAF flow telemetry produced by Metron.
In practice, this notebook should be enhanced and customized to leverage enrichments specific to your production environment.  The notebook provides a fair introduction into the mechanics of using Zeppelin/Spark to work with the telemetry that is archived by Metron in HDFS.
The Zeppelin Notebook is deployed with Metron through the MPack and can be installed by using the "Metron" > "Service Actions" > "Zeppelin Notebook Import" action in Ambari.
METRON-676 contains a screen capture of the dashboard when it is run with roughly 7 days of archived telemetry data.
Dependency
This change is dependent on #423 , which is why you will see those commits included here.  Once #423 hits master, I will rebase on master.
Testing
I tested this change by following these steps.
Build It

Build Metron

cd incubator-metron
mvn clean package -DskipTests

Start Docker on your build machine
Build Metron RPMs

cd metron-deployment
mvn clean package -Pbuild-rpms -DskipTests

Build Ambari MPack

cd metron-deployment
mvn clean package

Setup Test VM

Launch Vagrant and install Ambari only

cd metron-deployment/vagrant/quick-dev-platform
vagrant --ansible-tags=ambari up

Copy artifacts to VM

scp metron-deployment/packaging/docker/rpm-docker/target/RPMS/noarch/*.rpm vagrant@node1:/tmp
scp metron-deployment/packaging/ambari/metron-mpack/target/metron_mpack-<IP_ADDRESS>-SNAPSHOT.tar.gz vagrant@node1:/tmp

Stage RPMS

vagrant ssh
sudo su -
mkdir /localrepo
cp /tmp/metron*.rpm /localrepo

Install Ambari MPack

Install MPack

ambari-server install-mpack --mpack=/tmp/metron_mpack-<IP_ADDRESS>-SNAPSHOT.tar.gz --verbose

Restart Ambari

service ambari-server restart

Deploy Metron with MPack

You may need to clear the browser cache to see the additional options installed by the MPack.
Login to Ambari at http://node1:8080
Click "Actions" -> "Add Services", then choose "Metron"

Install Zeppelin Notebooks

Login to Ambari at http://node1:8080.
In Ambari, click "Metron" > "Service Actions" > "Zeppelin Notebook Import"
Wait for the action to complete in Ambari.
Login to Zeppelin at http://node1:9995
Search for the notebook named "Metron - YAF Telemetry"

@nickwallen #423 is in (and breaking the README here)

Here are the links to screen captures of what the dashboard looks-like.

Report, read-only mode
Edit mode

@nickwallen Would it be reasonable to throw links to the screenshots onto the original discuss thread?
I'm +1 (by inspection) on the actual implementation, but I'd really love to see other perspectives on this (and since I'm not an expert, I'm a little hesitant to just close this ticket out myself).

@justinleet Sorry, I originally responded to the dev list and not here.  I sent a link to the PR and JIRA, mentioning the screenshots, to the original discussion thread.

+1 Great job

@nickwallen Thanks for closing off that discussion.  This has percolated awhile, and I'm +1 on it.


feature:add k3heap

The heap module has been modified according to the specification

By the way you do not need to modify anything in _building.

By the way you do not need to modify anything in _building.

okay, I'll pay attention next time

By the way you do not need to modify anything in _building.

I want to know if the tml in the _building directory needs to be removed? I don't see that in the jobq project

By the way you do not need to modify anything in _building.

I want to know if the tml in the _building directory needs to be removed? I don't see that in the jobq project

These are building script etc in _building.
tmpl is added after jobq is created, thus jobq lacks these script but the pip package itself works well.
An update of _building to jobq would be enough to fix this gap.

Seems it is a good time to fire the first publish!

By the way you do not need to modify anything in _building.

I want to know if the tml in the _building directory needs to be removed? I don't see that in the jobq project

These are building script etc in _building.
tmpl is added after jobq is created, thus jobq lacks these script but the pip package itself works well.
An update of _building to jobq would be enough to fix this gap.

but if having tml causes CI on Git to fail, can this be ignored?

but if having tml causes CI on Git to fail, can this be ignored?

🤔 not possible. Fire a PR with tmpl and let's have a look?

BTW the API doc in the old README need to be migrated to python doc. Like this:
https://github.com/pykit3/k3proc/blob/9a7f134b25828c17e0979044da6c183863eac538/proc.py#L25-L42


Reports STF: detect duplicate packages

The current "reports" test vectors do not include cases to properly test for duplicate reports. At present, only one case is considered, where the duplicate is found in the recent block history (β).
To ensure a thorough check, as reported, we must also include prior state accumulated reports (ξ), available but not accumulated reports (φ), reports with pending availability (ρ).
We have two options to address this:

Modify the Prior State structure to include (prior) β, ξ, φ, and ρ.
Modify the Input structure to include an ephemeral known_packages set, which is assumed to be constructed using all the aforementioned state components as prescribed by GP.

I have decided to propose a PR following strategy 2 for the following reasons:

It is simpler and avoids the overhead of constructing these state values solely to fetch package hashes (a trivial op).
It prevents including two incarnations of the same state structure within the Prior State. Specifically, I'm referring to the WRs availability assignments, which would otherwise need to exist in both the prior state (ϱ) — for constructing known_packages — and the intermediate state (ϱ‡), which is mutated by the STF to produce (ϱ').

Ultimately, in the proposed PR, the construction of known_packages is straightforward enough that it does not seem worthwhile to complicate the State further. Passing the pre-constructed form achieves the desired outcome cleanly.

hey @davxy my preference would be to go with solution 1.  My reasons:

it allows to have multiple test cases where we ensure that each State is indeed being accounted when checking for wp pre-existance
avoids the burden of doing extra code just to construct a set of known packages to be used in one of those states (so that I don't have to change method signature)

but your points are good too even though i wouldnt mind having "multiple" ϱ


Fix proj name and bump europe datum

Re-render for proj's new name and bump datumgrid-europe.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

license_file entry is missing, but is expected.


Image cleanup after succes build

Hi all,
We are running buildkite with this docker-compose plugin for a while now and really like it. However we have an issue with disk space all the time. After some research everytime a lot of 'buildkite_buildhash_app' images are created. We fix it now by running docker images prune --all but that also removes the last image which makes the build step a lot longer. It would be really great if we can cleanup all images except the last one (to keep the cache and spare build time) at the end of our pipeline. Is there already a way to do this or should this be implemented?
I would like to hear if more people have this problem and how we could solve this without removing all images.

The docker-compose plugin cleans up containers, networks and volumes in its pre-exit hook, but we don't do anything about image cleanup because generally folks want warm caches.
In our AWS Elastic Stack we have some hooks that clean up images when disk is running low, which works pretty well:
https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/packer/conf/buildkite-agent/hooks/environment#L19-L30
https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/packer/conf/bin/bk-check-disk-space.sh
Hope that helps!

Thanks for your fast response. This can work but in that case it is still possible that some caches gets removed which we still need. Of course we want to keep the caches warm but for that we only need the last image of each pipeline and each branch. We don't need the old images right? So in this example:
- Project A
  - master
     - build D
     - build A
  - some_feature
    - build C
    - build B

We only need to keep the images from build D and C, since build A and B are older so are never used for caching. Or do I interpret the docker caching system wrong?

Sorry for the delay here but the layering nature of docker would actually mean that - as long as you are making the best use of it - successive images only have small differences on disk usage as most of the layers that make the image up would be shared. So the amount of space saved shouldn't be that big (in an idealized - and probably non-existent - scenario).
That said, you should be able to clean up images as often as you'd like in your agents and use the cache-from option in builds that would make sure that the agent does a docker pull of a series of images to make sure layers are pre-populated so steps can be skipped when building new images.
If that is not exactly your use-case, please re-open this ticket so that we can investigate if this plugin can best accommodate your scenario.


Add support for chart axes ticks and value labels and X axis label

As far as I tested it it works fine for me. There are few things to mention:

The area reserved around the chart for ticks and labels with LV_SIGNAL_REFR_EXT_SIZE is fixed at compile time with LV_CHART_AXIS_MARGIN. I'm not sure how this will affect other objects position related to the chart, but it probably can be calculated based on the user label strings len, font, tick size (related to the chart h/w size).
Related to something specific when the border of the chart is set to 0 or 1 the first tick on X axis may vary a pixel left or right.  So far there is not such problem for Y axis and __LV_CHART_AXIS_Y_TICK_OFFSET_FIX is just for symmetry.
The distance from the end of a major tick to the border of its label is fixed at compile time with __LV_CHART_TO_LABEL_DISTANCE = 4. This value seems to be good, but anyway may be as an option will be better.
The color of the labels is set in chart style, so the X label and the value labels have the same color. Anyway, if axis style is added it can be used for the ticks color too.
For some reason the last tick is a pixel right (X) / up (Y) of the desired position. There is an option to enable it if you need it anyway, per axis - LV_CHART_AXIS_DRAW_LAST_TICK. The same options can be used to extend the axis capabilities.

As the user tick values are strings the code doesn't use heavy functions as "sprintf".
For now I do not have time to continue developing this object, but I will help as I can if needed.
This is a simple example code I used to test it with the PC simulator, but it is also proved to work on hardware.
Some example images are located in the forum thread.
user_app.zip

Is it better?

@embeddedt ok, I will wait @kisvegabor opinion.
Meanwhile, I will add a little tune about the X label above the chart:
When the font is bigger the part under the line of letters like 'p, y, q, g' are touching the chart. So the area located for this label is extended adding space related to % of the font height, like 1/4. And yes, here it is a magic number - I think it is fine, because the problem is directly related to the size of the font. But If you want I will move it to definition.

@IvanShugov I wonder if that information is stored in the font structure.. but I can't check it right now.

@embeddedt Yes, it is.

Thank you for the PR. I've checked the code and found only a few minor things.
I'll test it in a few minutes.

I rebased the changes to dev-6.0. You can easily test it with the dev-6.0 version of the PC simulator
The example was working fine! Could you create an example with it in the lv_examples repo?
I've seen that the length of the tick lines is based on the width/height of the chart. Wouldn't it be better to set the size explicitly?

@kisvegabor and @embeddedt Please, review the last changes.
New parameter "margin" in "lv_chart_ext_t" is used to extend the space around the chart. So far it is better for the user to have access to it and change it depending on font and tick length. New function is introduced for this purpose.
The tick length major/minor is exposed to the user, but if set to 0 it will be calculated as before.
The label is removed completely. External object label must be used.
Some fixes are done, as requested above.
I will pull also a test for lv_examples.
Is it ok now?

Thank you for the updates. It looks good to me.
@embeddedt
When you request my review where can I approve the code/changes?

@kisvegabor Click the "Files changed" tab near the top of the pull request. On the top right a box will appear called "Review changes". That allows you to comment without approval, approve, or request changes.

@embeddedt Got it, thank you :)

@IvanShugov
Thank you very much for this update. It was already asked by a lot of people.

@kisvegabor Happy to help :) I'm using littlevgl for free, which is great, thank you for your hard work and your time, I appreciate it! So I feel it right to contribute as I can to continue improving it.


vmi-create-admitter_test refactor: refactor vmi metadata context tests

What this PR does
Before this PR:
The tests in the "with VirtualMachineInstance metadata" context instantiated VMIs using functions that didn't leverage libvmi as well as didn't make use of the newAdmissionReviewForVMICreation function to create admission reviews.
After this PR:
The tests in the "with VirtualMachineInstance metadata" context now instantiate VMIs using libvmi and use the newAdmissionReviewForVMICreation function to create admission reviews.
Special notes for your reviewer
This is a follow-up to and dependent on https://github.com/kubevirt/kubevirt/pull/13136.
It is part of an ongoing initiative to refactor the vmi-create-admitter tests to test behavior over implementation details, streamline VMI creation using libvmi, and reduce redundancy across tests (e.g., introducing a shared function for generating repetitive admission reviews).

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

/kind cleanup

/cc @orelmisan

Change - Addressed @orelmisan comments.

Change - Addressed @orelmisan comments.

Change - Addressed @orelmisan comments.

/cc @jean-edouard


Added tool hooks...

...the tool invocation magic!

@hexylena - thank you for showing me how!

fantastic, thanks so much!!


Force signedness of shader vertex attributes to match the host.

Based on a patch by Stefan Dösinger.
Metal cannot do signedness conversion on vertex attributes, and for good
reason. Putting a uint4 into an int4, or a char4 into a uint4,
would lose those values that are outside the range of the target type.
But putting a uchar4 into a short4 or an int4, or a ushort4 into
an int4, should work. In that case, force the signedness in the shader
to match the declared type of the host.

Oops, I forgot to update SPIRV-Cross in this change. Stand by...

And now, I have another change to SPIRV-Cross that affects this in flight.


[Feature][SonarCube Connection] Add support for SonarCloud

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
Add support SonarCloud along with SonarCube
Hopefully this is not a big ask, SonarCloud is the cloud hosted version of SonarCube and most of the apis are the same.
I have tried setting up a connection but unfortunately the list of projects comes back empty, for what I can see that's becaus efor SonarCloud the organisation parameter is required, yet the SonarCube connection wizard does not capture this parameter.
Description
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Thanks for your suggestion, @Startrekzky @yumengwang03 @hezyin  please take a look at this.

Collecting votes

I see the issue has been tagged with 'add-a-plugin', however this could be potentially handled with the existing SonarCube plugin and have an optional 'Organisation' parameter to inject in the URIs if supplied

I see the issue has been tagged with 'add-a-plugin', however this could be potentially handled with the existing SonarCube plugin and have an optional 'Organisation' parameter to inject in the URIs if supplied

I agree and have removed the label.

We're definitely interested as well - would be easier if the existing plugin could be adapted, or as second one that's sonarcloud-specific.

@klesh It seems we got 4 (3+1) votes now. I'll plan it in the next few versions.

LGTM

Dear team, we are looking out sonarcloud integration. Therefore kindly provide us update when we will able to see sonarcloud data into devlake

Another vote from me!

Devlake looks great. I also vote on this functionality.

I'm looking at how much devlake could help our org, but SonarCloud integration would make it quite amazing for us! Upvote from me!

Ping! Is this still possible? Anyone with time to look at it? We might have time for someone on the team to investigate in 2024.

@Startrekzky

Upvote from me

+1

+1

+1 we need it!

+1

Any volunteers? We don't have the bandwidth to do this, and we don't have an account for SonarCloud either.

I started to explore this as I am a SonarCloud user.  If you have any shortcuts to get started, I'd appreciate it.
I see this is the current plugin: https://github.com/apache/incubator-devlake/tree/main/backend/plugins/sonarqube
And I followed the "Develop a plugin" link on the main page to start:
https://github.com/apache/incubator-devlake
But I ended up at a dead link. :(
https://github.com/apache/incubator-devlake/blob/main/backend/DevelopmentSetup

Hi @UncleLeoTheDad I believe the right link is this: https://github.com/apache/incubator-devlake/blob/main/backend/DevelopmentManual.md

@Startrekzky I'll see if someone on our team can take a look. We "finally" got a devlake instance running for our teams, so should be easy-er to test whatever we put together.

+1

+1

I started to explore this as I am a SonarCloud user. If you have any shortcuts to get started, I'd appreciate it.
I see this is the current plugin: https://github.com/apache/incubator-devlake/tree/main/backend/plugins/sonarqube
And I followed the "Develop a plugin" link on the main page to start: https://github.com/apache/incubator-devlake
But I ended up at a dead link. :( https://github.com/apache/incubator-devlake/blob/main/backend/DevelopmentSetup

Sorry, I just saw your comment. Could you join the Slack community so that we can work more closely?
https://join.slack.com/t/devlake-io/shared_invite/zt-18uayb6ut-cHOjiYcBwERQ8VVPZ9cQQw

Hi @UncleLeoTheDad . I am sorry. I just saw your comment. Could you join the Slack community so that we can work more closely if you're still looking at it? Thank you.
https://join.slack.com/t/devlake-io/shared_invite/zt-18uayb6ut-cHOjiYcBwERQ8VVPZ9cQQw

Hi @Startrekzky : tried that link, but it looks like it expired:

here you go https://join.slack.com/t/devlake-io/shared_invite/zt-20envwfbk-JUTZ4z9jSeRnrvNhBFLg9w

Upvote from me

Hi @lhart-intelycare,
In response to your inquiry about how config-ui handles the implementation of two different SonarQube modes:
Modifying existing fields, such as "endpoint," is not advisable as it may impact other plugins. If a new field is introduced in SonarQube Cloud, the best approach is to create a new component specifically for this field, similar to the authentication component used in Jira.
Within the new component, you can retrieve the value of the "endpoint" to ascertain whether the "organization" field is required.

adding a comment to keep this one alive as there is some progress :)

Any luck? I saw that someone had PR that should enable Sonarcloud.

That was me.  I paused on that completed work, shared it with devinsight and they are actively working on enabling the feature (either using my code or starting from scratch) now.  Should be coming soon!


CI command to download locale file

For example...
$ npx zod-i18n add ja --path ./public/locales/ja
# => download https://github.com/aiji42/zod-i18n/blob/main/packages/core/locales/ja/zod.json to ./public/locales/ja/zod.json

This allows us to stop including locale files in the package.
Then, when downloading, it compares the en.json the file to be downloaded and warns the user of any missing message keys.
I expect users who see it to send me a PR to bring their locale files up to date.
I'm also planning to provide other commands like this.
$ npx zod-i18n list
# => list of downloadable locales

$ npx zod-i18n create
# => Create bare bones locale file.

@aiji42 Hello,
I would like to help you in this issue.
I recently created an advanced CLI with commander and inquirer packages.
Instead of user given command, we can provide cli with inquirer selection. If it suites you too.
1.) Downloading localization files instead of copying would be awesome.
2.) Listing existing files is fairly easy.
3.) I am not sure what you meant by create command. Did you meant for end users or new contributors for creating barebone files for new localizations?
If you need help, please let me know,
Recep.

@lSelectral Hi!
I would be very happy if you could help me with this issue😄

3.) I am not sure what you meant by create command. Did you meant for end users or new contributors for creating barebone files for new localizations?

I am thinking of a create command that would create a json file with just the key in it for language users for whom a translation file is not yet available, but this feature is not required.
I think we should first create a command that allows the user to see the list of languages available for download as you have written, and when they select one of them, the json file for that language will be downloaded.
Also, the work in this Issue and #33 are similar, so I will close that one.

I would also like to change the directory structure.
packages/
  └ core/
  └ ci/ 🆕
locales/ (moved from packages/core)
  └ ar/
    └ zod.json
  └ de/
    └ zod.json


CES-9577 - fixed compute nodes getting DHCP i/o static

fixed compute nodes getting DHCP address when static ip's were set in .properties

@cdearborn the overcloud fails to deploy if i get rid of those Compute references


Failed node-gyp rebuild

Hi, I'm trying to launch npm install and I get the error down below. How can I solve this?
I'm on Mac 10.13.6
Node v6.14.4
npm 3.10.10
It works fine on my other Mac and it also work on a Linux machine.
npm-debug.log

<EMAIL_ADDRESS>install /Users/robingroenevelt/localhost/AIR-server/node_modules/mmmagic
node-gyp rebuild

CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/der.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
LIBTOOL-STATIC Release/magic.a
Traceback (most recent call last):
File "./gyp-mac-tool", line 12, in
import fcntl
ImportError: No module named fcntl
make: *** [Release/magic.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/node@6/6.14.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command<EMAIL_ADDRESS><EMAIL_ADDRESS>"rebuild"
gyp ERR! cwd /Users/robingroenevelt/localhost/AIR-server/node_modules/mmmagic
gyp ERR! node -v v6.14.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Darwin 17.7.0
npm ERR! argv<EMAIL_ADDRESS>"/usr/local/bin/npm" "install" "mmmagic"
npm ERR! node v6.14.4
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mmmagic package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mmmagic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mmmagic
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/robingroenevelt/localhost/AIR-server/npm-debug.log

This is more of a general node-gyp issue, try filing an issue on their repo here.
However if I had to guess, it probably has to do with either (or both maybe) homebrew using a custom version of gyp if you installed node from homebrew, or the version of python 2.x installed from homebrew/macos does not include the fcntl python module.


refactor:  create, get and update boards using our backend endpoints

Relates to #48
Proposed Changes

Code refactor in order to adapt the code to interact with the new backend endpoints replacing the used mockapi.

A method and mutation to create board
A method and usequery to get a single board
A method and usequery to get all boards
Our backend don't provide ids for subdocuments so a transformed method was implemented to generate a unique identifier for each column and card that are necessary to the drag and drop feature.
Refactor getstaticprops to serverprops in board page
Symbols replacing constants
Minor refactor on describe methods name in backend.

Looks good, gj! 🚀

thanks m8!


autobuy does not complete the process

whole_foods_delivery_autobuy.py consistently gives out the message:
SLOTS OPEN! 2
Selected slot and continued to next page
Found a slot but it got taken, run script again.
when in reality in the browser window it is showing "Select a payment method" page and waiting for the script to click continue.
It looks like it fails around line 49-50 and through an exception. Maybe the page takes longer than 4 seconds to load and so it does not find the element listed in driver.find_element_by_xpath.

@b3ll0v1c give this repo a shot. You should be able to successfully check out regardless of redirection to the payment selection page

I had a similar error:
SLOTS OPEN!
Traceback (most recent call last):
File "e:\Whole-Foods-Delivery-Slot-master\whole_foods_delivery_autobuy_windows.py", line 128, in
getWFSlot('https://www.amazon.com/gp/buy/shipoptionselect/handlers/display.html?hasWorkingJavascript=1')
File "e:\Whole-Foods-Delivery-Slot-master\whole_foods_delivery_autobuy_windows.py", line 124, in getWFSlot
autoCheckout(driver)
File "e:\Whole-Foods-Delivery-Slot-master\whole_foods_delivery_autobuy_windows.py", line 28, in autoCheckout
slot_select_button = driver.find_element_by_xpath('/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[1]/div[4]/div[2]/div/div[4]/div/div/ul/li/span/span/div/div[2]/span/span/button')
File "c:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "c:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "c:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "c:\Python27\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[1]/div[4]/div[2]/div/div[4]/div/div/ul/li/span/span/div/div[2]/span/span/button"}
(Session info: chrome=81.0.4044.92)

@b3ll0v1c give this repo a shot. You should be able to successfully check out regardless of redirection to the payment selection page

@mark-thompson I actually am, as of last night. I looked at your code, btw. Very nicely written!

Was this fixed? I don't see a difference between the whole_foods_delivery_autobuy_windows.py code I ran vs what is in the repo.


Connecting Frontend to Backend database

Integrated MongoDB server into flask frontend

Added registration authentication between flask app and MongoDB server

Receiving data from server on the home page when searching for a user. Need tofix the image displaying

Frontend and backend adequately connected.


how's performance on CPU (or GPU) today on ARM? (mac)

Hi,
Trying to evaluate current state of performance.
Currently experimenting with starchat ggml, on CPU, M1 Mac, with pretty bad perf.
Trying to figure out how to think about performance with this library before I start porting code.
Is there a reason to expect better performance? Maybe GPU support with starchat (not supported with ggml)

I don't know about starchat but it's probably hard to guess without trying at least a prototype version. When it comes to CPU version for quantized models, candle should be reasonably competitive on x86 (maybe 10% slower than ggml though this is from a couple weeks back and things have changed a lot).
Note that we don't have gpu support on mac, but we do have support for the accelerate framework.

From my testing, on CPU on M1 Mac, candle is around 50% slower when compared to llama.cpp/ggml.
Around ~9 toks/sec for quantized models on candle vs ~14.5 toks/sec on ggml. Will probably look into the code to see what can be done better later, but overall I think a lot of things can be done. Tested with using ARM_FMA and NEON on ggml without BLAS. (also tried toggling the accelerate feature didn't have a significant difference)
Using the master branch of both ofc. And if someone else does some testing let me know if I some flags should have been used.
(date benched: 12th Oct 2023) for anyone reading this later candle might be a lot faster so do your own testing.

I am curious of to what extent, performance could be improved with candle? Any official benchmark?

I'm using Candle to run t5-quantized, it is performing well on my M2. But when it comes to running it in my Intel-based, it is slower. Any idea to accelerate it?


Consider packaging in msix?

may be on the next update I guess... @Hu-Wentao

Might consider but I am also trying to find a way to make the exe portable. So need for creating a folder in program files for the app. Double click the app exe file and you're good to go. Though I am not sure how to make all files related in the exe.

@Hu-Wentao Asked some people and it seems that the Single File Application format is not possible when using Flutter currently. So will be working on packaging with msix, and will release a new version soon with all platforms built for. 🚀

No @YazeedAlKhalaf it is possible to build msis. but we must use visual studios for that and need to install a plugin/extension for that. I will let you know that soon how to do that.

The one I meant is only one exe and no other files. Like you just download a single file that does not install any other stuff for the user. This is not possible unless you build the flutter engine yourself. I have opened an issue at the flutter repo and they told me no possible right now.
Plus msix package is suggested by the Flutter website, which is good.
Next release will have 4 assets for the installer:

windows version .zip file
windows version .msix file
macos version
linux version

UPDATE:
Some weird errors popped up when uploading the app after using .msix to install it.
Will be using regular methods for 0.0.8, and make sure I upload all platforms so people can use the latest features.

I am also planning on putting it on the Microsoft Windows Store, that way people feel more comfortable using the app.

This will be a good idea. and yeah single exe is not possible.


C++ function suggestion wrong.

'L' not 'l'!

Hi @KazDelphi
Sorry it took so long to get back to you.
Can you explain what were you expceting to see?

Sorry I forget to upload image...
This is C++Code.
The letter 'l' should be 'L'.

Sorry, I'm not sure I understand.
You typed "loca", right?
TabNine suggests a few suggestions, all starting with the lower case 'l'.
Were you expecting upper case "L"? Why?

These functions all start with "L",but Tabnine displays 'l'

As it stands, TabNine does not try to do semantic validation on its predictions.
Because of that, it may suggest something that will not compile on occasion.
We are working on adding semantic validation on our predictions, so things should improve in the future.

Thank you.


only qlog the PTO count reset when the PTO count actually changed

Codecov Report

Merging #2427 into master will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master    #2427   +/-   ##
=======================================
  Coverage   85.73%   85.73%
=======================================
  Files         119      119
  Lines        9211     9211
=======================================
  Hits         7897     7897
  Misses        970      970
  Partials      344      344

Impacted Files
Coverage Δ

internal/ackhandler/sent_packet_handler.go
75.77% <50%> (ø)
: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 2f2583b...0a27ed0. Read the comment docs.


Proxy routes are not working using ngrok

when I use ngrok for proxying my theme extension requests to the next proxy API routes it gives this response:
You are about to visit ****.ngrok-free.app, served by ****. This website is served for free through ngrok.com. You should only visit this website if you trust whoever sent the link to you. (ERR_NGROK_6024)

but it works fine when I use a Cloudflare tunnel, maybe we should shift away from ngrok.

When using ngrok in dev mode, you need to set bypass headers or a custom user agent
You're free to use any tunnel service you prefer


Server is down

Hi,
After docker compose up, it seems that the server is up :
# netstat -an | grep 77
udp        0      0 <IP_ADDRESS>:7790            <IP_ADDRESS>:*
udp6       0      0 :::7790                 :::*

But the status is down :
# ./manager.sh status
Server PID not found (server offline?)

# docker compose logs -f
asa_server_docker-asa_server-1  | -------- STARTING SERVER --------
asa_server_docker-asa_server-1  | tail: /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log: file truncated
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]Log file open, 11/09/23 09:36:12
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Process Physical Memory: 331.27 MB used, 333.43 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Process Virtual Memory: 283.05 MB used, 283.05 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Physical Memory: 738.43 MB used,  7202.20 MB free, 7940.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:034][  0]LogMemory: Virtual Memory: 757.04 MB used,  8159.59 MB free, 8916.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.12:728][  0]ARK Version: 26.11
asa_server_docker-asa_server-1  | [2023.11.09-09.36.13:468][  0]Primal Game Data Took 0.49 seconds
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Process Physical Memory: 640.66 MB used, 654.71 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Process Virtual Memory: 568.36 MB used, 568.36 MB peak
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Physical Memory: 1169.78 MB used,  6770.85 MB free, 7940.63 MB total
asa_server_docker-asa_server-1  | [2023.11.09-09.36.57:503][  0]LogMemory: Virtual Memory: 1188.39 MB used,  7728.24 MB free, 8916.63 MB total

Any idea ?
Also i can't find the server on ARK

Hey, it looks like you don't have enough memory and the server dies before it's fully able to start.
You need at least 11GB of memory to run the server on an empty map.

Thanks for the response.
It's seem not bette with 13GB RAM :
root-asa_server-1  | tail: /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log: file truncated
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]Log file open, 11/09/23 10:32:21
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Platform Memory Stats for WindowsServer
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Process Physical Memory: 334.06 MB used, 335.47 MB peak
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Process Virtual Memory: 286.49 MB used, 286.49 MB peak
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Physical Memory: 751.42 MB used,  11909.19 MB free, 12660.61 MB total
root-asa_server-1  | [2023.11.09-10.32.21:101][  0]LogMemory: Virtual Memory: 751.68 MB used,  12884.92 MB free, 13636.61 MB total
root-asa_server-1  | [2023.11.09-10.32.21:800][  0]ARK Version: 26.11
root-asa_server-1  | [2023.11.09-10.32.22:500][  0]Primal Game Data Took 0.48 seconds
^Ccanceled
root@vm-ark-ascended:~# ./manager.sh status
Server PID 42
Server listening on port 7777
Server is down
root@vm-ark-ascended:~# ./manager.sh status
Server PID not found (server offline?)

Do the logs look the same as before? If so, could you try to bump it a bit more just in case.
Are you running the server with proxmox perhaps? We could try something else is that's the case.

Yes it's on proxmox.

Ok, I'm not familiar with proxmox, but could you try the following:

If you are using Proxmox as your virtual host make sure to set the CPU Type to "host" in your VM elsewise you'll get errors with the server.

Credits to @loginator, https://github.com/Acekorneya/Ark-Survival-Ascended-Server/pull/5/

Thanks for mentioning if your configured CPU is the issue you should also see a crashlog telling you that the server tried calling an unknown function.

Hi @xi67, were you able to fix the issue with the aforementioned fix?
As it seems to be a hypervisor-specific issue, I'll close the issue for now.

Yes you're trick is working maybe you should put this in a faq or something like this. Thanks

Info about hypervisors has been added to the readme already.


High memory utilization of Falco containers in a GKE enviornment

Describe the bug
Falco container memory utilization has been observed to dramatically increase as a result of increased server load and alerting in multiple disparate clusters in a GKE environment. Memory utilization as high as 7GB has been observed, and remain high until the pod is recycled. This increase is observed in both non-evictable and evictable memory as reported through GKE's Monitoring metrics.
How to reproduce it

Launch Falco pods in GKE clusters using provided YAML.
Await activity on pods.
Observe through GCP Monitoring dashboard increase in memory utilization:
Resource Type: Kubernetes Container
Metric: Memory usage
Filter: namespace_name = "falco"
Filter: memory_type = "non-evictable" (and separately, through a separate chart, "evictable")
Aggregator: none
Period: 1 minute

Expected behaviour
Falco memory remains fairly flat and does not exceed some more reasonable amount. Falco's Helm chart specifies a memory request of 512Mi and a limit of 1024Mi (https://github.com/falcosecurity/charts/blob/master/falco/values.yaml).
Screenshots

Environment
All clusters are running in a GKE environment. Clusters are running different but recent versions of OS, which include:

Container-Optimized OS w/ docker
Container-Optimized OS w/ containerd
Container-Optimized OS w/ containerd, gVisor enabled

All clusters are using the eBPF filter.
Clusters are all running differing workloads.
This has been observed with the following Falco versions:

Falco version: 0.26.1-43+47fa7d5
Falco version: 0.26.1-58+294804d

Driver versions are:

Driver version: 2aa88dcf6243982697811df4c1b484bcbe9488a2

Additional context
While problem exists across multiple clusters of varying types, it appears to be more pronounced across those running on node pools with gVisor enabled. It's unclear if this is a result of gVisor, or if perhaps heavier workloads are running there. Overall the nodes themselves are healthy. While this appears to be related to increased activity on the nodes, the nodes are not anywhere near their capacity limits, with CPU utilization less than 5% and sufficient memory headroom.

@IanRobertson-wpe thanks for opening this issue and letting us know about this case.
 You said that the node is not near to capacity exhaustion but it will be helpful to try to reproduce.

Here are more details on one of the gVisor nodes and node pool settings:
Kernel version: 5.4.49+
OS image: Container-Optimized OS from Google
Container runtime version: containerd://1.4.0
kubelet version: v1.18.9-gke.801
kube-proxy version: v1.18.9-gke.801
Machine type: n1-standard-4
Boot disk type: Standard persistent disk
Boot disk size (per node): 100 GB
Boot disk encryption: Google-managed
Preemptible nodes: Disabled
Auto-upgrade: Enabled
Auto-repair: Enabled
Surge upgrade: Enabled
Max surge: 1
Max unavailable: 1
Sandbox with gVisor: Enabled
GKE Metadata Server: Enabled
Here is more information on a cluster that contains this node pool:
Intranode visibility: Disabled
Private Cluster: Enabled
Network policy (Calico): Enabled
NodeLocal DNSCache: Disabled
Istio: Disabled

Hey @IanRobertson-wpe
Thanks for this report. I have just a few further questions that may help with debugging this.

I see you mentioned two development versions of Falco, but did this issue happen with Falco version 0.26.1?
Which Falco outputs are enabled, and how are configured? Is gRPC enabled?
Are you using the Kubernetes Audit Log feature?

Thank you.

Yes, this happened with 0.26.1 as well.
This has been observed with Falco outputs set to the following:
json_output: true
json_include_output_property: true
log_stderr: true
log_syslog: true
log_level: info
priority: deug
buffered_outputs: false
outputs:
rate: 1
max_burst: 1000
syslog_output:
enabled: false
file_output:
enabled: false
stdout_output:
enabled: true
webserver:
enabled: false
program_output:
enabled: false
http_output:
enabled: true
url: http://localhost:2801
grpc:
enabled: false
grpc_output:
enabled: false
In GKE there is no native K8s audit log, as these logs are delivered directly to Stackdriver. My Falco command-line is set to:
falco --cri /host/run/containerd/containerd.sock -K /var/run/secrets/kubernetes.io/serviceaccount/token -k "https://$(KUBERNETES_SERVICE_HOST)" -pk

In GKE there is no native K8s audit log, as these logs are delivered directly to Stackdriver.

Right, sorry for the stupid question :angel:

falco --cri /host/run/containerd/containerd.sock -K /var/run/secrets/kubernetes.io/serviceaccount/token -k "https://$(KUBERNETES_SERVICE_HOST)" -pk

Is there any particular reason for the /host prefix in the path?
If the env var HOST_ROOT=/host (default setting), the correct path should be --cri /run/containerd/containerd.sock (here an example).

I found that in the falco container the path /run/containerd/containerd.sock was invalid. I manually adjusted this to add the /host. See below.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


[Bug]: After upgrading to 29.0.4 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Version
29.0.4
Steps to reproduce
Unable to post production repository
Expected behavior
Same as in 29.0.3
Actual behavior
After upgrading my unit tests fail with the following error message. Reverting to 29.0.3 solves the problem.
<--- Last few GCs --->
[82265:0x7fd5bcc4d000]   194945 ms: Mark-sweep 4031.4 (4128.5) -> 4024.1 (4136.7) MB, 21943.1 / 0.0 ms  (average mu = 0.227, current mu = 0.046) allocation failure; scavenge might not succeed
[82265:0x7fd5bcc4d000]   227589 ms: Mark-sweep 4040.0 (4136.7) -> 4032.7 (4144.5) MB, 31987.1 / 0.0 ms  (average mu = 0.111, current mu = 0.020) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0x104b12d55 node::Abort() (.cold.1) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
2: 0x1035db259 node::Abort() [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
3: 0x1035db43e node::OOMErrorHandler(char const*, bool) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
4: 0x103756193 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
5: 0x10391ebd5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
6: 0x10391d5b2 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
7: 0x10390f8ea v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
8: 0x103910265 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
9: 0x1038f26de v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
10: 0x103d287ec v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
11: 0x104122df9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/doberkofler/.nvm/versions/node/v18.12.1/bin/node]
FAIL  test/unittest/frontend/UiElement/UiElementInputText.ts
● Test suite failed to run
A jest worker process (pid=82265) was terminated by another process: signal=SIGABRT, exitCode=null. Operating system logs may contain more information on why this occurred.

  at ChildProcessWorker._onExit (node_modules/jest-worker/build/workers/ChildProcessWorker.js:366:23)

<--- Last few GCs --->
[82264:0x7fc7e194d000]   235620 ms: Mark-sweep (reduce) 4062.3 (4143.2) -> 4061.7 (4143.7) MB, 2729.5 / 0.0 ms  (average mu = 0.599, current mu = 0.004) allocation failure; scavenge might not succeed
[82264:0x7fc7e194d000]   238272 ms: Mark-sweep (reduce) 4063.0 (4144.0) -> 4062.3 (4144.7) MB, 2645.7 / 0.0 ms  (average mu = 0.524, current mu = 0.002) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
FAIL  test/unittest/frontend/UiElement/UiElementLabel.ts
● Test suite failed to run
A jest worker process (pid=82264) was terminated by another process: signal=SIGTERM, exitCode=null. Operating system logs may contain more information on why this occurred.

  at ChildProcessWorker._onExit (node_modules/jest-worker/build/workers/ChildProcessWorker.js:366:23)

Debug log
too long
Additional context
No response
Environment
System:
    OS: macOS 13.1
    CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    npm: 9.2.0 - ~/.nvm/versions/node/v18.12.1/bin/npm
  npmPackages:
    jest: 29.3.1 => 29.3.1

Encountering this on some of my packages as well, also unfortunately private repos that can't be shared. It doesn't reproduce on smaller repos with smaller tests for me.
And the large repos I maintain that does reproduce this, I used max_old_space_size to increase the allowable RAM for science to 8gb and clearly something is memory leaking
<--- Last few GCs --->

[302721:0x69f09e0]   261217 ms: Scavenge 8060.4 (8223.6) -> 8053.4 (8220.9) MB, 33.2 / 0.1 ms  (average mu = 0.778, current mu = 0.264) allocation failure;
[302721:0x69f09e0]   261315 ms: Scavenge 8059.2 (8220.9) -> 8056.6 (8222.7) MB, 34.7 / 0.1 ms  (average mu = 0.778, current mu = 0.264) allocation failure;
[302721:0x69f09e0]   262539 ms: Scavenge 8062.0 (8222.7) -> 8057.9 (8240.4) MB, 1163.1 / 0.0 ms  (average mu = 0.778, current mu = 0.264) allocation failure;

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

To be clear, reverting back to version 29.0.3 will run successfully as expected, with the default max_old_space_size.
I installed ts-jest from github at https://github.com/kulshekhar/ts-jest/commit/d62a7ef4d3b7e761c0f2166d40f19b1d8f4c6692 and at that commit it works as expected. It seems to break at commit https://github.com/kulshekhar/ts-jest/commit/a445638ca631911e8ab1a896ffdfcd21506ce71a.


#86 Write one-jar directly to /bin

Closes #86
🔋
Since the chain of build -> oneJar -> bin provides a lot of troubles,
let's minimise the efforts and use destinationDir parameter of
Jar plugin:
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Jar.html#org.gradle.api.tasks.bundling.Jar:destinationDir

👍
Hope this solves our weird issues we have sometimes with it. ;-)

👍

@fmueller, me too. I have a feeling that it's a race condition and removing 1 step might help. Let's see.


Write Tests using Pester

Currently there are no tests written for this project, I am not familiar with pester.
It would be great help if someone  help with writing tests.

Added tests for core module


All sources must use WGS84 coordinates

This seems to be assumed and not checked.

This PR is superseded by https://github.com/onthegomap/planetiler/pull/1066


Added various githooks

After npm i has finished the gulp githooks task will be executed. This task copies all the available git hooks from /githooks/ to the /.git/hooks/ folder. The following hooks are added by default.

post-checkout This hook will check if changes are made to package.json. If so npm prune and npm i will be execuded. This hook also checks if changes are made to the githooks/ folder, if so gulp githooks will be executed.
post-merge This hooks works the same as the post-checkout hook.
pre-commit This hooks checks if changes where made to any .scss of .js files, if so then execude the related linting task.
prepare-commit-msg This hook will prepends the branch name to the commit message if the current branch is any branch but master

Fixed a small url related typo to one of contributors within package.json.
Changed js-test to js-lint which is semantically better.
Added css-lint task which currenlty does nothing.

It seems the exit code of the js-lint task is 0, which means there's no fail, where it should have given something different than zero. This means a git commit is still executed, instead of being blocked.

Added error reporters for jshint and jscs tasks so commit will now fail on error


Use notebook extensions

Add to the doc/readme how to use the extensions:
https://github.com/ipython-contrib/jupyter_contrib_nbextensions
https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator
so (for ex.) sections are automatically numbered

Now included in the README.md


[Feature 394] Introduce Context Aware Upcasters

This PR introduces the following abstract classes:

ContextAwareSingleEntryUpcaster
ContextAwareSingleEntryMultiUpcaster
ContextAwareSingleEventUpcaster
ContextAwareEventMultiUpcaster

I thus introduces basic upcasters for single and multiple entries, and single and multiple events, which are context aware. The context aware versions require a user to implement a createContext() function with the desired context format they want (e.g. a Map<Object, Object>).
The upcaster implementation can then for example gather context information from earlier entries/events and use the information to populate fields in the upcasted events.
This solves issue #394

Has been merged into 3.1 (master) instead.


No Live Streams While ffmpeg is streaming live

ffmpeg -f lavfi  -i testsrc -s 320x240 -ar 11025 -f flv -r 30.0 "rtmp://localhost"

If I close your app, then ffmpeg errors - so I know that ffmpeg is connecting to your app but maybe I'm not specifying the rtmp URL correctly?

@unformatt yes you are specifying it incorrectly. it has to be: "rtmp://localhost/live/STREAM_KEY_HERE"

@sallar Thanks for very fast response! I'm still seeing the same problem:
ffmpeg -f lavfi -i testsrc -s 320x240 -ar 11025 -f flv -r 30.0 "rtmp://localhost/live/HynOGqgCm"

@unformatt hmmm Im not sure but it seems like that the ffmpeg flags are not correct because now the URL should be. Are you trying to stream from a video source to the URL using ffmpeg?

Yes, trying to generate a test stream with ffmpeg for development. -i testsrc should creating a stream that looks something like

@unformatt Unfortunately I have very little experience with ffmpeg when it comes to streaming. I'll research this a bit...

@unformatt this is fixed in the latest version :) https://github.com/sallar/mac-local-rtmp-server/releases/tag/v1.3.0


Tune as_completed function queues.

Codecov Report
Base: 28.52% // Head: 28.52% // No change to project coverage :thumbsup:

Coverage data is based on head (951c361) compared to base (3f79f6d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           stable     #907   +/-   ##
=======================================
  Coverage   28.52%   28.52%
=======================================
  Files          72       72
  Lines        5872     5872
  Branches      314      314
=======================================
  Hits         1675     1675
  Misses       4112     4112
  Partials       85       85

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fuzzy name matching works

Done

fuzzy matching works on last_name and first_name fields.

Doing

Determine if date of birth should be fuzzy-matched or exactly-matched.
refactor fuzzy match into function.
implement trigram for postgresql databases.
implement switching between fuzzywuzzy and trigram algorithms depending on what database is present (this could range from a simple try-except to an implementation of the factory method).

Feedback: Loading the full database before filtering will take up a significant amount of memory in production.


Error - panic: close of closed channel

Hello, thanks for the great tool so far.
I just got a panic: close of closed channel error that interrupted my ongoing push.
Find the output here.
Running the same command leads to the same error, except the stack trace doesn't seem as long. If I should share that too, please let me know.
$ drive about => drive version 0.1.7 (recently upgraded via the AUR).
Please ask if I should give any other details, hopefully this is helpful.

Hello there! Thank you for the report. That error most definitely comes from the io abstracting package https://github.com/odeke-em/statos that I happen to the be author of too :)
Most definitely it stems from me not fully tracking a close attempt. Would you mind re-running
go get -u github.com/odeke-em/statos && go get -u github.com/odeke-em/drive/cmd/drive
Please let me know what happens with this.
Also welcome to drive.

Great, I used the executable gotten from doing that (as opposed to the one that I have in my /usr/bin from the AUR), and it worked perfectly. Thanks so much!
But sorry, could I bother you to explain what this means? As far as I understood it, the version I had downloaded was the most recent version (just looking at the commits here).
So did this simply refresh the install? As in, if I were to re-download the AUR package, it should also fix the issue?

Oh yes that got you the latest source. Basically go get -u gets the most recent from the repo, so pretty much like git pull origin *.
The binary in the AUR package is a bit stale since I updated the third party package since probably when it was compile. I shall summon up our AUR wizard @shaggytwodope and kindly ask him to help re package it for AUR :)
Please let me know if this makes sense.

Awesome thanks, definitely does ^_^ I'll just use the version I just got until then.
Have a good night!

Great, thank you have a good night too and feel free to reach out in case of any questions or ideas.

Great will do!


Remove compact encoding for perthings

as stated in https://github.com/paritytech/substrate/issues/5462#issuecomment-607278578

Percent:
0-63: 1 bit
64-100 2bit
so performance are worse for 36% of values
PerU16:
0-63: 1 bit
64-16_383: 2bit
16_383-65_535 (24%-100%): 4bit
so performance are worse for 75% of values
Permill:
0-63: 1 bit
64-16_383: 2bit
16_383-Million (1.6%-100%): 4bit
so performance are improved only for 1.6% smallest values
Perbill:
0-63: 1 bit
64-16_383: 2bit
16_383-billion (0.0016%-100%): 4bit
so performance are improved only for 0.0016% smallest values
Perquinntill:
0-63: 1 bit
64-16_383: 2bit
16_383-1_073_741_823: 4bit
...
Quinntil/10-Quinntill (10%-100%): 9bit
so performance is worse for 90% of values (by one byte though).

I think we should remove compact encoding of perthings as it is missleading

Why should we remove it?

I was thinking that having a compact encoding was kind of missleading as it is less compact for most values of percent and PerU16
for PerMill and PerBill it only improve very small values, which is not very useful.
For Perquintill it is also one byte longer for 90% of values.
but if this behavior is not unwanted we should keep it.


version NPM

I am currently working with NPM but there it is only up to version 1.13.18, could you update to have version 1.14?

Hello, when the next version is ready it will be available on npm. It is not ready.


feat: Create unit test for StartState #510

Description:
Create unit test for StartState
Related issue(s):
#510

 Quality Gate passed
The SonarCloud Quality Gate passed, but some issues were introduced.
7 New issues 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud

Handled

Handled in a later request. Please ignore

Handled in a later request. Please ignore


Unify return structure of test function

Our test functions at the moment have various return structures. Some return the wrapped function, some the unwrapped function, and some return the parameter space in addition. Should we unify this?

I will start doing this sometime soon. Any preferences? Of not I will go for
return func_wrapped, space, func
for quadrature:
return func_wrapped, integral_bounds, func

Personally, I don't see much value in returning both func_wrapped and func, as func is available as a property of func_wrapped. But if others agree this is a useful convenience, i won't disagree for long.

This is kind of done. Any more comments here?

Went through our test functions, and they all seem coherent in what they return: either function and space or function and integ bounds. Odd one out is sensitivity, but that's a different story. Thus agreed, let's close this!


this.testRun.passed(test, duration) should also take messages.

@connor4312
Tests can sometimes generate informational output, e.g. "iterations per second" or "total data transferred" or "warnings" are some examples I can think of, but I'm sure there are more.
I don't see why a passed test can't also have messages.
Can we add support for this?
Thanks.

The recommended way to do this is use appendOutput and pass the test argument. Is there something different you're after?

I want to add messages to specific lines.

appendOutput also has a location argument 🙂

Ohhh, I didn't know that. Thanks, I will try it.
Does it matter that the messages aren't attached to a specific test run?

When you use testRun.failed(test, messages, ...) are those messages attached to the test itself or just the testrun in general?

They're associated to the test in that test run. Tests themselves don't "own" any state outside of what's given in the TestItem class; all states, messages, and output are in test runs.

I am okay with using appendOutput. I will simply process the messages in the same way and call appendOutput if the test passes, or use the existing arguments for messages if the test fails. I still think this method should take a list of messages, but that might be hard to change. So, it's up to you, if you want to close this issue, that's fine by me.

yea, the messages on the failed state are a little different in that (a) they're richer and can have things like markdown and diffs, and (b) they signal the reason 'why' a test failed, where there isn't something as analogous for success.

I'm not sure why the same formatted output isn't valid for success too, basically. Certainly, appendOutput could take markdown.


Support Indexed Arrays

Supports indexed array elements when decoding and encoding form data (fixes #67, replaces #69).
Indicating that a value belongs to an array can now be done by appending [0], [1], etc. to the name, as an alternative to the already supported []. This allows for representing nested data inside elements in an array.
For instance, let matrix: [[Int]] = [[42,21]] can now be represented using part names matrix[0][0] and matrix[0][1]. Without indexed array elements there is no way to distinguish the above from [[42],[21]].

Note: FormDataEncoder now also includes indexes for array types in its output.

Credits go to @chocoford for identifying the issue, the test cases and the initial PR!

These changes are now available in 4.4.0


chore: Fix 'npm install' failing in CI and locally

The npm prepublish script is nasty in that it is also ran after npm install is ran. And as the last step in that script is git commit, and if the working tree is clean, that command will return an exit code. This in turn will make the CI fail.
I noticed that my docs PR in #15 was failing and I figured I'd try to see if there's something I could do to fix CI here.

Oh yeah you did a similar thing already :smile: e545cd5a0091a25699f79df50ade5b268e4cf89e
So I guess this PR can be closed, no? Unless you think this approach is good? I can rebase this branch on top of current master.

Oh yea this is indeed obsolete, you changed the name out from prepublish completely.


[stableswap]: Resolve large inaccuracies that arise from solver approximations

Background
Our CFMM solver has many terms that are heavily approximated, mainly due square root approximations. This leads to an ever-increasing inaccuracy in the output of the CFMM that scales with the number of tokens in pool reserves. We need to find a way to minimize or bound these inaccuracies if we want to be able to accommodate pools with large amounts of assets.
The simplified solver implemented in #2697 reduces these inaccuracies by around 3x for our current tests, but they still fall outside of our intended thresholds and, importantly, still scale with the number of assets in the pool. We can continue trying to simplify the solver, but I believe this path will have significantly diminishing returns.
Suggested Design

Interpolate the output value given the difference in k values between the beginning and end of the solver
If there is a clear overestimate, truncate the output to minimize security risks in the short term

Acceptance Criteria

Trades of all sizes against pools with $100M in each asset fall within our expected thresholds

I feel like the binary search approach is probably the move.
Also we really need to raise the fractional exponentiation precision bound, for the cubic root.

Closed by #2845


Primitive Schema Should Support More Data Types

The following data types should be added to the Primitive Schema list/table.

Digital twin primitive schema
Description

byte
An unsigned 8-bit integer.

short
A signed 2-byte integer.

uint
An unsigned 4-byte integer.

ulong
An unsigned 8-byte integer.

ushort
An unsigned 2-byte integer.

Thanks for feedback Greg! We really appreciate it.
Could you give us examples of scenarios where you'll want to use those data type?

@Tanmaiye Yes, especially when it comes to IoT devices (memory registers and such).  They are usually in sizes of 1/2/4/8/etc bytes.  Therefore, there will be cases when unsigned values need to be represented instead of being required to convert between unsigned & signed.
For example, you might have an 16-bit register where each bit represents the input/output direction for an I/O expander device.  Let's say 1 = input and 0 = output and we have the top byte all inputs and lower byte all outputs.  So the value would be 0b11111111_00000000.  Having the ability to use unsigned data types would be simple compared to signed values more conversions would be required.
You see lots of this work going on we're doing on the .NET IoT repo.
Hope this helps.

How would you represent bits within other primitive data types (byte, integer, ushort, etc.)?  Understanding, you currently can have a boolean individually like below.
{
          "@id": "http://azureiot.com/interfaces/deviceInformation/1/statusled",
          "@type": "Property",
          "comment": "LED that represents the current status of IoT device.",
          "displayName": "Status LED",
          "name": "statusLed",
          "schema": "boolean"
}

Related to System.Device.GPIO APIs, the above would be helpful as the property could be converted to control the hardware LED.  See blinking code example here.
However, there are many cases where byte(s) are read/written as a whole, but are defined by multiple bits that represent hardware flags, interrupts, I/O, etc..  Therefore, we need a way to define data types down to the bit-level.  For example, lets say there is a byte data type (e.g. SPI memory register) where bit 0 represents an interrupt, bit 3 represents the state of an input, bit 6 represents an error LED and bit 7 represents a status LED.
Disclaimer: I'm only thinking out loud in this example to try and explain for collaboration.
{
          "@id": "http://azureiot.com/interfaces/deviceInformation/1/controlRegister",
          "@type": "Property",
          "comment": "Register that represents various I/O.",
          "displayName": "Control Register",
          "name": "controlRegister",
          "schema": "byte",
          "bits": [
            {
                    "@id": "http://azureiot.com/interfaces/deviceInformation/1/controlRegister/input1Interrupt",
                    "@type": "Property",
                    "comment": "Interrupt flag for input 1.",
                    "displayName": "Input 1 Interrupt",
                    "name": "input1Interrupt",
                    "schema": "boolean",
                    "bit": "0",
        },
        {
                    "@id": "http://azureiot.com/interfaces/deviceInformation/1/controlRegister/input1",
                    "@type": "Property",
                    "comment": "Input 1 located on hardware.",
                    "displayName": "Input 1",
                    "name": "input1",
                    "schema": "boolean",
                    "bit": "3",
        },
        {
                    "@id": "http://azureiot.com/interfaces/deviceInformation/1/controlRegister/errorLed",
                    "@type": "Property",
                    "comment": "LED that represents an error has occurred..",
                    "displayName": "Error LED",
                    "name": "errorLed",
                    "schema": "boolean",
                    "bit": "6",
        },
        {
                    "@id": "http://azureiot.com/interfaces/deviceInformation/1/controlRegister/statusLed",
                    "@type": "Property",
                    "comment": "LED that represents the current status of IoT device.",
                    "displayName": "Status LED",
                    "name": "statusLed",
                    "schema": "boolean",
                    "bit": "7",
        },
          ]
}

NOTE: This example only focused on individual bits, but could extend this even further for enums and multiple bits with a data type to represent (but that's for another day... 😄)

How would you configure for choices?  Enums are an option, but what if you only wanted to limit a property to only 2 selections within the entire enum values?  Or what if you need to choose between properties that are of different types?  Meaning, I need to select a Boolean, Integer or complex object.


Sync upstream and add psp

This PR:

adds/changes/removes etc

Testing
Description on how {APP-NAME} can be tested.

[ ] fresh install works

[ ] AWS
[ ] Azure
[ ] KVM

[ ] upgrade from previous version works

[ ] AWS
[ ] Azure
[ ] KVM

Other testing
Description of features to additionally test for {APP-NAME} installations.

[ ] check reconciliation of existing resources after upgrading
[ ] X still works after upgrade
[ ] Y is installed correctly

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

I added only PSP to chartmuseum to check before adding to the rest


feat: keep track and use local nonce

fixes #530 . Uses WalletConfig to keep track of the last nonce used by this user.

Hey @timstackblock this is ready for QA. To test this:

Use the testnet demo app
Make two contract calls in a single block (i.e. about 1 minute apart)
It should all just "work" - both transactions should be able to go through, you shouldn't see any errors when broadcasting the second TX

@hstove  please redeploy the contract of testnet

@timstackblock Mind testing again and letting me know if you have problems with the contract not being deployed?

@hstove you mentioned wanting to close this PR in favor of https://github.com/blockstack/ux/issues/702 correct?

@markmhx yep, closing!


Generator Source Adapter

The module should take the transformers generated from the Core module and produce source file representations. Those will be compiled as part of the standard build of the client project.
The output could be a JavaFile (from Java Poet library) to be written explicitly by the client, or a Path where the file has been written: this depends if we want the adapter to be free of side-effects.

The class package should be customizable or have a default value and it will correspond to a path on disk where the file will be written according to Java convention.
A base path, where the package directories will be written, should be customizable or have a default value.
In order to be testable and decoupled from the underlying filesystem, the adapter should be injected with a java.nio.file.FileSystem.
For testing purposes, an in-memory filesystem library could be used such as https://github.com/google/jimfs

To maintain uniformity in this project, a common interface should be extracted from this adapter and the Bytecode Adapter, to anticipate future adapters and to decouple the module's clients from concrete implementations.
This module is intended as internal usage in Bull and should not be referenced directly by clients.

Implemented within the PR: #171


MRG: Fix sphinx-gallery naming

Closes #298.

CIs are happy and the build works (doesn't change the webpage really):
https://167-11614571-gh.circle-artifacts.com/0/home/ubuntu/expyfun/doc/_build/html/auto_examples/index.html
Ready for review/merge from my end.

Seems reasonable to me, but @drammock knows this this stuff better than I. +0.5 for merge.

wow, another drammock TODO crossed off by @Eric89GXL.  Thanks!


Update setup.cfg

Hi thanks for the brilliant mapping tool
recently when I want to  install rxnmapper on python 3.9
I get following error:
"
copying scipy/_lib/_uarray/setup.py -> build/lib.linux-x86_64-cpython-39/scipy/_lib/_uarray
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'mach' library
error: library mach has Fortran sources but no Fortran compiler found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy, which is required to install pyproject.toml-based projects
"
since it seems the problem of Fortran, we run following:
sudo apt-get update && sudo apt-get install gfortran
unfortunately this leads to the same error and many more warnings
"
Warning: Unused variable ‘tarray’ declared at (1) [-Wunused-variable]
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/smout.f
error: Command "/usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC -I/tmp/pip-build-env-artgtyxl/overlay/lib/python3.9/site-packages/numpy/core/include -c -c scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaitr.f -o build/temp.linux-x86_64-cpython-39/scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaitr.o" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy, which is required to install pyproject.toml-based projects
"
based on this link: https://github.com/scipy/scipy/issues/11611
scipy before 1.5 is not compatible with gfortran 10, and rxnmapper explicitly depends on scipy 1.4.1
so I wonder if it is possible to change the scipy version to the latest or relatively new one
and probably the  python version also if necessary
if this change does not lead to many troubles.

Thanks for reporting this! Confirmed on my side.
Happy to integrate this PR, with the following requests:

Complete the CLA as provided in the instructions above
We need to keep python_requires = >= 3.6, otherwise the package will not be compatible anymore with 3.6 and 3.7
Instead of forcing the scipy version to be 1.9.3, I think it will be enough to relax its version with scipy>=1.4.1. This will also ensure backwards compatibility.

If you prefer, I can do these changes in a separate PR instead.

Thanks so much for your prompt reply! agree with  all proposals, please do it in a separate PR, many thanks!

The new version (0.2.3) should be compatible with Python 3.10.
Let us know if you run into any problems!


feat(field-image): use grid-image placeholders

Description

Checklist

[ ] Read the contributing guidelines.
[ ] Each commit follows the Conventional Commit spec format.
[ ] Update the readme (if applicable).
[ ] Update or add any necessary API documentation (if applicable)
[ ] All existing unit tests are still passing (if applicable).

[ ] Add some steps so we can test your bug fix or feature (if applicable).
[ ] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[ ] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[ ] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.

Current dependencies on/for this PR:

next

PR #173

PR #174

PR #175

PR #176

PR #177

PR #178

PR #179   👈

This comment was auto-generated by Graphite.


Add Proper Credits

Add Credits in cover image 👇

Update this UI Design Section with below👇
UI Design 🎨
The UI/UX & README.md structure for this Wiggles App was designed by @Spikeysanju
Click to View Wiggles app Design from below 👇

@sameersyd Buddy adding a proper credits will be beneficial for me as well as you. Thank you 👍


[SPARK-21597][SS]Fix a potential overflow issue in EventTimeStats

What changes were proposed in this pull request?
This PR fixed a potential overflow issue in EventTimeStats.
How was this patch tested?
The new unit tests

Test build #80132 has started for PR 18803 at commit 7252e2a.

LGTM

Test build #80132 has finished for PR 18803 at commit 7252e2a.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class EventTimeStats(var max: Long, var min: Long, var avg: Double, var count: Long)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80132/
Test FAILed.

retest this please

Test build #80139 has started for PR 18803 at commit 7252e2a.

Test build #80139 has finished for PR 18803 at commit 7252e2a.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class EventTimeStats(var max: Long, var min: Long, var avg: Double, var count: Long)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80139/
Test PASSed.

Thanks! Merging to master and 2.2.


Pattern that the region-based isolation checker does not understand how to check

Description
In Xcode 16.0 beta 4 there's a new compiler error for code that used to build in previous betas.
Possibly related to #75439
Reproduction
actor A {
    var things: [String]

    init() {
        things = []
    }
}

@MainActor class B {
    let a = A()

    var stuff: [String] = []

    func doSomething() async {
        // ❌ Pattern that the region based isolation checker does not understand how to check. Please file a bug
        stuff = await a.things
    }
}

Expected behavior
This worked fine in previous betas of Xcode 16.0. It should compile without issues.
Environment
% swiftc -version
swift-driver version: 1.112.3 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.8 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0

Additional information
Using a method instead of directly accessing the var works just fine.
actor A {
    var things: [String]

    init() {
        things = []
    }

    func getThings() -> [String] { things }
}

@MainActor class B {
    let a = A()

    var stuff: [String] = []

    func doSomething() async {
        // ✅ works fine with methods
        stuff = await a.getThings()
    }
}

@gottesmm has been solving these recently


Node.js  Loaders Team Meeting 2022-12-06

Time
UTC Tue 06-Dec-2022 19:00 (07:00 PM):

Timezone
Date/Time

US / Pacific
Tue 06-Dec-2022 11:00 (11:00 AM)

US / Mountain
Tue 06-Dec-2022 12:00 (12:00 PM)

US / Central
Tue 06-Dec-2022 13:00 (01:00 PM)

US / Eastern
Tue 06-Dec-2022 14:00 (02:00 PM)

EU / Western
Tue 06-Dec-2022 19:00 (07:00 PM)

EU / Central
Tue 06-Dec-2022 20:00 (08:00 PM)

EU / Eastern
Tue 06-Dec-2022 21:00 (09:00 PM)

Moscow
Tue 06-Dec-2022 22:00 (10:00 PM)

Chennai
Wed 07-Dec-2022 00:30 (12:30 AM)

Hangzhou
Wed 07-Dec-2022 03:00 (03:00 AM)

Tokyo
Wed 07-Dec-2022 04:00 (04:00 AM)

Sydney
Wed 07-Dec-2022 06:00 (06:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Loaders Team+Meeting+2022-12-06&iso=20221206T1900
or https://www.wolframalpha.com/input/?i=07PM+UTC%2C+Dec+06%2C+2022+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/11ofgzARqw0MNOZ6OjSSn2hN9wsXGmtFS6d4imrosZuI/edit

Agenda
Extracted from loaders-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
Invited

Loaders team: @nodejs/loaders

Observers/Guests
Notes
The agenda comes from issues labelled with loaders-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: https://zoom.us/j/97506450082

For those who just want to watch: https://www.youtube.com/c/nodejs+foundation/live

No agenda, is there anything to discuss? @JakobJingleheimer how’s https://github.com/nodejs/node/pull/44710?

I haven't made any progress :( the breakpoint didn't help too much since I don't know what I'm looking at; I'm slowly following the chain.

Canceling unless anyone asks to meet.


*: use retool to manage tools

This PR uses retool to manage tools

Actually go mod is more preferred over retools since no 3rd-party tool is needed 🤣 See https://stackoverflow.com/questions/56636580/replace-retool-with-tools-go-for-multi-developer-and-ci-environments-using-go-mo

Actually go mod is more preferred over retools since no 3rd-party tool is needed 🤣 See https://stackoverflow.com/questions/56636580/replace-retool-with-tools-go-for-multi-developer-and-ci-environments-using-go-mo

Yes. But we may need some other tools which are not go-based in the future?

More like go mod to management tools.🤣which tool may not go-based but we need it?