upgrade staging script

Time spent on this PR: 0.3 day
Resolves: #NA
Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[x] Testing

What is the new behavior?
Updates the script to make the upgrade and testing for staging and production easier.

Does this introduce a breaking change?

[ ] Yes
[x] No

closed for #1244


Simplify Price's eq

There is no reason to give people all that equality optionality. If someone wants to compare non-price objects they can either create the Price object or do the comparison of different types themselves with the right casting.

just do a pass through down to Decimal by doing the comparison on price._price
But if I'm doing that then I really need to think about whether or not it makes sense to have .price() at all and rather just extend Decimal.

Just made it inherit Decimal and this simplifed code greatly


384 read bytes from file doesnt fail

Fixes #384

@jkubicek this looks great and ready to merge, thanks for the contribution! We had some merge conflicts so I moved your fork branch onto this repo here at #402
Once travis passes that one we'll get it in.
Thanks again for participating!


Quality Assurance documentation not up to date

Describe the bug
https://github.com/anitab-org/documentation/blob/master/quality-assurance.md
The document is not up to date, for example it does not include bridge-in-tech backend and web, AnitaB forms Backend, and Stem Diverse in the top projects sections which should be added.
It also includes our archived projects in top section and setup instructions which should be removed.
Expected behavior
Include active projects and remove archived projects.

Hi I am interested to work on this. Since I am relatively new please guide me.

@vj-codes Could you please guide me, I'm interested to work on this!

Hey I am ready to work

Hello, I'm ready to work on this.


don't generate ios credentials for non-signable targets

Why
Companion to https://github.com/expo/expo/pull/22454
Fixes https://github.com/expo/eas-cli/issues/1812
How
Don't generate credentials for non-signable targets.
Test Plan
Tested against the project from https://github.com/expo/eas-cli/issues/1812#issuecomment-1540282795
TODO
Upgrade config-plugins here when it's published

/changelog-bot bug-fix Fix building iOS projects with framework targets.

/changelog-entry bug-fix Fix building iOS projects with framework targets.


Windows Compatibility

Get Steal and its tests working in Windows (prefix "file:" as needed, etc) in a seamless-to-the-user fashion.

Fixed by #329


Image and label formats are sensitive to case differences

Image and label formats are sensitive to case differences, such as between '.JPG' and '.jpg'.
ys = YoloSplitter(imgFormat=['.JPG'], labelFormat=['.txt'] )

Hello, @Maxvgrad, I'm currently working on it. In the meantime, please provide the actual extension in either uppercase or lowercase


Remove DynamicCircuitInstructionDurations patch added in 0.19

Summary
Removes patch added in https://github.com/Qiskit/qiskit-ibm-runtime/pull/1383 - this was originally added as a hacky way to support both qiskit 0.45 and 1.0
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 81.993%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
5200

Relevant Lines:
6342

💛  - Coveralls


Game data is not saved

Would it be possible to add saving to this game? Right now, the game starts over on the first level after reloading even if progress has already been made.

Okay, I will consider implementing automatic game saving in the next version update. Thank you for your suggestion.


UI Error in branch list when the width is 780px

Description

Gitea Version
latest
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None

is it in vue js or react js?

is it in vue js or react js?

It is in vuejs and majorly we do ssr in go/template package.
Here you can see more https://docs.gitea.com/category/contributing


Adds __generator helper

Adds the __generator helper that is now in TypeScript/master

CC: @DanielRosenwasser

👍

Updated helper to version from Microsoft/TypeScript#10890.

when i can expect version update with this PR?

@rbuckton do you recall what our publishing/versioning plans were?

I believe we decided to version this independently from the compiler.


Pass run_name from client side, enforce requirement server side, and ensure uniqueness.

ensure uniqueness.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1144  👈
#1140
#1138
#1137
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite


DNS issue within a Docker container running under rkt 0.6.1

I have a Docker container that fetches some updates from github.com as part of the boot process.
It seems that there is no DNS available from within the rkt runtime. How to solve this?
ajung@vmd6828:~/src/rkt-v0.6.1$ !su
sudo ./rkt run sha512-124d18e7f507f2b4417f225e92ad92e8
[sudo] password for ajung:
2015/06/18 17:11:43 Preparing stage1
2015/06/18 17:11:44 Writing image manifest
2015/06/18 17:11:44 Loading image sha512-124d18e7f507f2b4417f225e92ad92e8e166e1ca4e79c8a49afef3e13251b789
2015/06/18 17:12:45 Writing pod manifest
2015/06/18 17:12:45 Setting up stage1
2015/06/18 17:12:45 Wrote filesystem to /var/lib/rkt/pods/run/f869f726-2e2c-48c6-bdcf-c08739ce17f5
2015/06/18 17:12:45 Pivoting to filesystem /var/lib/rkt/pods/run/f869f726-2e2c-48c6-bdcf-c08739ce17f5
2015/06/18 17:12:45 Execing /init
/etc/localtime is not a symlink, not updating container timezone.
[2005542.417184] sh[5]: fatal: unable to access 'https://github.com/xml-director/xmldirector.plonecore.git/': Could not resolve host: github.com
[2005542.671235] sh[5]: Traceback (most recent call last):
[2005542.672183] sh[5]: File "bin/develop", line 13, in
[2005542.672869] sh[5]: sys.exit(mr.developer.develop.develop())
[2005542.673487] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/mr.developer-1.31-py2.7.egg/mr/developer/develop.py", line 845, in call
[2005542.674462] sh[5]: self.config.buildout_settings['windows_restart'])
[2005542.674979] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 225, in init
[2005542.675575] sh[5]: data['buildout'].copy(), override, set()))
[2005542.676148] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1582, in _open
[2005542.677016] sh[5]: downloaded)
[2005542.677538] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1582, in _open
[2005542.678343] sh[5]: downloaded)
[2005542.678843] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1582, in _open
[2005542.679628] sh[5]: downloaded)
[2005542.680179] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1535, in _open
[2005542.680960] sh[5]: path, is_temp = download(filename)
[2005542.681470] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/download.py", line 107, in call
[2005542.682029] sh[5]: local_path, is_temp = self.download(url, md5sum, path)
[2005542.682543] sh[5]: File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/download.py", line 194, in download
[2005542.683467] sh[5]: "%s: %s" % (url, e))
[2005542.684543] sh[5]: zc.buildout.UserError: Error downloading extends for URL https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg: [Errno socket error] [Errno -2] Name or service not known

This is the issue #660: /etc/resolv.conf does not get populated.
As a workaround, you could fetch the docker image with docker2aci and edit the manifest with actool cat-manifest/patch-manifest to add a mount point for /etc/resolv.conf:
      "mountPoints" : [
         {
            "name" : "etc-resolv-conf",
            "readOnly" : true,
            "path" : "/etc/resolv.conf"
         }
      ]

and start the docker image with:
rkt run --volume=etc-resolv-conf,kind=host,source=/etc/resolv.conf ...

I want to point out that this is less of a rkt issue and more of appc issue. appc does not specify that the ACE needs to provide /etc/resolv.conf (or any other files typically read by libc).

Hm... well how much of that is 'solved' by orchestration up the stack, like if there i fabric or service that is configuring the network interface prior to Stage2?    I'm just asking because I'd love to hear the input of people as the 'appropriate' way to solve this.   I see multiple solutions -- broadly,  treat the container as a container that's managed by a fabric, or two, make a fat container with static dhcp inside.
I'll point this out -- heh -- since I'm a proud supporter of 'fat containers' when used in the appropriate use cases -- why not just run a lightweight init system , and start up dhcp in the container, then get static dhcp and dns from dnsmasq (dns masq runs in the host , or outside the host but is still connected via layer2)?
Thoughts welcome from the experts -- I'm still trying to figure out my use cases , and I'm testing various configurations and products.

The problem persists with rkt 0.7.0..is there a workaround?

The only workaround for now is what @alban suggests in #1070 (comment). When #761 gets solved modifying the ACI won't be necessary and you can directly mount /etc/resolv.conf as a volume.

#761 (mount arbitrary volumes) is now fixed.
I think we should have a "common issues" section in the documentation to explain how to make DNS work without editing the image, like:
$ sudo rkt run \
        --volume dns,kind=host,source=/etc/resolv.conf
        example.com/myapp \
        --mount volume=dns,target=/etc/resolv.conf

@zopyx we just merged functionality for DNS handling. You can build rkt from source to try it out or wait until 1.0 is released. We've added documentation about the DNS functionality too.
Please let us know if it works for you and reopen this issue if it doesn't.

The problem remains the same with rkt 1.0
[docker@vmd9666 rkt-v1.0.0]$ sudo ./rkt run --volume=etc-resolv-conf,kind=host,source=/etc/resolv.conf --interactive docker://zopyx/xmldirector-plone --insecure-options=image
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.0.0
image: using image from local store for url docker://zopyx/xmldirector-plone
run: group "rkt" not found, will use default gid when rendering images
networking: loading networks from /etc/rkt/net.d
networking: loading network default with type ptp
stage1: warning: error setting journal ACLs, you'll need root to read the pod journal: group "rkt" not found
fatal: unable to access 'https://github.com/xml-director/xmldirector.plonecore.git/': Could not resolve host: github.com
Traceback (most recent call last):
File "bin/develop", line 13, in
sys.exit(mr.developer.develop.develop())
File "/home/plone/xmldirector.plonecore/eggs/mr.developer-1.31-py2.7.egg/mr/developer/develop.py", line 845, in call
self.config.buildout_settings['windows_restart'])
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/buildout.py", line 231, in init
data['buildout'].copy(), override, set()))
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/buildout.py", line 1626, in _open
downloaded)
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/buildout.py", line 1626, in _open
downloaded)
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/buildout.py", line 1626, in _open
downloaded)
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/buildout.py", line 1573, in _open
downloaded_filename, is_temp = download(filename)
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/download.py", line 117, in call
local_path, is_temp = self.download(url, md5sum, path)
File "/home/plone/xmldirector.plonecore/eggs/zc.buildout-2.4.4-py2.7.egg/zc/buildout/download.py", line 204, in download
"%s: %s" % (url, e))
zc.buildout.UserError: Error downloading extends for URL https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg: <urlopen error [Errno -5] No address associated with hostname>

However the easiest option is to use
--dns=<IP_ADDRESS>
which works for me


[0.10] Styling changes/improvements

I removed the facebook link as I am not aware of any facebook presence, otherwise we can add it again.
From my side it would be fine to merge. @v1r0x you are welcome to check it once more.


Dumping JSON on stdout - moloch-capture

We were wondering if there is way to only use moloch-capture to dump JSON on stdout. The idea is basically to rely on moloch-capture capabilities (dissectors) for other data-store.

