Add command line data integrity errors support

Now that "-e" is no longer used for command line Enfame support (#157), we can use that to provide a tabular report for data integrity errors. Specifically, launching a solve like
python diet.py -i input.xlsx -o output.xlsx -e integrity_errors.xlsx

Will dump tabularized data integrity errors into intergrity_errors.xlsx  (and not run solve) if the input.xlsx data set has integrity errors. The following code snippet gives you some idea of the table schema that will be used for integrity_errors.xlsx. As you can see, it puts all the errors of the same tape (duplicates, data types, data row fails andFK fails) into a single table, and thus  intergrity_errors.xlsx will always have four tabs regardless of the number of tables in input_schema. This way of reporting integrity errors has the advantage of being easy to scan, since there are only four tables. Its similart to how integrity errors were actually reported in Enframe and people seemed to like that well enough.
Inspired by @astersantana request.

This is awesome, @pjcpjc! Thank you so much!

Oops forgot the code snippet. As you can see, no matter what the input_schema, the integrity errors are dumped into four tables.
_pks = {t: pks for t, (pks, dfs) in input_schema.schema().items()}
_longest_pk =  max(len(pks) for pks in _pks.values())
_fld_names = [f"PK Field {_ + 1}" for _ in range(_longest_pk)]
solution_schema = PanDatFactory(duplicate_rows=[["Table Name"] + _fld_names, []],
                                data_type_failures=[["Table Name", "Field Name"] + _fld_names, []],
                                data_row_failures=[["Table Name", "Predicate Name"] + _fld_names, []],
                                foreign_key_failures =[["Native Table", "Foreign Table", "Mapping"] + _fld_names, []])

Hey @pjcpjc, how about the summary table? Are you planning to include that as well?

Implemented on develop branch.


Incorrect name offset in KeyParameters for V1

Please provide a sample buffer and the expected results and a test can be added to guarantee the issue/feature is added/resolved.

@liormorad It seems like the correct offset should be 20 for `V1.

That fix works for me as well.

@liorwurl I just merged the changes into the develop branch.


Use persister directly in Builder class

Currently the persister_class is passed in to the builder and then a
lambda is used to access the persister instance in a number of places.
This doesn't make much sense when we can simply pass in the persister to
the Builder and add it as an instance variable.

@miq-bot cross-repo-tests /provider

@miq-bot cross-repo-tests /provider

@miq-bot cross-repo-tests /provider

I really like the direction we were headed before, having more static definitions for the inventory collectors.
But it is not there and is a long way away from getting there and we have much much bigger fish to fry.
This change will be nice to reduce the complexity
:shipit:

@miq-bot cross-repo-tests /providers

Cross repo tests are passing except for autosde which should be fixed by https://github.com/ManageIQ/manageiq/pull/21986

Cross-repo is green


Add Asciidoc sample

I discover recently Asciidoc and how much it's awesome!
I want to make a PR with a sample of how we can generate doc with Asciidoc:

Add new question if user want a doc sample
Add sample doc with Lorem Ipsum text, with basic code sample, warning, note, title, subtitle etc.

Here what I do https://recette-validation.alantaya.com/ws-doc/html/index.html
What do you think?

Pull requests are welcome of course. I left it out first but of course adding  an example chapter before the endpoint documentation is very helpful.

Cool :+1:


sl4-r6 with python not functioning on Nexus 7 (jellybean)

From @GoogleCodeExporter on May 31, 2015 11:31
What device(s) are you experiencing the problem on?
Nexus 7 tablet

What steps will reproduce the problem?
1.run saytime python script
2.

What is the expected output? What do you see instead?

Script exits immediately with no terminal output or voice.
What version of the product are you using? On what operating system?
4.1.1 Jellybean

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 22 Jul 2012 at 4:02
Copied from original issue: damonkohler/android-scripting#648

From @GoogleCodeExporter on May 31, 2015 11:31
I encounter the same problem since the update my device

Original comment by<EMAIL_ADDRESS>on 8 Oct 2012 at 4:25


Merge Sort

https://www.khanacademy.org/computing/computer-science/algorithms/merge-sort/a/overview-of-merge-sort

wasn't this issue closed in #64 ?

Yes it was.


module_07_locations: new prague office location update

As we are moving into new office on Moday, we need to update current location.
Link to gmaps might be changed in the future, as we need to also change current company google place location... Thanks, Jakub

LGTM, thank you.


embryonic fibroblast

Note - please check that the term does not already exist (check OLS: https://www.ebi.ac.uk/ols/ontologies/cl)
**Preferred term label:**embryonic fibroblast
Synonyms
Definition (free text, please give PubMed ID in format PMID:XXXXXX)
Has a BTO X'ref - BTO:0004725
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols/ontologies/cl):
What is the anatomical structure that the cell is a part of? Please check Uberon: https://www.ebi.ac.uk/ols/ontologies/uberon
Your nano-attribution (ORCID):0000-0003-2534-198X
Any additional notes or concerns

@kalpanaps term already exists: embryonic fibroblast http://purl.obolibrary.org/obo/CL_2000042


Moving tutorial and documentation notebooks to the new documentation

Now that we have a new shiny documentation, it might be an idea to move some (all?) of the tutorial and documentation notebooks to the new readthedocs page. This is mostly a matter of exporting as markdown, but links don't often work so need to be double-checked, and heading levels are sometimes messed up.
Furthermore, we need to decide if we still also want to CI (some) of the notebooks. I think there are tools for that, but needs to be explored how well they work. Note that the documentation-notebooks are not CI-ed at the moment anyways.
Currently, this is just a proposal. Look forward to hearing what people think!

Missed this (my notifications weren't set for PRs before 😁). Just wondering about the motivation for this, since the tutorial notebooks/documentation is linked on the main OceanParcels website.

Is it to consolidate (having all the documentation in one place)?
Is it to make them easier to browse in a website-like format as opposed to nbviewer?
Is it to reduce the reliance on the OceanParcels website in general?

Also, what impact does this have on Google analytics?
If we compile the notebooks to md for the docs site, it should be done in CI during building the docs (I'm pretty sure there Sphinx tooling for this). I'm opposed to commiting md files for notebooks as that introduces duplication making updating notebooks a headache.
Also regarding link checking (i.e. checking 404s and other errors), that can be automated using a Sphinx extension I recently learned about. Happy to open a PR for that.
Let me know if you want me to help out with this

Thanks for the feedback, @VeckoTheGecko; you were right that I didn't clearly explain my motivation for this move. Of your three options, the first and second are indeed correct; I'm not sure about reducing reliance on the oceanparcels.org domain (which I do like to keep as the landing place for info on Parcels)
My main motivation was to bring the Parcels documentation more in line with documentation style of other packages such as array; where it seems that tutorials are often also on rtd? The styling is then nicer and more flexible.
An added advantage is that removing notebooks would also change the 'Languages' summary in the right-hand column of GitHub; which now suggests that Parcels is 93.5% Jupyter Notebook. Although that may not be a really big issue
I can also see some drawbacks. Exposure for oceanparcels.org on Google might take a hit if more content is on RTD?
My original idea was to remove the ipynb files and replace them all with md files; so we wouldn't have duplicates. I didn't know of the Sphinx-notebook extension; that might be a good solution?! And link checking would also be very nice to implement yes.
SO yes, a little help is appreciated. I started this PR purely to see what a RTD-tutorial would look like; haven't completely made up my mind if we want to go this way. If you're happy to help with trying the ipynb-in-rtd workflow, that would be interesting to test?

I can also see some drawbacks. Exposure for oceanparcels.org on Google might take a hit if more content is on RTD?

I'm not sure how SEO works, or what keywords people use to get to parcels (I imagine anyone Googling "oceanparcels" will still be led to the right place 😄 ). My comment was more about the Google Analytics linktracking that exists on the oceanparcels website currently (allowing you to see usage stats on a per-notebook basis from the clicking of the cards). Migrating to RTD would mean that traffic will be split between the tracked ones on the oceanparcels website (if they're still going to exist there) and the ones in RTD. Although RTD does have its own traffic analysis solution if that is something the OP team is interested in collecting.

My original idea was to remove the ipynb files and replace them all with md files; so we wouldn't have duplicates

I see. I think the best would be to leave the ipynb notebooks and have better integration for them into the RTD site. Having the ipynb notebooks is really handy because it has that level of interactivity that you can't get from md files. Including the ipynb files in the RTD site (using automated tooling to convert the ipynb file to a webpage) will have the output cells shown properly (even with interactive elements in the case of xarray/pandas widgets). The pandas link I sent above is a good illustration of what it could look like.
Regarding the language summary, GitHub uses Linguist to determine that, and it can be manually overriden to ignore certain files and directories. I think its a simple matter of creating a .gitattributes file with:
parcels/examples/* linguist-documentation

which will mark these files as docs, and hence ignore them in the summary.
Happy to work on both these in a PR, and then you can see if its preferable.

link checking would also be very nice to implement

Can do.

Oh wow, you can do so much more than I expected! Yes, RTD on a custom domain sounds like a great option. And so does the linguist-documentation solution. The traffic analysis is not a deal-breaker I guess; we\re not using it that much anymore. But maybe we could even move it to RTD too?
This is all very exciting!


Bump golang-1-linux to version v0.132.0

This is an automatically generated Pull Request from the Cryogenics CI Bot.
I have detected a new version of golang-release and automatically bumped
this package to benefit from the latest changes.
If this does not look right, please reach out to the #mapbu-cryogenics team.

Superseeded by #130


sencha version in get_software_versions and increase version for sencha

nf-core/predictorthologs pull request
Many thanks for contributing to nf-core/predictorthologs!
Please fill in the appropriate checklist below (delete whatever is not relevant).
These are the most common things requested on pull requests (PRs).
PR checklist

[ ] This comment contains a description of changes (with reason)
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If necessary, also make a PR on the nf-core/predictorthologs branch on the nf-core/test-datasets repo
[ ] Ensure the test suite passes (nextflow run . -profile test,docker).
[ ] Make sure your code lints (nf-core lint .).
[ ] Documentation in docs is updated
[ ] CHANGELOG.md is updated
[ ] README.md is updated

Learn more about contributing: CONTRIBUTING.md

Please don't merge yet!


Error in the separator argument usage

https://github.com/lekoala/spread-compat/blob/3b28d3686f19dd74762f55f849d608bc703b150f/src/Csv/Native.php#L36
the $this->eol variable is not the delimiter/separator variable.

added a comment here
https://github.com/lekoala/spread-compat/commit/46f2ee895db91a6f41bbb1a0374a7d113ae5c525

I might be wrong or late in the comment (both are not interely exclusive 😛 because I did not tested the assertion but your usage of eol as a separator might introduced some subtle bugs if your CSV document contains cell with multilined content 🤔

here's a example
<?php

$document = <<<CSV
Data 2-1,Data 2-2,"Data 2-3
is on multiple lines
you see"
CSV;

$data = str_getcsv($document, "\n"); //parse the rows
var_dump([...array_map(fn (string $row) => str_getcsv($row, ","), $data)]);
// returns
//  [
//  0 => array:3 [
//    0 => "Data 2-1"
//    1 => "Data 2-2"
//    2 => "Data 2-3"
//  ]
//  1 => array:1 [
//    0 => "is on multiple lines"
//  ]
//  2 => array:1 [
//    0 => "you see""
//  ]
//]

var_dump([...str_getcsv($document)]);
//returns
// array:3 [
//  0 => "Data 2-1"
//  1 => "Data 2-2"
//  2 => """
//    Data 2-3\n
//    is on multiple lines\n
//    you see
//    """
//]

oh that's great
it actually makes the code even simpler :-)
https://github.com/lekoala/spread-compat/commit/990a7c374a77f607467a90919864ea982bcc5c64


Add a unit test for handling a relation file larger than 1 GB

First commit changes the meaning of PageServerConf::workdir; see commit message. The second one adds the test.
@kelvich, please take a look at the first commit in particular. Thoughts?

@kelvich, please take a look at the first commit in particular. Thoughts?
+1, it is clearer this way.

I was originally planning to fill workdir with absolute path by calling fs::canonicalize(), but canonicalize can not be called on non-existing path, so init would need special care. Setting current directory in tests also felt like a dirty hack to me, but I didn't think about any possible parallelism-related implications.


Support of /spi/ and /api/

please add support for both prefixes:
/_ah/spi/... and /_ah/api/...
For spi, I am having issue with /_ah/spi/BackendService.getApiConfigs with v2 version.

/_ah/spi/ is not supported and will not be supported. You should use /_ah/api/ or specify an alternate path as shown in the docs.


Add client exceptions

Add a ApiClientError exception that is the base class for all client exceptions. This exception is raised when there is an error in the client. We also wrap all gRPC response errors in a GrpcError exception that is a subclass of ApiClientError, and add one subclass for each possible gRPC status code.
This makes error handling more pythonic, as one can now just catch the exception type one is interested in, without having to do a second-level matching using the status.
It also helps avoiding to expose the grpclib classes to the user.

This is a port of:

https://github.com/frequenz-floss/frequenz-client-microgrid-python/pull/53

With the following changes:

Renamed ClientError to ApiClientError to make it less ambiguous in contexts where there might be other types of clients (like a customer).
Made it compatible with grpcio too, at the expense of type checks being deferred to runtime. This should be temporary though, until we can battle-test betterproto and decide if we do the switch or stay with grpcio. I tried a type-safe approach using generics but it was too intrusive, as we would have to explicitly mention the underlying grpc error type when using every exception, like OperationTimedOut[GrpclibError].
Added 2 properties to GrpcError: grpclib_error and gprcio_error to make it easier to access the underlying error for a particular library


[Protected var] Report 1003 and Report 1002 variable "PostMethod"

Please make global variable "PostMethod" as protected var.

Can you please explain why do you need this change? Do you need to get this value in your extension?

Yeas we need work with this value. We need resend this value to our subscribers.

Can we just provide procedure to get this value? Making this as protected is quite difficult for us right now, as this field is still an option and it will prevent conversion to enum going forward.

Hello yes it helps.

Hello @AlexanderYakunin how it looks this issue?

We have global procedure to get this variable value
procedure GetParameters(var NewPostMethod: Option; var NewDocNo: Code[20]; var NewPost: Boolean)
begin
    NewPostMethod := PostMethod;
    NewDocNo := DocNo;
    NewPost := Post;
end;


Fix opera

Opera uses same implementation as Chromium. No reason to exclude it from working.
Same additional release steps needed as #1:

Push new version to NPM
Update version of custom-protocol-detection-blockstack on dependents to 1.1.5

blockstack/blockstack-js
blockstack/blockstack.ts

@larrysalibra Could you please merge this?


Fix git push error for protected CLA branch

The pull request is created from master636988093709881269 to master to fix git push error for protected CLA branch

@opbld15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add document for header

Closes #326

it's now available at - https://github.com/projectdiscovery/katana/tree/dev#authenticated-crawling


Configurable paths

In my case, I have redirect rules in production that don't match up with the paths that are used in development via webpack. Since this plugin assumes and uses paths provided by the webpack configuration, I needed a way to change what the plugin outputs.
This adds a couple options:

outputPath, so you can choose where to output the favicon files relative to webpack's output directory config value
publicPath, so you can override the webpack compilation's publicPath and have different directory paths within the actual html, json that is spit out

Pull Request Test Coverage Report for Build 726

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 93.939%

Totals

Change from base Build 717:
0.3%

Covered Lines:
103

Relevant Lines:
104

💛  - Coveralls

@brunocodutra ready when you are!

Thanks again @okcoker

@brunocodutra any plan on getting this released?

Right now.


feat(autoinstrumentation) inline language/library extraction and styl…

What does this PR do?
This PR simplifies library/langauge detection for autoinstrumentation

inlining a function into extractLibInfo
using nil slices and early returns in places instead of declared variables

Motivation
This is a follow up to #26854 and a part of #26632.
Describe how to test/QA your changes
Tests were added in #26854 and all of this code is fairly well covered by them.

Is this code a simplification? I don't see additional tests.

Tests were added in https://github.com/DataDog/datadog-agent/pull/26854

/merge


Remove port portion of IP address (fix issue #49)

When the getClientIp function attempts to retrieve the IP address (either via
req.connection.remoteAddress or via a specified HTTP header), the potentially
existing port portion remains. This has been fixed by splitting the IP address on
the colon if it exists. See lines 85 and following.
Some tests have been added.
Nothing has been done for IPv6 addresses.
It might be interesting to have a new option, ignorePort that by default would be
true for retro-compatibility in case someone wants to include/exclude based on
the port number as well.

@jfix this looks good. The version numbers will all need to be revved in order to merge it into master, so either I can do that and close this PR, or you can do it. They are in the package.json, the top of the readme and the changelog of the readme.

@ryanbillingsley I'll take care of the version number bump, no problem.

@jfix thanks for the contribution 👍


Microphone/Outgoing audio not working during voice and video calls (Android 10, 6)

Firstly, Riot developers, thank you for your continued hard work in this project.
While exploring the voice/video calling features of Riot and Matrix, I have encountered a possible bug in the current Riot client for Android.
Environment
Server (self-hosted)
matrix-synapse 1.12.3 on Debian 9.12
coturn <IP_ADDRESS>-1.1 on Debian 10.3
Client 1 (Mine)
Motorola Moto Z3 Play
Android 10 (LineageOS 17.0)
Riot.im 0.9.10 (G-6f8ee3c4f) via Google Play
Client 2 (Mine)
Motorola Moto X (2013; 1st generation)
Android 6.0.1 (LineageOS 13.0)
Riot.im 0.9.10 (G-6f8ee3c4f) via Google Play
Clients 3 and 4
Motorola Moto X (2014; 2nd generation)
Android 5.1 (Stock ROM)
Riot.im 0.9.10 (G-6f8ee3c4f) via Google Play
Expected behavior
When placing a voice or video call between users in Riot, both parties will be able to hear each other after the call connects.
Actual behavior
When a user places a voice or video call using Client 1 or Client 2, the call appears to connect successfully (call timer begins and video streams are shown if applicable), but the recipient of the call (Client 3 or Client 4) is unable to hear them; there is only one-way audio. Two-way video functionality works as expected.
Steps to reproduce

User of Client 1 places a call with user of Client 3
Other user picks up call and attempts conversation
User of Client 3 reports that they cannot hear user of Client 1

Or

User of Client 3 places call with user of Client 1
Other user picks up call and attempt conversation
User of Client 3 reports that they cannot hear user of Client 1

In these instances, Clients 1 and 2 are interchangeable, as are Clients 3 and 4.
Details
Calls between Client 1 and Client 2 result in no audio whatsoever. In this case, some faint crackling/static can be heard on Client 1.
The above is consistently reproducible, and occurs when both clients are on the same LAN (via WiFi), and across the internet (with Client 1 switched over to 4G/LTE).
Riot.im has been fully uninstalled and reinstalled on Clients 1 and 2 to no effect. Enabling speaker phone mode or using a Bluetooth headset makes no difference. Both server VMs have been fully updated and rebooted during the course of testing as well. I have gone as far as editing build.prop in Client 1 to play with Fluence noice cancelling settings, which may or may not even be applicable to these model phones.
Calls between Client 3 and Client 4 work as expected; according to the owners of these devices, two-way audio and video works without any issues.
Other comments
My most interesting observation is that voice calls between Clients 1 and 2 have worked perfectly exactly twice, on different days. Once with both devices on the same LAN, and once with Client 1 on 4G. I have been unable to reproduce the conditions that made this possible.
To summarize, these are the audio paths that I've confirmed work:
Android 5.1   <=> Android 5.1
Android 10    <=  Android 5.1
Android 6.0.1 <=  Android 5.1

This is most likely a LineageOS-specific issue, as I recently discovered that the microphone doesn't work as expected in other apps as well. Mixer and audio-path-related problems are very common in LineageOS, so this is most likely the root cause.


can we get a process in place for tagging public DBP repos?

Copied/changed from https://github.com/Alfresco/alfresco-keycloak-deployment/issues/14 by @ryandawsonuk:
Currently github.com/Activiti/activiti-cloud-gateway points here and so Activiti is releasing monthly through https://hub.docker.com/r/activiti/activiti-cloud-gateway/
Activiti can stop doing this but there should be alternative tags available to point to so that Activiti can say which version of a DBP component each Activiti release works against (much like in https://github.com/Activiti/activiti-cloud-examples/blob/7-201712-EA/docker/infrastructure-docker.yml#L9)
This presently applies to keycloak-deployment and gateway

This should be included as part of DEPLOY-272 (private link) which concerns the release process of these types of artifacts.
@ryandawsonuk, in your opinion, would creating a 0.1 version work in this case?

This repository is now archived and no longer supported. Closing old issues.


bump nixpkgs and add --developer flag to cln test config

Bumps daemons to the following:
cln v23.11
lnd v0.17.0-beta
bitcoin v25.1
elements v23.2.1
Also adds --developer flag to the testframework CLN config since --enable-developer is removed in the latest CLN.

clightning-1: 2023-12-19T23:33:27.951Z DEBUG   plugin-manager: started(56618) /home/runner/work/peerswap/peerswap/out/test-builds/peerswap
clightning-1: 2023-12-19T23:33:28.071Z INFO    plugin-peerswap: PeerSwap starting up with commit 87e75a203649be5dc543af4d6ff9897075060fc8
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: DB version: v0.2, Protocol version: 3
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: Dev-mode enabled.
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: Using data dir: /run/user/1001/Test_LndCln_Bitcoin_SwapInclaim_coop2336898124/001/clightning-EqKGu/regtest
clightning-1: 2023-12-19T23:33:28.074Z INFO    plugin-peerswap: Could not read from bitcoin cookie: /home/runner/.bitcoin/regtest/.cookie
2023-12-19T23:33:28.074Z INFO    plugin-peerswap: Could not read from elements cookie: /home/runner/.elements/liquidregtest/.cookie
clightning-1: 2023-12-19T23:33:28.077Z INFO    plugin-peerswap: WARNING: allow-deprecated-apis=false detected in CLN config. Exiting. More info: https://github.com/ElementsProject/peerswap/issues/232
clightning-1: 2023-12-19T23:33:29.077Z INFO    plugin-peerswap: Killing plugin: exited during normal operation

CLN plugin appears to exit early because --developer turns off deprecated APIs.

clightning-1: 2023-12-19T23:33:27.951Z DEBUG   plugin-manager: started(56618) /home/runner/work/peerswap/peerswap/out/test-builds/peerswap
clightning-1: 2023-12-19T23:33:28.071Z INFO    plugin-peerswap: PeerSwap starting up with commit 87e75a203649be5dc543af4d6ff9897075060fc8
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: DB version: v0.2, Protocol version: 3
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: Dev-mode enabled.
2023-12-19T23:33:28.071Z INFO    plugin-peerswap: Using data dir: /run/user/1001/Test_LndCln_Bitcoin_SwapInclaim_coop2336898124/001/clightning-EqKGu/regtest
clightning-1: 2023-12-19T23:33:28.074Z INFO    plugin-peerswap: Could not read from bitcoin cookie: /home/runner/.bitcoin/regtest/.cookie
2023-12-19T23:33:28.074Z INFO    plugin-peerswap: Could not read from elements cookie: /home/runner/.elements/liquidregtest/.cookie
clightning-1: 2023-12-19T23:33:28.077Z INFO    plugin-peerswap: WARNING: allow-deprecated-apis=false detected in CLN config. Exiting. More info: https://github.com/ElementsProject/peerswap/issues/232
clightning-1: 2023-12-19T23:33:29.077Z INFO    plugin-peerswap: Killing plugin: exited during normal operation

CLN plugin appears to exit early because --developer turns off deprecated APIs.

Ok this is failing because CLN defaults to enabling large channels now and ignores the wumbo/large-channels config options.
=== CONT  Test_Wumbo/out_lc_max+
    wumbo_test.go:205:
        	Error Trace:	/home/runner/work/peerswap/peerswap/test/wumbo_test.go:205
        	Error:      	Received unexpected error:
        	            	-1:swap amount is<PHONE_NUMBER>: need to enable option '--large-channels' to swap amounts larger than 2^32 msat
        	Test:       	Test_Wumbo/out_lc_max+


Render public record methods

Render struct methods / functions / constructors / typefunction in public Api. Probably depends on #622
If records are rendered as a class, verify if constructors should be regular constructors and all the classes be sealed as there is no inheritance for records. Alternatively make constructors static functions.

[x] Verify WebKit2.UserScript.New it has a manually written constructor.

Constructors get rendered as static methods as there are record types which are not sealed currently (foreign records).
WebKit2.UserScript.New is rendered.


Some Suggestions to Add

Options for Multiple & Custom Unique Config Names
Toggle-able Spectator List
Toggle-able Buy Log(What guns do players on the enemy team buy at the beginning of a round)
Custom Hitsounds & Hitmarkers
Ragebot & Antiaim?

most of these are done so maybe you can close this?


Migration error

I am trying to install it in my project and its giving me this error on migration:
"djangocms_blog.0032_auto_20180109_0023"
django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 3072 bytes')
Can you guys suggest a solution
I tried to remove the alter migrations and force the SlugField to be 255
Then it all went through but now I am getting this error while editing the article:
AttributeError: 'int' object has no attribute 'encode'

I have run into the same issue. With utf8mb4 encoding (the default in recent MySQL versions) the maximum key effectively limits the size of varchar fields to 767 characters. But, because slugs appear in composite indices with language codes (that add further 15 characters to the index), the actual size limit of slug alone is 752.
There is an earlier PR (https://github.com/nephila/djangocms-blog/pull/419) to address this, reducing the slug length to 767, but that doesn't cut it for newer versions. I use my own fork of djangocms-blog for own project using utf8mb4, and there simply substituting 752 for max lengths in both models and migrations was enough to solve the issue.
I submitted a pull request (https://github.com/nephila/djangocms-blog/pull/540). Feel free to merge or modify it. It may be overkill because I shorten other fields too for consistency.

Fixed in #540
Will be released in version 1.1 due soon


[Enhancement] Support for Fossils and Archeology

Seeing as Fossils and Archeology is updating to 1.12, I figured it could add some things to Totemic. You could have Buffalo and Eagle DNA, as well as totems for some of the Ice Age mobs (the Sabertooth, Mammoth, Irish Elk, etc.).

Probably not going to happen, but no one has done an addon for this mod.
Maybe the woods could be supported for poles.

I guess it is on you if you want to add something since you know the mod better than me.
Custom wood support isn't a thing yet (#62), but probably will be in the 1.13 version.

Will probably not happen for the 1.12 version of Totemic.


Cannot find module 'node:http'

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What did you do?
try to execute a basic handler handler.js
import { pathToFileURL } from "url";

export { handle };

function handle(event, context, cb) {
    if (event.httpMethod !== "POST") {
        return {
            statusCode: 405,
            body: "Method Not Allowed",
            headers: {
                "Content-Type": "text/plain",
            },
        };
    }
   return {
        body: process.version,
        statusCode: 200,
    };
};

// This will execute when testing locally, but not when the function is launched
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
    import("@scaleway/serverless-functions").then(scw_fnc_node => {
        scw_fnc_node.serveHandler(handle, 8080);
    });
}

with this package.json
{
    "name": "fct-game-record",
    "version": "1.0.0",
    "main": "handler.js",
    "type": "module",
    "keywords": [],
    "author": "sebastien michea",
    "license": "ISC",
    "devDependencies": {
        "serverless-scaleway-functions": "^0.4.6"
    }
}

What did you expect to see?
server starting and exposing my handler endpoint
What did you see instead?
(base) ubuntu@LAPTOP-CVF:~/development/skilz/fct-game$ node handler.js
(node:66172) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node:http'
Require stack:
- /home/ubuntu/node_modules/fastify/fastify.js
-<EMAIL_ADDRESS>    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/home/ubuntu/node_modules/fastify/fastify.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
(node:66172) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:66172) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What version of Node are you using (node --version)?
$ node --version

v12.22.9
Does this issue reproduce with the latest release?
yes

Hello,
The version of Node you are currently using (Node 12) is not supported by SCALEWAY Serverless functions, and there are no plans to support it. Currently, the supported Node versions are Node 14, Node 16, Node 18, and Node 20 (in beta).
Could you please try upgrading to one of these supported versions and see if the issue persists?

Closing because of inactivity. @smichea feel free to reopen if @Bemilie's suggestion doesn't help.


Library Fine

Problem Link :-   https://www.hackerrank.com/challenges/library-fine/problem
I want to do it in c++.

I can do it in python

i can do it in java

i see that the java solution is not yet done... i want to do it

@krishmurarka Are you on it?

@krishmurarka Are you on it?

YES

can I try this?

@krishmurarka It has been 6 days, complete it by tonight.

Can i take over @adityabisoi ?


Update Highlight to support Obsidian and Logseq

Support the following apps

Logseq
Obsidian

Note that Obsidian does not offer default Hotkeys for Toggle highlight. User should set that to ⌃⌘H

Merged, thanks!


Not loading and no error on Android

Hi, I have installed react-native-sound, placed an mp3 into the specified folder but the initialisation does not complete.  Code snippet below, "Did mount" shows in the console but nothing else:
var Sound = require('react-native-sound');

componentDidMount() {
  console.log("Did mount");
  var whoosh = new Sound('sound1.mp3', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log('failed to load the sound', error);
    return;
  }
  console.log('success ');
});

Version info below:
react-native-cli: 1.0.0
react-native: 0.43.3
Thanks for any pointers.

Where did you put the mp3 file? In the same directory as the code above?

Thanks for the reply.  The mp3 is in  android/app/src/main/res/raw.
My version of RN was a bit out of date so decided to update it.  After the update and creating a test app it worked without issue.
Now to rebuild my app and see if it still works! :)

Ok, let us know if there are any problems you run into. For now this can be closed I think?

App rebuild, and re-coded due to deprecated and changed modules!!
Sounds are playing fine so please close the ticket.
Thanks for your help. :)


Focus can go under Modal Popup layer

Hi!
Modal Popup avoid to focus a control out of the topmost display dialog.
I think the problem is here:
if (!sap.ui.Device.support.touch || jQuery(oEvent.target).is(":input"))
{
	// set the focus back to the last focused element inside the popup or at least to the popup root
	var oDomRefToFocus = this.oLastBlurredElement ? this.oLastBlurredElement : oDomRef;
	jQuery.sap.focus(oDomRefToFocus);
}

It blocks the focus going to an input element, but if it's another type (like the HTMLLIElement of the first StandardListItem of the m.List - wich have tabindex == 0) you can use Tab key go focus it...

Hi David,
did you just analyze the code or do you have an actual instance of an issue caused by this code?
I'm asking because this "input" check only happens on touch devices. On non-touch devices the focus is always restored.
And on touch devices there typically is no Tab key, there is only the "Next"/"Previous" button on the touch keyboard and they are supposed to only go to input fields. That's why this check was written as is.
However, I could think of several potential gaps in this logic:

Bluetooth keyboards for touch devices
Touch-plus-Keyboard devices
"Next" might also jump to "contenteditable" divs

So my question above: did you experience an actual bug? Was it related to one of these three situations, or to something else?
Thanks
Andreas

Ouch...
I just close my navigator and restart it to make another test and...no problem !!!
I have made more investigation and I think switching with chrome dev from 'mobile' to 'desktop' leave the touch indicator (and the sap.ui.Device.support.touch to true).
I'm sorry for this bad reporting error and thx u for your fast as light response :+1:
PS: OpenUI5 rocks !
PS2 (or USB?): sorry for my bad English

Ok, thanks for the update! :-)
Yeah, after changing Chrome simulation you have to reload.


Issue in top level variable definition

Description:
int A = 10;
A a = 2;

The above code snippet works without giving an error. If the same code snippet is in a function, this will give an error.

Following also gets compiled without an error. Appears to be the same issue.
string a = "abc";

function testTransactionStmtWithNoHandlers() returns a {
    return "";
}

The issue here is with how the symbol for a user defined type is resolved. As it can be seen in https://github.com/ballerina-platform/ballerina-lang/blob/c0bc5d81cd4f01bd52e8d5243bb8bd4e233f7916/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/semantics/analyzer/SymbolResolver.java#L1138,
the symbol is looked up as a variable name. Since there's already a variable defined by the name A, it's resolved to that variable.


Round buttons in alert

Describe the bug
Hello! Thank you for great library!
When I'm using alert with rounded corners, bottom corner of buttons not rounded.
To Reproduce
Here is a code:
// attributes
var attributes = EKAttributes.centerFloat
attributes.displayDuration = .infinity
attributes.windowLevel = .alerts
attributes.entryBackground = .visualEffect(style: .dark)
attributes.screenInteraction = .dismiss
attributes.hapticFeedbackType = .warning
attributes.position = .center
attributes.roundCorners = .all(radius: 12)
attributes.border = .value(color: .darkGray, width: 2)
attributes.screenBackground = .color(color: .black.withAlphaComponent(0.45))
attributes.positionConstraints.maxSize = EKAttributes.PositionConstraints.Size(width: EKAttributes.PositionConstraints.Edge.offset(value: 65), height: EKAttributes.PositionConstraints.Edge.intrinsic)
attributes.shadow = .active(with: EKAttributes.Shadow.Value(color: .black, opacity: 0.7, radius: 15, offset: .zero))
// content
let messageImage = EKProperty.ImageContent(imageName: "alert")
let titleLabelStyle = EKProperty.LabelStyle(font: UIFont.bold(20), color: .white, alignment: NSTextAlignment.center, numberOfLines: 0)
let titleLabelContent = EKProperty.LabelContent(text: title, style: titleLabelStyle)
let descriptionLabelStyle = EKProperty.LabelStyle(font: UIFont.systemFont(ofSize: 15), color: .white, alignment: NSTextAlignment.center, numberOfLines: 0)
let descriptionLabelContent = EKProperty.LabelContent(text: message, style: descriptionLabelStyle)
let simpleMessage = EKSimpleMessage(image: messageImage, title: titleLabelContent, description: descriptionLabelContent)
// buttons
let firstButton = configureButton(fontSize: 20, titleColor: .red, title: firstTitle, backgroundColor: .white, highlightedColor: .white, action: firstAction)
let secondButton = configureButton(fontSize: 20, titleColor: .blue, title: secondTitle, backgroundColor: .white, highlightedColor: .white, action: secondAction)
let buttonsBar = EKProperty.ButtonBarContent(with: firstButton, secondButton, separatorColor: .lightGray, expandAnimatedly: true)
// presenting
let alertMessage = EKAlertMessage(simpleMessage: message, imagePosition: .top, buttonBarContent: buttons)
let view = EKAlertMessageView(with: alertMessage)
SwiftEntryKit.display(entry: view, using: attributes)

As I understand, layer mask not applied to buttons layers:

Hi @sergeygarazha! Thank for opening the issue. Can you elaborate a bit more? Xcode version? SwiftEntryKit version? Devices (iOS, Simulator)?

Sure!

Xcode 10.0 (10A255)
SwiftEntryKit (0.7.2):
QuickLayout (= 2.0.2)
iPhoneX (iOS 12.0), iPhone 8 simulator (iOS 11.4)

I've run into this as well. I didn't notice it at first, because most of my buttons have a clear background. But as soon as I started trying to use a highlight color for the buttons I noticed it.
Xcode 10.0
SwiftEntryKit 0.8.2
iPhone XR Simulator

A fix is available now - release 0.8.7 🎉
The adjustment was made specifically for EKAlertMessageView and EKRatingMessageView using a unique protocol that is responsible for the layout of the bottom part of those views.
You should be able to set whatever background color you want for the button bar.
@sergeygarazha, @Sndrsn, Please let me know if that works for you.


Fix typo

Hi, I found typo XEN, it should be XEM.
If it's ok, please merge.

Bounty paid. Tx hash: c21fec9a2721c238f29089dac5443fb06b3d5184b102069eaf6a438c0d62b73e


MGDOBR-352: Unify Actions type naming - Remove Action suffix

MGDOBR-352
Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Overall the PR is good but do we want to create a script to migrate existing processor instances or not for now? @robpblake @r00ta Wdyt?

By heart it might still work but in the responses we would have the Action suffix for the processors that were created before this PR. I'm not sure we should put effort to migrate the existing processors/actions since we would have to write some sql/json magic to do the job. We can erase the db and start from scratch if it's ok for Heiko

I think @r00ta is correct. If the Action is already deployed, then I think it will continue to work. The type is just a string that we only use at the point of resolving the Action when the user first submits their request.
It's only new Actions will need to use the new type name however.

What if you update a processor? (Not in scope atm, but there's a JIRA for it).
If you don't also update the Action type the re-deployment will fail.
However presumably our test/staging environment would/could be torn down before then?

What if you update a processor? (Not in scope atm, but there's a JIRA for it).
If you don't also update the Action type the re-deployment will fail.
However presumably our test/staging environment would/could be torn down before then?

@jomarko
Can you please fix conflicts?


Menu with Links as MenuItems

Hi, I would like to create a menu where each MenuItem is a link (using svelte).
Something like Github's options to filter pull requests:

Is there a way I can use my own link component as a MenuItem?
Failing that, I was going to handle the user clicking on a MenuItem and update the URL manually when the user clicks on a MenuItem. But I don't see where to handle that?
The MenuItem provides handlers for onOpen={(selectedItem) => console.log('onOpen - selectedItem: ', selectedItem)} and onClose={() => console.log('onClose called...')} but neither of these is fired when the user clicks on the MenuItem.
Actually, onClose() is called after that but it isn't passed the ``selectedItem`.

Was thinking this would be a straight-forward component. But, after a good few hours of messing with it, and contemplating hacks myself, I decided to check on github to find I'm not the only one. I also attempted to inherit the MenuItem component with my own menu component, but issues of the MenuItem, while could be easily forwarded, exported functions "isDisabled" and "focus" get messed up. In my opinion, if you got to jump through hoops to get it working, then why even have it?


Make a Footer for the Website 🦶

Make a footer for the MemeGen website
Instruction

Follow the Figma Design ➡ https://www.figma.com/file/2CFGWsSol6c6SwDZ9PaaD1/MemeGen?type=design&node-id=0%3A1&mode=design&t=ln9sdKuNftajEeLs-1
Use the brand assets
Leave the paths of the links empty for now
For the icons use a library like react-icons or any other

I would like to work on it. Can you assign me this issue.

Go for it 👍
If you have any suggestion on the figma design then please let us know 😉


Error when trying to send invoice by email

I'm trying to send an existing invoice by email using the API (the invoice is already marked as sent and also has a payment, so I'm actually trying to resend it).
I've tried to call InvoicesApi.sendEmail() with a null Email object. If I understand the javadoc correctly, it should send an email with the default content. The javadoc says: "If the Email object is not inputted, mail will be send with default mail content" Here's my code:
HashMap<String, Object> paramMap = new HashMap<String, Object>();
paramMap.put("send_attachment", true);
String emailResponse = invoicesApi.sendEmail(myInvoiceId, null, paramMap);

