Stuck in (re)installation

Hello,
I tried a lot of things and don't really remember all. Probably not a bug, I'm just doing something wrong. After trying to read more and more documentation, the only thing I can do is ask here.
I'm just trying to re-deploy cert-manager from start :
$ ./helm install --set webhook.enabled=false --name cert-manager --namespace ingress-nginx --version v0.10.0 jetstack/cert-manager
Error: Could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: webhook.certmanager.k8s.io/v1beta1: the server is currently unable to handle the request
What I've done :
$ kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.10/deploy/manifests/00-crds.yaml
kubectl label namespace ingress-nginx  certmanager.k8s.io/disable-validation=true
I also tried to delete the CRD with :
$ kubectl delete -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.10/deploy/manifests/00-crds.yaml
And re-aply it, same error.
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-09-27T17:05:32Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.3", GitCommit:"435f92c719f279a3a67808c80521ea17d5715c66", GitTreeState:"clean", BuildDate:"2018-11-26T12:46:57Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
$ kubectl get customresourcedefinition | grep certmanager
certificaterequests.certmanager.k8s.io   2019-09-09T17:25:06Z
certificates.certmanager.k8s.io          2019-09-09T17:25:07Z
challenges.certmanager.k8s.io            2019-09-09T17:25:08Z
clusterissuers.certmanager.k8s.io        2019-09-09T17:25:09Z
issuers.certmanager.k8s.io               2019-09-09T17:25:10Z
orders.certmanager.k8s.io                2019-09-09T17:25:11Z
$ kubectl get issuer --namespace ingress-nginx
No resources found.
This is the main reason I tried to reinstall everything.
This is a private kubernetes cluster, I don't think it's RBAC related (but can't be sure).
Any way to get rid of this error message ? Or at least, find the reason.
Thanks for your help !

Thank you !
You're right, running :
kubectl delete apiservice v1beta1.webhook.certmanager.k8s.io
and deleting cert-manager with helm got me unstuck.
for the records, I had next to re-run the install with :
helm install --set webhook.enabled=false --set ingressShim.defaultIssuerName=letsencrypt-prod --set ingressShim.defaultIssuerKind=ClusterIssuer --name cert-manager --namespace ingress-nginx --version v0.10.0 jetstack/cert-manager
And finally, the whole started to works again in version 0.10 !
Thanks again


rthooks: support NRI

This is a first PR for supporting NRI (https://github.com/containerd/nri), and having an easy way to install the tetragon runtime hook in containerd. Please see patches.
The main idea is to:

Have a different image for the runtime hooks binaries (tetragon-rthooks)
Create a separate daemonset for them, so that they can be independent from the tetragon daemonset)
Use this daemonset for the NRI hook (containerd)
Also use this daemonest for the CRI-O hook (where now we are using an init container)

I did one pass, left a few minor comments. I would need a second pass to fully follow the code logic, but looks good overall :)

Thanks Anna! I addressed the comments.

No sorry, it’s confusing because I commented on the docker file but I meant line 38 and 39 of https://github.com/cilium/tetragon/blob/main/.github/renovate.json5Le 4 juil. 2024 à 14:04, Kornilios Kourtis @.***> a écrit :
@kkourt commented on this pull request.
On Dockerfile:
You mean Dockerfile.rthooks? Isn't it covered by: https://github.com/cilium/tetragon/blob/4ab963fad73904157f4b1456f9af5f9f1bfc6cd9/.github/renovate.json5#L40
?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because your review was requested.Message ID: @.***>

Nice patches! I just skipped this commit 4360fbf to be honest but the rest looks good, here are some comments :)

Thanks for the review! Pushed a new version to address the comments.

Merging this, thanks everyone for the helpful reviews!


Add Ironi Alef Modiin domain

Ironi Alef Modiin High School From Isreal, Modiin
The official website url is: http://ironialef.org.il/
And about the domain, The school have its own email system under the same domain as the website.
The emails are:
<EMAIL_ADDRESS>

@joni7777 Pull request merged. Thank you!


Allow not existing files for external modules

When process the external imports may be that the file don't exists, then when you access to the property "file" of exportMap item and get an error.
I think the first to do is to check externals parameters, if externals is false you haven't if the file is excluded, and if 'externals' is false It may be that the file does not exist then you have to check p to access to p.file.
I'm generating .d.ts for ng-forward project and I have been problems with reactive/rxjs import, with these changes work fine.

@tolemac This project is without owner. Would you be willing to take over?

/cc @vvakame for approval (I already have all the access to be able to transfer it) :rose:

@basarat I'm not sure about it. I don't have a lot of experience on open source projects. By the other hand this is a small project, may be a good start.
Can I ask you if I need help or have any problem in the future?  If you say yes, I also.

According to autodts-generator readme TypeScript 1.8 implements the main goal of this project.
Is correct?

@tolemac indeed. Also there is https://github.com/SitePen/dts-generator that I now personally use. But lately, even simpler just going with node module resolution : https://basarat.gitbooks.io/typescript/content/docs/node/nodejs.html
Maybe it isn't sufficient for people, or maybe there isn't much education, nevertheless I haven't had the need for this project lately

I have been testing dts-generator and autodts and don't like them.
I like dts-bundle because it start from a d.ts file, don't need tsconfig.json and exports only that I want.
To have this pull request would be nice.

@tolemac I've added you as a collab here. Feel free to merge the PR and own this project :rose:
I also wrote one possible workflow you can follow<EMAIL_ADDRESS>:rose: feel free to customize / ask for help.
Also added you as a collab on https://www.npmjs.com/package/dts-bundle :rose:

PS : sorry for the late reply :rose:

Ok. I get down to work ;)


Modded Consumption

blood_bucket1.txt
blood_bottle.txt
blood_bucket2.txt
blood_slime_balls.txt
These are in .txt format so I could upload them here.
Long story short they make eating noises, but dont replentish health or consume the item

Change your checks from origins:food_level to origins:health or origins:relative_health
If I remember correctly, those origins cannot get below 20 food level.


Investigate now the batch pipeline deals with new Psiphon and Tor experiments

This involves understanding how the batch pipeline is handling (if it is at all) the ingestion of the new psiphon and tor tests. If there is something we can/should do to support ingesting them.

@hellais can we check again now that we advertise that we're using data format version 0.2.0?

We should check these two report files:
20200217T100840Z_AS30722_WRpVdRO7ncemc3v4QGtPEWYrhtPt1gpIqytrEnGenNK907wLa0
20200217T100904Z_AS30722_1QkEAEmYKfVbSFuHrf2IcU9qFOwgrBqf1yuMY3MIWI0zw5K1x0

But they have been submitted just this morning, so we should check starting from tomorrow once the batch pipeline ticks.

@hellais I have checked both report files on explorer, and did see the following:

https://explorer.ooni.org/measurement/20200217T100840Z_AS30722_WRpVdRO7ncemc3v4QGtPEWYrhtPt1gpIqytrEnGenNK907wLa0

https://explorer.ooni.org/measurement/20200217T100904Z_AS30722_1QkEAEmYKfVbSFuHrf2IcU9qFOwgrBqf1yuMY3MIWI0zw5K1x0

I believe it's safe to claim it's the batch pipeline, because the link to download one of the two JSONs is https://api.ooni.io/api/v1/measurement/temp-id-383538180, so it's clearly the legacy pipeline.


Add unit test for "parse_requirements" function

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (e7571ea) 87.50% compared to head (6ce1e26) 88.50%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #392      +/-   ##
==========================================
+ Coverage   87.50%   88.50%   +1.00%
==========================================
  Files           2        2
  Lines         256      261       +5
==========================================
+ Hits          224      231       +7
+ Misses         32       30       -2

Files
Coverage Δ

pipreqs/__init__.py
100.00% <100.00%> (ø)

pipreqs/pipreqs.py
88.37% <100.00%> (+1.02%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

rebase it and it LGTM

Done @alan-barzilay


com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction

Hi,
we're using HikariCP which is built into Play 2.4.7. For parts of our application's core framework, we're obtaining Connections directly from the Play-built-in HikariCP. We ensure to release them properly by combining try-with-resource with a functional design:
public default <T> T onConnectionApply(FunctionWithSQLException<Connection,T> function) {
  try (Connection conn=DB.getConnection("default")) {  // Play's DB object...
    return function.apply(conn);
  } catch (SQLException sqe) { throw new UncheckedSQLException(sqe);  }
    // wrap SQLExceptions into a specialized RuntimeException due to Java's Streams framework
}

public default <T> T onStatementApply(FunctionWithSQLException<Statement,T> function) {
  return onConnectionApply(conn->{
    try (Statement stmt=createStatement(conn)) {
      // createStatement() delivers Statement without escape processing
      return function.apply(stmt);
    } catch (SQLException sqe) { throw new UncheckedSQLException(sqe); }
  });
}

We're opening a new Connection for each Statement and a new Statement for each query this way to ensure that Connections are released fast by our framework.
In our unit test environment, we use the default HikariCP settings from play with the only exception of db.default.hikaricp.maximumPoolSize being 50 as we know that there are issues with legacy code opening parallel database connections.
In our unit test environment, we're using a MySQL 5.5 server storing everything in a Linux tmpfs-RAM-disk. We have a unit test which adds vast amounts of data in parallel on about 10 threads and with a very high rate. In the past, this test has discovered subtle parallelism bugs in our own framework. Today, I observed this:
de.cantamen.quarterback.db.UncheckedSQLException: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
        at de.cantamen.quarterback.db.ConnectionProvider.lambda$onStatementApply$3(ConnectionProvider.java:136)
        at de.cantamen.quarterback.db.ConnectionProvider.onConnectionApply(ConnectionProvider.java:110)
        at de.cantamen.quarterback.db.ConnectionProvider.onStatementApply(ConnectionProvider.java:131)
        at de.cantamen.quarterback.db.ConnectionProvider.insertWithAutoIncrement(ConnectionProvider.java:226)
        at biz.chitec.quarterback.util.DBAbstractor.insertWithAutoIncrement(DBAbstractor.java:648)
        at de.chitec.ebus.server.importer.GenericImporter.performAction(GenericImporter.java:848)
        at de.chitec.ebus.server.importer.GenericImporter.handleImport(GenericImporter.java:427)
        at de.chitec.ebus.server.adminexecs.BookeeTypeAdminExecutor.importBookeeType(BookeeTypeAdminExecutor.java:58)
        at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at [... our own server framework ...]
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1065)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2713)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1794)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1882)
        at com.zaxxer.hikari.proxy.StatementProxy.executeUpdate(StatementProxy.java:124)
        at com.zaxxer.hikari.proxy.StatementJavassistProxy.executeUpdate(StatementJavassistProxy.java)
        at de.cantamen.quarterback.db.ConnectionProvider.lambda$insertWithAutoIncrement$8(ConnectionProvider.java:227)
        at de.cantamen.quarterback.db.ConnectionProvider.lambda$onStatementApply$3(ConnectionProvider.java:133)

