Add Colab and Binder badges to Supermarq notebooks

do we have to add the pip install .. lines to these to make them runable?

do we have to add the pip install .. lines to these to make them runable?

Yeah, good catch. Just added the try..except for supermarq install (in https://github.com/Infleqtion/client-superstaq/pull/1040/commits/ceb41a869c3b3c547c3aac0bbf13ec6afcd97d82) if that's what you're referring to


Idempotency Interceptor Refactor

This patch refactors the idempotency interceptor to use twin locking domains based on the volume name and ID. Additionally, the interceptor has been optimized to no longer require name lookups for each operation.

Hi @cpuguy83, @jdef, @jieyu, @saad-ali, @julian-hj,
I wouldn't mind you three taking a look at this PR and providing any feedback you might have. Please bear in mind there is a separate PR for this repo that incorporates the credentials change, so if you look closely at this one you'll notice credentials still have the wrapper struct in place.


Add demo shell

Current dependencies on/for this PR:

main

PR #157   👈

This comment was auto-generated by Graphite.


PSWriteHTML 1.0.0 is broken release in PSGallery

As in topic. Remove it, new version will follow.

New version released


Import the SUT's state model from the outside

Is it possible to import the Software Under Test's state model before starting the fuzzing process?

Hi,
AFLNet does not support that feature yet but I believe it can be done with some changes. Basically, you can let AFLNet take a state model but no seed input is attached to state nodes initially. When you start the dry-run phase and fuzzing phase, seeds & newly generated inputs can be attached to nodes. When you select a state/node on the state model to do targeted search, you can check if there are some seeds attached to that node. If not, you can skip. Does it make sense?
I hope it helps.
Thuan

Hi,
thank you for the prompt reply!
Yes, it makes sense; I might skip the node, or try other seeds (attached to other nodes perhaps).
Thanks,
Cris

Since my suggestion makes sense to you, I close this issue. Please feel free to reopen it.


updated replication policy

changed number of replicas to zero and added blocked nodes KNB and USCB1 per conversation here: https://github.nceas.ucsb.edu/KNB/arctic-data/issues/252

LGTM, thanks!


cake-contrib user on NuGet

First of all, I wanted to thank you for adding to the Cake community by adding this addin.
I was just wondering if you had seen this blog post:
http://cakebuild.net/blog/2016/08/cake-contribution-organization
We are currently going through a process of increasing the visibility of addins, and also trying to ensure their long term maintainability.
To that end, we are asking addin creators to add the cake-contrib user on NuGet as a co-owner (this can be done through the NuGet website by clicking on Manage Owners on the package page).
Would you be interested in doing this for Cake.AWS.CloudFront? If you have any questions about this, please let me know. There was some initial concern that the Cake Team were trying to "take over" packages, and that couldn't be further from the truth, and if you have this concern, or others, I would like to address them.
Thanks!

sorry for the late reply, I have now added cake-contrib as co-owner.

@mathieukempe thank you very much! 😄


Initial version of filmstripLayout

Q
A

Bug fix?
[ ]

New feature?
[x]

New sample?
[ ]

Related issues?

Related pull request
#350

What's in this Pull Request?
A filmstrip control to simplify rendering web parts with the standard filmstrip layout.

Codecov Report

Merging #351 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #351   +/-   ##
=======================================
  Coverage   72.88%   72.88%
=======================================
  Files          17       17
  Lines         767      767
  Branches      149      149
=======================================
  Hits          559      559
  Misses        161      161
  Partials       47       47

Continue to review full report at Codecov.

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

Replaced by #357


⚠ Bofrost.de has degraded performance

In 67f735e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1257 ms

Resolved: Bofrost.de performance has improved in ed1c58a.


Tags instead of Campaings

Campaigns are now deprecated and unsupported.
Code needs to be rewritten to work with tags.

https://github.com/Pytlicek/MailgunMailer/commit/a2f584b4a0f12f4b608a7e08bc1c9f309d437336


Trivial typo fix, 'recieving' -> 'receiving'

Fix a typo in a comment. No code change.

Thank you @cliochris


Relative and Absolute path are the same

function relative(directory) {
    return url.resolve(options.path, directory);
}

function absolute(directory) {
    return url.resolve(options.path, directory);
}

Absolute should be website.com/images/favicon.ico.
Relative should be images/favicon.ico.

Fixed in<EMAIL_ADDRESS>


"Cărpeniș" is listed in the drop-down menu

Description:
"Cărpeniș" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Cărpeniș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Cărpeniș, Argeș (Cepari)".


update configuration samples and docs

update samples to RTM
update refs to API docs
convert some inline code to external samples so they are always buildable.

NOTE: I put a NuGet.config in the root so that all the samples would be able to access the 1.0.0 packages... Not sure if that's the ideal way to do this right now, but I'm leaving it in for comment.
/cc @Rick-Anderson @rachelappel @danroth27

@danroth27 have the API docs been updated for RTM? I'm getting missing references in build again...

/cc @cesarbs

LGTM, but I don't think we should ship the Nuget.config file. When we ship everything will be up on nuget.org.

@anurse I don't think Dan's updated them yet.

@cesarbs I agree in general but a) this NuGet.config file isn't "shipped", it's just part of the repo for building and b) removing aspnet1 from the feed list would be something that should happen on the day we ship (so we can continue testing and building the existing samples)

@anurse this builds cleanly now. Can you rebase?

I'll take care of rebasing this one: https://github.com/aspnet/Docs/pull/1531

0566cbd11c8dbce7472ea3517f4445894be9e1fb


Incorrect autocorrection of increment

i=i+1
gets autocorrected as:
i+ = 1
which raises syntax error with ruby 2.1.8.

Expected behavior
i += 1
Actual behavior
i+ = 1
Steps to reproduce the problem
$ cat increment.rb
i=i+1
$ rubocop -a increment.rb
Inspecting 1 file
E
Offenses:
increment.rb:1:1: C: [Corrected] Use self-assignment shorthand +=.
i=i+1
^^^^^
increment.rb:1:2: C: [Corrected] Surrounding space missing for operator =.
i=i+1
^
increment.rb:1:4: C: [Corrected] Surrounding space missing for operator +.
i=i+1
^
increment.rb:1:4: E: unexpected token tEQL
(Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
i+ = 1
^
1 file inspected, 4 offenses detected, 3 offenses corrected
$ cat increment.rb
i+ = 1
RuboCop version
$ rubocop -V
0.47.1 (using Parser <IP_ADDRESS>, running on ruby 2.1.8 x86_64-darwin15.0)

Likely a bad interaction with some other auto-correct.


Health indicator

Spring comes with an integrated health indicator.
Here you can see the out of the box list:
https://github.com/joansmith2/spring-boot/blob/master/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java#L30-L45
Those help for example in an kubernetes/OpenShift context to restart the pod if the broker connections was lost / the session was destroyed).To enshure that the pod is not running without jcsmp session and any possibility to recover this at some point.
Her is the it is a sample health check for JMS:
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/jms/JmsHealthIndicator.java
Would you also provide an HelthIndicator for jcsmp?

Ping @dabgmx @uherbstsolace

thank you for the suggestion @GreenRover . I am with the Product Management team at Solace and we have logged this as an Enhancement Request against this project. I am not able to give a timeframe for which Solace might address the ER.

A sample how  i would implement it.
@Service
@RequiredArgsConstructor
public class SolaceMom implements HealthIndicator {
	private final static String HEALTH_KEY = "Solace";

	private JCSMPSession session;
	private final SpringJCSMPFactory factory;
	private boolean connected = false;

	@PostConstruct
	private void init() throws JCSMPException, UnknownHostException {
		session = factory.createSession(null, this::handleSessionEvents);

		producer = session.getMessageProducer(new JCSMPStreamingPublishEventHandler() {

			@Override
			public void handleError(final String messageID, final JCSMPException e, final long timestamp) {
				log.error(String.format("Producer received error for msg: %s@%s - %s", messageID, timestamp, e));
			}

			@Override
			public void responseReceived(final String messageID) {
			}
		});

		connected = true;
	}

	private void handleSessionEvents(SessionEventArgs ev) {
		switch (ev.getEvent()) {
		case DOWN_ERROR:
			connected = false;
			log.error("Solace session is going down", ev.getException());
			break;
		case RECONNECTED:
			connected = true;
			log.info("Succesfull reconnected to broker");
			break;
		case RECONNECTING:
			connected = false;
			log.info("Try to reconnected to broker");
			break;
		case SUBSCRIPTION_ERROR:
		case UNKNOWN_TRANSACTED_SESSION_NAME:
		case VIRTUAL_ROUTER_NAME_CHANGED:
		default:
			log.error("Solace: " + ev.getEvent().toString(), ev.getException());
			break;
		}
	}

	@Override
	public Health health() {
        if (!connected) {
            return Health.down().withDetail(HEALTH_KEY, "Not connected").build();
        }

        return Health.up().withDetail(HEALTH_KEY, "Connected").build();
	}
}

With spring cloud stream connfigurations like:
         binders:
           test_solace:
             type: solace
             environment:
               solace:
                 java:
                   connectRetries: 2
                   reconnectRetries: 4
                   connectRetriesPerHost: 2
                   reconnectRetryWaitInMillis: 500

