[DON'T MERGE] BOBA L2 for Alt L1s

BOBA L2 for Alt L1s

Codecov Report

Merging #244 (3e0893d) into develop (5621463) will increase coverage by 26.53%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #244       +/-   ##
============================================
+ Coverage    47.22%   73.75%   +26.53%
============================================
  Files           99       65       -34
  Lines         3867     1955     -1912
  Branches       762      321      -441
============================================
- Hits          1826     1442      -384
+ Misses        2041      513     -1528

Flag
Coverage Δ

boba-contracts
?

contracts
77.95% <ø> (+0.23%)
:arrow_up:

core-utils
86.80% <ø> (ø)

data-transport-layer
31.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...tracts/contracts/L1/messaging/L1StandardBridge.sol
97.56% <ø> (ø)

...tracts/contracts/L2/messaging/L2StandardBridge.sol
95.45% <ø> (ø)

...racts/contracts/L2/predeploys/BobaTuringCredit.sol
0.00% <ø> (ø)

...ts/contracts/L2/predeploys/Boba_GasPriceOracle.sol
69.23% <ø> (+1.76%)
:arrow_up:

...ages/contracts/contracts/L2/predeploys/L2_BOBA.sol
100.00% <ø> (ø)

...racts/contracts/L2/predeploys/L2_L1NativeToken.sol
0.00% <ø> (ø)

.../contracts/L2/predeploys/OVM_SequencerFeeVault.sol
100.00% <ø> (ø)

... and 35 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 5621463...3e0893d. Read the comment docs.


Add Support for Memcached as a LLM Model Cache

Discussed in https://github.com/langchain-ai/langchain/discussions/27035

Originally posted by prokopchukdim October  1, 2024
Checked

[X] I searched existing ideas and did not find a similar one
[X] I added a very descriptive title
[X] I've clearly described the feature request and motivation for it

Feature request
We would like to add support for Memcached as a usable LLM model cache. There are two main pure-Python memcached client implementations in Python: pymemcache and python-memcached.
We would primarily like to add support for pymemcache given that it is the most actively maintained, but it may be possible to support both clients under one newly added cache class since both are used.
Motivation
Many of the model caches supported natively are full on DBs. While Redis is supported as an option for distributed in-memory storage, many teams and companies rely on Memcached as a distributed in-memory cache. By adding Memcached support, we hope to make the model caching feature more useful to more teams using Langchain.
Example Usage
from langchain.globals import set_llm_cache
from langchain_openai import OpenAI

from langchain_community.cache import MemcachedCache
from pymemcache.client.base import Client

llm = OpenAI(model="gpt-3.5-turbo-instruct", n=2, best_of=2)
set_llm_cache(MemcachedCache(Client('localhost')))

# The first time, it is not yet in cache, so it should take longer
llm.invoke("Which city is the most crowded city in the USA?")

# The second time it is, so it goes faster
llm.invoke("Which city is the most crowded city in the USA?")

Proposal (If applicable)
We intend to add a new MemcachedCache implementation in libs/community/langchain_community/cache.py to support the pymemcache client.
If there is interest in also supporting the python-memcached client, or others, we can explore creating a unified implementation class since all clients should generally adhere to the memcached text protocol.
We intend to submit a pull request some time in October, and no later than mid-November.

Thank you for creating an issue for us! We should have a PR created by early November. Could this issue be assigned to me?

@efriis We just created a PR for this integration, would appreciate if you could take a look!


Webserver integration

Please make the webserver integrable with an existing web server of the main app, bei passing the existing server and an absolute path to the library at start and builc all internal path relative to th egiven one.

Hi,
this is already possible. Call knx.start() with a pointer to a ESP8266WebServer (see here) and change ROOT_PREFIX to a path you want (see here).

Well, that does not allow any alternat root path and does not work if root is already used, which usually is the case. With start(server) on e has to edit the esp-knx-ip.h header and modify ROOT_PREFIX to something likse "/knx" then it works.
so start should get another parameter allowing to specify the path below which the knx webpages are to be found.
Without this prefix, the implementation is also vey collision prone, for instanmce if the application already has a /config webpage.

Well, that does not allow any alternat root path and does not work if root is already used, which usually is the case.

Yes it does, just set ROOT_PREFIX to your desired path, e.g., /knx, if you use / for your own application.

With start(server) on e has to edit the esp-knx-ip.h header and modify ROOT_PREFIX to something likse "/knx" then it works.

This is how it's supposed to work. You choose a path and set ROOT_PREFIX to that. This way, all the strings are fixed during compile time instead of being dynamically build during runtime.

so start should get another parameter allowing to specify the path below which the knx webpages are to be found.

No, that's the job of ROOT_PREFIX.

Without this prefix, the implementation is also vey collision prone, for instanmce if the application already has a /config webpage.

Yes, that's why ROOT_PREFIX exists.
I see no advantage of moving this parameter to start and therefore making all the string concatenations runtime operations.

Well the advantage is obviously that th elkibarry needs no editing for each separate project. If one has a webserver and trhe other not. Also it would allow to have a backlink to the rrot on the KNX page if the prefix is given.
If you absolutely want to stick with the preprocessor macro, I would suggest the following change:
make #define ROOT_PREFIX commented out in place where now defined with a comment that it needs to be uncommented for change.
Just before the use of the root prefix for the other paths  then:
#ifndef ROOT_PREFIX
#define ROOT_PREFIX "" // DO NOT CHANGE this line, uncomment and change above !!!!
#define ROOT_PREFIX_USED 0
#else
#define ROOT_PREFIX_USED 1
#endif
an then use ROOT_PREFIX_USED to add a link back to the root on teh KNX page. Or you could of course simply strlen the prefix ;-)


sensor not working properly

Guys, i got the problem about this project. My sensor not working properly. raw data doesn't same with Startedproject, i was change my finger position, but the graph still not drawn like the project.

I use arduino nano Clone with CH340 driver

It doesn't look like you are having an issue... That looks like it is OK signal from the PPG.
Can you verify that you are using an Original Pulse Sensor and not a clone? Send us a pic of your Pulse Sensor if you can't tell, and also tell us where you bought it.

@biomurph i think my sensor is clone, because i bought it from online store on my country not from official store of pulse sensor, but i't looks like same with the original.
if the sensor OK why my project read my BPM more than 150++, i allready double check to my finger and my friend finger, but the result is same.

You may indeed have an Original Pulse Sensor. We distribute to Spark Fun, who then ships 'kits' of hardware to stores all over the world. Please send a photo of the one you have.
I think I see the problem!
Looking at your screenshot, you are targeting the Arduino Nano.
Please look into the 'Timer Interrupt Notes' tab for info on how to adjust the interrupt settings.
You can also use the beta version of our Arduino Library, found here
https://github.com/WorldFamousElectronics/PulseSensorPlayground
Follow the ReadMe to get set up with that.


Added config option for DigitalObjectPrefix.

When set in the config it creates a dedicated index for scans based on the v2 index with the given prefix. By just enabling this switch, it will switch between the two indices.
The goal is to enable especially heavy indices dedicated to digital objects to be managed and queried separate from the main index. For some RDF search operations this will enable a performance boost. The default remains a single v2 index.

Is good


Merge PRs to live

OPS Build status updates of commit 920b89d:
:clock10: Preparing: average preparing time is 1 min(s) 22 sec(s)

OPS Build status updates of commit 920b89d:
:clock10: Incremental building: average incremental building time is 37 sec(s)

OPS Build status updates of commit 920b89d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/exchange-web-services/how-to-work-with-search-folders-by-using-ews-in-exchange.md
:white_check_mark:Succeeded

docs/web-service-reference/searchmailboxes-operation.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Feature Request] Adding Support for images form Assets.

Added to the TODO list

This PR will add the feature : https://github.com/chriswakefield87/SymbolOverlayKit/pull/2


Support ReadOnly account

Support ReadOnly Account

[x] Design
[x] Function

Metadata:
{   isExternal: true,   isReadOnly: true }
Extend from Qr account

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./758-merge-build-0.6.9-1667811673805.zip
Please check issue:

[ ] Do not display account address after scan successfully

https://user-images.githubusercontent.com/102292476/200985749-72d12b30-3097-48be-b22c-a3be69d384f6.mp4

[ ] UI bugs

[ ] Change warning message
Change to "The account you are using is read-only, you cannot send assets with it"

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./758-merge-build-0.6.9-1668074268116.zip

[ ] Enable "Attach Readonly Account" button as default

[ ] The current network icon is overridden when the name is long

[ ] Bug happens after change avatar

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./koni-dev-build-0.6.9-1668405983319.zip
Validation passed.


hog loss

Hi,
thanks for releasing this nice work! I have a question about the implementation of HOG loss.
Why use @torch.no_grad() at HOGLayerC forward function ?
The gradient of HOG loss cannot participate in back propagation.

Here's a polished and concise English response for your answer:
Hi,
Thank you for your interest in our work! You've raised an important point regarding the implementation of HOG loss, which I admittedly overlooked earlier. The HOGLayerC function implementation is inspired by the CVPR 2022 paper "Masked Feature Prediction for Self-Supervised Visual Pre-Training". After reflecting on your question, I believe the following two points are crucial:
Non-Differentiability of HOG Features: The computation of HOG features involves operations such as edge detection, histogram binning, and normalization. Many of these operations are non-differentiable or lack well-defined gradients. As a result, even if gradients were computed for these features, they wouldn't effectively contribute to the backpropagation process in neural network training.
Additional Regularization Effect: Despite the non-differentiability of HOG features, they can still provide indirect regularization. This means that HOG features may help the model focus on key aspects of images, such as edges and textures, thereby improving the results.
Furthermore, our ablation studies (Table 7)and visualization results (Figure 6) in the paper demonstrate that this loss can indeed help the model to focus on certain critical features of images.
I hope this clarifies your query!


[Atom DB C++] Implement a way to allow custom attributes in the atoms

Implemented here: https://github.com/singnet/das-atom-db/pull/230


fix: Revert "fix: noir mirror merge strat"

This caused bigger problems than -Xtheirs did, oops. Sometimes merges will just get stuck, c'est la vie

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 58.8 (+205%)
note_trial_decrypting_time_in_ms (32): 114 (+97%)

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.
Values are compared against data from master at commit 56e8451b and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
66,352
238,372
469,052