Currently you could do a --tests and it would output to stderr, but it doesn't save any pcap so it would only be useful on pcap captured using other methods.
From the capture side the ES backend is mostly in db.c, it wouldn't be too hard to make it so the data-store was plugable if folks wanted that just like what was done for S3 output vs saving to local disk.
The viewer side would be more work.

Looks very good, it was exactly what I was looking for.  Thank you.
Is there a kind of official documentation about the field description for each parsers output in the JSON?

No docs, for now you could save into ES at least once and run
curl 'http://localhost:9200/fields/_search?size=1000&pretty'


IAPS Dev Environment

Environment details
Application Name
delius-integrated-accredited-programmes-system
GitHub team slug
https://github.com/orgs/ministryofjustice/teams/hmpps-migration
Environments

Environment
Access level

[x] Development
[x] view-only[x] developer[x] sandbox

Tags

tag
value

application
delius-integrated-accredited-programmes-system

business-unit
HMPPS

owner
<EMAIL_ADDRESS>

Networking options
Connectivity
Subnet sets

[ ] General - this application will use the same subnet as other applications in your business unit
[ ] Isolated - this application has highly sensitive data which must have its own isolated subnet with no network connectivity

How do users connect to the application?

[ ] Over the public internet
[ ] With a purple cabled device
[x] With a MoJ Official device

Connectivity to other applications or external parties

[x] Delius (delius-core-dev-vpc - <IP_ADDRESS>/22)

Additional features

[ ] Additional VPC Endpoints
[x] Extended DNS Zones (We do not expect to need them permanently)
[ ] Other - please specify

Other information
Application users currently access the application by tunnelling through a bastion using Windows laptops with PuTTY.
Definition of done

[ ] account created
[ ] customer informed

Thank you for setting this up!


Problem with hmac and key

Hi Lennart,
We try to run you script in PL. I hope it will be works at all :) Great work!
At this moment I have problem with getting hmac and key. Starting script I receive below info:
root@PC:/home/diabetes/decoding-contour-next-link# python get_hmac_and_key.py MinimedUser
Enter the password for the CareLink user MinimedUser:
Traceback (most recent call last):
File "get_hmac_and_key.py", line 92, in
( int1, key, count ) = request.decodeResponse( response.raw.read() )
File "get_hmac_and_key.py", line 31, in decodeResponse
keyArray = decoder.readObject()
File "/home/diabetes/decoding-contour-next-link/javaobj.py", line 261, in readObject
opcode, res = self._read_and_exec_opcode(ident=0)    # TODO: add expects
File "/home/diabetes/decoding-contour-next-link/javaobj.py", line 289, in _read_and_exec_opcode
(opid, ) = self._readStruct(">B")
File "/home/diabetes/decoding-contour-next-link/javaobj.py", line 302, in _readStruct
raise RuntimeError("Stream has been ended unexpectedly while unmarshaling. (%d vs %d)" % (len(ba), length))
RuntimeError: Stream has been ended unexpectedly while unmarshaling. (0 vs 1)
root@PC:/home/diabetes/decoding-contour-next-link#
Can you give me some advice?
Pawel.
OS: Ubuntu 16.04

Hey Pawel,
Is your CareLink user actually called "MinimedUser"?

No :) I just change for this site. In script I use correct username and pass :)

I just repro'd this error by entering a serial number that CareLink didn't like (only 4 digits). Is there a way you can get me the output of your sqlite database file? You can find and DM me on Gitter.

This is a bug with the script - I assumed that the "long serial" always started with 6213 - in this case, it was 6214. I have to update the script to get the "long serial" from the USB stick itself.


Syntax error after run

When running without arguments from Windows with Python 3.5.1 I see syntax error message:
...ges\nodemcu_uploader\uploader.py", line 348
print 'buffer size:', len(buffer)
^
SyntaxError: invalid syntax
Seems it happens because of old print function syntax used (print "statement" instead of print("...")) in:
https://github.com/kmpm/nodemcu-uploader/blob/master/nodemcu_uploader/uploader.py#L387
Please fix if I'm right.

Uploader is currently not supported under python 3 and there are
unfortunately no work in progress to support it.
It will happen, but I don't know when.
Den 25 mars 2016 8:07 em skrev "sturchaninov"<EMAIL_ADDRESS>
When running without arguments from Windows with Python 3.5.1 I see syntax
error message:
...ges\nodemcu_uploader\uploader.py", line 348
print 'buffer size:', len(buffer)
^
SyntaxError: invalid syntax
Seems it happens because of old print function syntax used (print
"statement" instead of print("...")) in:
https://github.com/kmpm/nodemcu-uploader/blob/master/nodemcu_uploader/uploader.py#L387
Please fix if I'm right.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/kmpm/nodemcu-uploader/issues/52

This should be working since version 0.4.3


WIP: Julia wrapper and tool report

As part of our work on wrapping MultiplexCrisprDOE for use in usegalaxy.be I have created a Julia wrapper to be able to use the tool from the command-line, which is a requirement for Galaxy.
Additionally, I've created a markdown report that summarize the tool execution and results and plots. Even though the wrapper is not fully finished yet, I made this PR because hopefully these additions would also be helpful for you.
In order to test out the code you can run the following:
julia main.jl --help
julia main.jl sim --help
julia main.jl sim 2 20 6 2 120 example_data.xlsx example_data.xlsx 0.8

There are some questions I had related to the tool:

What are the constraints of the parameters? It would also be good to specify those for the tool (the expected datatype, min and max value, etc.)
As for workflows for the tool: the common way would be to have the gRNAs relative frequencies and gRNAs genome editing efficiencies in an excel file and then use the simulation or BioCCP functions. Am I correct in assuming that another workflow would be to simulate the gRNAs relative frequencies and gRNAs genome editing efficiencies using the gRNA_frequency_distribution and gRNA_frequency_distribution functions and then use those outputs as input for the imulation or BioCCP functions?
In terms of multiple plant library sizes (parameter N) as in the plot in the tutorial notebook where you have plant_library_sizes = 0:5:4000. Would it make sense to provide the min. -, step size and max for the plant library size directly to the Julia wrapper to create the plot called: "Expected combinatorial coverage w.r.t. plant library size"?

Please let me know if you have any questions about my code.

Hi Paul, thank you very much for your efforts in making the tool available in Galaxy!

I will specify the datatype and constraints of the parameters in the MultiplexCRISPRDOE.jl file.
There are indeed two possible workflows: (1) when exact gRNA abundances and editing efficiencies are measured from an experiment, these emperical values can be injected into the workflow, (2) if the abundances and/or editing efficiencies are not exactly known, we can estimate an approximate distribution and simulate abundances and/or frequencies from this distribution to do the computations for the required plant library size (e.g., for the gRNA abaundance distribution, one can estimate that the abundances of the gRNAs are normally distributed and the most abundant gRNA is present twice as much as the least abundant gRNA, or, for the gRNA editing efficiency distribution, one can estimate that 90% of all gRNAs are highly active).
It would indeed make sense to make variables for the min. -, max- and step size for the plant library size in the "expected combinatorial coverage w.r.t. plant library size" and "probability of full coverage w.r.t. plant library size" plots, because depending on the parameter settings of the multiplex CRISPR/Cas experiment, the range will have to be adjusted to observe convergence/saturation of these plots.

I will take a look at the code in the coming days.

Hi Kirsten, thanks for the feedback!
I made further updates to the argument parsing and report. I also included a script called argparse_test.jl that goes through the all methods in MultiplexCrisprDOE.jl and generates the report for each. It doesn't keep all reports but overwrites every time. It's mainly for testing.
I did run into some issues with the input argument r. For example if r is set to 2 for simulate_Nₓ₃ then this function get stuck in an infinite loop.
Paul

Hi Paul,
Thank you for these useful additions!
There are indeed some constraints on the input parameter r:

for working with  the functions simulate_Nₓ1 or BioCCP_Nₓ1, parameter r should be at least 1 (when targeting single gene knockouts, 1 gRNA per construct is sufficient)
when using  simulate_Nₓ2 or  BioCCP_Nₓ2, parameter r should be at least 2 (when targeting pairwise combinations of gene knockouts, at least 2 gRNAs per construct are required)
similarly, for the functions simulate_Nₓ₃ or  BioCCP_Nₓ₃ , r should be at least 3 (because then we are targeting triple combinations of gene knockouts, so we need at least 3 gRNAs per construct)

I'll put these constraints in the MultiplexCrisprDOE.jl file now.
Kirsten

Hi Paul,
I updated the MultiplexCrisprDOE.jl file. For each parameter, there is a type specified in the function now, and I indicated the constraints for each parameter using @assert commands. Feel free to reach out to me should there be any additional things that are unclear.
Kirsten


Update newly developed UI source

Redesign all UI code using new design and latest Angular Framework

support Angular 6
support vis.js
remove amcharts

wonder when can it be finished?

@fanyeren
You can test it now.
https://naver.github.io/pinpoint/ui_v2.html

The actual contents in essence seem the same with those old versions' and could you please those main improvements, for example performances, etc?
I think many people may want to see comprehensive query including querying and analyzing all kinds of quality &  exception data across projects.

@fengex Thanks for your feedback
Although the new UI looks similar to what we had before, the entire client-side code has been rewritten.
It was getting increasingly difficult to extract performance and incrementally add new features with the previous code base,
and this is why we have decided to rewrite the client-side UI code (though we are still developing/testing it).
While this isn't immediately adding anything new feature-wise, we will able to add new features (such as those you've mentioned) and extract client-side performance more easily and a lot faster using the new code base going forward.


Problems parsing OpenAI Azure API response

I'm trying to implement some proof-of-concept tests with Auto-Playwright and our company's generative AI chat (based on ChatGPT 3.5), but I'm getting some wierd errors parsing the response.
model: ChatGPT3.5-turbo
api-version: 2024-02-01
When I invoke auto with a simple prompt like Click the "Click me" button, I'm getting a test error because the response does not have a function_call with "result".
Is the latest version of Auto really compatible with Open AI Azure API 2024-02-01?
Sample request:
role: 'user',
content: 'This is your task: Click the "Click me" button\n' +     '\n' +
'* When creating CSS selectors, ensure they are unique and specific enough to select only one element, even if there are multiple elements of the same type (like multiple h1 elements).\n' +
"* Avoid using generic tags like 'h1' alone. Instead, combine them with other attributes or structural relationships to form a unique selector.\n" +
'* You must not derive data from the page if you are able to do so by using one of the provided functions, e.g. locator_evaluate.\n' +     '\n' +
'Webpage snapshot:\n' +
'\n' +     '\n' +     '\n' +     '     Testing \n' +     '
Hello, Rayrun!
\n' +     '    <form id="search">\n' +     '       Search \n' +     '      <input type="text" name="query" data-testid="search-input" />\n' +     '    </form>\n' +     '
\n' +     '
Click count: 0
\n' +     '      <button id="click-button">Click me</button>\n' +     '      \n' +     '
\n' +     '  \n' +     '\n' +     '\n' +     '\n' +     '\n' +     '\n' +     '\n'}