I have never seen this before. Could this be a problem in HikariCP? Note that we are only using auto-committing transactions. The operation in question was an insert into a table with an ìnt auto_increment primary key row. For these, we use the following helper method to obtain that newly inserted primary key:
public default int insertWithAutoIncrement(String insertstatement) {
  return onStatementApply(dbstmt-> {
    dbstmt.executeUpdate(insertstatement, Statement.RETURN_GENERATED_KEYS);
    ResultSet rs = dbstmt.getGeneratedKeys();
    return (rs.next()?rs.getInt(1):-1);
  });
}

Could it be that there are any issues with connection pooling and obtaining the newly generated key this way? Or is it more probable that - after all - MySQL has a problem with auto_incrementing and the problem was raised there.  Where should I dig to find out what is going on? I would really appreciate if you could comment on this issue. I will give any additional information needed.
Best regards,
Dirk

@dirkhillbrecht I do not think this is an issue with HikariCP.  Possibly HikariCP is allowing you to punish your DB more than before. 😄
This seems a fairly common issue:
http://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-found-when-trying-to-get-lock-try-restarting-trans
http://stackoverflow.com/questions/2596005/working-around-mysql-error-deadlock-found-when-trying-to-get-lock-try-restarti
One solution is to see if you can force a locking order (link 1) or use indexes to avoid table-scans that can cause locking (also link 1).  A more drastic solution is to tweak MySQL settings -- though the suggestions come with caveats and warnings (link 2).
Though as suggested also in link 2, yet another solution is to expect that the exception is possible, and do as the error message suggests ... retry the query.


Convert manuals to markdown

Fixes: #1597

HEVC_FEI_overview most likely would remain as it is for now. Not sure, that converting it worth investments. And unlike other manuals it more resembles finalized article.
I'll check out asg-hevc-man tomorrow.


Jasmine/Teaspoon testing infrastructure

Adds missing Rails Engine components and Jasmine/Teaspoon testing infrastructure.
Example spec included (but should be deleted eventually)
The massive number of files is mostly the dummy rails application that is used by Teaspoon to launch the testing code

I can't seem to get the tests to run in the browser while running a rails server, and I can't get a coverage report to generate. Do you have to do something special to get these working?

This has my approval, but.... It needs to be tested with bonnie. Someone should point bonnie's gemfile at this branch and see if it breaks anything. I don't have time right now to do so.

I'll test this now

Okay, this doesn't work:
MM197448-pc:bonnie ctohline$ bundle install
Fetching https://github.com/projectcypress/health-data-standards.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 4.1.12)

  In Gemfile:
    rails (>= 4.0.0)

    cql_qdm_patientapi was resolved to 0.1.0, which depends on
      rails (~> 4.1.16)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Rails versions should be aligned now

Still failing, now due to coffee-rails. I suggest you pull Bonnie cql4bonnie branch, make this 1 change to the Gemfile (pointing to your local copy of the testing branch) and making sure bundle install works. Might as well run ruby and jasmine tests, to make sure nothing breaks


ceph_default: Use vars cluster, setuser and setgroup for all daemons

Allow all daemons drop privilege themselves, except ceph-exporter

@guits I've tried this PR, but tests totally failed:) These variables will not be used in the future?


chore(main): release 10.4.1

:robot: I have created a release beep boop
10.4.1 (2024-12-05)
Bug Fixes

tools: explictly add cwd to plenary.job call (e78006d)
tools: strip ansi from cmd output (679a9a5)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v10.4.1
:sunflower:


GAM just hangs....

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

Enter a command, such as gam user add forwardingaddress
Gam shows no response
If i push a key, it says process complete.

Expected outcome (what are you trying to do?):
Add a forwarding email
Actual outcome (what errors or bad behavior do you see instead?):
Just get a process complete, it's not actually done, and then terminal doesnt let me run another code, have to open a new window.

What platform (LInux/MacOS/Windows) are you on?
What do these commands do:
gam version
gam info domain
Ross

Please move this to the discussion group:
https://groups.google.com/forum/#!forum/google-apps-manager


Is it possible to specify a local venv path to use at runtime? (python in rust)

It is much cleaner to be able to choose a local venv in runtime rather than rely on packages being globally installed
I am trying to orchestrate python modules being executed using user input data then forwarding results etc..

@kajogo777 can you give a more specific example of what you want? E.g. the steps you're trying to do, and what step fails.

@davidhewitt I think the problem they are experiencing is that if you try to install the word count example inside of a virtualenv, you get the error:
running build_rust
error: failed to read `/home/dalley/Devel/foss-dev/pyo3/examples/.env/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

Cargo.toml is obviously in the examples/word-count/ directory, not in examples/.env/, which is the local virtualenv.

@dralley can you give me the exact command you're running which fails? (And OS, pyo3, pip versions if relevant)

Fedora 32, Python 3.8, pyo3 master, pip 19.3.1

Created a virtual environment in examples/ directory and activated it
Moved to word-countdirectory
Tried both python setup.py install and pip install -e .
See identical error for both

Installing collected packages: word-count
  Running setup.py develop for word-count
    ERROR: Command errored out with exit status 1:
     command: /home/dalley/Devel/foss-dev/pyo3/examples/.env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/dalley/Devel/foss-dev/pyo3/examples/word-count/setup.py'"'"'; __file__='"'"'/home/dalley/Devel/foss-dev/pyo3/examples/word-count/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
         cwd: /home/dalley/Devel/foss-dev/pyo3/examples/word-count/
    Complete output (45 lines):
    running develop
    running egg_info
    writing word_count.egg-info/PKG-INFO
    writing dependency_links to word_count.egg-info/dependency_links.txt
    writing top-level names to word_count.egg-info/top_level.txt
    reading manifest file 'word_count.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'word_count.egg-info/SOURCES.txt'
    running build_ext
    running build_rust
    error: failed to read `/home/dalley/Devel/foss-dev/pyo3/examples/.env/Cargo.toml`

    Caused by:
      No such file or directory (os error 2)
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/dalley/Devel/foss-dev/pyo3/examples/word-count/setup.py", line 72, in <module>
        setup(
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools/command/develop.py", line 38, in run
        self.install_for_development()
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools/command/develop.py", line 140, in install_for_development
        self.run_command('build_ext')
      File "/usr/lib64/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools_rust/build_ext.py", line 26, in run
        build_rust.run()
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools_rust/build.py", line 313, in run
        self.build_extension(ext)
      File "/tmp/pip-build-env-5pczqmm8/overlay/lib/python3.8/site-packages/setuptools_rust/build.py", line 95, in build_extension
        metadata = json.loads(check_output(metadata_command).decode("utf-8"))
      File "/usr/lib64/python3.8/subprocess.py", line 411, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "/usr/lib64/python3.8/subprocess.py", line 512, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['cargo', 'metadata', '--manifest-path', 'Cargo.toml', '--format-version', '1']' returned non-zero exit status 101.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/dalley/Devel/foss-dev/pyo3/examples/.env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/dalley/Devel/foss-dev/pyo3/examples/word-count/setup.py'"'"'; __file__='"'"'/home/dalley/Devel/foss-dev/pyo3/examples/word-count/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

It looks like this is reported under setuptools-rust
https://github.com/PyO3/setuptools-rust/issues/56
https://github.com/PyO3/setuptools-rust/issues/46

Actually, it might just be an interaction between cargo and virtualenvs that is difficult to avoid:
(.env) [dalley@localhost word-count]$ cargo metadata
error: failed to read `/home/dalley/Devel/foss-dev/pyo3/examples/.env/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

Interestingly, on my WSL system (ubuntu 18.04), I can reproduce the issue you see above if I create a .env directory in the examples folder (using python3.8 -m venv $(pwd)/.env).
However, if I use a virtualenv ceated by virtualenvwrapper (also using python3.8), I have no issues.
Might do some digging another time to figure out what's happening.


Flaky Integration Test: AccessLog TestAccessLog

Do you want to request a feature or report a bug?
bug
Summary

Which test is flaky? -> AccessLogSuite.TestAccessLog
Cause -> Log line does not match expected format. Probably because frontend/backend was not yet registered and thus log line contains - instead of frontend name.
Failed build -> https://semaphoreci.com/containous/traefik/branches/master/builds/188

Log excerpt
----------------------------------------------------------------------
FAIL: access_log_test.go:27: AccessLogSuite.TestAccessLog

access_log_test.go:82:
    CheckAccessLogFormat(c, line, i)
access_log_test.go:102:
    c.Assert(tokens[11], checker.HasPrefix, "frontend")
... obtained string = "-"
... prefix string = "frontend"

Already fixed


iss-hifi: fix header guard issue

fix header guard to avoid mixed include header file

The format issue reported by CI can't be resoved, since the header is from vendor.

@pengxianghao21 the style check make the false alarm, how to bypass it?

@pengxianghao21 the style check make the false alarm, how to bypass it?

should we pass all coding style in tie-asm.h within xtensa later in all?
if so, tie-asm.h we may add it the coding check white list, then trigger CI later.cc @zhangning21


[BUG]: agent capabilities doesn't work in pipeline