However this results in this error because it expects the Email object not to be null:
java.lang.NullPointerException: null
        at com.zoho.books.api.InvoicesApi.sendEmail(InvoicesApi.java:466) ~[books-java-1.0.jar:na]

So I've tried to define an Email object with basic values, but it also fails because it seems to expect an attachment to be defined:
java.lang.NullPointerException: null
        at com.zoho.books.api.InvoicesApi.sendEmail(InvoicesApi.java:470) ~[books-java-1.0.jar:na]

But I don't want to define an additional attachment since I've already set "send_attachment" to true in the paramMap.
I'm not sure if this is a bug or if there's something I'm not getting. I've also tried using InvoicesApi.sendEmailInvoices() but ran into other issues.

Sorry for the inconvenience caused. We have an issue in passing an email object and attachment as null. The issue is now fixed and updated. Moreover, we recommend you not to send null values for the objects containing mandatory fields. Please download the latest jar and try the same. Thank you for your patience and kind understanding.

I tested it and it now works as expected. Thank you very much.


Introduce rapids_cpm_

Requires https://github.com/rapidsai/rapids-cmake/pull/48 and https://github.com/rapidsai/rapids-cmake/pull/51
Adds rapids_cpm_ for common packages
Fixes #32
The following packages are now are easier to user for RAPIDS projects
as rapids-cmake offers a pre-configured setup for each project.