In case of a longer interuption to the broker this well lead into a total app is non functional but not into the expected an app restart.
2020-09-07 11:17:51.150  INFO 15896 --- [1_ReactorThread] c.s.j.protocol.impl.TcpClientChannel     : (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: 59313   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - handleException(): Channel Closed Event (smfclient 1)
2020-09-07 11:17:51.150  INFO 15896 --- [ask-scheduler-5] c.s.j.protocol.impl.TcpClientChannel     : (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: 59313   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - handleException(): Channel Closed Event (smfclient 1)
2020-09-07 11:17:51.157  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connecting to host 'orig=shared-rcssolace-node01.otc-test.sbb.ch, host=shared-rcssolace-node01.otc-test.sbb.ch' (host 1 of 2, smfclient 1, attempt 1 of 8, this_host_attempt: 1 of 3)
2020-09-07 11:17:52.418  INFO 15896 --- [1_ReactorThread] c.s.j.i.timers.PubRetransmitTimedTask    : Executing timed publisher retransmission.
.......
2020-09-07 11:25:42.155  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connection attempt failed to host 'shared-rcssolace-node02.otc-test.sbb.ch' ReconnectException com.solacesystems.jcsmp.JCSMPTransportException: (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - Error communicating with the router. cause: java.net.ConnectException: Connection timed out: no further information
2020-09-07 11:25:42.656  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connecting to host 'orig=shared-rcssolace-node02.otc-test.sbb.ch, host=shared-rcssolace-node02.otc-test.sbb.ch' (host 2 of 2, smfclient 1, attempt 8 of 8, this_host_attempt: 2 of 3)
2020-09-07 11:26:03.661  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connection attempt failed to host 'shared-rcssolace-node02.otc-test.sbb.ch' ReconnectException com.solacesystems.jcsmp.JCSMPTransportException: (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - Error communicating with the router. cause: java.net.ConnectException: Connection timed out: no further information
2020-09-07 11:26:04.162  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connecting to host 'orig=shared-rcssolace-node02.otc-test.sbb.ch, host=shared-rcssolace-node02.otc-test.sbb.ch' (host 2 of 2, smfclient 1, attempt 8 of 8, this_host_attempt: 3 of 3)
2020-09-07 11:26:25.196  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Connection attempt failed to host 'shared-rcssolace-node02.otc-test.sbb.ch' ReconnectException com.solacesystems.jcsmp.JCSMPTransportException: (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - Error communicating with the router. cause: java.net.ConnectException: Connection timed out: no further information
2020-09-07 11:26:25.697  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Stale reconnect task, aborting reconnect.
2020-09-07 11:26:25.698  INFO 15896 --- [connect_service] c.s.j.protocol.impl.TcpClientChannel     : Channel Closed (smfclient 1)
2020-09-07 11:26:25.699  INFO 15896 --- [ransmit_service] c.s.j.protocol.impl.TcpClientChannel     : (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - handleException(): Channel Closed Event (smfclient 1)
2020-09-07 11:26:25.705  INFO 15896 --- [connect_service] c.s.jcsmp.impl.flow.SubFlowManagerImpl   : SubChannel (smfclient 1, name=K44279/15896/#00100001/mVVmNoxxjl, desc=) threw exception, non-recoverable.

com.solacesystems.jcsmp.JCSMPTransportException: (JCSMPTransportException) Error receiving data from underlying connection.
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel$ClientChannelReconnect.call(TcpClientChannel.java:2325) ~[sol-jcsmp-10.9.0.jar:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_162]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_162]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_162]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_162]
Caused by: com.solacesystems.jcsmp.JCSMPTransportException: (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - Error communicating with the router.
	at com.solacesystems.jcsmp.protocol.impl.TcpChannel.executePostOnce(TcpChannel.java:251) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.ChannelOpStrategyClient.performOpen(ChannelOpStrategyClient.java:91) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.performOpenSingle(TcpClientChannel.java:399) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.access$800(TcpClientChannel.java:106) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel$ClientChannelReconnect.call(TcpClientChannel.java:2161) ~[sol-jcsmp-10.9.0.jar:na]
	... 4 common frames omitted
Caused by: java.net.ConnectException: Connection timed out: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_162]
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_162]
	at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:111) ~[na:1.8.0_162]
	at com.solacesystems.jcsmp.protocol.smf.SimpleSmfClient.open(SimpleSmfClient.java:887) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.smf.ZSmfClient.open(ZSmfClient.java:62) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.smf.ZSmfClient.doPostNoResponse(ZSmfClient.java:83) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.smf.SimpleSmfClient.doPost(SimpleSmfClient.java:229) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpChannel.executePostOnce(TcpChannel.java:196) ~[sol-jcsmp-10.9.0.jar:na]
	... 8 common frames omitted

2020-09-07 11:26:25.705  INFO 15896 --- [connect_service] c.s.jcsmp.impl.JCSMPXMLMessageProducer   : [JCSMPSession[default@shared-rcssolace-node01.otc-test.sbb.ch,shared-rcssolace-node02.otc-test.sbb.ch] (0001)] Transport exception occurred when message Id is not available

com.solacesystems.jcsmp.JCSMPTransportException: (JCSMPTransportException) Error receiving data from underlying connection.
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel$ClientChannelReconnect.call(TcpClientChannel.java:2325) ~[sol-jcsmp-10.9.0.jar:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_162]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_162]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_162]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_162]
Caused by: com.solacesystems.jcsmp.JCSMPTransportException: (Client name: K44279/15896/#00100001/mVVmNoxxjl   Local port: -1   Remote addr: shared-rcssolace-node02.otc-test.sbb.ch  Remote port: 55003) - Error communicating with the router.
	at com.solacesystems.jcsmp.protocol.impl.TcpChannel.executePostOnce(TcpChannel.java:251) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.ChannelOpStrategyClient.performOpen(ChannelOpStrategyClient.java:91) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.performOpenSingle(TcpClientChannel.java:399) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.access$800(TcpClientChannel.java:106) ~[sol-jcsmp-10.9.0.jar:na]
	at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel$ClientChannelReconnect.call(TcpClientChannel.java:2161) ~[sol-jcsmp-10.9.0.jar:na]
	... 4 common frames omitted

Our maintainers would certainly entertain a pull request for this if you were interested.

We add this now to spring cloud stream binder;

We add this now to spring cloud stream binder;


chore: update form fields and add onBlur event

Referral code shouldn't be visible unless the checkbox is checked.
And right below the checkbox,
Add line "campus ambassadors need to get minimum of 50 registrations from their institute in order to be eligible for perks"


Consider to remove sbt-org-policies dependency

Currently, sbt-microsites depends on sbt-org-policies that depends on the sbt-microsites plugin.
This creates classpath conflicts and makes difficult to release new versions for both projects.

sbt-org-policies is no longer providing sbt-microsites, so the circle has been broken ;)


Allow the user to override and/or replace the Start node

@bryant1410 I needed to do something similar to the Start node with some customization on the resize & crop functions. I think the MPSImage extension needed to be public because it's a good helper :) (and it's used by the Start node)


Question: What are the .a files?

Thank you for inviting!
I was wondering what the .a files in pkg directory are. Is this necessary to compile something?

Yes, the .a files are used to resolve packages by the gopherjs compiler. Upstream renames these to a.js but that's a confusing convention and astonishes when people try to view source.

Confirmed that they are binary-formatted but include JavaScript sources. Thank you for explanation.


blank black page on first load after clearing the browser cache

OHIF viewer takes a while to load when it opened after clearing the browser cache and all that is displayed while its loading is a blank black page. Would it be possible to add some kind of loading progress indicator as this would make things a bit more user-friendly?

The goal here is to get to the point where a loading progress indicator isn't needed. For PWA builds, this should be possible by leveraging code splitting. We have several efforts under way to improve our time to first paint and time to first interaction metrics.
We started with our recent changes to meet the Google Lighthouse PWA requirements. We're now addressing code-splitting of cornerstone-wado-image-loader's decoders/codecs. Next will be code-splitting extensions and larger dependencies in @ohif/viewer.


Workflow disappeared from catalog

Hi @johanneskoester,
this catalog is a great idea and since its inception, I've worked a bit to adjust my workflow (ARPEGGIO) to follow all the formatting and linting standards.
Unfortunately the last action fix caused my workflow to disappear from the catalog and I'm not sure why. I tried to look into this, but I wasn't able to find any clue.
Best,
Stefan

My repo https://github.com/nikostr/dna-seq-deepvariant-glnexus-variant-calling is not showing up, even though it seems to fulfill the criteria specified. I tried cloning this repo and running the generate_catalog.py script locally, limiting the search to each of our repos, as well as the repos matching the pattern snakemake-deepvariant. The two latter ones do show up in the actual catalog, neither of ours do, but when running the script, they give the same logfile output. Very strange.

Okay, I've looked closer at this, and it lead me here:
https://github.com/snakemake/snakemake-workflow-catalog/runs/2506448252?check_suite_focus=true
It seems as if the action handles about 1000 repos before failing quietly. This might be related to the 1000 API requests/hour limit mentioned here: https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration
Not sure how to work around this.

Good catch @nikostr!
I tried to find out ways to confirm what you found and it seems like this issue has been present since earlier. This is the action run from before my workflow got removed and you can see that my repository is the last one processed before the quiet failure:
https://github.com/snakemake/snakemake-workflow-catalog/runs/1876964779?check_suite_focus=true
A possible workaround, in theory, would be to split the >2000 API requests in blocks of 1000. So basically there should be 3 actions (or more), with each one processing different chunks of repos at 1 hour distance.
I don't have a lot of time these weeks, but I'll test some solutions at some point.

I've started looking into this here:
https://github.com/nikostr/snakemake-workflow-catalog/tree/update-latest-workflows
I think there might be a smart workaround simply by sorting the repo search results based on update time. Haven't quite got it to work yet, but I think that should have multiple up-sides.


Fix Preferred exporter page + country crash

Details
Fixes the Preferred exporter page for the QBO Export settings
Fixes this country crash: https://github.com/Expensify/App/issues/41095#issuecomment-2089232621
Fixed Issues

$ https://github.com/Expensify/App/pull/41463#issuecomment-2090637323 (preferred exporter page not working)
$ https://github.com/Expensify/App/issues/41095#issuecomment-2089232621 (country crash)
PROPOSAL:
Tests

