urcheon: rewrite layout and documentation

The existing layout was from before urcheon was named urcheon and may have been either too complicated or using meaningless names.
Basically, some design choices were still inherited from the time I prototyped things with shell scripts or early python quick&dirty scripts 8 years ago.
Both .setinfo and .pakinfo are now named .urcheon. It makes obvious in source repositories those folders contain configuration for Urcheon.
Package configuration
For package configuration the recommended way to set the game name is .urcheon/game.txt which is a flat file only containing the single keyword for the game name, as it is far easier to do that:
echo unvanquished > .urcheon/game.txt

Than that:
cat > .pakinfo/pak.conf <<\EOF
[config]
game = "unvanquished"
EOF

Same for the (strongly discouraged!!!) version variables and the (now useless!!!) name variables. So instead of doing this:
cat > .pakinfo/pak.conf <<\EOF
[config]
name = "res-custom"
version = "1.2"
game = "unvanquished"

One would do:
echo 'res-custom' > .urcheon/name.txt
echo '1.2' > .urcheon/version.txt
echo 'unvanquished' > .urcheon/game.txt

But only game is required!!!
Collection configuration
The file telling Urcheon a repository is a collection of package and not a package source (like UnvanquishedAssets and InterstellarOasis is now named .urcheon/collection.txt instead of .setinfo/set.conf.
The set name was interesting as it was sort and it was good next to pak. It meant “this is a set of package” in a meaning of a collection. But the set name can also be ambiguous as it may just mean setting a configuration and then set.conf or even set.txt may have seen it as meaning this is a “configuration” instead of this is a “collection”. I don't like collection being a long word to type but I prefer having an explicit word.
The collection.txt file is empty, it just has to exist.
This is the collection layout:
.urcheon/collection.txt
src/<name>_<version>.dpkdir

When building a dpkdir, Urcheon checks if the parent folder is named src and has a parent containing .urcheon/collection.txt.
As Urcheon did before, when it detects a package collection, it enables the shared build folder for all the packages in the collection and set the pakpath so packages can be built against each others, and deps computation be done by reading other dpkdir git histories.
The collection.txt content is reserved for future usage, maybe give the ability to use arbitrary name for the src folder (may be useful for Quake 3 mods, this doesn't concern Dæmon based games).
Cached files
The .paktrace folder has now been renamed to .cache/urcheon/paktrace.
The paktrace folder is a folder keeping trace of built files (checksum to not rebuild an unmodified file just because git changed the date, keeping track of multiple sources per target, etc.). This is a folder written in build folder but because the prepare command actually build some files from the source folder to the source folder (generating .iqm models and .shader files), prepared packages get this folder written in the source repository (that should be gitignored). Moving .paktrace to .cache makes more obvious this should not be committed, and using a .cache parent folder just enables us to cache more things in the future without having to gitignore more folders.
Backward compatibility
Urcheon will look for older paths and older file formats before older one, using old configuration of unported packaged and using old paktrace folder of already built files.
The .gitignore file in dpkdir repositories would have to be updated to ignore .cache instead of .paktrace.

On a side note, PAKPATH environment variable now supports relative paths and the partial PakVFS implementation (only used for computing versions of dependencies) now doesn't assume Urcheon is called from the collection root folder, it now also relies on the ../../src/../.urcheon/collection.txt check for enabling the pakpath for the collection the dpkdir is stored in.


[Feature]:  Update deprecated subdependencies<EMAIL_ADDRESS><EMAIL_ADDRESS>in @jest/types

🚀 Feature Proposal
Update deprecated dependencies in @jest/types:
<EMAIL_ADDRESS><EMAIL_ADDRESS>https://www.npmjs.com/package/abab
Author message:
"Use your platform's native atob() and btoa() methods instead"
https://www.npmjs.com/package/domexception
Author message:
Use your platform's native DOMException instead
Motivation
Warn message:
2 deprecated subdependencies found<EMAIL_ADDRESS><EMAIL_ADDRESS>Example
No response
Pitch
n/a

In v29.7.0 these are bring brought in by jest-environment-jsdom through jsdom:
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    ├──<EMAIL_ADDRESS>    ├─┬<EMAIL_ADDRESS>    │ └──<EMAIL_ADDRESS>deduped
    └──<EMAIL_ADDRESS>``

and I'm not seeing any direct references to those packages in the Jest codebase so I'm pretty sure they're being brought in by nested dependencies which means this isn't really something directly addressable by Jest.

Note that most likely reason that packages have not moved off such packages is because of Node version support - both `atob` and `btoa` were introduced in Node v16, and `DOMException` was introduced in Node v17; while v16 is no longer in-life it's still supported by a lot of packages.

Yeah, these come from JSDOM. Jest 29 ships with v20 - Jest 30 will ship with v22, and if you want to use latest (v24 at the time of writing) you'll need to do something like https://github.com/jestjs/jest/issues/14954#issuecomment-1988729969


Issue430 dynamic auth

A dynamic auth example, and updates to messages so the options can be serialized alone (see https://github.com/crossbario/crossbar/issues/430)

Codecov Report

Merging #840 into master will increase coverage by 0.01%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master     #840      +/-   ##
==========================================
+ Coverage    62.9%   62.92%   +0.01%
==========================================
  Files          73       73
  Lines       12459    12471      +12
  Branches     1968     1970       +2
==========================================
+ Hits         7837     7847      +10
  Misses       3969     3969
- Partials      653      655       +2

Impacted Files
Coverage Δ

autobahn/wamp/message.py
63.45% <88.88%> (+0.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Docs outdated

If you run pecl install libsodium (as currently recommended in the install guide in the docs) then you'll get libsodium 2.x which is BC breaking with 1.x. Extension is also now called sodium.so[1] and all the functions are in the global namespace[2] (so e.g. the version verification script in the docs does not work, as it uses \Sodium\... instead of the global namespace).
Not sure if you want to rewrite the docs for 2.x, or include a version constraint in the pecl install (1.x is stated not to receive any more updates[3], so former likely preferable).
References:
[1], [2], [3]: https://github.com/jedisct1/libsodium-php/blob/4e668284deaff4243c7ef36025525f44bbeb8078/README.md

I'm not sure what I want to do here either. The whole politics of PHP internals has kind of made a mess of things.

I don't really have time to maintain the 1.x branch, the 2.x branch, and the php-src versions either.
Indeed, the breaking changes required by PHP internals resulted in quite of a mess.
We can write wrappers between the original and the PHP-internals API (actually someone already did that a while back), but it will be yet another thing to maintain.
As much as I don't like the new API, it's too late, I think we don't have any options, but adopt it.

Will there be any sodium documentation in the close time ? Or should we keep relying on the old v1.x extension releases (by manually building/installing them) for now ?

The documentation has been updated. I'm going to go through it today and make sure it's adequately clean/readable before I tag/sign a release.


Ethan: Watch arenainfosolution.com

Ethan requests the watch of the watch_keyword arenainfosolution\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

arenainfosolution\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


how to get the sum of variables within a category instead of the count of rows?

This project looks amazing as a backend for interactive visualizations, but I can't seem to fingure out how to get a sum of a variable in a loaded table.
Say for example the sum over the Distance and the Delay variables in the Airline on-time performance dataset to get the total distance flown or total delay experienced for each date.
https://dig.cmu.edu/falcon-vis/crossfilter-duckdb/
In crossfilter this was done using the reduce function and passing it reduceAdd, reduceRemove, and reduceInital sub functions.
How is it implemented here? Can you maybe add an example to the readme?

We just count the number of rows within the filter, not operations on those data (like sum or other). Check out https://github.com/uwdata/mosaic and you'll find all those features.


Wrong Outputs of CenterPoint TVM

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
I've seen sometimes the outputs objects are wrong. It happens somehow randomly. I don't see a way to reproduce it every time. I can confirm that it is not because of the CUDA to C++ implementation because I have verified the output of every individual function. The issue seems to be related to the C++ deployment of TVM somehow. Further investigation is needed.
Expected behavior
Bounding boxes should match detected objects.
Actual behavior
They are not matched.
Steps to reproduce
Run Rosbag replay tutorial
Versions
latest master
Possible causes
https://discuss.tvm.apache.org/t/different-output-for-large-yolo-onnx-model-in-python-correct-and-c-incorrect/11537/20
Additional context
No response

Update:
I tried to put tvm and tensorrt utilities into a single package and compare the outputs. For some reason, I was always able to get correct output after merging the utilities. Not sure why.

To run autoware with tvm, replace https://github.com/autowarefoundation/autoware.universe/blob/6992bc5b7083229dc6b02ab4fd961d10a126549d/launch/tier4_perception_launch/launch/object_recognition/detection/lidar_based_detection.launch.xml#L68
into


Update Ui when change state in another page

Describe the missing piece of documentation
Hi
I have a question about the stacked
I have a grocery app and I have a cart I want the user to select some product I update my cart on another page
can you give me some info how to handle it with stacked?

Hi @MansoorJafari9 , how are you? Please, next time this should go in discussions.
Are you talking about a mobile app? I need more context. If you are talking about a mobile app, if you navigate to another view after the product was added to the cart, the view should show the correct info because the view is created after the event.
Using my intuition I think the problem is that you are storing the product added to the cart in the viewmodel of the first page and because of that is not accesible by any other page. If that is the case, you should store the information of the cart in a service so you can share it between views and services. If that is not the case, please expand on your user case.


Revert WL-1801: back out mobile stuff for sign up tool

This doesn't look correct as why are we just changing the size?

Sorry didn't look through any of this - just  reverted the Jiras

Talking to Adam, If we need to back out the mobile stuff in sign up and it's not simply a matter of reverting these Jiras, we need a new Jira


Adding Clickable Navigation: Very Useful When The Slide is Embedded

Moving the slide using keyboard feels weird  when i embed the slide
into a webpage using iFrame. That is the time i realize that adding
clickable navigation would be great.
Anyway, adding fallback slideshow (such as fading / sliding slide)
would be great for mobile / legacy browsers.

Whoah. Can't wait for the public API then :D

Actually it's already there ;)

Ha. I haven't checked it lately LOL Thanks for your information, I'm gonna check it ASAP! :D
On Feb 16, 2012, at 6:16 PM, Bartek Szopka wrote:

Actually it's already there ;)

Reply to this email directly or view it on GitHub:
https://github.com/bartaz/impress.js/pull/89#issuecomment-3998710

Best Regards,
Fikri Rasyid


Batch processing to get the topology features

Hi, thank you so much for sharing this useful library! I am wondering how to use it for handling batch input. For example, when I want to calculate the vr persistence l1 features of a batch with "BxNx3", one simple way is to use your "vr_persistence_l1" function with a for loop, which will cost a lot of time (B times compared with 1 input). Do you have any suggestion for this scenario?

Currently you have to use the loop approach as batch processing is not supported. cheers c.


Does not support ref/out parameters

Implementation of that feature will be quite complicated, because it would require to encapsulate those params into additional class structure that would store it inside during Aspect Processing execution and return it afterwards.
Another way is to rework the encapsulation system to amend original method body adding execution start and end calls into that body, however it would require to do this also on return statements, which is also quite hard because it requires to scan whole method body for those statements.

Possible solution
MethodInfo.Invoke uses object[] as parameter container. object[] is an reference type and while executing method it's data is also changed while method has ref and out parameters. The data is not changed if it's modified inside executed method and param is not marked as out/ref. Thanks to this it allows us to move data array from executing encapsulated method to separate variable that is then provided to encapsulator and set parent variables with out/ref basing on that array.

Moved to #7
Partially fixed in #7, needs testing.


Bug: Facility Name Header Layout

Issue:
For facilities with extra long configurations the text is overlapping and out of place and needs to match mock-up below:
Priority is the middle section of UI where reporting period selection is:
Private Zenhub Image
Private Zenhub Image
Please change to be consistent across all modules as shown below...

Make sure the font size for the Facility Name and Configuration are the same

NOTE: QA Cert Events, Extensions & Exemptions are the same as the QA Test Data

If the length of the Facility Name and/or Configuration is longer than 50% of the available space including the import/export buttons then truncate with and ellipsis and add a tooltip to show the entire value on hover

Confirming facility headers with long configurations are no longer overlapping text is consistent
Private Zenhub Image
Private Zenhub Image
Private Zenhub Image
Private Zenhub Image
Private Zenhub Image


Upcoming Departures with 4 predictions and style polish

Summary of changes
Asana Ticket: ⭐ Polish | Departures in Schedule Finder Modal

Assigned to: @ryan-mahoney

👍 thanks @meagonqz !


Add the name meta_lifted_iterative to the graph generation

@jamadaha Can you please put the possible names from the reconstructor in here? As well as what they mean
So i know what names i should put into the graphs


Restore Poison.Parser.parse/2

Poison.Parser.parse/2 was removed in https://github.com/devinus/poison/commit/a4208a6252f4e58fbcc8d9fd2f4f64c99e974cc8#diff-574cf330de0ee486ba021c9eaa1f0e7bL34
This PR brings it back for API consistency.

Pull Request Test Coverage Report for Build 250

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 89.524%

Totals

Change from base Build 236:
0.1%

Covered Lines:
188

Relevant Lines:
210

💛  - Coveralls


Type mismatch: inferred type is CardToken but SavedESCCardToken! was expected

After Updating to version 4.6.1
This Kotlin compiler error started to appear:
Type mismatch: inferred type is CardToken but SavedESCCardToken! was expected
I was calling this MercadoPagoServices.java method: public void createToken(final CardToken cardToken, final Callback<Token> callback) on a Kotlin file/class
To "fix it" I had to rollback to 4.5.2

We had a mistake in our public api, we will rollback it in the next version 4.6.2


ODSP support container upload in addition to channel upload when unploading protocol tree

Currently there is no support at server to handle the full summary, so we get the SummaryNack in case we do upload the full summary in odsp driver. @GaryWilber @marcmasmsft


Playing audio to scream device breaks steamvr tracking

Whenever audio is playing to the scream device, steamvr tracking becomes completely unusable, constantly losing connection to the tracked devices, and the devices flying all over the place. If no audio is playing to the scream device tracking works perfectly.
I've reproduced this on 2 separate windows installations with the same result.

Is this on real hardware or a VM?

On a VM, with a GPU and pcie usb controller passed trough

And the VR HW is on the USB that is passed through? Do you use Scream in Network or IVSHMEM mode?

Yes, the vr is connected to the passed trough usb controller, I'm using scream in network mode.

Experiment around networking and USB settings.
My first try would be to select a different emulation HW model for your virtual NIC.
Or move Scream to use passthrough via IVSHMEM too.


Reboot after some minutes sending BLE notifications [Wemos Lolin32]

Hello everyone,
I have been using the example of Mr.Kolban (BLE UART) in order to send the readings of a sensor via BLE to an Android APP.
The Wemos Lolin 32 reads the measure and it sends it as soon as possible writting the characteristic and notifiying. Aproximately a notification every 80 ms.
After some minutes working this happens:
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=13, data=3131342c3132312c39362c3831, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 13
[D][BLEC()racterillic.cpp:C 0x400tif4f on <onotif

Backtrace: 0x4008993c:0x3ffe4d50 0x40089a3b:0x3ffe4d70 0x4008554f:0x3ffe4d90 0x40085570:0x3ffe4db0 0x400856b5:0x3ffe4de0 0x4015caba:0x3ffe4e00 0x4015fd29:0x3ffe5110 0x400854cd:0x3ffe5140 0x40134d1d:0x3ffe5190 0x401140e6:0x3ffe51c0 0x4013c8f0:0x3ffe5450 0x4012d9de:0x3ffe54a0 0x4012df81:0x3ffe54c0 0x4011063e:0x3ffe54e0

Rebooting...
ets Jun  8 2016 00:22:57

##############################################################################

Decoding 14 results
0x4008993c: invoke_abort at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/./panic.c line 553
0x40089a3b: abort at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/./panic.c line 553
0x4008554f: lock_init_generic at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/newlib/./locks.c line 81
0x40085570: lock_acquire_generic at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/newlib/./locks.c line 132
0x400856b5: _lock_acquire_recursive at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/newlib/./locks.c line 169
0x4015caba: _vfprintf_r at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/vfprintf.c line 860 (discriminator 2)
0x4015fd29: vprintf at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/vprintf.c line 39
0x400854cd: esp_log_write at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/log/./log.c line 111
0x40134d1d: attp_build_sr_msg at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/stack/gatt/att_protocol.c line 442 (discriminator 2)
0x401140e6: GATTS_HandleValueNotification at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/stack/gatt/gatt_api.c line 768
0x4013c8f0: bta_gatts_indicate_handle at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/bta/gatt/bta_gatts_act.c line 675
0x4012d9de: bta_gatts_hdl_event at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/bta/gatt/bta_gatts_main.c line 88
0x4012df81: bta_sys_event at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/bta/sys/bta_sys_main.c line 631
0x4011063e: btu_task_thread_handler at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/bt/bluedroid/stack/btu/btu_task.c line 559

Could someone give me a clue with this?
Thank you so much in advance!!!!

Looking at the trace, we see that the exception has occurred within the BLE task that is owned by the ESP32 BLE libraries.  It appears to fail deep within the bowels of vprintf() while trying to acquire some internal locks.  Unfortunately, none of this is the BLE C++ classes otherwise I could assist more quickly.
One of the first things I would check is memory availability.  When a solution runs for a period of time and then stops, something has changed in state.  The first thing to check is how much free heap we have available to us.  If we had a memory leak, the heap space would start to decrease over time until such time when an internal request for RAM fails and we would get a failure.
Do I also sense that you are trying to write console data every 80ms?  That's pretty fast.  We would want to check that you aren't trying to log faster than the consumer could consume ... in which case the issue might be that we are queuing up too much data to write and again we might fail.

Thanks so much for your quickly answer! I will investigate it!

Hello again Mr. Kolban!
As you guessed it is a memory issue. I have been checking the memory available with xPortGetFreeHeapSize() which is (as the documentation says)  a FreeRTOS function which returns the number of free bytes in the (data memory) heap.. (Heap tracing Documentation)
When I connect the Android App to Wemos Lolin32 and it start to notify values, the memory start to decrease:
I am printing the values sent to app then we can see the BLE Debug trace and then the number which return xPortGetFreeHeapSize() function.
``
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323032, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79860
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323032, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79776
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323032, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79692
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323130, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79608
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323130, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79524
150 0 182 237 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3233372c323130, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79440
150 0 182 79 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=14, data=3138322c3138312c37392c313831, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 14
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79356
150 0 182 272 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3237322c323036, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79272
150 0 182 272 0
[D][BLECharacteristic.cpp:629] setValue(): >> setValue: length=15, data=3138322c3138312c3237322c323036, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:636] setValue(): << setValue
[D][BLECharacteristic.cpp:492] notify(): >> notify: length: 15
[D][BLECharacteristic.cpp:511] notify(): << notifications disabled; ignoring
79188
.....
``
It seems that is related with the function which set the value and notifies via BLE.
I dont know exactly how to debug more deeply this so any clue will be really welcomed.
Thank you so much for your time!!!

If I use setValue with a constant string like "hello world" everything is working properly, but when I use the variable char payload[20] declared globally where I later make a sprintf to format the msg then the memory start to decrease. I have been reading the issue #79 where you recommend to use setValue with std::string myString(pointerToData, lengthOfData); but the result is the same.
I will continue doing tests.
Thanks so much! :)

It is always possible (likely?) that there is a bug in the BLE C++ classes where code in this repository allocates heap storage and doesn't release it.  It is also possible that there is a bug in the underlying ESP-IDF APIs that allocates storage and doesn't release it.  And ... of course, there is the possibility that there is a bug in your code where you are allocating storage and not releasing.  These last few sentences are, of course, a waste of time ... as they boil down to "there could be a bug somewhere" which is  pretty much a tautology and adds nothing.  However, it does postulate the notion ... well .. if there is a memory leak in one of these areas ... who causes it?
Thankfully, there is a very elegant (but complicated) solution.
See the following.
http://esp-idf.readthedocs.io/en/latest/api-reference/system/heap_debug.html
To get "serious" in ESP32, one has to unfortunately invest time studying and playing with the heap debugging stories.   At a high level, once this subsystem is engaged, all requests to allocate storage are recorded and all releases of storage are recorded.  We can cause an allocation and then a release to cancel each other out such that the history of those two are discarded ... which would leave only history of allocated storage that had no subsequent releases ... and that is the definition of a memory leak.
When a record is captured, it contains:
o The address of the storage that was allocated
o The size of the storage allocated
o The time when the storage was allocated
o The EXACT statement in the code that allocated the storage
And that last one is our solution.  If we engage the recording of heap debugging, let it run for a while, stop the recording, dump the recording ... then ... if there is a memory leak, in principle we will see a string of allocations with no corresponding de-allocations that should all come from the same place and that would pin down our leak.
Realize ... that debugging memory leaks is like debugging physical plumbing leaks.  You can easily tell you have a problem (your carpet around your shower is damp) but finding where the water is leaking can take time and effort.

Just my 2 cents. There is also a chance that IDLE task does not have time to garbage collect and clean up and you will have to do it in your code.

I didn't know there was a garbage collector in C/C++ land?  What are we thinking gets garbage collected in the IDLE task?  (Note:  I'm for SURE not saying that there is no garbage collection ... just that this is the first time I'm hearing about it).

Maybe its not good word choice. What i mean is IDLE task free heap when variables created by tasks, or RTOS itself are deleted. But if there is not enough time for IDLE task it cant be done. Best option is to ask projectgus on iirc, he can explain it better than i do.

I'm sorry Mr. Kolban for the delay.
I have been doing some little tests in my free time. I have been changing the lengh of the message setted to the characteristic. I though that the max payload in BLE was 20 bytes so my buffer was of that length. I reduced it to the length of 9 and the memory leak dissapear.
If the length of the message id bigger than 9 then the memory start to decrease when a device is connected.
Here the complete code, (basically, it is your BLE UART example with 2 lines of code more for debugging memory and so on):
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLE2902.h>

#include <esp_heap_caps.h>
#include <esp_heap_trace.h>

BLECharacteristic *pCharacteristic;
bool deviceConnected = false;
uint8_t txValue = 0;

// See the following for generating UUIDs:
// https://www.uuidgenerator.net/

#define SERVICE_UUID           "6E400001-B5A3-F393-E0A9-E50E24DCCA9E" // UART service UUID
#define CHARACTERISTIC_UUID_RX "6E400002-B5A3-F393-E0A9-E50E24DCCA9E"
#define CHARACTERISTIC_UUID_TX "6E400003-B5A3-F393-E0A9-E50E24DCCA9E"

class MyServerCallbacks: public BLEServerCallbacks {
    void onConnect(BLEServer* pServer) {
      deviceConnected = true;
    };

    void onDisconnect(BLEServer* pServer) {
      deviceConnected = false;
    }
};

class MyCallbacks: public BLECharacteristicCallbacks {
    void onWrite(BLECharacteristic *pCharacteristic) {
      std::string rxValue = pCharacteristic->getValue();

      if (rxValue.length() > 0) {
        Serial.println("*********");
        Serial.print("Received Value: ");
        for (int i = 0; i < rxValue.length(); i++)
          Serial.print(rxValue[i]);

        Serial.println();
        Serial.println("*********");
      }
    }
};

void setup() {
  Serial.begin(115200);

  // Create the BLE Device
  BLEDevice::init("UART Service");

  // Create the BLE Server
  BLEServer *pServer = BLEDevice::createServer();
  pServer->setCallbacks(new MyServerCallbacks());

  // Create the BLE Service
  BLEService *pService = pServer->createService(SERVICE_UUID);

  // Create a BLE Characteristic
  pCharacteristic = pService->createCharacteristic(
                      CHARACTERISTIC_UUID_TX,
                      BLECharacteristic::PROPERTY_NOTIFY
                    );

  pCharacteristic->addDescriptor(new BLE2902());

  BLECharacteristic *pCharacteristic = pService->createCharacteristic(
                                         CHARACTERISTIC_UUID_RX,
                                         BLECharacteristic::PROPERTY_WRITE
                                       );

  pCharacteristic->setCallbacks(new MyCallbacks());

  // Start the service
  pService->start();

  // Start advertising
  pServer->getAdvertising()->start();
  Serial.println("Waiting a client connection to notify...");
}

void loop() {

  if (deviceConnected) {
    Serial.printf("*** Sent Value: %d ***\n", txValue);
    //If you changes the size to 9 the memory leak issue disappear.
    pCharacteristic->setValue((uint8_t *)"1234567890",(size_t)10);
    pCharacteristic->notify();
  }

  Serial.println(xPortGetFreeHeapSize());

  delay(200);
}

Thanks again for your time and your patience with noobs like me 👍 😄


calculate-min-fee no longer working for Shelley-era transactions

Description
Building basic Shelley-era transactions using build-raw is still supported (e.g. for bootstrapping testnets). However calculate-min-fee command stopped working for Shelley-era tx after recent fee calculation refactoring. The command fails with

Command failed: transaction calculate-min-fee  Error: Error while converting protocol parameters: Missing parameter: decentralization

Steps to Reproduce

Try to calculate fee for Shelley-era tx

cardano-cli shelley transaction calculate-min-fee --testnet-magic 42 --protocol-params-file pparams.json --tx-body-file estimate_tx.body --reference-script-size 0 --witness-count 1

See the error

Additional Context
Tested in Babbage era with cardano-cli <IP_ADDRESS>.
Tx body and pparams files: issue_calc_min_fee.tar.gz

This is not a conway-era-integration-bug

Building basic Shelley-era transactions using build-raw is still supported
@mkoura

We need to deprecate these old commands as nobody is likely using them.
@Jimbo4350

What exactly do you mean with "we need to deprecate these old commands?"
Using build-raw and calculate-min-fee all the time, the SPO scripts for SPOs are built on that!
Do you mean we cannot use it for testnets in the bootstrap phase until we get to a later era?

keep alive

@Jimbo4350 I think this needs your answers here

@gitmachtl what's your use case for running CLI commands in testnets in older eras?
Would it be feasible just hardfork to the target era, at the very beginning, like it's done in cardano-testnet?

i would say yes. as long as we don't have any testnets anymore in the future that are staying a longer period in shelley era, it can be removed for shelley era.


Improve contact journal

The app calls it "Contact Journal" in English however the FAQ is referring to it as "Contact Diary". Would it be better to keep the terms consistent?
In German, the terms in the app and the FAQ are consistent, where both use the term "Kontakt-Tagebuch.

The app calls it "Contact Journal" in English however the FAQ is referring to it as "Contact Diary". Would it be better to keep the terms consistent?
In German, the terms in the app and the FAQ are consistent, where both use the term "Kontakt-Tagebuch.


[GEN-1981]: replace YARN with NPM

This pull request includes several changes to transition from using Yarn to npm across the project. The most important changes include updates to various configuration files, Dockerfiles, and documentation to ensure consistency with the new package manager.
Transition from Yarn to npm:

.github/workflows/cross-cloud-tests.yaml: Changed the command from yarn install to npm install for the multi-apps and helm-chart test scenarios.
.goreleaser.yaml: Updated the hooks and build commands from yarn to npm, and standardized the use of single quotes. [1] [2]
frontend/Dockerfile: Replaced yarn install with npm ci and yarn build with npm run build to align with the new package manager.
Multiple Dockerfiles (tests/e2e/workload-lifecycle/services/nodejs-http-server/*): Updated to use npm ci instead of yarn install for installing dependencies. [1] [2] [3] [4] [5] [6]

Documentation updates:

CONTRIBUTING.md: Updated the build commands from yarn to npm to reflect the new package manager.
frontend/webapp/README.md: Removed references to yarn and pnpm, keeping only npm run dev for simplicity.

Other changes:

agents/nodejs-native-community/package-lock.json: Added a new package-lock file for the @odigos/opentelemetry-node-native-community package.
tests/e2e/ui/chainsaw-test.yaml: Updated the E2E test commands from yarn to npm.

Abandoning this PR.
The switch from yarn to npm only reduced Frontend build time by 1 minute, it still takes a long time because of go.
Docker handles package-linking very slowly, this is true for both yarn and go.
Using yarn (left) vs using npm (right):


Staging

Good job @andela-ooyeniran for building a functional app. You should learn more about object-oriented design, especially what properties should be made class, instance or local variables. Also, strive to make your code readable by using descriptive variable names.

Nitpick - Version Control
Vague commit messages
modified .travis.yml			6dfca82
modified .hound.yml			99b3f14
start script              		e3d5959
modified package.json			544b74e
coveralls              			89fd9e3

Ensure to use better commit messages, these are too vague and similar in some cases. They should describe changes you've made to the codebase.


change the management of processor for load and dump in fields, becau…

…se of list that was not calling pre_load, post_load
The list.load() was calling directly field.load() without calls to pre_load ans post_load. The other fild, like PolymorphicList goes througt the mapper, so the pre_load and post_load were called.
I propose to call pre_load and post_load in the load() method, and move the previous load() as a method to override in the other class inheriting field, since calling load() without pre_load and post_load is not used.

Yes I could do that, But it's seams to me pre_load and post_load were not meant to be call outside the fields object, like _pre_dump and _post_dump that are private method.
pre_load and post_load where only called in the Schema object, so it seams the true behavior of  load() for object outside of fields is to manage pre_load and post_load. And so no need to repeat in Schema and in List calls to pre_laod and post_load

Sorry, I didn't understand well the comment
I didn't thing of this solution

Does pre_load and post load should have an impact on the element inside the list ???
you propose to define pre_load to call pre_load on each element of the list,
and the same on post_load ....
so there is a 'default' pre_load and post_load processor for list field ... what if the user add another pre_load processor (to reduce the list for example), does it be call before of after the 'default' one ?

Does pre_load and post load should have an impact on the element inside the list ???
Yes because it's the purpose of the processor.
In fact for a list the default processor should be to call the inner field pre_load method for each element of the list in value and build a new list based on the return value.
If the user wants to redefine the processor he still can, it will be his responsibility to understand what he does and to call the field pre_load method.
I think this is the easiest solution.

I didn't tink of this solution because I first look at PolymorphicList do understand how it was working for it.
The fact that the mapper.load is called make that the pre_load and post_load are called together ..
So I tried to do it together also for the list ....
But now I thinking about it, the pre_load and post_load of the element of polymorphic list themselves has no sences, since ther is no pre_load or post_load on schema directly ... but on the fields in the schema

Yes PolymorphicList behaves differently because it uses Schema objects that will call pre_load etc. when they will be asked for loading data. So yes I don't think it's necessary to have this kind of feature on the Polymorphic... fields.

following your recommendations : https://github.com/holinnn/lupin/pull/17


added top and bottom margin to the cards

Added proper margins for the cards in sphinx rst files

old
new

Looks great @kmahajan-cadfem!! Thanks for opening this PR! =)


[FEATURE] Throw OpenSearchException on 409 Conflict

Is your feature request related to a problem?
note: i'm using the ApacheHttpClient5Transport APIs.
i'm doing a request through OpenSearchClient#create because the API allows me to ensure that a document is only indexed once, as per the javadoc:
https://github.com/opensearch-project/opensearch-java/blob/c0f51d038c5d0d9b2b13235ee18c1bc555039595/java-client/src/main/java/org/opensearch/client/opensearch/OpenSearchClient.java#L329-L338
however, if the document with this ID already exists then the API throws an exception instead of returning a response. and while the ResponseException would offer access to the actual Response:
https://github.com/opensearch-project/opensearch-java/blob/c0f51d038c5d0d9b2b13235ee18c1bc555039595/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ResponseException.java#L92-L94
which would also offer access to the HTTP status via StatusLine:
https://github.com/opensearch-project/opensearch-java/blob/c0f51d038c5d0d9b2b13235ee18c1bc555039595/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java#L84-L86
the problem is that Response is package-private, so i cannot access any of its methods (even though they're marked as public):
https://github.com/opensearch-project/opensearch-java/blob/c0f51d038c5d0d9b2b13235ee18c1bc555039595/java-client/src/main/java/org/opensearch/client/transport/httpclient5/Response.java#L52
What solution would you like?
there should be a clear, canonical (and documented) way of accessing the HTTP status if such a request fails.
one possibility could be to make Response public (i don't understand why it isn't).
What alternatives have you considered?
parsing the exception as a string to see if it contains "[HTTP/1.1 409 Conflict]" is at best an ugly hack as the string is not a guaranteed API
Do you have any additional context?
i wasn't sure whether to categorise this as a feature request (because it needs a new API to be exposed), a bug report (because i consider it wrong that i can't access this information) or a question (because i might just have missed a way of getting to that information; in that case it'd be good if it could be documented as i didn't find it in this repo!).

+1, it's pretty common to want the entire underlying HTTP request/response to be accessible. The alternative of exposing methods is also fine if we want to support a generic way to retrieve various non-transport-specific things like HTTP status codes.

i can provide a PR which just makes Response public if that's ok with you? or do you want to change the API to access the information in other ways?

@rursprung I don't know what's best. Do you have an opinion? Appreciate any PRs!

@dblock @rursprung I believe we should do that as part of https://github.com/opensearch-project/opensearch-java/issues/377, the later should allow raw request / response manipulation, strong -1 to open up any client transport internals.

@reta Let's focus on the basic ask of exposing the HTTP status code. Can you explain what are your reasons not to allow the caller to explicitly be able to know whether the server responded with a 302 vs. a 301 for example, directly?

@dblock in my opinion, the Java client general interface is typed and errors are reported using exceptions, the 302 or 301 is not relevant to the caller of typed API, the only relevant part is success or not, with  generic client that would be possible

Makes sense @reta, so what is a proposed change to be able to extract a 409 Conflict? Should it be a specialized exception? What should it inherit from?

Makes sense @reta, so what is a proposed change to be able to extract a 409 Conflict?

Thanks @dblock , this is already working this way, the OpenSearchException is being raised, it has status field with would have 409 status code.

@reta: the problem is that OpenSearchClient#create returns a ResponseException and not an OpenSearchException in case of a 409 - thus i cannot access that field.
so maybe that is then a bug specific to this API (and possibly others?) and it should catch the ResponseException and wrap it in an OpenSearchException?

@rursprung That could make sense, but maybe it's easier if ResponseException exposes a status field?

Thanks @rursprung , or OpenSearchClient#create should indeed throw OpenSearchException in this case?

We should probably do both. I don't see a reason why ResponseException wouldn't have status.

i've created #756 to expose ResponseException#status
but i'm unsure how best to ensure that OpenSearchClient#create returns an OpenSearchException - i don't think that it's specific to this API: it just calls Transport#performRequest underneath and the only place in the ApacheHttpClient5Transport implementation which actually throws a OpenSearchException is this one:
https://github.com/opensearch-project/opensearch-java/blob/92131388cc1826a51d9c28d231c2d7cee070666b/java-client/src/main/java/org/opensearch/client/transport/httpclient5/ApacheHttpClient5Transport.java#L503
everything else is a TransportException (usually wrapping a ResponseException) or, IOException or similar (didn't check all of them). the story seems to be similar for the old RestClientTransport.
so while every API seems to claim that it throws a OpenSearchException (something which it technically doesn't have to do as it's a RuntimeException) i don't think that this is what's usually being thrown. changing that might even be considered a breaking change if someone explicitly catches a RuntimeException (or IOException or similar) at the moment to somehow handle that case.
as you're far more familiar with this library (i only just started to use it) you can probably judge better what the proper approach is. i'd suggest to maybe split this part out into a separate issue, where you clearly formulate the target picture and the expected impact.

i've created #756 to expose ResponseException#status

Thanks @rursprung , I think this is good change in any case, thank you.

as you're far more familiar with this library (i only just started to use it) you can probably judge better what the proper approach is. i'd suggest to maybe split this part out into a separate issue, where you clearly formulate the target picture and the expected impact.

Makes perfect sense, thank you.

With #756 merged, I renamed this issue to "Throw OpenSearchException on 409 Conflict" which I think represents the feature request we discussed above. Feel free to edit/close/reopen as you see fit!

@dblock: do you only want to change it from a ResponseException to an OpenSearchException in case of a 409 (as suggested by the title)? or in all cases? i think what's missing is a definition of what should be an OpenSearchException and what should be something else (the API definition suggests that everything would be an OpenSearchException (except low-level network errors, which i'd expect to be an IOException as this is the other exception type being specified))

i think that sounds reasonable. kicking out ResponseException would probably be a breaking change? the other changes probably not so

i think that sounds reasonable. kicking out ResponseException would probably be a breaking change? the other changes probably not so

Right, so proceed with caution.

then i'd suggest to either rename the issue again (i'll abstain from doing it myself to make sure that this now reflects your plans) or raise a new one (or two: one for everything doable without a breaking change and one for the breaking change to be done later) and clearly outline what should be done and at which point. is there a release planning to know when a major release is planned / is ok to happen?

We theoretically can make a major release anytime. I think I'd want to look at a PR and see if it's really worth it, and an UPGRADING.md that explains how it changes to users. I know it's potentially throw away work, but I think we all agree that changing exceptions being raised is kinda a big deal (TM).


fix: update action interface of Android automation

Codecov Report
Base: 77.30% // Head: 77.30% // No change to project coverage :thumbsup:

Coverage data is based on head (635898f) compared to base (fe111c8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##           dev-v4.3    #1486   +/-   ##
=========================================
  Coverage     77.30%   77.30%
=========================================
  Files            33       33
  Lines          3428     3428
=========================================
  Hits           2650     2650
  Misses          778      778

Flag
Coverage Δ

unittests
77.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Create account on Stargate Serverless (GitHub)

Join Eddie's discord community here

Already created by Eddie #85


Files list layout in Ctrl+P menu is not user friendly

VSCode Version: 1.14.2

Steps to Reproduce:

Search for a file using Ctrl+P
The search files menu shows up
The way the file name is displayed first and then the path is a little hard to scan.
If this order is reversed, it will be very easy to scan the list

http://i.imgur.com/kYD5X1u.png

This is by-design. We show the filename first since this is often the most important part of what you are looking for. It also is consistent and makes scanning for different file name matches easier. With the current layout, files names are always in the left most position


[Collab] Swift 4 Coder fix for fred

Hey @frederoni, I Didn't want to commit right into #221 without running this by you first.
The trick here seems to be overriding the Decodable initializer and manually setting up the model after decoding the JSON.

Adding custom init that sets leg destination names properly now. All tests now pass.

Thanks, @JThramer. I've cherry-picked your commits into #221


Failed to import pclpy with conda Python 3.6 on CentOS 7.7 and Ubuntu 18.04

Hi,
I got the following error when trying to import pclpy :
Traceback (most recent call last):
File "", line 1, in
File "/home/centos/miniconda3/envs/STPLS_Centos/lib/python3.6/site-packages/pclpy/init.py", line 3, in
import pclpy.pcl as pcl
ImportError: libqhull_p.so.7: cannot open shared object file: No such file or directory
I followed the instruction on the page and use "conda install -c conda-forge -c davidcaron pclpy". From the conda message it looks like the qhull is also part of the installation. Not sure why it's complaining about the missing .so.
To make sure this is not a CentOS specific issue, I also tried the same setup on Ubuntu 18.04 and still got the same errors. Any guidance about how to fix this problem would be appreciated. Thanks.

I confirm:
Ubuntu 20.04 ,
conda 4.10.3
Python 3.8.10
    import pclpy
  File "/home/reestr/miniconda3/envs/pdal/lib/python3.8/site-packages/pclpy/__init__.py", line 3, in <module>
    import pclpy.pcl as pcl
ImportError: libqhull_p.so.7: cannot open shared object file: No such file or directory

As mentioned in #91 this worked for me:
conda install -c conda-forge/label/gcc7 qhull
Ubuntu 18.04
Python 3.8.12
conda 4.10.3


Add Tests

Missing Tests
DSL

[ ] DSL Parser
[ ] DSL Bytecode Compiler
[ ] DSL Bytecode Executor

Nuclei Templates

[ ] Loading/Parsing templates
[ ] Failing Loading/Parsing templates (That we specifically want to fail currently)
[ ] Executing Template

Nuclei Workflows (TODO)

[ ] Parsing
[ ] Executing

Automated High-level Smoke test

[ ] Automate scanning a python -m http.server webserver, compare expected results from nuclei with results from Photon to detect obvious problems

... todo add more

Would be nice to have some sort of framework, where we keep some HTML response files, then for the tests, we have expected Request and Response as well as expected Template output.
Since nuclei-templates is licensed under MIT we're safe to use a select few templates that test various template features.


Sorting formatted numbers.

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior
TableData = {
    data:[
        {id:1, price:1900000, displayPrice:'$1.9M'}
        {id:2, price:990000, displayPrice:'$990K'}
    ]
}

Expected behavior
Displaying 'displayPrice' prop, but sorting on 'price' prop.
What is the motivation / use case for changing the behavior?
Ability to load preformatted data, and do not format on fly

Table version: 1.7.0

Angular version: 2.1.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

You can pass your own sorting comparer to handle these type of specific sorts - https://github.com/swimlane/angular2-data-table/blob/master/demo/sorting/sorting-comparator.ts

Hi @amcdnl,
How can I accomplish this in template syntax?
component.html:
       <ngx-datatable-column name="Expires" [comparator]="comparatorDate" [flexGrow]="1" [draggable]="false">         <ng-template let-value="value" let-row="row" ngx-datatable-cell-template>           {{ row.ExpirationDate | amTimeAgo }}         </ng-template>       </ngx-datatable-column>
component.ts:
comparatorDate(a: any, b: any) {     if (a.valueOf() < b.valueOf())  {       return -1;     }     return 1;   }
When debugging this, a and b are empty strings.
/ Søren


Adding Card Previews on Hover

Hi, are there any plans for adding Popover previews for Drawer Items on hover? If not, is there any way we can do it manually??

i suppose u can override the component item via plugin or the override prop

What @IMythx  said - it's possible to override the component item to achieve something like this.


It is not possible to overwrite an association with nil.

Describe the bug
It is not possible to overwrite an association with nil.
class Units < ROM::Relation[:sql]
  schema(:units, infer: true) do
    associations do
      has_many :users
    end
  end
end

class Users < ROM::Relation[:sql]
  schema(:users, infer: true) do
    associations do
      belongs_to :unit
    end
  end
end

Factory.define(:user) do |f|
  f.id { fake(:number, :number, digits: 3) }
  f.name { fake(:name, :name) }
  f.association(:unit)
end

Following overwrite of the association unit fails:
Factory[:user, id: 1, unit: nil]

NoMethodError:
       undefined method `fetch' for nil:NilClass

               child.merge(fk => parent.fetch(pk))
# /usr/local/bundle/gems/rom-core-5.2.5/lib/rom/associations/many_to_one.rb:45:in `associate'
# /usr/local/bundle/bundler/gems/rom-factory-94c8d02faf68/lib/rom/factory/attributes/association.rb:57:in `call'

Expected behavior
the expected behavior should be a resulting user-db-entry holding a unit_id of NULL and the returned ruby-object should be look like this:
{ id: 1, name: "Michael Knight", unit: nil }

Workaround
Factory[:user, id: 1, unit: { id: nil }]

WDYT? How should we fix this?
Thanks and best regards

Has been fixed in 2ca92214a9409dc4fa9c6a514890983c49bf3142.
Thank you @solnic!


slayer: fix the plugin computing on free-to-play worlds

closes  #3628

Technically, #4012 fixes this as well, and I rather prefer that solution personally.

While #4012 does seem more elegant, while using it I can make the infobox appear on a free-to-play world by flipping the Task Infobox config item.

I much prefer #4012, though I feel like it will probably come back as a config option... maybe we can  just deal with that then, but it should really only have a world check ~1 place. Maybe two if we really care to block the config change thing but I don't think many people will hit that.

If you really want to block the npc highlights I suppose we can do that. The rest of this I think either can't happen (the chat messages) or shouldn't be blocked (!task)

Most of this is covered now that #4012 has been merged. If blocking NPC highlights is wanted, this PR can be reopened with those specific changes, or it can be added in a separate PR.


Comment out the fix mountpoint permission function

This feature introduced a regression. A better solution is in discussion.
Removing the feature for now, becuase it's causing issue.
fix #233

Changing the function makes more sense, it used during import, clone and create.

good catch.
I guess it's good to land


receiver.py crash on recieved message

The problem
receiver.py crash on recieved message
Your environment

Component
Version

python
2.7.5

pytg
0.4.10

OS
Linux centos 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce
sample from github:
from __future__ import unicode_literals

import logging
logging.basicConfig(level=logging.DEBUG)

from pytg import Telegram
tg = Telegram(
    telegram="/usr/bin/telegram-cli",
    pubkey_file="/etc/tg-server.pub")
receiver = tg.receiver
sender = tg.sender

receiver = tg.receiver

from pytg.utils import coroutine
def main_loop():
    while not QUIT:
        msg = (yield) # it waits until it got a message, stored now in msg.
        print("Message: ", msg.text)

    #
#

receiver.start()
receiver.message(main_loop())

Expected behaviour
display received message
Actual behaviour
crash with
INFO:pytg:Starting Telegram Executable: "/usr/bin/telegram-cli -R -W -P 4458 -k /etc/tg-server.pub --json --permanent-peer-ids --permanent-peer-ids"
DEBUG:pytg.sender:Parsing raw: Argument help - <command> (needed)
DEBUG:pytg.sender:Sending command >[disable_preview]  help
<
INFO:pytg:CLI did not responde.
change_user_group: can't find the user telegramd to switch to
DEBUG:pytg.sender:Parsing raw: Argument help - <command> (needed)
DEBUG:pytg.sender:Sending command >[disable_preview]  help
<
DEBUG:pytg.sender:Socket Connected.
DEBUG:pytg.sender:All Sent.
INFO:pytg:CLI available.
DEBUG:pytg.receiver:Socket Connected.
DEBUG:pytg.receiver:CLI session registered.
DEBUG:pytg.receiver:Hit end.
DEBUG:pytg.receiver:Received Message: {"user": {"id": "$xxxxxxxxxxxxxxxxxxxxxxx", "first_name": "xxxxxxxxxxxxxxxxxxxxxxx", "username": "xxxxxxxxxxxxxxxxxxxxxxx", "peer_type": "user", "last_name": "xxxxxxxxxxxxxxxxxxxxxxx", "flags": 589825, "peer_id": xxxxxxxxxxxxxxxxxxxxxxx, "print_name": "xxxxxxxxxxxxxxxxxxxxxxx", "phone": "xxxxxxxxxxxxxxxxxxxxxxx"}, "online": true, "when": "2017-03-17 13:30:34", "state": 1, "event": "online-status"}
DEBUG:pytg.receiver:Received Message: "{"user": {"id": "$xxxxxxxxxxxxxxxxxxxxxxx", "first_name": "xxxxxxxxxxxxxxxxxxxxxxx", "username": "xxxxxxxxxxxxxxxxxxxxxxx", "peer_type": "user", "last_name": "xxxxxxxxxxxxxxxxxxxxxxx", "flags": 589825, "peer_id": xxxxxxxxxxxxxxxxxxxxxxx, "print_name": "xxxxxxxxxxxxxxxxxxxxxxx", "phone": "xxxxxxxxxxxxxxxxxxxxxxx"}, "online": true, "when": "2017-03-17 13:30:34", "state": 1, "event": "online-status"}"
DEBUG:pytg.receiver:Hit end.
DEBUG:pytg.receiver:skipping second linebreak.
DEBUG:pytg.receiver:Messages waiting in queue: 0
**Traceback (most recent call last):
  File "telegram.py", line 30, in <module>
    receiver.message(main_loop())
  File "/opt/pytg/pytg/utils.py", line 29, in start
    cr = func(*args, **kwargs)
  File "/opt/pytg/pytg/receiver.py", line 212, in message
    function.send(message)
TypeError: can't send non-None value to a just-started generator**
INFO:pytg.sender:Quit Sending. Not allowing sending anymore.
WARNING:pytg.sender:Terminating currently sending request.
INFO:pytg.sender:Currently not Sending.
INFO:pytg:Closing Connections.
DEBUG:pytg:Closing sender.
DEBUG:pytg.sender:Already did quit Sending. Not allowing sending.
WARNING:pytg.sender:Terminating currently sending request.
INFO:pytg.sender:Currently not Sending.
DEBUG:pytg:Closing sender.
DEBUG:pytg.receiver:receiver thread existing: True
INFO:pytg:Asking to CLI to stop.
DEBUG:pytg:Sender already stopped. Unable to issue safe_quit or quit to exit via socket.
Exception in thread Receiver (pytg):
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/pytg/pytg/receiver.py", line 125, in _receiver
    raise ConnectionError("Remote end closed.")
ConnectionError: Remote end closed.

INFO:pytg:CLI did stop (0).
DEBUG:pytg.sender:Already did quit Sending. Not allowing sending.

if i comment out  function.send(message) line from receiver.py it works without problem. I can see incoming messages in debug log.

The line change_user_group: can't find the user telegramd to switch to is strange. There is no part on pytg side which does that...

This seems related to #81


Set engines in package.json

Environment
azure-pipelines-task-lib version: 4.3.1
Issue Description

It's not explicit what version of Node is supported when using the azure-pipelines-task-lib Node library. The dependency on @types/node version 16.x implies that version 4.x supports Node 16 only, but adding the engines property would make it explicit.
Expected behaviour

azure-pipelines-task-lib should explicitly state the versions of Node it supports
Actual behaviour

azure-pipelines-task-lib doesn't explicitly state what versions of Node it supports
Steps to reproduce
N/A
Logs

N/A

Not stale


Root element and namespace auto suggestions/finding

As of right now when debugging a schema the user needs to know if a root element name or namespace needs set. It would be nice to have some features where either the extension or the debugger or both can let the user know, what possible root element names or namespaces could be used for the specific schema. For example, with the DFDL envelopePayload schema @mbeckerle created, if the rootName is not set the debugger, extension or both will let the user know that the schema may fail to debug if the rootName is not set to values one of [a, b, ...].

@stevedlawrence @mbeckerle Does this sound like something may be achievable in a general sense and in the sense of is there anything in Daffodil that may do something similar or help with this?

Daffodil doesn't really have a way good way to query for all global elements. You could potentially create ProcessorFactory without specifying a root name/namespace (e.g. Compiler.compileFile("path/to/schema.dfdl.xsdf"), and then query members of its SchemaSet to find all possible global element declarations and their namespace, similar to this:
https://github.com/apache/daffodil/blob/main/daffodil-core/src/main/scala/org/apache/daffodil/core/dsom/SchemaSet.scala#L380-L382
But that's diving pretty deep into the Daffodil internals and probably isn't recommended.
Probably the easiest approach is to just scan the main schema for global element declarations yourself (e.g. find xs:element's that are immediate children of the xs:schema, and suggest those as possible roots. And the suggested namespace is just the targetNmespace property.
Technically the root element could come from any included/imported schema, but that's pretty uncommon--the root almost always comes from the primary schema. And you probably wouldn't want to suggest all those imported global element declarations anyways because there are often a bunch of them them and it would just be confusing to users.


Identify how PVC variable can be parametrised specially for iops, zone and KP etc

Madhu and I will be working on this issue.

Some of the initial analysis I had done discussion with k8s community
Identify how PVC variable can be parametrised specially for iops, zone and KP etc.
We have analysed different ways but the only possible way to pass zone is storage class , pod affinity and PVC annotations.
For Iops the only possible way is storage class.
Zones should be specified as part of a Pod via its affinity / anti affinity. The volume gets then provisioned in the right zone that has both enough storage available and satisfies pod needs.

For the other parameters, StorageClass is currently the only way. It intentional, we do not want to "leak" storage details into PVCs. Such PVCs would not be portable to a different storage system, with say different annotations.

Slack discussion with Kubernetes community @jsafrane
https://kubernetes.slack.com/archives/C09QZFCE5/p1632203456111900

@sameshai we have analysed from our side and the conversations above.  only way is storage class. if we use the storage class, those details will be exposed right. shall we go ahead with changes for this or any other suggestions on this. please let us know

@sameshai As discussed earlier, we could not find any other way to go ahead with this except for storage class and because of the downsides of storage class, we cannot take this further. please let me know if any more discussions have been on this or we can go ahead with next issue


Request body for POST comment has been changed.

Hi Kyle,
Consider following JSON which works with 8.0.x branch of Drupal. Note that there is a little change for relation field in  _links , both key and value has now little different format than previous.
 {
  "_links": {
        "type": {
            "href": "http://localhost/dr8b14/rest/type/comment/comment"
        },
        "http://localhost/dr8b14/relation/comment/comment/entity_id": [
            { "href": "http://localhost/dr8b14/rest/type/comment/comment/node/1"}
        ]
    },
    "entity_id": [
      {
        "target_id": "1"
      }
    ],
    "langcode": [
      {
        "value": "en"
      }
    ],
    "subject": [
        {
            "value": "test"
        }],

    "uid":[
        {

            "target_id": 1
        }
        ],
    "status": [
      {
        "value": "1"
      }
    ],
    "entity_type": [
      {
        "value": "node"
      }
    ],
    "comment_type": [
      {
        "target_id": "comment"
      }
    ],
    "field_name": [
      {
        "value": "comment"
      }
    ],
    "comment_body": [
      {
        "value": "Example comment message."
      }
    ]
  }

// This is for older beta releases
//    NSString *relationKey = [NSString stringWithFormat:@"%@/rest/relation/comment/comment/entity_id", [[[DIOSSession sharedSession] baseURL] absoluteString]];
//
//    NSString *relationValue = [NSString stringWithFormat:@"%@/node/%@",[[[DIOSSession sharedSession] baseURL] absoluteString],relationID];

  // This is for changed JSON
    NSString *relationKey = [NSString stringWithFormat:@"%@/relation/comment/comment/entity_id", [[[DIOSSession sharedSession] baseURL] absoluteString]];

    NSString *relationValue = [NSString stringWithFormat:@"%@/rest/type/%@/%@/node/%@",[[[DIOSSession sharedSession] baseURL] absoluteString],@"comment",type,relationID];

Please provide valuable input for these changes.

Is it possible for you to submit these with a pull request?

Hi Kyle ,
Sorry for the delayed reply , I was busy with exam.
I will try to make a pull request soon for the code change.
Thanks !


Sass to less

WIP

@SMahil was this started after the flex work was merged? I noticed a lot of previously removed flex styles in the files that were converted to Less.

@mindreeper2420 No it was started after flex changes but somehow changes are not there.


icon-left does not work in menu-group

In order to have icons appear to the left of links in a Menu Bar (as opposed to the top, as is the default), one adds the icon-left class to the Menu Bar container. However, when using the menu-group component to wrap two menu bars in a container, the icon-left class does not work and the icon always appears at the top.
This is the case no matter whether the icon-left class is added to the menu-group container, the menu-group-right container or the menu-bar container.
The same applies to icon-bottom.

The icon-* classes should be used on the menu bar itself, not the menu group. However, a selector specificity issue was preventing the class from being applied properly. Fixed!


Not able to pass data from an action extension

Hi,
I'm trying to pass data from an action extension to its parent application through MMWormhole but it doesn't seem to work. Is it possible to use MMWormhole for this or not?
I have added in viewDidLoad()of my main view controller:
wormhole.listenForMessageWithIdentifier("ignore", listener: { (messageObject) -> Void in
    if let message: AnyObject = messageObject {
        print(message)
   }
})

But when I'm doing wormhole.passMessageObject("yo", identifier: "ignore")from my action request handler (used when a user touch the button linked to my app action extension) it's not printing anything.
Passing the message object when touching a button in the application is working so I'm thinking that there is a problem due to having the application in background but I didn't find anything about this issue online.
Thank you for your work!

+1
although the other way around (app -> extension)

Dang. This probably won't work if the parent app isn't running in the background already. It would work if the app is already loaded...but you don't really have a way to make sure that is the case, so if anything this would be unreliable.
One of the useful things in WatchKit is the ability for the watch to launch the parent app in the background. Unfortunately Today and Action extensions don't have the same ability :(
Sorry for the delay in responding. Thanks for filing the issue. Sorry I couldn't be of more help.


Audio: add gauntlet sounds

Adding sound events for:

gauntlet start
gauntlet next round
gauntlet complete

@alvarosoppelsa I'm using placedholders can u help me set up custom sounds? I can look for free ones online

Adding sound events for:
* gauntlet start

* gauntlet next round

* gauntlet complete

@alvarosoppelsa I'm using placedholders can u help me set up custom sounds? I can look for free ones online

Sure!


Implement ability to retry on error in async mode

When using the provider async mode, it would be nice to be able to retry the operation. One solution would be to inject a .retry() function in the error object.

No longer applies as we no longer have async providers.


Fix FreshNameGenerator

The fresh name generator does not take numbers in the base name into account. For example, the program
process main {
    {
        val tmp: int = 0;
    }
    {
        val tmp: int = 0;
    }
    val tmp_1: int = 0;
}

elaborates to
process main {
    {
        val tmp: int = 0;
    }
    {
        val tmp_1: int = 0;
    }
    val tmp_1: int = 0;
}

Note that there are two tmp_1s.
One solution is to parse base names in FreshNameGenerator to strip the _XXX component. Another is to repeatedly call FreshNameGenerator until we find a unique name Cuckoo hashing style.
See 98a4e451c32d0791c43e184ad83021c4e055932f.

closed by https://github.com/apl-cornell/viaduct/pull/74

It's not fixed: #76
Here's the essence of the problem:
https://github.com/apl-cornell/viaduct/blob/02f81ef03bba86913416155026b5ee772e19a242/compiler/src/test/kotlin/edu/cornell/cs/apl/viaduct/util/FreshNameGeneratorTest.kt#L52-L59


Get response from mock server

PR for issue #100

need to add this on the server .env.local

yea so I tried with a different network so it will show you unreachable for now.
that'll be a new pr i suppose


  Can you reproduce and post the UI log here?

I can't get the mod to work at all.  CTRL+L doesn't do anything.

I can't get the mod to work at all. CTRL+L doesn't do anything.

Did you select an object first (such as a tree)?

Yep. I’ve found that I can spam the shortcut key sometimes and it’ll work on like the 4th or 5th time. But most of the time stops working all together and I cannot activate tool.

Can't get it working at all now.  Shortcut spam is no longer working.

Neither I nor myself have been able to reproduce this, unfortunately.
Are you using any other mods?

Closing as no further response received and unable to reproduce.


No summaries found. error

Every time I try to use it I get the error 'We don't yet support summarization for any of the selected visuals."

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: cd4e3c8c-7520-684b-9a65-21c4e8b0c436
Version Independent ID: cd4e3c8c-7520-684b-9a65-21c4e8b0c436
Content: Create a narrative with Copilot for Power BI - Power BI
Content Source: powerbi-docs/create-reports/copilot-create-narrative.md
Service: powerbi
Sub-service: pbi-reports-dashboards
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @Alex-Rodriguez-StJude. This issue has been assigned to the doc author for review.


Can we adjust ui-grid height based on items per page?

Can we adjust ui-grid height based on items per page?
Or How to remove the vertical scroll bar?

You may want to look at #1735, #2746 and #3031

For vertical scroll bar removal use this -
enableVerticalScrollbar: 0,


High Sierra: updates for DB3 et al.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?

Nothing major.

:apple: :high_brightness: :mountain: :1st_place_medal: :3rd_place_medal:

Ta ❤


Link rotting and GitBook organization of pages

We had a small incident with broken links, so I figured it would be useful to write a post mortem with my findings:

A group of pages called collective will get the following URL: docs.opencollective.com/help/collectives.  All belonging pages will follow that naming scheme, i.e. the Creating a Collective page receives .../creating-a-collective.
The same will happen with main and subpages. The page Collectives has a couple of subpages. Its URL is also https://docs.opencollective.com/help/collectives. So GitBook ignores the group of pages and only renders the main page and its subpages.

Conclusion: GitBook generates URLs to groups of pages and parent pages with the same URL naming scheme. A parent page and its sub pages has more weight to GitBook than a group of pages.
I suspect something similar happened to The Open Collective Way pages, though they simply disappeared instead of just being broken. On my mirror on GitBook, however, everything worked normally. Maybe it was a bug, maybe it was something else. I'm not sure I'll get an answer on that anytime soon.
Questions:

How should we proceed with more aggressive changes? Should I stage them on a GitBook mirror first? GitBook acts up from time to time.
There will probably be a couple of broken links on the app as we make changes. Which repository should I search to keep those links up to date? I think I'm able to edit more complex files if the only thing that should be changed are URLs.

GitBook has a redirect functionality we can use (read more about it here https://docs.gitbook.com/integrations/github/content-configuration#redirects). I'll test it out.

Using redirects is probably good practice. However the number of links to the docs from the app and emails is small enough that we can probably also fix the URLs manually if changes are infrequent. I assume we'll be doing some restructuring as part of this docs project but after that it will be relatively stable.

Redirecting will cause more load on server side and would be less feasible
on client side due to time dependency. We need to think different to this.
What do you think ?
On Sat, 12 Oct 2019, 2:04 pm Alanna<EMAIL_ADDRESS>wrote:

Using redirects is probably good practice. However the number of links to
the docs from the app and emails is small enough that we can probably also
fix the URLs manually if changes are infrequent. I assume we'll be doing
some restructuring as part of this docs project but after that it will be
relatively stable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/documentation/issues/37?email_source=notifications&email_token=ACOBHKZE7SIGTOV4JFUT3YLQOGD2VA5CNFSM4I7G5J6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBZX3Y#issuecomment-541301743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBHKYFDJILSTUVFKBYZBLQOGD2VANCNFSM4I7G5J6A
.

@jaskirat2000 @alanna so replacing every hard coded link on the app, for instance, would be a better strategy?

Redirecting is fine. It's Gitbook's  servers, not ours so I'm not worried about server load :slightly_smiling_face: And since they offer the feature natively, I'd say we definitely need to go with the solution.
We'll also need to update the old links on frontend and API, but since we have them in a lot of places (including emails) redirecting is a good safety net.

I agree! I'll keep adding links to the .gitbook.yaml file.

Ohkay fine. We can go ahead with this
On Mon, 14 Oct 2019, 5:57 pm Anna e só<EMAIL_ADDRESS>wrote:

I agree! I'll keep adding links to the .gitbook.yaml file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/documentation/issues/37?email_source=notifications&email_token=ACOBHK4GPTCXNSFWGNXCTM3QORQURA5CNFSM4I7G5J6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBEOK2I#issuecomment-541648233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBHKY5CG5YTTXO2HGC443QORQURANCNFSM4I7G5J6A
.

Update after speaking with @contraexemplo - we will use redirects temporarily while the docs are being updated over the course of their project. Toward the end when the URLs stabilise, we will update them in the codebase so they point to the new addresses.

Happy to report that this problem has been fixed here:  opencollective/documentation@d187972
Additional discussion on the matter: https://github.com/opencollective/opencollective/issues/2600
Task completed! :tada:


GitHub Actions: Deprecated short SHA

On February 15th, GitHub Actions will remove support for referencing actions using the shortened version of a git commit SHA. This may cause some workflows in your repository to break. To fix these workflows, you will need to update the action reference to use the full commit SHA.
For example, if your workflow references actions/checkout@5a4ac90, you should change it to actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f. You can find the full commit SHA in the referenced action's repository.
This change is being made to align product functionality with our published security guidance which can be found at https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions

@tczekajlo @HotThoughts I don't know if it's already on your radar, but I thought I'd create the ticket for you! I've added it to your squad's inbox

@tczekajlo @HotThoughts I don't know if it's already on your radar, but I thought I'd create the ticket for you! I've added it to your squad's inbox

@m-vdb it's already on our radar :D https://github.com/RasaHQ/rasa-x/issues/4333 :D

@m-vdb it's already on our radar :D https://github.com/RasaHQ/rasa-x/issues/4333 :D

arf my bad, closing this one then 💯

arf my bad, closing this one then 💯


Error running ledfx

yaml.scanner.ScannerError: mapping values are not allowed here
in "C:\Users\Preston\AppData\Roaming.ledfx\config.yaml", line 3, column 5
install seemed to work fine, however getting this every time I try to run it.

Can you share your config.yaml?

got it, thanks for the help in discord!


Feature request - Add easing options

Hello, great library 👍
It would be even greater if there was the possibility to add easing options.
Thank you :)

It's a good idea.
Maybe you want to submit a PR to contribute to this project?
I'm currently on another projects so I won't be able to do it soon, however I let this issue open.


Add python to first code block in tutorial-1st-experiment-sdk-train.md

@natke : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @natke, thanks for your contribution, and for calling this to our attention!
I made some minor changes to your edits, in this PR.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/128819
I'll merge the changes now, you should see the updates live in a few hours.
#please-close this issue.


Parry improvements

Hiya,
Just a couple of small suggestions to make the parry a little bit more rewarding without going overboard.

If you have Thorns on your shield, a parry should guarantee Thorns damage instead of using the standard chance.
A parry should have a chance not to do any durability damage to your shield (like unbreaking). Generally in games with parrying, a parry takes less stamina than a block, so this is a way to immitate that.
As well as knockback, I think a parry should do a short stun so that an enemy cannot hit you immediately after the parry if you're moving towards them, giving you a chance to hit first. This could alternatively be a new enchantmet instead - in my opinion even replacing the increased knockback enchant because honestly there comes a point where you're knocking them back so far that you can't even follow up with a hit, which does more harm than good. I think a stun would be more useful than increased knockback.

Love the mod so far <3

Thank you for your suggestions, I will be considering them for the future.
Additionally, the first suggestion is already a feature in the mod.


Wrong link

There is also a PDF version of the Definitive Guide and a Definitive Guide Mirror which is updated every 15 minutes.
The link to PDF doesn't work. The requested URL /yii2-guide.pdf was not found on this server.

Which page are you talking about?

@samdark , this one https://github.com/yiisoft/yii2.

Fixed https://github.com/yiisoft/yii2/commit/50deb075c85e5cca2d285302c7d7d9210233af85

Thank you for the report


XRP connection timeout error given every time.

Faraday::TimeoutError wrapped=#<Net::ReadTimeout: Net::ReadTimeout

@oworldbankru Be more specific
Where did you get this error ?
Probably you have wrong Ripple node endpoint


Remove simple_alarm component

I have added this component as an example to the cookbook on the website.
I think that this component is not adding any real value to warrant a place in the main repo. It's actually simple enough to be a great example in the cookbook.
Please let me know if you disagree.

A cookbook example is a good idea and I'd argue that the removal of the component should coincide with its creation.

I used the alarm.com driver as my example for nx584. I think there are probably enough examples (and which aren't that hard to follow) in the tree. If this isn't actually useful for anything then it seems reasonable to remove.

Simple alarm could be useful or be a nice gimmick but I don't think anyone is using it. And if they are, they can follow the instructions on the cookbook to get started again.


[Error] The sources for assing MUST be an object.

Hey,
I was using react-navigation, but it is full of bugs and it lacks alot of functionality, so I decided to give router-flux a try.
After changing react-navigation code with router-flux, I get this error when I try to run the app:
http://imgur.com/a/kxrwp
I have no idea why I'm getting this error. I've tried running the example app and it works perfectly, so it must be something on my app, but I have no idea what.

Sorry, it is impossible to say something without code. Please fork & modify Example to reproduce issue.

@aksonov I've added one screen at a time and it worked :) but unfortunetly the lib won't solve the problem I was having... I thought It was a problem with react-navigation, but I guess not.
Everytime I rotate the device, on a child screen, the transition is not smooth at all. Only on parent screens re-renders smoothly. This is the problem I'm having: https://vid.me/hhE3A
I know it's not related with this library, but I'm hoping that someone knows how to fix it.

Sorry, can't help here. RNRF doesn't do any transition, it is job of react-navigation (for v4). So create issue at react-navigation github (but create pure react-navigation demo before). Make sure that you don't do any processing during device rotation.


Contact us form bug and enhancement

Issue Template
Issue type
Contact us form bug and enhancement

Bug
Feature request

Description
Whether the user is logged in or not in the contact us page need to implement form validation , the actual behaviour is if we click the submit button without filling the form it is getting submitted directly

Steps to reproduce

just go to contact us page
submit the form in the blank

Expected behavior
What should happen?
Hence we have mongo db on our backend , we can create separate contact us api, we can integrate the api in front end with form validation using react-hook-forms or regex . In this method we have more control over our application. we can store all the contact us query details in our backend
What version of the software are you using?
node v18.18.0
What operating system and hardware are you using?
windows
if u find this concern helpful please assign it to me i can work both react and node

Hey @MohankumarMarimuthu ,
Sure! You can start working on this issue.
Kindly read the Contributing Guidelines carefully.
Thank You

@MohankumarMarimuthu
Are you going to integrate contact us form submission with mongo db ?

@AnupK1234 yes, i made that way form submission has been done with mongo db please refer the pull request


render: increase checkpointer grace period to 10m

We seem to hit this a lot in e2e. Bumping to see if it impacts the flakes.
cc @dghubble @rphillips @diegs

ref https://github.com/kubernetes-incubator/bootkube/pull/888#issuecomment-365101907

According to @diegs the grace period is the time between the checkpointer believing the API server is alive and it actually deleting the checkpointed API server (or whatever other pod it's checkpointing). "Hitting the grace period" is normal and isn't something we should worry about.

The states (including the grace period ones) have some godoc that describes how they fit together:
https://github.com/kubernetes-incubator/bootkube/blob/master/pkg/checkpoint/state.go


[versions] update to latest source span and roll engine to  4b8477d11573d233e6791204191c0090f733b05d

Description
<EMAIL_ADDRESS>2020-09-17<EMAIL_ADDRESS>Roll Dart SDK from fcaedc6d9587 to 2cec6af2652f (1 revision) (flutter/engine#21257)
2020-09-17<EMAIL_ADDRESS>Disable ShellTest.SkipAndSubmitFrame for flakes (flutter/engine#21254)
2020-09-17<EMAIL_ADDRESS>Roll Skia from 45f41b376260 to c21dc07a78b9 (4 revisions) (flutter/engine#21250)
2020-09-17<EMAIL_ADDRESS>Add --enable-isolate-groups to allowed flags in switches.cc (flutter/engine#21149)
2020-09-17<EMAIL_ADDRESS>[web] Remove commented import (flutter/engine#21247)
2020-09-17<EMAIL_ADDRESS>Roll Skia from 12d06a38427d to 45f41b376260 (6 revisions) (flutter/engine#21249)
2020-09-17<EMAIL_ADDRESS>Add support of cross-building the engine for ARM64 Linux Host (flutter/engine#20254)
2020-09-17<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from 91U3isvKn... to Qi0ptKLxN... (flutter/engine#21246)
2020-09-17<EMAIL_ADDRESS>[web] run safari desktop tests on luci (flutter/engine#21228)
2020-09-17<EMAIL_ADDRESS>avoid hard coding OS (flutter/engine#21248)
2020-09-17<EMAIL_ADDRESS>Roll Dart SDK from 99970d646dc9 to fcaedc6d9587 (3 revisions) (flutter/engine#21245)
2020-09-17<EMAIL_ADDRESS>[fuchsia] set maxframesinflight to be configurable (flutter/engine#21152)
2020-09-17<EMAIL_ADDRESS>Roll Skia from 51a7f9559ad4 to 12d06a38427d (3 revisions) (flutter/engine#21244)
2020-09-17<EMAIL_ADDRESS>Roll Skia from f9fdf291c567 to 51a7f9559ad4 (5 revisions) (flutter/engine#21242)
2020-09-17<EMAIL_ADDRESS>Roll Dart SDK from eb24e3324908 to 99970d646dc9 (1 revision) (flutter/engine#21239)
2020-09-17<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 13BzEPO47... to 2nHpC_AEO... (flutter/engine#21238)
2020-09-17<EMAIL_ADDRESS>Roll Skia from bf66ffbbd4ce to f9fdf291c567 (1 revision) (flutter/engine#21235)
2020-09-17<EMAIL_ADDRESS>Roll Dart SDK from e41a6008746d to eb24e3324908 (1 revision) (flutter/engine#21233)
2020-09-17<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from G5UItrFeP... to 91U3isvKn... (flutter/engine#21232)
2020-09-17<EMAIL_ADDRESS>Roll Skia from 2564767d24e5 to bf66ffbbd4ce (27 revisions) (flutter/engine#21230)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from G5UItrFeP96D to Qi0ptKLxNLDk
fuchsia/sdk/core/mac-amd64 from 13BzEPO47Hu7 to 2nHpC_AEOz0o
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
Fixes https://github.com/flutter/flutter/issues/66132

FYI path_provider windows broke web compilation. it looks like it dart:ffi is reachable  where it wasn't before. @stuartmorgan
[web_benchmarks_html] [STDOUT] Executing: /b/s/w/ir/k/flutter/bin/flutter build web --dart-define=FLUTTER_WEB_ENABLE_PROFILING=true --profile -t lib/web_benchmarks.dart in /b/s/w/ir/k/flutter/dev/benchmarks/macrobenchmarks
[web_benchmarks_html] [STDOUT] stdout: Downloading Web SDK...                                              1.0s
[web_benchmarks_html] [STDOUT] stdout: Compiling lib/web_benchmarks.dart for the Web...
[web_benchmarks_html] [STDOUT] stderr: Target dart2js failed: Exception: ../../../../../cache/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.2/lib/path_provider_windows.dart:7:8:
[web_benchmarks_html] [STDOUT] stderr: Error: Not found: 'dart:ffi'
[web_benchmarks_html] [STDOUT] stderr: import 'dart:ffi';
[web_benchmarks_html] [STDOUT] stderr:        ^
[web_benchmarks_html] [STDOUT] stderr: ../../../../../cache/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:6:8:
[web_benchmarks_html] [STDOUT] stderr: Error: Not found: 'dart:ffi'
[web_benchmarks_html] [STDOUT] stderr: import 'dart:ffi';
[web_benchmarks_html] [STDOUT] stderr:        ^
[web_benchmarks_html] [STDOUT] stderr: ../../../../../cache/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:6:8:
[web_benchmarks_html] [STDOUT] stderr: Error: Not found: 'dart:ffi'
[web_benchmarks_html] [STDOUT] stderr: import 'dart:ffi';
[web_benchmarks_html] [STDOUT] stderr:        ^
[web_benchmarks_html] [STDOUT] stderr: ../../../../../cache/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:5:8:
[web_benchmarks_html] [STDOUT] stderr: Error: Not found: 'dart:ffi'
[web_benchmarks_html] [STDOUT] stderr: import 'dart:ffi';
[web_benchmarks_html] [STDOUT] stderr:        ^
[web_benchmarks_html] [STDOUT] stderr: ../../../../../cache/.pub-cache/hosted/pub.dartlang.org/win32-1.7.1/lib/src/callbacks.dart:7:8:


Disable default criterion features

Summary
This PR removes unneeded criterion features.

Current dependencies on/for this PR:

main

PR #7241   👈

This comment was auto-generated by Graphite.


can't remove metadata  on shared image

I tested my project with libvips 8.9 and get lots of
can't remove metadata "orientation" on shared image
warnings. This seems to be expeced according to https://github.com/libvips/libvips/pull/1483 and https://github.com/lovell/sharp/issues/1986
Is this something, which can be improved in the extension or do I have to copy images before applying metadata changes in my application code?

Hi @chregu,
Yes, this is a change for 8.9. You must always copy images before modifying metadata. copy is very quick (all it does is copy some pointers) so there's no performance implication.
You were always supposed to copy before modify, it just wasn't enforced.

I've not actually tested php-vips with 8.9 yet, does the test suite pass?

Thanks for the response, will adding those copy calls then to my code.
I didn't check the test suite, but my own tests still work, as far as I can tell.


Appstudio update test-component-pac-vqbe

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-vqbe-on-pull-request has successfully validated your commit.


Native executables and WebAssembly port

I started with targeting WASM initially as it can be run in the browsers, and the VSCode extension distribution is trivial.
However there are a few issues:

build times are worse (due to additional steps) and debugging is awful
it requires a shim of javascript for i/o
worse performance (no threads available)

So right now I left the WASM builds as-is, and switched to a native executable for the initial development.
I will also clean up any unnecessary WASM-related build steps and javascript shims to make contributions easier.
The big question is how to port Rhai LSP to browsers. There are several options:

target WASI, we would have i/o but still no threads, and the state of WASI still seems very experimental
target WASM with a javascript layer, this is already what we had and turned out to be rather cumbersome
do not port at all, and always require the LSP to run somewhere outside of the browser or vscode extensions

The big question is how to port Rhai LSP to browsers. There are several options:

Is this necessary?  I would have thought a WASM runtime is already flexible enough...

The big question is how to port Rhai LSP to browsers. There are several options:

I would have thought a WASM runtime is already flexible enough...

It is not, as I mentioned, there is no i/o, threading, both of which should be handled when targeting WASM.

Ah, ok... now I understand.  However, I'd say that it would be a huge feat if you can make WASM work.  An LSP in WASM would avoid the need to pre-package a lot of pre-built binaries for different OSs.

If we don't find better alternatives, I think we can do the same thing I did with taplo. Which means defining "external" functions that cannot simply be done in WASM (such as i/o), and then just use wasm-bindgen and a javascript shim over them, and also switch the runtime from tokio to the one available in javascript (as there is no threading, and no async in WASM either).

switch the runtime from tokio to the one available in javascript

Is multi-threading a necessity in an LSP?  I don't know much about one so I can't guess.

Not sure if this would be useful: https://www.osohq.com/post/building-vs-code-extension-with-rust-wasm-typescript

Is multi-threading a necessity in an LSP? I don't know much about one so I can't guess.

It's not necessarily, it's not even possible in WASM (out of the box), but it obviously helps with performance.

Not sure if this would be useful: https://www.osohq.com/post/building-vs-code-extension-with-rust-wasm-typescript

Thanks, it looks like the same approach I outlined.

This was merged in #79.


api: Add setaltsig endpoint.

Problem:
Trezor cannot passively sign messages to vspd. This presents some difficulties for managing tickets purchased with trezor.
Solution:
Allow adding an optional alternate signing path via POST /api/v3/setaltsig. This endpoint will require having an active ticket, and a signature corresponding to that ticket's commitment address. It accepts a public key that can be used in future requests to verify the signature for requsting the fee, paying the fee, retrieving ticket status, and changing vote preferences. Only one alternate need be saved, and calling this method again will set the current alt signature`s address to the new one without error. The address that verifies the alternate signature will be saved in persistent storage.
Preexisting endpoints will need an optional boolean field called usealtsig which is false by default. If true, signatures of json message will be verified using the address in storage. I believe that using a separate route to add an alt sig means this is backwards compatible with current vspd. If the .../setaltsig doesn't exist on the vspd, the caller can assume the vspd is the wrong version and fail before attempting to request the fee (but after buying the ticket...).

I haven't heard any objections to this, so will attempt to clean up some of the language around the signing key to make way for these changes.

I think set is better than add as it is rather like setvotechoice as you can set it again later.

As I was making these changes, I realized that in order to keep two way accountability true, the server must keep proof that the user set another signing key. I included a solution in the linked pr. It saves the reqs, signatures, and verifying addresses in the db. Only three are currently allowed though to disallow abuse of the database.

I was trying to wrap my head around this but some bits were hard to understand:

/setaltsig reads like it adds a signature but it actually adds an address (essentially a key), right?

Where the "alt address" is coming from in the Trezor+VSP staking flow?

What is "passive signing" and why Trezor cannot do it?

On 1, I think you raise a good point here, and its probably worth renaming this to be more descriptive before it gets released and used by clients. The endpoint is adding an alternative signing address for a ticket, so I think /setaltsignaddr would be more accurate.
I'll leave 2 and 3 for @JoeGruffins because he is more informed than me, but yes, the alternate signing address is produced during Decrediton/Trezor/VSP interactions.
The ultimate goal of this work is to improve Trezor user experience by reducing the number of interactions required with the  device when buying a ticket. Currently the process requires a lot of tapping/pressing/scrolling, and this should reduce that considerably. Again - I'll let Joe elaborate on the details.

The endpoint is adding an alternative signing address for a ticket, so I think /setaltsignaddr would be more accurate.

Oh definitely. If not too late, that little addr in the API (and across the code) would make a difference. After reading #287 (w/ reviews), this issue, and closely following the code, it still felt odd and so I asked here to double check.