Sample response:
message {
content: 'To click the button with ID "click-button", you can use the following code:\n' +
'\n' +
'```javascript\n' +     'const { locateElement, locator_click } = require("@qawolf/web");\n' +     '\n' +     '// Locate the button element using its ID\n' +     'const buttonElement = await locateElement({ cssSelector: "#click-button" });\n' +     '\n' +     '// Click on the button element\n' +     'await locator_click({ elementId: buttonElement });\n' +
'```\n' +
'\n' +
'This code uses the `locateElement` function to find the button element on the webpage using its ID, and then uses the `locator_click` function to click on the button.',   role: 'assistant'}

⚠ Notice the javascript block instead of the function_call that the code expects.
Has anyone else faced this issue?

Sorry, I am not familiar with Azure API capabilities. It def works with OpenAI. Someone else will need to take to answer this one.

So, this project is not following the implementation from here?
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
The endpoint that I'm trying to use in Auto-Playwright is something like this:
https://<my-resource>.openai.azure.com/openai/deployments/<my-deployment>/chat/completions?api-version=2024-02-01
This is exactly the type of URL that you have on the ReadMe file 🤔

@roberto-mardeni might be a better person to ask, as he contributed the PR that added that logic.
https://github.com/lucgagan/auto-playwright/pull/29

Looks like an encoding issues, will take a look in the coming weeks


Wish: okular

Hello,
Is there any plan to have a formula for okular in the near future? It is a great viewer, that I am really missing from Linux.

Okular is not something I'll compile myself, but I'd merge the pull request with a formula ;)


Web Software Feature Enhancements

This is a list of software features I am wanting to add to the Javascript interface. I've planned most of them out by now it's just a matter of finding the time. Some of these will fit on the board, some of these won't and will be relegated to the Chrome Extension and phone apps and whatever other forms of this software are useful.  Let me know what you all want in this, it's an open book really, and please modify the code yourself and feel free to share your own Javascript modules to integrate into this software.
The goal is to turn this into a fully fledged modularly-coded biofeedback software that will process EEG data and eventually other as well - to the best degree it can with Javascript anyway, which actually pretty great when webGL is involved.
Do the feature creep:

Full device console, simpler than using the developer console in the browser (more beginner and mobile-friendly though less robust).
BCI/data science backend with EEG processing - so far I have bcijs, gpujs, and tensorflowjs identified for doing the processing, which we can pick and choose features from as we need. There are many plotting tools, too, just need to choose the right one or roll our own with webgl shaders.
More robust graphing features (e.g. just plug in my plotter directly to the extension for data visualization)
Fun stuff - game features!

make the CircleJS and HillJS more interesting/responsive
more Audio features, incl mixing with other features. Expand AudioJS or replace with a
lightweight API.
more animations 2D and 3D e.g. reactive geometry i.e. visualizers and fractals, more ThreeJS
scenes, reactive flocking animations

And, obviously, the CSS - lightweight but clean and engaging aesthetic. I kind of like the cinematic look of the current setup, so I will expand on that, the cold medical look is boring as hell.

Didn't try your SW yet, but I know of https://deymed.com/ (I've heard they're one of the leaders in the market segment). The pictures of their GUIs and the lists of features of their products are pretty inspiring. Feel free to take a look.

@dumblob
Hey thanks for your interest! This list is somewhat outdated but I still have a whole slew of improvements I want to make so it's smoother to use for first timers as I'm lacking a few conventional features still


Deployment is happening for pull requests

This is very bad
The entire Actions workflow is happening for master but also PRs made to master - this is fine as far as environment building and eventually unit tests goes, but it is also deploying the build to gh-pages.

Fixed in 91e610f


proto3_optional not reported as supported

When running buf generate along with betterproto on a project that requires proto3_optional we get a warning:
Warning: plugin "pyproject" does not support required features.
  Feature "proto3 optional" is required by 7 file(s):

Technically we do support this feature as we don't actually generate any source code, so we could be reporting it as a supported feature in our response to the protoc grpc call to the plugin.

Looks like it should just be a matter of doing as betterproto does: https://github.com/danielgtaylor/python-betterproto/blob/0adcc9020cf738489e8b21efc653bd883b12d4af/src/betterproto/plugin/parser.py#L72


Unable to map the Failed Job

@indigoram89 - did you do a package upgrade today? The reason I ask is we just made some changes to this exact part of code for another issue.
I'm trying to work out if this is from the "new" package today, or the older version (which means it might already be fixed).

@laurencei
Eyewitness version 3.0.0

I think this has been fixed by a couple of updates since this was reported. If it continues - please let me know


Mat/Pat - Icon for info & alert boxes should be in the top left corner

The icon for all warning/info boxes must be in the top left corner. Currently it is in the left centre.

Sometimes the spacing in the info boxes is also inconsistent. There is excess space between the icon and content

@iman-jamali-fw could you give us and estimate for this?

This is already done


Only admins can add new hosting providers and data centers via Django admin

Scope:

changed group permissions (executed as a Django migration) so that "admin" group has explicit permissions to add new Hostingprovider and Datacenter objects via Django admin, at the same time removing these permissions for the groups "hostingprovider" and "datacenter"
added new test, updated existing ones to account for this change

To do:
Manually execute the migration script after deployment

 Remove the option to create a new Hosting Provider through the admin interface

@mrchrisadams I suggest we wait with merging this PR until we launched the verification request form. What do you think?


Move sync code to the blocking module in prep for #13

Move sync code that interacts with the I2C to a separate module, in preparation for adding an async module.
Half of the work for #13

I have fixed the CI now, could you rebase this?

coverage: 90.661%. remained the same
when pulling 195be3c2a48b65c598d1a11dbabaa79588203c8a on nils-van-zuijlen:async-split
into a6fb6f702d54fe087f024b78540c4818b2d6884f on eldruin:master.


feat: show target name in deployment targets stack operation summary

Previously, when deployment targets were deployed or undeployed, the stack operation summary shown after each completed target, didn't include information about in which target the stacks belonged to. After this change, the target name is shown in stack operation summaries.

:tada: This PR is included in version 5.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update magazine publication buttons component

Fix prop for renewal & add the inclusion of the change address button

 Magazine + Digital Editions


Edit Distance

Can you describe your project a little more?

@lo-0l  Can you remove bits/stdc++.h and use the appropriate headers? Because bits/stdc++.h is a big header and unnecessary slow down the compilation-process.


Fix iOS Keyboard Entry Jitter

In order to fix the bug preventing continuous typing in iOS with Flutter 2.5.x, added an explicit call to TextInputConnection.show() each time it's reinitialized or else users have to re-tap/focus the input after each character (which also causes the keyboard to disappear after each character typed).
fixes #97

Not sure this is being maintained. Maybe make a new package and publish?

There was a recent update so the package is being maintained. @danvick Can you please review and merge this?

@danvick Can you review and merge, this is key to the package.


artman2 assumes it is being run from googleapis directory

What
artman2 seems to calculate paths to config assuming it is being run from the googleapis directory. It should calculate paths relative to the --config flag.
Observed behavior
jgeiger@jgeiger:~/repos/gapi-dev/artman$ artman2 --config ../googleapis/gapic/api/artman_speech_v1.yaml --output-dir output/ generate ruby_gapic
Traceback (most recent call last):
  File "/usr/local/google/home/jgeiger/repos/gapi-dev/artman/.nox/unit_tests-python_version-3-5/bin/artman2", line 11, in <module>
    load_entry_point('googleapis-artman', 'console_scripts', 'artman2')()
  File "/usr/local/google/home/jgeiger/repos/gapi-dev/artman/artman/cli/main2.py", line 58, in main
    pipeline_name, pipeline_kwargs = normalize_flags(flags, user_config)
  File "/usr/local/google/home/jgeiger/repos/gapi-dev/artman/artman/cli/main2.py", line 347, in normalize_flags
    language=language, )
  File "/usr/local/google/home/jgeiger/repos/gapi-dev/artman/artman/utils/config_util.py", line 30, in load_config_spec
    with open(config_path) as config_file:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/google/home/jgeiger/repos/gapi-dev/artman/gapic/lang/doc.yaml'

Mostly fixed by #274.
There is a nitpick annoyance left where if you are running artman in Docker, it still dumps the output to your googleapis directory.


Linux mint doesn't detect windows 10 pc

I have a weird issue with Nitroshare: My Linux Mint 18 (KDE) doesn't detect a windows 10 pc but my Windows 10 pc can send files to the Linux machine although they don't arrive.
I have installed Nitroshare from nitroshare.net, with windows I downloaded the 64 bit version and with Linux I downloaded it via the PPA. They are both the same version and on the same network.

Do you have a third-party firewall installed on Windows?

No, sorry for the utterly late reaction.

Am facing the same problem.

I'll see if I can reproduce this with a Mint VM.

I installed a clean copy of Windows 10 and Linux Mint 18.2 in two virtual machines and connected them via a bridged network. I downloaded the latest stable version of NitroShare from the website and used the stable PPA to install NitroShare in mint. After launching the application on both machines, they were able to find each other and I was able to transfer files between them.
The next version of NitroShare will use mDNS for discovering other devices on the network, so I'll wait and see if that solves the issue.

I had this problem too, it is the Linux firewall, the easy way to sort this is with gufw which is a nice firewall GUI and add rules for ports 40818 and 40816 and you will be in business, you may need to install gufw


How to include MessageAttributes with sns/publish ?

Hello, I have an SQS queue suscribed to an SNS, and am using fink-nottle at both ends.
In order to use the sqs.tagged decoding facility I need to add the fink-nottle-tag=json message attribute to the SNS message, which will get passed through to SQS.  I have been able to get this working by explicitly setting the MessageAttributes.member.1.* KV pairs, just wondering if there's an easier way or if support could be added to the sns publish function for an attrs param map.
I got it working doing the following...
(fink-nottle.sns/publish-topic!! creds topic message-body
{"MessageAttributes.member.1.Name" "fink-nottle-tag"
  "MessageAttributes.member.1.Value.DataType" "String"
  "MessageAttributes.member.1.Value.StringValue" "json"})

Thanks!
Also I built a utility on top of fink-nottle to help provision and connect SNS and SQS queues, see https://github.com/sprightco/chard