l1_rollup_execution_gas
659,675
940,956
1,317,459

l2_block_processing_time_in_ms
1,290 (-1%)
4,813 (-4%)
8,907 (-5%)

note_successful_decrypting_time_in_ms
153 (-2%)
490 (-10%)
1,060 (+7%)

note_trial_decrypting_time_in_ms
:warning: 58.8 (+205%)
:warning: 114 (+97%)
91.2 (-29%)

l2_block_building_time_in_ms
18,431
68,622 (-1%)
135,994

l2_block_rollup_simulation_time_in_ms
8,123 (-1%)
28,763 (-1%)
56,295

l2_block_public_tx_process_time_in_ms
10,286 (+2%)
39,808
79,595

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

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
13,928 (+5%)
27,282 (+1%)

note_history_successful_decrypting_time_in_ms
1,190 (-6%)
2,482 (+1%)

note_history_trial_decrypting_time_in_ms
65.8 (-34%)
154 (-2%)

node_database_size_in_bytes
19,083,344
35,659,856

pxe_database_size_in_bytes
29,859
59,414

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

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
282
44,366
28,244

private-kernel-ordering
216 (-1%)
52,868
14,326

base-parity
1,900 (+6%)
128
311

base-rollup
720
165,787
925

root-parity
1,426 (-8%)
1,244
311

root-rollup
68.6 (-1%)
4,487
789

private-kernel-inner
641
73,771
28,244

public-kernel-app-logic
444 (-1%)
35,260
28,215

public-kernel-tail
172 (-1%)
40,926
28,215

merge-rollup
8.24 (-1%)
2,696
925

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

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

batch_insert_into_append_only_tree_16_depth_ms
9.92 (-3%)
16.2
N/A
N/A
N/A
N/A
N/A
N/A
N/A

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

batch_insert_into_append_only_tree_16_depth_hash_ms
0.580 (-2%)
0.499
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.8 (-1%)
71.7 (-1%)
230 (-1%)
442 (-1%)
867 (-1%)
1,727
N/A

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

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.470 (-1%)
0.443
0.420
0.414 (-1%)
0.413 (-1%)
0.414
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
53.3 (-2%)
106
334 (-1%)
659
1,301 (-1%)
2,605
N/A

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

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.476 (-2%)
0.478
0.456
0.455
0.452 (-1%)
0.452
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
60.8 (-1%)

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

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.533

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

Metric
0 registered classes

tx_size_in_bytes
22,012

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
3,269 (-1%)
1,751 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
13.0 (+8%)
1,240 (-1%)


[Bug] Errors caught in sdk aren't being propagated to

Describe the bug
If you monday.api  throws an exception, its being watched somewhere in the parent window and is not
propagated to the IFrame, therefor client apps cannot catch the errors
main-7200c6b71d99dbf4fa50.js:1 Error: Graphql validation errors
    at main-7200c6b71d99dbf4fa50.js:1
    at c (vendors-e5822d6167d2f886eaaa.js:2)
    at Generator._invoke (vendors-e5822d6167d2f886eaaa.js:2)
    at Generator.forEach.e.<computed> [as next] (vendors-e5822d6167d2f886eaaa.js:2)
    at o (vendors-e5822d6167d2f886eaaa.js:2)
    at s (vendors-e5822d6167d2f886eaaa.js:2)

the catcher (main-7200c6b71d99dbf4fa50) is hosted by monday
https://cdn7.monday.com/build/main-7200c6b71d99dbf4fa50.js
Steps to reproduce

Embed the SDK in an app
remove a permission (me:read)
Call monday.api(...) to fetch { me { name }}
try to catch the error

It's the same issue I already reported two months ago, unfortunately no response from monday yet 😕
https://github.com/mondaycom/monday-sdk-js/issues/26

Yes, please!
I spent an embarrassing amount of time trying to figure out the error: https://community.monday.com/t/monday-api-sdk-not-authenticated-or-graphql-validation-errors/9633 🤦♀

Hey @kaminskypavel, @KODIKAS-NL , @PepperAddict
The issue was solved, the new version of SDK (0.1.1) is catching an error post message from Monday and rejects the promise.
If you will update your dependency to the new version it should work for you.
Thanks!


[RESOLVED] High ICMP ping response time

Problem started at 12:23:14 on 2023.06.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 271ms
Original problem ID: 28585
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=28585

Problem has been resolved in 10m 0s at 12:33:14 on 2023.06.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 28585


Docs/tutorial link to 'Eager execution', item 1 of 'Research and experimentation' 404 err.

Documentation; tutorials.
Link to Eager execution tutorial (item 1 of 'Research and experimentation') give a 404 error.
The link is currently pointing to:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/eager/python/examples/notebooks/eager_intro.ipynb
I believe that it should be pointing to:
https://github.com/tensorflow/docs/blob/master/site/en/tutorials/eager/eager_basics.ipynb

@jmsinusa Thank you for the post. Yes you are right about the pointing of eager_basics.ipynb link, we have moved the notebooks to the tensorflow/docs repository. We have mentioned this update in the Readme file as well. I am closing this issue as you can access the notebooks from the tensorflow/docs repository.


Expose corner radius for widgets

Can we get an option to change radius of a widget? For example, I am using NeumorphImageButton and I would like to have a square button, but because this button has to be small, it becomes a circle when I make it below a certain size, and I can't seem to lower the radius to make it a rounded square.
Something like this:

There is a way to change the corner radius.
Please refer to the following codes.
<soup.neumorphism.NeumorphCardView
    app:neumorph_shapeAppearance="@style/CustomShapeAppearance" />

<style name="CustomShapeAppearance">
    <item name="neumorph_cornerFamily">rounded</item>
    <item name="neumorph_cornerSize">4dp</item>
</style>


feat(charts): add analytics ID and KEY envs to csi controller

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.95%. Comparing base (8feeaa0) to head (15e7fde).
Report is 17 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #326      +/-   ##
===========================================
- Coverage    98.66%   97.95%   -0.71%
===========================================
  Files            2        2
  Lines          673      784     +111
===========================================
+ Hits           664      768     +104
- Misses           5        9       +4
- Partials         4        7       +3

Flag
Coverage Δ

bddtests
97.95% <ø> (-0.71%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


DocMenu: use the docusaurus sidebar structure

Change text to label
Add type: 'category' & type: 'link' to items

This is a prerequisite to simplify the integration of the design system in docs.cypress.io


Add support for the new transfer_assets_using_type_and_then() call in pallet XCM

Following from the original issue: https://github.com/paritytech/asset-transfer-api/issues/384
The new transfer_assets_using_type_and_then() call in pallet XCM will add heavy changes to the original interface. Among other things, this call allows to transfer more than one asset in a proper manner (see discussion here). Asset Transfer API should support this call but leaving up to the user the flexibility and extra complexity that transfer_assets does not allow. This is, this call should meant to be only for advanced API users. More concretely:

Whenever only one asset is meant to be transferred, this call should be disregarded and transfer_assets (or other calls) should be constructed.

If there are more than one asset to be transferred, then the behaviour should be:

The remote_fees_id input param should be already supported by the paysWithFeeDest? input in the API, but now  paysWithFeeDest? input should not be optional.
Give the user the option to choose one among the four transfer types to populate the assets_transfer_type input parameter.
Similar behaviour to populate the fees_transfer_type input paramter as per assets_transfer_type:

In any case, the value of custom_xcm_on_dest input should default to Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }]) as explained here. But the user should have the option to input their own custom instructions for destination.

In any case, the value of custom_xcm_on_dest input should default to Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }]) as explained here. But the user should have the option to input their own custom instructions for destination.