GTest
NVBench
RMM
SpdLog
Thrust

On top of providing a consistent version of these packages to all RAPIDS projects, rapids-cmake now is able to deduce when these projects should also be installed.

rapids_cpm_gtest(BUILD_EXPORT_SET myproject)
rapdis_cpm_rmm(BUILD_EXPORT_SET myproject
               INSTALL_EXPORT_SET myproject)

Given the above snippet when RMM is built as a subcomponent of myproject it will be installed as well. This is done since
RMM is part of the INSTALL export set, and therefore must be available from an installed version of myproject.

rerun tests

@gpucibot merge


Restart the container if there was an error

Codecov Report
Patch and project coverage have no change.

Comparison is base (8f758ef) 19.54% compared to head (8f999eb) 19.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #689   +/-   ##
=======================================
  Coverage   19.54%   19.54%
=======================================
  Files          24       24
  Lines        3050     3050
=======================================
  Hits          596      596
  Misses       2389     2389
  Partials       65       65

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


PoS Block Producer

Current dependencies on/for this PR:

feature/proof-of-stake

PR #578

PR #671   👈

PR #672

This comment was auto-generated by Graphite.


python312Packages.gruut: 2.3.4 -> 2.4.0

https://github.com/rhasspy/gruut/compare/refs/tags/v2.3.4...v2.4.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