What happened?
We are using Azure DevOps Server 2022.0.1
Agent version 3.220.5 and 2.217.2 and 2.190.0
On the agent there is an agent capability VisualStudio_IDE equals C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE
It is detected by the agent. I don't have any environment variable on the pipeline agent host machine.
In a build pipeline I have a variable TFSSecurityFullPath equals $(VisualStudio_IDE)\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TFSSecurity.exe
It doesn’t calculate the value correctly. It seems the agent capabilities are not passed to the pipeline as a variable.
Versions
I tested it on Agent version 3.220.5 and 2.217.2 and 2.190.0
Azure DevOps Server 2020 update 1 and azure devops server 2022.0.1
Environment type (Please select at least one environment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Azure DevOps Server Version (if applicable)
Azure DevOps Server 2022.0.1
Operation system
Windows Server 2019
Version control system
TFVC
Relevant log output
No response

Hi @Shahyads, , thanks for reporting.
Could you please provide pipeline debug & diagnostic logs? You can retrieve them by following docs. You should also set up 'Agent.Diagnostic' pipeline variable as 'true' before pipeline run.
And could you please also provide your pipeline's yaml file.
For security reasons you can share logs and files to my mailbox<EMAIL_ADDRESS>

Hi @LiliaSabitova
the pipeline that i've tested is Classic. it is not a YAML pipeline
to reproduce the issue you can simply
1- Create a pipeline
2- Add command line task to echo $(Agent.ComputerName)
3- run the pipeline
4- in the output log you cannot see the value of Agent.ComputerName
you can try it with any other agent capabilities like $(Java) etc.

Hi @LiliaSabitova
I found this extension Agent Capabilities
I think it should be built-in functionality of the agents


Is the space size, configurable?

Next week I will push a new release with resolving this issue and supporting Swift 4 with iOS 11

alright. i guess you'll let me know when.
This is the only thing i think thats missing from this lib. The space is too wide.

Sure, I will notify you when it available.
Thank you for your contribution :wink:

hey patchthecode
check it now, please

awesome man. it works.
the only change i did was i commented out this line
    @IBInspectable open var spaceDegree: CGFloat = 45.0 {
        didSet {
//            if spaceDegree < 45.0{
//                spaceDegree = 45.0
//            }

As i needed my circle gap to be smaller.
cheers 🍻

:+1:


Test/testcases target k caculator

Closes: #3436
What is the purpose of the change

Add test cases for targetKCaculator

Brief Changelog

Add test cases for targetKCaculator in pool-models/stableswap

Testing and Verifying
This change added tests and can be verified as follows:
add test cases for targetKCaculator, run amm_test for stableswap
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (no)
How is the feature or change documented? (not documented)

Hey, I did a conflict resolution thing here, you can merge it into your branch :)
https://github.com/osmosis-labs/osmosis/tree/hoangdv/testcases/targetKCalculator

Hey, I don't think in its current form this makes sense to merge / effectively tests the function. I'd like to close this for now, along with the original issue


How to install multiple instances

I am attempting to install SQL with two SQL instance names on the same box. I can not find a way to do that xSqlServerSetup. Do yo have any way to do this?

I found it in the Configuration area. Closing issue


fix(search): remove ul bg opacity

Screenshots
Firefox

Light
Dark

Safari

Light
Dark

Description
Hi @shuding, thank you for creating an amazing static site generator.
I found a little style issue on the search result and try to fix it, not sure change is good or not, feel free to give me any suggestions, thank you.
Signed-off-by: Jie Peng<EMAIL_ADDRESS>

Thanks for your PR! But it does show the opacity and backdrop blur for me… maybe we should have a way to fallback.

For example using something like https://stackoverflow.com/questions/38145368/css-workaround-to-backdrop-filter

I use Firefox as the main browser and now I understand it still does not support backdrop-fitler...
Let me take the time to figure out any solution, I'm not familiar with Tailwind CSS haha.

Hi @shuding:
I added Firefox and Safari browser comparison screenshots, it works for me, anything needs to adjust feel free to let me know, thank you.

Thank you @neighborhood999 and sorry for the delay! The fix looks great to me now 👍


Skill - MeleeManiac

Deal double damage at 1 range, but take double damage at any other range.
And yes I'm aware it would normally go somewhere like BattleDamage.c, but it's not a proc skill, and because of that I need the increased damage to show in the forecast window.

There is no better idea but modify on battle-calc. But at least it is not real damage, and hack on that function is not proper.

Okay, so where do we go from here?

I think you can try to figure out why real-damage can display on battle-forcast first.


Added Selenium tutorial

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
Added resources
For resources
Description
Added Selenium tutorial
Why is this valuable (or not)?
It is a good bunch of knowledge
How do we know it's really free?
Tested that
For book lists, is it a book? For course lists, is it a course? etc.
Course
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

TIP :rocket:: Thanks for taking your time on fill Pull Request fields in your first contribution :heart:
It's always a good practice which it use to increase the mantainers productivity.

Read CONTRIBUTING guidelines

We dont list blog posts.
Neither accept contributions for self-promoting.

Feel free open other PR if you think we are wrong.

/labelthis: invalid
/lockthis: off-topic


[rtl] Switch to M mode on debug entry

Core should operate as if in M-mode while in debug mode
Previous priv level is restored from dcsr on DRET
Fixes #463

Hi @udinator - please give this a go in your U-mode / debug test. There may be some other issues with the priv mechanism that I haven't covered here.
Thanks

Hi @tomroberts-lowrisc, I ran the same test again with the new changes, and from visual inspection of the waves, everything looked fine, and the priv_mode was being changed successfully to PRIV_LVL_M upon debug entry.


ShellControl NavigationItem Position

Hi! I found that is unable to set NavigationItem position in ShellControl. How can I go around this problem?
I want something like this

The current implementation of the ShellControl doesn't support anchoring navigation items to bottom. What you can do in order to group the items visually is insert "separators" between them:
NavigationItems.Add(NavigationItem.Separator)

Thank u for feedback! I think it will available soon!


fix: rely on Form.Control and controlId in Form.Group

Description
Resolves https://2u-internal.atlassian.net/browse/TNL-11258.
There was a bug where the FormLabel in DataTable's TextFilter was including a for attribute pointing to an ID that does not exist in the DOM (throws an a11y error).
By instead passing ariaLabel.current to <Form.Group> as its controlId prop, we can ensure that all form component within the Form.Group rely on a consistent ID. However, previously, we were using the deprecated Input instead of Form.Control, so the appropriate id was not automatically applied to the input field in the DOM.
Resolution:

Pass controlId to Form.Group
Replace FormLabel with Form.Label.
Replace Input with Form.Control.

In the following image, not that the <label>'s for attribute now refers to the input with the appropriate, identical id:

Deploy Preview
https://deploy-preview-2931--paragon-openedx.netlify.app/components/datatable/#frontend-filtering-and-sorting
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

@adamstankiewicz now that https://github.com/openedx/paragon/pull/2951 has been merged this should pass tests after a rebase.

@adamstankiewicz now that #2951 has been merged this should pass tests after a rebase.

@brian-smith-tcril Thanks for the ping! I've rebased with master, and will wait for CI to finish/pass. PR already has a thumb from Peter; did you also want to review/approve before merge?


bug: two tooltips next to each other groups

What version of daisyUI are you using?
v3.1.0
Describe your issue
When using more then one tooltip in a table, also tried with using
 inside the each column, the layout of the table gets disregarded. If I insert an empty between the tooltips 	 then it doesnt break.
Without tooltip:

With tooltip:

      One
      Two
      Three
      Four

      1
      2
      3
      4

What browsers are you seeing the problem on?
Chrome Version 114.0.5735.133
Reproduction URL (optional)
No response

Don't add tooltip class to table cells because it changes cell's display from table-cell to inline-block and that of course changes the cell layout.
Instead add a div in the table cell and add tooltip class to that:
https://play.tailwindcss.com/XuUt467zlp

@saadeghi as I wrote in the description I tried that and I it rendered the same result


Example-Scenario contains wrong values

Updated total breaches to match the example-scenario

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

Thank you @dklinger for spotting the error.
#sign-off


Introduce AutoattachInputDevice to Devices

What this PR does / why we need it:
This PR introduces a new AutoattachInputDevice switch to control the attachment of a default input device and associated PreferredAutoattachInputDevice preference to control this behaviour using a set of preferences.
This is useful as it lets end users control when and how an input device is attached to a VirtualMachineInstance using a set of preferences.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

`AutoattachInputDevice` has been added to `Devices` allowing an `Input` device to be automatically attached to a `VirtualMachine` on start up.  `PreferredAutoattachInputDevice` has also been added to `DevicePreferences` allowing users to control this behaviour with a set of preferences.

why do we need autoattach of input devices? If this is a feature that has to be explicitly enabled (acting differently than the other auto attach tunings) why wouldn't someone simply add the input device instead?

Apologies I didn't include the actual reasoning for this in the commit, I'll amend it with the following:
While working on https://github.com/kubevirt/common-templates/pull/448 I noted that we didn't have a way of expressing the optional attachment of an input device through preferences or flavors. Common templates adds a basic usb tablet device [1] to desktop based Linux templates [2] and to all Windows based templates [3]. Initially I wanted to add Inputs directly to the flavor spec, the same as GPUs or HostDevices but IMHO preferences is a better home using this AutoAttachInputDevice attribute of Devices.
[1] https://github.com/kubevirt/common-templates/blob/master/templates/windows10.tpl.yaml#L166-L171
[2] https://github.com/kubevirt/common-templates/blob/master/generate-templates.yaml#L25-L36
[3] https://github.com/kubevirt/common-templates/blob/master/generate-templates.yaml#L345-L348

/retest

/retest

@lyarwood Have you considered adding AutoAttachInputDevice into the Preference instead of VM spec? Then the default input device can be added when applying preferences.

@acardace Do you see any potential issues with this idea on a design level?

I don't see potential issues but I'm not sure I understand how useful it is if there's no preference associated with the VM this is just a way to add a USB tablet device in a non-straightforward way, I'd rather add the device myself to the VM spec as @davidvossel pointed out.
@lyarwood I guess the code that deals with preferences in relation to input devices is already in the codebase (cause I don't see anything about that in this PR)?
Would it make sense to have the autoAttachInputDevice field default to true but without adding any USB tablet device if no preference is specified?
Let me know if I'm speaking nonsense as I'm not overly familiar with how you use preferences and flavors.

@lyarwood Have you considered adding AutoAttachInputDevice into the Preference instead of VM spec? Then the default input device can be added when applying preferences.

Until now preferences have always related to an existing attribute of the DomainSpec, adding AutoAttachInputDevice independently is possible but from a UX standpoint is slightly odd as users wouldn't have that underlying switch in DomainSpec to do this without a preference being associated with the VirtualMachine.

@acardace Do you see any potential issues with this idea on a design level?

I don't see potential issues but I'm not sure I understand how useful it is if there's no preference associated with the VM this is just a way to add a USB tablet device in a non-straightforward way, I'd rather add the device myself to the VM spec as @davidvossel pointed out.

As I suggested before, by exposing this behaviour through an autoAttach attribute we can then add an associated preferredAutoAttach attribute in the preference avoiding the need for multiple common templates with and without an input device provided in the spec.

@lyarwood I guess the code that deals with preferences in relation to input devices is already in the codebase (cause I don't see anything about that in this PR)?

There's existing logic to set the preferred input bus and type but no I didn't include a new preferredAutoAttach attribute in this PR as yet but I can add an additional commit introducing that now.

Would it make sense to have the autoAttachInputDevice field default to true but without adding any USB tablet device if no preference is specified?

Possibly but that dependency between autoAttach attributes and preferences wouldn't be entirely obvious to users.

Let me know if I'm speaking nonsense as I'm not overly familiar with how you use preferences and flavors.

Not at all, I think your concerns are valid. Hopefully my arguments and additional commit introducing a new preference will help provide some justification here.

Ah apologies I forgot that the logic to auto attach an input device that I introduced here fires before we apply preferences to the VMI in the VM controller. This means that we can't control the autoAttachInputDevice attribute from preferences as it's just too late in the flow. The idea of making this self contained thing within preferences does sound valid however so I'll give that a try now.

Ah apologies I forgot that the logic to auto attach an input device that I introduced here fires before we apply preferences to the VMI in the VM controller. This means that we can't control the autoAttachInputDevice attribute from preferences as it's just too late in the flow. The idea of making this self contained thing within preferences does sound valid however so I'll give that a try now.

I've ended up reworking the way in which device preferences are applied when we creating the VMI in the VM controller. This PR now applies these preferences ahead of any default devices being added to the VMI allowing a user to control the AutoAttach attributes through a set of preferences that in turn control if these devices are added or not.
This should allow us to easily replicate the current behaviour in the common-templates project with instancetypes and preferences.

/retest

@acardace @akrejcir @davidvossel - if you have time would you mind looking at this series again?
As set out in my previous comment this now includes a rework of how the autoAttach preferences are applied that I can always break out into another PR if you still have issues with the introduction of AutoAttachInputDevice.

Can you squash the last commit with the one before it?

Done.

I still think that the logic of this PR would be simpler if the AutoattachInputDevice field was not in VMI. But you don't need to change it, if others are ok with it.

Yeah as I think I've said before wiring it up as a preference only is fine but there's zero overhead in allowing this from the VM itself IMHO. Someone might eventually find this useful so I'd rather leave it as is.

/retest

/lgtm

/area instancetype

Make sense, thanks.
/approve
@lyarwood Do we have an example of how this can be used? (user-guide perhaps?)

Make sense, thanks. /approve
@lyarwood Do we have an example of how this can be used? (user-guide perhaps?)

I'll follow up with something this week thanks!


Files with names begging with "." created in a Dockerfile aren't added to the container

Output of docker version:
Client:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.1
 Git commit:   18c9fe0
 Built:        Mon Nov 23 22:32:50 UTC 2015
 OS/Arch:      windows/amd64

Server:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.1
 Git commit:   18c9fe0
 Built:        Mon Nov 23 22:32:50 UTC 2015
 OS/Arch:      windows/amd64

Output of docker info:
Containers: 63
Images: 78
Server Version: 1.10.0-dev
Storage Driver: windowsfilter
 Windows:
Execution Driver:
 Name: Windows 1854
 Build: 1.10.0-dev 18c9fe0
 Default Isolation: process
Logging Driver: json-file
Plugins:
 Volume: local
 Network:
Kernel Version: 10.0 10586 (10586.212.amd64fre.th2_release_sec.160328-1908)
Operating System: Windows Server 2016 Technical Preview 4
OSType: windows
Architecture: x86_64
CPUs: 2
Total Memory: 3.5 GiB
Name: DockerTester
ID: MQJ2:GFIZ:4Q2P:IKNE:3PZH:4G2L:E5EC:2CRU:LLOG:6D6Y:PRUK:EL5Z
Debug mode (server): true
 File Descriptors: -1
 Goroutines: 17
 System Time: 2016-04-20T23:14:25.9065039Z
 EventsListeners: 0
 Init SHA1:
 Init Path: C:\Windows\System32\docker.exe
 Docker Root Dir: C:\ProgramData\Docker

This is with Windows Server containers on an Azure instance running Windows Server 2016 TP4.
Steps to reproduce the issue:
In a dockerfile include the line
RUN >>C:\Users\Administrator\.testfile echo hello

or really anything else that creates a file with a name starting with a ".".
Describe the results you received:
The file should be present in the resulting image.
Describe the results you expected:
The file is not there.

I think this is a duplicate of https://github.com/docker/docker/issues/17755, and will be fixed in Windows Server 2016 TP5
/cc @jhowardmsft correct?

Yup

Great! Thanks for looking at it. Closing...


added a new microbyte for understanding Interfaces in Java

Closes #33

Checklist:

[x] Added activities for learners
[x] Didn't give the solutions to the added activities straight away
[x] Followed a LearnByDoing approach
[x] Clean and well documented code (if source code files are involved)
[x] Added images for better understanding if deemed necessary

I have reviewed and deleted unnecessary theory from the Introduction part

a personal suggestion: Improve your GitHub profile. Like by adding a profile pic and stuff. Because now people are going to see ur profile. They should get good first impressions.

Thank so much for your appreciation and suggestions. I will surely raise some issues in the repo.

@all-contributors kindly add @srishti-034 for:

[x] code
[x] content

Thank so much for your appreciation and suggestions. I will surely raise some issues in the repo.

Don't forget to showcase ur microbyte as mentioned before :)

@all-contributors kindly add @srishti-034 for:

[x] doc
[x] ideas


Jdb Bluetooth connection to battery not stable

Describe the bug
The Pi has no problem connecting to the battery and data flows for a few seconds then disconnects.  I have added a second Bluetooth adapter hoping it would help but it does not.  I have tried all available versions.  With debugging on I notice this error:  ERROR: BMS send insufficient data. Received 40 expected 41.  That seems to be when it dies.  The XiaoXiang app runs fine and has no issue staying connected to the battery.

How to reproduce
Install and run bus-serialbattery.
Expected behavior
Data would be received from battery more than once
Driver version
1.2.20240227beta
Venus OS device type
Raspberry Pi 3
Venus OS version
v3.30
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
4
Battery count
1
Connection type
Bluetooth
Config file
[DEFAULT]

; --------- Set logging level ---------
; ERROR: Only errors are logged
; WARNING: Errors and warnings are logged
; INFO: Errors, warnings and info messages are logged
; DEBUG: Errors, warnings, info and debug messages are logged
LOGGING = WARNING
BLOCK_ON_DISCONNECT = False

; --------- Bluetooth BMS ---------
; Description:
;     Specify the Bluetooth BMS and it's MAC address that you want to install. Leave emty to disable
; Available Bluetooth BMS:
;     Jkbms_Ble, LltJbd_Ble
BLUETOOTH_BMS = LltJbd_Ble A5:C2:37:08:0A:89

Relevant log output
2024-03-20 15:01:53.285119500 *** CCGX booted (0) ***
tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file
2024-03-20 15:03:07.576519500
2024-03-20 15:03:07.576523500 INFO:Bluetooth details
2024-03-20 15:03:07.679883500 Attempting to disconnect from A5:C2:37:08:0A:89
2024-03-20 15:03:07.679892500 Successful disconnected
2024-03-20 15:03:12.960180500 Device A5:C2:37:08:0A:89 (public)
2024-03-20 15:03:12.960187500 	Alias: Lisuateli12V100aH
2024-03-20 15:03:12.960190500 	Paired: no
2024-03-20 15:03:12.960191500 	Trusted: yes
2024-03-20 15:03:12.960193500 	Blocked: no
2024-03-20 15:03:12.960195500 	Connected: no
2024-03-20 15:03:12.960197500 	LegacyPairing: no
2024-03-20 15:03:12.960199500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-03-20 15:03:12.960203500 	RSSI: -49
2024-03-20 15:03:12.960205500
2024-03-20 15:03:17.743457500 INFO:SerialBattery:
2024-03-20 15:03:17.744172500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-20 15:03:17.745945500 INFO:SerialBattery:Venus OS v3.30
2024-03-20 15:03:17.746410500 INFO:SerialBattery:dbus-serialbattery v1.2.20240227beta
2024-03-20 15:03:34.400251500 Traceback (most recent call last):
2024-03-20 15:03:34.400257500   File "/opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py", line 257, in <module>
2024-03-20 15:03:34.400262500     main()
2024-03-20 15:03:34.400264500   File "/opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py", line 187, in main
2024-03-20 15:03:34.400269500     testbms = class_("", 9600, sys.argv[2])
2024-03-20 15:03:34.400272500   File "/opt/victronenergy/dbus-serialbattery/bms/lltjbd_ble.py", line 53, in __init__
2024-03-20 15:03:34.400413500     execfile.write(execpath.group())
2024-03-20 15:03:34.400416500 AttributeError: 'NoneType' object has no attribute 'group'
2024-03-20 15:03:34.702919500
2024-03-20 15:03:34.703057500 INFO:Bluetooth details
2024-03-20 15:03:34.748684500 [CHG] Device A5:C2:37:08:0A:89 RSSI: -49
2024-03-20 15:03:34.850887500 Attempting to disconnect from A5:C2:37:08:0A:89
2024-03-20 15:03:34.850894500 Successful disconnected
2024-03-20 15:03:39.969540500 Device A5:C2:37:08:0A:89 (public)
2024-03-20 15:03:39.969547500 	Alias: Lisuateli12V100aH
2024-03-20 15:03:39.969549500 	Paired: no
2024-03-20 15:03:39.969551500 	Trusted: yes
2024-03-20 15:03:39.969553500 	Blocked: no
2024-03-20 15:03:39.969555500 	Connected: no
2024-03-20 15:03:39.969556500 	LegacyPairing: no
2024-03-20 15:03:39.969558500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-03-20 15:03:39.969563500 	RSSI: -50
2024-03-20 15:03:39.970461500
2024-03-20 15:03:41.320911500 INFO:SerialBattery:
2024-03-20 15:03:41.321741500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-20 15:03:41.323504500 INFO:SerialBattery:Venus OS v3.30
2024-03-20 15:03:41.324149500 INFO:SerialBattery:dbus-serialbattery v1.2.20240227beta
2024-03-20 15:03:57.876241500 INFO:SerialBattery:Init of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:03:57.876839500 INFO:SerialBattery:Test of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:04:03.084668500 DEBUG:SerialBattery:bytearray: \xdd\x05\x00\x0f\x44\x50\x30\x34\x53\x30\x30\x37\x4c\x34\x53\x31\x30\x30\x41\xfc\x6a\x77
2024-03-20 15:04:03.085247500 DEBUG:SerialBattery:DP04S007L4S100A
2024-03-20 15:04:03.386480500 DEBUG:SerialBattery:bytearray: \xdd\x03\x00\x22\x05\x2a\xfe\xf5\x22\xa7\x27\x10\x00\x01\x2f\x86\x00\x00\x00\x00\x00\x00\xd6\x59\x03\x04\x01\x0b\x4f\x00\x00\x00\x27\x10\x22\xa7\x00\x07\xf9\x6e\x77
2024-03-20 15:04:03.683916500 DEBUG:SerialBattery:bytearray: \xdd\x00\x00\x00\x00\x00\x77
2024-03-20 15:04:03.983812500 DEBUG:SerialBattery:bytearray: \xdd\x11\x00\x02\x1f\x40\xff\x9f\x77
2024-03-20 15:04:04.296097500 DEBUG:SerialBattery:bytearray: \xdd\x28\x00\x02\x2a\xf8\xfe\xdc\x77
2024-03-20 15:04:04.587381500 DEBUG:SerialBattery:bytearray: \xdd\x29\x00\x02\xd5\x08\xff\x21\x77
2024-03-20 15:04:04.902843500 DEBUG:SerialBattery:bytearray: \xdd\x2d\x00\x02\x00\x06\xff\xf8\x77
2024-03-20 15:04:05.240614500 DEBUG:SerialBattery:bytearray: \xdd\x03\x00\x22\x05\x2a\xfe\xf5\x22\xa7\x27\x10\x00\x01\x2f\x86\x00\x00\x00\x00\x00\x00\xd6\x59\x03\x04\x01\x0b\x4f\x00\x00\x00\x27\x10\x22\xa7\x00\x07\xf9\x6e
2024-03-20 15:04:05.241170500 ERROR:SerialBattery:>>> ERROR: BMS send insufficient data. Received 40 expected 41
2024-03-20 15:04:05.241680500 ERROR:SerialBattery:No BMS found at A5:C2:37:08:0A:89
2024-03-20 15:04:05.242127500 ERROR:SerialBattery:ERROR >>> No battery connection at LltJbd_Ble
2024-03-20 15:04:05.242389500 #0
2024-03-20 15:04:05.242390500 #1
2024-03-20 15:04:05.242392500 #2
2024-03-20 15:04:05.242393500 #3
2024-03-20 15:04:08.030748500 INFO:SerialBattery:BLE client disconnected
2024-03-20 15:04:08.309991500
2024-03-20 15:04:08.421251500 Attempting to disconnect from A5:C2:37:08:0A:89
2024-03-20 15:04:08.421496500 Successful disconnected
2024-03-20 15:04:13.531677500 Device A5:C2:37:08:0A:89 (public)
2024-03-20 15:04:13.531683500 	Alias: Lisuateli12V100aH
2024-03-20 15:04:13.531685500 	Paired: no
2024-03-20 15:04:13.531687500 	Trusted: yes
2024-03-20 15:04:13.531688500 	Blocked: no
2024-03-20 15:04:13.531690500 	Connected: no
2024-03-20 15:04:13.531692500 	LegacyPairing: no
2024-03-20 15:04:13.531694500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-03-20 15:04:13.531698500 	RSSI: -49
2024-03-20 15:04:13.532903500
2024-03-20 15:04:14.722046500 INFO:SerialBattery:
2024-03-20 15:04:14.722667500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-20 15:04:14.724197500 INFO:SerialBattery:Venus OS v3.30
2024-03-20 15:04:14.724756500 INFO:SerialBattery:dbus-serialbattery v1.2.20240227beta
2024-03-20 15:04:31.380807500 INFO:SerialBattery:Init of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:04:31.381478500 INFO:SerialBattery:Test of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:04:36.587188500 DEBUG:SerialBattery:bytearray: \xdd\x05\x00\x0f\x44\x50\x30\x34\x53\x30\x30\x37\x4c\x34\x53\x31\x30\x30\x41\xfc\x6a\x77
2024-03-20 15:04:36.587865500 DEBUG:SerialBattery:DP04S007L4S100A
2024-03-20 15:04:36.887813500 DEBUG:SerialBattery:bytearray: \xdd\x03\x00\x22\x05\x2a\xfe\xec\x22\xa4\x27\x10\x00\x01\x2f\x86\x00\x00\x00\x00\x00\x00\xd6\x59\x03\x04\x01\x0b\x4f\x00\x00\x00\x27\x10\x22\xa4\x00\x07\xf9\x7d\x77
2024-03-20 15:04:37.184813500 DEBUG:SerialBattery:bytearray: \xdd\x00\x00\x00\x00\x00\x77
2024-03-20 15:04:38.877443500 DEBUG:SerialBattery:bytearray: \xdd\x11\x00\x02\x1f\x40\xff\x9f\x77
2024-03-20 15:04:39.136117500 DEBUG:SerialBattery:bytearray: \xdd\x28\x00\x02\x2a\xf8\xfe\xdc\x77
2024-03-20 15:04:39.434259500 DEBUG:SerialBattery:bytearray: \xdd\x29\x00\x02\xd5\x08\xff\x21\x77
2024-03-20 15:04:39.734616500 DEBUG:SerialBattery:bytearray: \xdd\x2d\x00\x02\x00\x06\xff\xf8\x77
2024-03-20 15:04:40.036605500 DEBUG:SerialBattery:bytearray: \xdd\x03\x00\x22\x05\x2a\xfe\xec\x22\xa4\x27\x10\x00\x01\x2f\x86\x00\x00\x00\x00\x00\x00\xd6\x59\x03\x04\x01\x0b\x4f\x00\x00\x00\x27\x10\x22\xa4\x00\x07\xf9\x7d
2024-03-20 15:04:40.037358500 ERROR:SerialBattery:>>> ERROR: BMS send insufficient data. Received 40 expected 41
2024-03-20 15:04:40.037920500 ERROR:SerialBattery:No BMS found at A5:C2:37:08:0A:89
2024-03-20 15:04:40.038708500 ERROR:SerialBattery:ERROR >>> No battery connection at LltJbd_Ble
2024-03-20 15:04:40.041163500 #0
2024-03-20 15:04:40.041165500 #1
2024-03-20 15:04:40.041167500 #2
2024-03-20 15:04:40.041168500 #3
2024-03-20 15:04:42.036881500 INFO:SerialBattery:BLE client disconnected
2024-03-20 15:04:42.297978500
2024-03-20 15:04:42.298287500 INFO:Bluetooth details
2024-03-20 15:04:42.324427500 [CHG] Device A5:C2:37:08:0A:89 RSSI: -49
2024-03-20 15:04:42.324434500 [CHG] Device A5:C2:37:08:0A:89 RSSI: -50
2024-03-20 15:04:42.403858500 Attempting to disconnect from A5:C2:37:08:0A:89
2024-03-20 15:04:42.404033500 Successful disconnected
2024-03-20 15:04:47.501176500 Device A5:C2:37:08:0A:89 (public)
2024-03-20 15:04:47.501183500 	Alias: Lisuateli12V100aH
2024-03-20 15:04:47.501185500 	Paired: no
2024-03-20 15:04:47.501187500 	Trusted: yes
2024-03-20 15:04:47.501189500 	Blocked: no
2024-03-20 15:04:47.501190500 	Connected: no
2024-03-20 15:04:47.501192500 	LegacyPairing: no
2024-03-20 15:04:47.501194500 	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
2024-03-20 15:04:47.501199500 	RSSI: -48
2024-03-20 15:04:47.502705500
2024-03-20 15:04:48.654102500 INFO:SerialBattery:
2024-03-20 15:04:48.654895500 INFO:SerialBattery:Starting dbus-serialbattery
2024-03-20 15:04:48.656612500 INFO:SerialBattery:Venus OS v3.30
2024-03-20 15:04:48.659562500 INFO:SerialBattery:dbus-serialbattery v1.2.20240227beta
2024-03-20 15:05:05.145863500 INFO:SerialBattery:Init of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:05:05.146269500 INFO:SerialBattery:Test of LltJbd_Ble at A5:C2:37:08:0A:89
2024-03-20 15:05:10.337510500 DEBUG:SerialBattery:bytearray: \xdd\x05\x00\x0f\x44\x50\x30\x34\x53\x30\x30\x37\x4c\x34\x53\x31\x30\x30\x41\xfc\x6a\x77
2024-03-20 15:05:10.338249500 DEBUG:SerialBattery:DP04S007L4S100A
2024-03-20 15:05:10.636866500 DEBUG:SerialBattery:bytearray: \xdd\x03\x00\x22\x05\x2a\xfe\xec\x22\xa2\x27\x10\x00\x01\x2f\x86\x00\x00\x00\x00\x00\x00\xd6\x59\x03\x04\x01\x0b\x4f\x00\x00\x00\x27\x10\x22\xa2\x00\x07\xf9\x81
2024-03-20 15:05:10.637464500 ERROR:SerialBattery:>>> ERROR: BMS send insufficient data. Received 40 expected 41
2024-03-20 15:05:10.637941500 ERROR:SerialBattery:No BMS found at A5:C2:37:08:0A:89
2024-03-20 15:05:10.638453500 ERROR:SerialBattery:ERROR >>> No battery connection at LltJbd_Ble
2024-03-20 15:05:13.051981500 INFO:SerialBattery:BLE client disconnected
2024-03-20 15:05:13.314601500

Any other information that may be helpful
bluetoothctl
[Lisuateli12V100aH]# info
Device A5:C2:37:08:0A:89 (public)
Name: Lisuateli12V100aH
Alias: Lisuateli12V100aH
Paired: no
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Unknown                   (0000ff00-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific           (00010203-0405-0607-0809-0a0b0c0d1912)
Modalias: usb:v248Ap8266d0001
ManufacturerData Key: 0x0a89
ManufacturerData Value:
08 37 c2 a5                                      .7..
RSSI: -48
AdvertisingFlags:
06                                               .

I have been trying different versions and trying to get this to work for a few days with no luck.

I have no idea on how to fix that. Some help of the community would be appreciated. The Bluetooth connection is also not stable for the JKBMS, maybe we have some design mistake or anything else.

Can someone point me to what code parses the data from the BMS?  I'm happy to try to figure out what piece of data is missing or modify my local code to only look for 40 rather than 41.

I have added a second Bluetooth adapter hoping it would help but it does not.

Have you tried latest master with BLUETOOTH_USE_USB = True in config.ini?
Have your Bluetooth adapter BLE support ? Bluetooth version >4.0

@dsrawding Can you post your output from hciconfig -a

I don't believe the issue was with the Bluetooth.  I tested by disabling the internal interface and it didn't make a difference.  I have given up on using Bluetooth and cut the battery case open and connected using the uart port on the BMS and it's working with dubs-serialbattery.  Thanks.


Better logs

What is the feature?
Better logs
Does it have an issue?
No
What is it doing?
Explanation
I'm guessing it's just better logs
Questions
None
Expectations
Tests
Tests shouldn't change at all, unless it's logging during a test.
Code
Code should have better logs, free from grammatical and spelling errors. They
should make sense and be logged at the right level.

I would like the record to show that I am not a fan of separate PRs that address comments from other still open PRs


Add DuKEVU_Baseline

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.liguohao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Added insert data method for Table and AdapterInterface

This is an attempt to build #172 by first adding the insert functionality to the Table class and Adapters. I think from here we can extend this to have a seed command, or a seed function inside migrations.
I've been playing with that a bit also and I'll be happy to finish implementing it after getting feedback on this changes.
I wrote some tests, but I'm missing the SqlServerAdapter tests. I didn't have time to set that up.

The insert method implemented in this PR, is supposed to receive a list of rows, instead of a single row.
$this->table('table')->insert(array(
    array('col1', 'value1'),
    array('col1', 'value1')
));

Do you think, that maybe I should change it to receive a single row at a time ? Like this:
$table->insert(array('col1', 'value1'));
$table->insert(array('col2', 'value2'));

I think having it allow either would be good.

As a clarification, after some changes, the current implementation will enable inserts this way :
$this->table('table')->insert(
    array('col1', 'col2'),
    array(
        array('col1Value1', 'col2Value1'),
        array('col1Value2', 'col2Value2'),
    )
));

Is this suitable for migrating in then at its current stage?

Yes, at this stage you would be able to do inserts from migrations

@shadowhand would you be able to migrate this in?

Hey @shadowhand , @robmorgan just wondering why this hasn't been accepted.
Let me know if there's something to fix or improve, I'll be happy to do it in order to get this accepted. Also I have some more code in line ready to increment this solution and have a new seed command.

Hi @gmauricio, the seed feature will ship in 0.5.0, so its time to take this now.

However I will change the method signature to the following:
$this->table('table')->insert(
    array('col1' => 'foo', 'col2' => 'bar'),
    array('col1' => 'foo2', 'col2' => 'bar2')
));


ndt5: error metrics are misleading

sum(ndt_test_errors_total) should be a meaningful value.
Today errors are double counted: once in s2c or c2s ManageTest functions and again in PanicOnError. (there may be other instances). This double accounting makes it difficult to direclty measure success & error rates.
panicMsgToErrType does not SplitN enough fields and always returns "panic" label.
https://github.com/m-lab/ndt-server/blob/56164b68e989ccdef60d6edb85b462d795d4174c/ndt5/ndt5.go#L80
Locally, the wss js client does not produce an error in the server. However, the metrics for deployed pods report 1 error for every e2e check, 1 per/min for the queue check (i believe), and 1 per/min for the e2e check.

https://github.com/m-lab/dev-tracker/issues/401

ErrorCount represents two types of errors -- explicit return paths from s2c & c2s tests as well as panic recovery. It may be preferable for these to be two separate metrics. e.g. PanicCount & ErrorCount.
ActiveTests & ErrorCount use different label names for the same value. i.e. "type" and "test" for server ConnectionType. These should use the same label name.

Part of https://github.com/m-lab/dev-tracker/issues/315

For counting "ndt_test_total" -- what do we want to consider a successful test? Options:

server records a result -- we have this data -- but it can be misleading b/c we also miss client errors
client completes full protocol -- this seems like it would underestimate the test count b/c some clients may end a connection early but be happy with the measurement otherwise (unknown how often this happens)
client completes partial protocol -- but where is acceptable to start counting success -- even if the protocol is not completed?

In #169 I've actually removed the generic metrics ndt_test_total and ndt_test_errors_total in favor of ndt5 (protocol-specific) versions.
It's not apparent to me today that we can have a common "test count" metric between ndt5 and ndt7 that is meaningful.

This was deployed to production in https://github.com/m-lab/k8s-support/releases/tag/v1.4.0


Fix the onLoad event listener for the player Iframe on IE8

The onLoad event for the video iframe was never triggered on IE8, therefore the player.tech.vimeo.api was never set and the player was unresponsive.
To fix this, we need to set the listener using the attachEvent method.
More information about this issue:
http://stackoverflow.com/questions/6455834/iframe-onload-in-ie7-8-with-javascript
http://stackoverflow.com/questions/12910534/why-doesnt-ie8-handle-iframe-onload-events
http://stackoverflow.com/questions/18512112/ie8-iframe-onload-not-firing

Never too late to merge this xD Sorry for the delay.


Add Hooks

This PR comes from https://github.com/src-d/go-kallax/pull/5, that was accidentally merged without approval.
All suggested changes, suggested in the last @erizocosmico review, was applied by 9236610 and 1e94ec9.

@Serabe @dpordomingo should we already make the After* return an error now?

After* hooks returns now an error @erizocosmico @Serabe

done @Serabe
Thanks for your detailed review ;)


Pagination docs additions

adds an intro paragraph about why you might be interested in using pagination
clarifies what the result of paginating an array will be
when paginating an object, show how to display the value in addition to keys

seems straightforward when you look at it now, but trying to extrapolate how to do it from the existing docs took me longer than I'd like. I can imagine someone newer to programming really struggling with it so I think it's worth including in the docs.

Open to wording changes/feedback on any of this, of course!

Looks great, thank you!


WIP: Export helper methods as named exports

Issue:  #650
Export all standalone methods individually as named exports, instead of export all helpers as a default export in the form of an object. This made some reordering of the functions necessary as all functions called by other functions in the same file needs to be defined above the calling functions.
Just as in #574, all classes with tests that use sinon.stub() and sinon.spy() were skipped.

@KarlKvarnfors thanks for taking on this chore!
Unfortunately, I can't merge this PR, as victory-util/helpers is exported and used in other repos, so it will still need to be exported as an object and used like Helpers.evaluateStyle etc. to avoid a breaking change. You might still refactor victory-util/helpers and export an object with only a subset of the methods, but if you do so, you will need to audit the other victory repos for any uses of Helpers.
Your change to the helpers specific to VictoryLegend looks good. I would prefer you to split the changes to VictoryLegend helpers into a separate branch that can be merged much sooner.


Implement fast jit memory atomic primitives

#1899

This is WIP, I created the PR to get some initial feedback.

Could you document how did you test the code? Or can you share automated tests that you executed?

Could you document how did you test the code? Or can you share automated tests that you executed?

So far I was quickly checking by manually running some simple WAT files I created, e.g.:
(module
  (memory (import "foo" "bar") 1 1 shared)
  (func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))

  (func (export "_start")

    ;; store 111 at position 0
    i32.const 0
    i32.const 111
    i32.store

    i32.const 0 ;; addr
    i32.const 111 ;; expect
    i32.const 2 ;; sval (replacement)
    i32.atomic.rmw.cmpxchg

     ;; load number at position 0
    i32.const 0
    i32.load

    i32.const 2 ;; same as sval
    i32.eq ;; replacement was successful
    if
      unreachable
    end

    call $proc_exit
  )
)

but the plan would be to run the tests in the specification

With the latest commit, the atomic operations wait and notify are completed and pass the specification tests.
cmpxchg implementation is still partial, I'll resume it later since for now I wanted to get the minimum required to test WASI threads with this minimal example.
Compilation goes well, but at runtime I get a segmentation fault. It seems to be caused by operations in the spawn thread that use the memory (i32.store, i32.atomic.store, memory.atomic.notify). Any hint on possible causes is much appreciated :)
For now I'm pushing those changes into dev/wasi_threads just because I need that branch to test WASI threads, but once it's completed it makes more sense to push them in main first and then merge in dev/wasi_threads.