Keith,
Neat!  Chard looks super-helpful - I'll put a link in the fink-nottle README.  What kind of stuff are you transmitting, out of curiosity?
So, all the evidence points to me having completely blanked on the SNS message attribute facility.  It's documented incorrectly (as "MessageAttributes.entry..." - though who knows, maybe that works, too).
I pushed fink-nottle 0.4.4-SNAPSHOT, which would allow your invocation above to become:
(fink-nottle.sns/publish-topic!! creds topic message
 {:attrs {:fink-nottle-tag "json"}})

Let me know if it works out for you, and I'll promote the release.  One thing which tripped me up during testing: even if the subscription has raw message delivery enabled, unless the message type is raw/not-json (i.e. you pass a string for "message", above, instead of {:sqs "string"}), the attributes won't be delivered over SQS.  So, e.g. if you wanted to publish a single message with different bodies (i.e. one SQS-specific, one for HTTP) but identical attributes, that doesn't seem possible - at least as far as receiving the attributes via SQS.  You probably already know that, it just slowed me down a bit.
Do you think it's worth including a convenience function for publishing tagged SNS messages, so people don't have to burrow to figure out what to do?  Like
(sns/publish-tagged!! creds topic tag string-message)

?

Thanks for your reply @moea,
I'll try the snapshot.  Yes, it is interesting that the message attributes do not propagate for json-structured messages.. I did not run into that as I am not using that feature.  Yes I've found the SNS/SQS docs to be quite confusing while debugging/testing these issues.
I am playing with Slack bots, using a microservice arch with SNS and SQS for inter-service communication.  So the payloads are small JSON-formatted Slack events and messages.
Re: convenience function, I think ideal would be to document how the 'tagged' concept works.  It took me a while to figure out how that worked, and that message attributes were being used to pass the message format.  Maybe an example showing how to send a message to a queue via SNS, using fink-nottle at both ends, since there are several things that could trip people up there.

Confirmed that the snapshot works, thanks!

0.4.4 pushed.  Will improve the documentation.


fix: handle open handles from inside tests

Summary
@thymikee found this one before the tweet storm yesterday 😅

Test plan
Added test

Some weird errors happening on Node 10

Yeah, node 10.2.0 is messed up. https://github.com/nodejs/node/issues/20921

I need to fix this for circus

@aaronabramov I added a second commit attempting to fix this for circus, but I still get some jest internals I don't care about. Current results is this:

Ideas on how to detect just stuff created in user code, and avoid the recursive calls circus itself does?

wouldn't this always be triggered from somewhere in user's code though?
i'm not familiar with the whole error handling process and probably don't understand what's happening :(

wouldn't this always be triggered from somewhere in user's code though?

Basically, we track absolutely everything async happening in the process. But a lot of async stuff is expected such as triggering describes and its (creates promises), so we should filter out those false positives so that we're only left with async stuff the user initiated

@SimenB can we attach an extra flag to it when we trigger them?
like pass an asyncError with circus_internal = true?

@SimenB internal promises should be resolved after https://github.com/facebook/jest/pull/6716 is merged, right?

Good point, that might actually solve my issue. That's awesome. I'll rebase after it lands 🙂

@SimenB, just merged https://github.com/facebook/jest/pull/6716

Rebased, and looks good locally

Hmm, for some reson this timeout is reported on CI, but not locally: https://github.com/facebook/jest/blob/c0819fc0c39dc3e7bc20513963678894e5bae6ab/packages/jest-circus/src/utils.js#L175-L178

Green! 🎉

🎉


Fix alphabetical order in readme

Sorry about this simple PR... but I spent about 1 hour searching in composer's doc some mystical new way of installing a package type that I didn't see at first right in the installers list. So I thought this PR would save time of other hurry persons like me.

Since there are many waiting PRs aiming at adding new installers, I close this PR.


[Enhancement] Class defines a computed serialVersionUID that doesn't equate to the calculated value [JsonException]

Search before asking

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

Enhancement Request

located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/exception/JsonException.java line 25
analysis and explanation:
This serializable class defines a serialVersionUID that appears to be a computed value, however the value does not match the computed value, and thus losses it's value as version indicator.
Describe the solution you'd like
recompute the serialVersionUID using IDE.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@Alonexc  I want to try


1.4.0 Beta (Windows 10 64-bit) crash on unlocking wallet

Hope this is useful.
From Windows Command Line:
C:\Spectre1.4.0alpha-win>spectre
App start in main.cpp
Qt WebEngine ICU data not found at C:/D/QtSDK/5.10.1/msvc2017_64/resources. Trying parent directory...
Qt WebEngine ICU data not found at C:/D/QtSDK/5.10.1/msvc2017_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location C:/D/QtSDK/5.10.1/msvc2017_64/translations\qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location C:/Spectre1.4.0alpha-win\qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at C:/D/QtSDK/5.10.1/msvc2017_64/resources. Trying parent directory...
Qt WebEngine resources not found at C:/D/QtSDK/5.10.1/msvc2017_64. Trying application directory...
May 09 ##.##.##.### [notice] Tor <IP_ADDRESS> running on Windows 8 with Libevent 2.1.8-beta, OpenSSL 1.1.0f, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
May 09 ##.##.##.### [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 09 ##.##.##.### [notice] Configuration file "C:\Users*****\AppData\Roaming\SpectreCoin\tor\torrc" not present, using reasonable defaults.
May 09 ##.##.##.### [notice] Scheduler type KISTLite has been enabled.
May 09 ##.##.##.### [notice] Opening Socks listener on <IP_ADDRESS>:9089
Loading addresses from .onion seeds
3 addresses found from .onion seeds
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
js: Uncaught TypeError: Cannot read property 'classList' of null
From debug.txt
SpectreCoin version v<IP_ADDRESS>-g ($Format:%cD)
Operating in full mode.
Using OpenSSL version OpenSSL 1.1.0f  25 May 2017
Startup time: 05/09/18 23:19:58
Default data directory C:\Users\user\AppData\Roaming\SpectreCoin
Used data directory C:\Users\user\AppData\Roaming\SpectreCoin
db version is Berkeley DB 4.8.30: (April 12, 2010)
dbenv.open LogDir=C:\Users\user\AppData\Roaming\SpectreCoin\database ErrorFile=C:\Users\user\AppData\Roaming\SpectreCoin\db.log
Bound to <IP_ADDRESS>:37347
AddLocal(qz43oqeux5ehhutf.onion:37347,4)
Loading block index...
Opening LevelDB in C:\Users\user\AppData\Roaming\SpectreCoin\txleveldb
Opened LevelDB successfully
Transaction index version is 70511
LoadBlockIndex(): hashBestChain=c7b71dfb4675b8caea5e6830e2e0369f6c09a09f4251bd900b2b5b5e532070c6  height=665495  trust=1517464136623456867714  date=05/09/18 23:00:00
Verifying last 2500 blocks at level 1
block index            7631ms
Loading wallet...
nFileVersion = 1040000
Keys: 0 plaintext, 100 encrypted, 100 w/ metadata, 100 total
Loading master ext key.
Loading ext accounts.
Loading ext account packs.
wallet                   73ms
Loading addresses...
Loaded 1513 addresses from peers.dat  6ms
Secure messaging starting.
Loaded 1 addresses.
Loaded addresses from SMSG.ini
Processed 0 files, loaded 0 buckets containing 0 messages.
smsg thread start
smsg-pow thread start
mapBlockIndex.size() = 671501
mapBlockThinIndex.size() = 0
nBestHeight = 665495
setKeyPool.size() = 100
mapWallet.size() = 93
mapAddressBook.size() = 2
onionseed thread start
net thread start
onionseed thread exit
addcon thread start
opencon thread start
msghand thread start
dumpaddr thread start
wflush thread start
miner thread start
Done loading.
Network: main, port: 37347
SOCKS5 connecting q5swjsvghrxft5ew.onion
SOCKS5 connected q5swjsvghrxft5ew.onion
SOCKS5 connecting anffhnthjspov44p.onion
Added time data, samples 2, offset -88 (-1 minutes)
Received mblk 14
SetBestChain: new best=b7f1d145a1ea9db6c148b8d9dc4cfaa0c75472a1d874c0e4ce4e390087e64061  height=665496  trust=1517466947647914733682  blocktrust=2811024457865968  date=05/09/18 23:04:00
ProcessBlock: ACCEPTED b7f1d145a1ea9db6c148
SetBestChain: new best=bee4ffe071c8be23632afae209758c4c8ddda9f45e7d532ba9ffd04b035e3b7c  height=665497  trust=1517469747275183470903  blocktrust=2799627268737221  date=05/09/18 23:04:32
ProcessBlock: ACCEPTED bee4ffe071c8be23632a
SetBestChain: new best=6096d1828f1126757a66b893702d04a851182fc15a6f5c617b4acac5ebaf66b7  height=665498  trust=1517472548977006850212  blocktrust=2801701823379309  date=05/09/18 23:05:20
ProcessBlock: ACCEPTED 6096d1828f1126757a66
SetBestChain: new best=dfd4012bd1fdcd9efa0b0b00ab2e0397f188946f741fcfb93d064ac13ba4215a  height=665499  trust=1517475351716429211182  blocktrust=2802739422360970  date=05/09/18 23:05:36
ProcessBlock: ACCEPTED dfd4012bd1fdcd9efa0b
SetBestChain: new best=2d588c5e47d7e02816c82096b4b36b10e799046d4a530a73b23f7ca03c3ee5a3  height=665500  trust=1517478157571597757173  blocktrust=2805855168545991  date=05/09/18 23:06:24
ProcessBlock: ACCEPTED 2d588c5e47d7e02816c8
SetBestChain: new best=1cf29ebacd20231515b599c12efac0bd6e6c1949c29812ef0544c005c4d93da8  height=665501  trust=1517480964465776114646  blocktrust=2806894178357473  date=05/09/18 23:06:40
ProcessBlock: ACCEPTED 1cf29ebacd20231515b5
SetBestChain: new best=89586d037c803bb611027a615b3df099bd1583ba9ddfae8aa8907272ac7f8598  height=665502  trust=1517483774479933910488  blocktrust=2810014157795842  date=05/09/18 23:06:56
ProcessBlock: ACCEPTED 89586d037c803bb61102
SetBestChain: new best=158ca0122b4a79b745f8e8d4233fa21dda1565e787158b9e9b90d0f15575211c  height=665503  trust=1517486587617663231417  blocktrust=2813137729320929  date=05/09/18 23:09:36
ProcessBlock: ACCEPTED 158ca0122b4a79b745f8
SetBestChain: new best=f660a0d4c40a367d2d4e6a18dd8a14fd4b160629c786363b8340cf2c8e3b1611  height=665504  trust=1517489394523520228014  blocktrust=2806905856996597  date=05/09/18 23:10:24
ProcessBlock: ACCEPTED f660a0d4c40a367d2d4e
SetBestChain: new best=7c84677c479b09e3d137d684be2eba7d8584ed2bf43e27c2f828b84ab5c2980c  height=665505  trust=1517492202469165467063  blocktrust=2807945645239049  date=05/09/18 23:10:56
ProcessBlock: ACCEPTED 7c84677c479b09e3d137
SetBestChain: new best=1392eab47ad7a479ac0a1c559eba70a6e8f41dd09e10b15ca47b0ff8338ef91c  height=665506  trust=1517495012495027879097  blocktrust=2810025862412034  date=05/09/18 23:12:00
ProcessBlock: ACCEPTED 1392eab47ad7a479ac0a
SetBestChain: new best=e83606f43e23dfa701f74b84a18cc04dfc6fbbdbec6deacf3888eb8c80f14463  height=665507  trust=1517497822520890291131  blocktrust=2810025862412034  date=05/09/18 23:13:52
ProcessBlock: ACCEPTED e83606f43e23dfa701f7
SetBestChain: new best=974ffdb59d5fab39cc53aef598004f5b2eb163cfd6b4901c30391bbaac6c7c75  height=665508  trust=1517500629431752448531  blocktrust=2806910862157400  date=05/09/18 23:14:08
ProcessBlock: ACCEPTED 974ffdb59d5fab39cc53
ERROR: Proxy error: host unreachable
SOCKS5 connecting lh7z4b5xkhketbfn.onion
SetBestChain: new best=0c26cc51975858f6cb70d070223bdfe5eb59235c9b1904433d785ebcf2e301a3  height=665509  trust=1517503439462631154496  blocktrust=2810030878705965  date=05/09/18 23:17:20
ProcessBlock: ACCEPTED 0c26cc51975858f6cb70
Flushing wallet.dat
Flushed wallet.dat 37ms
SOCKS5 connected lh7z4b5xkhketbfn.onion
SOCKS5 connecting pioz3uv3i3s3vqhx.onion
Added time data, samples 3, offset -65 (-1 minutes)
SOCKS5 connected pioz3uv3i3s3vqhx.onion
SOCKS5 connecting gxrtaufzsmqarlmp.onion
Added time data, samples 4, offset -86 (-1 minutes)
SOCKS5 connected gxrtaufzsmqarlmp.onion
SOCKS5 connecting twvqjtcmdi2lw6kp.onion
Added time data, samples 5, offset -100 (-1 minutes)
nTimeOffset = -86  (-1 minutes)
Unlocking wallet.