gruut (python312Packages.gruut)
gruut.dist (python312Packages.gruut.dist)
python311Packages.gruut
python311Packages.gruut.dist


Java Startup Detection of Missing Modules in a Module with Examples

Proposed title of article
Java Startup Detection of Missing Modules in a Module with Examples
Introduction paragraph (2-3 paragraphs):
A Java module is a packaging mechanism that enables you to package a Java application or Java API as a separate Java module. A Java module is packaged as a modular JAR file. A Java module can specify which of the Java packages it contains that should be visible to other Java modules which use this module. A Java module must also specify which other Java modules is required to do their job.
Key takeaways:
By the end of this tutorial, the reader will understand:

What is a Module
How to Write Modular Code
How to create Java Modules
How to run a Java Module
Java Module Benefits

References:
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

Can anyone reopen this for me?


Fix ReadTheDocs Build Errors

Situation
ReadTheDocs.org gives us some strange errors:
Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->-r docs/requirements.txt (line 2)) (2020.1)
Collecting sphinxcontrib-htmlhelp
  Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)
Collecting sphinxcontrib-applehelp
  Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-jsmath
  Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-devhelp
  Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting sphinxcontrib-qthelp
  Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Building wheels for collected packages: sphinx-argparse
  Building wheel for sphinx-argparse (setup.py): started
  Building wheel for sphinx-argparse (setup.py): finished with status 'done'
  Created wheel for sphinx-argparse: filename=sphinx_argparse-0.2.5-py3-none-any.whl size=11549 sha256=a6cd6938c3c655193f230e0181f48d037539475be6989b7f17d59760167f5c54
  Stored in directory: /tmp/pip-ephem-wheel-cache-s8zdxc9_/wheels/4a/4c/12/83c88bdc1bc352d7036de2891b5d6729adcf1bda3bab015560
