text:
feat: add merkle path verification methods

Description:
Commit Message
type: commit message

see the guidelines for commit messages.
Changelog Entry
version: <log entry>

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[ ] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #333 (5edad15) into main (89da131) will decrease coverage by 3.28%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #333      +/-   ##
============================================
- Coverage     80.01%   76.74%   -3.28%
  Complexity      421      421
============================================
  Files            27       28       +1
  Lines          2037     2124      +87
  Branches        284      303      +19
============================================
  Hits           1630     1630
- Misses          266      353      +87
  Partials        141      141

Impacted Files
Coverage Δ

...c/main/java/ibc/ics23/commitment/types/Merkle.java
0.00% <0.00%> (ø)

repo: icon-project/IBC-Integration


text:
Issue with event log parsing on archway

The events should be in string format, and not base64 format for archway. For the txns before this, it could successfully parse the events.
The base64 or stringified event  is dependent on this variable chainProvider.cometLegacyEncoding for wasm. It should only be assigned at the start, and since it could parse events from when the relay was started to this point. Not sure, how it reached the condition
func ibcMessagesFromEvents(
	log *zap.Logger,
	events []abci.Event,
	chainID string,
	height uint64,
	contractAddress string,
	base64Encoded bool,
) (messages []ibcMessage) {
	for _, event := range events {
		var evt sdk.StringEvent
		if base64Encoded {
			evt = parseBase64Event(log, event)
		} else {
			evt = sdk.StringifyEvent(event)

		}
		m := parseIBCMessageFromEvent(log, evt, chainID, height, contractAddress)
		if m == nil || m.info == nil {
			// Not an IBC message, don't need to log here
			continue
		}
		messages = append(messages, *m)
	}
	return messages
}

Log from the relay
2024-03-04T15:47:09.420470Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "amount", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420481Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "recipient", "error": "illegal base64 data at input byte 8"}
2024-03-04T15:47:09.420491Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "sender", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420501Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "amount", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420517Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "sender", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420528Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "fee", "error": "illegal base64 data at input byte 0"}
2024-03-04T15:47:09.420539Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "acc_seq", "error": "illegal base64 data at input byte 3"}
2024-03-04T15:47:09.420550Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "signature", "error": "illegal base64 data at input byte 8"}
2024-03-04T15:47:09.420561Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "action", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420571Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "sender", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420582Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "client_id", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420593Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "client_type", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420603Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "consensus_height", "error": "illegal base64 data at input byte 9"}
2024-03-04T15:47:09.420615Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "consensus_heights", "error": "illegal base64 data at input byte 9"}
2024-03-04T15:47:09.420625Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "header", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420636Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "module", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420647Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "action", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420657Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "sender", "error": "illegal base64 data at input byte 4"}
2024-03-04T15:47:09.420668Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_data", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420680Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_data_hex", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420691Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_timeout_height", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420702Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_timeout_timestamp", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420712Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_sequence", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420725Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_src_port", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420736Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_src_channel", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420752Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_dst_port", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420763Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_dst_channel", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420774Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_channel_ordering", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420784Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "packet_connection", "error": "illegal base64 data at input byte 6"}
2024-03-04T15:47:09.420795Z     error   Failed to decode legacy key as base64   {"chain_name": "archway", "chain_id": "archway-1", "base64": "connection_id", "error": "illegal base64 data at input byte 10"}

@sherpalden is this issue still relevant?

pending logs from production to be provided by @debendraoli . Issue occuring intermitently and not being able to replicate.

We don't have it now. Can be closed.

source: gharchive/issue

authors: debendraoli izyak pragyanshrestha-ibriz

repo: icon-project/ibc-relay

license_type: permissive

license_source: github-api


text:
iconfont 似乎不支持在线CDN链接了

那么  symbol_url  能使用本地的吗？

+1

+1，有什么解决方案吗

+1 有什么解决方案吗

如果是一个半个的话，可以把svg下载到本地，然后手动添加到index.h5.tsx以及index.tsx @402329651

+1 有什么解决方案吗
把Symbol 类型的文件下载到本地, 把iconfont.js文件放在自己公司的静态资源服务器上面。symbol_url 设置为：自己公司的远程地址就可以了

repo: iconfont-cli/taro-iconfont-cli

license: MIT


text:
Should xmlns attributes not be omitted from inline SVGs?

Loving your app so far. I'm using the iconify site to paste raw SVG code inline into HTML. For that purpose xmlns attributes seem redundant. Would it not make sense to omit xmlns attributes from the inline SVG code? And for users who want to use .svg images, there is the download button right below the SVG, which can keep the xmlns attributes.

It is required. Browsers can render icons without it, except for few cases such as using it as background or mask, but browsers can render all kinds of other invalid code code.
This should help you understand why it is required: https://developer.mozilla.org/en-US/docs/Web/SVG/Namespaces_Crash_Course
Even if it was optional for inlining SVG, I'd still keep it because in some cases it is required. There are already too many code sample options, vast majority of users don't even understand differences between those options. Adding extra options for SVG with and without namespace would only cause confusion, users copying wrong icon then wondering why it doesn't work. Putting any explanation near code sample doesn't solve it because users rarely read that.

authors: Arturexe cyberalien

repo: iconify/iconify


text:
Attempting to use AES encryption with no password throws unhelpful  exception

I tried turning off the password in one of the zip output stream unit tests and got
Message:
  System.ArgumentNullException : Buffer cannot be null.
  Parameter name: buffer
Stack Trace:
  MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
  ZipOutputStream.CloseEntry() line 534
  ZipOutputStream.Finish() line 772
  DeflaterOutputStream.Dispose(Boolean disposing) line 404
  Stream.Close()
  ZipEncryptionHandling.WriteEncryptedZipToStream(Stream stream, String password, Int32 keySize, CompressionMethod compressionMethod) line 497
  ZipEncryptionHandling.CreateZipWithEncryptedEntries(String password, Int32 keySize, CompressionMethod compressionMethod) line 540

Because AESAuthCode is null.
Looks to be because some of the logic goes off entry.AESKeySize being set to a non-zero value (deciding whether to write the > AES extra data etc), but them some of it goes off Entry.IsCrypted being true, which is only done automatically if a password has already been specified when the entry is added, so some of the other crypto bits get skipped.
Gets itself in a bit of a mess basically.
Possibly PutNextEntry should throw if you try to add an entry with AESKeySize set, but no password set?

Originally posted by @Numpsy in https://github.com/icsharpcode/SharpZipLib/discussions/506#discussioncomment-49971

Fixed by #509

repo: icsharpcode/SharpZipLib


text:
Document that Debian-based iCub Live and pc104 icub-head are not supported anymore since robotology-distro 2024.11

Since https://github.com/robotology/robotology-superbuild/pull/1547 new versions of the robotology-superbuild do not support Debian 10 and 11 (that is the version available in latest iCubOS). I guess it could be a good idea to mention this in related documentation pages:

https://icub-tech-iit.github.io/documentation/icub_operating_systems/pc104/icub-live/

Or directly remove this pages to simplify documentation (if somebody needs them they can be found in git history).