@ptownsimon can you please download and try the v.1.4.0-beta and see if you have the same issue

We are releasing a new build soon. Let us know if that fixes your problem and mark this as fixed then.
Cheers
Shbli

@shbli Can this be closed as the beta-4 wallet doesn't seem to crash on unlocking

@spectrecoin yes you can close it if you no one is facing a problem anymore


Added identifieres for Person and ScholarlyArticle

This PR adds the identifier property to the profiles for Person and ScholarlyArticle. They should be used to describe a DOI, PubMedID or ORCID, see Issues https://github.com/nfdi4plants/isa-ro-crate-profile/issues/16 and https://github.com/nfdi4plants/isa-ro-crate-profile/issues/8.
Once the discussion reaches a conclusion, I will also change how names are depicted, see Issue https://github.com/nfdi4plants/isa-ro-crate-profile/issues/15.

Handling of names has now been adapted, concluding the discussion in https://github.com/nfdi4plants/isa-ro-crate-profile/issues/15


Fix graphql.expenses.test deadlock

This is a PR to fix : https://github.com/opencollective/opencollective/issues/2623
What was exactly happening that the #markExpenseAsUnpaid's beforeEach utils.resetTestDB was still working after it has done. so when#unapproveExpense's  beforeEach utils.resetTestDB was called #markExpenseAsUnpaid's beforeEach utils.resetTestDB wasn't done yet and that caused the deadlock.
Before :

After :

After With Running All Tests :

Triggering CI. And yes, as a recurring contributor, you're welcome and encouraged to push your branches to our repository.

@Betree I think it was starting 2 promises at the same time starting a Session of Postgresql while the other session hasn't finished yet.
I will do it next PR.
@znarf I don't know why errors still exist in CircleCI tests, I'm using ubuntu.

It's actually difficult to guarantee that the fix is working because the issue is not 100% reproducible.
@EslamHiko it seems you are pretty confident the fix is the right one, how where you able to test in on your side?

@znarf I'm running npm run test on my local machine and it disappeared after my modification I don't know how could CircleCI be different from my machine in running tests :confused: .

@EslamHiko Sounds good! It never happened on my own machine so I'm curious.

Thank you! Merging so we can try it.


Toggle-Section-Header Component

Summary
Implementation of the new terra-toggle-section-header component.
Additional Details
Closes #1322
Deployment URLs

https://terra-core-deployed-pr-1339.herokuapp.com/static/#/site/toggle-section-header
https://terra-core-deployed-pr-1339.herokuapp.com/static/#/tests/toggle-section-header-tests

Thanks for contributing to Terra.
@cerner/terra

@neilpfeiffer @mmalaker This is now ready for UX and functional validation.

@dylan-sftwr I did a quick spot check of this in several browsers. Firefox has an issue with vertical alignment. The toggle icon appears higher than the text.

Section header WDIO tests seems to be failing.

@paku-sruti fixed b58913b9fd7076737cf1257600d23437ad1d5823

@dylan-sftwr Looks like WDIO tests are still failing.

@bjankord, weird, i'll rerun them again locally and see what it spits out

Functional verification completed. The toggle examples display and function correctly.

Tested: PR #1339
Resolves: Issue #1322
Wrapped implementation of:  #1313

Reviewed:

no visual changes from original verification https://github.com/cerner/terra-core/pull/1313#issuecomment-371917133

Follows pattern considerations documented in Cerner Design Standards: Section Headings and Accordions

Follows UX defined design initial implementation for Terra-Toggle-Section-Header

Follows defined theme designs: terra-theme

Fix with Enhancements:

same 3 items as originally posted on https://github.com/cerner/terra-core/pull/1313#issuecomment-371917133

Verified by @neilpfeiffer, Ready for Release.

Pass

UX Review


Fix server error when object of cycle_object was deleted

There was a server error when trying to access an object on which cycle_task_group_object is based was deleted, this fixes the issue, but can you write a test case for this and make sure you didn't make the same mistake elsewhere.
It might also be a good idea to use the title in cycle_task_group_object, and write [deleted] if the object is not there anymore...

made a better fix, but thanks


DWS, a web3.0 cloud hosting company is using the Tf Grid for compute services.  They have tried to deploy a (large) VM which failed.  They contacted and and to recreate the issue I used the play.grid.tf and a terraform script to launch a vm with the following characteristics:

Cores: 24
Memory: 163840
Disk: 4096 GB

Both methods failed and came back with the error:

The dashboard reports there is plenty of SSD space available:

What did you expect?
I expected the 4GB virtual disk to be provisioned.  I tapered the disk requirement down to 3TB [Failed], 2TB [Failed] and finally at 1TB (=1024GB) I could provision the VM's.
Monitoring shows that indeed I have provisioned 1TB:

But this is far from the reported upper limit of 7TB:

What browsers are you seeing the problem on?
Chrome
ZOS info
No response
Dashboard info

weblets info
No response
Relevant log output
No response

opened an issue for it on the typescript sdk https://github.com/threefoldtech/tfgrid-sdk-ts/issues/864


feat: Global Toast

What changed? Why?

created global <Toast> component
added Toast to playground with swap and transaction options

Notes to reviewers
How has it been tested?

closing this to start from scratch as we decided not to export the Toast component


AddVBAProject limitations

Description
I'm trying to use AddVBAProject function  but it has its limitations when vba code is in ThisWorkbook
I've created a file using MS Excel 2010

So I've extracted the vbaProject.bin from the above file and use it to add to a file generated with excelize, and it looks different

Steps to reproduce the issue:

Create a file manually using excel, and add code to ThisWorkbook for example MsgBox "Hi..!!"
Extract the vbaProject.bin
Execute this code

f := excelize.NewFile()

if err := f.SetSheetPrOptions("Sheet1", excelize.CodeName("Sheet1")); err != nil {
    fmt.Println(err)
}

if err := f.AddVBAProject("vbaProject.bin"); err != nil {
    fmt.Println(err)
}

if err := f.SaveAs("macros.xlsm"); err != nil {
    fmt.Println(err)
}

Open with Excel, it won't execute the vba code

Describe the results you received:

Describe the results you expected:

Output of go version:
go version go1.17.6 darwin/amd64
Excelize version or commit ID:
branch: master
commit: ad09698515b4f70496c950cca02ce612af8170e0
Environment details (OS, Microsoft Excel™ version, physical, etc.):
macos Big Sur 11.4
Investigation
I've compared files between:

File generated manually
File generated with go

Results: excelize generated all the necessary information BUT it has some missing changes for xl/workbook.xml
By MS Excel
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
          xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">

          <workbookPr codeName="ThisWorkbook" defaultThemeVersion="124226"/>

By Excelize
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
          xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15">

          <workbookPr defaultThemeVersion="164011" filterPrivacy="true"></workbookPr>

So:
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15" this line it's causing the issue
and
<workbookPr tag need and additional param codeName="ThisWorkbook"

@xuri I've created a PR, the quick solution would be modify the template for workbook https://github.com/qax-os/excelize/pull/1149/commits/9144ff13752ab527f611e9a6cded385e62f10bb9


Clarifying domain for gMSA to avoid confusion

Gotten feedback from users that using the domain name, will not always work. Must use FQDN, which results in using Kerberos and that's supported.

Learn Build status updates of commit 82b17e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AKS-Hybrid/prepare-windows-nodes-gmsa.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Fix typo in file name "instace_variables_type_inference.md"

Fixes typo that appears in documentation navigation, where it says "Instace" instead of "Instance".

Thanks!


Prevent text selection

When dragging points on cavas it selects text along the way, this css fix it.

I can't reproduce this problem on Firefox, but I will take your word that it is necessary for some other browser.  Thanks for the patch!

bug in chromium (brave)


Add more information about http2 connection

Is your feature request related to a problem? Please describe.
CONTEXT
Within the YDB SDK, client-side load balancing is used. We send a single request to any database node, and it returns an array of available endpoints. Our task is to maintain connections to these endpoints as needed: close connections that we no longer need to use, create new connections to those that are missing, balance requests across these connections, and have the ability to send a request to a specific connection.
PROBLEM
Currently, it's not very clear how to properly close a connection (graceful shutdown), how to obtain the status of a connection, and how to receive notifications when a connection has been closed.
ONLY FOR HTTP2
Describe the solution you'd like
Extends Transport with EventEmitter, emit information about transport status changes, add current status of connection.
Additional context
https://ydb.tech/docs/en/recipes/ydb-sdk/balancing
https://blog.ydb.tech/client-side-balancing-in-ydb-89677b34fd5b