closing after #1914


CTECH-1592: Enables testing of forked PR's

Signed-off-by: Paul Saunders<EMAIL_ADDRESS>Pull Request Checklist

[x] Read the contributing guidelines
[x] Tests pass

Description of the PR
Test MR to check that the forked PR process works. Close unmerged is expected when everything works.

/LGTM

/LGTM


Set fixed length for DEROctetString representation of ed25519 keys to 32

This seems to fix #887
The issue was that sometimes the byte array representation of the X component of the ed25519 private key would not be of length 32 (eg. 31).
This PR limits the length of the byte array to exactly 32.
I'm not sure if this same fix can be applied to other algorithms as well. This might be something for you worth looking into :)

Thanks for the patch, merged with minor revisions.


Update dns.md

This should fix a broken link referenced in #1640. Looks like a lot of information was taken out of this README.md recently, if you'd like i can delete the reference section completely if it is out of date and/or no longer needed.

This change is

I signed it!

Also, signed the other CLA for the Linux Foundation. Not sure how to kick off the check for that one again though.

@davidopp looks you were auto assigned to the PR. had a quick question, first time trying contributing to any project in this org and not really sure how you all do things. Looks like the TravisCI build is failing, but don't think it has anything to do with my PR (at least as far as i can tell).
From TravisCI
# k8s.io/kubernetes.github.io/test_test