Create Workspace
Enable "Accounting" in "More Settings"
Connect to Qbo
Once the connection is done, go to "Export"
Click on the first setting "Preferred exporter"

Verify that the page to change the settings opens correctly and you don't get a "Not Found"

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Create Workspace
Enable "Accounting" in "More Settings"
Connect to Qbo
Once the connection is done, go to "Export"
Click on the first setting "Preferred exporter"

Verify that the page to change the settings opens correctly and you don't get a "Not Found"

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/87341702/23d6e731-78c3-428d-84ac-f6335fcf95e7

MacOS: Desktop

@alitoshmatov, we needed review quite quickly so I assigned @ikevin127 who was available at this time

Few things when testing, not sure if I should have all the recent code merged to main + the changes in this PR:

None of the defaults were set when connecting to QBO, even Chart of Accounts shows Not imported
We're missing the A/P accounts returned in the list still
Choosing Account for Credit card or Debit card shows a page for "Default vendor" instead of Account
The Vendor row appears before you've toggled on Default vendor (Nikolay's PR was initially looking at this)
The preferred exporter list returns the assignedGuide admin on the workspace, we should filter those out like we do in the Members table
Invoices page is blank, it doesn't have the account receivables accounts returned
When trying to enable "Sync reimbursed reports" I'm still getting this TypeError: Uncaught TypeError: TaskQueue: Error with task : Cannot read properties of undefined (reading 'id')
I don't understand the note on Locations, I'll dive into that in a bit

https://github.com/Expensify/App/assets/16232057/4b9ba445-2366-4452-bac5-d99eb44070a4

Few things when testing, not sure if I should have all the recent code merged to main + the changes in this PR:

Yeah, it looks massively broken in your tests, but I will blame the adhoc builds again. You seem to be getting some network errors that should have work:

So that may be making everything fail after

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native *
https://github.com/Expensify/App/assets/56457735/7eef7bb6-3349-40c2-9fd0-377ad1b93de2

iOS: mWeb Safari

MacOS: Chrome / Safari *
https://github.com/Expensify/App/assets/56457735/98772579-4159-45ce-acf5-278a2d8c8592

MacOS: Desktop

Thanks @ikevin127 , please re-approve, I had to remove an unused import (lint)

@aldo-expensify All good, the only issue was lint not passing but you got that covered. I pulled latest changes and re-tested the steps mentioned at https://github.com/Expensify/App/pull/41530#pullrequestreview-2036923210 -> everything works as expected.
Approved ✅

Looking at Kevin's video in the checklist. This one seems incorrect:
Credit card export should not have a list of Vendors returned:

Here's OldDot for reference:

Debit card should be bank accounts:

Vendor bills should be:
Account payable accounts:

If default vendor is toggled on, then an additional row and a list of vendors to pick from:

Alright, I did a sync now on the adhoc build and now I can at least see all the accounts and stuff.

This is still showing, so looks like a bug: https://github.com/Expensify/App/pull/41530#issuecomment-2091805981
When you select Vendor bill for non-reimbursable export, you get Capital one (a card account) as a placeholder in the push input of the Accounts payable account field.

https://github.com/Expensify/App/assets/16232057/e279f3f9-a71b-4b90-acef-a66c9741ecf8

The preferred exporter isn't filtering out the assignedGuide in the list like the members table:

This is still showing, so looks like a bug: https://github.com/Expensify/App/pull/41530#issuecomment-2091805981

Are you referring to that it is showing in the placeholder an account of the wrong type selected? This is out of the scope here.

When you select Vendor bill for non-reimbursable export, you get Capital one (a card account) as a placeholder in the push input of the Accounts payable account field.

I think this problem will remain until we solve: https://github.com/Expensify/Expensify/issues/390731

The preferred exporter isn't filtering out the assignedGuide in the list like the members table:

Note that his PR is only enabling the existing Preferred exporter page, I'm not fixing bugs found inside it. If I find it an easy fix, I'll do it here, otherwise in a follow up pr

I'll merge this since filtering out the guide is a bit more complicated and it is a bug that was already there. I'll fix it in a follow up.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


QF-272 housekeeping sanity check

Draft PR to trigger Sonar and see where we're at

Already merged and superceded


Configurable file name

Just added filename detection for security reason.
Now can rename tester.php to 7IauUCNEyz7k9p.php (for example) and upload do public server (not recommend of course), but more secure like use default tester.php

I was just talking with someone about that today, but you beat me to it. Nice!


[build-rollup] PWA: manifest and image directory not copied in dist

I have the following code in the index.html file:

<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
  <meta name="Description" content="Put your description here.">
  <base href="/">

  <link rel="icon" href="./images/favicon.ico">

  <!-- See https://goo.gl/OOhYW5 -->
  <link rel="manifest" href="./manifest.json">

  <!-- See https://goo.gl/qRE0vM -->
  <meta name="theme-color" content="#3f51b5">

  <!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
  <meta name="mobile-web-app-capable" content="yes">
  <meta name="application-name" content="My App">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="default">
  <meta name="apple-mobile-web-app-title" content="My App">

  <!-- Homescreen icons -->
  <link rel="apple-touch-icon" href="./images/manifest/icon-48x48.png">
  <link rel="apple-touch-icon" sizes="72x72" href="./images/manifest/icon-72x72.png">
  <link rel="apple-touch-icon" sizes="96x96" href="./images/manifest/icon-96x96.png">
  <link rel="apple-touch-icon" sizes="144x144" href="./images/manifest/icon-144x144.png">
  <link rel="apple-touch-icon" sizes="192x192" href="./images/manifest/icon-192x192.png">

  <!-- Tile icon for Windows 8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="./images/manifest/icon-144x144.png">
  <meta name="msapplication-TileColor" content="#3f51b5">
  <meta name="msapplication-tap-highlight" content="no">

  <!-- Default twitter cards -->
  <meta name="twitter:card" content="summary">
  <meta name="twitter:site" content="@username">
  <meta property="og:type" content="website">
  <meta property="og:site_name" content="my-app">
  <meta property="og:image" content="images/manifest/icon-144x144.png" />

  <!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
  <script>
    // Load and register pre-caching Service Worker
    if ('serviceWorker' in navigator) {
      window.addEventListener('load', () => {
        navigator.serviceWorker.register('./sw.js');
      });
    }
  </script>

  <style>
    html,
    body {
      margin: 0;
      padding: 0;
      font-family: sans-serif;
      background-color: #ededed;
    }
  </style>
  <title>fitty</title>
</head>

<body>
  <fitty-app title="Fitty"></fitty-app>

  <script type="module" src="./components/fitty-app/fitty-app.js"></script>
</body>

</html>

I also have a manifest.json file in the root directory together with an image directory
{
  "name": "Fitty.me",
  "short_name": "Fitty",
  "description": "The coolest fit app",
  "start_url": "/",
  "display": "standalone",
  "theme_color": "#3f51b5",
  "background_color": "#3f51b5",
  "icons": [
    {
      "src": "images/manifest/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "images/manifest/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ]
}

Neither the manifest file nor the image directory appear in the dist folder resulting in a 'Failed to load resource: the server responded with a status of 404 ()' error when fetching manifest.json
Please advise on possible causes.

Currently our configuration does not automatically resolve the manifest.json and the images folder. You can use rollup-plugin-cpy to move them over to your dist folder. See instructions here

Thanks ! I tried it and only the images folder got copied. This is what I added to the rollop.config.js
import { createCompatibilityConfig } from '@open-wc/building-rollup';

// if you need to support IE11 use "modern-and-legacy-config" instead.
// import { createCompatibilityConfig } from '@open-wc/building-rollup';
// export default createCompatibilityConfig({ input: './index.html' });

import cpy from 'rollup-plugin-cpy';

const config = createCompatibilityConfig({
  input: './index.html',
});

// if you use an array of configs, you don't need the copy task to be executed for both builds.
// we can add the plugin only to the first rollup config:
export default [
  // add plugin to the first config
  {
    ...config[0],
    plugins: [
      ...config[0].plugins,
      cpy(
        {
          // copy over all images files
          files: ['**/*.png'],
          dest: 'dist',
          options: {
            // parents makes sure to preserve the original folder structure
            parents: true,
          },
        },
        {
          // copy manifest.webmanifest
          files: ['manifest.webmanifest'],
          dest: 'dist',
          options: {
            // parents makes sure to preserve the original folder structure
            parents: true,
          },
        },
        {
          // copy images folder
          files: ['images/**/*'],
          dest: 'dist',
          options: {
            // parents makes sure to preserve the original folder structure
            parents: true,
          },
        },
      ),
    ],
  },

  // leave the second config untouched
  config[1],
];

I still get the same error:
GET https://monworkout-d06ee.firebaseapp.com/manifest.webmanifest 404
Manifest: Line: 2, column: 1, Syntax error.

Do you see the manifest.json being copied to your dist folder? Also in your index.html you link to manifest.json but in your rollup config you're using manifest.webmanifest

No, it's not in the dist folder (and I changed all references to manifest.webmanifest (including in index.html).

Ah, you should pass an array of objects to the copy plugin. From the docs:
  copy([
        { files: 'src/**/*.png', dest: './dist/images' },
        { files: 'src/**/*.mp3', dest: './dist/audio' },
        { files: 'src/**/*.webm', dest: './dist/video' },
      ]),

Well spotted ! It is working now. Thanks !!
Le mer. 27 nov. 2019 à 23:44, Pascal Schilp<EMAIL_ADDRESS>a
écrit :

Ah, you should pass an array of objects to the copy plugin. From the docs
https://www.npmjs.com/package/rollup-plugin-cpy#usage:
copy([
{ files: 'src//*.png', dest: './dist/images' },
{ files: 'src//.mp3', dest: './dist/audio' },
{ files: 'src/**/.webm', dest: './dist/video' },
]),
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/open-wc/open-wc/issues/1058?email_source=notifications&email_token=ANAR2M76WLZ53CUL7DPM6N3QV3Z3XA5CNFSM4JSMVYO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFK54TA#issuecomment-559275596,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAR2M7WIN7L62RWQ5H2J6TQV3Z3XANCNFSM4JSMVYOQ
.

Np 😊 We’d love to see what you build btw!

Will share the url once done :)
Le mer. 27 nov. 2019 à 23:49, Pascal Schilp<EMAIL_ADDRESS>a
écrit :