For H/2 you can use the nodeOptions transport option to override createConnection callback to get a handle on the connection and inspect the status. If you want greater control over the connections you can use the sessionManager option to provide a NodeHttp2ClientSessionManager type to manage the connection.

Is connect-es provides default NodeHttp2ClientSessionManager ?

Yes, see the export Http2SessionManager.

How to gracefully shutdown htt2 connection (for example, server send me information do not use this endpoint) ? Maybe will be good implement disposable in transport?

It may be that the endpoint is available now, and after 5 minutes it is unavailable, and then it is available again. I need to effectively manage the current connections, understand in advance that the connection should not be used due to an error or loss of connection.

It may be that the endpoint is available now, and after 5 minutes it is unavailable, and then it is available again.

The default session manager manages the connections according to HTTP/2 semantics (like goaway) and has settings to tweak ping/idle timeouts. You can look at the source code here. If the existing options don't cover your use case you can tweak it to do as you need.

@srikrsna-buf I have a clear belief that Transport needs graceful shutdown (for example, Symbol.disposable), what do you think?

Can you explain a bit more why you think this is needed?

I see problems with memory leaks and connections here if the connection is often opened and closed (it is necessary to close connections in order to reduce the load on the third service with which these connections are established)

We will not emit events from Transport, and we will not make it disposable. It's a purposefully simple interface, and these features don't translate well to different HTTP versions, and will complicate implementations for different network stacks.
The abstractions here are Transport and UniversalClientFn. The Node.js client uses a NodeHttp2ClientSessionManager for HTTP /2. This is where you can hook in to manage HTTP/2 connections.
If you want to close all connections,

create a Http2SessionManager, pass it to the transport, and hold a reference
call abort to close all connections.

If you want to do it gracefully,

wait for all streams in your application to finish.
poll Http2SessionManager's state until it's idle before calling abort.

If you found a memory leak doing this, we'd appreciate a reproducible example, and will investigate it.
Symbol.dispose / disposeAsync could implement the above, but it's just sugar (that we currently cannot support with our minimum compiler versions).
It looks like the task from your issue description can be implemented by

create a transport for every endpoint
set a low idleConnectionTimeoutMs
use round robin to balance requests across the transports in your application code.

If you need more control, for example to implement DNS-based load balancing or connection pooling, you can implement it as a NodeHttp2ClientSessionManager. It's not trivial because the Node.js http2 module isn't easy to work with.

Just simple error case with memory leak:
let app = express()

app.use("/", (req, res) => {
  let data = await createClient(new Transport(), ClientSchema).callRPCMethod()

  res.send(JSON.strigify(data))
})

The transport will maintain the idle connection (for 15 minutes by default), so this will grow the number of connections (and memory use) quickly.
Instead, create the transport once and re-use it:
let app = express()

const transport = new createGrpcTransport();

app.use("/", (req, res) => {
  let data = await createClient(transport, ClientSchema).callRPCMethod()

  res.send(JSON.strigify(data))
})

(You'd keep references to multiple transports here if you want to go with balancing as outlined in https://github.com/connectrpc/connect-es/issues/1276#issuecomment-2493410362)
We don't have documentation besides the JSDoc comments in the source yet. We're tracking this in https://github.com/connectrpc/connectrpc.com/issues/41

I can fix my example by myself, thanks. But if I develop a managed service, for exmaple cloud functions, as aws lambda? Your library is making a pain.

@timostamm https://github.com/langchain-ai/langgraphjs/blob/main/libs/checkpoint-validation/README.md#destroycheckpointer-destroy-your-checkpointer

@timostamm Implementing methods for graceful connection shutdown is important for several reasons:
Resource Leaks: If connections are not closed properly, it can lead to resource leaks such as memory and file descriptor leaks. This can cause performance and stability issues in the application.
Security: Open connections can be vulnerable to attacks such as data interception or unauthorized access. Closing connections helps minimize these risks.
System Stability: Improper connection management can lead to exhaustion of available resources, causing system or application crashes.
Data Consistency: When working with databases, proper connection closure ensures that all transactions are completed and data remains consistent.
Performance: Open connections can consume significant resources, slowing down the system. Closing unused connections frees up these resources for other tasks.
I really want this to be done at the connect level because each consumer will have to write a lot of code and deal with a very complex Http2SessionManager.

Thanks for raising these concerns! However, we have no plans to work on this in the near term.


[session 04] TODO

For local repositories

[x] Configuring git
[x] Creating a local repository
[x] Uploading local repository to GitHub

For collaboration

[x] Forking a repository
[x] Cloning a repository
[x] Creating a branch
[x] Submitting a pull request

1b4fc7 addresses this issue


Toolbar in Tree view not screen readable

VSCode Version: Latest insiders
OS Version: OSX

Steps to Reproduce:

Enable Screen reader
Open Search view and search for some results
Navigate to remove action on search results

Remove action is not read as a button

@sandy081 The contents of tree rows are not the tree's responsibility, this needs to be addressed by the search viewlet itself.

Closing as this might not be an accessibility bug otherwise the accessibility team should have found it.


adds meta viewport tag for RWD goodness

Added the meta viewport tag -

So that mobile and tablet devices don't treat it as a 'desktop view'.
I might be adding this onto the wrong branch? Let me know.

@sturobson whoops, I always leave something out. Cheers, Stu :)


Add slave_load_tmpdir attribute.

Adds the slave_load_tmpdir attribute.

@bitpusher-real thanks again! I have rebased this on top of the latest master and merged it in as #323.


Detected package downgrade: Microsoft.AspNetCore.Mvc from 0.0.0 to 1.0.1

When I add FluentValidation.AspNetCore dependency in my project.json file I get this error on restore, and can't hit into controllers while debugging:
Detected package downgrade: Microsoft.AspNetCore.Mvc from 0.0.0 to 1.0.1
warn :  Project.API.Tests (>= 1.0.0) -> Project.API (>= 1.0.0) -> Project.Business (>= 1.0.0) -> FluentValidation.AspNetCore (>= 6.4.0-rc2) -> Microsoft.AspNetCore.Mvc
warn :  Project.API.Tests (>= 1.0.0) -> Project.API (>= 1.0.0) -> Microsoft.AspNetCore.Mvc (>= 1.0.1)
When I remove FluentValidation.AspNetCore dependecy everything works.
Project.json:
{
  "version": "1.0.0-*",

  "dependencies": {
    "Project.DAL": "1.0.0-*",
    "FluentValidation.AspNetCore": "6.4.0-rc2",
    "Microsoft.NETCore.App": {
      "version": "1.0.1",
      "type": "platform"
    },
    "AutoMapper.Extensions.Microsoft.DependencyInjection": "1.1.2"
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  }
}

Api project.json dependencies:
`"dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.1",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Routing": "1.0.1",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
    "StructureMap.Microsoft.DependencyInjection": "1.2.0",
    "AutoMapper": "5.1.1",
    "Project.Business": "1.0.0-*",
    "Microsoft.ApplicationInsights.AspNetCore": "1.0.2"
  },

  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
  }`

net core sdk is 1.0.3
{
  "projects": [ "src" ],
  "sdk": {
    "version": "1.0.0-preview2-003156"
  }
}

You need to report an issue on FluentValidation.AspNetCore to specify a package version of the  Microsoft.AspNetCore.Mvc dependency.
/cc @JeremySkinner

I'll try and get that done today. Weird it didn't come up in any of my testing.

I tried with lower beta versions, same issue.

@nukec You need to upgrade to Microsoft.AspNetCore.Mvc 1.1 to use FV's aspnetcore integration, but this isn't flagged up as the FV.AspNetCore package doesn't explicitly specify that it needs MVC 1.1, as @davidfowl  said.
I've created an issue for this over on the FV issues list, feel free to continue the conversation over there.
https://github.com/JeremySkinner/FluentValidation/issues/394

I just created new net.core project and added fluent validation in it and same error:

warn : Detected package downgrade: Microsoft.AspNetCore.Mvc from 0.0.0 to 1.0.1
warn :  WebApplication2-Test (>= 1.0.0) -> FluentValidation.AspNetCore (>= 6.4.0-beta3) -> Microsoft.AspNetCore.Mvc

@nukec I've not pushed out the change yet....as I said, I'll try and do it later today. Thanks for your patience.

Cool changed version and error is still there, but controller is hit and i guess works. thanks @JeremySkinner

/cc @emgarten That error message is broken. It's detecting a downgrade from 0.0.0 (null) to 1.1.0

@emgarten That error message is broken. It's detecting a downgrade from 0.0.0 (null) to 1.1.0

This is a known issue, it should be fixed in the current dotnet CLI.


Index and navigation docs

Any good project needs a good documentation.
While the docs are quite complete, people stay confusing where to start or continue looking at github code.
So I included a README.md to be a index, and at footer of each md file I appended a
next and index urls, so people can navigate easily at the docs.
The index is based on tree.yml, so i think its follows the intentions of author.

@alexandremasbr thank you for your proposal, but since now docs are available at https://emmett.sh/docs, I'm gonna reject this


Allow for "default" config to run if no path match