test/examples_test.go:130: undefined: batch.ScheduledJob

test/examples_test.go:131: t.Namespace undefined (type runtime.Object has no field or method Namespace)

test/examples_test.go:132: t.Namespace undefined (type runtime.Object has no field or method Namespace)

test/examples_test.go:134: undefined: "k8s.io/kubernetes/pkg/apis/batch/validation".ValidateScheduledJob

test/examples_test.go:245: undefined: batch.ScheduledJob

FAIL	k8s.io/kubernetes.github.io/test [build failed]

The command "go test -v k8s.io/kubernetes.github.io/test" exited with 2.

0.08s$ $GOPATH/bin/md-check --root-dir=$HOME/gopath/src/k8s.io/kubernetes.github.io

----------------

-- ✔ Success! --

----------------

Is there anything that i need to do to resolve that?

@davidopp i see you closed and reopened this PR a day ago. guessing it was to kick off the travisCI build again? I'm pretty sure this PR isn't what is causing the build failure since #1672 seems to have the same problem. Just wondering, is there anything that i can do to help with the build failure if someone isn't already working on it, or should i just hold tight?

hi @jaredbhatti, not trying to make waves or anything, but have had this PR opened for a few days now. Saw that you were the most recent person to merge a PR in. Was wondering if you could please review this PR for me. have never contributed to this organization before and not to sure what else i need to do for this PR, and even just a little guidance would be greatly appreciated! :smile_cat:

@devin-donnelly


Delete Monitor

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I am experiencing an issue with Uptime Kuma where the application becomes unresponsive when I attempt to delete a monitor from the dashboard. The deletion process does not complete, and the dashboard freezes. As a result, I am unable to perform any further actions until I restart Uptime Kuma.
Steps to Reproduce:
Access the Uptime Kuma dashboard.
Attempt to delete any monitor.
The application becomes stuck and does not delete the monitor.
I am unable to access or use the dashboard until I restart Uptime Kuma.
Expected Behavior: The monitor should be deleted successfully without causing the application to hang.
Actual Behavior: Uptime Kuma becomes unresponsive, and the monitor is not deleted. The application needs to be restarted to become accessible again.
Environment Details:
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.15
💻 Operating System and Arch
22.04.2 LTS aarch64
🌐 Browser
128.0.6613.138
🖥 Deployment Environment

Runtime:  23.0.1, build a5ee5b1
Database:
Filesystem used to store the database on:
number of monitors: 43

Seems weird.
What is logged about this?
What kind of a monitor is it?
To possibly skip a next question?
Could you share some metadata about your instance like the retention you configured in the settings, the size of the database and what storage you are running it on.

I have exactly the same issue here.

Same
2024-12-10T09:24:22+01:00 [AUTH] INFO: Successfully logged in user benji. IP=<IP_ADDRESS>
2024-12-10T09:24:35+01:00 [MONITOR] INFO: Get Monitor Beats: 7 User ID: 1
2024-12-10T09:24:39+01:00 [MANAGE] INFO: Delete Monitor: 7 User ID: 1
2024-12-10T09:27:00+01:00 [INCREMENTALVACUUM] ERROR: Failed: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
2024-12-10T09:27:23+01:00 [MONITOR] WARN: Monitor #4 'Mamy Wydruki': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:24+01:00 [MONITOR] WARN: Monitor #1 'redacted.pl': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:24+01:00 [MONITOR] WARN: Monitor #8 'redacted.pl': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:24+01:00 [MONITOR] WARN: Monitor #10 'redacted.pl/cart': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:25+01:00 [MONITOR] WARN: Monitor #12 'redacted.pl': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:25+01:00 [MONITOR] WARN: Monitor #11 'redacted.pl': Pending: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2024-12-10T09:27:40+01:00 [DB] INFO: Delete Monitor completed in : 181174 ms
2024-12-10T09:27:40+01:00 [MONITOR] WARN: Monitor #9 'REDACTED': Failing: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? | Interval: 60 seconds | Type: group | Down Count: 0 | Resend Interval: 0
2024-12-10T09:28:40+01:00 [MONITOR] WARN: Monitor #9 'REDACTED': Pending: Child inaccessible | Max retries: 0 | Retry: 0 | Retry Interval: 60 seconds | Type: group