Np 😊 We’d love to see what you build btw!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/open-wc/open-wc/issues/1058?email_source=notifications&email_token=ANAR2MZEHP25FPVQ4TAG4I3QV32OTA5CNFSM4JSMVYO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFK6EKA#issuecomment-559276584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAR2M6UGV2N7BJQAYT7ZL3QV32OTANCNFSM4JSMVYOQ
.


Not able to search based on content in the to field

for something like this, the current search option is to only search by the content in description. As a user I would also want to filter transactions based on the content in the to field.

filter transactions based on the content in the `to` field. (merchant/third party)


provide custom protobuf plugin to generate small rest client

to replace swagger-go plugin

optional: https://github.com/yunify/snips/

The OpenPitrix use grpc-gateway to generate rest service,
and the rest api is defined in protobuf file:
service AppManager {
	rpc CreateApp (CreateAppRequest) returns (CreateAppResponse) {
		option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = {
			summary: "create app"
		};
		option (google.api.http) = {
			post: "/v1/apps"
			body: "*"
		};
	}
}

i plan to generate the rest client from same protobuf file.
So the rest client use the same pbtype as grpc.
The snip depends on swagger file, and it will generate
new request and reponse type (different from grpc type).


MVP navbar project search

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2517

PR #2518   👈

This comment was auto-generated by Graphite.


Auto learning

Added F and H functions in addition to augmented lagrangian to enable automated learning provided the client passes valid pytorch expressions f_tch and [g_tch] along with objective and constraints. Code still needs a lot of work (for example, we can only process a single uncertainty parameter u as of now, and there is a ton of redundancy), but this will enable automated learning in a much cleaner way on the client side for the time being.

Merging for now. I will add some related issues.


Hitting issue trying to do build for mac

cargo build --release --target aarch64-apple-darwin
   Compiling proc-macro2 v1.0.82
   Compiling unicode-ident v1.0.12
   Compiling utf8parse v0.2.1
   Compiling colorchoice v1.0.1
   Compiling anstyle v1.0.8
   Compiling anstyle-query v1.0.3
   Compiling libc v0.2.154
   Compiling is_terminal_polyfill v1.70.0
   Compiling heck v0.5.0
   Compiling strsim v0.11.1
   Compiling clap_lex v0.7.0
   Compiling option-ext v0.2.0
   Compiling dunce v1.0.4
   Compiling anstyle-parse v0.2.4
   Compiling anstream v0.6.14
   Compiling clap_builder v4.5.17
   Compiling dirs-sys v0.4.1
   Compiling dirs v5.0.1
   Compiling quote v1.0.36
   Compiling syn v2.0.63
   Compiling clap_derive v4.5.13
   Compiling clap v4.5.17
   Compiling clap_complete v4.5.28
   Compiling jumpy v0.4.4 (/Users/nikiv/clones/ClementNerma--Jumpy)
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:5:1
  |
5 | #![feature(let_chains)]
  | ^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `jumpy` (bin "jumpy") due to 1 previous error

This is normal, Jumpy currently uses a nightly feature, meaning you require a nightly toolchain to build it :)
You can add one with rustup toolchain add nightly and make it your default with rustup default nightly.
I'll change that soon to allow it to compile on stable.

I just updated the codebase, it should compile on stable now :)


SMB Message Rate

Construct an initial draft benchmark with 27 and 7 point stencils. Document using Sphynx, then review with team.

Ping. Can we get a status update? Thanks


bug frontend not working

after new updates the frontend system is locked
no changed settings work

https://imgur.com/a/076Yx7B
all symbols disappeared and only those
and in the end it was ethup and btcup which I can't get out of and I can't add new ones

can end it was a configuration error


error in POK-manager.sh

POK-manager.sh: 11: Syntax error: "(" unexpected

found running with sudo bash instead sudo sh fixed the issue as far as i am aware


Add an example of an Agent using Polygon

Currently we have an example of agents working with Arbitrum (see notebook).
The idea will be to create another example using Polygon instead of Arbitrum, for this it will be good to check the ape-polygon plugin as it should be necessary to install it to use it with ape.
This should come in a form of a notebook and add it in the examples/agents/ folder. Once merged this tutorial will be added to the official documentation!

@Gonmeso , Can you assign this issue to me?


We may as well assert that the title is formatted with the post ID, too.

Suggestion: We may as well assert that the title is formatted with the post ID, too.
        self.assertEqual(self.no_title["wp:post_id"], "1000")  # just a fixture regression test
        self.assertEqual(title, f"no-title-available-1000")

Originally posted by @nimasmi in https://github.com/torchbox/wagtail-wordpress-import/pull/135#discussion_r778040879

This is the suggestion I missed on #135


Verify valid write of statefile to disk

I have seen two instances where the statefile written to disk is glitched/corrupt: it is still readable by MsgPack, but the structure is totally wrong.
Reports
Both reports happened on PlutoSliderServer generating a static HTML site on a GHA runner. Both had Export_baked_state = false, i.e. the statefile was a separate .plutostate file on disk, not embedded as base64 in the HTML file.
The first report was on 1 Nov 2022:

(This is supposed to be structured like this: https://github.com/fonsp/Pluto.jl/blob/v0.19.22-src/src/webserver/Dynamic.jl#L100 )
Luckily enough I stored the original statefile!
broken statefile huh.plutostate.zip
Second report was recently on slack. we don't have the statefile anymore, only a screenshot that @pankgeorg took in the chrome devtools, the notebook file and the GHA logs

Notebook file: https://github.com/IdePHICS/EPFLDoctoralLecture2023/blob/606db3cf62f8ee34662d0d1ba2c930f4b8a35073/Resources/Week2/rfim.jl (might have been one of the commits before)
Action run: https://github.com/IdePHICS/EPFLDoctoralLecture2023/actions/runs/4468560473/jobs/7849468519 (nothing out of the ordinary)
logs_71.zip
Observation
You can see that something went wrong while writing ["cell_results"]["<cell id here>"]. For the cell where it went wrong (29612df6-203f-42bc-b53b-86af618d60ec in the Nov case), only part of that Dict is available, and the rest is spread out over parent structures. You see that keys and values are being swapped, and that children of "cell_results" became top-level KV pairs.
Possible causes
notebook_to_js cannot return a Dict like this (that would be such a serious Julia bug that it would have been found before). So something must have gone wrong in one of:

Pluto.pack` (MsgPack),
writing to the file,
in the GHA system (corrupt disk, mistake during git push, etc).

I find a mistake during Pluto.pack unlikely, because this would also have led to bugs in regular Pluto use (with websockets or the static HTML with baked state). I also trust that https://github.com/JuliaIO/MsgPack.jl is well-implemented, also because the spec of MsgPack is not too complex. Still, some possibilities:

It might be caused by our MsgPack extensions (https://github.com/fonsp/Pluto.jl/blob/main/src/webserver/MsgPack.jl)
It might be caused by special structures like AppendonlyMarker (the Nov case has glitches in the array of logs, which is an AppendonlyMarker).

A mistake in the GHA system is unlikely (lots of people use it), and i only have reports of the .plutostate files being corrupted.
So I suspect that something went wrong while writing the file (which is something that I know nothing about). This is especially likely because we called Pluto.pack directly on the file handler IO:
open(export_statefile_path, "w") do io
    Pluto.pack(io, original_state)
end

I have later learned that this is not a good idea for stability (e.g. https://github.com/fonsp/Pluto.jl/pull/976 because the program can get interrupted halfway during a write), and performance (because every single write(io, ...) call has overhead).
There might also be a bug in MsgPack where using a file handler as the io can lead to incorrect results. This might not have surfaced before if applications and the MsgPack tests mostly use memory buffers as IO.
So in this PR, we switch this to first Pluto.packing to memory, and then writing that Vector{UInt8} to the file:
write(export_statefile_path, Pluto.pack(original_state))

I suspect that this already fixed the bug. But to also eliminate a problem where write just writes the wrong contents, I added a read to verify the contents.

I also wrote a notebook to explore the Nov statefile a bit:
### A Pluto.jl notebook ###
# v0.19.22

using Markdown
using InteractiveUtils

# ╔═╡ 4e3146c2-280a-4823-8672-3f231bdf2edd
import Pkg

# ╔═╡ 9d1cfd50-4f53-4ce6-a10c-7282afc92055
Pkg.activate()

# ╔═╡ ac54af6d-e9c4-4c26-a5f1-28c1cee68ffa
import Pluto

# ╔═╡ c5843f00-c8c8-11ed-1fae-a59cf7067654
filename = "~/Downloads/broken statefile huh.plutostate" |> expanduser

# ╔═╡ 592df111-aa07-449d-912a-421820a8428b
data = read(filename)

# ╔═╡ f32cb028-544e-43c5-a114-024e8c48f9d4
d = Pluto.unpack(data)

# ╔═╡ 9d20a49e-a8fb-4178-84cd-c9c91e975d35
rk = keys(d["cell_results"])

# ╔═╡ 9b913b7f-97be-4f37-9c3a-31aef4c30eee
Dict(
	k => keys(d["cell_results"][k])
	for k in keys(d["cell_results"])
)

# ╔═╡ 54cc6550-5139-49e9-9268-bc0fc1a5c1e6
setdiff(rk, d["cell_order"])

# ╔═╡ 5e8b7a2b-becf-4bd4-a634-cd3745659f96
setdiff(d["cell_order"],rk)

# ╔═╡ ebcaa53e-a07a-45df-8890-bbe9fc7a7844
Set(d["cell_order"])

# ╔═╡ b03191f1-4392-4d41-9e49-fdbb911a61a0
broken_cell_id = "29612df6-203f-42bc-b53b-86af618d60ec"

# ╔═╡ 43746f31-a903-4783-9ea3-f1aa323db1a0
d["cell_results"]["4115f7cb-d45f-4cc2-86bf-316c074393f8"]

# ╔═╡ f9c47abd-e78e-412f-b709-d36bd26188b7
d["cell_results"][broken_cell_id]

# ╔═╡ c6c7926f-c217-4d02-a84a-ea9bf6e27f0b
# String(copy(d["cell_results"][broken_cell_id]["output"]["body"])) |> Text

# ╔═╡ 8fcc29f1-52e3-489a-a746-e28a8a9f402c
rawd = copy(data)

# ╔═╡ a56e9ddc-e563-4dca-8505-4b72e56273e5
raws = String(copy(data))

# ╔═╡ 9df36e7c-fdbb-46db-a584-699f8b970262
239343 + 136808

# ╔═╡ 58f37eb2-2327-4079-a332-f74be278a889
raws[376100:378054]

# ╔═╡ 905cbd87-e879-4c4a-aee1-c525604b3213
"""
url(#clip752)\" style=\"stroke:#0000ff; stroke-linecap:round; stroke-linejoin:round; stroke-width:10; stroke-opacity:0.7; fill:none\" points=\"\n  2352.76,1179.34 2352.76,1179.34 \n  \"/>\n</svg>\n

\xb0

persist_js_state¤mime\xadimage/svg+xml\xb2last_run_timestamp\xcbA\xd8\xd8N\xe2\x8e\b-\xb7has_pluto_hook_features¬rootassignee
\xc0
\xa7
cell_id
\xd9
\$
29612df6-203f-42bc-b53b-86af618d60ec

\x88\xa4line\xff\xa3msg\x92\xd9WIndices Base.OneTo(4545) of attribute `markercolor`. Legend entries\nmay be suppressed by passing an empty label.\nFor example,\n    plot([1:2,1:3], [[4,5],[3,4,5]], label=[\"y\" \"\"], markercolor=[1 2])\n\xaatext/plain\xa7cell_id\xd9\$2"

"""

# ╔═╡ 5624ae35-db37-45bb-b17e-2badba0716c9
cell_id_ranges = findall(broken_cell_id, raws)

# ╔═╡ 76d76270-0701-4e06-813e-f42f38e497ad
findall("queued", raws)

# ╔═╡ dffef0df-922d-4b10-92b9-c627a7e899af
[
	raws[first(r)-12:end]
	for r in cell_id_ranges
]

# ╔═╡ 6eb236c2-ee15-4c1f-8a62-38a25f213ec5
Pluto.pack(Dict("running" => false, "aesdf" => [1,2,3])) .|> Char

# ╔═╡ b75e6651-89a9-4fbf-94ba-964ed567059a
bitstring(0xa6)

# ╔═╡ 58ee494a-34c3-46f5-bdfb-33dafe44851b
bitstring(0x82)

# ╔═╡ 2b55dbc2-2d49-4003-a04a-9288051a9645
"29612df6-203f-42bc-b53b-86af618d60ec\x88\xa4line\xff\xa3msg\x92\xd9WIndices Base.OneTo(4545) of attribute `markercolor` does not match data indices 1:4544.\xaatext/plain\xa7cell_id\xd9

# ╔═╡ 5513c11c-cae4-4da0-9064-02ac61b1792c
problem = raws[136773:end]

# ╔═╡ fa741ae3-f265-4709-ac68-7db8681fd912
data[1466+length(broken_cell_id):end]

# ╔═╡ 615a398e-3d63-4e9c-9184-db4b2cdf82a9
# ╠═╡ disabled = true
#=╠═╡
Text(problem)
  ╠═╡ =#

# ╔═╡ a5d6a38f-3793-40e5-a1e6-4e53a20a3c3b
"""
29612df6-203f-42bc-b53b-86af618d60ec
\xb2
upstream_cells_map
\x82
\xae
time_evolution
\x91
\xd9
\$
b48e55b7-4b56-41aa-9796-674d04adf5df
\xa2
p0
\x91
\xd9
\$
6b298184-32c6-412d-a900-b113d6bd3d53
\xd9
\$
b948830f-ead1-4f36-a237-c998f2f7deb8
\x84
\xb4
precedence_heuristic
\t
\xa7
cell_id
\xd9
\$
b948830f-ead1-4f36-a237-c998f2f7deb8
\xb4
downstream_cells_map
\x80
\xb2
upstream_cells_map
\x81
\xa8
getindex
\x90\xd9\$0b26efab-4e93-4d53-9c4d-faea68d12174\x84\xb4precedence_heuristic\t\xa7cell_id\xd9\$0b26efab-4e93-4d53-9c4d-faea68d12174\xb4downstream_cells_map\x81\xb1initial_condition\x91\xd9\$6b298184-32c6-412d-a900-b113d6bd3d53\xb2upstream_cells_map\x81\xa5zeros\x90\xd9\$98994cb9-"

# ╔═╡ Cell order:
# ╠═4e3146c2-280a-4823-8672-3f231bdf2edd
# ╠═9d1cfd50-4f53-4ce6-a10c-7282afc92055
# ╠═ac54af6d-e9c4-4c26-a5f1-28c1cee68ffa
# ╠═c5843f00-c8c8-11ed-1fae-a59cf7067654
# ╠═592df111-aa07-449d-912a-421820a8428b
# ╠═f32cb028-544e-43c5-a114-024e8c48f9d4
# ╠═9d20a49e-a8fb-4178-84cd-c9c91e975d35
# ╠═9b913b7f-97be-4f37-9c3a-31aef4c30eee
# ╠═54cc6550-5139-49e9-9268-bc0fc1a5c1e6
# ╠═5e8b7a2b-becf-4bd4-a634-cd3745659f96
# ╠═ebcaa53e-a07a-45df-8890-bbe9fc7a7844
# ╠═b03191f1-4392-4d41-9e49-fdbb911a61a0
# ╠═43746f31-a903-4783-9ea3-f1aa323db1a0
# ╠═f9c47abd-e78e-412f-b709-d36bd26188b7
# ╠═c6c7926f-c217-4d02-a84a-ea9bf6e27f0b
# ╠═8fcc29f1-52e3-489a-a746-e28a8a9f402c
# ╠═a56e9ddc-e563-4dca-8505-4b72e56273e5
# ╠═9df36e7c-fdbb-46db-a584-699f8b970262
# ╠═58f37eb2-2327-4079-a332-f74be278a889
# ╠═905cbd87-e879-4c4a-aee1-c525604b3213
# ╠═5624ae35-db37-45bb-b17e-2badba0716c9
# ╠═76d76270-0701-4e06-813e-f42f38e497ad
# ╠═dffef0df-922d-4b10-92b9-c627a7e899af
# ╠═6eb236c2-ee15-4c1f-8a62-38a25f213ec5
# ╠═b75e6651-89a9-4fbf-94ba-964ed567059a
# ╠═58ee494a-34c3-46f5-bdfb-33dafe44851b
# ╠═2b55dbc2-2d49-4003-a04a-9288051a9645
# ╠═5513c11c-cae4-4da0-9064-02ac61b1792c
# ╠═fa741ae3-f265-4709-ac68-7db8681fd912
# ╠═615a398e-3d63-4e9c-9184-db4b2cdf82a9
# ╠═a5d6a38f-3793-40e5-a1e6-4e53a20a3c3b


yarn: Unrecognized or legacy configuration settings found when installing dependencies

Error: Failed to install dependencies
Exit code: 1
Signal: null
Stdout: Usage Error: Unrecognized or legacy configuration settings found: path - run "yarn config -v" to see the list of settings supported in Yarn (in <environment>)

$ yarn up [-i,--interactive] [-E,--exact] [-T,--tilde] [-C,--caret] [-R,--recursive] [--mode #0] ...

    at ChildProcess.<anonymous> (\src\services\nodeProcessService.ts:236:20)
    at Object.onceWrapper (node:events:646:26)
    at ChildProcess.emit (node:events:538:35)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

duplicate of https://github.com/getappmap/vscode-appland/issues/557


PebblesDB Crashing with large KV pairs

PebblesDB is crashing when running the large-sized KV pair using YCSB Benchmark. I have been trying to make it run but it is keep crashing when I feed the KV pair size larges than few 10s of KB. If PebblesDB does not support large-sized KV pairs then please mention here and if it does then how to work it around.

We had tested with 1 KB values in the paper. We haven't tested with larger values than that. Its possible something breaks for large key-value pairs.


Bridging Rust and C++ with cxx

Description:
Introduction to using the cxx crate for creting direct, "safe", bi-directional FFI bindings between Rust and C++.
Draft Agenda:

Exploring the problem space, and cxx's specific approach to it.
Looking at a small, yet real-world example.
Architectural concerns ("Who is driving the linker?")
Time permitting: the bigger ecosystem - autocxx, cxx-qt, Corrosion.

Length:
30 minutes or more.
On-line or in-person?
In person.
Date?
No preference.
Who are  you?
I am currently a senior backend engineer at a startup company, with about 10 years experience writing C++ (and Rust for much less so). However this talk has no relationship to that, and will not represent my employer.
LinkedIn Profile

Thanks for this proposal. Could you include your LinkedIn profile as well, please so I can add it to our site?

Sorry for the delay, have been under the weather. Added a link to LinkedIn. Either language is fine, though I prefer to work with an English slide deck for such topics.

I've scheduled this. If you'd like to make changes to the info, please send a PR.


WARNING: The Class.identifier in logs

WARNING: The Class.identifier is undocumented and was meant for internal framework usage only. As it is no longer used by the framework it will be removed in a coming non-breaking ViewComponent release.
System configuration
Rails version: 7.2
Ruby version: 3.3.5
Gem version: 3.15.1

@m7madmagdy this warning is intentional. If you are receiving it, you should look to see what is calling identifier.


Version 4.2.0  in Supermarket includes a metadata.rb that references lib/chef/sugar/version which is not present in the cookbook

It looks like version 4.2.0 was published incorrectly with a metadata.rb instead of only a metadata.json, this is breaking since it has the line require          File.expand_path('../lib/chef/sugar/version', __FILE__), and lib/chef/sugar/version isn't included in the published cookbook, being part of the gem.

What exactly is it breaking with?   The ecosystem has been fixed for some time now to prefer metadata.json over metadata.rb (chef-client has been fixed, chef-zero has been fixed, chef-fs has been fixed, etc).


[RFC] Remove NextTickQueue

This PR is a RFC – any input is welcome.
v0.4 introduced both "future ticks" and "next ticks".
This PR aims to serve as a discussion basis whether it actually makes sense to keep both.

For the reference, both queues have been implemented by @jmalloc via https://github.com/reactphp/react/pull/234 and https://github.com/reactphp/react/pull/249 respectively. Let's ping @jmalloc, perhaps you can share your view on this?
There's also some discussion / confusion about this topic in https://github.com/reactphp/event-loop/pull/28:

here's probably some discussion to be had about how necessary this is. I think it is necessary, as without it there is no way to execute user code on each tick of the engine without starving IO/timers (nextTick is too greedy).
The implementation is identical to nextTick, except that callbacks registered inside an existing futureTick handler will not be processed on the same tick. In other words, when the future-tick queue is processed, only the callbacks that were already on the queue are executed. With this implementation, futureTick should generally be favoured over nextTick unless you specifically need the stricter guarantees of nextTick.

Long story short, cooperative multitasking will likely depend on futureTick() instead of nextTick().
I'm still curious if we have a valid use case for nextTick(), i.e. explicitly starving the event loop if we repeatedly add events to the loop. Otherwise, I'd suggest removing the nextTick() method as per this PR.
For what it's worth, nodejs also has:

https://nodejs.org/api/timers.html#timers_setimmediate_callback_arg (similar to futureTick())
https://nodejs.org/api/process.html#process_process_nexttick_callback_arg (similar to nextTick())

For what it's worth, nodejs also has:

https://nodejs.org/api/timers.html#timers_setimmediate_callback_arg (similar to futureTick())
https://nodejs.org/api/process.html#process_process_nexttick_callback_arg (similar to nextTick())

Afaict there's also debate about which function should be used, e.g. see http://stackoverflow.com/a/15349865
I'm well aware of the differences between both functions. However, I have yet to find a valid use case for nextTick()…

:+1: on removing next ticks, it just adds confusion without a real good use case for keeping them

I can't see any immediate reason to retain nextTick. For whatever it's worth, the only large project I have using React is Recoil and it does not use nextTick at all.

I'd also like to add that I was never quite happy with the name futureTick. Since this is a BC break anyway, maybe we could consider more appropriate names.  $loop->defer($work); might make more sense?

I'm with @jmalloc renaming futureTick to defer is a great idea :+1:

I'm ok with renaming and defer makes sense grammatically, however I do worry about the confusion of the word. React also houses the Promise library where invoking a defer call created a deferred object that can resolve or reject a promise object.

That's a valid concern for sure. I still personally prefer defer, but offer enqueue as a possible alternative. At any rate, I think it should be a verb :)

I'm with @cboden regarding the potential confusion of using defer but well that's actually what it does... maybe postpone? I do agree on the fact that the current futureTick and nextTick are awful names, after all we had the same discussion at the time of @jmalloc's PR from a while back and we couldn't come up with valid alternatives.
Back to the initial scope of this PR, I'm still torn about removing nextTick altogether but I don't have a strong and practical use case to support it.

Ye old thesaurus came up with a few options, my top ones:

delay
postpone
mothball

I agree that defer is grammatically correct but, to me, it's synonymous with containing a promise object - which is not the case in this context.

For me both enqueue or schedule would work

The term schedule seems good enough to understand that you're deferring the task to other loop iteration. With enqueue, you don't know if you are enqueuing for this loop iteration or not, It is not as explicit as schedule.
As a non experienced user of reactphp (I started to read the code last week), my first thought after read defer was: this return a promise?

👍 for removing nextTick. Also 👍 for renaming futureTick to defer.

I just noticed that I used nextTick only one time in predis\async to fix an issue but it's old stuff (and so damn un-Reacty anyway at this point) and I guess futureTick would've probably worked anyway. All in all I wouldn't mind having nextTick removed. As for futureTick, despite being an awful name I still have doubts about renaming it to defer.

Btw, the async-interop loop also uses defer: https://github.com/async-interop/event-loop/blob/master/src/Loop.php#L148

Technically, this PR is a BC break and if we are to accept this, this will be part of the upcoming v0.5 release.
However, I would vote for keeping the method names as-is for now at least. If we are to accept this PR, then we'll remove nextTick() and only futureTick() remains.
Empirical evidence seems to suggest that:

Most consumers of this lib don't use either
Those that actually use futureTick() could probably switch from nextTick() without affecting operation

This means that while this PR is a BC break, most consumers of this library are likely compatible with the current v0.4 as well as the upcoming v0.5 release.
I'm not saying futureTick(), defer() or anything else makes any more sense, but I'd vote to move this discussion to another release.

@clue Good point, agreed. 👍


Can non staff user reply to tickets and reopen closed tickets ?

Just quick questions I can't find an answer for :

Can non staff user add elements or reply to a ticket already submited ?
Can a user (staff or no) reopen a ticket set as "closed" ?

Thank you very much for this great django app !

Hi Nicolas,
I'm on my mobile right now so please excuse my brevity.

As per http://django-helpdesk.readthedocs.io/en/latest/settings.html#options-that-change-ticket-updates, you can allow non-staff users to update existing tickets by setting HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE to true.

Staff should be able to re-open a closed ticket, but non-staff would at least require the above setting to be enabled.

On 12 ต.ค. 2559, at 10:55, Nicolas Lorenzon<EMAIL_ADDRESS>wrote:
Just quick questions I can't find an answer for :

Can non staff user add elements or reply to a ticket already submited ?
Can a user (staff or no) reopen a ticket set as "closed" ?

Thank you very much for this great django app !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your answer.
It partially solved my problem.
But if I set HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE to True, the non staff users have also access to the dashboard (with url "/helpdesk/").
I will figure out how to remove that access and allow them to send tickets the "classic" way.


A couple good example databases to consider for UI ideas

https://www.optobase.org/
https://www.fpbase.org/

ui has been decided on


[WIP] Zadd options

As I suspected, Travis CI has earlier Redis version bundled - 2.8.19. So, this is not finished

According to http://redis.io/commands/zadd, the options are specified in the form of ZADD [option] score member. There don't seem to be separate commands for each option like you're using here.

I don't mind using a parameter for this - just seemed clearer to create separate methods

I'm not talking about the API redis-py presents. I'm talking about the command names. Is there a command named ZADDNX? There isn't according to the docs.

I see - let me check for that

yep, you're right - I'll update the code

ok, it's working. do you want me to update travis to install 3.0.2
@andymccurdy?
2015-07-21 2:05 GMT+03:00 Andy McCurdy<EMAIL_ADDRESS>
I'm not talking about the API redis-py presents. I'm talking about the
command names. Is there a command named ZADDNX? There isn't according to
the docs.
—
Reply to this email directly or view it on GitHub
https://github.com/andymccurdy/redis-py/pull/638#issuecomment-123083445.

--
Yours faithfully,
Gleb

After I clean up mapping of command name to result type, of course)
2015-07-22 0:17 GMT+03:00 Gleb Chermennov<EMAIL_ADDRESS>
ok, it's working. do you want me to update travis to install 3.0.2
@andymccurdy?
2015-07-21 2:05 GMT+03:00 Andy McCurdy<EMAIL_ADDRESS>
I'm not talking about the API redis-py presents. I'm talking about the
command names. Is there a command named ZADDNX? There isn't according to
the docs.
—
Reply to this email directly or view it on GitHub
https://github.com/andymccurdy/redis-py/pull/638#issuecomment-123083445
.

--
Yours faithfully,
Gleb

--
Yours faithfully,
Gleb

If you need anything else, let me know
2015-07-22 14:04 GMT+03:00 Gleb Chermennov<EMAIL_ADDRESS>
After I clean up mapping of command name to result type, of course)
2015-07-22 0:17 GMT+03:00 Gleb Chermennov<EMAIL_ADDRESS>
ok, it's working. do you want me to update travis to install 3.0.2
@andymccurdy?
2015-07-21 2:05 GMT+03:00 Andy McCurdy<EMAIL_ADDRESS>
I'm not talking about the API redis-py presents. I'm talking about the
command names. Is there a command named ZADDNX? There isn't according to
the docs.
—
Reply to this email directly or view it on GitHub
https://github.com/andymccurdy/redis-py/pull/638#issuecomment-123083445
.

--
Yours faithfully,
Gleb

--
Yours faithfully,
Gleb

--
Yours faithfully,
Gleb

Looks like [we're not done] (https://github.com/antirez/redis/issues/2697)

@chester89
https://github.com/antirez/redis/issues/2697 is just my strong opinion, and antirez doesn't respond it yet.
Btw, if you think my opinion is right, please vote (:+1: seems OK) to https://github.com/antirez/redis/issues/2697 for letting antirez know about it.
Thanks!

What is the status on this pull request? It seems like antirez has made his opinion clear in the linked discussion.

Yeah, sorry for the delay, I need to update it a little bit. Will do on a
weekend
2015-10-23 11:29 GMT+03:00 Peter Poulsen<EMAIL_ADDRESS>
What is the status on this pull request? It seems like antirez has made
his opinion clear in the linked discussion.
—
Reply to this email directly or view it on GitHub
https://github.com/andymccurdy/redis-py/pull/638#issuecomment-150511162.

--
Yours faithfully,
Gleb

Let me know if I can do anything to help!

I'd suggest adding CH for zaddxx, since otherwise it will always return 0.
CH for zaddnx makes no sense.
NX and XX can also be options with INCR.
So you need to support multiple options.

any news on this one?

Should this be merged in or should it wait until the new kwargs syntax is introduced?
I can make the changes that @mathieulongtin suggested, but I would like confirmation before I start the implementation.

I hear you, let me look this over
2015-12-29 1:44 GMT+03:00 Peter Poulsen<EMAIL_ADDRESS>
Should this be merged in or should it wait until the new kwargs syntax is
introduced?
I can make the changes that @mathieulongtin
https://github.com/mathieulongtin suggested, but I would like
confirmation before I start the implementation.
—
Reply to this email directly or view it on GitHub
https://github.com/andymccurdy/redis-py/pull/638#issuecomment-167672915.

--
Yours faithfully,
Gleb

Another option, since at least Python 3.6, we can do this:
def zadd(self, key, *args, nx=False, xx=False, ch=False, **kwargs):

This wouldn't change the current usage, except if you were doing redis.zadd(key, cx=24)
Or a 2.7 thing:
def zadd_options(self, key, values, nx=False, xx=False, ch=False):

Where values is either a dict, or a list or pairs.

Fixed in redis-py 3.0


Gents, what is it in aid of?

Yeah. Good stuff. Well-done. What I would have started from—what is it in aid of?
Can somebody related to the project really strictly confirm and write a clear README saying—use this tool when you need to achieve this and that. When I read issues I have my issues in mind and what I am going to accomplish.
Really. Having followed for only two days the issues I realised that users of the script/project dont understand what they are going to achieve. Yeah, give me native-looking GUI!
In this issue I would suggest the authors of the project strictly and clearly describe WHEN one should use nativefier and who to present the output.
For distribution of your universal webapp - I'm afraid it won't do. The project/script. For simple wrapping and having this as a standalone app. Perhaps.
I use electron-prebuilt/packager/builder - at least I understand where they are heading. The task here is described but in my view is misused. There come those feature requests that may turn a project into an endless combine. Correct me if I'm wrong. Do criticize.

I like having my email, mixcloud.com, and locahost:3000 window separated from my other browser instances and I also like to see my single page app displayed in a chromeless browser.

@josephdburdick oh yeah. That's pretty clear and straitforward. I like it. So use it for your private wrappers not for production - this is where i'm gettibg at.

@englishextra I think it is really great for various purposes, such as slimming down my Browsers load (and unpinning many tabs)
I like to handle the app-creation with mobile user agents, (and thus getting slim mobile-like apps)
Also great for coding/production to out source local host tabs and such....
It is just nice to get a lot more control over what "the web" should be on my desktop

@englishextra Personally, I intended it to be a niffy little tool for people to run browser tabs, kinda like @momosby's screenshot with minimal setup. I also believe that you can use it to package certain single page apps for distribution, instead of having just a hyperlink to your app that users can maybe bookmark, your app is now sitting on the desktop/launcher of your user. Such an app would have much more visibility to the user as compared to being just another tab on my browser.
Perhaps you're right in that I should specify the focus of this tool and it would certainly help in scoping further development and feature requests, I'll get around to clarifying soon. That being said, I'm open to feedback on other use cases that I might have overlooked, it's always interesting to hear ideas from the community. I'm actually kind of busy with school, so development might be a little slower until the weekend.

Thanks for the replies. Yeah, as I understand the tool is somewhat of a comforting utility almost for everyone experienced, not just exclusively for webapps devs.

The next time someone says they need Microsoft Word and Excel:
nativefier office.live.com/start/Word.aspx;
nativefier office.live.com/start/Excel.aspx

I also wonder if this could help with TDD, perhaps if I can point a Selenium IDE/Selenium Builder test at it.  Instead of running a Selenium server.


added save wisdom functionality

I have added some features around the wisdom for the fftw FFT engine (addressing #5). The FFTWEngine class now checks that the input wisdom string corresponds to an existing file before trying to load it. This allows BaseReconstruction class to pass a default wisdom filename as argument during initialisation if none is provided. Except in the case that the wisdom input is directly a tuple, the wisdom is always saved to file after creation, either in the file location provided as input, or in a default location if no input is provided. The motivation here is to provide a way to speed up batch runs from the command line without requiring user input for the wisdom, similar to what was achieved in Julian's code.

Hi Sesh, thanks for this PR! Do you want to address the above comments? --- if you don't feel 100% comfortable with how to address them, no problem, I can do this --- just let me know.

I might be missing something obvious, but what comments do you mean?

Sorry, forgot to submit review!


Cannot save tags in Vanilla music player

I use Vanilla music player and it's tag editor to change, for example, the title of the song!
Now, after I make the desired changes and press ok it does not save the changes!!!
I maybe doing something wrong, because to get to the ok button I have to hide tt9 and for that I'm using the "add word" button (is there another way??? Back button ain't working for this)

(I'm sorry for submit so many bugs, btw! specially those that result from not knowing how tt9 works...)


how to modify wallet api port ？

1.Machine configuration
OS name:
OS Version: 16.04
CPU speed: 2494Mhz
CPU cores: 2
Physical Memory: 16047 Mgb
Disk install: /dev/vdb1
Disk space total: 492G
Disk space available: 81G
I run the cardano node tag1.3.0
2.When I want modify wallet api port  abvoe
sudo vim /usr/local/dataroot/wyx/cardano-sl/scripts/launch/run/launcher-config-2.yaml
nodePath: /usr/local/dataroot/wyx/cardano-sl/.stack-work/install/x87_64-linux/lts-11.13/8.2.2/bin/cardano-node
nodeArgs:
‘’‘……………………’‘

"--wallet-address"
"<IP_ADDRESS>:88"
"--system-start"
‘’‘……………………’‘

then  need I  rebuild again?
any idea what the issue might be? thanks!

Hi, how do you currently starts the wallet? Are you using nix or stack?


Use range instead of xrange. Newer versions of python don't support x…

…range.

right...using python 2.7 here so i believe xrange is still different (saves memory) but i could be wrong. thoughts?

You're right. Was sort of a reflex PR because I'm using Python3.5, but I'll just use 2.7.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/100345

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/103900

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109976

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121876

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/122192


[Need help] A passive and proactive websocket client

It is not a bug, just need help.
Requirements:

Websocket client communicates with a server
The server pings all clients periodically, and all clients must response with same payload in 10 minutes
The client may send a request to the server and receive response
The server does not hold connections over 24 hours
There are different requests (upload, query, delete, etc), and accordingly, responses can be different
Performance is important (connection pool!)

I am struggling designing it.
Naturally, I thought of some entities

WsConnection holds a websocket stream
WsConnectionPool holds all WsConnections and a thread pool that runs the handlers
WsClient sends request and receive response through a WsConnection instance

But I found it is hard to design WsConnection, it passively responds pings from the server, but also provides the utility to send request and receive response. so a ping message may comes before the response after a request has been sent, right?
WsClient probably be accessed in a different thread, so it must not call WsConnection::Write() directly, I found boost::asio::post(), but I'm not sure if it works here.
class WsConnection : public enable_shared_from_this<WsConnection> {
  tcp::resolver                                           resolver_;
  websocket::stream<beast::ssl_stream<beast::tcp_stream>> ws_;
  boost::asio::io_context&                                io_ctx_;
  boost::asio::ssl::context&                              ssl_ctx_;
  ...
public:
  WsConnection(boost::asio::io_context&   io_ctx,
               boost::asio::ssl::context& ssl_ctx,
               const string&              host,
               const string&              path);

  void OnResolve(...);

  void OnConnect(...);

  void OnHandshake(...);

  ...

  void Write(...) {
    ws_.async_write(data, [self = share_from_this()](...) {
      Read(...);
    });
  }

  // Process both ping messages, and response for specific request
  void Read(...) {
    ws_.async_read(..., [self = share_from_this()](...) {
      if (IsPing(...)) {
        Pong(...);
      } else {
        // We have different response, so HandleResponse(...) is expected to be dynamically passed,
        // I don't want to make it as a virtual method since it is a one-shot call,
        // but I don't know how to make it, pass a func obj?
        HandleResponse(...);
      }

      Read(...);  // For coming pings
    });
  }
};

Question
So for the requirements, what is the best way to utilize boost::beast?

websocket::stream automatically manages ping and pong operations. To configure timeout values appropriately, you can use websocket::stream::set_option.
To get started, examine examples in the beast/example directory and adapt them to meet your requirements. As a general guide, initiate the design of your application around a single-threaded executor since dealing with concurrency issues may prove challenging. You can later extend your code to utilize a multi-threaded executor if you identify performance issues.

The server requires pong with same payload to ping message, can automatic pong with dynamical payload?

No you need to handle it manually, but if you use websocket::stream you can call async_ping while there is an ongoing async_read or async_write without any issue.


fixes for file uploading

This should prevent files from not appearing if you don't have enough outputs.
This is a dirty fix for something that's actually the fault of the wallet and the transaction pool (the transaction pool needs a way to recognize transaction dependencies before the wallet can chain transactions). Again, a pretty easy fix in theory but it's going to take a few hours to get right.
Plus we're at the point where we'll be writing a great deal more tests, which will slow down new features even more.

Also added some code to help with mutex debugging. It doesn't help the api at this point, just provides some println insights on why things are frozen.

That test looks like it will return immediately. Should probably use a sync.WaitGroup to prevent that.

it's not a test, just a series of printlns


Topology Viewer (network)

ISSUE TYPE

Other

COMPONENT NAME
UI
CLOUDSTACK VERSION
4.16
CONFIGURATION
advanced networking with multiple Zones
OS / ENVIRONMENT
Centos 7 and KVM.
SUMMARY
Hi , I was trying to look for a feature which could show me the Network Topology. just like they show in Openstack.

can someone help on this if need to use some plugins ?

Sounds like a good feature idea @jack99trade /cc @Pearl1594

@jack99trade We've also been evaluating various libraries to implement such a network visualizer, some libraries that we are looking at include: d3, goJS, v-network-graph.

@rohityadavcloud  yeah it would be really nice to have this.
@Pearl1594  thanks for input, I am not a programmer but I will try to understand these libraries. if anything is required from my side to help then do let me, I have multiple test network environment setup in my lab like servers, network devices, Firewalls, routers , switches etc. in various Zones and Affinity groups and can test the feature.

@Pearl1594  Hi I am trying to do this via d3.js , can you let me know about right  way for data input source. right now i am trying to parse the json i got using api call but kinda stuck there.

@jack99trade so the data input structure would depend on the specific d3 library that's being used I believe. For example, if you are using a network graph ( https://d3-graph-gallery.com/network.html) then we could structure it as follows:
{ "nodes": [
  { "id": 1, "name": "Net1" },
  { "id": 2, "name": "VM1" }
],
"links": [
  { "source": 1, "target": 2 } ---> which would connect Net1 to VM1
]}

But if you want to view it in a hierarchical manner then the data is structured differently  something like - https://github.com/bumbeishvili/sample-data/blob/main/sample.json and we need to take care of how the parentId is set in this case

@jack99trade so the data input structure would depend on the specific d3 library that's being used I believe. For example, if you are using a network graph ( https://d3-graph-gallery.com/network.html) then we could structure it as follows:
{ "nodes": [
  { "id": 1, "name": "Net1" },
  { "id": 2, "name": "VM1" }
],
"links": [
  { "source": 1, "target": 2 } ---> which would connect Net1 to VM1
]}

But if you want to view it in a hierarchical manner then the data is structured differently something like - https://github.com/bumbeishvili/sample-data/blob/main/sample.json and we need to take care of how the parentId is set in this case

Hi @Pearl1594 , I am unbale to convert my data in format of Nodes and Links,  Programmatically like below:-
{ "nodes": [
{ "id": 1, "name": "Net1" },
{ "id": 2, "name": "VM1" }
],
"links": [
{ "source": 1, "target": 2 } ---> which would connect Net1 to VM1
]}
So this is what i have done so far :-
A. downloaded the JSON using API  =  /client/api/?command=listVirtualMachinesMetrics&response=json
B.  Able to get list of all VMs and connection to Network from each VM
cat data.json | jq '.listvirtualmachinesmetricsresponse.virtualmachine[] .name' | wc -l
3
cat data.json | jq '.listvirtualmachinesmetricsresponse.virtualmachine[] .name'
"UbuntuMachine"
"FortinetFW"
"PaloAltoFW"
cat data.json | jq '.listvirtualmachinesmetricsresponse.virtualmachine[0] .nic[] .networkname'
"MGMT_NET"
"WAN_NET"
"LAN_NET"
cat data.json | jq '.listvirtualmachinesmetricsresponse.virtualmachine[1] .nic[] .networkname'
"LAN_NET"
cat data.json | jq '.listvirtualmachinesmetricsresponse.virtualmachine[2] .nic[] .networkname'
"LAN_NET"
now I want to represent this in Nodes and Links format , I am still researching on this. This is tricky for me.

Hi @Pearl1594  with manual data input I am able to create :-
{
"nodes": [
{ "name": "DEVICE-A" },
{ "name": "DEVICE-B" },
{ "name": "DEVICE-C" },
{ "name": "NET-A" },
{ "name": "NET-B" },
{ "name": "NET-C" }
],
"links": [
{ "source": "DEVICE-A", "target": "NET-A" },
{ "source": "DEVICE-A", "target": "NET-B" },
{ "source": "DEVICE-B", "target": "NET-A" },
{ "source": "DEVICE-B", "target": "NET-B" },
{ "source": "DEVICE-C", "target": "NET-A" },
{ "source": "DEVICE-C", "target": "NET-B" },
{ "source": "DEVICE-C", "target": "NET-C" }
]
}

Now the VM list API returns me in this format :-
{
"listvirtualmachinesmetricsresponse": {
"count": 3,
"virtualmachine": [
{
"name": "DEVICE-A",
"state": "Running",
"nic": [
{
"networkname": "NET-A",
"ipaddress": "<IP_ADDRESS>"
},
{
"networkname": "NET-B",
"ipaddress": "<IP_ADDRESS>"
}
],
"tags": []
},
{
"name": "DEVICE-B",
"state": "Running",
"nic": [
{
"networkname": "NET-A",
"ipaddress": "<IP_ADDRESS>"
},
{
"networkname": "NET-B",
"ipaddress": "<IP_ADDRESS>"
}
],
"tags": []
},
{
"name": "DEVICE-C",
"state": "Running",
"nic": [
{
"networkname": "NET-A",
"ipaddress": "<IP_ADDRESS>"
},
{
"networkname": "NET-B",
"ipaddress": "<IP_ADDRESS>"
},
{
"networkname": "NET-C",
"ipaddress": "<IP_ADDRESS>"
}
],
"tags": []
}
]
}
}
Do you have some suggest how can I convert the API result to the request format of nodes and links..


[Haxe][ASGenerator] Fixed typing by short type after assign statement to var. fixes #1704

Depends on #1706

I think you created this PR from #1706? It conflicts.

?

It's strange. I will check all the cases today after work


Center the UI containers

Need to fix the UI. I have multiple container, I want them to be centered

Does the div.'s are need to be centered for mobile view ??  @Saichandra2520

Does the div.'s are need to be centered for mobile view ?? @Saichandra2520

Yes

Can you assign this me??

@rameshkrishnan-s yes you can start your work. make it responsible as much as possible. I assigned you for this work.

@Saichandra2520 Brother is this OK??

@rameshkrishnan-s yeah its fine. Did you check once this for responsive? Does your code make any issue with desktop version? if not you can go ahead with pull request.

@rameshkrishnan-s  Any progress?

@Saichandra2520 will complete soon.


Update BUNDLE_NUMBER

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This was for testing the presubmits


alignment done

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Hii, its still giving conflicts..your branch is 107 commits behind main branch..also this issue is currently being resolved by someone else! you can check for other issues!

@MonalikaPatnaik Hey Please give me one more chance ,I am learning


Unmentioned breaking change from v3 to v4 or bug: withComponent

I had a sneaky bug when upgrading. I redid my code to use style(X) instead of X.extend. I thought all was well until I found some edge cases with withComponent. Basically withComponent replaces the styled component rather than that component's child. So as and withComponent have different behavior.
I don't know if this is intentional or not. I am assuming that this is withComponent's original behavior. I believe that this should have been mentioned in the migration guide. As the migration guide is written now it seems like you wouldn't get any bugs by just switching to the new api. But if you use withComponent you will.
I don't know if we should change how the code works, but we should at least warn people.
Environment
System:

OS: Linux 4.9 Debian GNU/Linux 8 (jessie) 8 (jessie)
CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 127.57 MB / 1.95 GB
Container: Yes
Shell: 4.3.30 - /bin/bash

Binaries:

Node: 8.11.4 - /usr/local/bin/node
Yarn: 1.6.0 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm

npmPackages:

styled-components: ^4.0.2 => 4.0.2

Reproduction
Title.extend``.withComponent('h1')
styled(Title)``.withComponent('h1')

Top keeps all styles.
Bottom removes all styles.
https://codesandbox.io/s/0y90mkm6zp
Steps to reproduce
Style a styled component than use withComponent.
Expected Behavior
To have the same behavior as extending a styled component and using withComponent.
Actual Behavior
The component only has the outer styles.

Try using the "as" prop or attr instead of withComponent. You're right though that wasn't specifically called out in the migration guide. Want to add it over at https://github.com/styled-components/styled-components-website?

Thank you I didn't know about that repo. I added it as an issue on the website.


chore(master): release 0.19.1

:robot: I have created a release beep boop
0.19.1 (2022-08-03)
Bug Fixes

compile types when building the library (#516) (df925b0)

This PR was generated with Release Please. See documentation.

🐝 PR preview in Swarm
Preview URL: https://bah5acgzaf77wdwpxrj7jdjy45v6c4ehpu5k6gebwv6bvesje673eoqulnifa.bzz.link
Swarm Hash: 2fff61d9f78a7e91a71ced7c2e10efa755e31036af83524924f7f647428b6a0a
Commit Hash: 4e44f303b46602f09c438fe6a280aa251f295185
Commit Message: chore(master): release 0.19.1

:robot: Release is at https://github.com/ethersphere/bee-dashboard/releases/tag/v0.19.1 :sunflower:


Fix ReverseProxied middleware and add docs

Starlette introduced some new changes to how the root_path is handled, which broke our ReverseProxied example and test.
This PR fixes both and adds documentation on how to run behind a proxy.

coverage: 94.214%. remained the same
when pulling df8abd34c414b615a34645c073cd12a227948d50 on bugfix/reverse-proxy
into f8f461c5240f6d01b0d8c7104387993ce811b2c7 on main.