I am hoping that this library be more than just a wrapper and instead can build on top of the pallet_xcm::transfer_assets_using_type_and_then functionality and be "smarter" and more helpful to the user.
The limitation of pallet-xcm/xtokens or any on-chain functionality is that it only has a limited view of the whole picture, its knowledge is limited to the local chain. Whereas this library (especially with the use of its registry https://github.com/paritytech/asset-transfer-api-registry/issues/134) has information about the whole ecosystem.
Therefore, it could build any type of transfer for the user, without having the user write (or understand) any XCM.
I would really like to start from some "complex" user stories (bridged assets, multiple hops, multiple assets, mixing teleports with reserves, etc) that are either not possible or hard to do in practice in our ecosystem, and come up with some helper APIs here to do them, hiding all that complexity from the user.
For this ^ we really need to work backwards from the usecase, I expect we will find we still need some missing pieces from the chain to make it really great UX.
Lemme know what you think.

@acatangiu Thanks for the comment, I totally agree, the main purpose of this API is to facilitate every kind of cross-chain transfers.
After thinking a bit about your comment my initial idea would be to:

First add "default" support for this new call, make sure advance users are enabled right away. This will be what I described in the original issue.
Secondly, define a set of complex user stories in the ecosystem and enable them via this API. This should be possible by setting the right inputs to this new call, with particular focus on the  custom_xcm_on_dest input, where the API should have predefined XCM programs without requiring the user to deal with this lower level XCM logic. To kickstart this, it would be nice to have an agreement on the more important user stories.

Sounds great to me! 👍


Image-too-large exception

#58 suggests that in WinBond/Zjiang 5890 images over a certain size will cause the print to fail.
For this case implementing an extra check with a new exception would be useful.
https://github.com/receipt-print-hq/escpos-printer-db could supply a property for maximum image size.
(#58)

@MicroJoe This is fixed by #226, isn't it?

Yes (given that the ZJ5890 has a proper yml definition with pixel width)


Add mocking back in

Analogous to https://github.com/mila-udem/blocks/pull/864
RTD won't compile C extensions, so the importing of the Cython module needs to be guarded (good practice anyway I guess, so that failing to compile the Cython extension doesn't render the other transformers that don't rely on it useless)

https://fuel.readthedocs.org/en/rtd2/

Tests pass, it's just the Blocks tests fail as long as https://github.com/mila-udem/blocks/pull/864 isn't merged.

Can someone restart the tests?


failed to install due to webxr-polyfill not having a package.json file

currently the package.json file points to an empty webxr-polyfill folder as its source for webxr-polyfill
given that this folder is empty and does not contain a package.json file, npm is unable to install it.
In order to install the holoplay-webxr library currently the user has to manually override the path for the webxr-polyfill package.

after further looking into it it looks like this may be a git submodule issue

Oh yes, sounds like it. I should have mentioned that in my README!


Warnings emitted on Node 14

When appmetrics is required on node 14 multiple messages are emitted which state:
(node:74412) Warning: Accessing non-existent property '__ddProbeAttached__' of module exports inside circular dependency

The following simple script can reproduce the issue:
require('appmetrics');

Same here! Node v14.15.2
Warning: Accessing non-existent property '__ddProbeAttached__' of module exports inside circular dependency

Same here, Node v14.16.1

@jokeyrhyme  can you explain how you removed this package and got the required metrics?

we have setTimeout/setInterval jobs that use os.cpus(), os.freemem(), os.totalmem(), perf_hooks.PerformanceObserver, perf_hooks.monitorEventLoopDelay(), etc to collect data
and we have some conversion logic to turn this data into values that correspond to appmetrics.eventloop.latency.* , appmetrics.gc.* , appmetrics.loop.* , appmetrics.memory.*

this is what i could come up with
  // timer start time
  let trackingTime = process.hrtime();

  // last cpu usage to get difference from current cpu usage (the diff will give usage over timer period)
  let lastCpuUsage = process.cpuUsage();

  // histogram for event loop monitoring
  const histogram = perf_hooks.monitorEventLoopDelay();
  histogram.enable();

  // monitor cpu, memory, event loop
  const monitor = () => {

    // end time for the timer (diff from start time by passing as arg)
    // hrtime gives nanosecond resolution ([0] seconds, [1] remaining nanoseconds)
    const delta = process.hrtime(trackingTime);
    const nanosec = delta[0] * 1e9 + delta[1];

    // get cpu usage (user and system)
    const cpuUsage = process.cpuUsage();

    // diff from last cpu usage to get % usage over timer interval
    const userUsage = ((cpuUsage.user - lastCpuUsage.user) / nanosec) * 1000;
    const systemUsage = ((cpuUsage.system - lastCpuUsage.system) / nanosec) * 1000;
    transportClient.gauge('cpu.process', userUsage);
    transportClient.gauge('cpu.system', systemUsage);

    // update last cpu usage for next timer cycle
    lastCpuUsage = cpuUsage;

    // get process memory usage
    // Resident Set Size, is the amount of space occupied in the main memory device
    // (that is a subset of the total allocated memory) for the process
    // including all C++ and JavaScript objects and code
    const memoryUsage = process.memoryUsage();
    transportClient.gauge('memory.process.physical', memoryUsage.rss);

    transportClient.gauge('eventloop.latency.min', histogram.min / 1e6);
    transportClient.gauge('eventloop.latency.max', histogram.max / 1e6);
    transportClient.gauge('eventloop.latency.avg', histogram.mean / 1e6);

    // reset histogram to start new cycle
    histogram.reset();

    // update timer time for getting diff for next cycle
    trackingTime = process.hrtime();
  };

  // collect process metrics every 5 seconds
  setInterval(monitor, 5000);

any comments are welcome


PTS: Bluetooth: GATT/SR/GAS/BV-07-C

Describe the bug:
After re-connection and second read request, data base is out of sync but IUT returned valid value.
Expected behavior
IUT returned error.
GATT_SR_GAS_BV_07_C_2020_02_26_16_14_15.zip

CC @jhedberg

Are there any logs from Zephyr, it might be clearing in case of:
/* BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part G page 2347:
 * <IP_ADDRESS> Robust Caching
 * A connected client becomes change-aware when...
 * The server sends the client a response with the error code set to
 * Database Out Of Sync and then the server receives another ATT
 * request from the client.
 */

It weird since we do have 2 flags exactly to track this state properly, or does PTS expects that we clearn out of sync state when disconnected, so it only when 2 consecutives ATT request happen within the same connection that would make the client change aware? It would be good to have what the test expection as well.

@Vudentz
4.8.10 GATT/SR/GAS/BV-07-C [Handling Client Requests after a Hash Read or
Service Changed Indication – Database Changed between Connections]
• Test Purpose
Verify that the IUT acting as GATT Server does not return the Database Out of Sync error after a
hash read when the Robust Caching feature is enabled. The database is changed between
connections after a bond has been created.
• References
[11] 2.5.2, 7.2
• Initial Conditions
The GATT database on the IUT contains at least one characteristic that supports the GATT
Characteristic Value Read sub-procedure. Any change on the GATT database during the test
procedure will not affect this characteristic.
The IUT and the Lower Tester have bonded and the connection has been terminated.
The Lower Tester has discovered the characteristics on the IUT and has saved the handles of their
values.
The Lower Tester has enabled the Robust Caching feature.
The Lower Tester has not enabled indications on the Service Changed characteristic.
Test Procedure
1. The Upper Tester orders the IUT to change its GATT database, by adding or removing services and/or characteristics, then the Lower Tester creates a connection with the IUT.
2. The Lower Tester executes the GATT Read Using Characteristic UUID sub-procedure on the Database Hash characteristic.
3. The Lower Tester executes the GATT Characteristic Value Read sub-procedure on another characteristic (different than the Database Hash characteristic) and expects the IUT to return either the characteristic value or a different error code. If the Database Out of Sync error is returned, the test ends with a Fail Verdict.
4. The Lower Tester enables indications on the Service Changed characteristic, then it terminates the connection.
5. Repeat step 1 and wait for the IUT to send an indication on the Service Changed characteristic. If the indication is not received within 30 seconds, the test ends with a Fail Verdict.
6. The Lower Tester confirms the indication, then repeat step 3.
7. The Lower Tester terminates the connection, then reconnects, and then it executes a GATT Characteristic Value Write procedure on the Client Supported Features characteristic, setting the Robust Caching bit to 0, and expects the IUT to return the Value Not Allowed error.
8. The Lower Tester disables indications on the Service Changed characteristic, then it terminates the connection, then repeat step 1, and then the Lower Tester executes the GATT Characteristic Value Read sub-procedure on another characteristic (different than the Database Hash characteristic) and expects the IUT to return the Database Out of Sync error.
9. The Lower Tester terminates the connection, then reconnects, and then it executes the GATT Characteristic Value Read sub-procedure on another characteristic (different than the Database Hash characteristic) and expects the IUT to return the Database Out of Sync error.

Expected Outcome
Pass Verdict
In both executions of step 3, the IUT does not return the Database Out of Sync error.
In step 7, the IUT returns the Value Not Allowed error.
In steps 8 and 9, the IUT returns the Database Out Of Sync error.

@Vudentz which logs do you want on the zephyr side?


feat: implemented RepeatAction wrapper

Description
Implements feature request #652. This still needs a unit test.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@pseudorndthoughts Do we actually want this feature? In the original issue It was proposed for the use in MuJoCo environments, but MuJoCo already has The frame_skip argument which achieves effectively the same result.

This PR has been inactive for more than 6 months, therefore I am closing it
@Markus28 if you would like to resume, feel free to merge main and continue the work


Issue 445 map taxonomy

I optimized the mapTaxonomy function as indicated in #445 by mapping over unique taxa and then mapping back to the original data. Even though the time difference by optimizing doesn't seem staggering, it still improved a little bit.

I implemented the requested changes and ran the biocCheck which didn't seem to have any issue with the new lines. The taxa have to be mapped back to the originial data. Hence the reason it didn't considerably decrease the computation time.

However, I noticed that the issue was closed just after I made the PR. Was this already fixed ?

Perhaps my mistake - I reopened it.

I implemented the requested changes and ran the biocCheck which didn't seem to have any issue with the new lines. The taxa have to be mapped back to the originial data. Hence the reason it didn't considerably decrease the computation time.

OK, cool! Hmmm, I ran the BiocCheck and it seems that these new lines are incorrectly indented (should be multiplication of 4 spaces). The indentation in old lines were correct, so I think you should revert the changes related to lines that are not really fixing the problem mentioned in the issue. Sorry about extra work
https://contributions.bioconductor.org/r-code.html?q=indentation#indentation

The indentation is still off. If there is juts couple lines that you are planning to change, you can create new PR and link this with that

@Insaynoah what's the status of this PR? Can we get it fixed.

Closing. The following PR will fix the issue https://github.com/microbiome/mia/pull/600


Converting stop_fold exception breaks vnode worker - BDP patch [JIRA: RIAK-2184]

If the riak_kv_worker sees a stop_fold exception, it will stop and do no
further work. The code was blocking that exception and handling it in
the backend by return the value of the accumulator before the
exception. This is wrong. The kv fold logic has already processed that
accumulator and sent the results back. This causes some extra values to
be appended to the results. In the case of paginated 2i queries that use
list:merge to do a merge sort of the results, the extra values made the
partial lists not be in sorted order, and list:merge in turn returns
results that are in the incorrect order. This causes some results to be
moved to the end and be left out of the final merged result.

create jira issue

Created at Heather's request via email (Subject = Data Platform Riak Deltas, sent 10/9/2015 @ 3:23 PST).
[posted via JIRA by Derek Somogyi]

John, can you get this in by Wednesday of this week?
[posted via JIRA by Derek Somogyi]

It’s unlikely. My early attempts to trace the behavior of this code were unsuccessful because of the instability of the integration efforts, and since then I’ve been alternating working on the 2i code both for BDP and for the BDP/TS merge, and the 0.8 tests.
I can drop 2i in favor of this, but tomorrow will also involve time spent discussing our 3-week target, so I don’t know how much time I’ll have to code this.
I’ll try to have a better feel for the scope of the fix by tomorrow’s daily call.
-John

On Oct 5, 2015, at 9:02 PM, Basho JIRA bot<EMAIL_ADDRESS>wrote:
John, can you get this in by Wednesday of this week?
[posted via JIRA by Derek Somogyi]
—
Reply to this email directly or view it on GitHub https://github.com/basho/riak_kv/pull/1165#issuecomment-145713184.

Oops, replied to this thinking it was a different issue. Will see what I can do.

Welp, after digging and poking I was satisfied with the PR, but a wee bit more digging and poking revealed this was already merged at some previous date (possibly as @jonmeredith was merging 2.0 bits into 2.1). Closing.


Enhancing PlaywrightStealth

Discussion: Enhancing PlaywrightStealth
Background
The PlaywrightStealth gem is currently heavily based on the playwright-stealth Python project. The injected scripts were initially sourced from the puppeteer-extra project. While this has provided a solid foundation, there are areas that may require further refinement and optimization.
Areas for Discussion

Script Optimization and Cleanup:

Review the injected scripts sourced from puppeteer-extra.
Identify any redundant or outdated scripts.
Propose improvements or optimizations to the existing scripts.
Discuss the order of script injection and its impact on stealth capabilities.

Detection Issues:

Chromium browser is still being detected by PixelScan.
Cloudflare is detecting automation, leading to potential blocking or challenges.
Explore potential solutions or workarounds to mitigate these detection issues.

Goals

Enhance the stealth capabilities of the PlaywrightStealth gem.
Ensure that the injected scripts are up-to-date and optimized.
Reduce the detection rates by services like PixelScan and Cloudflare.

Call to Action
I invite contributors and users of the PlaywrightStealth gem to join this discussion. Your insights, suggestions, and contributions will be invaluable in improving the gem's effectiveness and reliability.
Thank you for your time and effort in making PlaywrightStealth a better tool for everyone!

Feel free to share your thoughts, suggestions, and any relevant experiences you may have had with similar projects.

I have removed the JS script injection that was being flagged by antibot systems when using Playwright. Instead, I opted to use the patcher provided by Rebrowser Patches, which offers significantly improved functionalities compared to the previous approach. Notably, it avoids detection of an open CDP connection and performs all the actions previously managed by the injected scripts.
However, as highlighted here, the browser is still being detected due to how Playwright manages cursor movements. The antibot system seems to detect inconsistencies in mouse events, particularly cases where the pageX and screenX (or pageY and screenY) coordinates are identical. This can indicate automated behavior because, in typical user interactions, these coordinates rarely match except in specific scenarios. Moreover, the isTrusted property on events may flag them as not originating from genuine user interactions.
Therefore, I'll need to write a custom service to interact with elements directly via CDP instead of relying on simulated JS events. Additionally, there is still an unresolved issue with detecting UA_Override, and I am exploring potential solutions for this.


Bug in PEGs

git diff master..smalltalk extra/smalltalk/parser
The smalltalk branch has a cleaned up smalltalk parser that should be equivalent. However, the generated code fails.

USING: peg peg.ebnf smalltalk.ast sequences sequences.deep strings
math.parser kernel arrays byte-arrays math assocs accessors ;
IN: smalltalk.parser.fail

EBNF: parse-smalltalk-test0

Character = .
WhitespaceCharacter = (" " | "\t" | "\n" | "\r" )
DecimalDigit = [0-9]
Letter = [A-Za-z]

Whitespace = (WhitespaceCharacter)+

LetterOrDigit = DecimalDigit | Letter
Identifier = (Letter | "_"):h (LetterOrDigit | "_")*:t => [[ { h t } flatten >string ]]

Keyword = Identifier:i ":" => [[ i ":" append ]]

KeywordMessageSelector = Keyword+ => [[ concat ]]
BinarySelectorChar =   "+" | "="
BinaryMessageSelector = BinarySelectorChar+ => [[ concat ]]

DecimalIntegerLiteral = DecimalDigit+ => [[ string>number ]]

BinaryMessage = BinaryMessageSelector:selector
                (DecimalIntegerLiteral):rhs
                => [[ selector { rhs } ast-message boa ]]

KeywordMessageSegment = Keyword:k (BinaryMessageSend | DecimalIntegerLiteral):arg => [[ { k arg } ]]
KeywordMessage = KeywordMessageSegment:h
                 (KeywordMessageSegment:s => [[ s ]])*:t
                 => [[ t h prefix unzip [ concat ] dip ast-message boa ]]

Message = BinaryMessage | KeywordMessage

MessageSendLHS = (BinaryMessageSend | DecimalIntegerLiteral)

BinaryMessageSend = MessageSendLHS:lhs
              BinaryMessage:h
              (";" Message:m => [[ m ]])*:t
              => [[ lhs t h prefix >array <ast-cascade> ]]

KeywordMessageSend = MessageSendLHS:lhs
              KeywordMessage:h
              (";" Message:m => [[ m ]])*:t
              => [[ lhs t h prefix >array <ast-cascade> ]]

Expression = (KeywordMessageSend | BinaryMessageSend):e
             => [[ e ]]

;EBNF

Works:
"4+3" "BinaryMessageSend" \ parse-smalltalk-test0 rule parse
"4+3" "DecimalIntegerLiteral" \ parse-smalltalk-test0 rule parse

Fails:
"4+3" "Expression" \ parse-smalltalk-test0 rule parse .

Peg parsing error at character position 3.
Expected token '_' or token '=' or token '+' or token ';'

Shouldn't it keep going after KeywordMessageSend fails to match, instead of throwing an exception?

! Broken
EBNF: parse-smalltalk-test0

Keyword = (("_"):h ([0-9] | "_")*:t => [[ { h t } flatten >string ]]):i ":" => [[ i ":" append ]]

BinaryMessage = (("+" | "=")+ => [[ concat ]]):selector
                ([0-9]):rhs
                => [[ selector { rhs } ast-message boa ]]

KeywordMessageSegment = Keyword:k (BinaryMessageSend | [0-9]):arg => [[ { k arg } ]]
KeywordMessage = KeywordMessageSegment:h
                 (KeywordMessageSegment:s => [[ s ]])*:t
                 => [[ t h prefix unzip [ concat ] dip ast-message boa ]]

MessageSendLHS = (BinaryMessageSend |[0-9]  )

BinaryMessageSend = MessageSendLHS:lhs BinaryMessage:h
              => [[ lhs { h } <ast-cascade> ]]

KeywordMessageSend = MessageSendLHS:lhs KeywordMessage:h
              => [[ lhs { h } <ast-cascade> ]]

Expression = (KeywordMessageSend | BinaryMessageSend):e
              => [[ e ]]

;EBNF

! works
EBNF: parse-smalltalk-test0

Keyword = (("_"):h ([0-9] | "_")*:t => [[ { h t } flatten >string ]]):i ":" => [[ i ":" append ]]

BinaryMessage = (("+" | "=")+ => [[ concat ]]):selector
                ([0-9]):rhs
                => [[ selector { rhs } ast-message boa ]]

KeywordMessageSegment = Keyword:k (BinaryMessageSend | [0-9]):arg => [[ { k arg } ]]
KeywordMessage = KeywordMessageSegment:h
                 (KeywordMessageSegment:s => [[ s ]])*:t
                 => [[ t h prefix unzip [ concat ] dip ast-message boa ]]

MessageSendLHS = ([0-9] | BinaryMessageSend  )

BinaryMessageSend = MessageSendLHS:lhs BinaryMessage:h
              => [[ lhs { h } <ast-cascade> ]]

KeywordMessageSend = MessageSendLHS:lhs KeywordMessage:h
              => [[ lhs { h } <ast-cascade> ]]

Expression = (KeywordMessageSend | BinaryMessageSend):e
              => [[ e ]]

;EBNF

Simpler test case, Fails is broken, Succeeds is working:
EBNF: parse-smalltalk-test0

MessageSendLHS = BinaryMessageSend | [0-9]

KeywordMessage = "_" [0-9_]* ":" MessageSendLHS

BinaryMessageSend = MessageSendLHS [+=]+ [0-9]

KeywordMessageSend = MessageSendLHS KeywordMessage

Fails = KeywordMessageSend | BinaryMessageSend

Succeeds = BinaryMessageSend | KeywordMessageSend

;EBNF

Inlining the definition of MessageSendLHS makes both work:
EBNF: parse-smalltalk-test0

KeywordMessage = "_" [0-9_]* ":" BinaryMessageSend | [0-9]

BinaryMessageSend = BinaryMessageSend | [0-9] [+=]+ [0-9]

KeywordMessageSend = BinaryMessageSend | [0-9] KeywordMessage

Fails = KeywordMessageSend | BinaryMessageSend

Succeeds = BinaryMessageSend | KeywordMessageSend

;EBNF

Try and simplify:
EBNF: broken

LHS = A | [0-9]
A = LHS "a"
B = LHS "b"
Fail = B | A
Pass = A | B

;EBNF

These test cases:
! Broken
{ V{ 48 "a" } } [ "0a" "Fail" \ broken rule parse ] unit-test

! Works
{ V{ 48 "b" } } [ "0b" "Fail" \ broken rule parse ] unit-test
{ V{ 48 "a" } } [ "0a" "Pass" \ broken rule parse ] unit-test
{ V{ 48 "b" } } [ "0b" "Pass" \ broken rule parse ] unit-test

It might have something to do with packrat caching parser results at each position, when the LHS is run at position 0 for B it fails due to not having a trailing "b", then when it is run in A at position 0 it fails because of its cached result from previous run.

You can't copy/paste refactor PEG rules. In a choice parser, the right rules can't use rules that have already failed on the left side.
Closing as not a peg bug.

In a choice parser, the right rules can't use rules that have already failed on the left side.
Is this documented already ? Maybe add it to http://docs.factorcode.org/content/article-peg.ebnf.choice.html ? or here http://docs.factorcode.org/content/word-choice,peg.html ? Or a more general description of what is allowed ?

Also, if we're changing the docs of peg, I think we should prefix all rules articles names with "EBNF" because some of them are confusing (eg in http://docs.factorcode.org/search?search=sequence the first result is the EBNF sequence rule )

Docs updated in c4f67577f1785dd4763296e974c96866b952f82e.


update on the mobile user agent

Hi,
please update to this (at least works on me)
Mozilla/5.0 (Linux; Android 13; LM-Q710(FGN)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.117 Mobile Safari/537.36

Thanks, mobile UA has been updated.


Feature_UIRayCast references non-member variable vr.ovrHandTracking

This line: https://github.com/NeoSpark314/godot_oculus_quest_toolkit/blob/master/OQ_Toolkit/OQ_ARVRController/scripts/Feature_UIRayCast.gd#L30
if (vr.ovrHandTracking):
causes an error because ovrHandTracking is not listed anywhere in
https://github.com/NeoSpark314/godot_oculus_quest_toolkit/blob/master/OQ_Toolkit/vr_autoload.gd
It's not obvious what it is supposed to be, or if there is a huge block of code missing.

thanks for finding this; this functionality was moved in some recent refactoring and I forgot this code location. I'll fix it

When this works I'll extend https://github.com/goatchurchprime/OQ_Networking_Demo to handing the hand-tracking, which is always pretty compelling.  It's a pretty neat demo when you can network in on someone's desktop screen running a flat WebXR version with your hand-tracking all working.  I can pack all the transforms down as Vector3s so they don't take so much bandwidth.

should be fixed now on master


Regression in constructing JSON filters

For example, a deserialized container filter now looks like
{"id":["id=0c24b5b39bab46f79c7b763a21f4562692400af0963e4e82d2f4d58c4e1aaffa"]}

But it should look like
{"id":["i0c24b5b39bab46f79c7b763a21f4562692400af0963e4e82d2f4d58c4e1aaffa"]}

So, if we URL encode the first JSON, we don't retrieve any containers
$ curl --unix-socket /run/user/1000/podman/podman.sock http://d/v3.0.0/libpod/containers/json\?all\=true\&filters=%7B%22id%22%3A%5B%22id%3Da9ee744d373ad80a280f66cb3fdcd443b9320482ce1d32c9999c3ae1806116d5%22%5D%7D
[]

If we remove the id= part, we retrieve the correct result.
$ curl --unix-socket /run/user/1000/podman/podman.sock http://d/v3.0.0/libpod/containers/json\?all\=true\&filters=%7B%22id%22%3A%5B%220c24b5b39bab46f79c7b763a21f4562692400af0963e4e82d2f4d58c4e1aaffa%22%5D%7D
[{"AutoRemove":false,"Command":["mongod"],"Created":"2022-08-27T21:10:48.274351047+02:00","CreatedAt":"","Exited":false,"ExitedAt":-62135596800,"ExitCode":0,"Id":"0c24b5b39bab46f79c7b763a21f4562692400af0963e4e82d2f4d58c4e1aaffa","Image":"docker.io/library/mongo:latest","ImageID":"a3c1334134aafd75500fbfe5cddbc0bde4d628725cb074bf988edbbad2cf0acc","IsInfra":false,"Labels":null,"Mounts":["/data/configdb","/data/db"],"Names":["TEST_PODMAN_API_RS"],"Namespaces":{},"Networks":[],"Pid":709080,"Pod":"","PodName":"","Ports":[{"host_ip":"","container_port":27017,"host_port":27017,"range":1,"protocol":"tcp"}],"Size":null,"StartedAt":1661627448,"State":"running","Status":"healthy"}]

Crate version: 0.5.0 (9d02f4b60d3129ca7d2291e30d0f4136e5d9a1da)
OS: 5.18.18-200.fc36.x86_64 SMP PREEMPT_DYNAMIC Wed Aug 17 16:02:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of running podman version on the command line:

Client:       Podman Engine
Version:      4.2.0
API Version:  4.2.0
Go Version:   go1.18.4
Built:        Thu Aug 11 16:42:17 2022
OS/Arch:      linux/amd64

Fixed this in https://github.com/vv9k/containers-api/commit/e407b14c671253eb53a49c2370a685d0c1df6a94 and added tests to prevent future regressions https://github.com/vv9k/containers-api/commit/ca80b56aa8de7a9066e97d718bb90ec5433db733 .
I was wondering how to handle the label!=key=value filters and it turns out the key in the map has to be label! for this to work, so my concept made no sense. More info about this filters here: https://github.com/containers/podman/issues/13270

Thanks. This fixes it for me.


improve gamma approximation

Description
In #935 I added a WCAG compliant contrast implementation. In order to calculate gamma corrected values I used an approximation of pow($c, 2.4). Unfortunately, I later realized that this approximation is not as good as I had thought.
The approxomation is actually optimal if you only look at _gamma(). But the resulting values are later used to calculate a contrast, which amplifies certain errors made in this step. So I changed two things about the approximation:

use pow() if available (e.g. from sass-planifolia or MathSass)
use an approximation that is optimized to produce good contrast values

Additional Information
See also https://github.com/oddbird/accoutrement-color/pull/6 for a similar change.

Thanks @xi! Merged as https://github.com/thoughtbot/bourbon/commit/5ac2d26329974ea928e72d8f816a6e53423f9807.


Feature Request: Disable Alarm

Is it possible to disable the alarm piece of the plugin? so that it isn't displayed in Homekit?
it would be nice if there was an option in the config, so you can choose to display It or not.

#37 fixes this.

This is integrated in v3.7. Can you clarify why you don't want the security system part of the homebridge setup? Is it just the alarming you don't want (and instead rely only on the motion detection?)


user profile configuration

Hi Yvand.
Thank you for amazing framework we have fast and stable SSO now thanks to you.
our user profiles are missing attributes values. such as (display name, mobile number ...etc)
I tried to configure them via powershell and central admin > azurecp user mapping GUI nothing changed I tried all three mapping options there without and reflection on user profiles. I guessed there might be work done on azure ad which I dont have access on or it might be an issue with azurecp.
if its configuration issue could you please share the documentation guide how to configure user profile attributes?
Many thanks,
Ayman

@rootofdigits thank you for your feedback!
Are you talking about profiles properties in the User Profile Application, or in the site collections?
FYI, AzureCP can only set profiles properties in the site collections, where user is added for the 1st time in the site collection

Hi Yvand,
Thank you for your response!
Site collection users profiles missing some attributes Such as mail, job, phone etc and the display name is mail.
I am not the AzureAD admin and I don’t have access to configure trust claims and user mappings over-there but I need to know if there is a guide to help us configure the site collection to populate full profiles attributes? I believe from research that we need to add the user mapping from AzureAD portal by configuring SP Trusted Identity Token Issuer
In SharePoint central admin AzureCP mapping for user attributes become red crossed which mean they are not provided from AzureAD if I understood correctly.
From this link I need to configure the user attributes mapping with AzureAD:
Https://SiteCollectionURL/_layouts/15/userdisp.aspx
I appreciate your support and amazing SSO solution.

Hi Yvand,
I figured out that the AzureCP configurations are working well the research we need to do is pure AzureAD configurations in Claim user attributes.
we have conflict between choosing the identifier and display name they both have the same attribute as (required & optional claim type) when we changed display name to name users permissions lost :/
attached mapping on AzureAD

Ok, so AzureCP can set profiles properties in the site collections, but only for users that are added for the 1st time in the site collection.
So I suggest you you make your tests each time in a new temp site collection.
This feature does not rely on the configuration of the trust between Azure AD and SharePoint, it's a pure AzureCP configuration that you can see in central admin > security > AzureCP claims mapping page: the profile properties correspond to the column "PickerEntity metadata"

Dear Yvand,
so after testing I find out that this is the issue as you said: "FYI, AzureCP can only set profiles properties in the site collections, where user is added for the 1st time in the site collection"
how I can add them for the first time if they already were added before we deployed AzureCP. I mean I need to perform this on existing old site collection and I am open to delete all users and add them again (if its possible please help me to reference or help me find a solution)
Many thanks,
Ayman

my problem is:-
users with windows authentication:
display name (first and last)
work email is correct.
for azureAD authentication
display name (user email)
work email is null


Make custom xdebug HTTP header name available to other plugins.

The custom header name is passed to the xdebug plugin as plugin parameter.  This change makes it available
as a global TS API user parameter.

A VzM internal plugin needs this change.  The plugin blocks requests with an xdebug header from untrusted hosts.

Cherry picked to the 9.0.x branch for the 9.0.0 release


Doesn't work in nuxt 3.2.0

This module doesn't generate manifest.json/manifest.webmanifest in production mode with nuxt 3.2.0 (Current latest version)

@RifatMahmudno-1 yeah, some change in last Nuxt version breaks this module, web manifest being generated in server build folder

Same problem here.
workbox-30e9d199.js:1 Uncaught (in promise) non-precached-url: non-precached-url :: [{"url":"/"}]
    at E.createHandlerBoundToURL (http://localhost:3000/workbox-30e9d199.js:1:13533)
    at Object.createHandlerBoundToURL (http://localhost:3000/workbox-30e9d199.js:1:15228)
    at http://localhost:3000/sw.js:1:12619
    at http://localhost:3000/sw.js:1:565
manifest.webmanifest:1          GET http://localhost:3000/manifest.webmanifest 404 (Page not found: /manifest.webmanifest)

Same issue


DeploymentNotFound with daily

In one of our template-test runs, we saw one instance of azd provision failing with DeploymentNotFound. This is confusing and unexpected for the end user. This may be related to #2077 and Azure eventual consistency states being client-observable. Is there a defense in depth here we can apply?
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2756414&view=logs&j=014a604e-7c2f-5bb9-1866-e62d18d7fb76&t=6eb62864-2b51-5c47-1419-a8f03058a28f&l=4528

I logged this because conceptually I thought it was odd. We usually do run into *NotFound errors in other parts of the system, but running into this in provision is interesting.
Based on the error message "deploying to subscription", it seems like it's happening while polling for the deployment that was just submitted in deployments.go.  I'm also surprised that we just polled for a deployment we submitted, and the server said no.

Hasn't seen this recurring lately. Closing.


Modified code to adhere to PEP-8 guidelines

I think this should satisfy all the PEP-8 guidelines.

Please consult https://github.com/Melissa-AI/Melissa-Core/pull/62.

I didn't get you, could you rephrase that?

Somebody is already working on that. All the PEP-8 guidelines have not been followed in your PR though. Please use the software that I have used for finding the errors in the other PR.

Duplicate of https://github.com/Melissa-AI/Melissa-Core/pull/62.

Give it a go @yrahul3910. Try not to make the same mistakes as https://github.com/Melissa-AI/Melissa-Core/pull/62.


Invite Team to IBM Cloud

As a team member
I need access to the maintainer's IBM Cloud account
So that I can work on the resources created in the maintainer's IBM Cloud account
Details and Assumptions

The maintainer has created the IBM account

Acceptance Criteria
Given the IAM is set correctly
When a team member needs to access the resources on the maintainer's IBM account
Then he/she can access them

Follow this instruction to invite team to IBM Cloud


ERROR: failed packaging service 'backend': failed invoking event handlers for 'prepackage', 'prepackage' hook failed with exit code: '137', Path: '/tmp/azd-prepackage-3839507466.sh'. : exit code: 137

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ x ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run azd up for existing resources. it runs for some time and then errors out.

Expected/desired behavior

should work quickly

OS and Version?

Linux Ubuntu 20.04 LTS

Mention any other details that might be useful

Thanks! We'll be in touch soon.

able to resolve by increasing the size of my VM


Reduce coupling

Currently, most objects store references the each other:
PreferencesFX stores everything
The view keeps references to storage and other stuff
Etc.
This is not good design and makes it harder to customise and improve the individual components.

Hi @Xerus2000,
We tried to have the least amount of coupling possible, while still preserving ease of use of the API. For example, we used dependency injection wherever we could.
Could you please elaborate on which parts of the code you find to have too much coupling and what parts you would like to customize and improve, and are unable to do so?
Thanks!

Well, as I said, PreferencesFX stores a reference to the View and the Store, and the View then also stores a reference to the Store. I observed this pattern on multiple occasions and it makes everything intertwined.

The only view that has a reference to the StorageHandler is PreferencesFxDialog, and it gets the StorageHandler by calling model.getStorageHandler(). This allows for dependency injection of the StorageHandler, especially since the PreferencesFxDialog gets the PreferencesFxModel passed in with the constructor parameters. To me, this is not bad design.
What would you propose here to reduce the coupling even further? I mean sure, we could delegate the calls to StorageHandler we currently do in PreferencesFxDialog to PreferencesFxModel, but I don't see how that would reduce coupling, since then it would just be PreferencesFxModel indirectly calling the StorageHandler methods, which wouldn't make any difference.
Thanks!

Since there was no response, I will close this issue. Feel free to open it up again or create another issue should you still run into issues.


NOTICK: Fixes to RPC Worker with new config distribution

It is not currently used, however during cluster start-up sometimes it causes this sort of error:
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] Exception in thread "lifecycle-coordinator-20" net.corda.lifecycle.registry.LifecycleRegistryException: Attempt was made to update the status of coordinator permissions.user.summary-COMPACTED-PERMISSION_SERVICE-COMPACTED-PERMISSION_SERVICE-permissions.user.summary-4 to DOWN (Status has changed to DOWN) that has not been registered with the registry.
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at net.corda.lifecycle.impl.registry.LifecycleRegistryImpl.updateStatus(LifecycleRegistryImpl.kt:38)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at net.corda.lifecycle.impl.LifecycleProcessor.updateStatus(LifecycleProcessor.kt:213)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at net.corda.lifecycle.impl.LifecycleProcessor.processEvent(LifecycleProcessor.kt:112)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at net.corda.lifecycle.impl.LifecycleProcessor.processEvents(LifecycleProcessor.kt:55)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at net.corda.lifecycle.impl.LifecycleCoordinatorImpl.processEvents(LifecycleCoordinatorImpl.kt:91)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 	at java.base/java.lang.Thread.run(Thread.java:829)
[pod/corda-rpc-worker-5946654d67-zwkxs/corda-rpc-worker] 12:12:54.043 [lifecycle-coordinator-17] ERROR net.corda.lifecycle.impl.LifecycleCoordinatorImpl - An attempt was made to use coordinator permissions.user.summary-COMPACTED-PERMISSION_SERVICE-COMPACTED-PERMISSION_SERVICE-permissions.user.summary-4 after it has been closed. Event: CancelRegistration(registration=Registration(registeringCoordinator=net.corda.permissions.validation.cache.PermissionValidationCacheService,coordinators=permissions.user.summary-COMPACTED-PERMISSION_SERVICE-COMPACTED-PERMISSION_SERVICE-permissions.user.summary-4))

Also there are failures like:
15:27:00.204 [qtp384255398-153] WARN  io.javalin.Javalin - Uncaught exception
net.corda.libs.permissions.cache.exception.PermissionCacheException: Permission management cache is not running.
     at net.corda.libs.permissions.management.cache.impl.PermissionManagementCacheImpl.validateCacheIsRunning(PermissionManagemen
     at net.corda.libs.permissions.management.cache.impl.PermissionManagementCacheImpl.getUser(PermissionManagementCacheImpl.kt:5
     at net.corda.libs.permissions.manager.impl.RbacBasicAuthenticationService.authenticateUser(RbacBasicAuthenticationService.kt

Superseded by #1463


Create docker images with jupyter notebook along with sample notebook

MXNet Docker image should have jupyter notebook installed as well as some sample mxnet notebook. This could be an additional docker image than existing one but this will be very useful for users to quickly launch the jupyter notebook.

@KellenSunderland  @mbaijal @sandeep-krishnamurthy  @bhavinthaker  any comment?

Thanks for submitting the issue @gautamkmr
@mxnet-label-bot [Feature request, Docker]

Idea by the infrastructure folks ... does it matter ?   Isnt it making the user experience better WDYT?


Change commit name and fix order of @Pollable, to fix the waiting logic in GitBlameCommand

lgtm. thanks for fixing the bug! :)


Print out support message on bad commands

Closing this draft, it will be sorted out in more specific PRs.


Send data from pic 16f877A to PC

please help i want to send data from a microcontroller  16f877A which pin up these data  in 7 segements display and  send it to PC  via an rs 232 port help please

Please how can i modify in the mikroc code to do this task this is the code
void main() {
TRISB=0X00;
PORTB=0;
TRISD=0XFF;
PORTD=0;
while(1)
{
portb = portc;
}
}


Azure Deployment Manager is being decommissioned. Deleting the Rest API Specs related to ADM.

Azure Deployment Manager is being decommissioned. Deleting the Rest API Specs related to ADM.
Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

Trying to reactivate this PR.


#35 support relay modern template literals

Fixes #35

Thank you @ajhyndman.

@kumarharsh Any chance of a release soon-ish as well?  😄
I have some colleagues I'm trying to sell on your extension!

Will be doing it tomorrow for sure ☺

Commit merged manually - ebfbce3f176

Also, please note that for the plugin to work, you'll need to modify your .gqlconfig file to replace Relay.QL in the parser to be graphql.
{
  ...
  query: {
     files: [
       {
         match: 'ui/src/**/*.js',
         parser: ['EmbeddedQueryParser', { startTag: 'graphql`', endTag: '`' }],
  ...


BUG: ModuleOwner can add themselves

Description:
No check if there is already the module owner that already exists in the list of ModuleOwners
Steps to reproduce:

bash scripts/start.sh
chainlinkd tx chainlink addModuleOwner "$(chainlinkd keys show alice -a)" "$(chainlinkd keys show alice -p)" --from alice --keyring-backend test --chain-id testchain

module store takes account address as the key, so even if the existing module owners try to add themselves, there wont be duplication in the store I think, which means the tx modifies nothing in store but just pay the fee to the chain validators


merge 1.9.x bugfixes

Proposed changes:

...

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

https://github.com/RasaHQ/rasa/pull/5660


Support ON UPDATE Function

Resolve #684

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 85.953%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
10904

Relevant Lines:
12686

💛  - Coveralls

Marking as a draft until we get a resolution

Given there there are several proposals for this same feature:
https://github.com/sqlparser-rs/sqlparser-rs/pull/586 from @Sibz (apparently MySQL also supports now() in addition to current_timestamp
https://github.com/sqlparser-rs/sqlparser-rs/pull/602 from @RainJoe

Would be TOO permissive, making anyone in the upstream that would use it really confused.

While this PR is more general than MySQL would allow I think the distinction of what functions to support in this area should be left to downstream implementations as described in https://github.com/sqlparser-rs/sqlparser-rs#extensible-sql-lexer-and-parser-for-rust

This crate avoids semantic analysis because it varies drastically between dialects and implementations. If you want to do semantic analysis, feel free to use this project as a base

Thus I plan to merge this PR in


rdt: change the name of the root group/class to DEFAULT

Change slightly obscure SYSTEM_DEFAULT to just DEFAULT.
Also, add an alias so that an empty string can also be used instead of
"DEFAULT" to refer to the root class. This should make the API more
consistent.

+1 for the alias.
An empty string as an RDT class name in the configuration looks cryptic. And so would do any special character ("/" or "*", for instance). In my opinion root is pretty good, and so would be default. RDT documentation says:

Resource groups are represented as directories in the resctrl file
system.  The default group is the root directory which, immediately
after mounting, owns all the tasks and cpus in the system and can make
full use of all resources.

Therefore, I'd be tempted to favor default for two reasons:

It is a group name and does not refer to directory structure.

The same name would work in the blockio class configuration, too, if we'd like to allow user to define default blockio settings for containers without any other class.

Therefore, I'd be tempted to favor default for two reasons:

It is a group name and does not refer to directory structure.
The same name would work in the blockio class configuration, too, if we'd like to allow user to define default blockio settings for containers without any other class.

Mm, I'm inclined to agree.
I'd probably use capitalized version (DEFAULT) to try to avoid naming clashes. Some users might have default class (other than the resctrl root). This naming convention would make the uniqueness of the resctrl root a bit more obvious. WDYT?

Some users might have default class (other than the resctrl root).

Good point. I agree. DEFAULT is good. I'll add that to the blockio, too.

Some users might have default class (other than the resctrl root).

Good point. I agree. DEFAULT is good. I'll add that to the blockio, too.

👍  Changed the patch accordingly. Implementing the alias proved to be surprisingly simple – neater than I thought (why I added that as TODO item in the first iteration). I changed it so that DEFAULT is the "real name" and an empty string is handled as an alias. This way e.g. log printouts are more readable as we see DEFAULT instead of an empty string.


e2e tests for a disconnected replica in a 2-replica volume

Currently tests are specific to a vagrant deployment  set up according to the READMEs. It is assumed that a cluster is running with mayastor installed with some label changes applied to k8s-1, and using the default IP addresses used by the vagrant deployment.
Isolation of the replica is achieved by modifying the iptables of the affected node.
The test takes care not to isolate a node running the nexus, moac or the kubernetes master node.
A successful fio run is used to indicate a functional volume.

closed for refactoring


Does 'cargo fmt' cmd support format Cargo.toml file?

Thanks for reaching out!
We don't currently have support for this, but a proof of concept was started in #5240. You can subscribe to the PR for any updates on bringing the feature to rustfmt.


Dropdown position

LUKASZ HOLECZEK, thank you so much for this template, it has helped me so much in my recent journey into React.
Theres a small bug that I think i have found as per the screenshot attached. The dropdown for the item on the right is going off the page.
If the dropdown that you are opening is on the right edge, it should open to the left?!
Let me know what you think, otherwise I really love this theme! thank you!

fixed


Investigate and fix non-multiple-of-4 BMP image widths

As per https://github.com/jamwaffles/embedded-graphics/pull/127#discussion_r299813724, this needs investigating and fixing if possible.
Thanks to @evq for reporting this!

I did some initial tests on supporting more of the new color types and some additional BMP/TGA variants. The new code should also fix this bug.

Sweet, thanks for that! Will you have something to PR at some point? I'm eager to make the image story in e-g more full-featured.

Yes, I will open a PR. I'm not sure when I get time to work on it, but maybe sometime next week.


Clients doesn't  receive notifications until the app is open

Hi everyone I'm having problems with notifications
they arrive only if the app is open
this behavior is the same on iPhone and Android clients.
Someone has been through a similar situation?
Thanks

Hi, have you been maybe testing RiotX lately? I'm not sure if it is related but I was testing it on the same device I have Riot, uninstalled it again and experienced the same notification problem you're describing.
2 days ago I noticed Notification Targets in the settings and RiotX was still showing up there although I removed the device/session. After deleting it and my contacts manually opening Riot once they seem to be now getting notifications again.
Just try it out, won't hurt I guess :)

Perhaps I am misunderstanding the intended behaviour, but I think I'm experience the same problem. I'm running my own private matrix server and connect to it with the android app. When I send something to another user (same app), the message is not notified until the other user manually opens the application. This also goes voor voip / conference calling. Is there a way to force 'always online', maybe?

Hi,
Depending on the mobile manufacturer, there are some steps that need to be fulfilled in order the notifications to work normally. For example I use Xiaomi Mi6 (with MIUI) and I used to check Settings --> Apps --> Manage Apps --> Riot.im and check "Autostart". Also in the same window "Battery Saver" needs to be "No restrictions".
For Huawei you need to add the app in the allowed apps that run in the background. See this link
For Samsung, Sony, Nokia ... I am sure that there are similar settings. Check it out.
And if you wonder why the mass chat apps like Viber, Messanger and so on works without problems, that is because they are more "aggressive" and they set these settings during the installation automatically.

Good hint, I'll try to get that behaviour on my OnePlus (apparently to do with disabling battery optimisation for a specific app).

Can confirm this issue. Riotx has no problem. Only the classic riot.

Running Android 10, with 0.9.12 Riot.im app. Not receiving notifications when friend sends me a message. Doesn't matter if I have screen on or off. Happens daily, multiple times per day.

I don't get notifications, either. The app is useless at the moment.

I'm not getting notifications either.
Element: Version 1.0.0 [40100002], 0.0.1 Matrix SDK, 3.1.2 OLM Version.
Synapse: 1.17.0


MSID: 97793 Version: 1 DOI: 10.1101/2<IP_ADDRESS>3509

MSID: 97793
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>3509
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=97793
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3509

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/97793v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>3509
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/97793/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [author-contrb-no-aff-xref] Author Michael Rose has no affiliation.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c28) has a publication-type='other'. Is that correct?


[5.8] BelongsTo relationships are not displayed on the diagram

BelongsTo relationships are not displayed on the diagram.

By dumping the catched Throwable in RelationFinder::getRelationshipFromMethodAndModel(), I got the following message:
Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKey()

Offending line:
https://github.com/beyondcode/laravel-er-diagram-generator/blob/43c3a3dff8030923a66b42395294e5c7ce502797/src/RelationFinder.php#L83

It's probably been the case since https://github.com/laravel/framework/commit/2ee18923eaff142a89439f0adf0d3f15c30db85b changed the BelongsTo API:

Laravel 5.7: getForeignKey

Laravel 5.8: getForeignKeyName

Thanks Yahav, the change in the code, solve the issue.


[WIP] Switch to Github Actions

We're working on adding stages for dependent packages now.

This PR was replaced with PR from "local" branch
https://github.com/litex-hub/litex-conda-prog/pull/13

This PR was replaced with PR from "local" branch
https://github.com/litex-hub/litex-conda-prog/pull/13


[bug] Yellow tint on burger menu item click

Change this to light grey if possible

Resolved in release <IP_ADDRESS>


Remove Extra Comments and Unused Imports

Remove extra comments and unused imports.

git fetch origin
git checkout 5-remove-extra-comments-and-unused-imports


Conditional eval generates bad code

Conditional eval generates bad code.  For example (from CGI.pm):
eval "require Encode; 1;" unless Encode->can('decode');

generates an empty try block.

Fixed in v1.015.


Develop SplitImage

The SplitImage proof-of-concept application was first introduced last May but development since then has largely focused on testing infrastructure rather than application development. This project is intended to push the SplitImage application into the wild.

Firstly congratulations for getting getting selected as a mentoring organisation fro GSoC 2015.
I am Anmol Jagetia, a third year undergraduate student at IIIT Allahabad. I have been programming in HTML, CSS, JS, Java, C, C++ for the past 3 years. I also have some experience with Data URI's and security from client side applications I developed at my internship last year (They were embedded into mobile devices, used Data URI to exchange data, and finally used encryption to communicate with a server to retrieve Points from the server inside a game on iOS, Android and Windows Phone).
I am currently working on the levels and reading the relevant documentation.
Can you please guide me further, as to what are the prerequisites for the project, and any other "tasks" that I might complete to improve my chances of selection.

Welcome Anmol! I added a few tasks above.

@smcgregor Hello! Following along the lines of your proof-of-concept, I was able to make audio files exchange using privly as well. Video format should can work with minor modifications to the code. The code for audio format is available here: https://github.com/vatsalj/privly-applications/tree/gsoc-AudioMessage. Here is the screenshot for the same (the UI is not polished at the moment):
Creating new content:

Viewing content:

Multiple files:

I've used HTML5 audio and video elements with dataURI source. JSFiddle: http://jsfiddle.net/vatsalj/28p4b2pc/
I'd like to ask a few things regarding this idea:

Should all the rich media formats be a single application, say RichMedia, which will contain video, audio and images?
Data URI for audio and video are not widely supported. Moreover, the support is different for different formats (ogg/mp4 being the properly supported ones). So, I'd like to know how much is cross-browser compatibility an issue?
The application performs well for file sizes <2MB. Are files more than 2MB also need to be supported by the application?
This is in regard to issue #191. The units tests for this "RichMedia" application will be almost same as the PlainPost and Messages?

Thanks!

1: I think it would be most appropriate to have the application accept a set of different media types and then have the app provide the relevant UI for the selected files.
2: I think we need to experiment with the HTML5 file APIs here.
3: Yes, larger files will need to be supported. Much of this bottleneck is on the server-side.
4: The current set of unit tests are in transition to be more like traditional unit tests. Most of our unit tests pre-date the integration testing system so the unit tests were testing things that are both unit tests and sometime more appropriately expressed as integration tests. So stylistically there should be a shift to better isolating the unit being tested -- for all new unit tests.

Also, very cool extending the proof of concept for audio! Which platforms are audio data URIs supported/not supported on?

@smcgregor : Thank you! Someone experimented with the data URI's. Here is the link to the answer: http://stackoverflow.com/a/3802646. It seems like iPad and iPhones do not have support for audio data URI at all, other browsers have varying support.

@smcgregor I tried the audio option with files upto ~4 MB, the encoding was quick and encryption made chrome hang for a few moments. However, chrome became quite slow when I inspected the request. Same goes for decryption. When not inspecting via dev tools, it's a bit laggy, but not as slow.
For large files, I think a good alternative would be to split the audio using JavaScript or Flash. That way, both encryption and decryption will be done on smaller chunks of data rather than the whole humongous data. Depending upon the implementation, audio can be streamed on-the-go or the small chunks can be stitched together to create the whole media. What are your thoughts about this?

Great job with the proof of concept @vatsalj. I have previously worked on client side chunking and stiching, something like http://html5-demos.appspot.com/static/media-source.html.
Facebook also has an open source version of a JavaScript library which they used to reduce the images into smaller less resolution version of them, so that they can load faster in a browser (I was thinking a similiar version can be used to increase performance, but then we will face quality vs size issue).
I presently can't find their library (I think they have taken it down, so I'll look into making my own version of it).

Devtools run slow when you run them on DOM that has really long strings, like an image encoded in Base64.
-1 for Flash (because Flash)
+1 for JS splitting of audio.

I mostly finished porting the old proof of concept to the newer MVC architecture. In the process of updating the branch I didn't fix a few problems since they a good introductory tasks. In order of increasing complexity, these tasks are:

Lint the application
Update the new.html template so it has a button for uploading images, in addition to the drop area.
Update the show.html template so it has a button for uploading images, in addition to the drop area. Note: updating images is currently broken, see below.
Update the run_each.sh script to test the new scripts.
Add test cases to cover the new code.
Hook your repository into coveralls.io to examine your coverage.
Finish porting the show.js controller to the new MVC architecture.
Update the icon for SplitImage in the navigation dropdown so that it is an image, instead of the pencil.
Update the privly-web content server to support larger images. Note: while this is important to the app, this task will not teach you as much about the Privly architecture because the changes are on a content server's database. Most Privly development concentrates on the client.
Update the seamless posting button so it will also support posting images.

NOTE: The html is not built for the branch, so to do any development work you will first need the build system to be working.

@irdan and I were planning our work on SplitImage today. I pushed a few small changes to my fork and will continue development in about two weeks. We broke the development into the following issue areas:
UX
1.0. (done) It uses the drag and drop API for selecting files, but it should also display the traditional form-based file selection dialog.
1.1. Set the upper limit on the responsive image size so it doesn't make small images massive
1.2 Add the white background from the show.html to the new.html preview of the image
1.3 Fix the list of metadata for the image. Make the metadata a drop down instead of always shown?
1.4 Add drag/drop updating of images on the show page
2. Integrate image sharing with seamless posting
3. Integrate the Message and SplitImage apps with navigation inside the apps. Since they use the same crypto, users do not need to be aware of the differences between the apps so we can hide the fact that they are different apps with navigation.
?. Image preview after selection should be scaled to preserve ux [selection? what selection?]
Functionality

Update the content server to allow for larger images. It is currently very limited

Promotion

Record demo videos and tell people how to access it via the "secret menu" [0]

Generally Related to Development

Update the "show" action to appropriately use the new MVC. It is currently 3/4 of the way completed.
Remove rendered HTML from the repo. This will make it easier to manage the files across apps.
move apps into a subfolder so the root directory doesn't become too crowded over time

Security

Develop a threat model and add it to this repo. (we generally need a more formal threat model for ZeroBin, SplitImage is the same)

Testing

(done) Test the application on more platforms from the hosted context. These web standards are newer and likely have numerous inconsistencies that we should keep in mind as we continue development. Sean Notes: Minimal inconsistencies were found. This should work everywhere with minimal changes after completing the implementation.
(done) Test image injection for the updated proof of concept (gsoc-splitimage branch)
Complete unit test coverage
Complete selenium coverage, including checking the ASII representation of injected images.

Remaining Priorities:
UX (1)
Generally Related to Development (1) and (2)
Security (1)
Functionality (1)
Testing (3) and (4)
UX (2) and {3}
Generally Related to Development (3)
Promotion (1)
[0] The "secret menu" is typing directly into the address bar.


Tighter code intergration with golang

The idea of having a Prolog-like reference engine in go is brilliant, however I feel that the balance is tilted too much towards the Prolog end. Since the package mainly serves programs in Go, it would actually make more sense to design the interface and APIs more in the way of Go rather than that of Prolog.
Currently I'm building up callables in ways like this:
func NewRule(fact t.Term, conditions ...t.Term) t.Callable {
	// build the comma separated callable list
	cond := conditions[0]
	if len(conditions) > 1 {
		for _, c := range conditions[1:] {
			cond = t.NewCallable(",", cond, c)
		}
	}
	return t.NewCallable(":-", fact, cond)
}

As you can see this is really awkward. I understand the package is intended to be used by feeding in straight strings written in Prolog, but there is no reason why the underlying API couldn't be restructured to fit a more programmatic approach - that will not only allow the Go language to be used more to its advantage, but also saves the cost of parsing. This would be especially meaningful if one is to build a reference engine of relatively big size.
Some problems will lend themselves to easier solutions if this consideration is taken into account. For example, on the issues of atom representation #14, one can simply allow the user to define custom inherit types of Atom that doesn't contain anything if the user wants to save space. One can even imagine the whole system being opened up for more complicated unification processes - the user can define more custom variables and terms and tailor the unification process however they want.
The implementation of relating different functors to their respective functions inside Go feels a bit awkward to me as well. Currently one has to call registerForeign, and throws away a first class function instead to use a token identity for its representation. If we de-couple parsing from reference-working completely, we can just use the function value inside the engine - the user will then use the same function inside Assertz. This is more reader-friendly, and again, more efficient.
All in all, what I'm suggesting is to separate the syntax and logic of Prolog - the logic (mainly unification) should open itself up to suit more programming needs of Go programmers, while the syntax can be any form one would like - be it Go, or Prolog.

the balance is tilted too much towards the Prolog end

Golog is intended as a Prolog implementation written in Go.  Using it as a logic engine for Go is a nice side effect, but not the main focus.
Having said that, I'll certainly consider pull requests that give us something concrete to discuss.  Your ideas may be a nice fit for Golog.
You might also be interested in a miniKanren implementation for Go. The end result is quite close to what you describe.

Thanks for your clarification. Your recommended project is really interesting as well - I think that might be what I'll be using for the moment then


Allow for JUnitPlatformTestClassProcessor filtering to support custom test sources

Since JUnit 5 allows for custom TestSources to be configured, JUnitPlatformTestClassProcessor could provide a way for those sources to be recognized and filterable. This way, custom test sources will enjoy the same filtering capabilities that method sources do.
For now, this change specifically targets ArchUnit's FieldSource, and would like to use the solution provided to solve the following issue.
Expected Behavior
It is possible to define a way in which class name and test name can be extracted for filtering custom test sources in JUnitPlatformTestClassProcessor
Current Behavior
JUnitPlatformTestClassProcessor is currently hardcoded to only recognize MethodSources
Context
Please have a look on the attached draft pull request. I have verified that the PR solves the issue for ArchUnit using Java SPI, but I feel it's not a very Gradle-friendly solution (note the need for mingling the classloader of test-junit-platform and test classes needed to load both out-of-the-box and custom TestSelectorFactory implementations).
I have no experience extending Gradle and thus, I'm not sure what a proper extension should look like. I'd be really grateful  if you could point me in the right direction. I'd prefer to keep the solution drop-in or requiring the application of a Gradle plugin at worst, if at all possible.
(I could see for example that JUnitPlatformTestClassProcessorFactory locates some of the dependencies using a ServiceRegistry, so I thought maybe I could somehow leverage that? Though I'm not sure how to put stuff in the registry from inside a custom Gradle plugin. Is this even the right direction?)
If you need more context, please have a look at a Surefire issue which aims to solve the same issue for Maven.

We will investigate, but please be aware that it might take a significant amount of time, due to other priorities.

This is a missing feature.
Gradle's currently limited with how it discovers tests in JUnitPlatform. We should try to support all JUnitPlatform supported test sources.


Mac Pro 5,1 - Heavily Upgraded Crashes - Kernel CPU 11 Caller (Panic Report)

Hi all,
Was hoping you could help me - I recently purchased this Mac Pro 5,1 and it has crashed twice in 4 days for no apparent reason. Please find attached System Specs and Problem report that I got.
Please note, I also have a 1 TB SSD installed.
Thanks,

which version of vscode are you running ?
Can you try the insiders version https://code.visualstudio.com/insiders/

which version of vscode are you running ?
Can you try the insiders version https://code.visualstudio.com/insiders/

Hey - what is this? I've not downloaded any type of vscode

Oh i was under the impression the issue was caused by vscode. There is nothing we can do here if its not vscode. Thanks!

Oh sorry! Is this thread/page just relating to vs code?

On 25 Jun 2020, at 19:52, Robo<EMAIL_ADDRESS>wrote:
Oh i was under the impression the issue was caused by vscode. There is nothing we can do here if its not vscode. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/100888#issuecomment-649757288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBZ3R7V6IJCW3U2UVAABKLRYOMHRANCNFSM4OGC4OFQ.

Yup this issue tracker is for the https://code.visualstudio.com/ project.

Thanks - do you know where best I can get my query resolved?

On 25 Jun 2020, at 19:56, Robo<EMAIL_ADDRESS>wrote:
Yup this issue tracker is for the https://code.visualstudio.com/ https://code.visualstudio.com/ project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/100888#issuecomment-649758999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBZ3R5AF5C5GEFQBA2S57DRYOMWHANCNFSM4OGC4OFQ.


Incorrect detection of javascript as auto-generated

This diff is suppressed, but it shouldn't: https://github.com/HandyUserscripts/AntiAdware/commit/d835ac35824fd467a38d74806997e33bf485a1e5
I contacted Github, and they explained to me that this was due to this file in Linguist, and that I had to open an issue on the repository: https://github.com/github/linguist/blob/905d87a112cddf67026e41f437442bafc45b02b4/lib/linguist/generated.rb

Linguist thinks the file is minified (thus, generated) because of this line. I'm afraid we don't currently have a way to override this :/

I have a similar question, this diff is supressed also for a one line change:

Link: https://github.com/algolia/instantsearch.js/pull/1475/files#diff-973b6bf37d8da83d3bf4d3d30e91b748L12

@pchaigno This is not yet fixed. Example: https://github.com/HandyUserscripts/AntiAdware/commit/dcfbf868cfeb0fab28dc7c73a04b3c0df081a62f.


How to connect to database using cucumber?

Hi,
Can someone tell me how to connect  to a database using cucumber with some examples?
Regards,
Anurag

This is a bug tracker, not a mailing list. You'll find the mailing list at http://cukes.info.


Revert: Add test to check if Barbican secret payload is kept

This is a partial revert, removing the additional test
that was added, which fails in a multinode environment.

/lgtm


Connect sequelize using express and node

WHEN I add my database name, MySQL username, and MySQL password to an environment variable file
THEN I am able to connect to a database using Sequelize

Complete.


Feature/243 unrecognised drop down list values

Closes #243

Coverage decreased (-0.06%) to 88.952% when pulling 130b935f44449d46ffd42d0f2d4c9322e73b02cb on feature/243-unrecognised-drop-down-list-values into bc42465512c87efdf67db512b9f233d983eaab17 on master.


Solr PHP Extension

Installation of Solr PHP extension is not supported. Since Solr extension is not available in Ubuntu repositories defaulting to PECL installation.

LOL! You confused me completely: I span VM earlier today to test installing extension. However, it turned out that although extension did install it was not loading. :(
Unable to load dynamic library '/usr/lib/php5/20121212/solr.so' - /usr/lib/php5/20121212/solr.so: undefined symbol: php_json_decode_ex
That's when paranoia kicked in. ;) Luckily, I figured out quickly that it's not about Puppet code but about loading order: Solr extension has to be loaded with lower priority than Json extension.
On a side note it will be nice to implement enabling extensions installed with Pecl provider. See  #142

@schkovich i think this plan is partially covered in https://github.com/jippi/puppet-php/issues/139


src,test: fix funny comment style

For your consideration.
Back in the day I wrote comments in a really unusual way. Nowadays it makes my eyes bleed, and it's annoying because clang-format doesn't know what to do with them.

LGTM. I even thought that was an advanced way of commenting with some benefits to reader or compiler!