Update: Deleting 3 of my notifications "email, teams, discord" and attempting to delete monitors seemed to have worked, although it take a long time and seems to hang after a while.
2024-12-10T09:46:51+01:00 [AUTH] INFO: Successfully logged in user benji. IP=<IP_ADDRESS>
2024-12-10T09:46:59+01:00 [MANAGE] INFO: Delete Monitor: 11 User ID: 1
2024-12-10T09:47:04+01:00 [MANAGE] INFO: Delete Monitor: 8 User ID: 1
2024-12-10T09:47:07+01:00 [MANAGE] INFO: Delete Monitor: 12 User ID: 1
2024-12-10T09:47:09+01:00 [MANAGE] INFO: Delete Monitor: 10 User ID: 1
2024-12-10T09:48:34+01:00 [DB] INFO: Delete Monitor completed in : 95170 ms
2024-12-10T09:49:24+01:00 [DB] INFO: Delete Monitor completed in : 140349 ms

Running into the same issue myself.
`2024-12-20T13:27:48-06:00 [MANAGE] INFO: Delete Monitor: 24 User ID: 1
Trace: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/app/node_modules/knex/lib/client.js:312:26)

at runNextTicks (node:internal/process/task_queues:60:5)

at listOnTimeout (node:internal/timers:538:9)

at process.processTimers (node:internal/timers:512:7)

at async Runner.ensureConnection (/app/node_modules/knex/lib/execution/runner.js:287:28)

at async Runner.run (/app/node_modules/knex/lib/execution/runner.js:30:19)

at async RedBeanNode.normalizeRaw (/app/node_modules/redbean-node/dist/redbean-node.js:572:22)

at async RedBeanNode.getRow (/app/node_modules/redbean-node/dist/redbean-node.js:558:22)

at async RedBeanNode.getCell (/app/node_modules/redbean-node/dist/redbean-node.js:593:19)

at async Monitor.sendAvgPing (/app/server/model/monitor.js:1209:32) {

sql: '\n' +
'            SELECT AVG(ping)\n' +

'            FROM heartbeat\n' +

"            WHERE time > DATETIME('now', ? || ' hours')\n" +

'            AND ping IS NOT NULL\n' +

'            AND monitor_id = ?  limit ?',

bindings: [ -24, 53, 1 ]
}
at process.unexpectedErrorHandler (/app/server/server.js:1905:13)

at process.emit (node:events:517:28)

at emit (node:internal/process/promises:149:20)

at processPromiseRejections (node:internal/process/promises:283:27)

at processTicksAndRejections (node:internal/process/task_queues:96:32)

at runNextTicks (node:internal/process/task_queues:64:3)

at listOnTimeout (node:internal/timers:538:9)

at process.processTimers (node:internal/timers:512:7)

If you keep encountering errors, please report to https://github.com/louislam/uptime-kuma/issues
Trace: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/app/node_modules/knex/lib/client.js:312:26)

at async Runner.ensureConnection (/app/node_modules/knex/lib/execution/runner.js:287:28)

at async Runner.run (/app/node_modules/knex/lib/execution/runner.js:30:19)

at async RedBeanNode.storeCore (/app/node_modules/redbean-node/dist/redbean-node.js:150:26)

at async RedBeanNode.store (/app/node_modules/redbean-node/dist/redbean-node.js:110:20)

at async beat (/app/server/model/monitor.js:1013:13)

at async Timeout.safeBeat [as _onTimeout] (/app/server/model/monitor.js:1032:17) {

sql: undefined,
bindings: undefined
}
at Timeout.safeBeat [as _onTimeout] (/app/server/model/monitor.js:1034:25)

2024-12-20T13:29:49-06:00 [MONITOR] ERROR: Please report to https://github.com/louislam/uptime-kuma/issues
2024-12-20T13:29:49-06:00 [MONITOR] INFO: Try to restart the monitor`


fix: empty audio track

fix: empty audio track
Description
In some case, we have empty edit media time, If we dont ignore the empty edit media time, we will have audio/video sync problem. see https://github.com/zhihu/griffith/issues/14

How Has This Been Tested?

[x] this video can play normally
[x] the example video can play normally

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   52.86%   52.86%
=======================================
  Files         123      123
  Lines        1678     1678
=======================================
  Hits          887      887
  Misses        791      791

Impacted Files
Coverage Δ

packages/griffith-mp4/src/mp4/mp4Probe.js
0% <ø> (ø)
:arrow_up:

packages/griffith-mp4/src/mse/controller.js
0% <ø> (ø)
:arrow_up:

...s/griffith-mp4/src/mp4/utils/getSamplesInterval.js
95.08% <100%> (ø)
: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 67d37bb...10853ba. Read the comment docs.


0.17: Infinite recursion in compilation

I have a test in my project for infinite data size. This was working well (i.e. not crashing) until the 0.17 upgrade. I'm using Draft202012 for the following schema:
{
  "allOf": [
    {
      "$ref": "#/$defs/1_1"
    }
  ],
  "unevaluatedProperties": false,
  "$defs": {
    "1_1": {
      "type": "object",
      "properties": {
        "b": {
          "allOf": [
            {
              "$ref": "#/$defs/1_2"
            }
          ],
          "unevaluatedProperties": false
        }
      },
      "required": [
        "b"
      ]
    },
    "1_2": {
      "type": "object",
      "properties": {
        "f": {
          "allOf": [
            {
              "$ref": "#/$defs/1_1"
            }
          ],
          "unevaluatedProperties": false
        }
      },
      "required": [
        "f"
      ]
    }
  }
}

I am no jsonschema expert, but I believe this is a valid schema that should accept no JSON documents, because of the required infinite size.

This is certainly related to my PR introducing support for unevaluatedProperties in #419.
Checking your schema in Hyperjump, it is indeed a valid configuration, and will only emit validation errors at a depth that is correlated with the input itself.
We could likely copy what the $ref validator itself does, which is to hold on to the relevant compilation context and lazily instantiate validator nodes as needed... which would allow for building the $ref-specific subvalidator used for unevaluatedProperties as deep as the input data needs it to be, without recursing infinitely right off the bat.
Definitely a hindsight on my part to not follow what $ref did from the beginning. I was already looking into another bug that I found with my work on unevaluatedProperties, so I'll see if I can fix this at the same time.


You can't search for items by typing on Ipad when select2 pluging used on a page in an iframe

check this for a reproduce: http://jsfiddle.net/ersin/R49sw/

open above page on an ipad/iphone
try to use example under "the basic" by typing a state , you can't type with keyboard.