Successfully built sphinx-argparse
ERROR: Exception:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
    status = self.run(options, args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 379, in run
    requirement_set
  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 191, in get_installation_order
    weights = get_topological_weights(graph)
  File "/home/docs/checkouts/readthedocs.org/user_builds/python-semver/envs/latest/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 242, in get_topological_weights
    assert len(weights) == len(graph)
AssertionError

Suggested Solution
Fix the problem.
@tlaferriere Thomas, do you know what can be the problem?

That wasn't the problem. @scls19fr Do you have any idea?
In the "Advanced Settings" menue in RTD admin, I've tried "Install Project" and "Use system packages". I also switch to the "CPython 3.x" interpreter. All to no avail.

I just came across this issue pypa/pip#9031 opened 5 days ago. It appears to be a bug in pip that happens when installing Sphinx and friends. Maybe downgrading pip would fix it 🤔?

Actually I read a bit more, and it seems removing Sphinx from the required packages is a good workaround. It should still get installed because the plugins depend on it.

Actually I read a bit more, and it seems removing Sphinx from the required packages is a good workaround. It should still get installed because the plugins depend on it.

Thank you very much Thomas!

It worked! :tada: :+1: The latest doc is now online! Thanks Thomas!


There are no comments on dismissonbackpress

Thanks but this appears to be an issue with the Compose project, not these samples. Please can you file at goo.gle/compose-feedback Thanks!

Thanks but this appears to be an issue with the Compose project, not these samples. Please can you file at goo.gle/compose-feedback Thanks!


[Snyk] Upgrade org.springframework:spring-core from 5.3.31 to 5.3.32

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade org.springframework:spring-core from 5.3.31 to 5.3.32.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago, on 2024-02-15.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Already solved by #66


IC-2063 send PP emails to delius responsible officer instead of referral sender

What does this pull request do?
send PP emails to delius responsible officer instead of referral sender.
there has to be a bunch of defensive code in here to handle cases where RO names or email addresses are missing. we are waiting on info from the business about how to handle these cases (i.e. do we fall back to referral sender)
What is the intent behind these changes?
get the emails to the most relevent PPs
Probation context
We are told that people-on-probation (newer term for service users) can be managed by different responsible officers over time. This might be due to workload or other factors. To ensure we and our service providers contact the current person, we need to use the "responsible officer" for a person-on-probation.

📝 Added a "probation context" section to the description


Extended SHUTDOWN command support by implementing 7.0 arguments

Closes #993

coverage: 77.772% (+0.05%) from 77.719% when pulling 7a59ba7f48a1a8ec5197d585141842f52d85ab1f on vladvildanov:vv-993-shutdown-command into 4172d2265f843f298ed079e8e704d45481bb03a3 on predis:v2.x.


adds background queue parameter

Purpose
This makes sure the backgroundContext is created on a different thread since it'll be used as a concurrency type.
Context
The reason behind this pull request comes from the various crashes I was getting that looked similar to this:
Thread : Crashed: NSManagedObjectContext 0x1741ee500
0  libobjc.A.dylib                0x000000019737bbd0 objc_msgSend + 16
1  CoreData                       0x0000000185817c10 -[NSManagedObject(_NSInternalMethods) _nilOutReservedCurrentEventSnapshot__] + 56
2  CoreData                       0x0000000185812b08 -[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 2860
3  CoreData                       0x0000000185811794 -[NSManagedObjectContext save:] + 164
4  AERecord                       0x0000000100340bd8 _TFFC8AERecordP33_8A99548E5AD373CDD29885C6F494084C7AEStack11saveContextFS0_FT7contextGSqCSo22NSManagedObjectContext__T_U_FT_T_ + 84
5  CoreData                       0x0000000185889218 developerSubmittedBlockToNSManagedObjectContextPerform + 200
6  libdispatch.dylib              0x00000001979b9954 _dispatch_client_callout + 16
7  libdispatch.dylib              0x00000001979c40a4 _dispatch_queue_drain + 1448
8  libdispatch.dylib              0x00000001979bca5c _dispatch_queue_invoke + 132
9  libdispatch.dylib              0x00000001979c6318 _dispatch_root_queue_drain + 720
10 libdispatch.dylib              0x00000001979c7c4c _dispatch_worker_thread3 + 108
11 libsystem_pthread.dylib        0x0000000197b9922c _pthread_wqthread + 816
12 libsystem_pthread.dylib        0x0000000197b98ef0 start_wqthread + 4

After digging into this for a while I found this thread on stack overflow which pointed me to the right direction. The most upvoted answer of this post mentions an important part of the Apple Core Data Programming Guide:
You must create the managed context on the thread on which it will be used. If you use NSOperation, note that its init method is invoked on the same thread as the caller. You must not, therefore, create a managed object context for the queue in the queue’s init method, otherwise it is associated with the caller’s thread. Instead, you should create the context in main (for a serial queue) or start (for a concurrent queue).
Short Term Solution:
I simply added a backgroundQueue: dispath_queue_t? parameter to the loadCoreDataStack methods and dispath_barrier_async on this queue when creating the backgroundContext.
This solution is not ideal because in your code you then have to use dispatch_barrier_async rather than simply dispatch_async. The reason behind  this is that dispatch_async will create different threads if two background requests gets executed at the same time increasing chances to have those same crashes again. While dispatch_barrier_async does the same thing it actually waits until each block is finished before passing along to the next one, preventing deadlocks from appearing even on the backgroundContext.
Long Term solution
Probably the best thing would be to create a real background thread for all backgroundContext related work, kind of what AFNetworking is doing.

I must say that I don't really understand clearly this problem, as I didn't have this kind of issues in my projects which are using AERecord. Thanks for your help, but I would rather not merge this on the main branch, one of the reasons is that as you said 'it's not ideal solution' so that doesn't fit. :)


'OVStableDiffusionPipeline' object has no attribute 'image_processor'

Using main branches of optimum and optimum-intel.
A test started to fail in optimum-benchmark. I tested a minimal script and it also fails:
from optimum.intel.openvino import OVStableDiffusionPipeline
model = "hf-internal-testing/tiny-stable-diffusion-torch" # or a runway model

pipe = OVStableDiffusionPipeline.from_pretrained(model, device="CPU", export=True)
pipe(prompt="prompt", num_inference_steps=1)

The error is AttributeError: 'OVStableDiffusionPipeline' object has no attribute 'image_processor'
The problem comes from the new VaeImageProcessor which was added in optimum but only for ORTStableDiffusionPipelineBase
StableDiffusionPipelineMixin that's used by OVStableDiffusionPipeline supposes its existence without instantiating it.
Should it be added in each sub-package ?

I just noticed the PR #421, great work!

Yes we will merge https://github.com/huggingface/optimum-intel/pull/421 after the next optimum release !


next manual, 2.17

Summary:
This is the issue for suggesting fixes for the Stan manual.  Please just add suggestions as comments rather than opening new issues.
Current Version:
v2.16.0

HMM Viterbi example problem in examples.tex.
Originally reported in https://github.com/stan-dev/example-models/issues/31#issuecomment-309627744

[ ] fix
[ ] thank https://github.com/frobnitzem

programming.tex line 185 of the reference manual v2.16.0
I believe it only makes sense if "kappa * theta" becomes "kappa * phi" instead, especially since alpha is a k-sized vector.

programming.tex line 185 of the reference manual v2.16.0
I believe it only makes sense if "kappa * theta" becomes "kappa * phi" instead, especially since alpha is a k-sized vector.

in the GP section
"In this case, an inverse gamma, inv_gamma_lpdf in Stan’s language, will work well as it has a sharp
left tail that puts negligible mass on length-scales, but a generous right tail, allowing for large length-scales."
needs an adjective to describe length-scales in the first clause. Perhaps:
"In this case, an inverse gamma, inv_gamma_lpdf in Stan’s language, will work well as it has a sharp
left tail that puts negligible mass on infinitesimal length-scales, but a generous right tail, allowing for large length-scales."

OK, I'll fix that.  I'll mention that gamma, inverse gamma and lognormal are all "zero avoiding" in the sense that the limit of the density at zero is zero and estimates near zero will be pushed away.  Then I'll cross-reference the discussion in the regression chapter, which cites Andrew's and Vince's papers.

On Jun 23, 2017, at 2:10 PM, aaronjg<EMAIL_ADDRESS>wrote:
in the GP section
"In this case, an inverse gamma, inv_gamma_lpdf in Stan’s language, will work well as it has a sharp
left tail that puts negligible mass on length-scales, but a generous right tail, allowing for large length-scales."
needs an adjective to describe length-scales in the first clause. Perhaps:
"In this case, an inverse gamma, inv_gamma_lpdf in Stan’s language, will work well as it has a sharp
left tail that puts negligible mass on infinitesimal length-scales, but a generous right tail, allowing for large length-scales."
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

[ ] add note to int_step() saying that it differs in behavior at 0 from step()
[ ] add similar note to step()

In the GP section on page 247 and 255, the example code multiplies by 1/2. It seems like this would just round to 1 given integer division. Everywhere else in the manual uses multiplication by 0.5 instead.

Also in the GP section, I think that rho ~ gamma(4,4) should be rho ~ inv_gamma(4,4). The text refers to the benefits of the inverse gamma distribution, so the example code should use that as well.

Thanks, @aaronjg --- if (1/2) is a subexpression, that will evaluate to 0;  we just follow C++ evaluation because we literally translate it to the same expression, 1 / 2 in C++.

I like the idea of defining the Bayesian posterior for R2, defined by @bgoodri in a response on StackOverflow:  https://stackoverflow.com/questions/44759319/overall-predictive-power-e-g-r2-for-bayesian-linear-mixed-models

@bob-carpenter Thanks, I just submitted a pull request for the 1/2 issue. I didn't change the other inv_gamma/gamma thing because I'm not sure if the prose or the model formulation is correct (or if I'm just missing something here).

@aaronjg  Thanks.  If you want to just leave the comments, I make a pass every release to fix all the ones noted (or explain why they can't be fixed or won't be fixed until later).  Our pull requests are pretty heavy with testing and review for small changes these days.

From @stemangiola on #2315 about p. 193 of 2.16 manual:
In mixture models
real log_theta[K] = log(theta); // cache log calculation

should be replaced by
vector[3] log_theta = log(theta); // cache log calculation

Otherwise gives error.

[ ] fix

Turns out there's more to clean up.  @lukasvermeer pointed out more issues at https://github.com/stan-dev/stan/issues/2315#issuecomment-312090660
 ordered mu[K];

[ ] K in wrong place

@lukasvermeer suggested
ata {
  int<lower=1> K; // number of mixture components
  int<lower=1> N; // number of data points
  real y[N]; // observations
}
parameters {
  simplex[K] theta; // mixing proportions
  ordered[K] mu; // locations of mixture components
  vector<lower=0>[K] sigma; // scales of mixture components
}
model {
  vector[K] log_theta = log(theta); // cache log calculation
  sigma ~ lognormal(0, 2);
  mu ~ normal(0, 10);
  for (n in 1:N) {
    vector[K] lps = log_theta;
    for (k in 1:K) {
      lps[k] = lps[k] + normal_lpdf(y[n] | mu[k], sigma[k]);
    }
    target += log_sum_exp(lps);
  }
}

In section 4.1, it would help to add another real literal example indicating that scientific notation with a "+" is valid.  Specifically, could an example like "1.23e+3" be added?

In section 24.1 version 2.16, a couple of lines in the softmax_id function have some typos:
alpha[num_elements(alphac)] = 0;
return softmax(alphac);

should be
alphac1[num_elements(alphac1)] = 0;
return softmax(alphac1);

Section 38, "Void Functions" - The main text references two functions, but only one is discussed later on. It looks like the section for increment_log_prob was removed, but the overview was not updated

There are a few references to 'google groups' that should be update to reflect the move to discourse.

Sec. 26.5 Matrices Parameters and Constants - it looks like there is a typo and 'idx[7,' should be 'idxs[7]'

new section on GPs has footnote referencing URL "mc-stan.org/documentation" which is 404.
also, don't understand first example in GP section - explain logic for assignments to row N of covariance matrix?

Thanks for all your team's great work on Stan! A couple of things for you:
Section 3.4, "Positive, Ordered Vectors" section, PDF page 41, sentence missing words. I think it should be (missing words asterisked):
Like ordered vectors, after their declaration positive ordered vectors *may be* assigned
to other vectors and other vectors may be assigned to them.

Section 10.4, last line on top of PDF page 170 has typo ("read" instead of "real"). Should be:
real<lower = -1, upper = 1> phi;

Thanks, @treysp, I'll fix those.

in GP section, page 248:
vector[N] mu;
cov_matrix[N] K;
mu = rep_vector(0, N);
K = cov_exp_quad(x, 1, 1);

should be changed to:
vector[N] mu = rep_vector(0, N);
cov_matrix[N] K = cov_exp_quad(x, 1, 1);

Explain the Ben RStanArm trick of
data {
  int<lower=0, upper=1> include_alpha;
...
parameter {
  vector[include_alpha ? N : 0] alpha;

It'll work with all types other than simplexes (have to verify that for correlation/covariance types).

Example code in 'reparameterization' sections should use the new combined declaration and assignement syntax.

Add @bgoodri's definition of the bivariate normal CDF:
real binormal_cdf(real z1, real z2, real rho) {
    if (z1 != 0 || z2 != 0) {
      real denom = fabs(rho) < 1.0 ? sqrt((1 + rho) * (1 - rho)) : not_a_number();
      real a1 = (z2 / z1 - rho) / denom;
      real a2 = (z1 / z2 - rho) / denom;
      real product = z1 * z2;
      real delta = product < 0 || (product == 0 && (z1 + z2) < 0);
      return 0.5 * (Phi(z1) + Phi(z2) - delta) - owens_t(z1, a1) - owens_t(z2, a2);
    }
    return 0.25 + asin(rho) / (2 * pi());
  }

[ ] add discussion in efficiency chapter about the cost of validating constraints for structured matrices;  an alternative to cov_matrix in a transformed data (not so costly) or transformed parameters block is to just use matrix and skip the cubic algorithm to validate

Thanks for all the great work around stan!
Just bumped into this today:
Page 143, Multilevel 2PL Model:

sigma_alpha is either a leftover in the model block or missing from the parameters block.
the comment after mu_beta says "mean student ability" but isn't that meant to be "mean question difficulty" instead?

[ ] fix spacing in multi-logit regression section
[ ] vectorize

A commenter with non link named "Alex" pointed out on Gelman's blog (http://andrewgelman.com/2017/08/21/mixture-models-stan-can-use-log_mix/#comment-554501) that there's an extra right paren in
target += log_mix(lambda, normal_lpdf(...), normal_lpdf(...)));

[ ] remove extra right paren in example

I released 2.17.0 without this because it wasn't mentioned as holding up the release, but we can update the manual independently if you like.

Thanks.  I kept thinking the release was imminent and I would be on vacation, then forgot that we hadn't done 2.17 yet.
It shouldn't hold up the release.  After 2.17, we should just update the name of the issue to "next manual, 2.18".
I want to start moving the manual over to bookdown format so we can put it on the web to make it searchable.  It's just too painful to search the pdf format.  But then we'll have some issue of stability of where we put it if we want any Google juice to help direct people to the appropriate bits.

Fix append_array function doc to indicate that the max order is 7, not 8.

I think there's a typo on page 218 in Vers 2.16 (the Cormack-Jolly-Seber model). In the table, should the probability for profile 3 read \phi_2 p_3, instead of \phi_2 \phi_3 ?  That seems to make sense, and corresponds to the model below as well.

Thanks, @jenast.  Will fix.

[ ] make fix directly for pull request #2400

src/docs/stan-reference/distributions.tex, line 121:
-\int_{-\infty}^y p(y \, | \, \theta) \ \mathrm{d}\theta.
+\int_{-\infty}^y p(y \, | \, \theta) \ \mathrm{d}y.

[ ] thank Massimo Santini

The manual is not clear as to where conditional statements are allowed: as the current text doesn't mention restrictions, I thought that conditionals could be used in the data section, which is not true.

@mcol No statements are allowed in the data section.  Might you be thinking about the conditional operator (cond ? x : y)?

confirmed - this compiles:
data {
  int<lower=1> a;
  int<lower=1> b;
  int c[a > b ? a : b];
}

My point is that in reading the part on conditional statements (section 5.5) and most of the manual up to there, I haven't seen a clear definition as to where these can or cannot be used. Maybe this is a consequence of the fact that program blocks are introduced only later (chapter 6), and it would be enough to forward reference table 6.1 from the earlier sections.

[ ] Add clutter example to mixture chapter as an example of "denoising" (it's an example in Bishop's book (section 10-7.1)

data {
  real<lower = 0, upper = 1> theta;  // clutter ratio
  int<lower = 0> N;
  vector[N] y;
}
parameters {
  real mu;
}
model {
  for (n in 1:N)
    target += log_mix(theta,
                      normal_lpdf(y[n] | mu, 1),
                      normal_lpdf(y[n] | 0, 10));
}

theta <- 0.5
N <- 200
mu <- 4.3

y <- rep(0, N);
for (n in 1:N) {
  if (rbinom(1, 1, 0.5)) {
    y[n] <- rnorm(1, mu, 1)
  } else {
    y[n] <- rnorm(1, 0, 10)
  }
}

library(rstan)
fit <- stan("clutter.stan", data = list(theta=theta, N=N, y=y))

[ ] Add example of how Stan behaves w.r.t. aliasing somewhere near the discussion of vector arithmetic

transformed data {
  vector[4] x = [ 1, 2, 3, 4 ]';
  vector[4] u = x;
  for (t in 2:4)
    u[t] = u[t - 1] * 3;

  x[2:4] = x[1:3] * 3;
  print("u = ", u);
  print("x = ", x);
}

which produces
u = [1,3,9,27]
x = [1,3,6,9]

The code in 14.1 (Regression with measurement error) on page 202 does not compile, and I think should be, which works:
vector[N] x;
vector[N] y;

[ ] Include Ben's discussion of the "Lancaster" parameterization of multinomial in terms of Poissons:

http://discourse.mc-stan.org/t/large-poisson-model-with-individual-effects-is-too-slow/2112/2?u=bob_carpenter

If people don't have Lancaster's book, these reparameterizations are talked
about in his papers at http://www.econ.brown.edu/Faculty/Tony_Lancaster/ .
Both the "Incidental Parameters Problem since 1948" and the "Orthogonal
Parameters and Panel Data".
On Mon, Oct 9, 2017 at 7:07 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Include Ben's discussion of the "Lancaster" parameterization of
multinomial in terms of Poissons:

http://discourse.mc-stan.org/t/large-poisson-model-with-
individual-effects-is-too-slow/2112/2?u=bob_carpenter
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2336#issuecomment-335313592, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqv3iusbzFEXpxqDd3VHd2GkhKW00ks5sqqc2gaJpZM4N--Ak
.

[ ] Fix real x[] -> real[] x in Section 41.1. and Index

[ ] thank Jan Gleixner for #2423

[ ] add space to Jan's fix to the BNF for print/reject

[ ] add code for change-point examples (in my local file mining-disasters)

From a side comment on #2425:

[ ] replace numeric_literal with real_literal in BNF
[ ] remove numeric_literal definition

[ ] In this line  of Sec 24.1 "Examples of Collinearity: Redundant Intercepts". it should be  $\lambda_1 + q, \lambda_2 - q$ not  $\lambda_1 + q, \lambda_1 - q$ .

The Stan's Future section in the Preface (preface.tex lines 247-250) are duplicates of what is in the previous section Stan 2 and can probably be removed.
As a minor formatting issue, in the Stan Interfaces section of the introduction (introduction.tex lines 69, 80, etc.), some interfaces are specified as \subsection (such as CmdStan, RStan, and PyStan) while others are \subsubsection (such as MatlabStan, Stan.jl, StataStan, and MathematicaStan). I'm not sure if this is a historic thing (the first being the original interfaces and the later being more recent interfaces that wrap CmdStan) or a typo but it's not clear.
From a conceptual standpoint, section 2.1 Character Encoding is somewhat underspecified. I am far from an expert but it was my understanding that it is impossible to infer the encoding from a character stream (see https://www.youtube.com/watch?v=ysh2B6ZgNXk for far many scary details). So it should be valid to say that all Stan programs will be interpreted as being ISO-8859-1 (since 8-bit ASCII isn't a real thing and the file is being read in byte-by-byte) with only 7-bit ASCII characters being valid in the content of the Stan program and comments being ignored (but treated as 8-bit characters when looking for newlines in src/stan/io/read_line.hpp).

Thanks, @enbrown.
I'll remove the redundancy.  I'm about to do a major re-og on the doc and some of the preface issues will go away.  I'll try to make the interface description more specific.
Indeed, it's not generally possible to infer character encodings.  Under the hood, we just use the standard I/O streams to read char (8-byte) values in C++.
Maybe this'll be a clearer way to say what's going on, because it's a bit non-standard:

punctuation and whitespace are defined by the by ASCII code points.
identifiers must be ASCII

That defines everything but the content of comments.  So you can use ISO-8859-1(aka Latin-1) or the other ISO-8859 variants or you can use the UTF-8 encoding of unicode.  That's because they share the ASCII code points.  You still won't be able to use anything other than the ASCII code points (bytes 0 to 127) for identifiers.  Comments can thus contain any sequence of bytes you want other than newline in line comments and "*/" in block comments (those will end the comment sequence).
We could just say ASCII and throw exceptions at code points above 127.  UTF-8 is a complicated dependency check.  And I can't imagine legislating anything other than pure ASCII or UTF-8 compatibility if we did get more serious about encoding consistency.

[ ] change "sample" to "draw" in description of generated quantities

[ ] thank Jonathan Sweeney for reporting

Originally reported here:  http://discourse.mc-stan.org/t/specifying-the-number-of-samples-for-rng/2384/2

the confusion between "sample" and  "draw" occurs in many places in the manual - section 6.5 "Program Block Parameters" discussion of gradient calculation:

There may be one leapfrog step per sample or hundreds, with more being required for models with complex posterior distribution geometries.

should be "draw"

I fixed the draw vs. sample.  This is really a dead issue.  I'll create the next one.


Increase the unittest coverage

Now it's under 90%

yay!

FYI now it's 94.72 :)
https://coveralls.io/builds/4361119


[Backport - Newton] MaaS: Swift time-sync validation and alarming

Backport for Swift time-sync validation and alarming
Connects rcbops/u-suk-dev#1217

recheck_all


Make "Configure Detox Environment" macOS step optional

What would you like to be added
I would like to make the "Configure Detox Environment" step optional within the setup_macos_executor task - enabled by default but possible to skip.
My use case is that I want to check Podfile.lock integrity on PRs but do not want to do relatively expensive end-to-end testing on PRs.  So, I use the same macos executor and would like otherwise the same setup but without spending over a minute to download and install Detox when I am not using it here.
Why is this needed
For using the macOS executor for purposes other than Detox.

I opened a PR that includes this a while ago, #135

Ah cool, thanks.

@devnev @kevindice this has been released as part of v7.2.0. 🎉


Show settlement DateTime (if present) in market list

"Future" markets on Vega don't always have a fixed settlement date.
The event that settles a market comes from an oracle and may not come until the settlement event.
However, many markets will have an intended settlement time, and where they do we should show it.
This could come from a few places.
In short

If the settlement event has happened, show that
if there is a timestamp in the settlemtOracle in Vegatime show that
else if there is some meta data, show that
else show dunno, link to settlement spec

TICKET WIP
Suggest some styles + tags to explain the source of what is displayed

Option:

Propose a standard metadata tag on market (ISO timestamp) for the settlement time. This may help with scenarios whereby we would not get a time from the oracle.

Can the docs / API docs help guide people to be encouraged to add this data.

Hey @PeteWilliams,
If the data source is a fixed date, then it will be set in the market from the beginning.
If this is not the case, the tradingTerminated trigger boolean will be sent at 'some point'. Therefore the front end would need to fetch the market, check the state and if in tradingTerminate or settle.  With this information the FE can then fetch the oracle API to find the timestamp of when the tradingTerminate trigger was sent. IIRC the timestamp would be in the usual format.

Thanks, and if it does have a fixed date - do you know where that is found? Is that always on the oracle, or can it sometimes still be in metadata, and if so, what does that look like?

Work in progress design pending further info: https://www.figma.com/file/K49Nx7XfocShhHcwwQzQkm/Console-V2?node-id=2634%3A33560

Spoke to Anna who confirmed that the market is always settled either by an Oracle timestamp or for non-time-constrained ones, by a boolean/integer being validated by a listener. We don't need to worry about metadata.
So these designs should be sufficient: https://www.figma.com/file/K49Nx7XfocShhHcwwQzQkm/Console-V2?node-id=2904%3A36944
Though @candida-d might want to suggest a better label than 'Non time-based' for markets that don't have a fixed settlement date.


Changelog

It would be nice to have a changelog, such as npm's.

Sure!
And we can replicate in the releases https://github.com/es6rocks/harmonic/releases.

Oh, I didn't realize we were logging changes in the releases. IMO it is unnecessary to duplicate the changelog then, we can just use the releases log.

I don't think it's totally useless.
For those who have the repo cloned can access the changelog info without going to Github.

Alright, we can work on it then. =]

https://github.com/es6rocks/harmonic/commit/32b91a6b15530014ee3a280b7dec6c7cf136e3d0

Nice! :+1:


Query: Internal code usage in providers

RelationalQueryCompilationContext has properties which providers may need to override to specify lateral join support or max identifier size.
ILinqOperatorProvider & both implementations of it + QCCDependencies are internal.
Apart from that, providers uses MemberAccessBindingExpressionVisitor.GetPropertyPath to check binding.

few methods from (Relational)ExpressionExtensions.

Progress update:

~FindProperty(this expression, type)~ Public
~MemberAccessBindingExpressionVisitor.GetPropertyPath~
QueryCompilationContextDependencies
ILinqOperatorProvider
LinqOperatorProvider
AsyncLinqOperatorProvider
LiftExpressionFromSubquery
~RemoveConvert~ Public
IParameterBindingFactories (referenced in PropertyInfoExtensions)

Closing in favor of #15695


Real-time chart losing it's drawn lines

I'll try and get a sample project for this together to demo this but for now here is the issue:
Razor page with ApexChart injects a Blazor Server Service
Service is Singleton Service which Raises Events with a int value.
Razor page accepts the raised event from singleton service
OnEvent Method adds Timestamp h:mm:ss format to XValue and the int value to YValue
If an event executes to "quickly" the lines in the chart disappears.
*Thoughts
Maybe some type of collision in threads so I've tried adding locks and delays in the events.
I *think maybe the chart is trying to re-write data for the same Timestamp value which it just wrote might cause the problem.

So I've tried to "buffer" the data and only write the timestamp and value once ever but issue still occurs.

Maybe it's when an event executes while drawing the chart lines causes the failure.  I

Pretty easy to reproduce, I just have to raise events quickly.
Application is currently on latest NuGet version and application is .NET 7 Blazor Server
I've tried and tried adding different Task Delays, waits, locks etc but still haven't come up valid work-around.

To recover I have to re-load the page or call RenderAsync().  Once the lines disappear I can still write to the Chart and the tool tips update and new XValues are added, but the YValue lines fail to ever display until I perform a recovery step.
```

<ApexChart @ref=_apexChart TItem="ChartDataPoint"
Title="Checkins"
Options=_apexOptions>

<ApexPointSeries TItem="ChartDataPoint"
Name="Checkins"
SeriesType="SeriesType.Line"
XValue="@(e => e.Timestamp.ToString("h:mm:ss"))"
YValue="@(e => e.Value)"
OrderBy="e=>e.X"
ShowDataLabels="false" />

private class ChartDataPoint
{
public DateTime Timestamp { get; set; }
public int Value { get; set; }
}
private ApexChart _apexChart;
private ApexChartOptions _apexOptions = new ApexChartOptions
{
Colors = new List { "rgba(119,107,231,1)" },
Theme = new Theme
{
    Mode = Mode.Dark,
    Palette = PaletteType.Palette10  // Palette doesn't seem to change at all.
  },
  Chart = new Chart
  {
    Animations = new Animations
    {
      Enabled = true,
      Easing = Easing.Linear,
      DynamicAnimation = new DynamicAnimation
      {
        Speed = 950
      }
    },
    Height = 350,
    Toolbar = new Toolbar
    {
      Show = false
    },
    Type = ApexCharts.ChartType.Line,
    Background = "rgb(55, 55, 64)",
    Zoom = new Zoom
    {
      Enabled = false
    }
  },
  Yaxis = new()
  {
      new()
      {
          TickAmount = 10,
          Min = 0,
          Max = 50
      }
  },
  Xaxis = new()
  {
    Range = 10 // number of datapoints to display.
  },
  Stroke = new Stroke { Curve = Curve.Straight },
};

private void HandleOnChanged
{
await _apexChart.AppendDataAsync(dataToAppend);
}

Sorry but I would recomend with a simple example and try to reproduce.
Have you looked at the sample at https://apexcharts.github.io/Blazor-ApexCharts/methods/update-series#realtime

Yes, I've seen that thanks.
What I have working at the moment is this...
Event: Queue up the data to be processed; cause processing the data immediatly causes chart to fail:
private void HandleStatsChanged(Data.ProductStats productStat)
  {
    Log.Information("Entered HandleStatsChanged...");
    lock (_pendingData)
    {
      var timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
      // Append to existing entry or add new one if it doesn't exist
      if (_pendingData.ContainsKey(timestamp))
      {
        _pendingData[timestamp] += 1;
      }
      else
      {
        _pendingData[timestamp] = 1;
      }

      Task.Delay(5);
    }
 }

Time: Update the chart based off a timer event every 3seconds.
private void OnTimerElapsed(object state)
{
  lock (_pendingData)
  {
    // Collect the data accumulated in the last second and append it to the chart
    if (_pendingData.Count > 0)
    {
      var dataToAppend = _pendingData.Select(kvp => new ChartDataPoint
        {
          Timestamp = DateTime.Parse(kvp.Key),
          Value = kvp.Value
        }).ToList();

      // Clear the pending data
      _pendingData.Clear();

      // Update the chart on a different thread
      InvokeAsync(async () =>
      {
        await _apexChart.AppendDataAsync(dataToAppend);
      });
    }
  }
}


save staged (unsubmitted) answers to local storage

The LTI tool does this, and I think that's the right thing to do.


WIP: Refactor Behat tests

Splits out features scenarios in features that group similar functionality.
Removes the creation of elements through the UI as well as the config file and therefore depends on https://github.com/silverstripe/silverstripe-behat-extension/pull/181

Connected issue is merged now

FYI:
Feature: View types of elements in a report
  As a CMS user
  I want to view a list of elements in the CMS
  So that I can see which elements I have used on a page

  Background:
    Given I am logged in with "ADMIN" permissions
      And I add an extension "DNADesign\Elemental\Extensions\ElementalPageExtension" to the "Page" class
      And a "page" "Blocks Page"
      And I go to "/admin/pages"
      And I wait until I see the ".cms-tree" element
      And I click on "Blocks Page" in the tree
      And I wait until I see the ".elemental-editor__list" element
      # Workaround until the FixtureFactory applies ElementalArea relations correctly;
      # See https://github.com/silverstripe/silverstripe-behat-extension/issues/180
      And I select "Content" from "elemental-editor_add-new-block-control_select-dropdown"
      And I click "Add" in the ".elemental-editor__add-new-block-control" element
      And I fill in "My Sample Block" for "Title"
      And I fill in "
My sample content
" for the "HTML" HTML field
      And I click "Create" in the "#Form_ItemEditForm_action_doSave" element
      # Remove with 'And I click "Blocks Page" in the ".breadcrumbs-wrapper" element' once the ElementalArea refreshes,
      # See https://github.com/dnadesign/silverstripe-elemental/issues/320
      And I go to "/admin/pages/edit/show/6"
      And I wait until I see the ".element-editor__element" element
    Then I should see "My Sample Block"

  Scenario: I can see the title and summary of each element
    Given I wait until I see the ".element-editor__element" element
    Then I should see a list of blocks
      And I should see "My Sample Block" as the title for block 1
      And I should see "My sample content" as the summary for block 1

  Scenario: I can add elements to the page
    Given I wait until I see the ".element-editor__element" element
    When I select "Content" from "elemental-editor_add-new-block-control_select-dropdown"
      And I click "Add" in the ".elemental-editor__add-new-block-control" element
      And I fill in "Additional Sample Block" for "Title"
      And I fill in "
Additional sample content
" for the "HTML" HTML field
      And I press the "Create" button
    Then I should see a "Saved content block" message

    When I go to "/admin/pages/edit/show/6"
      And I wait until I see the ".element-editor__element" element
      And I wait 1 second
    Then I should see "Additional Sample Block"

  Scenario: I can preview a block
    Given I wait until I see the ".element-editor__element" element
    Then I should see block 1

    Given I click on block 1
    # Needs rewrite once the FormBuilder component is fully functional.
    # Test checks only if placeholder text is rendered.
    Then I should see "Imagine some fancy form builder here!"

  @modal
  Scenario: I can delete a block
    Given I wait until I see the ".element-editor__element" element
    When I select "Content" from "elemental-editor_add-new-block-control_select-dropdown"
      And I click "Add" in the ".elemental-editor__add-new-block-control" element
      And I wait 1 second
      And I fill in "Second Sample Block" for "Title"
      And I fill in "
Additional sample content
" for the "HTML" HTML field
      And I press the "Create" button
      And I go to "/admin/pages/edit/show/6"
      And I wait until I see the ".element-editor__element" element
      And I wait 1 second
      And I should see "Second Sample Block"
      And I should see block 1
      And I press the "View actions" button
    Then I should see the delete button for block 1
    When I press the "Delete" button
      And I see the text "Are you sure you want to delete this block?" in the alert
      And I confirm the dialog
      And I wait until I see the ".element-editor__element" element
    Then I should see "Second Sample Block"
      But I should not see "My Sample Block Title"

  Scenario: I can see the block type when I hover over an element's icon
    Given I wait until I see the ".element-editor__element" element
    When I hover over the icon of block 1
    Then I should see text matching "Content"

I have pushed up a bunch of changes. I also updated composer.json to use recipe-testing as a dev dependency. I don't think we normally do this, but I think it makes sense - If you want to fully test this module you'll need all of those dependencies - and if you want to do development you should be ensuring behat stays green.


fix: Don't pass isSelected to tr dom node.

Closes IBM/carbon-components-react#1398
Changelog
New

Add isSelected to list of omitted props passed to tr dom elements.


Integrate Transifex

What's this do?
Merges Transifex Integration branch into develop
Why are we doing this? (w/ Notion link if applicable)
https://www.notion.so/lyrasis/iOS-Transifex-Integration-3d783845acd2418f96b2028e3b4db0ca
How should this be tested? / Do these changes have associated tests?
Attempt to view any title in English, Spanish, German or Italian
Dependencies for merging? Releasing to production?
N/A
Does this include changes that require a new Palace build for QA?
Yes
Has the application documentation been updated for these changes?
N/A
Did someone actually run this code to verify it works?
@mauricecarrier7

Hold merge until translations are reviewed.

@vladimirfedorov Can you please verify that you can build this branch on simulator. I am not able to locally, but I believe it may be my environment since the the build pipeline succeeded.


feat(gateway): add CI stress test

It would be useful to be able to run a stress test for the gateway on command.
Suggestion:

In a container, run a few nodes, storetheindex, and gateway.
Nodes can provide ~3 files of different sizes.
Test gateway with oha or some other tool.
Display results on PR.

Could you elaborate on this?

Can we create a bench for each crate we want to benchmark? And then just add one command to ci to run all the benches

I don't have any particular preference atm. I imagine that whoever picks this work can assess. I think the minimum requirement should be that the whole flow (querying indexer, requesting from node) is tested.

I don't have any particular preference atm. I imagine that whoever picks this work can assess. I think the minimum requirement should be that the whole flow (querying indexer, requesting from node) is tested.

not about preference, whether we decide to do a full benchmark crate to do all of this or are we benchmarking a specific crate.


Migrating to Typescript

As this is a project that likely has a lot of public appeal, it would be nice if the codebase was as accessible as possible for modification. Typescript helps fill that role, making it much simpler to debug and develop Javascript applications by forcing types.
Would a PR converting the system to Typescript be acceptable?

I think this would be an acceptable PR.

I think this would be an acceptable PR.


How to convert any image to webp?

Any way to convert any image to webp with filepond?

Closed because doesn't follow issue template


Delete redis data after make down

Hi,
thanks for this repo. I have a problem with it.  I run makeup and insert my data in cluster Redis DB but when run make down and run make up command all data has been deleted!. How can I prevent delete data? I have searched about it may be it has been related to appendonly param but appendonly is 'yes'.

@mehdi-fathi I am not fully sure where it is written, but i think it should say somewhere that this is only for local dev/debugging/demo etc, but this image is not really intended to work like what you want it to work. Due to how we build and start the container and all nodes inside it, there is no real way for the nodes to understand that it should start fresh or that it should continue from a existing state. You can always attempt to volume map up the data folder and see if you can get it to work yourself, but the stuff it not really designed for this and i have no plans on supporting both solutions as running it in that mode is not something that i see for this image.


added Numeral-Whiz

PR Description 📜
Numeral Whiz is an exciting and challenging memory game that will put your memory skills to the test. In this fast-paced game, you'll be shown a sequence of random digits for a short period. Your task is to remember the digits and quickly input them in the correct order once they disappear.
Fixes #2834

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Nikita06211 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @Nikita06211 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Stuck on 'Loading...'

The app gets stuck on 'Loading...'. I have tried running both, with and without llm fine-tuned model. Not sure what it is. Here are the prints before interrupting it. I have waited up to 5 minutes several times.
teleprompter % python main.py llm
Using LLM for suggestions
Starting up...
Loading model...
 * Serving Flask app "main" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
  Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using tokenizers before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)"

The warning doesn't go away, but the code actually works if you run it in terminal instead of VSCode (macbook air)