If I am not wrong, this means dropping support for newer distro for the following non-iceboxed robots (I checked the robots that still use cfw2can:

iCubLondon01
iCubDijon01
iCubGrenoble01
iCubGenova03
iCubHertfordshire01

Probably we can discuss in person before taking a decision.

Or directly remove this pages to simplify documentation

Right because you spotted old robots not in the icebox, perhaps a better option is rather to add a note in the present documentation.

Probably we can discuss in person before taking a decision.

Yep 👍🏻

iCubGrenoble01 is under upgrade and we will use the COM-EXPRESS removing the CFW2 board

iCubHertfordshire02 as well.

Relevant robots moved to icebox:

https://github.com/robotology/robots-configuration/pull/687

cc @traversaro

Thanks!

Hi @reafrancesco

@maggia80 would it be possible to start similar upgrade procedure for the iCubGenova03?

This is kind of off-topic here. Would you mind reaching out to @maggia80 using other channels?

authors: maggia80 pattacini traversaro

repo: icub-tech-iit/documentation


text:
Not able to provide the font-style to the printable content.

Hi @id1945,
I am using this library to print the HTML content which has a table in it.
When I give the custom font-style in scss file, it is not applied to the print content.
Can you help me how I can provide the fonts from my project assets folder.

@arpit9612 Fixed v2.1.1


text:
Review MCNP 6.3.1 manual for impact and add links

https://www.osti.gov/biblio/2372634

I believe #179 will be the main impact.

repo: idaholab/MontePy


text:
[DEFECT] Tests aren't passing from CashFlow

Defect Description
Since migrating from CashFlow to TEAL, some tests need adjusting still.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

email the user group about the updating @PaulTalbot-INL

Do we have a user group for cashflow?

repo: idaholab/TEAL


text:
Fixing framework path.

Pull Request Description
What issue does this change request address?
#1764
What are the significant changes in functionality due to this change request?
Fixes cd to find framework since it is now ravenframework
Also, fixes building command.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 8db1caf : invalidated by @joshua-cogliati-inl
fiddling with git config

Job Mingw Test on 8db1caf : invalidated by @joshua-cogliati-inl
windows troubles

Job Test qsubs sawtooth on 8db1caf : invalidated by @joshua-cogliati-inl
FAILED: Diff tests/cluster_tests/RavenRunsRaven/Code

PR is good, and checklist is satisfied.

source: gharchive/pull-request

authors: joshua-cogliati-inl moosebuild wangcj05

repo: idaholab/raven

license_source: bigquery


text:
Docs and python package

create python package
add CI/CD
format code with black, remove trailing spaces
include make install
add docs structure
add pre-commit

Thanks so much @joamatab !

authors: joamatab msaligane

repo: idea-fasoc/OpenFASOC


text:
Any reason using MATLAB instead of Python?

Very appreciate the effort to make this valuable project open source. I am just curious whether there are any reason to use MATLAB instead of Python?

Hello, @FL-CFD, thank you for reaching out! We're glad to hear that you appreciate our efforts, and hope you are finding FAST to be useful. There are a few reasons that we chose to use Matlab instead of Python:

First, the contract that FAST was released under requested that Matlab be used (see the bottom of our README for more information about this).
Second, we had a legacy aircraft sizing code in Matlab already from previous research endeavors, so we wanted to leverage that in our development of FAST.
Most of the University of Michigan (where we're based) students are more familiar with Matlab than Python, which makes it easier to deploy FAST in a classroom environment.

I hope this information helps! I'm going to close this issue, but feel free to open it back up if you have more questions

it helps. Thank you for this explanation.

Hello, @FL-CFD, thank you for reaching out! We're glad to hear that you appreciate our efforts, and hope you are finding FAST to be useful. There are a few reasons that we chose to use Matlab instead of Python:
1. First, the contract that FAST was released under requested that Matlab be used (see the bottom of our README for more information about this).

2. Second, we had a legacy aircraft sizing code in Matlab already from previous research endeavors, so we wanted to leverage that in our development of FAST.

3. Most of the University of Michigan (where we're based) students are more familiar with Matlab than Python, which makes it easier to deploy FAST in a classroom environment.

I hope this information helps! I'm going to close this issue, but feel free to open it back up if you have more questions
it helps. Thank you for this explanation.

authors: FL-CFD prmoko

repo: ideas-um/FAST


text:
Images as identifiers

Allow embedding of base64 encoded images into packet author's or recipient's identifiers.

Using IPFS now

repo: identifi/identifi

license: mit


text:
Request: Support for accessing return tracks

Essentially, the title. I cannot access return tracks with the given addresses. I can set mute state and volume on regular channles but not on returns.

Dup of #47

authors: TheElectroclassics ideoforms

repo: ideoforms/AbletonOSC


text:
simple_lidar_data.pkl

Hi,
Could you please share the file 'data/simple_lidar_data.pkl' in the GitHub repository so that I can follow along with 'example.ipynb'?
Thanks!

yeah, sorry, now available here:
https://github.com/ido90/Optimized-Kalman-Filter/tree/master/data


text:
Page does not load on all browsers

Describe the issue
when trying to access https://datatracker.ietf.org/doc/chatlog-115-dnsop-202211080930/ page, I simply get the "Loading..." in the bottom  and nothing else after that.
Looking at the javascript console I can see there is an error:
JQMIGRATE: Migrate is installed with logging active, version 3.4.0                                            jquery-migrate.js:103:16
GETXHR https://datatracker.ietf.org/doc/chatlog-115-dnsop-202211080930/doc.json   [HTTP/2.0 304 Not Modified 372ms]
SyntaxError: expected expression, got keyword 'import'                                                      embedded.7af98a88.js:1:297
GETXHR https://datatracker.ietf.org/group/groupmenu.json                                           [HTTP/2.0 304 Not Modified 317ms]
If more and more pages are going to be using features that do not work on all browses, make sure there is fallback url that can be used when the web site does not work. Similarly like the agenda now has the text version link I can use.
My understanding is that https://datatracker.ietf.org/meeting/115/materials/chatlog-115-dnsop-202211080930-00 page would provide a alternative version that can be used for all browsers (which is not very pretty, but at least the data is there).
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I suggest making the card header a link to the raw json, as this raw html and not part of the component.

authors: NGPixel kivinen

repo: ietf-tools/datatracker


text:
feat: Allow password reset with non username email address

This change allows password reset with any email address associated with the account.
The password reset will only be sent to the active email addresses associated with the account.
Fixes #5057

I think will allow an inactive secondary address to be used to request the reset but will not send the link to that address. As long as we don't allow an inactive address to be associated with a different User that seems reasonable to me (thinking of the case where someone has forgotten which addresses are tied to their account).

Yes, that was the idea. To allow people to request for password reset with an inactive email address as well but not to send the link to inactive email addresses.
If we allow inactive email addresses to be associated with a different user, I think we will have a lot of data integrity issues.


text:
Broken link in documentation

The documentation page: https://ignitionrobotics.org/api/gazebo/4.0/resources.html has a broken link in the section Ignition GUI plugins. The link  GUI config files points to the 3.0 version, which returns a 404 error. Changing the link to
https://ignitionrobotics.org/api/gui/4.0/config.html
resolves this problem.
I don't know where the documentation lives, but if somebody provides me with a pointer, I will submit a small PR to fix it.

Tutorials live here in particular -> resources
Happy to review the PR

authors: FirefoxMetzger ahcorde

repo: ignitionrobotics/ign-gazebo


text:
Adds python interface to PID and SemanticVersion.

Signed-off-by: LolaSegura lsegura@ekumenlabs.com
🎉 New feature
Related to #101 #210
Summary
Adds Python interface for two math classes: PID, SemanticVersion. For each class a python test has been created.
Related issues and notes
PID

A copy constructor was added to the python class. The PID C++ class didn't have one defined, and, because on python the operator= is not supported, there was no way to copy two variables of type PID.
The Update(const double _error, const std::chrono::duration<double> &_dt) method received a variable of type std::chrono::duration. To give support to this method in python a new  update function was defined using the %extend command. This new update method receives a variable of type double double Update(const double error, double dt).
The void Errors(double &_pe, double &_ie, double &_de) const;  method changed the values of the arguments inside it. For native types swig has a way to handle this  using the %apply <type> *OUTPUT {} directive. So in python this method can be used as [pe, ie, de] = pid.errors()
The %rename command is failing on adding and under case when the variable name is conformed by one letter and a world, for example, PGain() was being renamed as pgain() instead of p_gain(). So this cases where contemplated using an specific %rename tag.

SemanticVersion

The std_string.i module was added in order to work with std::string.

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

LGTM!

The Update(const double _error, const std::chrono::duration &_dt) method received a variable of type std::chrono::duration. To give support to this method in python a new update function was defined using the %extend command. This new update method receives a variable of type double double Update(const double error, double dt).

I think this is ok for now, but maybe in the future we should look into using python time to be more expressive?

Agree. I think that we should provide a conversion from std::chrono to python time. Sadly, swig doesn't provide bindings as it does for std::string(std_string.p) or std::map (std_map.i) so probably creating a std_chrono.i might be useful to have, keeping in mind that there is this other class, Stopwatch, that also uses std::chrono extensively.

authors: LolaSegura francocipollone

repo: ignitionrobotics/ign-math


text:
🛑 Nexus: Fonts CDN is down

In 21c5661, Nexus: Fonts CDN (https://fonts-cdn.nexuspipe.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nexus: Fonts CDN is back up in 4ad7b30 after 8 minutes.

repo: ignore-me-lol/personal-uptime-monitor


text:
Redis client not found when created background tasks in Swagger

Describe the bug or question
A clear and concise description of what the bug or question is.
To Reproduce
Please provide a self-contained, minimal, and reproducible example of your use case
async def is_rate_limited(db: AsyncSession, user_id: int, path: str, limit: int, period: int) -> bool:
    if client is None:
        logger.error("Redis client is not initialized.")
        raise Exception("Redis client is not initialized.")

Description
Redis client was recognised as none when I tried to create background tasks in Swagger and caught exception in is_rate_limited
Screenshots

Additional context
Add any other context about the problem here.

How did you run it? Using docker compose?

How did you run it? Using docker compose?

Exactly, docker-compose. Did I miss anything?

Having the exact same issue.
Redis name in .env = redis ,
App started by docker compose up -d
When trying to post a new task , getting raise Exception("Redis client is not initialized.")=

I think the issue is that all the Redis connections and the pool are tied to the cache in setup.py, which means that anyone who isn't using the cache can't get to them.
I came up with a temporary fix. It's not ideal, but it does the job. I moved everything, like the is_rate_limited function, into cache.py, and now it works just fine.

With our without cache, i'm still having the same exact issue too. Upon debugging, I can see that the Redis rate_limit.client instantiated when the application is starting.

However, the Redis client object somehow gets destroy and become None when the API endpoint is called:

Theissue only occurs on redis rate limiter object, but not on redis cache object

authors: igorbenav mlm-master scottyeung studentNinja yucelz

repo: igorbenav/FastAPI-boilerplate


text:
Native browser zoom out (ctrl -) shortcut doesn't work when lightbox is open

Describe the bug
Usually I can use ctrl + to zoom in and ctrl - to zoom out in a browser on pretty much any website.
After opening lightbox-lite ctrl + still works, but ctrl - does not.
I still can use ctrl 0 to restore browser zoom to the original scale.
That's with zoom = {{ disabled: true }} option.
Expected behavior
Expect native browser scaling to keep working with original shortcuts.
How to reproduce
It can be reproduced on a stackblitz playground mentioned in a Readme file. When lightbox is closed both short-cuts work, once lightbox is open, ctrl - stops working.
Playground above doesn't use zoom = {{ disabled: true }} option however.
Screenshots / Logs
No response
Additional context
Ubuntu 22.04.4 & Chromium 130.0.6723.
Tried Firefox 132.0.2 and observed the same behavior.

Hi there. Do you mind capturing sample keyboard events for me, pls?
You can add console logging at the very beginning of the onKeyDown function:
const onKeyDown = (event) => {
  const meta = event.getModifierState("Meta");
  const { key, code, ctrlKey, altKey, shiftKey, metaKey } = event;  // add these 2 lines
  console.log({ key, code, ctrlKey, altKey, shiftKey, metaKey, meta });  // add these 2 lines

authors: amalitsky igordanchenko


text:
Add for amazon video watch history

Amazon prime TV and Movie watch history:
https://www.amazon.com/gp/video/settings/watch-history/ref=dv_auth_ret?
Not sure if the selector is the same for everyone, but this worked on mine.
[
{
"activ": true,
"annotation": "",
"url_regex": "^https:\/\/www.amazon\.com.*",
"code": "._17wtYU._17wtYU ._3zBFNK ._1x0tR0 ._2PqNPo",
"delay": 1000,
"repeat": 2000
}
]

No reply for a considerable amount of time, ... so closing this for now.

authors: igorlogius willhubs

repo: igorlogius/automate-click


text:
fix example code in desc.md

The description of the challenge does not seem to fit the example.
A multiple of 5 must be replaced by Buzz, but not in the example.

thx

May I ask why it is closed, not merge?

Hello
PR was closed by mistake. The contribution is valid and greatly appreciated.
I am unable to reopen PR since your branch was deleted. Can you please undelete the branch or open another PR?

@igorwojda Ok. I thought I didn't follow the rules, but it was a misunderstanding. The branch was restored.

repo: igorwojda/kotlin-coding-challenges


text:
Add return_output modifier

Hey!
I like this project so far, nice work you do, thank you for this.
Please, consider this PR, this is my attempt to add an option to return the output (as was requested in https://github.com/igrek51/wat/issues/18).
I thought, maybe that option would be really useful.
I'm not sure the naming is the best, but rather clear IMO.
Tests added.

Closes #18

@flyaroundme Thank you for your contribution. I'll take it from here.
I'm going to call this modifier .str - it's shorter and pretty self-explanatory as it returns str.

Closing this as I had to apply more changes to my branch, follow-up in https://github.com/igrek51/wat/pull/21

Closing this as I had to apply more changes to my branch, follow-up in https://github.com/igrek51/wat/pull/21


text:
Typst generator

https://crates.io/crates/typst

crate module "typst"
Implement "Typst generator" (generate function)

pub trait TransformerTrait {
    fn parse(document: &Bytes, images: &HashMap<String, Bytes>) -> anyhow::Result<Document>;
    fn generate(document: &Document) -> anyhow::Result<(Bytes, HashMap<String, Bytes>)>;
}

Units test requered for this new feature  (looks at tests in json module)

you should do refcatoring of pdf generation function and move part of logic inside typst.rs generation function

repo: igumnoff/shiva


text:
🛑 ihateani.me [api] is down

In e07e61d, ihateani.me [api] (https://api.ihateani.me/echo) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ihateani.me [api] is back up in 493a317 after 840 days, 18 hours, 37 minutes.

repo: ihateani-me/status


text:
Heap buffer overflow on GetByteArrayValue function

Hi,
The GetByteArrayValue  function https://github.com/ihedvall/mdflib/blob/adee6fc499d2c1357fa55d798cdbad92c06317be/mdflib/src/cn4block.cpp#L692
does not check maximum allocation and caused heap buffer overflow.
The sample code tested: https://ihedvall.github.io/mdflib/mdfreader.html
Address sanitizer output:
==201131==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61300000116e at pc 0x56394a8acf94 bp 0x7ffd15d462d0 sp 0x7ffd15d45a98
READ of size 96 at 0x61300000116e thread T0
    #0 0x56394a8acf93 in memcpy (/mdflib/mdflibrary_example/src/build/mdfreader+0x74f93) (BuildId: a659090b6c4bd16d)
    #1 0x7fbd4e096e97 in mdf::detail::Cn4Block::GetByteArrayValue(std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&) const /mdflib/mdflib/src/cn5block.cpp
    #2 0x7fbd4e108a8b in bool mdf::IChannel::GetChannelValue<std::vector<unsigned char, std::allocator<unsigned char> > >(std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned long) const /mdflib/mdflib/src/ichannel.cpp:507:15
    #3 0x7fbd4dfbd084 in mdf::detail::ChannelObserver<std::vector<unsigned char, std::allocator<unsigned char> > >::OnSample(unsigned long, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&) /mdflib/mdflib/src/channelobserver.h:147:30
    #4 0x7fbd4e16669d in mdf::IDataGroup::NotifySampleObservers(unsigned long, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&) const /mdflib/mdflib/src/idatagroup.cpp:39:17
    #5 0x7fbd4e16669d in mdf::detail::ReadCache::ParseRecord() /mdflib/mdflib/src/readcache.cpp:94:23
    #6 0x7fbd4e06f637 in mdf::detail::Dg4Block::ReadData(_IO_FILE*) /mdflib/mdflib/src/dg4block.cpp:274:21
    #7 0x7fbd4dfe70cc in mdf::MdfReader::ReadData(mdf::IDataGroup&) /mdflib/mdflib/src/mdfreader.cpp:396:11
    #8 0x56394a95779f in main /mdflib/mdflibrary_example/src/fuzz_test.cpp:42:16
    #9 0x7fbd4d9a3d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:17
    #10 0x7fbd4d9a3e3f in __libc_start_main csu/../csu/libc-start.c:392:3
    #11 0x56394a892d44 in _start (/mdflib/mdflibrary_example/src/build/mdfreader+0x5ad44) (BuildId: a659090b6c4bd16d)

0x61300000116e is located 0 bytes to the right of 366-byte region [0x613000001000,0x61300000116e)
allocated by thread T0 here:
    #0 0x56394a9509dd in operator new(unsigned long) (/mdflib/mdflibrary_example/src/build/mdfreader+0x1189dd) (BuildId: a659090b6c4bd16d)
    #1 0x7fbd4e1663b1 in std::__new_allocator<unsigned char>::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/new_allocator.h:137:27
    #2 0x7fbd4e1663b1 in std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:464:20
    #3 0x7fbd4e1663b1 in std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:378:20
    #4 0x7fbd4e1663b1 in std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_create_storage(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:395:33
    #5 0x7fbd4e1663b1 in std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_base(unsigned long, std::allocator<unsigned char> const&) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:332:9
    #6 0x7fbd4e1663b1 in std::vector<unsigned char, std::allocator<unsigned char> >::vector(unsigned long, unsigned char const&, std::allocator<unsigned char> const&) /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_vector.h:566:9
    #7 0x7fbd4e1663b1 in mdf::detail::ReadCache::ParseRecord() /mdflib/mdflib/src/readcache.cpp:90:30

SUMMARY: AddressSanitizer: heap-buffer-overflow (/mdflib/mdflibrary_example/src/build/mdfreader+0x74f93) (BuildId: a659090b6c4bd16d) in memcpy
Shadow bytes around the buggy address:
  0x0c267fff81d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c267fff81e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c267fff81f0: 00 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c267fff8200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c267fff8210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c267fff8220: 00 00 00 00 00 00 00 00 00 00 00 00 00[06]fa fa
  0x0c267fff8230: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c267fff8240: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c267fff8250: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c267fff8260: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c267fff8270: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==201131==ABORTING

Proof of concept input: crashfile.zip

Thanks for finding a bug. There are some issues with the file (crashfile.mf4) but at the same time, the file includes all evil MDF types and conversions. I have checked it with the Vectors MDF Validator and my MDF File Viewer. None of them crash so I need to test your exact code. I assume it is the basic example code. I'm running Windows also so it may take some day(s) to figure out the problem.
Preliminary, the file have some issue in the second DG block with the composite CN block (struct_channel_0..7) and the nested structure CN block. It's the last 2 channels.
The Vector MDF Validator detects 13 errors and 64 warnings in the file.

Sure, yes I had to slightly modify the example code. Here it is:
#include <iostream>
#include <mdf/mdfreader.h>
#include <mdf/ichannelgroup.h>
#include <mdf/idatagroup.h>

using namespace mdf;

int main(int argc, char* argv[]) {
    if (argc < 2) {
        std::cerr << "Usage: " << argv[0] << " <path_to_mdf_file>" << std::endl;
        return 1;
    }

    const char* file_path = argv[1];
    MdfReader reader(file_path);  // Open the specified file

    // Read all blocks but not the raw data and attachments.
    // This reads in the block information into memory.
    reader.ReadEverythingButData();

    const auto* mdf_file = reader.GetFile(); // Get the file interface.
    DataGroupList dg_list;                   // Get all measurements.
    mdf_file->DataGroups(dg_list);

    // In this example, we read in all sample data and fetch all values.
    for (auto* dg4 : dg_list) {
        // Subscribers holds the sample data for a channel.
        // You should normally only subscribe on some channels.
        // We need a list to hold them.
        ChannelObserverList subscriber_list;
        const auto cg_list = dg4->ChannelGroups();
        for (const auto* cg4 : cg_list ) {
            const auto cn_list = cg4->Channels();
            for (const auto* cn4 : cn_list) {
                // Create a subscriber and add it to the temporary list
                auto sub = CreateChannelObserver(*dg4, *cg4, *cn4);
                subscriber_list.push_back(std::move(sub));
            }
        }

        // Now it is time to read in all samples
        reader.ReadData(*dg4); // Read raw data from file
        double channel_value = 0.0; // Channel value (no scaling)
        double eng_value = 0.0; // Engineering value
        for (auto& obs : subscriber_list) {
            for (size_t sample = 0; sample < obs->NofSamples(); ++sample) {
                const auto channel_valid = obs->GetChannelValue(sample, channel_value);
                const auto eng_valid = obs->GetEngValue(sample, eng_value);
                // You should do something with data here
            }
        }

        // Not needed in this example as we delete the subscribers,
        // but it is good practise to remove samples data from memory
        // when it is no longer needed.
        //dg4->ResetSample();
    }
    reader.Close(); // Close the file

    return 0;
}

I might have found the error. The level22 channel have invalid offsets causing overrun when reading. I have added some range test to harden the code so it's now returning non-valid values which is a fair result.
I cannot reproduce your error in my environment but if you filter out the level22 channel subscription from your test code, the error should disappear.
The algebraic (formula) conversion is currently not supported. If you need support for that conversion method, please let me know.
I just need to check if the value range to value conversion is correct. It should work so I need to check this. It's currently returning invalid values.

Thanks, in case if you need to reproduce the AddressSanitizer crash above, you can try compile the sample code above with -fsanitize=address, that should give the same error in the issue description. If, not then it means the those are fixed.

I have made some changes regarding the buffer overrun. Tested on Windows.

I have added a fuzzytest.sln and verified that the heap buffer overflow problem is fixed. The file have an invalid index causing the problem. The fix is to set all values invalid for that channel but OK for the remaining channels.

repo: ihedvall/mdflib


text:
您好。winktv直播平台可以考虑加入支持吗？

请问大佬有空添加一个新的支持吗？主播质量比较高，可以提供认证账号用于测试使用。
https://www.winktv.co.kr/

最新版 v3.0.2 已新增winktv录制

repo: ihmily/DouyinLiveRecorder


text:
Beef up existing vignettes so that cover recent additions to the package

There are a number of recent functions that have been added to the package which would be good to have examples in the vignettes. Similarly I think there is also a need make vignette highlighting all the helper functions available in the package. Long-term this can only help internal/external folks in using the package.

[x] Update existing vignettes, explaining better available parameters and fix typos
[x] Add an additional vignette on data preparation functions in the package, highlighting both terra and stars options.
[x] Add a vignette on options for mechanistic SDMs. Pending additions of them.

Basic vignette now existing and added through https://github.com/iiasa/ibis.iSDM/commit/fb173c350df5dd69de0c6d1ff275fc9b9d2322bd


text:
Deleting the docs via Rest fails on a production instance

Per the tests, deleting the docstring of a region should work using
region.docs = None

or via the explicit delete_docs method, see here.
However, this raises the following error on the ecemf-internal instance:

@meksor, I have the same issue when trying to delete a meta indicator - I guess this is still pending and caused by nginx?


text:
标签和分类页面无标签云和分类列表

Expected behavior (预期行为)
tags/ 显示标签云
Actual behavior (实际行为)
tags路径不显示标签云 但是tags/xxx 却是有显示的
Steps to reproduce the behavior (重现步骤)
代码在https://github.com/lovejoy/lovejoy.github.com 的hexo分支
NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:
✔ Master

Latest Release
Old version -

NexT Scheme:
✔  All schemes

Muse
Mist
✔ Pisces

Other Informations (Like Browser, System, Screenshots)
nvm 安装的node环境 4.3.2 版本
hexo 3.2.0
hexo-cli 1.0.1
hexo g无报错

求问这个可以怎么查下原因

@lovejoy 我也是这个问题，请问你解决了吗？

@myloften 并木有解决 求 @iissnan 解答啊

我也有这个问题

http://theme-next.iissnan.com/theme-settings.html

总有些看了教程也没发现问题的，比如我。。特作备注，给那些像我一样没一眼看出问题的同学。。
title: 标签
date: 2014-12-22 12:39:04
# 此处`type`为新加的，且必须加
type: "categories"
---

现在这个问题解决了吗？我的总标签不能显示，但分标签的index.html是正常的

authors: Jim-Zenn giswt lovejoy madordie myloften

repo: iissnan/hexo-theme-next


text:
Add dynamic author data

Problem: Author data is static and cannot be changed.
Solution: Add dynamic data to pull author information from the config.yml file

Hi @ijsucceed , any chance you could look into this soon?

repo: ijsucceed/onepress


text:
moving mean/variance update

When using batchnorm, we need to update moving mean and moving variance as the TensorFlow document says. But I have not found it in your code. Is it wrong?

Hello,
If you are talking about means during data normalization - this is another parameters that calculated only once.
If we are considering mean and std at the batch norm - they are updated every training step, based on training flag settings. So everything should be done under the hood.
Of course, it's possible that tensorflow API was changed a little bit - so code should be rechecked.

@ikhlestov No, I mean that you have to explicitly update moving mean and moving variance in Batch Normalization before applying gradients on trainable variables.  Something is like below:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)   with tf.control_dependencies(update_ops):     train_op = optimizer.minimize(loss)

@ikhlestov No, I mean that you have to explicitly update moving mean and moving variance in Batch Normalization before applying gradients on trainable variables.  Something is like below:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)   with tf.control_dependencies(update_ops):     train_op = optimizer.minimize(loss)

@ikhlestov No, I mean that you have to explicitly update moving mean and moving variance in Batch Normalization before applying gradients on trainable variables.  Something is like below:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
    train_op = optimizer.minimize(loss)

Thank you for your attention, I'll rewrite code

@TengliEd Oh, actually I remember this case - I just set updates_collections=None to force the updates in place, so there is no reason to call update with control_dependencies

@ikhlestov Yes, thanks for giving me another workaround to update them. But I still got confused about puting weight decay on all trainable variables. l2_loss = tf.add_n([tf.nn.l2_loss(var) for var in tf.trainable_variables()]). You know we need to decay only weights not bias.

As far as I know tensorflow.nn.conv2d layer doesn't contain bias. And the whole network based on that layers - so actually there is no biases.
In any case the training results show nearly the same performance as in the authors implementation and paper - so there is no reason to tweak anything.
It you want - you can make a fork and implement any updates.

authors: TengliEd ikhlestov


text:
🛑 Uptime VF Bot is down

In 52ae475, Uptime VF Bot (https://uptime-discord-bot.nexter32.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Uptime VF Bot is back up in 41b584a.


text:
Blinds module activated when opening het accessory page

Everytime i open a room in the accessory page within homebridge, the blinds (Fibaro Roller Shutter modules) in that room receive some sort of signal. I can hear the relays of the modules clicking. The plugin sends the last known value to the modules: i tested and confirmed this by:

changing the position of the blinds in homebridge
going to another room and back to the room with the blinds (position doens't change, you only hear the delays for blinds that are completely open or closed)
Change their position straight from the fibaro
Change rapidly to another room in homebridge and back to the room with blinds, before the blinds' state is updated in homebridge
This time the blinds do change position, to the values last known by homebridge / fibaro plugin.

I used homebridge and the plugin for a couple of years now, this problem only arrised today after i decided to upgrade the system.

@FBerriere, which update are you referring to ?

stale

authors: FBerriere ilcato

repo: ilcato/homebridge-fibaro-home-center


text:
SvelteKit migration

A previous PR (#312) was made with the target of rewriting the docs in SvelteKit. It quickly became outdated and was only targeting the docs, so this PR supersedes it since it started from a fresh SvelteKit template and targets the entire app (not just docs).
Important tasks
The migration is large and some of the tasks may be split into other smaller PRs. The general outline of the tasks is as follows:

[x] Move all files to the correct locations in SvelteKit convention, fixing imports and layout props accordingly
[x] Remove Custom Elements support (SvelteKit is just not ready for them yet, and they weren't even working properly)
[x] Replace any Sapper reference with SvelteKit
[x] Fix GitHub Actions and pre-commit hooks
[x] Investigate why some :global selectors are not working as they should
[ ] Figure out what to do with theming and SCSS variables (related to #181 - should probably convert/open a discussion)

Additional tasks
These are the nice-to-haves that theoretically shouldn't block the migration to SvelteKit, but also make use of some features that were not possible/easy before.

[x] Migrate everything to TypeScript
[x] Turn off router and/or hydration for pages that don't need them
Hydration is required for all pages (at the very least, for the "Components" dropdown to work), and in that case there is no compelling reason to disable the router.
[x] Remove deprecated interfaces (only right and top props in Dropdown)
[ ] Update documentation

[ ] Theming
[ ] Migration
[ ] Installation
[ ] Changelog

Blocking issues

The PR is currently blocked by sveltejs/kit#4528 and the {base}/... workaround is not practical. Some links cannot be transformed that way (ex: ones inside CHANGELOG.md). Since <base href="/" /> is allowed (and actually fixes the problem), I'm wondering why base: '/' is not allowed.
Update: This turned out to be feasible. I was initially under the impression that kit.paths.base would add the base tag as Sapper did, but that turned out to not be the case. It was definitely tiresome but possible to update all URLs everywhere.

Other issues

Forwarded slots (<slot name="loading-options" slot="loading-options">) are detected as taking a slot prop called slot in the generated types.
Svelte Language Server (VS Code extension) does not understand import assertions (import pkg from './package.json' assert { type: 'json' }) even with latest Node.js installed
Update: Doesn't matter any more since I moved the package import to vite.config.js

Closes #311

Hello @metaory, sorry for the delays from my side, but I just finished my final exams (at uni) today. I plan to come back to this issue soon, but I was also hoping to get more feedback on #360 first

Is there anything you're blocked on in terms of getting this in?
I feel like this task has maybe become too large. I think migrating only the docs first as https://github.com/illright/attractions/pull/312 was doing might have been more approachable vs trying to boil the ocean. But given how much progress has been made with this approach, maybe it could just be merged with a few things broken and some cleanup can happen later?

Well, the main issue is that both maintainers (me and @illright) got busy with other things in their lives, be it study or work or both. Still, I wanted to continue with the migration because it didn't seem so difficult. The main stopping point was #360, in which we decided to move away from Sass to CSS with variables (custom properties), but SCSS/CSS are not really my strong point. I did some work in the sass-migration branch but it's far from complete.
TL;DR: I need to muster up some energy to continue the CSS migration and the rest should be straightforward

authors: aabounegm benmccann

repo: illright/attractions


text:
The difference in Table 1 and Table 2 ?

@LightToYang
Hi,
The result you pointed out in Table2 is the model trained using biased heatmap
and for this model we use our decoding method
The result you pointed out in Table3 is the model trained using biased heatmap
and for this model we use the standard decoding method

authors: LightToYang djangogo

repo: ilovepose/DarkPose


text:
aircloud主题适配

https://github.com/aircloud/hexo-aircloud-blog

Link hexo-theme-aircloud#102

authors: hi-nikola imaegoo

repo: imaegoo/twikoo


text:
Upgrade issue

I am using your wonderful library for quite some time and have never faced any issues.
i have a simple code
jQuery(".theo-chart").each(function () {
	  jQuery(this).waypoint(function () {
		var tSize = jQuery(this).attr("data-t-size"),
		  tLineWidth = jQuery(this).attr("data-t-line"),
		  tBarColor = jQuery(this).attr("data-t-barColor"),
		  tTrackColor = jQuery(this).attr("data-t-trackcolor"),
		  tScaleColor = jQuery(this).attr("data-t-scalecolor") || false,
		  tScaleLength = jQuery(this).attr("data-t-scalelength") || false,
		  tLineCap = jQuery(this).attr("data-t-linecap") || "round",
		  tAnimationDuration = jQuery(this).attr("data-t-animationduration") || 1000,
		  tEasing = jQuery(this).attr("data-t-easing") || "easeOutQuad",
		  tRotate = jQuery(this).attr("data-t-rotate") || 0;
		jQuery(this).easyPieChart({
		  animate: {
			duration: tAnimationDuration,
			enabled: true
		  },
		  barColor: tBarColor,
		  trackColor: tTrackColor,
		  lineWidth: tLineWidth,
		  size: tSize,
		  lineCap: tLineCap,
		  scaleColor: tScaleColor,
		  scaleLength: tScaleLength,
		  easing: tEasing,
		  rotate: tRotate,
		  onStart: function () {
			jQuery(this.el).css({
			  'height': tSize,
			  'width': tSize,
			  'lineHeight': tSize + 'px'
			});
			jQuery(this.el).find('i').css('lineHeight', tSize + 'px');
		  },
		  onStep: function (from, to, percent) {
			jQuery(this.el).find('.percent').text(Math.round(percent) + '%').css('color', tBarColor);
		  }
		});
	  }, {
		triggerOnce: true,
		offset: 'bottom-in-view'
	  });
	});

It use to work fine with jQuery Waypoints - v2.0.5
Now i have upgrade it to latest jquery buld of your and it says waypoint is undefined.
Can you please help?

@osricmacon This repository follows semver. Changes to the major version, from 2 to 3, includes breaking changes. If you want to upgrade it is possible that you may have to change things to conform to the new API.
That said, this shouldn't cause the error you're seeing. Are you sure you're including the jQuery build of Waypoints?
There is a different, unrelated thing you will have to change. triggerOnce was eliminated. You should now call this.destroy() at the end of your handler function.

thanks

authors: imakewebthings osricmacon

repo: imakewebthings/waypoints


text:
Add Search to Docs

We need some way to search the docs, I can provide some kind of UI for this when I get a chance.

Think that has now been achieved by @somebee

authors: andregoldstein trafnar


text:
Switch statement documentation seems to be wrong.

On this page: https://imba.io/language/operators
Switch is documented as having a syntax like this:
switch status
when "completed"
  console.log "This project has been completed"
when "archived"
  console.log "This project has been archived"
else
  console.log "This project is active"

However it appears to actually have a syntax like this (note indented when):
switch status
  when "completed"
    console.log "This project has been completed"
  when "archived"
    console.log "This project has been archived"
  else
    console.log "This project is active"

Looks like this has already been fixed.

authors: BigZaphod poeck


text:
Callout component 的 icon 在单行时视觉效果不是很整齐

Description
Callout component 的 icon 在单行时视觉效果不是很整齐（截图为文档中的示例）
Screenshots

Environment

Hugo Version: v0.120.4
Browser/OS: Edge, Windows 11
Theme Version: v0.7.0

刚刚发现了 Nextra 的相关页面，感觉似乎在那边提交 issue 更合适，已经在那边提交 issue 了

repo: imfing/hextra


text:
九宫格的“符号”如何修改默认选项？

九宫格的“符号”如何修改默认选项？我新装仓输入法用九宫格或者26键，符号的默认状态都是中文，如何设置为“常用”呢？感谢！！！

您好，目前默认的符号列表不支持自定义。「常用」列表中的符号是历史使用记录。
后面我看看如何调整为自定义。

您好，目前默认的符号列表不支持自定义。「常用」列表中的符号是历史使用记录。
后面我看看如何调整为自定义。

感谢你的回复！我的意思是：按下符号键之后，默认是停留在“常用”这个菜单选项。但是目前我一直是停留在“中文”这个菜单选项上，新装了一台ipad也是如此，但是我看其他人说默认就是“常用”菜单选项，是不是这个可以设置？

https://github.com/imfuxiao/Hamster/assets/73117056/11547514-0d02-403b-b16e-8adb4c885aef
可能是我表述的不清楚，视频清楚一点

应该是跟键盘有关系，内置中文键盘点击进入就是「中文」符号列表，内置英文键盘点击进入就是「英文」符号列表。其他键盘点击进入就是「默认」符号列表。

明白了谢谢

我也遇到同样的问题：按下符号键之后，默认是停留在“中文”符号菜单，我希望它停留在“常用”符号菜单，有没有办法设置？

我也遇到同样的问题：按下符号键之后，默认是停留在“中文”符号菜单，我希望它停留在“常用”符号菜单，有没有办法设置？

目前是不可以的，只有「自定义键盘」点击搬入符号键盘是「常用」列表。

authors: Lion176 Nothend imfuxiao

repo: imfuxiao/Hamster


text:
New Logo - favicon

New sidebar logo in: https://github.com/impactMarket/ui/pull/148
Tests

[ ] Tested on mobile
[x] Tested on dektop

This PR should be manually tested by @obernardovieira @PauloSousapt @psoaresbj , included on reviewers.

everything, please

UI PR: https://github.com/impactMarket/ui/pull/148

repo: impactMarket/app


text:
Bug: When dates between badges the same, sorting displays unwanted behavior

Description
When 2 badges, probably the same for all credentials, have the same issuance date, the sorting functionality only reverses order after clicking reverse twice.
Also remembers reverse button when switching sorting option which is counterintuitive.
Hardware Specification
Operating system: Ubuntu
RAM:
Cores:
Device: HP elitebook
Steps to Reproduce the Bug

startup unime on desktop and go to ferris profile.
Go to badges
Click "Issuance Date" in the sorting functionality
Now click reverse, nothing should happen.
Click again and then it does reverse.

Actual Behaviour
Reverses only after clicking twice
Expected Behaviour
Should reverse after one click
Errors
The logs don't show any errors, it's being handled correctly. It's probably a logical discrepancy in the backend, causing the different dispatched actions to behave differently.

 Bug: When dates between badges the same, sorting displays unwanted behavior

authors: M-Adam-Hus Oran-Dan

repo: impierce/identity-wallet


text:
add organization support

The option admin is string array, support a set of organization repository's administratories. the string array ignore lower/uppercase, and anyone can initialize your post's comments. so them need have write/create-issues access of organization repository. ex:
const gitment = new Gitment({
  owner: 'GitHub ID of organization repository',
  admin: ['user1', 'user2'],
  ...

还没merge啊

@imsun 人呢？能合并吗？

?

:)
不知道啊。别问我，我什么也不知道~~

https://advance-esthetic.us/rf-facial-machines

https://pcappcrack.com/davinci-resolve-studio-crack/

authors: aimingoo sabihazahra65 sariabiha sinkcup yanhaijing

repo: imsun/gitment


text:
Can I get a dump of a guest properties?

I would like to get an overview of the guest properties before doing a clone, I've had a look at eh source but couldn't find it.
Is it possible with the current version?

Hi @aseques - hmm you could try adding --debug, but that would still go through with the clone, and I'm not 100% sure we have debug output for the guest itself.
If not, a PR would be welcome. Not sure if it would fit in any of the existing subcommand sections, so would probably be best under say, ezmomi inspect --template centos7.

Thanks for your reply, unfortunately at this point I can't work on this, I'll resort to getting the information manually meanwhile

authors: aseques snobear

repo: imsweb/ezmomi


text:
地址跳转到某一个标题处，如何跳转？

描述这个Bug

如上，我的地址http://www.itmei.cn/u/index.html#/priviewArticle?id=378 是想跳转到 ‘objectName()获取对象的值’此处，地址要如何写呢
版本号
4.13.3
问题重现链接
No response

手动去处理，像文档里这样：https://github.com/imzbf/md-editor-v3/blob/dev-docs/src/layouts/Catalog/index.vue#L39

authors: imzbf itmeicn


text:
目录跳转失败

我在gin-vue-admin 框架下使用这个组件 点击页面跳转没有任何反应，请问应该怎么解决呢

看看你的代码怎么写的

<template>
  <div>
    <el-row :gutter="24">
      <el-col :span="21">
        <editor
          v-model="state.context"
          :editor-id="state.id"
          :theme="state.theme"
          previewOnly
          previewTheme="default"
          class="editor"
        >
        </editor>
      </el-col>
      <el-col :span="3">
        <el-affix :offset="120">
          <el-scrollbar height="500px">
            <Editor.Catalog
              :editor-id="state.id"
              :theme="state.theme"
              class="editor-catalog"
              :scrollElement="scrollElement"
            />
          </el-scrollbar>
        </el-affix>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'AppList'
}
</script>

<script setup>
import { reactive } from 'vue'
import Editor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
import apiDoc from ".\\apiDoc.md?raw"

const state = reactive({
  theme: 'light',
  context: '',
  id: 'my-editor'
});

const scrollElement = document.documentElement;

const initPage = async() => {
  state.context = apiDoc
}

initPage()

</script>

<style>
  .editor {
    padding: 50px 50px
  }

  .editor-catalog {
    padding: 10px 10px;
    background-color: white;
    min-height: 500px;
  }
</style>

会不会是因为 gin-vue-admin是有路由的问题，滚动条滚动的目标不对

设置为document.documentElement的时候，是需要你的内容滚动条是全局的，你尝试把scrollElement设置为文本真正的滚动区域元素试试，选择器和标签元素实例都可以

会不会是因为 gin-vue-admin是有路由的问题，滚动条滚动的目标不对

可能是，一般来讲admin项目都只有中间内容区域在滚动

不太行啊，我设置为父元素 还是 富文本编辑框还是 给他套一个div都跳转不了

scrollElement的元素，要求是，要设置了overflow，并且改元素必须是已定位的元素

我现在用element ui的 Scrollbar把编辑器包裹起来 然后scrollElement就是 Scrollbar 这个元素，也是没成功，

这样是可以控制滚动条滚动的

我现在用element ui的 Scrollbar把编辑器包裹起来 然后scrollElement就是 Scrollbar 这个元素，也是没成功，

很明显ele的组件滚动的不是.el-scrollbar，需要设置了overflow为滚动的元素

这个也是不行的


text:
asyncFirst, don't cancel

hey yasuhiro 😄
quick question, how would you use asyncFirst in the case where you don't want to cancel the slower functions? as as illustrative example:
func getAPIModel() async throws -> APIModel {
  try await asyncFirst([
    { try await self.fetchFromCache(for: id) },
    {
        let fromAPI = try await self.fetchFromAPI(for: id)
        await self.setCached(id, fromAPI)
    },
  ])()
}

even if the first function to fetch from the cache succeeds, i don't want to cancel the second function, i still want to update the cache from the API request.
maybe async isn't the best way to compose this problem, and this is better suited to a Publisher that first gives the cached value if it exists, then the object from the API?

thanks @inamiy not a problem at all!
i just wrote a test that validates that to prove it to myself. as always, thank you for your contribution to the functional swift community.
i might visit sometime next year, i'll message you when i know 😆

repo: inamiy/FunAsync


text:
Update project list

I think the project list could use an update with new projects such as RIPARIAS, FOSB, perhaps AlienCSI?

Yes, here's a todo:

[ ] Add description for RIPARIAS
[ ] Add description for FOSB
[ ] Add funding by LIFE in footer

Thanks @peterdesmet to do a check. I remember to have added LIFE RIPARIAS to the project in 2021 😄
GitHub helps me to remember stuff and good commit messages https://github.com/inbo/oscibio/commit/a6e9b1f168e48a19484efaad9cba115e81afff20.

repo: inbo/oscibio


text:
Logo for Inbucket

will be nice if we have a logo for Inbucket

In the past, someone donated some money to the project, I think roughly $50 US, I had been planning to put that towards a logo.  My vision was to have an old metal milk bucket with a mailbox on a wooden post sticking out if it, but I don't think that would scale down well for a favicon.

i think that will be a cool logo and later we can print stickers as well!

authors: cpanato jhillyerd


text:
Ever considered using windows-process-tree?

Just happened upon this and I figured it might be neat if this package wrapped/abstracted it.  This is made by Microsoft, so it's a pretty decent option for a solid reference implementation...
https://github.com/Microsoft/vscode-windows-process-tree
Anyway, love this lib, thank you so much!

@atrauzzi really thanks for the link!
This package is actually un-mantained.
I'll try to use it in https://github.com/simonepri/pidtree
Can you open an issue there?
@soyuka we should definitely consider it for pidusage!

authors: atrauzzi simonepri

repo: indexzero/ps-tree


text:
[Storage] List user's bucket contents

In this PR,  I introduce a new feature: the user can now list the contents of its personal bucket, using the following command:
contents = inductiva.resources.storage.list_contents(max_results=10, sort_by="size", order="desc")

The user can sort them by size or creation time and select the number of results to view.
This function returns a list of dictionaries containing the information of each content that can easily be converted to a dataframe and prints a table like this:

This seems a nice feature.
I only have a few comments wrt to the api / params.
contents = inductiva.resources.storage.list_contents(max_results=10, sort_by="size", order="desc")

Here's a few questions:

why not just list()? Are there other methods in mind that make "_contents" needed?
do we need inductiva.resources.storage? why not just inductiva.storage?
why sort_by and nor order_by?
Are we being consistent with SQL. See the meaning of order_by here: https://www.w3schools.com/sql/sql_orderby.asp

With the changes discussed it looks like this:
a = inductiva.storage.listdir(max_results=10, order_by="size", sort_order="desc")
              Name                 Size        Creation Time
              1234             5.68 MiB     29 Sep, 14:12:00
             12345           374.85 KiB     29 Sep, 14:13:10
           1234567            97.59 KiB     29 Sep, 14:13:24
               123                  0 B     29 Sep, 14:13:29
            123456                  0 B     29 Sep, 14:13:18

authors: cristianacarpinteiro sarmento

repo: inductiva/inductiva


text:
Fix revoked certificate decoding

Fixes #82.
Fixes #83.
I'm adding a test asserting the possible CRL conditions (empty or not-empty list of revoked certificates) alongside the fix.
I've introduced a new definition - RevokedCertificate - which does not have a direct match in RFC 5280, thus is not being exposed in the API.
I've extracted the CRL from a couple of fixture certificate files (available through distribution points) which I'm using in the test.

Both landed with very minor fixes. Excellent patch, thank yoU!

Released in asn1.js-rfc5280@1.2.2.

authors: indutny ruiquelhas


text:
[Bug]: Records that have been deleted can still be  obtained during match query

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Version or Commit ID
v0.1.0/v0.1.1
Other environment information
No response
Actual behavior and How to reproduce it
1 插入记录，进行match查询，返回结果正常
2 删除插入记录，并再重新插入记录
3 进行match查询，已经删除的记录会被查询出
Expected behavior
No response
Additional information
No response

Fixed.

authors: GuangchaoDeng JinHai-CN

repo: infiniflow/infinity


text:
[Bug]: When create a database with an invalid name, an error occurs when disconnect.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
479f61e
Other environment information
No response
Actual behavior
When using such as [] or {} or () or 1 or 1.1 as the database name and when diconnect the infinity object the error occurs.
Expected behavior
No response
Steps to reproduce
Just call create_database with invalid name, and then disconnect the error occurs.

Additional information
No response

If the bug is fixed, please close it.

authors: JinHai-CN chrysanthemum-boy


text:
[Feature Request]: please add an embedding model "BAAI/bge-m3"

Is there an existing issue for the same feature request?

[X] I have checked the existing issues.

Is your feature request related to a problem?
there is no multillingual embedding model

Describe the feature you'd like
BAAI/bge-m3 supports over 100 languages to be suitable for different language documents
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response

You can add API key for NVIDIA/PerfXCloud/SILICONFLOW to apply bge-m3.

You can add API key for NVIDIA/PerfXCloud/SILICONFLOW to apply bge-m3.

hi, can you show more details about how to apply this?

Refer to this.

authors: Azure-Tang KevinHuSh laneado

repo: infiniflow/ragflow


text:
[Question]: Agent interface Sider style issue

Describe your problem
Excuse me, the Agent part of the code is consistent, why is the collapse button at the bottom of the Sider?

Does the latest version have this problem?

最新版本没有这个问题。但是我做了二次开发，在我的版本上，是这个问题（可能是样式覆盖了）。
Sider组件强制关闭按钮trigger={null}，然后自定义按钮可以。
我就是好奇，为什么最新版本没有使用自定义按钮，它就是这个样式。
主要，我是前端小白，见笑了。

I have never used custom buttons, and the problem you mentioned has not occurred.

非常感谢你的回复


text:
Add Helm chart documentation for infinispan.org

Fixes issue #11

Thanks @oraNod

authors: oraNod ryanemerson

repo: infinispan/infinispan-helm-charts


text:
ISPN-13940 BlockingManager#runBlockingOperation doesn't return stage

https://issues.redhat.com/browse/ISPN-13940

Merged, thanks

authors: tristantarrant wburns

repo: infinispan/infinispan


text:
ISPN-14565 Updates Console to 14.0.7.Final

https://issues.redhat.com/browse/ISPN-14565

Merged, thanks

authors: karesti tristantarrant


text:
ISPN-6007 Cache.get(...) using Flag.FORCE_WRITE_LOCK should retry

https://issues.jboss.org/browse/ISPN-6007

@pferraro Could you try this?

This seems fine to me. Want to just have me pull it in or wait for @pferraro ?

@danberindei I'll give it a shot now.

@danberindei @wburns OK - this looks good.  Can we get this into the 8.1.x branch too?

Pushed to both master and 8.1.x

authors: danberindei pferraro tristantarrant wburns


text:
ISPN-6603, ISPN-6604, ISPN-6605 schema fixes

https://issues.jboss.org/browse/ISPN-6603
https://issues.jboss.org/browse/ISPN-6604
https://issues.jboss.org/browse/ISPN-6605

Looks good. Pulling...

Integrated in master. Thanks @pruivo!

authors: anistor pruivo


text:
ISPN-7265 NullPointerException when preload data

https://issues.jboss.org/browse/ISPN-7265

Pushed to both master and 8.2.x

authors: pruivo tristantarrant


text:
🛑 Status Page is down

In bcd88a5, Status Page (https://status.infinite8.co) was down:

HTTP code: 404
Response time: 70 ms

Resolved: Status Page is back up in 0cb2ca2.


text:
SIWA on android refactor

SIWA on android refactor changes split from #5 , merge #7 first.

Closing in favor of addressing in cleanup task.

authors: lindboe silasjmatson

repo: infinitered/ExpensifyApp


text:
influx not available in docker container

This doesn't work: Open a shell in the influxdb container
Likely since the CLI was extracted from influxdb
Relevant URLs

Provide relevant URLs (the doc page in question, project issues, community threads, etc.)

Need to follow up with Edge team

https://github.com/influxdata/influxdata-docker/pull/554

authors: jstirnaman timhallinflux


text:
Telegraf 1.22.2

https://github.com/influxdata/telegraf/blob/master/CHANGELOG.md

closed by #3978


text:
DROP DATABASE syntax error should return 4xx, not 2xx response

Bug report
Issuing DROP DATABASE [foo] returns 200 OK, even though there is a query parsing error (brackets are invalid characters). {{"error":"error parsing query: found [foo], expected identifier at line 1, char 14"}}
We expected 400 Bad Request, due to the type of error.

Similar to https://github.com/influxdata/influxdb/issues/6862. Do we have/need a policy on status codes as it relates to syntax errors?

Can you give the full command for replicating this? When I tried this on master, I got this:
jsternberg:[~/g/s/g/i/influxdb] $ (master $=) influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version unknown
InfluxDB shell version: unknown
> create database [foo]
ERR: error parsing query: found [, expected identifier at line 1, char 17
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".
> drop database [foo]
ERR: error parsing query: found [, expected identifier at line 1, char 15
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".

Here's the log:
[httpd] ::1 - - [08/Aug/2016:23:25:01 -0500] "POST /query?chunked=true&db=&epoch=ns&q=create+database+%5Bfoo%5D HTTP/1.1" 400 100 "-" "InfluxDBShell/unknown" 3d4b62d8-5de9-11e6-8003-000000000000 413
[shard] 2016/08/08 23:25:10 /Users/jsternberg/.influxdb/data/_internal/monitor/1 database index loaded in 8.802µs
[httpd] ::1 - - [08/Aug/2016:23:25:18 -0500] "POST /query?chunked=true&db=&epoch=ns&q=drop+database+%5Bfoo%5D HTTP/1.1" 400 100 "-" "InfluxDBShell/unknown" 46f668d5-5de9-11e6-8004-000000000000 1192

I'm not entirely sure why it's reading [foo] since mine seems to have an error immediately when it gets to [.

@exowaucka can you clarify?

@beckettsean It looks like this must've been addressed somehow, I can't reproduce it anymore

Thanks, @bitwalker!

authors: beckettsean bitwalker jsternberg mark-rushakoff

repo: influxdata/influxdb


text:
Can't delete handler with same name as topic

If a topic handler is created that has the same name as the topic, there is no way to delete that topic handler. When I try to delete the handler the whole topic gets deleted. When the topic is created again the handler is still there.
Based on this code it seems that is intentional?
https://github.com/influxdata/kapacitor/blob/96a4b75deae3e8054a94e9c1ab0cff2bbbe12bc9/services/alert/api.go#L213-L217
If so what is the recommend way to delete a handler that was created with the same name as the topic.

@nathanielc any ideas here. The best I was able to come up with (without code change) was delete the kapacitor storage db, and then just re-create all my definitions. If this intentional logic, perhaps some logic should be added that prevents creating a handler that has the same name as the topic

Wow, I just ran into this issue myself. Deleting the storage DB seems pretty dangerous and I'm not sure that cloud-hosted (enterprise) Kapacitor instances support it. Let's get some traction on this.

repo: influxdata/kapacitor


text:
[0.9.5-nightly-b079d20] derivative does not work when data is missing

Building a dash to track my influxdb internal metrics and noticed this.
SELECT derivative(sum(points_rx)) / 10 FROM "_internal"."monitor".udp WHERE time > now() - 6h GROUP BY time(10s);

if I do not have 6 hours worth of data, it just shows as
name: udp
---------
time
1443458060000000000	0

however moving it to last minute, it works fine
name: udp
---------
time
1443479630000000000	412.80000000004657
1443479640000000000	329
1443479650000000000	392.5
1443479660000000000	428.89999999990687
1443479670000000000	337.20000000006985

You need to add fill(0) if you have not data.

@jwilder good call, may be a good talking point for #4247
that being said, it seems like a workaround? i could understand seeing no entries for the earlier points, but to not show data for the time that is available, seems unintended?

Fixed by #4292

authors: jwilder parisholley

repo: influxdb/influxdb


text:
pass, drop, tagpass, and tagdrop should all support glob matching

Currently they only support "startswith" matching, which isn't super easy to use.
We can probably just put this function: https://github.com/ryanuber/go-glob/blob/master/glob.go#L11 into the internal telegraf package (including the license)

closed by https://github.com/influxdb/telegraf/commit/03e66d5b87584a9862f8d37a5e70c962a22c1429

repo: influxdb/telegraf


text:
Infobip Account Management API

It would be great to include Account management API (https://www.infobip.com/docs/api/platform-connectivity/account-management) as well. Unfortunatelly, I don't know where to get OpenAPI definition from

Hey @karol-gro, thanks for the feedback! We'll pass it on to the team and keep it in mind when planning for the future :)
In the meantime, here's our OpenAPI document:
https://dev.infobip.com/openapi-specifications

Hi @karol-gro, thank you for your patience.
Could you please describe the use case which you are interested in, so we can add the full support in one of our next releases? In our next major release we don't plan to include Account Management part of the API, but it's definitely going to be on our roadmap for the future releases.
As @juliacodez said in the previous comment, here is our OpenAPI document so feel free to use the definition stated there: https://dev.infobip.com/openapi-specifications.
Thank you for using our library!
Best,
Filip

Hi,
We are developing a multi-tenant solution for our customers in which we keep separate infobip account for each customer to track their costs. There are 3 use cases for which we were looking into Account Management API:

We wanted to create automatically an infobip account for each customer. Unfortunately, we didn't manage to properly create an account even with Postman, so we abandon this flow. I don't recall what was as issue, I think we had to verify an e-mail for each account or something like that. I can ask the team to know what exactly was an issue
We don't want to manually generate, set up and store API keys for each account. So we decided to store an API key to main account and automatically generate and retrieve account-level API keys. To achieve it, we implemented our own clients, which we could add to this repository, but I guess you'd prefer to generate it with OpenAPI
We plan to automatically retrieve cost data for each account for financials to invoice customers. We currently use reports from dashboard, which is ok for now, but we wanted to store this data longer, analyze it and give easier access etc., so eventually we'll probably use API to retrieve it and process

Thanks for sharing your use-cases @karol-gro.
Regarding the point number 2, yes it will be easier for use just to generate it from the OpenAPI spec.
Generally, I don't see a reason why we shouldn't include this part of the api in our library. We can announce the approximate release date here when we'll have it.

authors: ib-fsrnec juliacodez karol-gro mateanticevic

repo: infobip/infobip-api-csharp-client


text:
[BUG] Unroller produces stack overflow due to a bug in SANY

Following #67, we tried to run the unstable version against the light client spec as follows:
apalache-mc check --config=MC3-PrecisionInv.cfg MC2nodes3blocks.tla

Blockchain.tla contains a recursive operator PowerOfSet, which we did not have produce annotations for. The tool should have complained about missing annotations. Instead, it throws a stack overflow:
PASS #1: ConfigurationPass                                        I@11:30:37.199
  > Loading TLC configuration from MC2nodes3blocks.tla            I@11:30:37.201
  > Could not parse TLC configuration in MC2nodes3blocks.tla: unexpected character E@11:30:37.238
PASS #2: UnrollPass                                               I@11:30:37.297
  > Unroller                                                      I@11:30:37.299
PASS #3: InlinePass                                               I@11:30:37.325
  > InlinerOfUserOper                                             I@11:30:37.327
(Please report an issue at: [https://github.com/konnov/apalache/issues],java.lang.StackOverflowError)
Unhandled exception                                               E@11:30:37.576
java.lang.StackOverflowError: null
	at scala.collection.immutable.HashMap.get(HashMap.scala:53)
	at at.forsyte.apalache.tla.lir.transformations.standard.InlinerOfUserOper.$anonfun$transform$1(InlinerOfUserOper.scala:34)

The issue is not with Unroller but with INSTANCE-imported recursive operators not being marked recursive (i.e. having .isRecursive = false). See attached minimal example.

test.txt

@Kukovec do you know whether this has been fixed?

This is still an issue. For the moment, we will introduce a workaround. This should have been fixed in SANY, but we have to check that.

Redirecting this to @konnov, since it's not an Unroller issue.

We should reproduce it again and submit to tlaplus, if the bug is still there.

We are going to stop supporting recursive operators and functions. The users should use folds instead. Closing this issue.

Reopening, there's still clean-up notes for this:
https://github.com/informalsystems/apalache/blob/91ad7b4edff727f1e8579ca5b2fac1ac2c41bb15/tla-io/src/main/scala/at/forsyte/apalache/tla/imp/ModuleTranslator.scala#L89-L91
https://github.com/informalsystems/apalache/blob/91ad7b4edff727f1e8579ca5b2fac1ac2c41bb15/tla-io/src/test/scala/at/forsyte/apalache/tla/imp/TestSanyImporterInstances.scala#L351-L353

authors: Kukovec konnov thpani

repo: informalsystems/apalache


text:
IBC Relayer configuration file syntactic validation

Minimal functionality to start a relayer process (with --verify option) that just reads and parses the configuration file.

How about --validate instead of --verify? To me verification implies something stronger than the kind of validation needed here.

authors: ancazamfir romac

repo: informalsystems/ibc-rs


text:
Output errors on a single line if ANSI output is disabled

Closes: #1529
Description
This uses our fork of simple-eyre, called oneline-eyre.

Output with a tty:
2021-10-27T22:00:13.861230Z ERROR ThreadId(27) [ibc-0] failed to collect events:
   0: WebSocket driver failed
   1:
   1:    0: web socket error: failed to read from WebSocket connection
   1:    1: WebSocket protocol error: Connection reset without closing handshake

   1: Location:
   1:    /Users/coromac/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.4/src/tracer_impl/eyre.rs:10

   1:   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1:                                 ⋮ 10 frames hidden ⋮

...

Output without a tty:
2021-10-27T22:01:37.228355Z ERROR ThreadId(27) [ibc-0] failed to collect events: WebSocket driver failed: web socket error: failed to read from WebSocket connection: WebSocket protocol error: Connection reset without closing handshake

For contributor use:

[x] Added a changelog entry, using unclog.
[ ] If applicable: Unit tests written, added test to CI.
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments.
[ ] Re-reviewed Files changed in the Github PR explorer.

This feels a bit overly restrictive that it would be impossible to capture full back trace in log files if it is ever needed. Should we only use the one-line reporter if RUST_BACKTRACE is "" or not set?

authors: romac soareschen


text:
config and set up google analytics for each app

@crisaless probably has this done for the static pages. This issue is to put simple instruments on each app and check whether the current config applies.
@crisaless can you please give @howdyjessie access to the analytics accounts. We can start with the general isrd, if there is one, and facebase.
@howdyjessie This requires a google account. So please send one to @crisaless

[x] Add GTM tag to FaceBase's Chaise apps on production
[x] Configure blacklist of IP addresses/users
[x] Create a view with the following metrics for static pages, all Chaise apps, and each Chaise app

Users
Unique Pageviews
Session duration
Bounce rate
Pages per session
Avg time per page
Referrer

[x] Dynamically insert GTM in static and Chaise sites (FaceBase production)
[ ] Reconcile authenticated users with webauthn cookie names and pipe it into GA
[ ] Collect numbers on the tables that users are looking at. Differentiate between bogus/typo and the real ones, so you can group the bogus ones together..

I've added jessie to the facebase 2 account. There wasn't one created for isrd yet so I made one - it's specific to dev.isrd.isi.edu - and added jessie as well.

I am closing this issue.. and will generate deployment specific issue to mimic what's done on facebase.

authors: crisaless hongsudt

repo: informatics-isi-edu/chaise


text:
Update streamers.csv

Adding CyberChex

Adding CyberChex

Closing


text:
🛑 Aulas virtuales is down

In 04a49d1, Aulas virtuales (https://aulasvirtuales.unimonserrate.edu.co/) was down:

HTTP code: 502
Response time: 284 ms

Resolved: Aulas virtuales is back up in 898a73d after 1 hour.

repo: infraestructuraidt/status


text:
🛑 Sitio WEB Unimonserrate is down

In c885f39, Sitio WEB Unimonserrate (https://www.unimonserrate.edu.co/) was down:

HTTP code: 530
Response time: 1690 ms

Resolved: Sitio WEB Unimonserrate is back up in 1970398.


text:
Fix y2k (Y2K-1306)

Updated with today's date

Well... yeah.


text:
Mypy baseline

Description

Short description here *

closes Add ticket reference here
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[x] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Merged into branches master in 1117634f8dc63a00681290ca2f5522b23916cf73

Processing #8045.

Processing #8045.

Processing #8045.

authors: bartv inmantaci

repo: inmanta/inmanta-core


text:
chore: update scalafmt-core from 3.4.3 to 3.6.1

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

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

Superseded by #171.


text:
how can i add the special character like '+', '-'?

I saw the angular2 demo.
hmm, it has the function to add the special character like +, -, and others.
but it was not shown in the code.
so i'd like to get that function(adding special character).
please suggest your ideas.
Version info

Angular:
Angular CLI:
countup.js-angular2:

Description

could you give me an example? Like do you want it to count prefixed with a plus like +25?

@inorganik
I mean like this 50+

In the demo, it shows how to use all the options, including suffix which is a string appended to the end of number. The options object is passed to the countUp attribute:
<h1 [countUp]="{ suffix: '+' }" endVal="345">0</h1>

@inorganik
okay. it was solved. thanks. 👍


text:
Revise icons

User Stories:

As a user, I expect the icons to consistently maintain the same style. This requires a reevaluation of the icon library in the code base. This ensures a cohesive design and a user-friendly language. It enhances recognizability and forms a unified and harmonious interface.

As a user, I anticipate that the icons will be tailored for both the dark and light modes to provide a seamless user experience in either setting.

You can find the Design on Figma. Go on the left menu on "🎨 Style Guide" and then to the section "Icons":

or download the icons here:
Scrumlr_Icons_09062023.zip

I've started implementing this and created a list of icons that don't have an "updated" version:

company icons (apple, github, google, microsoft, inovex)
some feedback icons: icon-bug, icon-praise (could maybe be replaced with add-emoji)

icon-clipboard (could maybe be replaced with duplicate)

the icons for the timer
they could be replaced with html, since they are only numbers or +/- with circles around them

the icons for adding and removing participants:
 (this is in figma already, but I unfortunately wasn't able to export it)

the logout icon

the menu icon used in the menu bar on mobile

the print icon

the refresh icon

the remove (-) icon

the warning icon

I'll keep the old icons around for now, maybe with some small internal modifications so they can be updated easily later.
One thing I'd like to note, too, is that I found the name open.svg for the globe icon somewhat confusing

I've started implementing this and created a list of icons that don't have an "updated" version:
* company icons (apple, github, google, microsoft, inovex)

* some feedback icons: `icon-bug`, `icon-praise` (could maybe be replaced with `add-emoji`)

* `icon-clipboard` (could maybe be replaced with `duplicate`)

* the icons for the timer
  they could be replaced with html, since they are only numbers or +/- with circles around them

* the icons for adding and removing participants:
   (this is in figma already, but I unfortunately wasn't able to export it)

* the `logout` icon

* the `menu` icon used in the menu bar on mobile

* the `print` icon

* the `refresh` icon

* the `remove` (-) icon

* the `warning` icon

I'll keep the old icons around for now, maybe with some small internal modifications so they can be updated easily later.
One thing I'd like to note, too, is that I found the name open.svg for the globe icon somewhat confusing

I've revised the missing icons. Now all icons should be 32x32 svgs :)

authors: SelinaBuff blxckOxymoron brandstetterm


text:
tracers:  drop ForgeTime and outcome-extractor-based microbenchmarking

On our way to replace the tracing infrastructure, we should also take the opportunity to deprecate the mechanisms that could be moved outside the node.

@deepfire Nice :+1: Just squash the commits and I will approve

@Jimbo4350, done.

bors r+

repo: input-output-hk/cardano-node


text:
Add Nick and Jared to CODEOWNERS

I'm now doing a fair amount of work in node, and we should have an approver in the US timezone(s).

bors merge


text:
fix(extension): conway-era tx activiries line items

Checklist

[x] JIRA - LW-9621
[ ] Proper tests implemented
[x] Screenshots added.

Proposed solution

add cip1694 governance actions handlers into the tx inspector;
refactor all related icons svgs;

Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots

Changes unknown
when pulling 3a5aa3c2d90685874263a49db9e6795d09c6f3f1 on feat/LW-9621-conway-era-tx-activity
into ** on feat/sanchonet**.

authors: coveralls vetalcore

repo: input-output-hk/lace


text:
remove illegal MonadAsync super constraints

You cannot have type families in quantified constraints
https://gitlab.haskell.org/ghc/ghc/issues/17202#note_241130

Alternatively, we could do something like
data Async m t = Async
  { asyncThreadId :: ThreadId m
    -- AsyncRep is the associated type in the MonadAsync class
  , asyncRep :: AsyncRep m t
  }

instance Eq (ThreadId m) => Eq (Async m t)
instance Ord (ThreadId m) => Ord (Async m t)

bors r+

authors: avieth dcoutts

repo: input-output-hk/ouroboros-network


text:
FreeGeoIP Deprecation message

The current implemenation of FreeGeoIP gives the following warning:
"This API endpoint is deprecated and will stop working on July 1st, 2018. For more information please visit: https://github.com/apilayer/freegeoip#readme"

Here is a good replacement: https://geoip.nekudo.com

Now the warning is an error in the console:
"Failed to load resource: the server responded with a status of 403 (Forbidden)"
calling to http://freegeoip.net/json/
Thanks for your help!

@Nemo64 The open geo api you referenced works like a charm and does not require a key. TY!

We're going to remove FreeGeoIP very shortly to address this.
Although your service seems pretty legit @Nemo64, I'm very hesitant to push people to automatically use a third party service that's run by an individual, heck, in this world of GDPR pushing people to use third party companies that are presumably accountable for what they do is probably not a wise choice.
For those who do want to implement this using Nemo64's API, you should be able to do it using the below code, although I'd personally recommend hosting your own copy of the software instead.
cookieconsent.initialise({
    location: {
        serviceDefinitions: {
            geoip: function() {
                return {
                    // This service responds with JSON, but they do not have CORS set, so we must use JSONP and provide a callback
                    // The `{callback}` is automatically rewritten by the tool
                    url: 'https://geoip.nekudo.com/api/?callback={callback}',
                    isScript: true, // this is JSONP, therefore we must set it to run as a script
                    callback: function(done, response) {
                        try {
                            var json = JSON.parse(response);
                            return json.type === "error" ? new Error('Error [' + (json.msg) + ']' : {code: json.country.code};
                        } catch (err) {
                            return new Error("Error: Invalid response [" + err + ")");
                        }
                    }
                };
            },
        },
        services: [
            'geoip'
        ]
    }
});

repo: insites/cookieconsent