The version 3.x is not maintained anymore. But if this bug occurs in 4.x version, please reopen the issue and send us a JSFiddle example code or a PR.


cmd: A flag to set custom private key for p2p communications

Right now, the p2p private key is generated and saved on the first run, but it should be possible to set it from the CLI flags to facilitate testing utilities and Node deployment by excluding indeterministic key generation. Instead, the infrastructure should control non-determinism and be able to pre-generate the key using cel-shed and apply it to the Node.

Flag should direct user to pass a path to key file.


Search by Image for Samsung Internet

https://apps.samsung.com/appquery/appDetail.as?appId=dev.armin.searchbyimage

Howdy @Lindalu79, not entirely sure what you're asking for here. Feel free to re-open with more details though.


angular2-markdown package works on localhost but when I deploy on GitHub pages it gives me an error

Situation
I develop a site with Angular-CLI and will publish that on GitHub pages. the link to my project is https://heinpauwelyn.github.io.
I've installed a package named angular2-markdown to render markdown files on my HTML pages. Below you see my code:

Internship

            <markdown path="/reports/intro.md"></markdown>

            <app-reportslist></app-reportslist>

To test the site on localhost I use this command:
ng serve

This command gives no problem and render the markdown files good.
The problem
An error will be throw when I use command below to deploy my website on GitHub pages.
ng github-pages:deploy

This gives me next error:

ERROR in MarkdownModule is not an NgModule

Here is my code in my app.module.ts:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { MarkdownModule } from 'angular2-markdown';
import { AppComponent } from './app.component';

@NgModule({
    declarations: [AppComponent],
    imports: [
        BrowserModule,
        MarkdownModule
    ],
    bootstrap: [AppComponent],
})
export class AppModule { }

I've tried
Attempt one
I know on the guide stands that I must use MarkdownModule.forRoot(). If I use now ng serve, I've got this error:

ERROR in Error encountered resolving symbol values statically. Calling function MarkdownModule, function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in C:/***/heinpauwelyn.github.io/src/app/app.module.ts.
ERROR in C:/***/heinpauwelyn.github.io/src/app/app.module.ts: Property forRoot does not exist on type typeof MarkdownModule.

Attempt two
If I comment the line export class AppModule() like in the guide, I got this error:

ERROR in C:/***/heinpauwelyn.github.io/src/main.ts: Module C:/***/heinpauwelyn.github.io/src/app/app.module.ts has no exported member AppModule.
ERROR in C:/***/heinpauwelyn.github.io/src/app/app.module.ts: Declaration expected.

What is normal of course.
Question
How could I solve this problem?
Note: See also my question on Stack Overflow
Thanks in advance.

can you copy and past your package.json here.
Also, Do you have GitHub repo which I can access to see the code?

Here is my repo on GitHub: https://github.com/HeinPauwelyn/heinpauwelyn.github.io
package.json:
{
  "name": "personal blog",
  "homepage": "https://heinpauwelyn.github.io",
  "version": "0.0.0",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "test": "ng test",
    "pree2e": "webdriver-manager update --standalone false --gecko false",
    "e2e": "protractor"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "^2.3.1",
    "@angular/compiler": "^2.3.1",
    "@angular/core": "^2.3.1",
    "@angular/forms": "^2.3.1",
    "@angular/http": "^2.3.1",
    "@angular/platform-browser": "^2.3.1",
    "@angular/platform-browser-dynamic": "^2.3.1",
    "@angular/router": "^3.3.1",
    "angular2-markdown": "^1.3.14",
    "core-js": "^2.4.1",
    "ng2-bootstrap": "^1.3.3",
    "rxjs": "^5.0.1",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.7.2"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^2.3.1",
    "@types/jasmine": "2.5.38",
    "@types/node": "^6.0.42",
    "angular-cli": "1.0.0-beta.28.3",
    "codelyzer": "~2.0.0-beta.1",
    "jasmine-core": "2.5.2",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-remap-istanbul": "^0.2.1",
    "protractor": "~4.0.13",
    "ts-node": "1.2.1",
    "tslint": "^4.3.0",
    "typescript": "~2.0.3"
  }
}

I see your issue now. You are using 1.3.14 please use the latest version.
the current version is 1.3.18

I have sent a pull request to your please use it.

Sorry but now I've got this error:

ERROR in Error encountered resolving symbol values statically. Could not resolve angular2-markdown relative to C:/***/heinpauwelyn.github.io/src/app/app.module.ts., resolving symbol AppModule in C:/***/heinpauwelyn.github.io/src/app/app.module.ts
ERROR in C:/***/heinpauwelyn.github.io/src/app/app.module.ts: Cannot find module angular2-markdown

my bad it's missing typescript def file. Now I added it. I have created an another pull request for you. It's not showing "Could not resolve angular2-markdown" issue anymore. But I see some other issue in your project.

@dimpu HI ,I still got the same problem in my project.
that's the version what I use and set in NgModule.
  "angular2-markdown": "^1.6.0",

####ngmodule#####

import { MarkdownModule } from 'angular2-markdown';

@NgModule({
      imports:[MarkdownModule.forRoot(),]
})


Add clear modal for services

Signed-off-by: Eugene Lee<EMAIL_ADDRESS>Description
Adds modal that pops up if you try to clear all services selected for added friction.
Issues Resolved
#321
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #355 (a5fc47f) into application-analytics (b52bf65) will increase coverage by 1.96%.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##             application-analytics     #355      +/-   ##
===========================================================
+ Coverage                    69.29%   71.25%   +1.96%
  Complexity                     270      270
===========================================================
  Files                           82       38      -44
  Lines                         2918     2143     -775
  Branches                       343      240     -103
===========================================================
- Hits                          2022     1527     -495
+ Misses                         731      454     -277
+ Partials                       165      162       -3

Flag
Coverage Δ

dashboards-observability
?

opensearch-observability
71.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...tom_panels/panel_modules/panel_grid/panel_grid.tsx

...components/common/helpers/ppl_reference_flyout.tsx

...ards-observability/public/services/requests/ppl.ts

...helpers/ppl_docs/language_structure/identifiers.ts

...mponents/common/helpers/ppl_docs/commands/dedup.ts

...hboards-observability/common/constants/explorer.ts

...ashboards-observability/common/constants/shared.ts

...lic/components/common/helpers/add_sample_modal.tsx

...components/common/helpers/ppl_docs/commands/top.ts

...nts/common/helpers/ppl_docs/functions/condition.ts

... and 34 more

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 b52bf65...a5fc47f. Read the comment docs.


How to execute offline_lidar_obstacle_perception

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 14.04): Ubuntu 16.04
Apollo installed from (source or binary): docker
Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): 3.5

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh
bash apollo.sh build
cd /apollo/bazel-bin/modules/perception/lidar/tools
bash run_offline_lidar_obstacle_perception.sh

Supporting materials (screenshots, command lines, code/script snippets):

Hello everyone.. I am quite new to the Apollo platform. Anyone can give me hints on how to execute offline_lidar_obstacle_perception the right way?

I also met this question. ask for help!

You first need to prepare ".pcd" and ".pose" files, there's an exporter to let you do that from record files. Then you need to change the flags in the shell scripts to match your path, this is my command to run:
bazel-bin/modules/perception/lidar/tools/offline_lidar_obstacle_perception --pcd_path=_apollo_sensor_velodyne64_compensator_PointCloud2_data/pcd_path/ --pose_path=_apollo_sensor_velodyne64_compensator_PointCloud2_data/pose_path/ --output_path=_apollo_sensor_velodyne64_compensator_PointCloud2_data/result_output/ --sensor_name=velodyne64 --work_root=/apollo/modules/perception/production/

I already prepared the pcd and pose files. When I run the command you proposed I get the following errors:

Sorry I just saw this message, this happened because the registration for those components are not registered in the offline version (I'm not sure why). My work around is to manually add the registration part into these source files. so add these lines before the Init() function in lidar_obstacle_degmentation.cc:
PERCEPTION_REGISTER_SCENESERVICE(GroundService);
PERCEPTION_REGISTER_SCENESERVICE(ROIService);
PERCEPTION_REGISTER_SEGMENTATION(CNNSegmentation);

If you see similar errors, you will have to add the corresponding registration to those files as well

@tkkhuu Unfortunately, it does not work for me.
@OrkunYilmaz I have added in 'modules/perception/lidar/tools/BUILD' the following lines:
        "//modules/perception/lidar/lib/classifier/fused_classifier",
        "//modules/perception/lidar/lib/classifier/fused_classifier:ccrf_type_fusion",
        "//modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector",
        "//modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter",
        "//modules/perception/lidar/lib/roi_filter/hdmap_roi_filter",
        "//modules/perception/lidar/lib/scene_manager/ground_service",
        "//modules/perception/lidar/lib/scene_manager/roi_service",
        "//modules/perception/lidar/lib/segmentation/cnnseg:cnn_segmentation",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_engine",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_track_object_matcher",
        "//modules/perception/lidar/lib/tracker/multi_lidar_fusion:mlf_tracker",

@tkkhuu @alexbuyval I tried both suggestions and I am still getting the same error. Getting instances of RIOService, GroundService and CNNSegmentation are failing.


Docker Image - Enable lower ports without root user

We have a need to enable MailHog using port 25 (without mapping) within a Docker environment. Yes, this can be accomplished with the existing image, but it must run as 'root'.
This particular PR uses setcap to give the MailHog executable privileged access to the lower ports, and this  allows the image to run with the default 'mailhog' user instead of root.

Why do you need to change the port number within the container at all?  You need the low port number when you are outside of the MailHog container, right? So then map the the host port number to a lower number. This should do the job.
See https://docs.docker.com/v17.09/engine/userguide/networking/default_network/binding/
-p IP:host_port:container_port, which could be -p 25: 1025

@tmaier The intent to use the default low port is to allow this container to be directly attached (via link) to another running container. This avoids the exposure of the container on the host bridge using -p as we are doing a direct container-to-container connection.
Any thoughts on implementation to allow native mail clients within other containers to leverage Mailhog inside of a container without unique port-specific configuration?

@tmaier - did the above response satisfy/answer your question?

@gedge yes, the answer of @RonWilliams answered my concern. But I should not be considered a blocker for that Pull Request.

a later PR now causes a conflict, so will wait for that to be resolved