Roundtrip fails: Tile -> pixel -> point -> meter -> Tile

As far as I can see, the following assertion mustn't fail.
def test_roundtrip():
    zoom_level = 18
    t = Tile.from_tms(139423, 171197, zoom_level)
    x, y = t.pixel
    p = Point.from_pixel(x, y, zoom=zoom_level)
    mx, my = p.meters
    t2 = Tile.for_meters(mx, my, zoom_level)
    assert t.quad_tree == t2.quad_tree

Note, that pixel is defined in Tile as:
@property
def pixel(self):
    google_x, google_y = self.google
    pixel_x_west, pixel_y_north = google_x * TILE_SIZE, google_y * TILE_SIZE
    pixel_x_east, pixel_y_south = (google_x + 1) * TILE_SIZE, (google_y + 1) * TILE_SIZE
    return pixel_x_west, pixel_x_east

Found the problem, pixel is wrong. Correct is:
    @property
    def pixel(self):
        google_x, google_y = self.google
        pixel_x_west, pixel_y_north = google_x * TILE_SIZE, google_y * TILE_SIZE
        pixel_x_east, pixel_y_south = (google_x + 1) * TILE_SIZE, (google_y + 1) * TILE_SIZE
        return pixel_x_east, pixel_y_south


Partial app loading using webpack 2 example

I made partial app loading using webpack 2 example, based on huge-apps example.
I think it'd be nice, if it was in the react-router/examples in stead of separate repo, I'd be glad to do a pull request, but how would that be done if this example requires different packages? I mean, how the directories should be structured.

We're not looking to add any more examples to the main repo right now. I'd suggest posting about it on social media and blogs to bring attention to it. I'd be happy to retweet something for you to give it a tiny bit of boost.

Thanks, I'd appreciate that! https://twitter.com/notgiorgi/status/825301282483224576
But I was not suggesting adding a new example, I was suggesting updating huge-apps example, like this one is doing now: #4369


feat: improve structure of table tests

Closes #98
Summary of Changes
Regarding the tests of Table:
Rename tests so they start with test_should_
Use fixtures and parametrization to reduce code duplication
Add ids to parametrized tests
Cover everything (see this) - goal: 100% coverage
Use the tests for Row and Column as an example.
Co-authored-by:  daniaHu<EMAIL_ADDRESS>Co-authored-by: jxnior01<EMAIL_ADDRESS>

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
29
21
0
1.39s

❌ PYTHON
mypy
29

1
1.68s

❌ PYTHON
ruff
29
22
29
0.06s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

Suggestion for the tests that check whether some error is raised: Instead of putting the type of the error in the name of the test, put the condition under which an error should be raised there.
Example (for remove_column): Call it test_should_raise_if_column_does_not_exist instead of test_should_raise_UnknownColumnNameError.

@daniaHu @jxnior01 @robmeth Please add the time you spent on this issue.

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

v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


Add offset for overlapping locations

There are a few events on the same location eg. Paris. Since we lookup the locations with googles geodata service the markers are exactly on the same position which is resulting in only one clickable marker. (I guess either the the first or last one rendered)

Possible solution can be adding random offset with lang and lat
source Stackoverflow

Thanks for your suggestion!

Added offset https://github.com/lkappeler/geodata-fetcher/commits/master
@MichaelKohler Please decrease cronjob interval to max 4/day since the rate limit is about 2500 requests per day


Invalid string or buffer length

Hi everyone,
I'm currently using your library and looking at the possibilities of it.
I'm using an ODBC connection of King software (king.eu). I've tested if it's working in Microsoft Excel using Microsoft query to check if I can retreive data. It works and I want to do the same using Nodejs. The ODBC connection is based on an iAnywhere driver.
I used this code:
function openConnection(query)
    {
    var login = "DRIVER={King 5.53a};DBQ=C:\Quadrant\King\Data\DemoFin.db;UID="+user+";PWD="+password+";DATABASE="+dbname;
    console.log(login);
    db.open(login, function(err)
    {
        if (err) {
        //Something went bad
        console.log(err);

        //Let's not go any further
        return;
        }

        db.query(query, function(err, rows, moreResultSets)
        {
            //console.log(err);
            if (err) {
                //Something went bad
                console.log(err);
                console.log(util.inspect(rows));
                 db.close(function(){});
                //Let's not go any further
                return;
            }

            console.log(util.inspect(rows));
            console.log(moreResultSets);
            db.close(function(){});
        });
    });

What i receive are table data with an undefined value. This is the error I get:
[Error: [Sybase][ODBC Driver]Invalid string or buffer length]   errors:     [ { message: '[Sybase][ODBC Driver]Invalid string or buffer length',        state: 'HY090' } ],   error: '[node-odbc] Error in ODBC::GetColumnValue',   message: '[Sybase][ODBC Driver]Invalid string or buffer length',   state: 'HY090' }
I've tried to change it to UTF8, but failed.


refactor: optimize public call stack item hashing

Fixes #7092 for public, very similar to #7285,

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

#7330  👈
#7285 : 1 other dependent PR (#7271 )
#7284
master

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

Join @LHerskind and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

app_circuit_witness_generation_time_in_ms (ContractInstanceDeployer:deploy): 24.1 (-37%)
app_circuit_witness_generation_time_in_ms (MultiCallEntrypoint:entrypoint): 643 (-46%)
app_circuit_witness_generation_time_in_ms (GasToken:deploy): 552 (-37%)
app_circuit_witness_generation_time_in_ms (SchnorrAccount:entrypoint): 814 (-50%)
app_circuit_witness_generation_time_in_ms (FPC:fee_entrypoint_public): 93.5 (-65%)
app_circuit_witness_generation_time_in_ms (SchnorrAccount:verify_private_authwit): 40.8 (-49%)
app_circuit_witness_generation_time_in_ms (FPC:fee_entrypoint_private): 1,719 (-19%)
protocol_circuit_simulation_time_in_ms (private-kernel-inner): 214 (-30%)
protocol_circuit_simulation_time_in_ms (public-kernel-setup): 439 (-18%)
protocol_circuit_simulation_time_in_ms (public-kernel-app-logic): 393 (-21%)
protocol_circuit_simulation_time_in_ms (public-kernel-teardown): 385 (-27%)
avm_simulation_time_ms (Token:_increase_public_balance): 14.9 (-73%)
app_circuit_proving_time_in_ms (SchnorrAccount:entrypoint): 5,020 (-91%)
app_circuit_proving_time_in_ms (FPC:fee_entrypoint_public): 1,728 (-85%)
app_circuit_size_in_gates (SchnorrAccount:entrypoint): 131,072 (-94%)
app_circuit_size_in_gates (FPC:fee_entrypoint_public): 65,536 (-87%)
protocol_circuit_witness_generation_time_in_ms (private-kernel-reset-small): 1,383 (+25%)
protocol_circuit_proving_time_in_ms (private-kernel-init): 14,486 (+19%)
protocol_circuit_proving_time_in_ms (private-kernel-inner): 30,366 (-40%)
protocol_circuit_size_in_gates (private-kernel-inner): 1,048,576 (-50%)

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.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,729
1,546
707
753 (-1%)
771 (-1%)

proof_construction_time_sha256_30_ms
11,794
3,160
1,411
1,435 (+1%)
1,463

