Implement more commands for the watch protocol (Techkoo)

What I did: Connected with telnet to the control server
telnet <IP_ADDRESS> 8001

Then I "authenticated" as a watch using the debug output from traccar.
Now I can send commands using the SeTracker android app.
Replace $ID$ with the ID.
Upload Interval in seconds 60 min
[3G*$ID$*000b*UPLOAD,3600]

1 min
[3G*$ID$0009UPLOAD,60]
SOS  Number 1, 2, 3
[3G*$ID$*001e*SOS,$NUMBER1$,$NUMBER2$,$NUMBER3$]

Phone Book (00710071 seems to be an encoded name)
[3G*$ID$*0053*PHB,1111111,0066007200690065006e00640031,2222222,0066007200690065006e00640032,,,,,,]
 1111111,0066007200690065006e00640031   # number1 = 111111  name2 = "friend1" (simply hex encoded string)
 2222222,0066007200690065006e00640032 # number2 = 2222222   name2 = $fiend2)

up to 10 friends from the app, but sends only 10 - probably it is waiting some kind of "okay"
 [3G*$ID$*006b*PHB,111111,0066007200690065006e00640031,2222222,00660032,333333,00660033,44444444,00660034,5555555,00660035]

Let the watch ring
[3G*$ID$*0004*FIND]

Set timezone: (GMT +1)
[3G*$ID$*0007*LZ,0,+1]

Plus GMT+8:30  summer time
[3G*$ID$0009LZ,0,+9.5]
Language + Timezone (5 = German)
[3G*$ID$*0009*LZ,5,+11.5]

Seems to use 0007 for full-hour offset and 0009 for .5
Set silence time
[3G*$ID$*002f*SILENCETIME,00:02-06:22,22:00-23:00,18:00-19:02]

Power off
[3G*$ID$*0008*POWEROFF]

Monitor call back
[3G*$ID$*0016*MONITOR,$NUMBER$]

Save-zone does not send anything to the app (but traccar can do the same)
Set Hearts
[3G*$ID$*0008*FLOWER,2]

I was able to set the timezone via traccar :-) awesome stuff

Really interesting would be of course to be able to send and receive voice messages as well :-)

You don't need to reverse engineer it. There is official documentation available.

Where?

You can find the link on the documentation page on the website:
https://www.traccar.org/protocols/

Thank you - but my findings are slightly different (SOS Number, additionally the ability to set the time zone).
How can this be implemented? I do not think we need a different "watch2" protocol handler, right? Just adding the commands?

If you want to add new command, just add them to existing protocol encoder.

Okay, hope I find the time for it.
Is the GUI also customizable? Like with dropdowns with available time zones
and such?

What do you mean by customizable? It's possible to do anything in the source code.

:-D
But is it already easily possible to define in the commands which input types they expect from the GUI?

I think it's fairly simple because there are already some examples.

Okay, that's what I wanted to hear ... let's see if I can do it. Thank you :)

But I think the voice recording and receiving thing would be a bit complicated, right? (also does not really belong in that piece of software, but would be interesting)

Yes, it would be more complicated, but it's still possible to implement. We can store it in a blob in the database. I plan to implement similar functionality for images.

@tananaev https://github.com/AddisMap/traccar/commit/539c07c3fa942445adfbbdf7091cd46094ec1224#commitcomment-20232894

Strange ... the clock currently has a 0.5hrs offset. i.e. when I set 1.5h I get UTC+1

@tananaev What about saving state on the traccar server, for example the phone book, as I have to transmit always the full phone book. Or the current language, as Setting the time zone goes with setting the language.
I think there are custom attributes for that. Was this done for other devices already?

No, it hasn't been done for other devices. I guess it's possible to save it in device attributes, but I'm not sure if it's the best idea.

What would be the disadvantage? What are the device attributes originally meant for?

Attributes are meant to store any additional information. I guess the main disadvantage I can think of is that data can before out of sync with what is set up on the device.

Sure, data could be out of sync, but practically will not be (at least in the case of that watch), because you are not able to set the parameters in another way then SMS and DataCenter (Traccar).
If we call the attribute "LastSendState" it should all be fine.
I believe the stock-app is working the same way.

Maybe it's fine. I can't think of any other issues.

By the way, I noticed that your commits are not linked to your GitHub account. I guess you are using different email.

Concerning the custom commands: Currently we enter the full command which contains the watch's ID and  the command Character count in Hex.
What do you think about generating the ID and length automatically and only input the "payload" part of the custom command in the web interface?
But this would be a backwards-compat breaker of course.
@tananaev What do you think?

I think it makes sense. That's how many other custom commands work.