Hi!
Would it be possible to have a “default” build for when no path matched the watched folders?
So, basically, we’d like to have a pipeline definition like this:
steps:
  - key: tests-pipeline
    label: ":pipeline:"
    plugins:
      - monorepo-diff#v1.0.1:
          watch:
            - path: folder_a/**
              config:
                command: buildkite-agent pipeline upload a_tests.yml
            - path: folder_b/**
              config:
                command: buildkite-agent pipeline upload b_tests.yml
            - default:
              config:
                command: buildkite-agent pipeline upload other_tests.yml

We want other_tests to run if the changes happen on any folder other than folder_a or folder_b
Also, like the current functionality on the plugin, if change happens on all three "paths" we would like all three pipelines to run.
We could accomplish this with glob exclude patterns but they do not seem to work at the moment according to this issue: https://github.com/adikari/monorepo-diff-buildkite-plugin/issues/95

This would probably cover the suggestion raised in https://github.com/buildkite-plugins/monorepo-diff-buildkite-plugin/issues/20#issuecomment-2396413641 (aka else) quite nicely

Hey @fivetran-joseolmo
With the release of v1.1.0 which includes the support for a "default" config, wanted to check if this resolves this issue and the request?

Thanks for the ping @tomowatt.
I'm testing the new version and it does not seem to work for me, maybe I'm doing something wrong. I have this pipeline:
steps:
  - key: dynamic-test-pipeline
    label: ":fork: build pipeline based on diff changes"
    agents:
      queue: "default"
    plugins:
      - monorepo-diff#v1.1.0:
          log_level: "debug"
          interpolation: false
          diff: .buildkite/scripts/monorepo/diff-against-branch-point.sh
          watch:
            - path:
                - .buildkite/**
              config:
                label: ":buildkite:"
                command: echo ".buildkite changed"
            - path:
                - monorepo-test
              config:
                label: ":test_tube:"
                command: echo "monorepo-test changed"
            - default:
                config:
                  label: ":white_check_mark:"
                  command: echo "default triggered"

I have two folders, monorepo-tests and monorepo-tests-2, so I expected the default section to trigger for the monorepo-tests-2 but it doesn't.
Buildkite logs:
  | 2024-11-01 10:52:08 CEST | Running plugin monorepo-diff command hook | 6s
  | 2024-11-01 10:52:08 CEST | $ /buildkite/plugins/buildkite-agent-k8s-default-rv846-p5zpw-1/github-com-buildkite-plugins-monorepo-diff-buildkite-plugin-v1-1-0/hooks/command
  | 2024-11-01 10:52:08 CEST | INFO[0000] --- running monorepo-diff-buildkite-plugin 1.1.0
  | 2024-11-01 10:52:08 CEST | INFO[2024-11-01T09:52:08Z] Running diff command: .buildkite/scripts/monorepo/diff-against-branch-point.sh
  | 2024-11-01 10:52:13 CEST | DEBU[2024-11-01T09:52:13Z] Output from diff:
  | 2024-11-01 10:52:13 CEST | .buildkite/tests.yml
  | 2024-11-01 10:52:13 CEST | monorepo-test-2/README.md
  | 2024-11-01 10:52:13 CEST | monorepo-test/README.md
  | 2024-11-01 10:52:13 CEST | Generated Pipeline:
  | 2024-11-01 10:52:13 CEST | steps:
  | 2024-11-01 10:52:13 CEST | - label: ':buildkite:'
  | 2024-11-01 10:52:13 CEST | command: echo ".buildkite changed"
  | 2024-11-01 10:52:13 CEST | - label: ':test_tube:'
  | 2024-11-01 10:52:13 CEST | command: echo "monorepo-test changed"

Let me know if you need more info to debug

Hey @fivetran-joseolmo via https://github.com/buildkite-plugins/monorepo-diff-buildkite-plugin/issues/34 this should be fixed as of https://github.com/buildkite-plugins/monorepo-diff-buildkite-plugin/pull/38
Note that the default should not have a config

@fivetran-joseolmo with the latest release (v1.2.0) default can have the config or not :)

I think we can make it work with the current functionality as is though.

Thanks @fivetran-joseolmo! we'll check how we can do this better (either improve docs or add a new feature others )


Difficulties extending Alamofire

Hi there. I'm trying to extend Alamofire with additional Request and Response types. I'm building a SOAP library that has typed requests/responses. I found Alamofire nice to work with and would like to prevent reinventing the wheel for the http transport. However I've run into an issue which is preventing me from extending Alamofire to introduce these typed Requests. Ideally I'd like to build the following type;
class Request<T>: DataRequest {
    public func response(
        completionHandler: @escaping ((Response<T>) -> Void))
        -> Self
    { .... }
}

In my library I would extend SessionManager adding a new method that returns this type. However to achieve parity with the other requests methods, some internal types have to be used. I've highlighted those lines below.
extension SessionManager {
    func request<T>(_ urlRequest: URLRequestConvertible, some: T) -> Request<T> {
        var originalRequest: URLRequest?

        do {
            originalRequest = try urlRequest.asURLRequest()
>           let originalTask = DataRequest.Requestable(urlRequest: originalRequest!)

>           let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
            let request = Request(some: some, session: session, requestTask: .data(originalTask, task))

>           delegate[task] = request

            if startRequestsImmediately { request.resume() }

            return request
        } catch {
            return request(originalRequest, failedWith: error)
        }
    }
}

At the moment I'm simply wrapping the request and response types. However the obvious drawback here is that the API becomes rather ugly as calls can no longer be chained;
wrapperRequest.response(...) < response is of type "Wrapper"Request
wrapperRequest.request.authorization(...)  < response is of type Alamofire.Request

Thus finally my question. A lot of classes and properties have been marked "open", which communicate that they might be overridden. However some of the building blocks have been hidden which prevent further customization. Is it possible that these internal types become open as well?

Hi @Bouke!
Without more detail on your "typed requests", I think you can accomplish what you want much more simply by following the patterns we lay out in our README. I'm guessing that you've been able to get your response methods working, which is great, so I'll focus on your request methods.
Rather than subclassing, perhaps you can start by extending. In my current project I've created a couple protocols to help encapsulate the routing and parameters of each request. It's easy to hook this into Alamofire with the following extension:
extension SessionManager {

    func request<T: URLRequestRoutable>(_ parameters: T) -> DataRequest {
        return request(parameters.route)
    }

}

By combining this with a Router or some other sort of URLRequestConvertible, a proper ParameterEncoding to generate your SOAP requests, and a custom ResponseSerializer to generically serialize your responses, you should be able to accomplish what you need with subclassing at all.

Hi @jshier, thanks for your swift reply!
For example my SOAP server might expose a method foo(input: FooType) -> BarType. The server exposes a WSDL (with XSD) that my library will use to generate Swift code for. Something like;
class FooBarServiceClient: Client {
    func foo(input: FooType) -> Request<BarType> {...}
}

When calling this method FooType will be serialized into XML (SOAP Envelope). The response is also XML (SOAP Envelope) which will be deserialized into BarType.
I would be able to deserialize into a generic Envelope. The problem with having only DataRequest available, I lose type information and I cannot deserialize Envelope into BarType.
extension SessionManager {
    func request<T: URLRequestRoutable>(_ parameters: T) -> DataRequest {
                                                            ^^^^^^^^^^^
        return request(parameters.route)
    }
}

For reference, this is the wrapping Request<T> type.
public struct Request<T> {
    var request: DataRequest
    var responseDeserializer: (Envelope) throws -> T

    @discardableResult
    public func response(
        completionHandler: @escaping ((Response<T>) -> Void))
        -> Request
    {
        request
            .response(responseSerializer: EnvelopeDeserializer()) { originalResponse in
                let response = Response(
                    request: self,
                    result: try! self.responseDeserializer(originalResponse.result.value!)
                )
                completionHandler(response)
            }
        return self
    }
}

What I was trying to point out is that your wrapper is largely unnecessary and really goes against the grain of Alamofire's architecture, which you've already felt. Everything you're doing is already doable using the protocols and functions built into Alamofire. Now, I'm not really familiar with the requirements of a SOAP API (thankfully), but looking at your code, you need just a few things. But first, some general design philosophy.
As you noticed, chaining is at the core of Alamofire's design philosophy for the top level APIs. The ability to pipe a single request through multiple response serializers, or generally, any request to any supported serializer is key to the success of the framework. This is also one of the reasons why Alamofire's various *Request types are not generic. Fundamentally the request you make shouldn't impact the type you serialize from its response. This way you can chain whichever response serializers onto the request you want and all of them will take the same response data and return whatever types they need. The Request<T> type you've shown has really nothing to do with the various requests types used by Alamofire.
So, like I said, there are few things you specifically need here. Protocols for your requests and responses (perhaps SOAPEncodable and SOAPDecodable).   Also, a generic response serializer, SOAPSerializer<T> would serialize the responses. Then you'd ultimately have extensions, like I've show, that would result in functions like this:
func perform<T: SOAPActionConvertible, U: SOAPDecodable>(_ action: T, completionHandler: @escaping (_ response: DataResponse<U>) -> Void) -> DataRequest {
    return Alamofire.request(action).responseSOAP { response in
        completionHandler(response)
    }
}

Where responseSOAP is a generic extension to DataRequest:
func responseValue<T: SOAPDecodable>(completionHandler: @escaping (_ response: DataResponse<T>) -> Void) -> Self {
        return response(responseSerializer: SOAPSerializer(), completionHandler: completionHandler)
    }

Then, you'd generate your SOAPActionConvertible types and your SOAPDecodabe types based on your WSDL. You can then use this single path through Alamofire to perform your requests.

Ah yes now it's starting to get clear to me. I've compiled a small sample of the above;
import Foundation
import Alamofire

// MARK:- library code
protocol SOAPActionConvertible: URLRequestConvertible {
}
protocol SOAPDecodable {
    init(decode: Data)
}
@discardableResult
func perform<T: SOAPActionConvertible, U: SOAPDecodable>(
    _ action: T,
    completionHandler: @escaping (_ response: DataResponse<U>) -> Void)
    -> DataRequest
{
    return Alamofire.request(action).responseSOAP { completionHandler($0) }
}
struct SOAPSerializer<Value: SOAPDecodable>: DataResponseSerializerProtocol {
    public typealias SerializedObject = Value
    public var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value> = { (_, _, data, _) in
        return .success(SerializedObject(decode: data!))
    }
}
extension DataRequest {
    func responseSOAP<T: SOAPDecodable>(
        completionHandler: @escaping (_ response: DataResponse<T>) -> Void)
        -> Self
    {
        return response(responseSerializer: SOAPSerializer(), completionHandler: completionHandler)
    }
}

// MARK:- generated code
struct FooType {
    let a: Int
    let b: Int
}
struct FooAction: SOAPActionConvertible {
    let foo: FooType
    func asURLRequest() throws -> URLRequest {
        return URLRequest(url: URL(string: "http://httpbin.org/get")!)
    }
}
struct BarType {
    let c: Int
}
struct FooResponse: SOAPDecodable {
    let bar: BarType
    init(decode: Data) {
        bar = BarType(c: 3)
    }
}

// MARK:- usage
let request = perform(
    FooAction(foo: FooType(a: 1, b: 2)),
    completionHandler: { (response: DataResponse<FooResponse>) in
        print(response.result.value)
    })

Now in order to make the call site even clearer, I could also generate a Client with concrete types;
// MARK:- generated client
struct FooBarServiceClient {
    @discardableResult
    func foo(
        input: FooType,
        completionHandler: @escaping (_ response: Result<BarType>) -> Void)
        -> DataRequest
    {
        return perform(
            FooAction(foo: input),
            completionHandler: { (response: DataResponse<FooResponse>) in
                completionHandler(.success(response.result.value!.bar))
            })
    }
}

// MARK:- usage
let client = FooBarServiceClient()
client.foo(input: FooType(a: 1, b: 2), completionHandler: { bar in print(bar.value!.c) })

There are some nice aspects of this; mostly relying on Swift's type resolver to inject the correct types. There's also a few things left to work on. A user might want to set a "SOAP Header" (xml element additional to the method parameters) for all future method calls. In order to do this; SOAPActionConvertible would have to also know about these headers. This would however introduce a lot of complexity on all the generated types. For now I've settled on an intermediate type Envelope (soap-speak for a xml message that contains body + headers). The response is also an Envelope which can be decoded back to the method's return type.
extension DataRequest {
    @discardableResult
    func responseSOAP(
        completionHandler: @escaping (_ response: DataResponse<Envelope>) -> Void)
        -> Self
    {
        return response(responseSerializer: EnvelopeDeserializer(), completionHandler: completionHandler)
    }
}

In the library, this method is called like this:
open class Client {
    open func call<T>(
        serialize: (Envelope) throws -> Envelope,
        deserialize: @escaping (Envelope) throws -> T,
        completionHandler: @escaping (Result<T>) -> Void)
        -> DataRequest
    {
        let envelope = try serialize(Envelope())
        var request = URLRequest(url: endpoint)
        // set correct parameters on request
        return Alamofire.request(request).responseSOAP {
            do {
                completionHandler(.success(try deserialize($0.result.resolve())))
            } catch {
                completionHandler(.failure(error))
            }
        }
    }
}

And finally the generated code calls the generic call<T> method:
client FooBarServiceClient {
    @discardableResult func foo(
        _ parameter: FooType,
        completionHandler: @escaping (Result<BarType>) -> Void)
        -> DataRequest
    {
        return callAsync(
            serialize: { envelope in
                // add xml to envelope
                return envelope
            },
            deserialize: { envelope in
                return try BarType(deserialize: node)
            },
            completionHandler: completionHandler)
    }
}

Quite a lot of moving parts though and I'd like to further apply generics on the code. But for now I'm quite fond of the result. Many thanks for your time!


Update styles for sidebar and main page.

@Erioldoesdesign I've made some updates here. One thing I am curious about is how folks want the design to behave responsively--please try resizing the window on desktop, and checking out on mobile. As it is now we'll need to adjust the breakpoint to mobile.
Other things:

set headings to have a background-color of black with white text, but didn't adjust the type scale, with the thinking that the content-editor might select/adjust that themself
have the bg image of the scientist fixed in a way as much similar to the mockup, and set it in a way where it doesn't overlap too much with text as it was hard to read I think (on desktop anyway)
I'm sorta eye-balling guessing the type being used (assuming JetBrains for headings, IBM Plex Sans everywhere else)
I'm approximating spacing, using 8-grid where appropriate

If you can give me some feedback on the aforementioned and anything else that is off I would appreciate it!!
fyi- I'll adding buttons next Mon/Tues

Will take a look today @oilsinwater :)


#2666 put t_+ back inside div, loosen tolerance for test

Description
Fixes bug introduced that made electrolyte conservation a bit better for constant transference number, but a lot worse for non-constant
Fixes #2666
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all
[ ] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

I think the issue is with one of the getting started notebooks but not sure which one...

I think the issue is with one of the getting started notebooks but not sure which one...

It works locally for me so hard to debug. Can you test it locally?

It looks like the problem is with the model options notebook. I don't know why, but when running it in this branch it gets stuck while in the develop branch it doesn't. Could it be the change in the definition of the flux affecting the heat source terms?

It's working fine for me. Have you tried merging the develop branch and running again?

It's working fine for me. Have you tried merging the develop branch and running again?

Which OS are you using? I suspect it might be an Ubuntu issue.

It's working fine for me. Have you tried merging the develop branch and running again?

Which OS are you using? I suspect it might be an Ubuntu issue.

Ubunto 20.04 via WSL

Hey @all-contributors, please add @DrSOKane for reviewing PRs

@all-contributors, please add @DrSOKane for reviewing PRs


How to load a class in Python from a Typescript file ?

Hi there!
I was just trying out JSPyBridge and I wanted to load a class in my Python file from a Typescript file. But I got an error "Unknown file extension '.tsx' ".
I just wanted to know if that's normal, or if there were some workaround ?
Node version : v16.14.2
My Typescript file :

class Animal {
    name: string;
    age: number;

    constructor(name: string, age: number) {
        this.name = name;
        this.age = age;
    }

    makeSound(): void {
        console.log(`${this.name} makes a sound.`);
    }
}

My Python file :
from javascript import require
animal = require('./animal.tsx')
x = animal.Animal(name="xxx", age=8)
print(x)

And here's the stacktrace :
☕  JavaScript Error  Call to 'require' failed:
> animal = require('./animal.tsx')
  at <module> (C:\Users\Utilisateur\PycharmProjects\bridge\main.py:2)
>

... across the bridge ...

  at processTicksAndRejections (node:internal/process/task_queues:96:5)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
  at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
  at new ModuleJob (node:internal/modules/esm/module_job:66:26)
  at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
  at ESMLoader.load (node:internal/modules/esm/loader:359:26)
  at defaultLoad (node:internal/modules/esm/load:21:14)
  at defaultGetFormat (node:internal/modules/esm/get_format:102:38)
  at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:87:11)
  at new NodeError (node:internal/errors:371:5)
  TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".tsx" for C:\Users\Utilisateur\PycharmProjects\bridge\animal.tsx
> ^
🌉 TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".tsx" for C:\Users\Utilisateur\PycharmProjects\bridge\animal.tsx

Process finished with exit code 1

Thank you !

The typescript file cannot be executed by Node.js directly. You need to compile it to JavaScript with the tsd compiler then import the resulting .js file.
Please see https://www.geeksforgeeks.org/how-to-compile-a-typescript-file/

Thank you. I'm closing this.


The “Next” button is overlapped by Toolbar on the “How Mach?” page

Description
The “Next” button is overlapped by Toolbar on the “How Mach?” page
Preconditions:

The site is opened
The user is logged in

Steps to reproduce:

Click the “Receive” button
Click the “Request Specific Amount” button
Click the “Skip” button
Pay attention to the page

Actual result: The “Next” button is overlapped by Toolbar on the “How Mach?” page
Expected result: The “Next” button is not overlapped by Toolbar on the “How Mach?” page
Supporting data
Env https://goodqa.netlify.com
iPhone6 12.3.1, Safari
https://www.screencast.com/t/Ulxkn1anhDv

closing as dup of #324


Add a go module

I couldn't make a optional parameter and you can't make a const array in go, but

An array isn't immutable by nature; you can't make it constant.

I had to use CamelCase, because go its very strict of x-case. I can use kebab-case but go's linting doesn't like that.


Add note about rkt under CRI to rktnetes page

When I wanted to try using rkt as the runtime I found the documentation confusing as there are two different approaches - rktnetes, and the (experimental) rktlet CRI shim. I'm attempting to add some clarity by adding a note to the rktnetes page.

This change is

/lgtm
@lizrice can you click “Allow edits from maintainers” box on the right so we can rebase before merging?

Sorry, thought I'd done that checkbox but evidently not! Thanks


Caching calls to compile function

I am not really sure about the inner workings of jq, but I was wondering if caching the calls to the pyjq.compile function https://github.com/doloopwhile/pyjq/blob/master/pyjq.py#L11
would improve performance (I am not even sure if this is a bottleneck, though). Something similar to the re standard library implementation.
Maybe something as simple as wrapping the pyjq.compile function with @functools.lru_cache decorator https://docs.python.org/3/library/functools.html#functools.lru_cache might do the trick?
Do you think this makes sense to investigate further?

Your suggestion looks correct. Caching ought to improve performance.
However, I do not intent to add caching because I wrote this library just as a practice.
I am going to accept your pull request.


Added code editor parsing

What are we adding in this PR
This PR adds the parsing logic for the code editor. It takes in a JSON string provided by the app creator and converts it into a UI using EE widgets. Some examples are shown below.
Screenshots

Implementation Details
At the top level we have an app object that acts as the namespace of our application. The app object will contain the following properties and methods:
interface app {
    widgetTreeRoot: EEPanel | null;
    widgetInterface: {[key: WidgetID]: {node: EEWidget, map?: EEMap}} | {};

    /**
    * Create widgets interface and initialize widgetTreeRoot.
    */
    init(): void;
    /**
    * Add widgets to ui.Root and populate the UI.
    */
    draw(): void;
    deserializeUI(): EEPanel;

    createUIElement(): {node: EEWidget | null, map?: EEMap};
    createLabelElement(): {node: EELabel};
    createButtonElement(): {node: EEButton};
    createTextboxElement(): {node: EETextbox};
    createSelectElement(): {node: EESelect};
    createChartElement(): {node: EEChart};
    createSliderElement(): {node: EESlider};
    createCheckboxElement(): {node: EECheckbox};
    createMapElement(): {node: EEPanel, map: EEMap};
    createPanelElement(): {node: EEPanel};
    getPosition(): 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | '';
    filterStyleObject(): {[key: string]: string};
}