proof_construction_time_sha256_100_ms
43,844
11,791
5,445
5,567 (+2%)
5,472 (+2%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0 (-2%)
89.0

proof_construction_time_poseidon_hash_30_ms
1,516
415
200
225
266

proof_construction_time_poseidon_hash_100_ms
5,735
1,559
721 (-1%)
779 (-1%)
789

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,476
9,466
9,476

l1_rollup_execution_gas
611,215
611,356
611,517

l2_block_processing_time_in_ms
762
1,419
2,727

l2_block_building_time_in_ms
18,992 (-10%)
37,665 (-10%)
73,801 (-10%)

l2_block_rollup_simulation_time_in_ms
18,992 (-10%)
37,665 (-10%)
73,801 (-10%)

l2_block_public_tx_process_time_in_ms
16,200 (-10%)
34,706 (-10%)
70,865 (-10%)

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

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,069 (+1%)
9,874

node_database_size_in_bytes
12,275,792
16,199,760

pxe_database_size_in_bytes
16,254
26,813

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

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
71.4 (+7%)
13,790

GasToken:set_portal
18.4 (+5%)
3,339

Token:constructor
91.3
23,692

FPC:constructor
61.2 (-3%)
13,592

GasToken:mint_public
51.1 (+1%)
10,158

Token:mint_public
60.5 (-11%)
19,034

Token:assert_minter_and_mint
147 (-20%)
12,925

AuthRegistry:set_authorized
27.7 (-12%)
7,812

FPC:prepare_fee
102 (-6%)
15,062

Token:transfer_public
39.0 (-5%)
31,218

FPC:pay_refund
135 (-8%)
25,260

Benchmarking:increment_balance
1,984 (-10%)
15,267

Token:_increase_public_balance
:warning: 14.9 (-73%)
15,006

FPC:pay_refund_with_shielded_rebate
150 (+28%)
26,347

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.159 (-3%)

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
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4
16.9 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.603
0.518 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.2 (+1%)
75.8
132
245
475

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.492 (+1%)
0.466
0.453
0.444
0.443

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.8 (+1%)
112
184
353
699

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.504 (+1%)
0.502
0.483 (-1%)
0.478
0.479

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.9 (+1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.519 (+1%)
N/A
N/A
N/A
N/A

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
74,057
667,850

Transaction size based on fee payment method
| Metric |  |
| - |  |


Queries and modules now support imports with /../

Fixes #2430
Add a few more tests around importing

@jedesah would you mind giving me some background on this? Is there an issue with more information I can check? I don't understand why we're implementing this feature.

@jsantos17 It's somewhat related to #2418 and the fact that /../ is required to reference a sibling module right now although that is subject to change depending on the outcome of the discussion on that issue.
But even in isolation, I don't see a good reason to prohibit this kind of path in an import statement. It's sort of an oversight on my part to not have included it in the initial implementation.

@jsantos17 I think this is blocking @natefaubion. If you could have a look this evening or perhaps first thing tmr morning.

Is this ready to merge @jedesah or are you planning to add more commits?

@jsantos17 Btw, I'm curious why you asked me if there were more commits coming? Did I miss a new step in the PR process?


'Hazelcast instance is not active' during CamelContext shutdown

I've got my hazelcastmq + camel integration working quite well, when trying to do a graceful shutdown sending a SIGINT to the running java process and calling .stop() on the camel context via Java's addShutdownHook(), hazelcastmq has trouble with trying to stop listeners etc here is the stack:
2014-08-15 02:28:54:545 WARN  org.apache.camel.impl.DefaultShutdownStrategy  - Error occurred while shutting down route: Consumer[hazelcastmq://queue:blah?concurrentConsumers=25]. This exception will be ignored.
com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
	at com.hazelcast.spi.AbstractDistributedObject.getService(AbstractDistributedObject.java:78)
	at com.hazelcast.queue.proxy.QueueProxySupport.removeItemListener(QueueProxySupport.java:191)
	at com.hazelcast.queue.proxy.QueueProxyImpl.removeItemListener(QueueProxyImpl.java:34)
	at org.mpilone.hazelcastmq.core.DefaultHazelcastMQConsumer$HzQueueListener.shutdown(DefaultHazelcastMQConsumer.java:400)
	at org.mpilone.hazelcastmq.core.DefaultHazelcastMQConsumer.stop(DefaultHazelcastMQConsumer.java:230)
	at org.mpilone.hazelcastmq.core.DefaultHazelcastMQContext.stop(DefaultHazelcastMQContext.java:244)
	at org.mpilone.hazelcastmq.camel.HazelcastMQCamelConsumer$SingleThreadedConsumer.stop(HazelcastMQCamelConsumer.java:118)
	at org.mpilone.hazelcastmq.camel.HazelcastMQCamelConsumer.doStop(HazelcastMQCamelConsumer.java:69)
	at org.apache.camel.support.ServiceSupport.stop(ServiceSupport.java:102)
	at org.apache.camel.util.ServiceHelper.stopService(ServiceHelper.java:141)
	at org.apache.camel.impl.DefaultShutdownStrategy.shutdownNow(DefaultShutdownStrategy.java:336)
	at org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTask.run(DefaultShutdownStrategy.java:609)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Looks like its trying to stop listening to stuff, but hazelcast has already been stopped?

@mpilone, how does this going on ? in my production environment, with hz3.3.5 (the last version in hz3.3.x) hazelcastInstanceNotActiveException still exists except for network switching for a long time and everything goes fine currently. next month we would upgrade to hz3.4.1 or hz3.5 snapshot for testing.


Update install-docker.md

add user to gorup docker
ref : https://community.plone.org/t/problem-in-plone-6-installation/18589/2?u=rico

@Rico29 you need to sign the Plone Contributor Agreement to merge this pull request.
Learn about the Plone Contributor Agreement: https://plone.org/foundation/contributors-agreement

@Rico29 thanks for the contribution. However please read and follow First-time contributors, Contributing to Plone, and Contributing to Volto.

Closing in favor of https://github.com/plone/volto/pull/5861


Use time.perf_counter() instead of time.time()

Feature
Replace the time.time() calls in utils.bench (and possible other modules I'm not yet aware of) with time.perf_counter() or time.perf_counter_ns() (requires Python >= 3.7).
Motivation
time.time() is not guaranteed to increase monotonically (https://docs.python.org/3/library/time.html#time.time). While this is usually not an issue, I have faced weird situations debugging this in other projects. Since the utils.bench module is only interested in the time difference and not the absolute time, using time.perf_counter() should not have any drawbacks.

Hey, thanks for the report. I don't really see the need to change something that's not broken. We can reconsider later if there are any actual bugs encountered.


Change the way to install docker-engine

https://github.com/Azure/azure-docker-extension/blob/master/pkg/driver/ubuntu_base.go#L10
I notice that, the extension uses the legacy way instead of the recommended one in docker's official document to install docker-engine.
Is it because the legacy way is more common for Ubuntu and other distros?

@bingosummer Hmm, the apt repos of docker started around June and I have not looked at the installation instructions or came across any deprecation notices, yet. It appears like the installation instructions at https://docs.docker.com/engine/installation/ubuntulinux/ change even between ubuntu versions (not to mention that doesn't cover any other major linux distributions such as debian, fedora, centos).
To me it seems like wget | sh is working fine and I will sync with docker engine maintainers about plans to keep get.docker.com script around. If it is going to stick around longer, it makes sense to keep using it as we'll support more Linux images such as RHEL and the get.docker.com script painlessly covers all that already.

Thanks for your quick response. @ahmetalpbalkan
However, if I want to replace https://apt.dockerproject.org/repo with a mirror URL to accelerate downloading and installing docker-engine, the wget | sh won't help.

@bingosummer that's a valid argument but the extension does not offer a lot of customizations either. It is designed to handle the most common use cases. Users can do what the extensions do for them manually and maintain the docker engines on their VMs using CustomScriptExtension or various other ways.

@bingosummer I asked about the get.docker.com script and it turns out the script will be eventually deprecated but not anytime soon.
I will keep this issue open as a reminder to fix it at some point.


update for IoT Core 1.0 GA

These still reference beta release and need updating

Tested on v1.0 with fresh environment. Updated docs.


Enabling use cases for equalities in proof messages

Objective
Allow the holder to submit multiple proofs that may contain equal message inputs (at same or different index positions), while hiding those messages, but bind them to the proof interaction.
Use Cases
Common use cases would be showing proofs of identity issued by multiple parties, but link a specific hidden attribute, such as SSN or DOB and prove it's equal in both proofs.
Another application of message equality is in predicate proofs, where witnesses may be linked together between different proofs, such a between a BBS+ signature and a zk-snark proof.
Witness equalities can also enable linking a BBS message with an accumulator, to enable provable revocation schemes.
Requirements
In order two satisfy these use cases, the ProofGen should be tweaked to expose the commitment (step 1-22) and challenge response (steps 23-28) phases in a way that they can be influenced externally. There are two tweaks required:
Externally generated randomnesses for the message blindings. In order to compare the schnorr responses in the ProofGen output (m^_j1, ..., m^_jU), the blindings m~_j1, ..., m~_jU must be able to be provided as inputs. This will impact the function in step 10 in the ProofGen construction, which currently generates random scalars for each hidden message.
10. (r1, r2, e~, r2~, r3~, s~, m~_j1, ..., m~_jU) = (ell_1, ell_2, ..., ell_(6+U))

While this doesn't change the security requirements for m~_jU, it does allow them to be created externally of the algorithm so they can be used in multiple proofs.
Important to note that implementation can still provide this, and still be spec compliant.
Externally generated challenge. This is the second part that should be exposed to external contributions. The value for c in ProofGen should be amenable to external contributions such that the holder will control and provide the final value for c (this is in addition to and independent of ph). This approach will allow the final responses for m^_jU to be equal across different proofs, while binding them to that specific proof interaction.
To illustrate this, here's a breakdown of actions for two proofs (1) and (2).
ProofGen(1) -> generate first proof challenge contribution c(1)
ProofGen(2) -> generate second proof challenge contribution c(2)

Holder combines c(1) and c(2) into a c(12)

ProofGen(1) and ProofGen(2) then continue using c(12) in the remaining steps in the
procedure, instead of their respective c(1) and c(2):
23. e^ = c * e + e~ mod r
24. r2^ = c * r2 + r2~ mod r
25. r3^ = c * r3 + r3~ mod r
26. s^ = c * s' + s~ mod r
27. for j in (j1, ..., jU): m^_j = c * msg_j + m~_j mod r
28. proof = (A', Abar, D, c, e^, r2^, r3^, s^, (m^_j1, ..., m^_jU))

Discussion
Curious to hear everyone's thoughts on this. Happy to give more context on this during the workgroup call.

Allowing the m~_j to be calculated externally and re-used does change the security assumptions of the proof. A BBS proof is ZK as long as the m~_j are unique and random. Breaking that breaks security.
As an example, consider only one message, m_1 and 2 different proofs with the same m~_1 and different challenges c_1, c_2 (i know that this is not the intended use but this is just to illustrate a point).
Then we have
m^_1 = m_1 * c_1 + m~_1
m^_2 = m_1 * c_2 + m~_1

=> m_1 = (m^_1 - m^_2)/(c_1 - c_2)

revealing the hidden message.
Allowing for someone to choose the challenge is also dangerous. In a non-interactive setting, the challenge must bind the proof to ALL the public parameters. It would be way to easy for someone to forget to add one of those parameters and break security (example).
--That is not to say it would not work--.
My main concern is that exposing those APIs will be far too dangerous for people to misuse them.
Some options

Use a core and higher level operations structure, like the one in BLS Signatures. The core ProofGen would accept the challenge and m~_i so it can be used for the above procedure. Not ideal IMO since it would complicate the spec. It can also be misinterpreted easily.

IMO it would be better to describe this functionality as a separate procedure, accepting 2 (or an arbitrary number of) BBS signatures with their respective messages and generating the desired proof, rather than modifying the current operation.


[FEATURE] GitHub events to come in via web hook

⭐ Suggestion
The GitHub Action to send events to our EddieHub API is not working well with forks.
I just remembered that this might be done better with GitHub webhooks
https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
💻 Use Cases
No response
❌ Related Problems
No response

Sorry @Cahllagerfeld what do you think?

I never used Webhooks iwth Github, I need to dig into it a bit

I used it a long time ago, I am happy to pair on it if it helps.
I think the API endpoint will need to be tweaked a bit to accept the data in a slightly different format (IIRC it will just be the top level object fields but everything underneath will be the same)

Do we need to handle authentication for the webhook, or doesn't this matter? My concern is that people can just use the webhook by sending requests there and data gets created

The web hook on GitHub will be given a token from us to use to send with the data (similar to GitHub secrets), so it will be a protected request
https://docs.github.com/en/developers/webhooks-and-events/webhooks/securing-your-webhooks

My Ideas

Create an dedicated endpoint for webhook communication - I'd leave the existing one, in case we want to use it as a regular endpoint in the future for another scenario
Create a new Guard that secures the Endpoint based on the link you shared earlier and this gist
create new interface for the webhook payload - we potentially need to do a mapping here

Sounds like great ideas 👍

testing web hook

testing again


Smart Mute should only affect sound

Currently, smart mute:

Removes Unread Count from tab title
Shows the "muted" icon on all conversations.

Both of these should be fixed, smart mute should not have any visual affect, should not mute notifications via whatsapp interface, but rather should only remove sound.

@ripper234  in the new implementation this is what it does. so I will wait for the formal version to close it


Test dummy issue 2

Is your feature request related to a problem? Please describe.
Test if the workflow is able to pick up issues
Describe the solution you'd like
Close after testing

Closing this issue since testing is complete.


Replace TermGenie with dosdp yaml design patterns and editing in INCA Forms

This is an umbrella ticket for releasing a fully functional TermGenie replacement covering a limited number of patterns.  (This may not be the right repo, but wasn't sure where else to put it).

[ ] Finalise specs for TSVs.
Draft here: (https://github.com/dosumis/dead_simple_owl_design_patterns/issues/38) @dosumis

[x] This should include a description of how cycle should function in the case of manual over-ride

[x] DOSDP tools support for DOSDP regex and generated synonym extensions @balhoff
[ ] Pattern validation via Travis in place @dougli1sqrd #13547

AFAIK, dosdp-tools doesn't currently use a standard JSON schema checker and does not give a complete set of parsing errors.  A more lightweight alternative that is complete for JSON schema checks but incomplete for checks of content is to use the python-based simple_pattern_tester built with jsonschema + jsonpath_rw.

[ ] Complete, validated pattern specs for:

[x] BP regulation @dosumis  DONE - but validation still needed.

BP_negative_regulation.yaml
BP_positive_regulation
[BP_regulation.yaml](https://github.com/geneontology/go-
ontology/blob/master/src/design_patterns/draft_patterns/BP_regulation.yaml)

[x] regulator/activator/inhibitor activity @dosumis DONE - but validation still needed.

[ ] Complete TSVs for:

[x] regulator/activator/inhibitor activity @dosumis draft here: https://github.com/geneontology/go-ontology/blob/master/src/pattern_implementation_tsv

[x] configure a table-edit page @DoctorBud - https://github.com/INCATools/table-editor/issues/35 https://github.com/INCATools/tetool/pull/1#event-1159133621
[ ] Make yaml templates

[x] from old TG https://github.com/INCATools/tetool/pull/1#event-1159133621
[ ] any new ones

@DoctorBud will release tetool on npm, then I will run over this repo to test it and make the first instance of the form

Duplicate of #13643


Completion: Two  presses needed to return to normal mode when completions are open

The completion menu was refactored to use a common menu code - but one impact this had is that it now takes two <ESC> key presses to return to normal mode when the menu is open.
This is a bit annoying and jarring, as the menu should be relatively seamless - it should not get in your way and impact your editing keystrokes (aside from providing <enter> or <tab> to quickly complete).
I believe both @hoschi and @badosu hit this

Fixed by #995


The color of the dashed border on the drop-zone should be updated when dragging a valid file.

Got a brief message from Nicole about this.  The dashed border should change color when valid file is being dragged.  I suspect the color should be celestine to match the text color.  Nicole would be able to confirm.

Yep, it's Celestine.

Also, all the text is turning blue on-hover instead of just the border and icon. Will fix at the same time.


Update v1beta3 branch with master's most recent changes

Most of the merge conflicts came out of API improvements we made in the v1beta2 code after writing the snippets in java-docs-samples.
I dealt with merge conflicts in the following files:

BaseEntity (added list helper method for latlngs + javadoc for set methods)
DatastoreImpl (nothing added except "spi" import change)
ListValue (now using addValueHelper like in master)
package-info (split snippets into two, consistent with master)
StructuredQuery (only javadoc changes at the top of the file)
pom.xml
BaseEntityTest (merged in list changes from master + added a list of latlng values)
DatastoreExceptionTest (kept the error code at 14, instead of 503 as used in Apiary)
DatastoreTest (to use the same query pagination cursors as in master)
SerializationTest (to use new BaseSerializationTest)

Coverage increased (+3.3%) to 85.76% when pulling 2b522942144b296e5e306126071904a6156e9ff8 on ajkannan:bring-v1beta3-up-to-speed into 47aae517c2cb33f1dccd909adaced73ec9d0f4df on GoogleCloudPlatform:update-datastore.

Looks good. Feel free to merge.


Error: Input string was not in correct format

Any ideas what is going on here? It fails with addition of the PredictPose node. Changing file path attributes (forward or backwards slashes) does not matter. It is supposed to run on the CPU (no GPU installed), and the Bonsai extensions folder has the tensorflow.dll.

It’s been 2 years, and I’m getting the same error. How did you work your way around this? Do you know what was the cause of this error?


Design API Health Check Endpoints

User Story
As an RS engineer, I want to be able to surface version and other health information so that it is available to aid in issue diagnoses.
Description/Use Case
We need a mechanism to determine the version information for the function app and microservices. We should design an endpoint from which the app can report its own version to the requester.
Risks/Impacts/Considerations
Dev Notes

The approach taken should be unified between the function app and microservices.
Consider the type of information that should be returned by the endpoint. The Version object currently only contains the Git commit hash but more information could be included (e.g. build date, system uptime, memory use).
We should expect to retire the version.json file currently being generated during the build in favor of this solution. Make certain there is a method to view version information for deployment verification. (Consider working with frontend?)

Acceptance Criteria

[ ] A design and implementation for a Health check endpoint is created

[ ] Include security considerations in the design doc

Hey team! Please add your planning poker estimate with Zenhub @adegolier @david-navapbc @jack-h-wang @jalbinson @JFisk42 @mkalish

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @jack-h-wang @jalbinson @JFisk42 @david-navapbc


SeedSync v0.8.4 keep crashing when resuming download

I have been running seedsync v0.8.4 without issue as a docker on my unraid file server for the past few days. It has been syncing a big 1.85tb folder from my seedbox since 2-3 days but started crashing yesterday. When seedsync crash, the whole docker seem to shut down and need to be restarted manually. Now, seedsync will consistently crash almost right away if I try to resume that folder download. Any idea what could be causing this? I tried rebooting my unraid server with not change. I seem to be able to start new download without it crashing. Here are the log showing the crash I am referring to, I edited out my username and seedbox server address and removed a few line listing most of of the folder that I have on my server but is otherwise untouched. Thank you for your help!
2020/12/15 12:42:17 - INFO - seedsync.Controller - Received command Action.QUEUE for file TV
2020/12/15 12:42:32 - INFO - seedsync.ServerActionHandler - Received a restart action
2020/12/15 12:42:32 - INFO - seedsync - Exiting Seedsync
2020/12/15 12:42:38 - DEBUG - seedsync.ControllerJob - Thread ControllerJob started
2020/12/15 12:42:38 - DEBUG - seedsync.WebAppJob - Thread WebAppJob started
2020/12/15 12:42:38 - DEBUG - seedsync.ControllerJob - Calling setup for ControllerJob
2020/12/15 12:42:38 - DEBUG - seedsync.WebAppJob - Calling setup for WebAppJob
2020/12/15 12:42:38 - DEBUG - seedsync.Controller - Starting controller
2020/12/15 12:42:38 - DEBUG - seedsync.WebAppJob - Finished setup for WebAppJob
2020/12/15 12:42:38 - DEBUG - seedsync.Controller.MPLogger - Started listener thread
2020/12/15 12:42:38 - DEBUG - ActiveScanner - Started process
2020/12/15 12:42:38 - DEBUG - seedsync.ControllerJob - Finished setup for ControllerJob
2020/12/15 12:42:38 - DEBUG - LocalScanner - Started process
2020/12/15 12:42:38 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:42:38 - DEBUG - RemoteScanner - Started process
2020/12/15 12:42:38 - DEBUG - RemoteScanner - Running a scan
2020/12/15 12:42:38 - DEBUG - ExtractProcess - Started process
2020/12/15 12:42:38 - DEBUG - ExtractDispatch - Started worker thread
2020/12/15 12:42:38 - DEBUG - RemoteScanner.RemoteScanner - Local scanfs md5sum = 5b74ccc713ce6a48bae48c9ee3b9ed23
2020/12/15 12:42:38 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"md5sum /tmp/scanfs | awk '{print $1}' || echo"
2020/12/15 12:42:40 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0
2020/12/15 12:42:40 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 1.450s
2020/12/15 12:42:40 - INFO - RemoteScanner.RemoteScanner - Skipping remote scanfs installation: already installed
2020/12/15 12:42:40 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"'/tmp/scanfs' '/home12/users123/downloads/'"
2020/12/15 12:42:41 - DEBUG - seedsync.Controller.Model - LftpModel: Adding a listener
2020/12/15 12:42:42 - DEBUG - LocalScanner - Scan took 3.366s
2020/12/15 12:42:42 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'youtube-dl'
2020/12/15 12:42:42 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'IsoBuster'
2020/12/15 12:42:42 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'AllData'
2020/12/15 12:42:42 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'TV'
2020/12/15 12:42:46 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0
2020/12/15 12:42:46 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 6.304s
2020/12/15 12:42:47 - DEBUG - RemoteScanner - Scan took 8.187s
2020/12/15 12:42:48 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:42:51 - DEBUG - LocalScanner - Scan took 2.803s
2020/12/15 12:42:54 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'watch'
2020/12/15 12:42:54 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'Rick.and.Morty'
2020/12/15 12:42:58 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:00 - INFO - seedsync.Controller - Received command Action.QUEUE for file TV
2020/12/15 12:43:01 - DEBUG - LocalScanner - Scan took 3.015s
2020/12/15 12:43:08 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:08 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:08 - DEBUG - RemoteScanner - Running a scan
2020/12/15 12:43:08 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"'/tmp/scanfs' '/home12/users123/downloads/'"
2020/12/15 12:43:09 - DEBUG - seedsync - Persisting states to file
2020/12/15 12:43:11 - DEBUG - LocalScanner - Scan took 2.212s
2020/12/15 12:43:16 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:17 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0
2020/12/15 12:43:17 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 8.775s
2020/12/15 12:43:17 - DEBUG - RemoteScanner - Scan took 8.911s
2020/12/15 12:43:18 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:21 - DEBUG - LocalScanner - Scan took 2.477s
2020/12/15 12:43:24 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:28 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:31 - DEBUG - LocalScanner - Scan took 2.246s
2020/12/15 12:43:34 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:38 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:38 - DEBUG - RemoteScanner - Running a scan
2020/12/15 12:43:38 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"'/tmp/scanfs' '/home12/users123/downloads/'"
2020/12/15 12:43:39 - DEBUG - seedsync - Persisting states to file
2020/12/15 12:43:41 - DEBUG - LocalScanner - Scan took 2.579s
2020/12/15 12:43:43 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:46 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0
2020/12/15 12:43:46 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 7.578s
2020/12/15 12:43:46 - DEBUG - RemoteScanner - Scan took 7.776s
2020/12/15 12:43:48 - DEBUG - LocalScanner - Running a scan
2020/12/15 12:43:51 - DEBUG - LocalScanner - Scan took 2.262s
2020/12/15 12:43:52 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file 'TV'
2020/12/15 12:43:53 - ERROR - seedsync.ControllerJob - Caught exception in job ControllerJob
Traceback (most recent call last):
File "/app/python/common/job.py", line 44, in run
self.execute()
File "/app/python/controller/controller_job.py", line 29, in execute
self.__controller.process()
File "/app/python/controller/controller.py", line 202, in process
self.__update_model()
File "/app/python/controller/controller.py", line 295, in __update_model
lftp_statuses = self.__lftp.status()
File "/app/python/lftp/lftp.py", line 320, in status
out = self.__run_command("jobs -v")
File "/app/python/lftp/lftp.py", line 97, in wrapper
return method(inst, *args, **kwargs)
File "/app/python/lftp/lftp.py", line 133, in __run_command
out = self.__process.before.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 3083: invalid continuation byte
2020/12/15 12:43:53 - DEBUG - seedsync.ControllerJob - Calling cleanup for ControllerJob
2020/12/15 12:43:53 - DEBUG - seedsync.Controller - Exiting controller
2020/12/15 12:43:53 - INFO - seedsync - Exiting Seedsync
2020/12/15 12:43:53 - DEBUG - ActiveScanner - Process received terminate flag
2020/12/15 12:43:53 - DEBUG - ActiveScanner - Exiting process

how many simultaneous transfers are you doing?
I've noticed that if I have any more than 1 transfer at a time with 10 threads it causes problems. If you have multiple files transferring perhaps trying to limit the connections per file to 1 and see if that makes a difference.

I believe SeedSync is having trouble with special characters in the name of the folder. Could you please provide the name of the folder you are trying to sync (feel free to email it to me - see my profile for address).

@SkinnyV My email response to you isn't going through. Could you please tell me which of those names was causing it to crash?

The software doesn't give me anymore information than what I have in the log. Is there a way I can figure that out if it is not stated in the log?

@SkinnyV It's all good, I've been able to reproduce this issue now. I am working on a fix.

Testing out the new version right now, seem to no longer be crashing! Thanks!

Great to haer @SkinnyV , thanks for the quick feedback!


V0.4.1

v0.4.1 April 27, 2020

Fix conflicting jupyter and nbconvert requirement

This will release will push out the fix that fixes this warning when installing featuretools[complete]
ERROR: categorical-encoding 0.3.0 has requirement nbconvert==5.5.0, but you'll have nbconvert 5.6.1 which is incompatible.

I think we should also mention pinning the category-encoders requirement in the changelog

I think the changelog should also mention pinning the category-encoders requirement

Gotcha. Added that, and a line about remove the unused requirements


Errata  p. 156, frame 7

The smoothed series is incorrect. The correct values should be:
5.03  6.8  6.55  6.16  5.73  5.37  4.9
The error stems from
(smooth 0.9 6.16 1.8) = 5.73
and not
6.07

Thanks Andres. You are correct. Adding it to the errata and will fix for future printings.


Refactor firewalls

This PR does the following:

Renames security groups->VM firewall
Increased the uniformity of SecurityGroupRules by making them service like i.e. have CRUD methods and iteration. However, they have not been turned into a cloudbridge "Service" because it creates circular dependencies, since the firewall must have a reference to the rules. Instead, the VMFirewallRuleContainer remains in resources.py
Nova security groups do not support traffic direction. They have also bee deprecated, preventing a nova upgrade. Therefore, they've been replaced by neutron security groups, with a partial migration to the Openstack SDK.

Codecov Report

Merging #89 into master will increase coverage by 20.5%.
The diff coverage is 88.58%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   67.89%   88.39%   +20.5%
==========================================
  Files          17       17
  Lines        2906     2973      +67
  Branches      298      296       -2
==========================================
+ Hits         1973     2628     +655
+ Misses        880      260     -620
- Partials       53       85      +32

Impacted Files
Coverage Δ

cloudbridge/cloud/providers/openstack/provider.py
89.05% <100%> (+59.68%)
:arrow_up:

cloudbridge/cloud/base/services.py
88.99% <100%> (+1.83%)
:arrow_up:

cloudbridge/cloud/providers/openstack/services.py
79.77% <68.96%> (+45.83%)
:arrow_up:

cloudbridge/cloud/providers/aws/services.py
87.56% <84.21%> (ø)
:arrow_up:

cloudbridge/cloud/providers/openstack/resources.py
90.19% <88.23%> (+50.05%)
:arrow_up:

cloudbridge/cloud/providers/aws/resources.py
89.07% <90.47%> (+2.92%)
:arrow_up:

cloudbridge/cloud/base/resources.py
96.2% <95.08%> (+2.69%)
:arrow_up:

cloudbridge/cloud/base/provider.py
83.87% <0%> (+6.45%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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

@afgane I'll merge this in since the next set of changes are dependent on this, and we'll merge this in at some point anyway, but if you can take a look at the PR diff to make sure I haven't missed anything, that'd be great.

Coverage increased (+0.6%) to 70.333% when pulling 9c6b466a54f3186b77c73a2bb305b9ddbb5f5299 on firewall_refactor into 3df1161aa751e66d65cffd34032e61d61070095e on master.


Feature request: Add  closeByBackdropClick into compenent with openIn popup

Is your feature request related to a problem? Please describe.
The problem is that each element may have a different preference as to whether or not to close via backdrop.
For example in my case I have this need:

SmartSelect must not close via backdrop;
Photobrowser must be able to close via backdrop;
Popup must not close via backdrop;

With this configuration it is not possible to use the options present now (configuration from the app / component configuration on the page)
The simplest solution is to add the ability to change the parameter for each component that uses it.
Example:
$f7.photoBrowser.create({
  photos: [{
    url: 'photo1'
  }],
  type: 'popup'
  popupOptions: {
    closeByBackdropClick: true
  }
}).open();

Or in app config
photoBrowser: {
        type: 'popup',
        popupOptions: {
           closeByBackdropClick: true
        }
}

This problem can be extended to any component that uses another component with options like this.

Thanks @nolimits4web ✌

@nolimits4web can you add it into smart select too ?


Update sbt-mdoc to 2.2.9

Updates org.scalameta:sbt-mdoc from 2.2.8 to 2.2.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #122 into master will increase coverage by 1.80%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
+ Coverage   71.59%   73.39%   +1.80%
==========================================
  Files          12       12
  Lines         426      406      -20
  Branches       23       23
==========================================
- Hits          305      298       -7
+ Misses        121      108      -13

Impacted Files
Coverage Δ

.../src/main/scala/io/github/vigoo/clipp/Parser.scala
91.42% <0.00%> (-0.17%)
:arrow_down:

.../io/github/vigoo/clipp/usageinfo/debug/debug.scala
0.00% <0.00%> (ø)

...hub/vigoo/clipp/usageinfo/UsagePrettyPrinter.scala
40.22% <0.00%> (+0.45%)
:arrow_up:

...e/src/main/scala/io/github/vigoo/clipp/clipp.scala
70.00% <0.00%> (+8.88%)
:arrow_up:

.../scala/io/github/vigoo/clipp/usageinfo/graph.scala
100.00% <0.00%> (+9.52%)
:arrow_up:

Continue to review full report at Codecov.

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


Spawners not mineable with Silk Touch higher than 1

Edit: Apologies, I just saw the older issue and the option in config to require Silk Touch 2. So the title of this should rather be "Allow any level of Silk Touch".
Maybe add a "required" level in the config that's just an integer, and if the level of the item is higher than the level in config just allow player to mine it? So I could set it to 1 and have any level of Silk Touch work for mining spawners.

Original message:
So we use a plugin that generates bosses in the wild and they drop items with higher than normal enchantments on them.
Turns out they can drop pickaxes with Silk Touch 5. Not sure if that does anything, but players were not able to mine spawners with it while having all the required permissions. The plugin just tells them they need a pick with Silk Touch. I gave that player an iron pickaxe with Silk Touch 1 and it worked perfectly.
Could you make the plugin accept any level of Silk Touch?

Hi, a new update now allows you to set which silk touch level is required so that level and any greater level will work.


switch to axios to connect to remote server

Description
when connecting to remote server, got network filed error from register component. switched to axios (from fetch) and now hitting remote server.
How to test
load app. click register. fill out form and click 'Register.' Valid registration with enter info into mongo and firebase auth, and then navigate user to dashboard.
Notes
must be email that has not been registered before.
Issue tracking
https://trello.com/c/YpYzIKQn/63-fix-register-remote-connection-bug

 fix Register remote connection bug


Xcode 12.5 and Xcode13 Build issues?

Anyone else finding that if you compile with Xcode 12.5 or 13 that you get the following (but works find with 12.2)
Building universal frameworks with common architectures is not possible. The device and simulator slices for "CameraManager" both build for: arm64
Rebuild with --use-xcframeworks to create an xcframework bundle instead.

Anyone?

Closed by mistake.  Anyone have an update?

I'm not sure if anyone is monitoring this project anymore, given the lack of responses and stale pull requests.


GNOME keyboard shortcuts settings incomplete

Issue description
In GNOME keyboard shortcut settings, the list of categories based on https://help.gnome.org/users/gnome-help/stable/keyboard-shortcuts-set.html.en and on my own experience with GNOME on other distros should be:

Launchers
Navigation
Screenshots
Sound and Media
System
Typing
Universal Access
Windows

However, only the following categories are available:

Launchers
Screenshots
Sound and Media
System
Typing
Universal Access

So I'm missing Navigation and Windows.
Steps to reproduce
Install gnome package and use GNOME. Open keyboard settings (press Super, type "keyboard", choose Keyboard). See the list of categories on the left panel.
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)

$ nixos-version
17.03pre92039.adfcc2d (Gorilla)

Nix version: (run nix-env --version)

$ nix-env --version
nix-env (Nix) 1.11.4

Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)

$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"17.03pre92039.adfcc2d"

I am affected too. Moreover Super + L doesn't lock the screen.

I am affected too. Moreover Super + L doesn't lock the screen.

I got that, too. Seems like that might be due to not using GDM.

Another possible source of Super+L not working (if you're using GDM): https://github.com/NixOS/nixpkgs/issues/21439#issuecomment-338505364

Apparently the Control Center derivation only provides some keybindings:
$ ls $(nix-build -A gnome3.gnome_control_center)/share/gnome-control-center/keybindings
00-multimedia.xml
01-input-sources.xml
01-launchers.xml
01-screenshot.xml
01-system.xml
50-accessibility.xml

the others are part of other packages like GNOME Shell $(nix-build -A gnome3.gnome_control_center)/share/gnome-control-center/keybindings/50-gnome-shell-system.xml or GPaste.
The Control Center loads the bindings here, basically using XDG_DATA_DIRS to locate them. But even explicitly passing the path env XDG_DATA_DIRS="$(nix-build -A gnome3.gnome_shell)/share" gnome-control-center keyboard does not make the Windows section appear – though, strace confirms the file being read.

@jtojnar Hey, have you somehow managed to get it to work using XDG_DATA_DIRS? (Not quite sure how to interpret your edit).
I tried messing around with that but so far I’ve only been able to break gnome-control-center:
(gnome-control-center:7609): GLib-GIO-ERROR **: 20:54:08.687: Settings schema 'org.gnome.shell.keybindings' is not installed

Trace/breakpoint trap

Try XDG_DATA_DIRS="$(nix-build -A gnome3.mutter)/share:$XDG_DATA_DIRS" gnome-control-center keyboard. The error you are seeing is caused by missing GNOME shell SCHEMAS, which will most likely be in the current variable.

It looks like the error I was seeing was related to fish shell not having XDG_DATA_DIRS setup properly and gnome-control-center keyboard was failing even if I didn’t attempt to change anything. I switched to bash and that particular problem disappeared, however I am now getting a different error message:
> XDG_DATA_DIRS=$(nix-build -A gnome3.mutter '<nixpkgs>')/share:$XDG_DATA_DIRS gnome-control-center keyboard

(gnome-control-center:1889): GLib-GIO-ERROR **: 19:26:41.468: Settings schema 'org.gnome.mutter.wayland.keybindings' is not installed

Trace/breakpoint trap

However, this schema seems to exist in mutter, so I sadly have no idea what is going on here:
> cat $(nix-build -A gnome3.mutter '<nixpkgs>')/share/gnome-control-center/keybindings/50-mutter-wayland.xml
<?xml version="1.0" encoding="UTF-8" ?>
<KeyListEntries schema="org.gnome.mutter.wayland.keybindings"
                group="system"
                name="System"
                wm_name="Mutter"
                package="mutter">

	<KeyListEntry name="restore-shortcuts" description="Restore the keyboard shortcuts"/>

</KeyListEntries>

Right, for that you also need to add share/gsettings/mutter-3.28.0 or
something like that.
On Sun, 1 Jul 2018, 19:34 Moritz Kiefer<EMAIL_ADDRESS>wrote:

It looks like the error I was seeing was related to fish shell not having
XDG_DATA_DIRS setup properly and gnome-control-center keyboard was
failing even if I didn’t attempt to change anything. I switched to bash and
that particular problem disappeared, however I am now getting a different
error message:

XDG_DATA_DIRS=$(nix-build -A gnome3.mutter '')/share:$XDG_DATA_DIRS gnome-control-center keyboard

(gnome-control-center:1889): GLib-GIO-ERROR **: 19:26:41.468: Settings schema 'org.gnome.mutter.wayland.keybindings' is not installed
Trace/breakpoint trap
However, this schema seems to exist in mutter, so I sadly have no idea
what is going on here:

cat $(nix-build -A gnome3.mutter '')/share/gnome-control-center/keybindings/50-mutter-wayland.xml

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/19590#issuecomment-401621180,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArCYySg7N0Rs6WM64ihxmnVGhwflOGVks5uCQg4gaJpZM4KX6gg
.

@jtojnar Thanks a ton! I finally got it to work using that!

I was able to get it to work using env XDG_DATA_DIRS=(nix-build -A gnome3.mutter '<nixpkgs>')/share:$XDG_DATA_DIRS gnome-control-center keyboard.

The mutter keybindings are not available in control center in NixOS when services.xserver.desktopManager.gnome3.enable = true. Explicitly adding mutter to environment.systemPackages fixes it.
Should mutter perhaps be added to gnome3.corePackages?

I think adding it to dependencies of g-c-c is more in line with Nix. We can do it after we merge 3.32.


The image compiled by dockerfile.nginx cannot run through.

Describe the bug
Image compiled by dockerfile.nginx, page displayed blank when running, error reported

@mikey5656 you need to create .env file at webapp directory to set environment variable REACT_APP_BACKEND_URI, or you could run docker compose build directly

@mikey5656 PR #501 is now in.  This should be addressed now.


Feature - saving and loading scroll position within each window

Executes a simple javascript promise within each window to fetch the current scrollX and scrollY positions.

Tested for backwards compatibility with previously saved workspaces

Thanks @pstefa1707


How old is the OSM database replica?

It is supposed to be "updated at one minute intervals", but it seems actually to be a few days late. Eg in http://export.hotosm.org/en/exports/d702396d-8ed0-4a4e-82b8-77c4fec16fdf/ it provides only 252 buildings vs the thousands traced since http://taches.francophonelibre.org/project/121 has been created.

Our overpass server has the updated buildings for this area, seems to be a duplicate of #181

@severinmenard I have fixed this and re-ran the export: http://export.hotosm.org/en/exports/d702396d-8ed0-4a4e-82b8-77c4fec16fdf/
Can you confirm that the result is as desired?

@bdon yes it works now, though it is not as close to the main database as it used to be: eg the last run at 10:28AM still does not show the edits of https://www.openstreetmap.org/changeset/49330120
The website should clearly show the time gap on the main page

@seveinmenard the timestamp of the last update is an addition to the new v3 export tool that's still in development.
However I just tested making a change and it showed up within 4-5 minutes. Functionally nothing has changed in export.hotosm.org that would make the results be more delayed than before. Can you double check with your next task that it doesn't show up within 10 minutes or so?


[Das_Schwarze_Auge_4-1] Harden Code, Add Debug Mode

Changes / Comments

New Features

Debug Mode (2fa6645baa3438115764b5467a3b7ee04d3e3a89, 39c5105a97ad74ae7f39accebccb19829c6638a5, d8c0054c072fcbbd0e7c2c6a6e682bb7be6de6ba, 332172dc537217830804b272463d1cfcb5312b25)

Currently limited to toggling debug output.

Add and use safe versions of getAttrs() and setAttrs(), contains base for default value mechanism (5fad4ad7abe9c668d620c788640ba76c44ec0c93, 99b1266acbb3c95b701c1d92ef7b27bf1d768c5b, a8adeeca304f872ab3ce478bfe0b98e892ca60e0, 4ea81abd51b97c5fee85fdc5cb8857ef81c6685c, 829b5512ad75edf4af7b717593bed6abf9a46216)
Add default values (d764e5a145215ae62caf6992e4f926016defeac2)

Style

Info tab easier to skim (dc01d2a6104945545d66b9b090760ce485f4e0fd)

Miscellaneous

Remove superfluous debug text (f5b978a10216426ca5d520ed7bafc57202655f4d)
Code rearrangement (0b6128dad041343e935b79664229370edfde2cbe)
Lowercase attribute names in event listeners (ac45df122ad368771672a00ab7dd1c26ea317927)
Restructure event listeners for enhanced readability (ac45df122ad368771672a00ab7dd1c26ea317927)
Document latest changes on info tab<PHONE_NUMBER>bef2f8723ff6d1c928c54d11468c17)
Bump version number (87f1b50918fda53106e5bb31ea2482b8eb143285, 1689e807c801b8d9190c945a05e15d9e6979ee37)

Attributes

New attributes

debug-mode: Toggling debug mode (39c5105a97ad74ae7f39accebccb19829c6638a5)
PA_peitsche: Parry value of whips; not actually required, but keeps code simpler (6e2c2aeb65b7783f88e37fff935443dd48543dda)

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


I am using datasets of size (480,52) as my training inputs. i am trying to reshape it before adding it to Conv2D layer.. but my reshape syntax is not working .. can some one say me a method how can i reshape it?

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Conv2D requires a channel axis, so if by (480, 52) you mean each data sample is of that size, then you could use something like this
inpt = Input(shape=(480, 52))
inpt_reshaped = Reshape((480,52,1))

or just reshape the samples before pushing them to the model

i tried with this but still its not working.. actually the datasets works for neural network only for  convnets i have a problem in reshaping. i tried to reshape it but shows the array cannot be reshaped

Can you show a snippet?


Choose and push a licence

In GitLab by @arcln on May 20, 2019, 15:26
k8s rules :

Must adopt the Kubernetes Code of Conduct statement in their repo.
All code projects use the Apache License version 2.0. Documentation repositories must use the Creative Commons License version 4.0.
Must adopt the CNCF CLA bot automation for pull requests.

In GitLab by @arcln on May 20, 2019, 15:29
changed the description

In GitLab by @arcln on Jun 13, 2019, 15:37
closed


ARIES-1956 Add the concept of implicit extensions

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Aries-cdi-pr/29/


Missing "forgiven" parameter in Invoices

Per Stripe's documentation, there is now a forgiven boolean denoting whether an unpaid invoice has been forgiven or not.
https://stripe.com/docs/api#invoice_object

Was this property added recently? Or has it simply always been there?

Good question, I just assumed recent since it wasn't in the mock library. You may be correct. I just can't test invoices without it so I thought I'd post it here, haven't had much time lately to contribute it myself, in case anyone gets a second to drop it in!

It looks like its just missing.  I checked back to a 2011-01-01 API response and it was still present


tensorrt-llm: 0.9 -> 0.10, triton: 2.42.0 -> 2.44.0

Open questions:

[x] Should we keep detokenizing in predict.py instead of postprocessing?
[x] It looks like the required config changed. Notably, enable_trt_overlap disappeared and a whole bunch of cache options got added.
[x] Yorick: do some testing.

enable_trt_overlap is set to false in a lot of places, we will probably need to change that
we should review the new configuration options as well


pvinverter pvtotal

hi, ive a problem with the measurement of pvinverter pvtotal it shows 130KW but it should show 0,13KW
sensor.victron_pvinverter_power_total_20
the sensors
sensor.victron_pvinverter_l1_power_20
sensor.victron_pvinverter_l2_power_20
sensor.victron_pvinverter_l3_power_20
shows correct in W
can you fix this please?
thank you for your work :-)

Hello and thank you for opening this issue.
I've also got a pvinverter which i just added to the vrm environment and I'm seeing the same behaviour.
However, it seems that this is a victron GX issue for the specific register.
Since the register definition states:

Which in the home assistant core integration modbus yaml would translate into (with off course your own gx device ip instead off ):
 - name: victron
   type: tcp
   host: <ip>
   port: 502
   retry_on_empty: true
   retries: 10
   close_comm_on_error: true
   sensors:
      - name: victron_pvinverter_L1_power
        unit_of_measurement: "W"
        address: 1029
        slave: 30
        device_class: power
        state_class: measurement
        data_type: uint16
      - name: victron_pvinverter_power_total
        unit_of_measurement: "kW"
        address: 1052
        slave: 30
        device_class: power
        state_class: measurement
        data_type: int32

Which also returns the incorrect scaled value for the power_total register.
So either there is a error in the documentation of victron or there is a bug in the modbus tcp server code of the GX device.
I'm affraid I can't solve this issue without starting to assume behaviour of the GX device.
Although this could solve our problem, assuming the actual intended data format outside of the official spec could cause issues down the line.
For example if victron patches this bug (in a newer version) then the integration would be reporting incorrect values for that newer version.
Therefore, I'm not going to change (/allow any changes) that would force the integration to diverge from the victron modbus TCP spec.
If victron were to update the spec then I'm willing to patch the integration to match it.
For now the best thing to do is to make victron aware of this bug so that it might get resolved.

Linking victron community bug report issue: https://community.victronenergy.com/questions/176336/bug-modbus-pvinverter-device-reports-incorrect-val.html

Ive a solaredge se16k inverter maybe the bug comes from the modbus connection between the inverter to the gx device and then goes the way to Home assistant

@Aikawa24 good suggestion.
However, I'm seeing the same behaviour in my setup where the pvinverter is a et112 configured as a pvinverter on output.
Therefore, I'm even more sure that it is something inside of the GX modbus implementation.
Otherwise both the et112 (which is a serial modbus device) reported values and the solaredge reported values should be incorrect.
Which seems unlikely to me.
This is however great information in further narrowing down this issue (Thanks @Aikawa24)

Hi, I can confirm with Fronius Inverters . I entered "W" as unit to get the correct result

As a control, I adden a Sum Sesor for the three phases

only this to be changed?

Closing as Issue should be resolved in release v0.1.7
Feel free to re-open if issue re-occurs at your end.


Add npm to /search

Add npm packages to /search results.
Add live search over npm packages at /on/npm/, linking over to /on/npm/foo/. Try really really hard to use Libraries.io in some way so we can say "Powered by Libraries.io" and start building that partnership.
Todo

[ ] while searching, hit npmsearch.com in addition to local index
[ ] mix the results into results from our local index (compare scores?)

Hmm ... do we do this in /on/npm/ or add it to /search?

npm itself uses https://www.constructor.io/.

How's that sound, @aandis? Note ordering of development priorities on #4148 (second todo subsection).
Cool I'll look into npmsearch's api. Catching up on #4151 since that seems to be priority.

Closing because we want to search over packages in our own database, rather than an external service. Will get to that eventually under https://github.com/gratipay/inside.gratipay.com/issues/987.


ci: docker build step is not cached

Details
ping @Brooooooklyn, is the build in docker step necessary for running tests?
https://github.com/web-infra-dev/rspack/blob/2e9d3314474282c7c0d181f3f085c9b4a68ab5fb/.github/workflows/test.yml#L166-L176
If so, does mounting the target directory caches things?

Why doing we need to build in docker in order to run tests is still beyond me.

@Boshen Tests are not needed to build in Docker; you can build & test on ubuntu-* directly in the testing steps.
The Docker environment is needed for GLIBC compatibility. If you build binaries on ubuntu-* directly on GitHub actions, the native addon won't be able to run on node:14 images then. So building release binaries in Docker is enough.

@h-a-n-a What do you think? What I recommend is to make our PR test workflow to run as fast as possible, we should defer running long tasks to later stages.

@Boshen I would like to merge build and test in the same step in PR.

@h-a-n-a You can take this issue.


setting up with gitlab pages

is there any guide to set this up with gitlab pages?

Hi! Sorry, no, there isn't as far as I know. Feel free to add instructions in a PR if you get it working though!

tentatively closing. feel free to reopen!


Is this project still being maintained?

Just curious if this project is still being actively developed at all. I'm interested in forking an updating it but I was hoping to just update this project instead, if possible.
(Love the plugin by the way, thanks for the time/effort put into it. ❤)

It's not dead, just not under active development. https://github.com/spadgos/sublime-jsdocs/issues/430

@gerardroche Thanks for the reply! Does "active development" mean development on a different branch then? I'd expect to see some kind of activity on the develop branch but there's none. 😕 Seemed like pull requests weren't being commented on or merged and neither were issues, so I thought it would be good to check in again since it's been 4 months since #430.

Perhaps @spadgos can add me as a maintainer and I can maybe handle some PR's?

I have to ask the same question again, is the project still maintained? There have been no commits since 2015 to the master branch.


added alert when close tab in form post

thanks, i'm very upset when all i type is gone when i accidentaly close my tab :D


VSCode spews diagnostic logs to the CMD prompt while I am trying to use it.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.74.3
OS Version: 25286.1001.amd64fre.rs_onecore_liof1.230124-1659

Steps to Reproduce:

Open CMD prompt
Navigate to root of git repo
"code ."

Expected result:
VS Code is launched, and I can continue to use the CMD prompt for other uses.
Actual result:
VS Code spits out random messages while I am using the CMD prompt, making the CMD window unussailable.

@bpasero, any idea what could have happened here?

This is a setup issue, it looks like code here is the actual Code.exe and not the command line executable.
//cc @joaomoreno

@Alan-Jowett Is this the ZIP distribution? Is code.exe in your cwd?

E:\>where code
C:\Users\alanjo\AppData\Local\Programs\Microsoft VS Code\Code.exe
C:\Users\alanjo\AppData\Local\Programs\Microsoft VS Code\bin\code
C:\Users\alanjo\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd

This is an MSI install as far as I know.

It looks like launching C:\Users\alanjo\AppData\Local\Programs\Microsoft VS Code\bin\code doesn't trigger the issue.
But launching just code does trigger it.

After adjusting the order of path variables so that Microsoft VS Code\bin\code occurs first in the path search. the problem no longer occurs. Thanks for helping me root cause this.


'Tables' node is not expanded after pasting one table to it

Storage Explorer Version: 1.11.0
Build: 20191106.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand one storage account -> Tables -> Select one table and copy it.
Paste the copied table to another storage account. (Make sure the destination 'Tables' node is collapsed).
Check the result.

Expect Experience:

Paste successfully.
The destination'Tables' node is expanded.
The copied table is selected.

Actual Experience:

Paste successfully.
The destination 'Tables' node is not expanded.

More Info:
This issue doesn't reproduce for one blob container/ file share.

Won't fix. Refreshing/expanding manually works fine.


PACKAGE: Get i18n working in mainTemplate

golang and flutter tools tools up and working.
Intent:
SO that devs that use a package have all the i18n already done in the package.
SO the ARBS and darts are all checked in.
Where:
DO Here:https://github.com/getcouragenow/bootstrap/tree/master/tool

rename i18n
dev needs to pull the repo and compile into gobin.
then dev uses it from his makefile.

Example:
https://github.com/go-flutter-desktop/examples/tree/master/stocks/lib/i18n
FLOW

Gen the ARBs file from the https://github.com/go-flutter-desktop/examples/blob/master/stocks/lib/stock_strings.dart

Gen the ARB specific to each lang.

Parse the intl_messages.arb to get the global English terms.

Parse the lang specific ARB's, and gen OUR translated lang specific JSON ( machine and human)

golang code that under the hood called google translate. No need for google sheets.
JSONS allow human overrides.
SEE: https://github.com/getcouragenow/network/tree/master/translate

lang specific JSON --> back into the lang specific ARB

ARB's --> DART's (stock_messages_.dart)

LATER:

can apply this to all our modules in packages like cal, write.

I finished the tool and we should test it with flutter


DDRMenu: Razor and XSLT templates

I'm submitting a feature request about theming/skinning and the DDRMenu. Currently there is only one plain text (Simple) token template for the DDRMenu.
We should add Razor and XSLT templates. The output should be as identical as possible. This would help the 'themer' easily have a starting point for their preferred template technology.
Jeremy could or should probably do this if we can work through a pull request.

Closing this issue since the NavPrimary and NavSecondary menus now have Razor. Future DDR template requests can be submitted as their own issues.


Docker compose example doesn't work

Describe the bug
Starting the docker compose inside the .examples/with-docker-compose ended in an error of the application:
with-docker-compose-urlaubsverwaltung-1  | ***************************
with-docker-compose-urlaubsverwaltung-1  | APPLICATION FAILED TO START
with-docker-compose-urlaubsverwaltung-1  | ***************************
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  | Description:
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  | Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'uv.mail' to org.synyx.urlaubsverwaltung.mail.MailProperties failed:
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  |     Property: uv.mail.sender
with-docker-compose-urlaubsverwaltung-1  |     Value: "null"
with-docker-compose-urlaubsverwaltung-1  |     Reason: must not be empty
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  | Action:
with-docker-compose-urlaubsverwaltung-1  |
with-docker-compose-urlaubsverwaltung-1  | Update your application's configuration

Tested with the current main (59079ba69a49d3c1dd97c547baff1ccf412976db).
To Reproduce
Steps to reproduce the behavior:

clone git@github.com:urlaubsverwaltung/urlaubsverwaltung.git
cd urlaubsverwaltung/.examples/with-docker-compose
docker compose up

Expected behavior
Urlaubsverwaltung is up and running without errors.
Desktop (please complete the following information):

OS: Ubuntu 22.04.3
Docker: Docker version 24.0.7

oh yeah, we renamed "sender" to "from" and I think i forgot to rename this in the example. Thanks for your issue.

There was an old version in the example. It is fixed now.


Limit Python versions to precompiled binaries

Precompiled binaries are really nice but because the latest versions are not available right away, it would be nice to have mise use<EMAIL_ADDRESS>install 3.12.1 quickly rather than build 3.12.2 (.2 is not available at the time of writing).
Because not everyone would like this behaviour, it probably should be an opt-in setting.

we could probably turn python_compile into a 3-way switch so an explicit "false" would mean to always use precompiled

By the way, what happen if python-build is not available ?

Mise downloads python-build. I think I prefer the current logic where nothing means use precompiled or not but "false" will always use precompiled. I think that will be more easily understood without referencing the docs.


Update scalafmt-core to 3.3.3

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.3.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #399.


WAILA conduit view not working

Versions
EnderIO 415 beta
Waila 1.5.10
When looking at conduits in previous versions WAILA would display information for that section( e.g. power stored for a power conduit).  Now in the current version it just reads the conduit as a conduit connector, displaying none of the specialized info.

Duplicate #2810


Add in app billing 4 for android

Please take a moment to fill out the following:
Fixes # .
Changes Proposed in this pull request:

I've not had as much time this weekend as I had planned so haven't completed integrating this into my app yet. Only feedback so far is that you can remove IInAppBillingVerifyPurchase.shared.cs, since it should have been removed from everywhere else. I'll let you know when I've finished the refactoring...

@jamesmontemagno I can confirm this now works perfectly for iOS. I need to implement Android verification in my backend before I can check the app logic there.

I'm assuming everyone received the Google emails this week about upgrading to v 4. Any rough idea when this PR is likely to be merged?

It's obviously in James' hands but, FWIW, I'm working on my Android app at the moment so am hoping to complete my own testing in the next week or so. This seems pretty solid so worth trying out nuget v5.0.1 beta, which corresponds to this, as far as I know.

@philtomblin I miss wrote, I meant merged into main and therefore made stable. I am already using v5.0.1 beta but need to double check that it is using v4 under the hood.

@CartBlanche so the email is that you need v3 or v4. We have used v3 for since v4.0 of the nuget

v5.0 used v4 of billing :) i like how the numbers don't align at all.
So if you are using v4.0 of the nuget you are fine

@jamesmontemagno For completeness, I can confirm I have this working perfectly for Android subscriptions too. Thanks again for getting this sorted out so promptly!


SqlGenerator.cs has a bug

line 430 and line 467, the word "LIMIT" should start with " "

It would be nice if you will make a PR.

I checked it. It isn't needed.


Support calling user functions

Currently when you try to emit ZEND_INIT_FCALL followed by ZEND_DO_UCALL, the pointer to the target function isn't properly set.
See tests/ulopcodes_004.phpt.

Fixed by using USER_CALL


refactor(iac): change iac diff scan json output format

Changes the format of the JSON output for an iac diff scan.

Before
{
  "added_vulns": [
      {
          "filename": "terraform/aws/s3.tf",
          "incidents": [
              {
                  "policy": "Allowing public exposure of a S3 bucket can lead to data leakage",
                  "policy_id": "GG_IAC_0055",
                  "line_end": 8,
                  "line_start": 1,
                  "description": "AWS S3 Block Public Access is a feature that allows setting up centralized controls\\nto manage public access to S3 resources.\\n\\nEnforcing the BlockPublicAcls, BlockPublicPolicy and IgnorePublicAcls rule on a bucket\\nallows to make sure that no ACL (Access control list) or policy giving public access\\ncan be associated with the bucket, and that existing ACL giving public access to\\nthe bucket will not be taken into account.",
                  "documentation_url": "<https://docs.gitguardian.com/iac-scanning/policies/GG_IAC_0055>",
                  "component": "aws_s3_bucket.test",
                  "severity": "HIGH"
              }
          ],
          "total_incidents": 1
      }
  ],
  "persisting_vulns": [
      {
          "filename": "terraform/aws/db-app.tf",
          "incidents": [
              {
                  "policy": "EC2 instances use unencrypted block device",
                  "policy_id": "GG_IAC_0033",
                  "line_end": 413,
                  "line_start": 243,
                  "description": "Amazon EBS provides durable, block-level storage volumes that you can attach\\nto a running instance. They will typically be used to host the filesystem\\nfor an application (except for the boot volume). As such, they will often host\\nconfiguration files, and sometimes the secrets needed by the application to\\naccess external services.\\n\\nEncrypting your volumes ensures that your application runtime data will not be\\ncompromised from raw access to the disks.",
                  "documentation_url": "<https://docs.gitguardian.com/iac-scanning/policies/GG_IAC_0033>",
                  "component": "aws_instance.db_app",
                  "severity": "HIGH"
              }
          ],
          "total_incidents": 1
      }
  ],
  "removed_vulns": []
}

After
{
  "id": "fb0e9a92-de34-43f9-b779-17d25e99ab35",
  "iac_engine_version": "1.15.0",
  "type": "diff_scan",
  "entities_with_incidents": {
      "unchanged": [
          {
              "filename": "s3.tf",
              "incidents": [
                  {
  				    "policy": "Allowing public exposure of a S3 bucket can lead to data leakage",
                      "policy_id": "GG_IAC_0055",
                      "line_end": 118,
                      "line_start": 96,
                      "description": "AWS S3 Block Public Access is a feature that allows setting up centralized controls\\nto manage public access to S3 resources.\\n\\nEnforcing the BlockPublicAcls, BlockPublicPolicy and IgnorePublicAcls rule on a bucket\\nallows to make sure that no ACL (Access control list) or policy giving public access\\ncan be associated with the bucket, and that existing ACL giving public access to\\nthe bucket will not be taken into account.",
                      "documentation_url": "<https://docs.gitguardian.com/iac-scanning/policies/GG_IAC_0055>",
                      "component": "aws_s3_bucket.operations",
                      "severity": "HIGH"
                  }
              ],
              "total_incidents": 1
          }
      ],
      "deleted": [
        {
          "filename": "s3.tf",
              "incidents": [
                  {
  	                "policy": "Allowing public exposure of a S3 bucket can lead to data leakage",
                      "policy_id": "GG_IAC_0055",
                      "line_end": 118,
                      "line_start": 96,
                      "description": "AWS S3 Block Public Access is a feature that allows setting up centralized controls\\nto manage public access to S3 resources.\\n\\nEnforcing the BlockPublicAcls, BlockPublicPolicy and IgnorePublicAcls rule on a bucket\\nallows to make sure that no ACL (Access control list) or policy giving public access\\ncan be associated with the bucket, and that existing ACL giving public access to\\nthe bucket will not be taken into account.",
                      "documentation_url": "<https://docs.gitguardian.com/iac-scanning/policies/GG_IAC_0055>",
                      "component": "aws_s3_bucket.operations",
                      "severity": "HIGH",
                  }
              ],
              "total_incidents": 1
          }
      ],
      "new": [
        {
          "filename": "s3.tf",
              "incidents": [
                  {
  		            "policy": "Allowing public exposure of a S3 bucket can lead to data leakage",
                      "policy_id": "GG_IAC_0055",
                      "line_end": 118,
                      "line_start": 96,
                      "description": "AWS S3 Block Public Access is a feature that allows setting up centralized controls\\nto manage public access to S3 resources.\\n\\nEnforcing the BlockPublicAcls, BlockPublicPolicy and IgnorePublicAcls rule on a bucket\\nallows to make sure that no ACL (Access control list) or policy giving public access\\ncan be associated with the bucket, and that existing ACL giving public access to\\nthe bucket will not be taken into account.",
                      "documentation_url": "<https://docs.gitguardian.com/iac-scanning/policies/GG_IAC_0055>",
                      "component": "aws_s3_bucket.operations",
                      "severity": "HIGH"
                  }
              ],
              "total_incidents": 1
          }
      ]
  }
}

We're currently processing your upload.  This comment will be updated when the results are available.

And it lacks a changelog. This is a customer facing change that should be "changeloged"

And it lacks a changelog. This is a customer facing change that should be "changeloged"

I also added an example inside a collapsible section, I assume these work in the Github changelog ?


error: peer access is not supported between these two device

I tried run llama3-70B, raise the error peer access is not supported between these two device

Hi, what devices are you using? Some GPU models does not support peer access.

Hi, what devices are you using? Some GPU models does not support peer access.

Hi, was using Nvidia 3090 * 8

3090 does not support peer access. Only workstation cards (e.g. Ada 6000) or V100, A100, H100 have this feature.

3090 does not support peer access. Only workstation cards (e.g. Ada 6000) or V100, A100, H100 have this feature.

Thanks for your reply.


Paramedic Door

Description

We don't have paramedic access. Aspid starts with a paramedic door. No one can open that door, not even the captain or aghosts. It shouldn't be mapped right now.
Reproduction

Try to use a paramedic locked door.
Screenshots

https://github.com/space-wizards/space-station-14/assets/122584947/8991823d-9971-4ed6-8c41-2b406b4c6c90
Additional context

Looking into this one, I'll take care of it

fixed


Ensure mobile-friendly / gestural interface feels good

We may get this "for free", but should verify the experience is good on mobile.

@danmarshall is logging finer-grained issues that cover this better.


Suggest: DB acquireLock 优化

Why you need it?
io.seata.server.storage.db.lock.DataBaseDistributedLocker#acquireLock 需要兼容dupKey异常。

线程1和线程2，select key都没查到记录，执行了insert，顺序如上，线程2 insert会报dupKey异常，需要兼容该异常，此种情况下直接返回获取锁失败。
###II. Environment:

JDK version(e.g. java -version): 1.8
Seata client/server version:  2.x

本地锁没有释放，不可能出现并发竞争同一个锁
The local lock is not released. It is impossible to compete with the global lock concurrently.

io.seata.server.session.SessionHolder#distributedLockAndExecute TC多节点部署的时候，init启动时获取xxx key的分布式锁时会产生这种情况。

I misunderstood, but these 4 locks should be inserted when the table is built, not at startup. And it's not a feature, it's an optimization

https://github.com/seata/seata/blob/2.x/script/server/db/mysql.sql

assign to me


EB unknown-issuer page misses detailed information

This page used to show details like IP, time, local and remote entityID's, and tracking ID but does not anymore for me.
https://engine.surfconext.nl/authentication/feedback/unknown-issuer?entity-id=https%3A%2F%2Fexample.org&destination=https%3A%2F%2Fengine.surfconext.nl%2Fauthentication%2Fidp%2Fsingle-sign-on%2Fkey%3Adefault

Same for VO membership required.

Fixed in 4.6.


Integer overflow @node_modules/@graphprotocol/graph-ts/global/global/id_of_type

Do you want to request a feature or report a bug?
bug
What is the current behavior?
An integer overflow is raised randomly after treating a big number of events.
I added a few logs at each step of my treatment; but the overflow is triggered before even logging anything.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
I did not find a way to reproduce. Treating the event again by changing the startBlock in subgraph.yml does not trigger it again.
But it is triggered for sure after 20-60 hours of treatment.
It is expected to not have an integer overflow after treating hundred of thousands events.
graphnode     | Jun 12 10:10:41.798 INFO Done processing trigger, gas_used:<PHONE_NUMBER>39, data_source: Contract, handler: handleMyNFTEvent, total_ms: 1499, transaction: 0x60da…b338, address: 0xf47c…0ece, signature: MyNFTEvent(indexed bytes4,indexed bytes4,string,string), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.865 INFO Trying to parse with TheGraph json parser, data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.866 INFO Trying JSON buffer to string, data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.866 INFO Trying to parse with custom json parser, data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.866 INFO Trying to recover data array, data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.866 INFO Data field is indeed an array, get it., data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.866 INFO Treating 1 entries for cid QmTg7WPugeFsWND6BbKUJtohmz1u5yzgE8G7xMaCuSVNoT !, data_source: Contract, block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:41.870 INFO Done processing trigger, gas_used:<PHONE_NUMBER>, data_source: Contract, handler: handleMyNFTEvent, total_ms: 72, transaction: 0xbfdf…ef07, address: 0xf47c…0ece, signature: MyNFTEvent(indexed bytes4,indexed bytes4,string,string), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:42.717 INFO Applying 45931 entity operation(s), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:42.717 ERRO Subgraph error 1/1, code: SubgraphSyncingFailure, error: wasm trap: integer overflow	wasm backtrace:	    0: 0xc1ee - <unknown>!src/JSON/JSON/Obj#getArr	    1: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    2: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    3: 0xbe06 - <unknown>!src/JSON/JSON/Obj#getArr	    4: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    5: 0xc4b2 - <unknown>!node_modules/@graphprotocol/graph-ts/global/global/id_of_type	 in handler `handleMyNFTEvent` at block #634950 (8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:42.975 ERRO Subgraph instance failed to run: wasm trap: integer overflow	wasm backtrace:	    0: 0xc1ee - <unknown>!src/JSON/JSON/Obj#getArr	    1: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    2: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    3: 0xbe06 - <unknown>!src/JSON/JSON/Obj#getArr	    4: 0xbc91 - <unknown>!src/JSON/JSON/Obj#getArr	    5: 0xc4b2 - <unknown>!node_modules/@graphprotocol/graph-ts/global/global/id_of_type	 in handler `handleMyNFTEvent` at block #634950 (8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac), code: SubgraphSyncingFailure, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager
graphnode     | Jun 12 10:10:42.975 DEBG Subgraph stopped, WASM runtime thread terminated, sgd: 69, subgraph_id: QmQtQP5AtMCxpoG44ZetXGDnSNDkrebd7gYDwRkMEpZZSQ, component: SubgraphInstanceManager

Please advise; it really seems to lie down to the id_of_type function, blended in by TheGraph
The JSON.getArr referenced in the exception log is below :
JSON.zip
Do i need to add specific types used by this library into graph-ts/global/global.ts as well as in the IndexForAscTypeId enum in graph-node Rust implementation ?
If so, can you please explain what is the behavior behind that ?

Which graph node version are you running? We've recently fixed stack traces on graph node master, so please try the latest master and see what backtrace you get.

Which graph node version are you running? We've recently fixed stack traces on graph node master, so please try the latest master and see what backtrace you get.

Thank's ! Will do.

Ok,
Updating to version 0.26 (3178bb4) instead of 0.22, i have been able to have a much more precise stack trace, and to fix the problem, that was lying in my code.
graph-node_1  | Jun 20 16:01:26.438 INFO Treating 1 entries for cid QmTg7WPugeFsWND6BbKUJtohmz1u5yzgE8G7xMaCuSVNoT !, data_source: Contract, sgd: 205, subgraph_id: QmQbgzAxqRrJf7bKwUwwm1gZmSM4WhXui5MhewzqGdBdBB, component: SubgraphInstanceManager
graph-node_1  | Jun 20 16:01:26.442 INFO Done processing trigger, gas_used:<PHONE_NUMBER>, data_source: Contract, handler: handleMyNFTEvent, total_ms: 58, transaction: 0xbfdf…ef07, address: 0xf47c…0ece, signature: MyNFTEvent(indexed bytes4,indexed bytes4,string,string), sgd: 205, subgraph_id: QmQbgzAxqRrJf7bKwUwwm1gZmSM4WhXui5MhewzqGdBdBB, component: SubgraphInstanceManager
graph-node_1  | Jun 20 16:01:27.092 INFO Applying 78478 entity operation(s), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 205, subgraph_id: QmQbgzAxqRrJf7bKwUwwm1gZmSM4WhXui5MhewzqGdBdBB, component: SubgraphInstanceManager
graph-node_1  | Jun 20 16:01:27.155 ERRO Subgraph error 1/1, code: SubgraphSyncingFailure, error:
wasm trap: integer overflow	wasm backtrace:
0: 0xc14e - <unknown>!src/JSON/decoder/JSONDecoder<src/JSON/JSON/Handler>#parseValue
1: 0xbc32 - <unknown>!src/JSON/decoder/JSONDecoder<src/JSON/JSON/Handler>#parseValue
2: 0xbc32 - <unknown>!src/JSON/decoder/JSONDecoder<src/JSON/JSON/Handler>#parseValue
3: 0xbdaf - <unknown>!src/JSON/decoder/JSONDecoder<src/JSON/JSON/Handler>#parseValue
4: 0xbc32 - <unknown>!src/JSON/decoder/JSONDecoder<src/JSON/JSON/Handler>#parseValue
5: 0xc412 - <unknown>!src/contract/handleMyNFTEvent	 in handler `handleMyNFTEvent` at block #634950 (8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac), block_hash: 0x8a2946efa2b8117e15de90f06820d004a58469947c73300fe80531c7c7c95eac, block_number: 634950, sgd: 205, subgraph_id: QmQbgzAxqRrJf7bKwUwwm1gZmSM4WhXui5MhewzqGdBdBB, component: SubgraphInstanceManager

That was indeed an integer overflow; i64 being too small to be casted on my value.
Thank's for the help @leoyvens !


[CN4J Call] August 10th logistics

As discussed on todays' call, I volunteer to:

create a CN4J minutes space on the MicroProfile Minutes space that allows anyone to contribute to the agenda write-up and keep track of past calls discussions.

to update the MP calendar event for August the 10th with the new agenda. https://docs.google.com/document/d/1Q3h9dNKSw9xIsCU3ZNPSzzzHhi8Rii50zq7SrTVGA-k/edit#

Kevin, would you do the honors to send the agenda with the actual topics up for discussion to the Cn4J forum?

Emily, can you submit a new ticket with the agenda media description so that it can be pushed timely?

Emily can you also make sure that all the documents that are up for discussion, if any, are available under the MP Community CN4J drive (not the EF drive). I found no CN4J documents in the folder that welcome collaboration https://drive.google.com/drive/u/0/folders/1W-vXbSTTB8rwY0gKwgeg_Q8jlv6YlQip

Thank you,

@kwsutter & @Emily-Jiang

@aeiras, MP does not own the content for these CN4J calls.  This has been a joint effort between @jclingan and Will Lyons.  On today's hangout, I just mentioned that there is a CN4J call scheduled for next week and put it in the minutes.  I plan to participate on these CN4J calls, but I am not driving them.  Thank you.

+1 on what @kwsutter said. I think John might put an agenda together with Will when the time is closer. At today's call, I just commented that I would like to suggest a topic at CN4J. As you might remember, I suggested once before but it was postponed. Therefore, I don't think it makes sense for me to define the agenda and MP tweets about it.

I am in 100% agreement.
We need the very base, the agenda document in the calendar to start somewhere now that the Messaging has been completed and we can move to other regular topics.
The space for the agenda collaboration is there. We have the CN4J forum where the agenda ought to be shaped.
I added 2 layers to the agenda topics.  I believe the 2 communities need to decide how to coordinate moving forward as to where to place "WIP" documents, etc.
What I wish never to see again is a CN4J call being set under the private Steering cmtee call and just inform the MP or Jkta community. We must do better and respect all our members. With that hope, I have pushed for some formally that needs discussion next week.


[Model] Support is_decoder HF config for Qwen2 model

FIX https://github.com/vllm-project/vllm/pull/10184#issuecomment-2496912551

Let me verify that the test passes first before adding ready label.

Oh, this is awkward. By default HF assigns is_decoder=False for all models, even the text generation models.

Maybe I have to use another config field for this...


Fix change log URL

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

Thanks for the PR! This is needed because we generate the full changelog url by combining the base and version. https://insomnia.rest/changelog/core itself is not a valid url but https://insomnia.rest/changelog/core/2020.5.0 is, as is https://insomnia.rest/changelog/designer/2020.5.0.
In the future we will look to remove /core from the changelog path.
https://github.com/Kong/insomnia/blob/e8d1e9039f090aa34baf181c13c36c368f6413a1/packages/insomnia-app/app/common/constants.js#L91-L94
I will close this PR as such :)


Do not use matches! there

It is not needed, we can do use explicit pattern matching there
It increases the minimal supported rust version to 1.42

Looks good! There was really no reason for using the matches!() macro other than I was trying it out. To be honest I hadn't really thought too much about the minimal supported rust version but I probably should start.


CSV Support

Need a way to specify the file format and then alter the base_sql slightly to handle CSVs.  Should be an optional parameter that defaults to json.

Closed as part of abstracted COPY params d776c51b35b6198e8e00aa205db4999ede2a11e6