Okay, will implement if I find a time. Just caring about backwards-compat ... maybe I switch to the old (current) way if the command starts with [

I don't think it's worth including any backward compatibility.

How remove phone book by custom command
[3G*$ID$0053PHB,1111111,0066007200690065006e00640031]

This file lists commands for the watch protocol. https://github.com/tananaev/traccar/files/213814/3g.elec.comm.protocol.docx
Most of these work per SMS too. (Tested on RF-V28)
Most importand would be:

CR# to start tracking for a period of time set by WORKTIME,x#

gprsgps,x,x# to activate data and/or continuous gps tracking.

upload,x# to set the update interval in continuus mode.

Also it sends LBS data, which is ignored by traccar, even though it would be supported in general.
for example:
``
2018-08-11 00:29:26 DEBUG: [c00dd42f: 5093 < ip] HEX: 5b33472a323731363334313236392a303030392a4c4b2c302c302c32305d
2018-08-11 00:29:26 DEBUG: [c00dd42f: 5093 > ip] HEX: 5b33472a323731363334313236392a303030322a4c4b5d
2018-08-11 00:29:26  INFO: [c00dd42f] id:<PHONE_NUMBER>, time: 2018-08-10 13:40:00, lat: 0.00000, lon: 0.00000, course: 0.0
2018-08-11 00:32:16 DEBUG: [c00dd42f: 5093 < ip] HEX: 5b33472a323731363334313236392a303036442a55442c3131303831382c3030333231342c562c30302e3030303030302c4e2c20302e303030303030302c452c302e30302c302e302c302e302c302c3130302c32362c302c302c30303030303030302c312c302c3233322c332c31323035322c393135312c3136342c302c302e305d
2018-08-11 00:32:16  INFO: [c00dd42f] id:<PHONE_NUMBER>, time: 2018-08-11 00:32:14, lat: 0.00000, lon: 0.00000, course: 0.0
``

bonour ,Pouvez-vous me dit comment cacher le clavier munerique de composition de numero


Test expansion

The operator test coverage is rather low. While we don't have cover every statement we should at very least run some tests on the main control flow branches. These patches will help with that.

/hold
In order to avoid a merge conflict, we need to hold this until https://github.com/openstack-k8s-operators/dataplane-operator/pull/303 can be merged. PR 303 is the top priority in order to get merged at this time.

/unhold
rdoproject.org/github-check jobs should be passing now.

recheck

I'm afraid I'll have to rewrite all of this. Recent changes to the operator reconciliation loop have effectively made some of these tests incompatible.


feat: Sync from noir

Automated pull of development from the noir programming language, a dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
feat: get last mock oracles params (https://github.com/noir-lang/noir/pull/4789)
feat: split backend_barretenburg into prover and verifier classes (https://github.com/noir-lang/noir/pull/4769)
chore: testing that nargo fmt is idempotent (https://github.com/noir-lang/noir/pull/4765)
feat: Sync from aztec-packages (https://github.com/noir-lang/noir/pull/4787)
fix: ArrayGet and Set are not pure (https://github.com/noir-lang/noir/pull/4783)
END_COMMIT_OVERRIDE

Benchmark results
Metrics with a significant change:

tx_sequencer_processing_time_ms (5): 1,357 (-35%)
note_successful_decrypting_time_in_ms (8): 216 (-26%)
note_trial_decrypting_time_in_ms (8): 19.9 (-79%)
note_trial_decrypting_time_in_ms (64): 96.7 (+177%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,808
6,808
6,796

l1_rollup_execution_gas
587,289
587,289
587,277

l2_block_processing_time_in_ms
1,484 (+3%)
5,236 (-1%)
10,296 (-4%)

note_successful_decrypting_time_in_ms
:warning: 216 (-26%)
526
978 (-12%)

note_trial_decrypting_time_in_ms
:warning: 19.9 (-79%)
38.8 (+22%)
:warning: 96.7 (+177%)

l2_block_building_time_in_ms
10,867
39,152 (+1%)
78,602

l2_block_rollup_simulation_time_in_ms
10,675
38,449
77,229

l2_block_public_tx_process_time_in_ms
5,337 (+1%)
20,901 (+1%)
42,960 (+2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,091 (-1%)
29,237 (+1%)

note_history_successful_decrypting_time_in_ms
1,180 (-1%)
2,286 (-2%)

note_history_trial_decrypting_time_in_ms
39.8 (-21%)
76.6 (-23%)

node_database_size_in_bytes
18,743,376
35,082,320

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
146 (-3%)
44,561
26,424

private-kernel-inner
156 (+1%)
72,188
26,424

private-kernel-ordering
109 (+1%)
51,090
39,297

base-parity
3,923 (-1%)
128
311

root-parity
1,048 (-5%)
1,244
311

base-rollup
13,389 (-1%)
110,820
957

root-rollup
49.7 (+1%)
4,551
821

public-kernel-app-logic
84.0 (+2%)
48,151
40,933

public-kernel-tail
124 (+2%)
53,644
7,385

merge-rollup
10.7 (-3%)
2,760
957

public-kernel-teardown
78.3 (-23%)
48,151
40,933

public-kernel-setup
77.4 (-25%)
48,151
40,933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.0
17.7 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.640
0.546 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.9 (+1%)
81.1 (+1%)
262 (+1%)
501 (-1%)
986 (+1%)
1,961
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.532 (+1%)
0.500 (+1%)
0.478 (+1%)
0.468 (-1%)
0.469 (+1%)
0.469
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.3
120 (+1%)
377 (+1%)
737
1,466 (+1%)
2,923
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.534
0.540
0.514 (+1%)
0.508
0.509 (+1%)
0.509 (+1%)
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
67.4

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.589

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
41,005
528,889

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
905
1,161
1,377

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,155 (+1%)
786
3,423

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
464 (+2%)
307 (+1%)
817
393 (-2%)
:warning: 1,357 (-35%)
464


Add new RFC, design of "Sign Transaction" protocol -- perhaps Indy specific

A common use case on Indy is the need for a Transaction Author that is not an Endorser to prepare a transaction for the ledger, pass it to an Endorser for a signature and on receipt, execute the transaction.  This is explored in this HackMD document, in this presentation (https://docs.google.com/presentation/d/1bF_Su5m-kfFxcFL7xVlzPAEo3isnQrkqP4T2s3mMB2Y/edit?usp=sharing) and was discussed in this Aries WG Call ("Please Sign This" item).
Several questions are open about this:

Should this be an "Indy Only" protocol that deals specifically with Indy issues?

If not Indy specific, perhaps the first cut should be, to deal with this specific case.

The structure of the current (as I write this) HackMD document is not (IMHO) quite right. It should be closer to the "Issue Credential V2" approach of an attachment and a format/handler in the message for how to handle the attachment.  Suggest reworking the message formats accordingly

This approach would allow building an initial Indy-specific way to do this, while remaining open to other options.

There are sometimes needs to have n of m signatures on a transactions -- e.g. send the message out to 5 (m) entities and once 3 (n) have been returned, send a "nevermind" to the other 2 (m-n) and complete the protocol

When handling multi-signatures, specific transactions that are being signed apply the signatures in format-specific ways. For example, Indy has a specific way of handling that.

The Admin interface for this protocol needs to be defined.

How is the process initiated?  How does an Endorser/signer controller get notified of the request and respond?

The specific transactions that need to be endorsed are handled in ACA-Py today -- ledger transactions to create DIDs, Schema, Cred Defs, RevReg and RevRegEntries.  How do we inject this endorser process into those existing flows?
How does the agent that needs an endorser know who to send the request to?

How does it establish a connection with the Endorser on startup?
How does it know the connection to use on restart?
Is a startup option defined to notify the agent that it has to do these things?

This task is to come up with a sufficient design for this feature that we can implement.

@ianco -- the idea here is that you work on the design.  You may also get to implement, but we've had others that might be able to do the implementation -- perhaps a dev from @jadhavajay 's team at AyanWorks.

Who is responsible for accepting the TAA?  Is it the transaction author or the endorser?  (Or both?)

The transaction author.  Slowly now.. TAA -- "Transaction Author Agreement"

:-)

I suggest to leverage a couple of existing rfc's:

Signed attachments:  https://github.com/hyperledger/aries-rfcs/tree/master/concepts/0017-attachments#signing-attachments
Question/Answer:  https://github.com/hyperledger/aries-rfcs/tree/master/features/0113-question-answer
Goal Codes:  https://github.com/hyperledger/aries-rfcs/tree/master/concepts/0519-goal-codes

The basic signing protocol is:

I create a message with an attachment that I want signed, and a request that says "Please sign for this reason (goal code) and return by (date)"

For Indy transactions the TAA acceptance is just part of the attachment, this protocol doesn't need to worry about it
We could specify a signature type, or determine the required signature type based on the attachment type

I send this message to however many endorsers I have configured (assume each has an existing connection)
The endorser can:

Return a message with the signed attachment
Return a status of "won't sign" or "can't sign" (with a reason)
Ignore the signing request

If I don't get a response within (some timeframe) I can re-send the same request (same thread id)

As an endorser if I get a duplicate request I can just return the same response again, I don't necessarily need to track a history of what I've signed

Requester will potentially receive multiple signatures, it's up to them to collate them in to a single transaction to write to the ledger
If the requester receives enough signatures (e.g. sends to "m" endorsers but only needs "n" signatures (m>n)) then either:

send a "forget about it" message to the remaining endorsers
or just ignore subsequent responses

How this fits into existing protocols:
Protocols that write to the ledger (public did, schema, cred def, revocation registry) need to incorporate the above signing protocol.  The aca-py agent will need to be configured with either (a) an endorser DID, or (b) a (list of) endorser connection(s) who can sign transactions.
For aca-py's with an endorser did, they can just write to the ledger.
Otherwise, once the ledger transaction is prepared for the above protocols and is ready to write to the ledger, it will be written to a persistent queue and sent to each endorser.  (aca-py will need to know how many signatures are required and what endorsers are available.  Endorsers obviously need to support the signing protocol.)
As endorser responses are received (signatures or non-signatures) they are collated against the transaction (in the persistent queue) and once enough transactions are received the transaction is written to the ledger.  Subsequent responses can be ignored.  The initiating protocol (public did, schema, credential definition, revocation registry) may need to be continued.
If not enough responses are received within (timeframe) then the transaction is timed out and the initiating protocol may need to be errored out and rolled back.

aca-py API needs to be enhanced to:

Configure endorser connections (connections are setup separately but need to be flagged as endorsers)
Configure signing requirements for public did, schema, credential definition, revocation registry

May need to be generic to allow for future protocols and signatures for non-Indy transactions?

Need to review protocols for public did, schema, credential definition, revocation registry to see where the ledger writes fit in, and how to make the protocol continue or roll back after the signing protocol is completed
Add api to view status of signature-requests-in-progress and potentially trigger a "signature request re-send" or "cancel" of the calling protocol

Thoughts on the three comments:

I didn't at first get the need for the Q&A protocol, but I think you mean to use it as the implemented protocol, attachment and goal-codes are decorators that will be used for the protocol.
I think there will have to be some post processing of the Indy ledger transactions to insert the signatures in the appropriate way in the transaction.  It's definitely possible, even for multi-sig transactions, as the Sovrin NetOps team was doing that for transactions. Indy transactions have a section that need to be signed, and a section that holds the signature, all in JSON.
Why call out a "persistent queue" vs. just calling a child protocol (or multiple) as part of the flow?  Couldn't the Q&A protocol simply be called as needed?  Not that I'm saying that shouldn't be done that way -- just looking for clarification on why.
The "I'm an endorser" configuration is going to be interesting.  I think we can detect is a DID to which we've connected is an Endorser (if it is an Indy DID) now, although it's not clear that just being an Endorser DID implies it is the endorser DID I use.  I think the logic of what Endorser to use needs to come from the Controller.  Perhaps the Controller needs to say "MyDID= Endorser=" on the necessary admin requests, and ACA-Py is responsible for establishing a connection with the Endorser (if not present already) and then interacting with the Endorser.  The "MyDID" part may be redundant as they are in the messages to be signed, but might be easier to include vs. having to extract from the transactions to be executed.
Note that I think the Endorser side of the protocol has to be built up and is different from the Author part of it, which is defined here.

One more thought.  I question using Q&A for this vs. having another protocol.  At minimum we'll want to update Q&A to reflect how it will be used.  But I'm guessing that doing this will not be as easy as just implementing Q&A (as defined now) and adding decorators.

Hi @swcurran, we have identified a developer from our team who can contribute to this development with @ianco . He will join the regular ACA-Pug calls to get in sync.

Thanks @jadhavajay !  We talked about this on our internal sprint review todau.  Ian is going to do some more refinements to the docs and perhaps do a WIP/Draft PR that does a little bit of the work, but leaves the heavylifting.
@ianco I'd say once you have things finalized, do a new Issue that has the (as best we know it) solution defined and we'll close this issue. The implementation will start from there, and the conversation on that issue will be about implementation details vs. the design itself.

Also - let's decide what RFC update is needed -- if we are going to use Q&A and we need to add details to it or if this will be a new PR.
Oh and one more thing.  Do keep in mind the Aries Toolbox part of this so that we can see if we can make that happen.

Hackmd doc is updated:  https://hackmd.io/5LzMhfsMQBevB5V2tKz4hA?view

@jadhavajay @swcurran I've been updating the hackmd doc with my thoughts around the design, can we schedule a call early next week to discuss?  Monday is a holiday here so sometime from Tuesday onwards ...  I'm in Victoria BC (Pacific Time) but am flexible to do an early morning or an evening call.

Sorry for the late reply on this @ianco. Yes, we can schedule a call to discuss. Please suggest if this week is still good for you.

CC: @HarshMultani

Perhaps we can cover on the ACA-Pug meeting today?

I think we can.

Not on the plan right now.  How about adding at least an issue about that -- ideally a PR :-).
Thanks!

Hi @swcurran @pstuermlinger.
Yes, there is an issue about that. And it should be done in some days
https://github.com/hyperledger/aries-cloudagent-python/issues/1031


\not broken with new spacing code

0.9.0 seems to have introduced a bug in this simple example: \not E
0.9.0 renders as follows:

    ̸

    E

0.9.0-alpha2 (as on the current demo site) renders correctly:

      ̸
      E

We should add a screenshot test case for this so we don't regress in the future.

@edemaine I forgot that we do have screenshot tests for this.  This bug seems to be Safari only.  Can you confirm what browser you're seeing this in?

@kevinbarabash I just confirmed that the issue is present on Chrome 65.0.3325.181 for Windows on the current demo site (0.9.0).

Interesting.  It works fine for me in Chrome 66 on Mac.  In makeFF it looks like we're using the combining version and we're setting a negative left start bearing on the character which is probably what's causing the issue.

I've created https://github.com/KaTeX/katex-fonts/issues/44 to track fixing this.

Just updated to 66.0.3359.117 and same issue.  Weird.  So maybe specific to Chrome for Windows?  And I assume you're seeing it on Safari too?
Anyway, we/you moved all the other accents over to noncombining characters to avoid Safari issues, so probably should do the same for \not...

I'm seeing the issue on Safari.

Actually, I tried this on quicklatex, and maybe the new behavior is actually the correct one! (matching LaTeX)

@edemaine \not= is totally wrong.  It renders as = / in Safari so I think we still need a fix for this, as least for Safari.

@riteme That is the intended behavior of \not -- it's how it works in LaTeX.  Here's a rendering from quicklatex.com:

\begin{align*}
\not| \\
\nmid \\
\not\mid
\end{align*}

@edemaine That's strange... I have just switched to KaTeX from MathJax. It seems that MathJax simply translates \not\mid into \nmid.

Thanks @riteme for the heads up. This does seem to be a difference between LaTeX and MathJax.  In these situations, we generally prefer to match LaTeX, in particular so that someone converting code from KaTeX to LaTeX will not have any surprises.


How to edit the 'MUTABLE' entity if not render it's decoratedText

I mean when I set the type of entity as 'MUTABLE',only by render props.children can I edit it's content.
Does it possible to edit a MUTABLE entity when I render other text?

@Feelin - I'm not sure I correctly understand this question. Could you provide some more details and a code snippet, so that the community may be able to help you?

Closing this issue due to no response.


scrollUntilVisible not has timeout

I am having issue with command scrollUntilVisible. I can stop it when not have element on page.
Anybody have idea for it?
Thanks.

It is avaiable with #358


SwiftMailer error on sending attachments with the E-Mail Finisher

copied from https://github.com/neos/form-builder/issues/49

If I use the new neos/swiftmailer package (^6) and try to send attachments via the e-mail finisher you get the following error:
Call to undefined method Swift_Attachment::newInstance()

From the error, it's clear that Swift_SmtpTransport class doesn't have a newInstance method.

The reason for this error is the usage of an unsupported version of swiftmailer/swiftmailer.
Currently the Forms framework supports version 5.x that is required by neos/swiftmailer 6.x.
composer require neos/swiftmailer:^6

fixes the issue

Will be fixed with version 4.3+


How should panning work when drag is near the edge of the screen?

For https://github.com/phetsims/qa/issues/785
Moved this to an issue after conversing with @jessegreenberg on slack:
Right now, if you start the drag near the edge of the screen its assuming that you are trying to pull it into view and doesn't start panning right away. But if you return to the edge of the screen it should continue panning.
Here is an example with function builder. Currently, I would need to move the card left first before the screen would pan to the right:
https://user-images.githubusercontent.com/87318828/158858240-60d280f5-ca9d-41d2-9a84-d7f05d48408e.mp4
But is it more desirable for panning to occur when you start to drag near the edge of the screen like this?
https://user-images.githubusercontent.com/87318828/158858849-5d0aacfa-d98c-4f8c-92aa-909c029a7a5e.mp4

Thanks @Nancy-Salpepi - I would like to have a design meeting to decide what we should do in this case.

Copying some notes I wrote on slack describing the reason I chose this behavior:

The reason I went with this behavior is because if it pans as soon as you drag in this case it will just immediately start panning the screen while the mouse is down near the edge. I wanted to make sure that is what the user wanted.

I made a quick test version to demonstrate how it feels to remove this behavior:
https://phet-dev.colorado.edu/html/jg-tests/pan-and-zoom/function-builder_en_phet.html
I think the behavior on master is correct but can see how it may cause confusion so would be good to discuss.

We discussed this during design meeting today. It was not obvious to everyone why it behaved like it does in master (wait to pan until an object is pulled into view) but the general consensus was that it did feel disorienting to immediately start panning when dragging something off the edge of the screen. In that case, the screen pans in the opposite direction that you are dragging the object.
We decided to do nothing for this issue for now. I updated the description of the pan and zoom feature to reflect this. Closing.


Add missing API Measure types

(taken from: https://developer.withings.com/api-reference#tag/measure/operation/measure-getmeas)

THX!


Update Themes

The light Themes looking ok, but the dark Theme need to be updated fast.
Updated Themes:

[ ] Dark Theme (Important)
[ ] Light Theme

Closed as Completed


Changed previousTrack to backTrack

This restores the default behaviour of the "rewind" media key in iTunes.

Thank you for the pull request, approved!

Thank you!


Following BufWritePost autocommand is skipped when :w is wrapped in :try

augroup test_bwp
  au!
  au BufWritePost * echoerr "error"
  au BufWritePost * echom "after"
augroup END

command! WWithTry try | w | catch /EFOO/ | endtry

When calling :WWithTry, the "after" is not displayed.
But just using :w will display it.
This appears to not be a problem with autocommands in general, since when using CursorMoved both messages get displayed:
augroup test_bwp
  au!
  au CursorMoved * echoerr "error"
  au CursorMoved * echom "after"
augroup END

command! MoveCursor try | exe 'norm k' | endtry

The file is loaded with vim -Nu vim-bufwritepost-with-up.vim vim-bufwritepost-with-up.vim.
Happens both in Vim 8.0.8 and Neovim v0.1.6-89-g2daf54e.

This is expected: :try transforms echoerr into an exception which prevents execution of the following pieces of code, replace echoerr with throw in your second example and you will see the same result. What is your problem in the example is that you think that norm k triggers CursorMoved right there. It does not: try
augroup test_bwp
  au!
  au CursorMoved * echoerr "error"
  au CursorMoved * echom "after"
augroup END

command! MoveCursor try | exe 'norm k' | catch /error/ | echomsg v:exception | endtry | echomsg 'After'
MoveCursor

, you will see After before error and you will not see an exception: CursorMoved autocommand is executed outside of a :try block.
This is basically why you must not use :echoerr unless you immediately surround it with :try: you can never tell whether code after :echoerr will or will not be executed (if you surround it with try you may always tell that it will not, but I do not know a way to make echoerr work so that it will).


ordered --> unordered typo fix

Just a minor typo fix

can you get rid of the unrelated whitespace changes?

Done.
Sorry, most of my editors clean tail whitespace on every save.

thanks!


crash and chat fixes, chat and camera improvements

Crash fix. When the client was launched and no connection to the server
was established the client would crash. Now the client will print to the
console a message stating that no connection was made and the client is
now in stand alone mode.
Pressing the [t]key now properly sets focus to the chat input element.
Improvements to the location of the chat window.
Camera code has been much revamped adding a toggle between 3 POV setting
by pressing the [c]key

I am closing this pull request so I can resubmit it. The tab spacing changes make this a nightmare so I want to fix this up. This was my first pull request so I am still learning. :)


OCW HTTP Fetching and JSON Parsing

Based on this original OCW recipe, this how-to guide steps developers through the process of constructing HTTP request for OCWs including:

sending a request to a Github API remote endpoint
using the serde library to parse a JSON string from a HTTP response into a data structure
manipulating that data structure in the node's runtime

When completed, replace the recipes reference here
https://github.com/substrate-developer-hub/substrate-docs/pull/468

We have some documentation:
https://docs.substrate.io/reference/how-to-guides/offchain-workers/
Maybe close some of these issues to reduce noise for the new site.


Changes to .update file

Say, user is changing the search parameters the update file might conflict and not download any files. If update file is present, then we need to compare it to the search parameters and make some decisions on whether we want to use the .update file or show a warning. For example -- say
"There are X number of files in the search parameter used , but all occur outside of the latest date in the .update date of YR-MO-DY.  Delete update file if you wish to proceed,”
Other option is to add a flag that says, ignore .update file.

Release 1.8.0 will introduce a new tool that allows 'data download' outside of a subscriber context. this will allow the bypassing of many '.update' file issues we've seen when using the subscriber as a 'bulk downloader'.

Closed. Will be available with release of 1.8.0


Bind and test C++ Libraries in Python

References #18

[x] Find a python package which is capable of binding C++ libraries into python and calling C++ functions within python
[ ] Test the functionality of the C++ procedures within a python programs (under tests)
Note: If C++ functions/libraries are too complex to test individually, simply make a sample C++ function and test it within a sample python program

Could create a python extension module using Python C API to bind C++ classes to Python.
A possibly simpler approach is to use pyBind package to link and bind C++ classes to Python.

Decided on using pyBind. Worked with Sean to get my environment set up and the current build working.
[t:30]

Attempted to use pybind11 by creating a bindings.c++ file that binds C++ class and their functions to python. The steps to bind:

Create python bind in file bindings.c++ with pybind11. Define the binding to the constructor
Build the module (cyCodeBase) using C++ compiler with pybind11 header with g++
Use the module in python. Import module, create object using imported module and call constructor.

In the first step, for every function need to create a pybind_module definition for that function. There are dozens of functions inside lots of C++ files so this might not be practical.  Consider only binding a select few function such as the constructor.
Calling just the constructor is how the matlab code implements this:

mex compiles and links source files into shared library (cyCodeBase)
call PcCoarsen constructor (in a for loop over each level) that calls wse.Eliminate and returns the next level of points x{j} coarsened.

[t:120]

Made some edits in C++ but got errors. Researched C++ syntax walked through more code
[t:60]

Pair programmed with Tanner
Discussed some issues with the current C++ implementation of a function, and py binding

[t:110]

Pair programming discussed how PcCoarsen2D.cpp uses overloaded operator() with input/output parameter lists shared with matlab.
Started rewriting the class. Can just define our own input and output parameters. With 2D can make some assumptions and hardcode so only need two input parameters. Discussed data types and C++ conventions.
[t:165]

Verified build and compilation with new pybind dependencies. Reviewed Docker build settings and how to compile for the container.
[t:60]

Working to finish the PcCoarsen2d.cpp rewrite.
[t:30]

2nd draft with checkarguments handled in modified Coarsen() function. More edge cases could be handled. Updated data types and added parameters.
[t:115]

Another rewrite. Removed most error handling and some data type conversions since this can be done in python. Now a much simpler implementation with better documentation.
[t:95]

New bindings and dependencies altered. Fix calling of library. Updated run scripts.
[t:115]

Reverted some changes. Creation of cy.Point2D better handled in coarsen() function.
[t:135]


h264 pub issue

dear author,
when i develop sip project , i found a strange issue about different cell phone.  when i use xiaomi brand cell phone to communicate with livekit , it worked good ,  but when i change the cellphone to sumsung brand to call into livekit , it cannot display the video。  please help me to get rid of it,  i can pay for your help.  by the way,  i captured two net package about them. thanks anyway.
netpackage.zip

Since video SIP isn't officially supported yet. I'm afraid we aren't unable to help here.


cannot import name timestamp_pb2 when running on local ubuntu machine

Importing gcloud barfs on my local machine. Here the system and version details and the error message.
This may be similar to what others are seeing. I can't reopen this issue, hence creating a new one.
Python Version: 2.7.6
Ubuntu Version: 14.04
gcloud Version: 0.11
Traceback (most recent call last):
  File "Sample.py", line 1, in <module>
    from gcloud import pubsub
  File "/usr/local/buildtools/current/sitecustomize/sitecustomize.py", line 181, in SetupPathsAndImport
    return real_import(name, globals, locals, fromlist, level)
  File "/usr/local/lib/python2.7/dist-packages/gcloud/pubsub/__init__.py", line 26, in <module>
    from gcloud.pubsub.client import Client
  File "/usr/local/lib/python2.7/dist-packages/gcloud/pubsub/client.py", line 18, in <module>
    from gcloud.client import JSONClient
  File "/usr/local/lib/python2.7/dist-packages/gcloud/client.py", line 20, in <module>
    from gcloud._helpers import _determine_default_project
  File "/usr/local/lib/python2.7/dist-packages/gcloud/_helpers.py", line 26, in <module>
    from google.protobuf import timestamp_pb2
ImportError: cannot import name timestamp_pb2

Related to https://github.com/GoogleCloudPlatform/gcloud-common/issues/48 ?

Yes, and https://github.com/GoogleCloudPlatform/gcloud-python/issues/1436.

@jgeewax Nope. It's all been catalogued in #1436.
@vsubramani I re-opened that issue for you. Let's discuss over there.
In particular, weigh in on whether you've run pip install with --upgrade and also run the suggested commands to find the google/protobuf folder and list the files contained in it

Ahh I see. The original report for #1436 started in gcloud-common


[Feature]: Make the suggested widgets more noticable

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Currently, when users run a query a list of suggested widgets is shown on the right hand pane. The users can select one of the suggested widgets to create that widget on the canvas and connect their query to the selected widget. However, it has been noticed that the users are not selecting the widget from the right hand pane. Instead they go to the canvas and drag and drop the widget. Hence, it would seem that we need to somehow draw the user's attention to the list of suggested widgets, which they seem to be ignoring at the moment.
Ref: https://theappsmith.slack.com/archives/CGALMH6MT/p1665233735271839?thread_ts=1665152643.364829&cid=CGALMH6MT
Why should this be worked on?
Better user experience.

Hello, I was interested in working with this issue but I can't see the slack content you have shared because of not having an appsmith.com email. It could've been great if I get more info on what right hand pane and what search query is being referred to in this context. I can see that widgets can be searched in the left pane and it also shows the search results there only.

@AnuragThePathak thanks for showing interest in contributing to this issue. However, this issue might not be a good fit since it would need internal discussion and design iterations. I would suggest that you pick up another issue to work on. Please read through this code contribution guidelines before you start: https://github.com/appsmithorg/appsmith/blob/release/contributions/CodeContributionsGuidelines.md

@sumitsum I was thinking that modifying styles here https://github.com/appsmithorg/appsmith/blob/12f9a005ae4f90a4678d04232fb5a34c8359cf90/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx#L519 will solve the issue. Anyways, thanks for making me aware that it would need internal discussion and design iterations.

Closing this since we're making suggested widgets automatic now


No output on OS X when piping through grep

I have a use case which looks something like this:
run_program_with_verbose_output | grep StuffICareAbout | gnomon

When I run this with gnomon I get no output at all, but if I don't pipe through gnomon I get output. I was able to repro in the following way using two terminals:

On terminal 1 run echo "test" > test.txt
On terminal 2 run tail -f test.txt | grep asdf | gnomon
On terminal 1 run echo "asdf" >> test.txt

Expected results: terminal 2 should show asdf with timing info
Observed results: no output at all in terminal 2
I'm running on OS X 10.12.6 in bash
Running grep asdf test.txt | gnomon works as expected, so it must have something to do with the pipes?

Hi @bradneuman,
have you tried
run_program_with_verbose_output | grep --line-buffered StuffICareAbout | gnomon

?


Match Unique paramters with 3 or more '#'s

basically regex match to \###+

closed via https://github.com/sedouard/azure-arm-validator/pull/10


Clarifying when to uppercase constants

It's been a little confusing to me reading through code when to and when not to upper case a constant name.

I really love the idea of getting the when/why, I think we should try to find or build a lint rule that will enforce this since a rule not enforced will not be followed.


Set up .env and .yaml to use HOST database

I'm having issues running the Percona database and would prefer to use my host MariaDB installation. How do i configure the setup files to do this? and do I need to configure docker since it will be connecting outside of the docker environment

Is this still an issue?


"UnboundLocalError: local variable 'deserialized'" with azure-cli 2.34.1

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az kusto cluster create Extension Name: kusto. Version: 0.4.0.
Errors:
The command failed with an unexpected error. Here is the traceback:
local variable 'deserialized' referenced before assignment
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/aadmin/.azure/cliextensions/kusto/azext_kusto/generated/custom.py", line 116, in kusto_cluster_create
    return sdk_no_wait(no_wait,
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/util.py", line 678, in sdk_no_wait
    return func(*args, **kwargs)
  File "/home/aadmin/.azure/cliextensions/kusto/azext_kusto/vendored_sdks/kusto/operations/_clusters_operations.py", line 219, in begin_create_or_update
    raw_result = self._create_or_update_initial(
  File "/home/aadmin/.azure/cliextensions/kusto/azext_kusto/vendored_sdks/kusto/operations/_clusters_operations.py", line 171, in _create_or_update_initial
    return cls(pipeline_response, deserialized, {})
UnboundLocalError: local variable 'deserialized' referenced before assignment

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az kusto cluster create --cluster-name {} --resource-group {} --subscription {} --sku {} {} {} --location {} --type {}

Expected Behavior
Environment Summary
Linux-5.4.0-1072-azure-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.8.12
Installer: DEB

azure-cli 2.34.1

Extensions:
kusto 0.4.0

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

@jaburi Thanks for your feedback! We will investigate and update as appropriate.

route to CXP team

@jaburi I am able to reproduce this issue and checking internally with the products team on the same.  I will get back to you as soon as I have an update -

@jaburi This has been fixed in the newer version of Az module. Please use Kusto 0.5.0 version and let me know if you have any questions.
Thanks
Saurabh

@jaburi We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Issue: investigate random fluctuations to render count between runs when using VirtualizedLists

Summary
@TMaszko & @Xiltyn reported that under some circumstances render counts fluctuates by +/- 1 or +/- 2 between runs when applying Perf Tests on complex codebase. Theirs initial research pointed to update renders triggered by VirtualizedList/FlatList in situation of changing the underlying list data.
To Do
Investigate FlatList/etc impact of variable number of renders. Create test scenarios that try to replicate the random behavior and isolate it as much as possible in order to find root cause & possible solution or workaround.

Closing as stale and not really actionable at this stage.


ODatabaseDocumentTxPooled.getUser() sometimes is returning null under heavy load

This issue quite hard to reproduce... Do you have ideas how it might happen if pool is open and db themself obtained without authentication error and etc.

Do you use com.orientechnologies.orient.core.db.OPartitionedDatabasePool or com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool ?

I use com.orientechnologies.orient.core.db.OPartitionedDatabasePoolFactory to get com.orientechnologies.orient.core.db.OPartitionedDatabasePool

But ODatabaseDocumentTxPooled is not part of OPartitionedDatabasePool but part of com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool which is deprecated.
Are you sure that you mean exactly ODatabaseDocumentTxPooled ? If so it means that somewhere in the program you use different pool implementation.

I definitely use new implementation. That was my mistake: wanted to refer to db from pool.

Hi,
Is it the same issue as issue with "renaming of user" or different one ?

Are you sure that it is not related too https://github.com/orientechnologies/orientdb/issues/5292 ?

Closed because of no reply. Please free to reopen issue if you have information which I asked.


Feature: Populate $route.params before resolving async components

What problem does this feature solve?
Currently the params are populated after the component resolution is triggered. This makes the value of the various route params unavailable to the loader. Populating the params before can greatly simplify loading of templates and/or data (or even parallel loading of both) which is dependent on the route params.
What does the proposed API look like?
function x()
{
return loadTemplateAsync(app.$route.params.id) // this is currently undefined
}
const routes = [
    { path: '/X/:id', component: x },
];

Including routing logic in the async resolution of view components feels wrong to me. Why do you need to do it that way. I would create different routes for that purpose

This is the only way one could parallelize template loading and data fetching. Why should one wait for template to finish loading before attempting to retrieve data? For example:
function x()
{
return LoadDataAndTemplate(app.$route.params.id); // Load Data and template in parallel
// Also, at this point, the navigation has already happened as window.location.href contains "id/value"
// so it makes no sense to have $route.params.id undefined.
}
const routes = [
    { path: '/X/:id', component: x },
];

But why do you include routing logic in the async resolution of view components?

How else do you propose I can parallelize template loading and data fetching? And sometimes you might need to load dynamic templates like an svg which depends on the route params. Is there another approach I am missing?

You can fetch the data before doing the navigation with a custom router-link component, or a click event or in a before route hook

You mean like beforeRouteEnter? I just checked and saw that even beforeRouteEnter is executed after component resolution. So still one will have to wait idly till the template is loaded. For people who want to mix their routing logic with component resolution, it is already possible to do so by directly obtaining the value from window.location. And for people who would want to keep it separate, this feature would not impact them in any way. I'd say that the library should offer the freedom for people to choose, as this might make sense in some scenarios and may not in others.

I mean like beforeEnter in config: http://jsfiddle.net/posva/9wzxgmvs/
Look at the end of https://router.vuejs.org/en/advanced/navigation-guards.html

That works, but seems hacky as one would have to write the data fetching logic of a component outside the component, but again this is just my opinion. Feel free to close the issue if you like, then.

as one would have to write the data fetching logic of a component outside the component

That's pretty much what you're doing 😛 . Also, you have no choice if you want to split the parallelize component and data fetching


Remove explicit ActiveRecord dependency

The check for ActiveRecord::Base here was causing an exception in mongoid.  The tests don't cover that line and it may be better to just exclude it so that this is usable with other ORMs.

Would just checking for ActiveRecord work? Hesitant to merge this one because the  error message is quite helpful as it is.

ActiveRecord is not defined in an app that doesn't use it. We could leave the message as is and just change the check, but then it would probably be different for each ORM.  For example on Mongoid it would be checking for the inclusion of Mongoid::Document in the class.

How do you feel about checking if obj.respond_to? :id and if it does printing that second part of the message?

ActiveRecord is not defined in an app that doesn't use it. We could leave the message as is and just change the check, but then it would probably be different for each ORM.

Ah, I wasn't really aware of what Mongoid is and assumed it was now part of ActiveRecord somehow (I havent been following the, uhm, news lately) :)
Ok, I see your point now.

How do you feel about checking if obj.respond_to? :id and if it does printing that second part of the message?

I like that! Let's go for it ;)
Please squash to one commit afterwards right away then I'm happy to merge.

I'll take care of it over the weekend and let you know when it's done.

@troessner alright I've made that small change and just amended my previous commit.  Let me know if you have any reservations.

Excellent! Merged, thanks for this. Release coming up in a sec.


Basics of programming

Do you need Resources for the Basics of programming?
If yes then I have a list of some sort of resources on the Basics of programming of Java and Javascript.
So assign this issue to me so that I can contribute to this repository.


[BUG]

Describe the bug
When I try to run the docker image of my medusa app it is failing on AwilixResolutionError: Could not resolve 'authService'.
{"activity_id":"01GANBHPAKPBT7TR68TPPXW5VX","duration":1025,"level":"info","message":"Database initialized","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | {"activity_id":"01GANBHQANZY3J22FP0K1XMBRX","config":{},"level":"info","message":"Initializing strategies","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | {"activity_id":"01GANBHQANZY3J22FP0K1XMBRX","duration":1,"level":"info","message":"Strategies initialized","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | {"activity_id":"01GANBHQAQYAW8PSPAJ6CJPFV3","config":{},"level":"info","message":"Initializing services","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] Service overridden - UserService
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] Service overridden - ProductService
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] Service overridden - OrderService
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] Service overridden - StoreService
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] Service overridden - InviteService
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] 0 services registered
jungle-server-default     | [Server]      - 8/17/2022, 7:33:38 AM   [ServicesLoader] 5 services overridden
jungle-server-default     | {"activity_id":"01GANBHQAQYAW8PSPAJ6CJPFV3","duration":4,"level":"info","message":"Services initialized","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | {"activity_id":"01GANBHQAWVZ6141F3XCPQ61HF","config":{},"level":"info","message":"Initializing express","timestamp":"2022-08-17 07:33:38"}
jungle-server-default     | /app/jungle/node_modules/@medusajs/medusa/node_modules/awilix/lib/container.js:240
jungle-server-default     |                 throw new errors_1.AwilixResolutionError(name, resolutionStack);
jungle-server-default     |                       ^
jungle-server-default     |
jungle-server-default     | AwilixResolutionError: Could not resolve 'authService'.
jungle-server-default     |
jungle-server-default     | Resolution path: authService
jungle-server-default     |     at Object.resolve (/app/jungle/node_modules/@medusajs/medusa/node_modules/awilix/lib/container.js:240:23)
jungle-server-default     |     at /app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:51:37
jungle-server-default     |     at step (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:33:23)
jungle-server-default     |     at Object.next (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:14:53)
jungle-server-default     |     at /app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:8:71
jungle-server-default     |     at new Promise ()
jungle-server-default     |     at __awaiter (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:4:12)
jungle-server-default     |     at /app/jungle/node_modules/@medusajs/medusa/dist/loaders/passport.js:48:12
jungle-server-default     |     at /app/jungle/node_modules/@medusajs/medusa/dist/loaders/index.js:161:65
jungle-server-default     |     at step (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/index.js:52:23)
jungle-server-default     |     at Object.next (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/index.js:33:53)
jungle-server-default     |     at fulfilled (/app/jungle/node_modules/@medusajs/medusa/dist/loaders/index.js:24:58)
jungle-server-default     |     at processTicksAndRejections (node:internal/process/task_queues:96:5)
jungle-server-default     |
jungle-server-default     | Node.js v17.1.0
To Reproduce
Steps to reproduce the behavior:

Configure your dockerfile and docker-compose.yml
Run docker compose -f docker-compose.yml up --build
See error

Expected behavior
Server should successfully start
Screenshots
Package version:
Ubuntu 20.04
postgres: 14
node 17.1.0
npm@latest
"@medusajs/medusa": "^1.3.1",
"@medusajs/medusa-cli": "^1.3.0",
"@types/jsonwebtoken": "^8.5.8",
"awilix": "4.2.3",
"medusa-extender": "^1.7.2",
"medusa-file-minio": "^1.0.4",
"medusa-fulfillment-manual": "^1.1.26",
"medusa-interfaces": "^1.3.0",
"medusa-payment-manual": "^1.0.8",
"medusa-payment-stripe": "^1.1.30",
"mongoose": "^5.13.3",
"typeorm": "^0.2.45"
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/preset-typescript": "^7.14.5",
"babel-preset-medusa-package": "^1.1.13",
"nodemon": "^2.0.15",
"ts-node": "^10.7.0",
"typescript": "^4.5.5"
Additional context
The error is not occuring in development outside docker container
/app/jungle is my docker workdir

Can i get you to rename the issue please 😊
Also, can you share you docker files please. Because it is probably not link to the extender but might be a config issue

Sorry for the untitled issue. Here are the docker files
Dockerfile
FROM node:17.1.0 WORKDIR /app/jungle COPY package*.json ./ COPY . . RUN apt-get update RUN apt-get install -y python RUN npm install -g npm@latest RUN npm install -g @medusajs/medusa-cli@latest RUN npm install RUN npm run build ENTRYPOINT ["./develop.sh"]
docker-compose.yml
`version: "3.8"
services:
backend:
build:
context: .
dockerfile: Dockerfile
image: backend:starter
container_name: jungle-server-default
depends_on:
- postgres
- redis
environment:
PORT: 9000
DB_HOST: postgres
DB_PORT: 5432
DB_USERNAME: docker
DB_PASSWORD: docker
DB_SCHEME: docker-db
JWT_SECRET: startwiththis
JWT_EXPIRESIN: 15
COOKIE_SECRET: secret
REDIS_URL: redis://redis
ADMIN_CORS: http://localhost:7000,http://localhost:7001
STORE_CORS: http://localhost:8000
ports:
- "9000:9000"
volumes:
- .:/app/jungle
- node_modules:/app/jungle/node_modules
postgres:
image: postgres:14
ports:
- "6432:5432"
environment:
POSTGRES_USER: docker
POSTGRES_PASSWORD: docker
POSTGRES_DB: docker-db
POSTGRES_PORT: 6432
POSTGRES_HOST: postgres
redis:
image: redis
expose:
- 6379
volumes:
node_modules:`

The develop.sh file, what does it contains?

#!/bin/bash
                # I tried with and without seeding
                npm run seed

		#Run migrations to ensure the database is updated
		medusa migrations run

		#Start development environment
		npm run start:test

The package.json scripts:
"scripts": {

        "seed": "medusa seed -f ./data/seed.json",
        "build": "rm -rf dist && ./node_modules/.bin/tsc -p tsconfig.json",
        "start": "npm run build && NODE_ENV=development node ./dist/main.js",
        "typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
        "start:watch": "nodemon --watch './src/**/*.ts' --exec 'ts-node' ./src/main.ts",
        "start:prod": "npm run build && NODE_ENV=production node dist/main",
        "start:test": "npm run build && NODE_ENV=test node dist/main",
        "serve": "medusa start",
        "heroku-postbuild": "medusa migrations run",
        "prepare": "npm run build"

    }

It seam that you are missing the medex migration as well as the .js at the end of the start:test command.
But unrelated to the container error.

It seam that you are missing the medex migration as well as the .js at the end of the start:test command.
Also, the test command set the env to test which tells to medusa to load the test deps which are just the mocks. You should run npm start instead

Alright thank you. After following those steps it was fixed


feat: default property values

Reference Issue
Implements #905
If you think this proposal is worth it, tell me and I will write the tests.

Updated to avoid calling the getter this[p] if not necessary in performUpdate.

Thanks for the PR. As stated here, for size and simplicity we're not inclined to add this to LitElement, but we're planning to make this type of behavior easier to customize. That work is being tracked in #911.


Update submission date

Allow one week more for submissions to the community days.

Thank you @tschmidtb51 for coordinating this!


cf_decodetimes TAI93 conversion off by ~10 seconds

What happened?
Xarray imports nc_dataset, decode times==True. Output time does not match tai93 to utc calculator and doesn't match time_utc variable in file.
What did you expect to happen?
Download this url: https://sounder.gesdisc.eosdis.nasa.gov/data/JPSS1_Sounder_Level2/SNDRJ1IML2CCPRET.2/2021/055/SNDR.J1.CRIMSS.20210224T0100.m06.g011.L2_CLIMCAPS_RET.std.v02_28.G.210331064430.nc
I expected seconds since 1993-1-1 at 888282009.983966 to convert to utc: 2021 - 02 - 24T00:59:59 .983966. Instead to conversion ends up being utc: 2021-02-24T01:00:09.983965952
Minimal Complete Verifiable Example
import xarray as xr
import numpy as np
import netCDF4 as nc

GROUP_DELIM = '__'

def transform_grouped_dataset(nc_dataset: nc.Dataset, file_to_subset: str) -> nc.Dataset:
    nc_dataset.close()
    nc_dataset = nc.Dataset(file_to_subset, 'r+')

    dimensions = {}

    def walk(group_node, path):
        for key, item in group_node.items():
            group_path = f'{path}{GROUP_DELIM}{key}'

            # If there are variables in this group, copy to root group
            # and then delete from current group
            if item.variables:
                # Copy variables to root group with new name
                for var_name, var in item.variables.items():
                    var_group_name = f'{group_path}{GROUP_DELIM}{var_name}'
                    nc_dataset.variables[var_group_name] = var
                # Delete variables
                var_names = list(item.variables.keys())
                for var_name in var_names:
                    del item.variables[var_name]

            if item.dimensions:
                dims = list(item.dimensions.keys())
                for dim_name in dims:
                    new_dim_name = f'{group_path.replace("/", GROUP_DELIM)}{GROUP_DELIM}{dim_name}'
                    item.dimensions[new_dim_name] = item.dimensions[dim_name]
                    dimensions[new_dim_name] = item.dimensions[dim_name]
                    item.renameDimension(dim_name, new_dim_name)

            # If there are subgroups in this group, call this function
            # again on that group.
            if item.groups:
                walk(item.groups, group_path)

        # Delete non-root groups
        group_names = list(group_node.keys())
        for group_name in group_names:
            del group_node[group_name]

    for var_name in list(nc_dataset.variables.keys()):
        new_var_name = f'{GROUP_DELIM}{var_name}'
        nc_dataset.variables[new_var_name] = nc_dataset.variables[var_name]
        del nc_dataset.variables[var_name]

    walk(nc_dataset.groups, '')

    # Update the dimensions of the dataset in the root group
    nc_dataset.dimensions.update(dimensions)

    return nc_dataset

file = 'SNDR.J1.CRIMSS.20210224T0100.m06.g011.L2_CLIMCAPS_RET.std.v02_28.G.210331064430.nc'
nc_dataset = nc.Dataset('SNDR.J1.CRIMSS.20210224T0100.m06.g011.L2_CLIMCAPS_RET.std.v02_28.G.210331064430.nc')
nc_dataset_flattened = transform_grouped_dataset(nc_dataset, file)
print (np.array(nc_dataset_flattened.variables['__obs_time_tai93'])[0][0])

args = {
    'decode_coords': False,
    'mask_and_scale': False,
    'decode_times': True
}

with xr.open_dataset(
        xr.backends.NetCDF4DataStore(nc_dataset_flattened),
        **args
) as dataset:
    print (np.array(dataset.variables['__obs_time_tai93'])[0][0])
    print (np.array(dataset.variables['__obs_time_utc'])[0][0])

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
No response
Anything else we need to know?


Not detecting export default correctly

Looks like the AST usage might be wrong, I'm not detecting export default request in the compiled output.

Never replicated.


Recommendation to clone vs fork?

Currently the recommendation the main README.md makes is to clone the repo rather than fork the repo in order to get started. @mrshirts , is this intended? I had thought that forking would be better because:

Forking is explicitly designed for creating spinoff derivatives (what they are typically intending to do if they are writing a paper, presumably)
Cloning means they are making a local copy of this repo as a starting point for their paper, which seems perhaps odd to me if we are intending they start their own paper
If they fork, we can track who forked it; if they clone, we can't

So, I don't know that tracking is 100% needed; some people will end up starting it some other way, so we will know many, but not all of the people who are writing papers - but also many of the people who fork will never actually get around to submitting.
Looking over here: https://stackoverflow.com/questions/6286571/are-git-forks-actually-git-clones
Forks are just clones with some extra database connections.  For a clone, vs a fork, then "When you clone a GitHub repo on your local workstation, you cannot contribute back to the upstream repo unless you are explicitly declared as "contributor". That's because your clone is a separate instance of that project."
I don't know that we actually want most people contributing BACK to the templates (unless they are actually contributing to the templates, that's a different category).
But it's subtle, so perhaps I'm taking the wrong slant.

I guess my take is that the model I learned first/which is most obvious to me is:
a) Clone if you're part of the project and will want to change it
b) Fork if you're not and are going to be diverging
So I was just thinking that if we ask (Github-aware) people to clone it rather than fork it we would explain why, whereas forking would be clear. For the people who don't know what either means, it doesn't matter.
But if fundamentally they are the same this is no big deal.

I guess my understanding is the other direction: a fork maintains connections in github, so it's useful if you want to contribute back. a clone is bare, so is best when you will be doing something different!

@mrshirts -- I think there is a very important operational difference/difficulty:

With your procedure (as per your documents) they actually have to create a new repository by moving the files into it. Perhaps this is fine, but it adds extra steps, and requires them moving all of the files they need over, so they will often forget things we would like them to have (the license, etc.).
With my procedure (forking) they already have a new repository and can just start working on it, and have to REMOVE files they don't want.

Perhaps @jchodera has other thoughts on which approach is better.

(Also, a clone is not bare unless you do special invocations, it seems: https://help.github.com/articles/duplicating-a-repository/ ). I think basically a fork is a clone that is "free" from the original so it can be extended/modified even if you don't have write permission to the original, whereas a clone is still tied directly to the original so you can't make server-side updates unless you get permission.

I thought about this some more and also started creating my own repo for a paper, and realized that you're right, Michael. It'll be simpler for them if they are creating their own from scratch and putting in the files they need. We should probably just make sure to put in a careful list of exactly everything to put in. :)

Are you sure that's easier than forking a repo with an prebuilt structure? It seems like it would be much better to have a template best practices paper with the repo organized how we like, README.md files structures as we hope, and manuscript template in the appropriate style. Overleaf does this for their manuscript templates, and it seems to work really well.
I think asking everyone to pull in files manually is just asking for trouble and encouraging heterogeneity.

Yeah, I guess both have their pros and cons. If they fork, then they have the commit history, etc., from this repo, plus they have to clean out files they don't need, change the repo name, change the description, etc., which is a bit of work, but at least they'll have all of the right files. But if they create a new repo they have to copy IN all of the right files and set it up properly. Neither of these is idiot-proof...

On Sat, Sep 9, 2017 at 11:08 AM, David L. Mobley<EMAIL_ADDRESS>wrote:

Yeah, I guess both have their pros and cons. If they fork, then they have
the commit history, etc., from this repo, plus they have to clean out files
they don't need, change the repo name, change the description, etc., which
is a bit of work, but at least they'll have all of the right files. But if
they create a new repo they have to copy IN all of the right files and set
it up properly. Neither of these is idiot-proof...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/livecomsjournal/article_templates/issues/14#issuecomment-328290632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEE31OjuZc3P4p_a_3WvPfUtXq9mbCMRks5sgsYRgaJpZM4POvl4
.

I was talking to @dgasmith this evening, who suggested that cookiecutter may be the right solution for this problem.

I'll nominate john to figure out how that would work (after the conference, of course!)

@dgasmilth now suggest mirrors:
https://help.github.com/articles/duplicating-a-repository/

One issue I keep forgetting about is this: What instructions do we give them so that they have a new, independent repository that they can push, pull, and fetch from without dealing with the original? I should try this for mirrors. Ideally you'd want it to be totally separate/disconnected from the original at this point.

Mirrors break all connections. It is basically a fork, but it drops the GitHub magic that links projects together. Goes back to the true Git and not GitHub.
-Daniel Smith
Sent from my iPhone.

On Sep 12, 2017, at 11:51, David L. Mobley<EMAIL_ADDRESS>wrote:
One issue I keep forgetting about is this: What instructions do we give them so that they have a new, independent repository that they can push, pull, and fetch from without dealing with the original? I should try this for mirrors. Ideally you'd want it to be totally separate/disconnected from the original at this point.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

OK, that's perfect, then.
@mrshirts - should we mark this as resolved and just update the docs to tell people to mirror?


Add way to configure context path

This probably also involves moving to defaultservlet + wrapping response body

https://github.com/tipsy/javalin/pull/74 ?

Added in #74


[Bug]: Proxy does not seem to work with Firefox

Bug description

Tried to use puppeteer-proxy:

import { proxyRequest } from 'puppeteer-proxy';

const browser = await puppeteer.launch({product:'firefox'});
const page = await browser.newPage();

await page.setRequestInterception(true);

page.on('request', async (request) => {
  await proxyRequest({
    page,
    proxyUrl: 'http://<IP_ADDRESS>:3000',
    request,
  });
});

await page.goto('https://www.google.com');

But getting this error on await page.setRequestInterception(true):
Error: Protocol error (Fetch.enable): Fetch.enable RemoteAgentError@chrome://remote/content/cdp/Error.jsm:29:5
UnknownMethodError@chrome://remote/content/cdp/Error.jsm:112:7
execute@chrome://remote/content/cdp/domains/DomainCache.jsm:98:13
receiveMessage@chrome://remote/content/cdp/sessions/ContentProcessSession.jsm:84:45

Tried extraPrefsFirefox, but no way to authenticate the proxy. page.authenticate() does not work. Proxy does not seem to work either with no authentication.

import { proxyRequest } from 'puppeteer-proxy';

const browser = await puppeteer.launch({product:'firefox', extraPrefsFirefox: { 'network.proxy.socks': 'localhost', 'network.proxy.socks_port': 9050, 'network.proxy.socks_version': 5, 'network.proxy.proxy_over_tls': true }});
const page = await browser.newPage();

await page.goto('https://www.google.com');

Puppeteer version
10.4.0
Node.js version
14.14.0
npm version
6.14.8
What operating system are you seeing the problem on?
macOS
Relevant log output
No response

@bjermeland I have the same problem, did you find any solution or workaround for using proxy in Firefox browser?


Intro to numpy notebook

I think there should be a notebook that introduces the student to NumPy. NumPy is a very import tool in ML and in taking about NumPy with the student, the concept of vectors and matrics can be visualised which would be of great help to the student when they move into linear regression and other machine learning model

@lekeOnilude Hope you are doing well! I am one of the Teaching Fellows that came aboard the recent past year, and happy to comment.
Thanks for reaching out in regards to including NumPy concepts to be expanded for students.
That seems like a great idea to mention , if students had additional questions & curiosity about vectors and more, when it comes to more advanced topics like Linear Regression.
Would you think it would be sufficient to have resources or links to be added about Numpy, or actually adding a Jupyter Notebook in a different folder like additional_content/Numpy etc?

Maybe adding links in a "READ ME" too?

Let me know your thoughts.

Those are good ideas.
I'm the code lead for the project so I'll chime in with my perspective.
It is very class specific. Different learners have different histories and goals.
I'm hesitant to create a folder called additional_content which might become dumping ground / graveyard.
NumPy belongs in Module 1 https://github.com/DeltaAnalytics/machine_learning_for_good/tree/master/module_1_introduction.
Module 1 needs a cleanup. Before we add more, let's improve what is already there:

Two readmes. Needs a single readme.
.pdfs and .pptx. Those should be converted to code, either Markdown or Jupyter Notebook.
Re-order to following typically learning path

Then add a notebook covering numpy. Maybe before pandas because pandas typing depends on numpy typing.

I have clean-up the repo.
If anyone wants to make a tutorial about numpy, aubmit a PR.

@CloudChaoszero I am doing ok thanks for asking.
If there is an online platform that curates all you need to know about Numpy into one page, then it will be ok but I will lend toward more of @brianspiering perspective.
Adding a notebook covering Numpy will be helpful to the students, we can then add links for further study below the notebook.

I have clean-up the repo.
If anyone wants to make a tutorial about numpy, submit a PR.

working on this

Here it is https://github.com/DeltaAnalytics/machine_learning_for_good/pull/53


Addon doesn't work in Firefox 67.0.4

Hello,
I've installed the addon, however even when using a fresh profile, not URLs were displayed after the page titles (hovering over the tabs displayed the page title as usual - without URL appended).
I assumed it had to be a problem with the addon since using a fresh profile usually rules out any error on my end.
Thanks.

I just retested and I've noticed my mistake: the titles in the tabs are not modified, however the actual window titles are. I assumed it had not been working because I was of opinion the tab bar showed the same as the window title and did not look to check, and therefore ultimately did not even try KeePass' autotype feature.
Maybe I did not real the addon's description closely enough, but perhaps the above could be explained.
I have now tested KeePass, and your addon works as intended.
Sorry for the confusion, and thanks for the addon!


Trying to install SyliusCmsPlugin

Hello,
I had install, yesterday, a Sylius project. Now i would like to install the CMS Plugin.
But when I'm trying : "composer require bitbag/cms-plugin"
I got this error :

Could you help me please ?
Thanks

Remove in bundles.php
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], // WYSIWYG editor
BitBag\SyliusCmsPlugin\BitBagSyliusCmsPlugin::class  => ['all' => true],

before executing composer require bitbag/cms-plugin

I get the following error when do that


fix: e2e tests crashing

the dependency overrides should already be using ^0.6.0 as the minimum version since it is a transitive dependency of our override of dartssh2... but that would be asking too much of the toolchain.

- What I did

Hopefully this fixes the e2e tests

- How I did it
- How to verify it
- Description for the changelog
fix: e2e tests crashing

Tested locally and the Dart tests are passing now, the C tests are flaking which is causing a timeout long enough for GNU parallel to exit with a timeout.
2024-08-07 15:10:50 | ERROR:     Failed after 2 attempts
2024-08-07 15:10:52 | ERROR:     Test FAILED : exit code 1
###
###
### NoPorts e2e test run complete at 2024-08-07 15:10:52
###
### Of a possible 180, 126 were not applicable (usually version constraints)
### Executed: 54  Passed: 48  Failed: 6

After some discussion with @gkc I've backed out the changes to pubspec.yaml and introduced a pubspec.lock change that comes from dart pub upgrade dartssh2.
We should probably evaluate a mechanism to ensure that pubspec.lock is more frequently upgraded as there are a bunch of other outstanding bumps, which include some promotions from v0.x.x to v1.x.x.

@XavierChanth please merge if you're happy with the revised approach (or we can discuss in arch).

FYI @gkc @cpswan @JeremyTubongbanua , beyond these changes, the e2e tests were failing because I found some non-utf8 characters in the .ssh/authorized_keys file on the test run - The Dart daemon calls authKeys.readAsString() (authKeys is aFile) which does a utf8 decoding - this decode fails due to the non-utf8 characters. Not sure how this happened, but something worth noting in case we run into a similar issue.


"Siculeni" is listed in the drop-down menu

Description:
"Siculeni" 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 "Siculeni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Siculeni, HARGHITA (Siculeni)" and "Comuna Siculeni, HARGHITA".


docs: Convert text_summarization markdown to notebook

@willbakst
Two corrections were made.

Because there was no text file to be summarized, we added a cell to be installed with curl.
The wikipedia page on Python is too long and token-overloaded, so I changed it to guido's page.

Also, normally, it is necessary to extract only the text from the downloaded html page, but in this case, I summarized the html page. If you don't mind more steps, you may pip install beautifulsoup and parse the html.


Adding error 404 page

Context
Please provide any relevant information about your setup
Expected Behavior
Please describe the behavior you are expecting
Current Behavior
What is the current behavior?
Screenshots
Drag and drop screenshots here to better describe your issue
Steps to reproduce
Please provide detailed steps for reproducing the issue

Step 1
Step 2
etc

Additional info
Provide any additional information here

@John-Paul-Larkin Please assign me this issue under hacktoberfest.

@taneeshaa15 Please provide relevant details in the issue around the 404 page since we already have a not found catch all route this issue most probably is redundant.


Create 'Dockerfile' in the project when docker property is set false

Environment:
Eclipse: 2019-12
azure-functions-archetype: 1.26
Reproduce Steps:

In Eclipse, select the File menu, then select New -> Maven Project.
Accept the defaults in the New Maven Project dialogue and select Next.
Select Add Archetype and add the entries for the azure-functions-archetype.

Archetype Group ID: com.microsoft.azure
Archetype Artifact ID: azure-functions-archetype
Version: Use latest version 1.26 from the central repository

Click OK and then click Next. Be sure to fill in values for all of the fields, and eventually Finish.

Result:
Create 'Dockerfile' in the project when docker property is set false.

Eclipse didn't support our custom archetype parameters and will always set docker to be true, as a workaround, please try generate the project in bash first and then open the project with eclipse


failed: no Sminer.Registered event found

Node mode: storage
Profile: testnet
nodeadm version: v0.5.3
Docker images:
config-gen: config-gen 1.5.0 0463ecad5706
chain: cess-node 0.7.6-d2220c01057 a1d3bedfa350
bucket: bucket v0.7.9 98ab5c0af899
++ 2024-02-06 17:16:22 Listening on port: 6000
++ 2024-02-06 17:16:22 RPC addresses: [ws://<IP_ADDRESS>:59944]
++ 2024-02-06 17:16:22 Bootnodes: [_dnsaddr.boot-bucket-testnet.cess.cloud]
++ 2024-02-06 17:16:24 Local peer id: 12D3KooWQRvE438TzxRd6yu9aPsYFpW4veoaY4QCgwgK257My4eu
++ 2024-02-06 17:16:24 Chain network: cess-testnet
++ 2024-02-06 17:16:24 P2P network: cess-testnet
++ 2024-02-06 17:16:24 Number of cpu cores used: 4
++ 2024-02-06 17:16:24 RPC address used: ws://<IP_ADDRESS>:59944
OK 2024-02-06 17:16:24 Synchronization main chain completed: 90058
++ 2024-02-06 17:16:24 Connected to 12D3KooWS8a18xoBzwkmUsgGBctNo6QCr6XCpUDR946mTBBUTe83 successfully
++ 2024-02-06 17:16:24 Connected to 12D3KooWDWeiiqbpNGAqA5QbDTdKgTtwX8LCShWkTpcyxpRf2jA9 successfully
++ 2024-02-06 17:16:24 Connected to 12D3KooWNcTWWuUWKhjTVDF1xZ38yCoHXoF4aDjnbjsNpeVwj33U successfully
XX 2024-02-06 17:16:30 [0x1ff2f18fc3a732febf6b4de77a389800fd7caba7b357a2ebd4bee18f2874ce1a] failed: no Sminer.Registered event found

@wowvwow

First of all, make sure that the balance in your signature account is greater than 1 TCESS.
If your Signature Account is the same as your Staking Account, you need to make sure that the balance in your Signature Account is sufficient to cover the deposit, which is calculated based on 4000 TCESS per TiB.
If your Signature Account and Staking Account are different, you need to have someone with the Staking Account to make the pledge for you.


Version 1.14.0 breaks replacing placeholders

We are using replacing of placeholders during our phraseapp pull. We are replacing %@ to platform-specific (%s). It was working until version CLI of 1.13.0. It no longer works in 1.14.0, placeholders are not replaced.

Hi, thank you for reporting it. We have found the root cause for this. This is related to the format specific options. We will release a fix as soon as possible. In the meantime I recommend to use version 1.13.0


ui-select-no-choice missing template for select2

ui-select-no-choice missing template (.tpl) for select2 theme

Closing duplicate of #1608


Jason sarrio

Finish MVP

Awesome job finishing sprint MVP, Jason!  As mentioned, take a look at how you can make some of your code more DRY with classes and specificity.  If certain things aren't changing styling as suspected, start playing with an element's style (such as adding colorful borders) to see if it responds and see whether we're targeting the element correctly.  Overall you're doing a great job identifying any small trouble areas and still end up making things work for you.


Grundwasserspiegel

Is your feature request related to a problem? Please describe.
No it's an additional feature.
Describe the solution you'd like
NLWKN also offers Grundwasserspiegel information. Would it be easy for you to introduce this as a feature? It will help to get ready to protect the property if the level gets high.
Thanks for the great work on this integration anyway!
Describe alternatives you've considered
No response
Additional context
No response

Hi @chiefymuc i'm not planning to implement this feature because it would bring to much data, not related to Hochwasser, into the integration. The request is worth it's own integration.

I think the groundwater level idea is good Wouldn't it be basically the same structure, just read out different databases?

Yes, in principle it is the same, but in detail you probably have to rewrite almost everything, especially for the portals that are queried via web scraping.
But beware: The main work is not the actual integration but the used API. For the hochwasserportal intergration e.g. the used API can be found under https://github.com/stephan192/lhpapi.


MVC Architecture

Modifying the actual project to respect the MVC design pattern.
It offers an easier way to add or modify features for other developers.
Time estimate : 1 week.

I was unable to commit during each step of this process, so here is a list and time estimate of the changes i made from the v1 to a MVC architecture :

Added several folders (config, controller, model, views) and files (Router, ArticleController, Article, Model, Configuration, Views,...)  and deleted the admin folder. (Time : 1 day)
As you can see with the class diagram (in the UML folder), i have created 6 classes to manage and make this blog work. Index.php is now used to call the Router, who manages which page to call. (Time : 2 days)
I have created one php file per view but it only contains parts specific to each page. The view class mixes it with the layout.php file which contains the head, navbar, footer,... (Time : 2 days)
Added the possibility to change more easily the database connection settings. You can change it by going in the config folder. Then modify the dev.ini file or create a prod.ini file if you want it online. (Time : 1 day)
Finally, i also protected this blog against XSS breach (prepared request) and SQL injection (clean function in the View class). (Time : 1 day)

I made a few modifications to the project :

Created Article.php class with its private attributes, getters and setters.
Mixed and modified the old Article.php and Model.php to become ArticleManager.php and use Article.php setters.
Minor modifications to ArticleController.php
Modified the views to use the getters.
Modified the UML diagrams and added two more.


fix comment code sample

Jira ticket

Summary
Checklist

[ ] Added a changelog entry

hi @crookedneighbor, are you gonna merge it? or waiting someone to review it

Just waiting on one more review. 😄


[Autocomplete] Adding an icon to InputProps with multiple enabled cause Input values not to be shown

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/icon-not-working-with-multiple-select-2ejeu4?file=/demo.tsx
Current behavior 😯
Instead of the values the placeholder is present no matter which option I select.
(One film is selected but not shawn)

Expected behavior 🤔
To see the Icon at the start and the selected values, like in the autocomplete with multiple = false
(The first autocomplete in the screenshot)

Context 🔦
I tried adding the InputProp with the Icon only on the sandbox provided by MUI doc and I get the same behaviour as I get on my local code.
Your environment 🌎
No response

@albibenni  till the time issue got fixed, you can try below workaround.
 renderInput={(params) => (
          <TextField
            {...params}
            variant="filled"
            label="Size small"
            placeholder="Favorites"
            **sx={{
              "& .MuiIcon-root": { mt: -2 }
            }}**
            InputProps={{
              ...params.InputProps,
              startAdornment: (
                <InputAdornment position="start">
                  <Icon fontSize="small">email_icon</Icon>
                </InputAdornment>
              )
            }}
          />
        )}

working sandbox: https://codesandbox.io/s/icon-not-working-with-multiple-select-forked-l83w1s?file=/demo.tsx

Oh sorry, i thought misalignment of icon was the issue. I'll check why
chips are appearing
On Thu, 25 May 2023, 13:10 Alberto Benatti, @.***>
wrote:

Thank you, but unfortunatelly this isn't fixing the problem, I still have
the issue of not seeing the selected values in the input (as chips) as you
can see in the sandbox you sent me
—
Reply to this email directly, view it on GitHub
https://github.com/mui/material-ui/issues/37363#issuecomment-1562428827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPN32H7HXT4YSRBRWOKNXTXH4EIDANCNFSM6AAAAAAYKFIKIY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Oh no worries, it's for sure welcome to understand better that prop.
Thank you anyway, I appreciate it :)

@albibenni can you check this sandbox, i've updated code and can see chips. https://codesandbox.io/s/icon-not-working-with-multiple-select-forked-l83w1s?file=/demo.tsx

@sai6855 oh wow this actually fix it, also for my prod code. That fragment is the issue then!
Thank you so much!

I assume this isn't a problem anymore. Closing the issue.


feature: stop cli support specify multi containers

Signed-off-by: Michael Wan<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
stop cli support specify multi containers
Ⅱ. Does this pull request fix one issue?
fixes https://github.com/alibaba/pouch/issues/1080
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
root@osboxes:test (zr/stop-multi-items) -> pouch stop TestStopMultiContainer-1 TestStopMultiContainer-2
TestStopMultiContainer-1
TestStopMultiContainer-2

Ⅴ. Special notes for reviews

LGTM, @sunyuan3 please take a look at this to check if this meets your demand.


apt-get always printing SyntaxError: 'yield' inside async function

Note: pipenv does work.  This is only a minor nuisance.
I get the below message every time I run apt-get.  Whether related to python or not...
Setting up pipenv (11.10.1-1) ...
  File "/usr/lib/python3/dist-packages/pipenv/vendor/jinja2/asyncfilters.py", line 24
    yield item
             ^
SyntaxError: 'yield' inside async function

  File "/usr/lib/python3/dist-packages/pipenv/vendor/jinja2/asyncsupport.py", line 35
    yield event
              ^
SyntaxError: 'yield' inside async function

dpkg: error processing package pipenv (--configure):
 subprocess installed post-installation script returned error exit status 1

A very shallow look into this yielded https://github.com/pallets/jinja/issues/643
Oh, and this is on Windows WSL mode runningUbuntu Xenial

Where do you get the APT source? I don’t think there are official distributions, and we don’t provide PPA for Xenial either.

pipenv 11.10 is super old btw.  I might as well just build this myself

The steps I followed to install it were
$ sudo apt install software-properties-common python-software-properties
$ sudo add-apt-repository ppa:pypa/ppa
$ sudo apt update
$ sudo apt install pipenv

Per https://docs.pipenv.org/
The source is showing as:
$ apt-cache policy pipenv
pipenv:
  Installed: 11.10.1-1
  Candidate: 11.10.1-1
  Version table:
 *** 11.10.1-1 500
        500 http://ppa.launchpad.net/pypa/ppa/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status

That is an Artful PPA, not Xenial. Don’t mix that. Install from pip instead.


Handle client disconnect during rpc

Fixes #211
Initially we wanted to gracefully abort handling any rpc for disconnected clients on both websocket and over http. However only ws allows us to detect client disconnects. The way it could be done in the future is by introducing our own heartbeat system - something we don't want to do now.
This "fix" detects clients that dropped the connection while their request was in clios work queue. Once detected, a warning log message is written which includes the tag of the session that dropped out.

This is not really fixing anything and the codebase changed a lot since this PR was opened. Closing it without merging - should be easy to add those changes again if we ever wanted to.


Visualisations broken with null values

Broken in enso-win-x64-2024.1.1-nightly.2024.5.28.exe
It was working in enso-win-x64-2024.1.1-nightly.2024.5.23

Fixed by #10116


[SPARK-10008] Ensure shuffle locality doesn't take precedence over narrow deps

The shuffle locality patch made the DAGScheduler aware of shuffle data,
but for RDDs that have both narrow and shuffle dependencies, it can
cause them to place tasks based on the shuffle dependency instead of the
narrow one. This case is common in iterative join-based algorithms like
PageRank and ALS, where one RDD is hash-partitioned and one isn't.

@shivaram here it is.. we should merge this into branch-1.5 too if it's good.

Merged build triggered.

Merged build started.

Test build #40941 has started for   PR 8220 at commit 99dd008.

Test build #40941 has finished for   PR 8220 at commit 99dd008.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/40941/
Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #40946 has started for   PR 8220 at commit 99dd008.

Test build #40946 has finished for   PR 8220 at commit 99dd008.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class StringIndexerModel (

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/40946/
Test FAILed.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/40968/
Test FAILed.

LGTM. I think we should merge this into branch-1.5 as well.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/40970/
Test FAILed.

Sounds good.. I'll merge it once tests pass.

Test build #1626 has started for   PR 8220 at commit a7c02dc.

Test build #1626 has finished for   PR 8220 at commit a7c02dc.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class StringIndexerModel (


BUG: Repeting books in free e books webpage and extra "rights reserved" line in footer section of same page .

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
books were repeated in free e book page so it should be replaced with variety of further books and there was an extra rights reserved line in footer of same page .

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 I have fixed this issue and created a pull request for the same . Please assign this issue to me and merge my pull request under gssoc label .

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!

Assigned! Make sure to attach before & after screenshots in your PR and include the issue number. Also, please star the repo before working on it. Happy open-source contributing!

Added before and after screenshot in my pr and issue no and star has already been done .


Data layers don't show up when running Qt with --disable-gpu

I'm not 100% sure if we want to support this but to get WWT to work correctly in glue under Big Sur I had to pass --disable-gpu to QtWebEngine. As an example, using the following and putting it in a file called test.py:
from pywwt.qt import WWTQtClient
wwt = WWTQtClient(block_until_ready=True)

from astropy.table import Table
OEC = 'https://worldwidetelescope.github.io/pywwt/data/open_exoplanet_catalogue.csv'
table = Table.read(OEC, delimiter=',', format='ascii.basic')

layer = wwt.layers.add_table_layer(table=table, frame='Sky',
                           lon_att='ra', lat_att='dec', size_scale=100, lon_unit='degree')

print(layer.lon_unit)

wwt.wait()

I ran:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"  python test.py

WWT then runs slowly (as expected) but the points don't show up at all. I normally wouldn't really care about this but I've seen this behavior in other contexts before so I wonder if this is just highlighting a real issue that needs fixing.

Ah here we go, I think it must be related to https://github.com/WorldWideTelescope/wwt-webgl-engine/issues/32 - it's just a more deterministic way of reproducing that issue.

Weird. This feels like something that, like you imply, may not be worth the effort to fix, but I would definitely like to understand what's going on here. Please update with anything that you figure out!