Fantastic work! It's well written and simple to read. I left a few suggestions, mostly that we can serialize the JSON properly so we don't have to do much parsing on the CE side.


[Do Not Mege] Don't override email with one from Paypal

Don't override customers email with the one returned from Paypal
Don't override customers shipping address with the one returned from Paypal

TODO:

Work out how to run the tests just using nose
Fix the test broken by my changes

Ignore this I want to merge this into my fork.


mocap4r2: 0.0.7-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository mocap4r2 to 0.0.7-1:

upstream repository: https://github.com/MOCAP4ROS2-Project/mocap4r2.git
release repository: https://github.com/MOCAP4ROS2-Project/mocap4r2-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.0.6-1

mocap4r2_control

No changes

mocap4r2_control_msgs

No changes

mocap4r2_dummy_driver
* Dummy driver initial version
* Contributors: Francisco Martín Rico

mocap4r2_marker_publisher

No changes

mocap4r2_marker_viz

No changes

mocap4r2_marker_viz_srvs
* Fix compilation
* Contributors: Francisco Martín Rico

mocap4r2_robot_gt

No changes

mocap4r2_robot_gt_msgs

No changes

rqt_mocap4r2_control

No changes

This PR tries to fix one error building mocap4r2_marker_viz in the buildfarm.

Holding for Humble sync


rubygems-proxy.torquebox.org is down again

Hello,
rubygems-proxy.torquebox.org is redirecting to some strange website, and we are not able to retrieve the artifacts, could you please take a look? thanks a lot guys

@musdechocolate The proxy servers are no longer used, and no longer the best way to resolve gem dependencies.
You should switch to using the mavengem extension, which does what the proxy servers did but entirely on your local machine.
https://github.com/jruby/mavengem/tree/master/mavengem-wagon
Let me know if you have any issues migrating!