BT: osi_mem_dbg_record invalid !! & E (6462) BT: btc_gatts_arg_deep_copy 9 no mem

I am getting these error messages coming out, and lots of strange corruption in Serial, so memory based, the code kind of works but missing the descriptor and device name in a BLE scanner?
this at the start
E (4918) BT: bta_gattc_co_cache_addr_init, Line = 333, nvs flash get blob data fail, err_code = 1102
E (4942) BT: osi_mem_dbg_clean full future_free 97 !!
and then later on these messages....
E (6452) BT: osi_mem_dbg_record invalid !!
E (6462) BT: btc_gatts_arg_deep_copy 9 no mem\
I have played with Bluetooth event size, what should the
BLE will first malloc the memory from PSRAM
and
Use dynamic memory allocation
be set to.
code is as follows
void start_ble (String airwhereID)
{
//std::string airwhereID1=airwhereID.;

    BLEDevice::init("AirWhere BLE");

	// 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_RXTX,
		BLECharacteristic::PROPERTY_NOTIFY| BLECharacteristic::PROPERTY_WRITE| BLECharacteristic::PROPERTY_READ | BLECharacteristic::PROPERTY_WRITE_NR
	);

	pCharacteristic->addDescriptor(new BLEDescriptor(CHARACTERISTIC_UUID_RXTX_DESCRIPTOR));
	BLECharacteristic *pCharacteristic = pService->createCharacteristic(
	CHARACTERISTIC_UUID_DEVICENAME,
	BLECharacteristic::PROPERTY_READ
	);

	pCharacteristic->setValue("esp32ble-hm10");
	pCharacteristic->setCallbacks(new MyCallbacks());
	Serial.println("Starting BLE ");
	// Start the service
	pService->start();

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

}
Thanks

Fixed by latest install of esp idf


You can easily remove all the swap files from your repository like this..

Add
*~

to your .gitignore , since you have the files in the repo right now, you will have to manually delete them for once now.
Also you can put this in your .emacs to move them completely into a separate dir
;;Put backup files neatly away
(let ((backup-dir "~/.emacs.d/Emacs/backups")
      (auto-saves-dir "~/.emacs.d/Emacs/autosavedir/")
      )
  (dolist (dir (list backup-dir auto-saves-dir))
    (when (not (file-directory-p dir))
      (make-directory dir t)))
  (setq backup-directory-alist `(("." . ,backup-dir))
        auto-save-file-name-transforms `((".*" ,auto-saves-dir))
        auto-save-list-file-prefix (concat auto-saves-dir ".saves-")
        tramp-backup-directory-alist `((".*" . ,backup-dir))
        tramp-auto-save-directory auto-saves-dir
        )
  )
(setq backup-by-copying t    ; Don't delink hardlinks
      delete-old-versions t  ; Clean up the backups
      version-control t      ; Use version numbers on backups,
      kept-new-versions 3    ; keep some new versions
      kept-old-versions 2)   ; and some old ones, too

Great thanks, I will take care of that as soon as possible.


 We will have until Aachen at least 2 types: cart payments and user deposits.
Should those be kept as generic as possible, i.e. in both cases there is an amount, a user (either paying the cart or making the deposit), and so on, and it's up to the client to figure out which is which case, or should those be returned with custom field names, i.e. customer for cart payments and payee for deposits?

Both options would be totally ok. The question at hand is: Do you plan to reference the paid cart with its items in some way? Or more general: How do you keep track about which items a user bought? I think the most elegant way would be to keep the cart with its items in the system and lock it when creating the transaction. Then for each transaction it would be sufficient to reference either a cart entity or a deposit entity.

Transactions relating to cart payments look something like that in the backend:
{
  "buyer_name": "Joe Smith",
  "user_id": "123",
  "total_price": "1000",
  "transaction_items": [
    "product_id": "123",
    "price": "200",
    "quantity": "5"
  ]
}

The structure is similar to the cart, but denormalises some stuff so that the name of the buyer and the price and name of the product at the moment of the purchase are stored with the transaction.
I'll probably go with the generic version though, with a transaction_type so that the client can decide what to do with it.
I'll have to decide whether to have a "product" called deposit so that deposit transactions don't have empty transaction_items or not. Tying them to a special product has the benefit of being able to query those as would be possible with "other products".

See http://thegcat.github.io/oskiosk/#!/transactions/Transactions_create for an example of what a Transaction response looks like.


[BUG] Beam-compare (fusion) bug

Description
if I dont press 2x/4x/8x and just manually add models, generate for eg 4x responses it seems the beam “compare” feature does not work properly(?) and generates hallucinating answers in the fusion-compare (r1,r2,r3,r4 comparison)
Also when putting Response 1, 2 ,3 ,4 it would be better if it would point at the exact response, as its a pain in the ass to read the comparisons and try to guess in which order is it talking about the answers.
Device and browser
Macbook Pro M2

There's a "show response numbers" option in the "..." menu, which will help with the identification of the response numbers.

There's a weak link to the responses because by the time the Comparison has finished, there's a chance the user has deleted/moved/regenerated the response, so there's that to consider. The UI will have to be much more dynamic, at this time, to accomodate for a better implementation.
You will hopefully find the next version of Beam (to be released in hours) to be more UX friendly already.


typo Infrastruture

typo Infrastruture

Docs Build status updates of commit c47d310:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/performance/query-profiling-infrastructure.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off


Enhancement: Better animation control on single slide.

Definitely not rush, but while creating slide I found it a little bit limiting to create more advanced animations.
Let's consider the following:

4 snap elements, some images etc
I want to add another snap with image can use fragment
I want now another snap with image, can use fragment
Now I want to remove snaps with 2 & 3 and add different snap with image. I have to copy whole slide.
Now I want to give opacity 70% of element from 4 and add another snap - again, I have to copy whole slide..

It would be nice to do all those operations using some kind of control, similar to @... on live coding. It would hard to reference those, but still. Some idea to think about (:

Also sometimes I want to add two fragments at once (:

Thanks for the feedback and ideas. I'll keep this open as an RFE and see if the thread attracts upvotes and/or additional suggestions regarding these types of animations.

With the release of GitPitch 4.0 you can now use grid synchronization to display individual fragments or multiple-fragments simultaneously on any slide. To display multiple-fragments simultaneously specify a matching integer value on the sync= property for one or more layout blocks. For example:
[drag=50 100, drop=left, sync=1]
# Hello

[drag=50 100, drop=right, sync=1]
# World

One request on this thread was to remove content that had already been rendered on your slide. This is not supported directly. Although  you could create a step that overlays empty layout blocks on top of the content you want to disappear. Simply activate a color background for the empty blocks that matches the background color of your slide.
Closing this RFE as implemented.

This is amazing!
On Mon, 5 Oct 2020 at 09:25, David Russell<EMAIL_ADDRESS>wrote:

With the release of GitPitch 4.0
https://twitter.com/gitpitch/status/1310868554296815618 you can now use grid
synchronization https://docs.gitpitch.com/#/grid-layouts/synchronization
to display individual fragments or multiple-fragments simultaneously on any
slide. To display multiple-fragments simultaneously specify a matching
integer value on the sync= property for one or more layout blocks. For
example:
[drag=50 100, drop=left, sync=1]# Hello
[drag=50 100, drop=right, sync=1]# World
One request on this thread was to remove content that had already been
rendered on your slide. This is not supported directly. Although you could
create a step that overlays empty layout blocks on top of the content you
want to disappear. Simply activate a color background
https://docs.gitpitch.com/#/grid-layouts/backgrounds for the empty
blocks that matches the background color of your slide.
Closing this RFE as implemented.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gitpitch/gitpitch/issues/308#issuecomment-703482649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA3OYFYLKTQLCYFX7F7LDSJF7HBANCNFSM4OABGJOA
.

Glad you like it. If you do try out 4.0 I'll be very interested in any feedback you have to share. Drop me an email anytime or you can DM me on Twitter. Cheers, David.


Build failure during ./build.sh but appears to continue

Please provide a succinct description of the issue.
Repro steps
Provide the steps required to reproduce the problem

.build.sh

Expected behavior
build succeeds with no errors.
Actual behavior
Build fails with:
Errors in packages.config projects
    Error downloading 'NUnitLite.3.5.0' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/nunitlite/3.5.0/nunitlite.3.5.0.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'BenchmarkDotNet.0.9.8' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/benchmarkdotnet/0.9.8/benchmarkdotnet.0.9.8.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'BenchmarkDotNet.Diagnostics.Windows.0.9.8' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/benchmarkdotnet.diagnostics.windows/0.9.8/benchmarkdotnet.diagnostics.windows.0.9.8.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'VisualCppTools.14.0.24519-Pre' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/visualcpptools/14.0.24519-pre/visualcpptools.14.0.24519-pre.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'Microsoft.FSharp.TupleSample.1.0.0-alpha-161121' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/microsoft.fsharp.tuplesample/1.0.0-alpha-161121/microsoft.fsharp.tuplesample.1.0.0-alpha-161121.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'Microsoft.VSSDK.BuildTools.15.0.26201' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/microsoft.vssdk.buildtools/15.0.26201/microsoft.vssdk.buildtools.15.0.26201.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'FSharp.Compiler.Tools.<IP_ADDRESS>' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/fsharp.compiler.tools/<IP_ADDRESS>/fsharp.compiler.tools.<IP_ADDRESS>.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
    Error downloading 'StrawberryPerl<IP_ADDRESS>.1' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/strawberryperl64/<IP_ADDRESS>/strawberryperl<IP_ADDRESS>.1.nupkg'.
    An error occurred while sending the request
      Error: SecureChannelFailure (The authentication or decryption has failed.)
      The authentication or decryption has failed.
      Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.. ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.
        at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.Socket.BeginSend (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socket_flags, System.AsyncCallback callback, System.Object state) [0x00000] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x000b4] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
         --- End of inner exception stack trace ---
        at System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.AsyncCallback callback, System.Object state) [0x00113] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback callback, System.Object state) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
        at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase+InternalAsyncResult asyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
      Unable to write data to the transport connection: Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'..
      Cannot access a disposed object.
      Object name: 'System.Net.Sockets.Socket'.

Related information
Provide any related information

Operating system osx
mono-4.8.0-branch/e4a3cf3

Error downloading 'NUnitLite.3.5.0' from 'https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/nunitlite/3.5.0/nunitlite.3.5.0.nupkg'.
An error occurred while sending the request
wtf is that url? Do you have machine wide nuget.config?


Layout: Small issue on the dialog window

Hi, a small layout issue, this field for high spinner is to big. I#m using FlatLaf dark mode, it looks very well
https://www.sweethome3d.com/support/forum/viewthread_thread,12872_lastpage,yes#62795

probably Panel.java:
lines 324-326
add(heightSpinner, new GridBagConstraints(             3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START,             GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));`
should be
add(heightSpinner, new GridBagConstraints(             3, 2, 1, 1, 0, 0, GridBagConstraints.LINE_START,             GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));

Thanks for that!
First time developing in Java in ~20 years, let alone GUI. That was probably a result of copy-pasting from various examples...


Event Note Links: fix bug with links not being displayed on save

Bug shown in this GIF:

Upon further investigation I can't actually replicate this bug.


construct 'lnotab' byte string for code objects

The intention of this change is to eventually be able to support runtime mapping of line numbers for code objects. What CPython does is to pack a byte code offset to line number offset map into a byte string and store it in the code object. This is what this patch does as well, so that the line number could be computed by CPython by simply using current source line  -  first source line of function as a fake byte code offset for Cython functions when tracing or raising an exception. This will allow reuse of the code object over the whole body of a function.
A current problem is the syntax tree layout for Cython functions that have a code object. Here, the code object lives outside of the function, specifically in the fused functions object. It would be better to move it inside of the function itself, where the function code could use it. This is not entirely trivial because the fused function code currently reuses one code object for all specialisations, which doesn't work well with the idea of letting each separate function own it.
By itself, this patch isn't very interesting because Cython does not currently use byte code offsets in frame objects. But it's the first non-trivial step in that direction and should be applied at some point before refactoring the syntax tree.

Can you please rebase this PR?
It has some merge conflicts.

updated to latest master

woot and everything works.
Why isn't this merged yet?

because there is no use case that I know of - what do you use it for?

Or, well, let's put it differently - it isn't useful all by itself for existing tools. I guess custom user code could make use of it, though.

To my understanding this PR will allow coverage.py to report coverage on cython modules which is useful.

did you try it?

Nope not yet.

Tried it (it's been a while...) and it doesn't help. In fact, tracing works just fine, it's just that coverage.py gets it wrong somehow (it fails to keep track of when it's in a function or not). Might be something simple to improve in Cython, but it might also just be a bug (or missing feature) in coverage.py. But that's not related to this pull request. The users mailing list is a better place to discuss this if you're interested.

Closing since lnotab is deprecated by PEP 626.


chore: release  operator-chart 0.1.1

:package: Staging a new release
0.1.1 (2023-03-14)
Bug Fixes

mp-spdz/operator-chart: empty commit to trigger publication of artifacts (#30) (f9beb81)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carbynestack/klyshko/releases/tag/operator-chart-v0.1.1 :sunflower:


not able to get this plugin working in ionic

i need help please , can anyone tell me how to get this plugin working or refer me to an working example please .

I'm having an issue with ionic 3.
this.photoLibrary.requestAuthorization() It never show the pop up, to give access.

Did you manually put in the use description on XCode? The CLI doesn't always work.

I have the same problem. this.photoLibrary.requestAuthorization() is not showing a pop up on ios 11.It is always goes to catch block
this.photoLibrary.requestAuthorization().then(() => {
            this.photoLibrary.getLibrary().subscribe({
                next: library => {
                    library.forEach(function (libraryItem) {
                        console.log(libraryItem.photoURL);
                    });
                },
                error: err => {
                    console.log('could not get photos');
                },
                complete: () => {
                    console.log('done getting photos');
                }
            });
        }).catch(err => {
                console.log('permissions weren\'t granted');
            });

Also on the android 4.4.2 it loads all the photos without asking permission.
Is there anybody knows the reason?
Thanks

Hey, I have the same problem with this.photoLibrary.requestAuthorization() and it is not allowing permissions, I'm running my App on Ionic DevApp to download images to PhotoLibrary, please help me to fix this issue.

I got into the same issue.
this.photoLibrary.requestAuthorization() always throws an error.

Same here. this.photoLibrary.requestAuthorization() throwing an error.


capability to change table name

This is to add a capability to change the hard-coded table name. With this feature, users can configure the table name in the initializer script like:
Delayed::Backend::ActiveRecord::Job.set_delayed_job_table_name("my_lazy_jobs")

@albus522 Is there any inherent objection to this change, or it just went below radar?

This change is not needed to be able to change the table name. The method in question is only ever called once when that file is loaded. Use
Delayed::Job.table_name = 'whatever_you_want'

and you are good to go.

Oh wow, sorry for noisy bump 😓


Introduce new flags for Jaeger OTEL components

At the moment Jaeger OTEL collector exposes legacy Jaeger flags. This was a priority to make migration as easy as possible (almost drop-in replacement). However in the context of the OTEL collector these flags are hard to understand because they are not properly scoped under appropriate OTEL components (receiver, exporter etc.).
Therefore I propose to keep legacy flags as deprecated and introduce a set of new flags that will be better aligned with OTEL components. For instance, Jaeger receiver flags could have prefix --recevier.jaeger and exporter --exporter.jaeger. We can discuss other naming conventions.
Current set of flags exposed by Jaeger OTEL components
Jaeger exporter flags and receiver for sampling strategies(to retrieve sampling strategies from remote collector):
      --reporter.grpc.host-port string                     Comma-separated string representing host:port of a static list of collectors to connect to directly
      --reporter.grpc.tls                                  (deprecated) see --reporter.grpc.tls.enabled
      --reporter.grpc.tls.ca string                        Path to a TLS CA (Certification Authority) file used to verify the remote server(s) (by default will use the system truststore)
      --reporter.grpc.tls.cert string                      Path to a TLS Certificate file, used to identify this process to the remote server(s)
      --reporter.grpc.tls.enabled                          Enable TLS when talking to the remote server(s)
      --reporter.grpc.tls.key string                       Path to a TLS Private Key file, used to identify this process to the remote server(s)
      --reporter.grpc.tls.server-name string               Override the TLS server name we expect in the certificate of the remove server(s)
      --reporter.grpc.tls.skip-host-verify                 (insecure) Skip server's certificate chain and host name verification

Jaeger receiver flags:
      --processor.jaeger-binary.server-host-port string    host:port for the UDP server (default ":6832")
      --processor.jaeger-compact.server-host-port string   host:port for the UDP server (default ":6831")

      --collector.grpc-server.host-port string             The host:port (e.g. <IP_ADDRESS>:5555 or :5555) of the collector's GRPC server (default ":14250")
      --collector.grpc.tls                                 (deprecated) see --collector.grpc.tls.enabled
      --collector.grpc.tls.cert string                     Path to a TLS Certificate file, used to identify this server to clients
      --collector.grpc.tls.client-ca string                Path to a TLS CA (Certification Authority) file used to verify certificates presented by clients (if unset, all clients are permitted)
      --collector.grpc.tls.client.ca string                (deprecated) see --collector.grpc.tls.client-ca
      --collector.grpc.tls.enabled                         Enable TLS on the server
      --collector.grpc.tls.key string                      Path to a TLS Private Key file, used to identify this server to clients

      --collector.http-server.host-port string             The host:port (e.g. <IP_ADDRESS>:5555 or :5555) of the collector's HTTP server (default ":14268")
      --collector.zipkin.host-port string                  The host:port (e.g. <IP_ADDRESS>:5555 or :5555) of the collector's Zipkin server (default ":0")
      --http-server.host-port string                       host:port of the http server (e.g. for /sampling point and /baggageRestrictions endpoint) (default ":5778")

      --jaeger.tags string                                 (deprecated, use --resource.labels) One or more tags to be added to the Process tags of all spans passing through this agent. Ex: key1=value1,key2=${envVar:defaultValue}

      --sampling.strategies-file string                    The path for the sampling strategies file in JSON format. See sampling documentation to see format of the file

Attribute processor tags:
      --jaeger.tags string                                 (deprecated, use --resource.labels) One or more tags to be added to the Process tags of all spans passing through this agent. Ex: key1=value1,key2=${envVar:defaultValue}

Other flags:
      --config-file string                                 Configuration file in JSON, TOML, YAML, HCL, or Java properties formats (default none). See spf13/viper for precedence.

cc) @jaegertracing/jaeger-maintainers

The deprecated flags would be removed later in the future e.g. 2.2 release.

Agree with the approach.
Although, as migration from existing Jaeger components to the OTelCollector based components may not happen immediately, we probably will need to leave them in for longer than a couple of minor releases.
Would it also be possible to have use of deprecated flags reported as a warning? To act as a reminder to update.

Yes, that would be ideal. Viper exposes IsSet that can be used for this purpose.

Since the new flags won't satisfy the drop-in replacement requirement, do we even need them? As I understand the real OTEL collector doesn't support flags, only config file. Could we just go with their approach as well?

I think OTEL also provides the notion of default configuration. So it's really the question of overriding just very small portions, like a single address.
I don't have a strong opinion. It seems that config-only approach is pretty common, e.g. Prometheus also uses it afaik, not just OTC. But then both OTC and Prometheus are just single binaries, whereas Jaeger components need to be connected together, which is harder with configs (e.g. how to bring the full stack in docker-compose?)

I think OTEL also provides the notion of default configuration.

Could you provide more details? I don't think there is a default configuration in the sense that OTEL will use a set of components if the config is not provided.

Basing it purely on remembering seeing functions like "getDefaultConfig". You may be right that the selection of components is not defaulted.

almost drop-in replacement

What is preventing it from being a drop-in replacement?

Here are some docs https://www.jaegertracing.io/docs/1.18/opentelemetry/#compatibility

The differences are:
Health check port changed to 13133
Not all current Jaeger flags are exposed (e.g. health check port)
Exposed metrics

This? If so, then the flags people are currently using should just work with the new components (except for health check port), right? That's pretty minor, IMO.

Correct, although it's worth documenting all the changes and then compile that to a migration guide. Also not all flags are supported in the OTEL build.


Add branch coverage test for parseVariable

Branch coverage for parseVariable from /internal/shader/shader.go

Branch coverage is 21,4% (more precisely .21428571428571428571)


FORMS-203 # avoid double #initializeView()

ElementModel was originally hitting #initializeView() in its constructor
since this happens later anyway, we don't need to do this here
fix DateModel now that it can't depend on an early View

results: Chrome on MacBook Pro R-15 2012

form initialisation (test/27_performance) from 4047ms down to 1750ms

results: Nexus 7 2012

form initialisation (test/27_performance) from 80457ms down to 31668ms

Based on work over in https://github.com/blinkmobile/forms/pull/15

lgtm :+1:

UX review by @rayron and @rachelhughes

LGTM :+1:


Support loading profile files via environment / k8s secrets

Solution:
Set two environment variables for every file, one is a path, the other is contents. The contents are base64 encoded and this decodes it on startup and writes the file to that path. This way you can have one image for most of the controllers and just overwrite the profile on startup.
Example Go code (as an example, taken from another project of mine):
package main

import (
	"encoding/base64"
	"io/ioutil"
	"log"
	"os"
	"path/filepath"
)

func envToFile(b64, path string) error {
	b, err := base64.StdEncoding.DecodeString(b64)
	if err != nil {
		return err
	}
	if err := os.MkdirAll(filepath.Dir(path), 0777); err != nil {
		return err
	}
	return ioutil.WriteFile(path, b, 0666)
}

func requireFile(b64, path string) {
	if err := envToFile(b64, path); err != nil {
		log.Fatalln("could not write to", path, ". error:", err)
	}
}

This issue is to write something like this in typescript for aries-controller to generate files on startup from environment variables.

The benefit of this approach is that we will need less customization in the docker images of individual controllers, as all the custom profile configuration can be supplied via the command line.

closing due to project shutdown


Refresh .NET article: Send data with WebRequest class

Summary
Task 1409954: https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1409954/
Verify content freshness for /dotnet/framework/network-programming/how-to-send-data-using-the-webrequest-class

Thanks @rpetrusha, I've incorporated your review comments.

Thanks, @dksimpson. I'll merge your PR now.


Meme Generator

Make me laugh
Build a meme generator that adds custom text to an image, allowing users to create memes on the fly by adding captions to popular images.

#139
if you are unsatisfied, please give me more suggestions.


Ability to link object types

Is your feature request related to a problem? Please describe.
Unable to create a link inside parameters docstring
Describe the solution you'd like
I woiuld like the ability to link my parameters object types to their definition. Ie the user can click on the parameter's type field, and be taken to my definition of said type
Describe alternatives you've considered
N/A
Additional context
N/A

Hello @LordOfPolls, thank you for the feature request :slightly_smiling_face:
I'm currently prototyping a better data extractor to replace pytkdocs, which is quite limited by its design (loading and introspecting code). The ability to link object types is definitely planned for mkdocstrings and the new extractor.

Awesome. Appreciate the hard work.
I don't suppose there's an ETA on thst? Or is it too soon to say?

Hmmm, it's progressing well, and maybe I'll be able to release a beta in something like a month, but it will probably not have feature parity with pytkdocs.

Thanks a lot, ill keep an eye out for that release

Any update on this?

My previous ETA for a beta was pretty optimisitc 😅 But yeah, updates: the data extractor (griffe) is almost ready (namespace package support turns out to be quite complicated) for wild beta-testing. Just one or two PR to merge into mkdocstrings and you'll be able to try it (with git installs). A few more PRs and releases and you'll be able to depend on everything with mkdocstrings[python] 🙂
Then the extractor will need some refining for cases where simply visiting the AST is not enough and hybrid visit+inspection is required. But it's already nicely laid out.

Now available! See https://mkdocstrings.github.io/handlers/overview/#about-the-python-handlers
Automatic cross-refs for every annotations :drooling_face: :rocket: :heart: :star:

Unforuntately it appears the new handler can't read my codebase. So far i've come accross 2 issues that im unsure if are caused by issues in my codebase, or with the new handler.

loader.py:282 - charmap cant decode character.

Resolved by changing line to code = module_path.read_text("utf-8")

rendering.py: 109 - TypeError: '<' not supported between instances of 'NoneType' and 'int'

I'm unsure if these are being caused by Griffe, mkdocstrings, or my codebase, so im unsure where i'd even put an issue.

Your codebase is most certainly fine, Griffe probably does not support every kind of AST node / combination of nodes.
Could you check though that your modules triggering the encoding issue are UTF8 encoded?
The type error is weird: there are literally no < comparison in mkdocstrings' rendering module.
I'll need a longer traceback :smile: You can open a new issue here on mkdocstrings repository. Please provide the versions of mkdocstrings, mkdocstrings-python and griffe.
Also, thanks for the report :slightly_smiling_face:

I've created an issue, with full tracebacks 😉


Ignore Pods

Add a .gitignore entry so that the native/ios/Pods directory is not included.
There is plenty of good info on whether to do this here.
Since natal deps takes care of setting up CocoaPods deps along with npm deps, there is a consistency argument that the Pods could be left out of the tree.
I tend to leave Pods out. I don't feel to strongly about the subject, but thought I'd write this ticket for consideration.
I created this sample natal-generated repo to illustrate that it works, and to illustrate how nice and compact the resulting committed tree is: https://github.com/mfikes/ignore-pods
You can test this repo by simply cloning it and then doing:

natal deps
natal launch

There are two .gitignore files that could be modified by natal init, one at the top and one in the native tree. In the sample, I modified native/.gitignore: https://github.com/mfikes/ignore-pods/blob/master/native/.gitignore#L36-L38

Agreed


Option to offload to cpu

This PR adds the option to offload to cpu.
Set the environment variable SUNO_OFFLOAD_CPU = True to offload to cpu, so the model stays on cpu unless it is been used.
By using SUNO_OFFLOAD_CPU = True and SUNO_USE_SMALL_MODELS = True the VRAM requirement goes down to 2GB.
It is a little slower but is better than running on cpu.

thanks, do you have rough speed comparison between cpu and 2gb gpu? would be curious

thanks, do you have rough speed comparison between cpu and 2gb gpu? would be curious

First is CPU, second is GPU
CPU: Intel i7-8550U
GPU: Nvidia GeForce MX150 2GB

CPU time: 00:39 | 02:47 | 00:32 | 02:39
GPU time: 00:11 | 00:45 | 00:10 | 00:44

thanks!


Spec v0.9.0 updates - eth2 part

What was wrong?
Close #1240
How was it fixed?

Update to v0.9.0
Bump test suite, and it passed! 🎉

To-Do

[x] Clean up. There are many repeated codes in several functions.
[ ] Not quite sure the "verify state root in fork choice tests and other minor fixes" issue (ethereum/eth2.0-specs#1454). @ralexstokes Am I right that you implemented in a different scheme, and the block signatures are already verified before applying fork choice rule?

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

@ralexstokes
It's ready to review now! It's huge, but mostly about deletions. Some main points for the reviewers besides #1240:

https://github.com/ethereum/trinity/blob/3c7f5317949b0db15d264b7e7e704fdd04cb4e7e/eth2/beacon/committee_helpers.py:

New committee grouping:

get_committee_count_at_slot() returns committees per slot. Note that if there are no enough validators, some slots may not have any committee.
If one slot has more than one committee, we use CommitteeIndex to identify them.

proposer selection: the proposer no longer selected from the first committee of the slot.
iterate_committee_at_epoch and iterate_committee_at_slot are helpers for iterating the committees.

Updated test_serenity_epoch_processing assertions.
Question: Not quite sure the "verify state root in fork choice tests and other minor fixes" issue (ethereum/eth2.0-specs#1454). @ralexstokes Am I right that you implemented in a different scheme, and the block signatures are already verified before applying fork choice rule?

Let me know if you have any questions and let's merge it ASAP! :D

@hwwhww re: your question on the fork choice -- i will verify first thing in the morning after the eth2 call :) and then review this right after that!!

@hwwhww i don't think we need to do anything directly related to this spec PR: https://github.com/ethereum/eth2.0-specs/pull/1454
the way the client is currently working we only accept a block if:

we have its parent
we can successfully perform a state transition (validating signature along the way) and validate that the state root matches

if we do accept a block, then we persist all of the new state (i.e. after applying the block) and the new block -- as we persist the new block, we run the fork choice to determine if there is a new canonical head
so, in short, we have already validated everything we are interested in about the block before the fork choice runs.


Add resource for configuring Jira Integration

There currently does not seem a way to configure Jira integration via terraform.
For my use case I need the "Cloud" / "Basic auth" options.
In the UI this can be configured below Administration ->  Xray Settings -> Integrations.
PS: I need this because we have automatically rotating credentials and updating them per hand is tedious and error prone.

@pascal-hofmann There are REST APIs to manage integration for Xray but they are deprecated. This is why I haven't added support to the Xray provider. I don't know if there's plan to replace them with new REST APIs.
Like in #23, you can make feature request to the Xray team through JFrog customer support.


Fix interruption when calling interrupt from crawlerThread

Fixed bug so that it does not interrupt itself when calling interrupt from crawlerThread

Pull Request Test Coverage Report for Build 192

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 79.948%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/ai/preferred/venom/ThreadedWorkerManager.java
3
80.65%

src/main/java/ai/preferred/venom/Crawler.java
4
81.6%

Totals

Change from base Build 184:
-0.4%

Covered Lines:
1224

Relevant Lines:
1531

💛  - Coveralls

Ready to merge


Label with space and angle bracket does not show correct

Hi,
I use KiBuzzard plugin with KiCad 5.99 nightly and have a problem when using the angle bracket, with space before or after the text in the label.
In the picture is shown that I get arrow character before or after the text when using space and sometimes label not show correct (created a square polygon, instead of angle polygon on start).

@ifadiga you are most likely using windows, right ? I have a pull request #24 that will hopefully fix it 😄 just waiting for it to be merged.

@putyn thanks for the reply.
Yes, I am using Windows.
Ok, I had fixed it to label what I need.

Can you try the latest version? I have a feeling this is resolved now with the new UI changes.
Feel free to open up a new issue if you're having issues.


ignore checksum during loopback

There is no need to check the checksum during loopback.
According to tests, this optimization improves performance by more than 30%.

Do we... care about loopback performance?

Do we... care about loopback performance?

We don't check the checksum during loopback according to the Linux network stack. The performance improvement then becomes just a fringe benefit. BTW, if we aim to identify the performance bottleneck of smoltcip, it's easier to do so after excluding checksum checking.

That is true in some cases, though I would expect most performance bottlenecks to come from the relatively (compared to e.g. Linux) immature TCP implementation, not the basic and straightforward bit manipulation code.

That is true in some cases, though I would expect most performance bottlenecks to come from the relatively (compared to e.g. Linux) immature TCP implementation, not the basic and straightforward bit manipulation code.

emmm, perhaps both are needed. I'll try my best to do more. Thx.


@app.task('daily.at("21:00") before Friday')

Describe the bug
above statements results in rocketry.parse.utils.exception.ParserError: Could not find parser for string 'daily.at'.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
Statement should run every MO,TUE,WED,THUR,FRI at 21:00
Desktop (please complete the following information):

OS: Linux
Python version: 3.8

You are not using the starting condition correctly.
from rocketry import Rocketry
from rocketry.conds import daily, weekly

app = Rocketry()

@app.task(daily.at('21:00') & weekly.before('Friday'))
def do_daily():
    print('hi')

if __name__ == '__main__':
    app.run()


gateway-api: Add support for gateway-api v0.5.1

Description
This is to support betav1 API Gateway API spec from the upstream
Relates https://github.com/cilium/cilium/issues/20655
Details
Please refer to individual commit for more details. In the high level, we are having a controller for each resource:

GatewayClass controller will only watch itself and set the status to Accepted accordingly. TODO: support different configuration parameters from configmap
HTTPRoute controller will watch

itself and perform the needful
any change in backend Service used in HTTPRoute
any change in spec of parent Gateway resource, this is to make sure that if any permission change in Gateway will reflect accordingly in HTTPRoute.

Gateway controller will watch:

itself and perform the needful
any change in GatewayClass, this is to make sure once we support GatewayClass params, the Gateway resource will reconcile accordingly.
LB services for status update (e.g. IP, Hostname)
HTTPRoute status, this is to make sure that once the HTTPRoute becomes Accepted, respective Gateway can just configure routing accordingly.

Secret sync controller will watch

all secrets referenced by Gateway listener(s)

Tasks
Note: Documentation will be done after the first round of review, or in subsequent PR
At the time of writing, the below APIs were just graduated to beta, it's making sense to start with these APIs as the first step.

[x] GatewayClass
[x] Gateway
[x] HTTPRoute

At the high level, the L7 HTTP route could be done the same way Cilium does with IngressController. Below items can be used as references or starting points:

[x] Add new APIs into the Cilium codebase and check if slim types are required.

[x] If slim types are not required, direct go import should be just sufficient.

[x] Add required watchers for GatewayClass, Gateway, HTTPRoute objects.

[x] Watch only Gateway object with class name as cilium.

[x] Provision required envoy resources.

[x] no change in datapath is foreseen, but let's see how it's going.

[x] Make sure the resource status as per API Spec.
[x] Add a feature flag like what we have with the Ingress controller or envoy config.
[x] Add installation support via helm chart

[x] ~Pre-configure Cilium GatewayClass if the feature flag is enabled.~ User needs to configure Cilium GatewayClass accordingly. Multiple gateway classes are supported.

[x] Make sure that upstream conformance tests are successfully running as part of CI.
[ ] Add Getting Started Guide documentation.

Follow-up Actions
This list will be updated based on review comments.

[x] Improve more coverage from unit tests (in progress, I will push to this PR soon, expect some minor change only :running_man: )
[ ] Refactor virtual host logic. Currently, it's a little bit overloaded for both Ingress + Gateway support.
[ ] GatewayClass supports for ParametersReference

[ ] Configmap (preferred)

[ ] Gateway

[ ] Support for Spec.Address (if possible)

[ ] Make sure the resource status as per API Spec. This is same as above task item, but no harm to double check again. Also, there might be some cases we need to clean up Invalid ResolvedRefs.
[ ] Extended support

[ ] Filters (only RequestHeaderModifier is implemented currently)

[ ] RequestRedirect
[ ] URLRewrite
[ ] RequestMirror
[ ] ExtensionRef

[ ] TLS Passthrough

Testing
Conformance test
Please refer related commit on how the conformance test is customized and run as part of GHA. Below is a snippet of the test result.

 Note: HTTPS conformance test seems to run with ReferenceGrant only, however, ReferenceGrant is not beta yet in v0.5.1
apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
  name: cilium
spec:
  controllerName: io.cilium/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: basic-gateway
spec:
  gatewayClassName: cilium
  listeners:
  - protocol: HTTP
    port: 80
    name: prod-web-gw
    allowedRoutes:
      namespaces:
        from: Same
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: tls-gateway
spec:
  gatewayClassName: cilium
  listeners:
  - name: https
    protocol: HTTPS
    port: 443
    hostname: "bookinfo.cilium.rocks"
    tls:
      certificateRefs:
      - kind: Secret
        name: demo-cert
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: http-app-1
spec:
  parentRefs:
  - name: basic-gateway
  - name: tls-gateway
  hostnames:
  - "bookinfo.cilium.rocks"
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /details
    backendRefs:
    - name: details
      port: 9080
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: http-app-2
spec:
  parentRefs:
  - name: basic-gateway
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /
      headers:
        - name: please
          value: help
      queryParams:
        - name: me
          value: demo-god
    backendRefs:
    - name: productpage
      port: 9080

Test snippet
$ kg gatewayclass,gateway,httproute
NAME                                            CONTROLLER                     ACCEPTED   AGE
gatewayclass.gateway.networking.k8s.io/cilium   io.cilium/gateway-controller   True       3h46m

NAME                                           CLASS    ADDRESS         READY   AGE
gateway.gateway.networking.k8s.io/my-gateway   cilium   <IP_ADDRESS>   True    3h46m

NAME                                             HOSTNAMES   AGE
httproute.gateway.networking.k8s.io/http-app-1               3h46m
httproute.gateway.networking.k8s.io/http-app-2               3h46m

$ lb=$(kg service cilium-gateway-my-gateway -o json | jq '.status.loadBalancer.ingress[0].ip' | jq -r .)
$ echo $lb
<IP_ADDRESS>

$ curl http://$lb/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}

$ curl -v http://$lb
*   Trying <IP_ADDRESS>:80...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)
> GET / HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.82.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< date: Wed, 19 Oct 2022 14:10:54 GMT
< server: envoy
< content-length: 0
<
* Connection #0 to host <IP_ADDRESS> left intact

$ curl -v -H 'please: help' http://$lb\?me\=god
*   Trying <IP_ADDRESS>:80...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)
> GET /?me=god HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.82.0
> Accept: */*
> please: help
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: text/html; charset=utf-8
< content-length: 1683
< server: envoy
< date: Wed, 19 Oct 2022 16:31:24 GMT
< x-envoy-upstream-service-time: 2
<
<!DOCTYPE html>
<html>
  <head>
    <title>Simple Bookstore App</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
...

$ curl -v --cacert minica.pem https://bookinfo.cilium.rocks/details/1
*   Trying <IP_ADDRESS>:443...
* Connected to bookinfo.cilium.rocks (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: minica.pem
*  CApath: none
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=*.cilium.rocks
*  start date: Sep 24 12:42:32 2022 GMT
*  expire date: Oct 24 11:42:32 2024 GMT
*  subjectAltName: host "bookinfo.cilium.rocks" matched cert's "*.cilium.rocks"
*  issuer: CN=minica root ca 04ca90
*  SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /details/1 HTTP/1.1
> Host: bookinfo.cilium.rocks
> User-Agent: curl/7.82.0
> Accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-type: application/json
< server: envoy
< date: Wed, 19 Oct 2022 16:30:56 GMT
< content-length: 178
< x-envoy-upstream-service-time: 0
<
* Connection #0 to host bookinfo.cilium.rocks left intact
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}%

/test

/test

/test

/test

/test

/test-1.25-net-next

All tests in Jenkins, GHA and Travis are passed, force pushed to address the above CRD check in GHA only. Please find below diff:
diff --git a/.github/workflows/conformance-gateway-api.yaml b/.github/workflows/conformance-gateway-api.yaml
index 4ee187176d..e92248ea83 100644
--- a/.github/workflows/conformance-gateway-api.yaml
+++ b/.github/workflows/conformance-gateway-api.yaml
@@ -99,6 +99,7 @@ jobs:
           kubectl wait --for condition=Established crd/gatewayclasses.gateway.networking.k8s.io --timeout=${{ env.timeout }}
           kubectl wait --for condition=Established crd/gateways.gateway.networking.k8s.io --timeout=${{ env.timeout }}
           kubectl wait --for condition=Established crd/httproutes.gateway.networking.k8s.io --timeout=${{ env.timeout }}
+          kubectl wait --for condition=Established crd/referencegrants.gateway.networking.k8s.io --timeout=${{ env.timeout }}

       - name: Install Cilium
         run: |

/test

Merging since the only change done was https://github.com/cilium/cilium/compare/3cbb772a5f5dbecf88addd4c443568d15bcd9c49..497f3d7c2ac30693ebd69a6bc4bc8edf9e58319d and the CI was green before the push.


Add override.excludedFiles

Override accepts excludedFiles property.
https://eslint.org/docs/latest/user-guide/configuring/configuration-files#how-do-overrides-work
This PR simply adds that.

Thanks! That was quick.😄


Joel cp4aiops tekton issue 251

https://github.ibm.com/IBM-DEG/Ecosystem-Technical-Enablement/issues/251

This PR is out of date.  Changes will be absorbed in PR to upgrade AIOps to latest version


set and get output helper methods

Coverage decreased (-2.5%) to 82.524% when pulling 07729a7a1c7a9ce55e2319f5d2b4060016dc7612 on martinilevi:feature/SetOutput into 920ccb4e51b760f3269e557b4ae5070135fb3ff6 on Telefonica:master.


wdl_runner: git install needs to be retried.

Added pipeline input parameters to configure retry interval and max.

LGTM


Not compatible with Excalidraw Plugin from latest version

Is your feature request related to a problem? Please describe.
Yes, I can't use Shiki Highlighter because i can't use Excalidraw, it occurs with a conflict in the codeblock name of the Excalidraw Data, whose codeblock name is "compressed-json".
Describe the solution you'd like
I'd like to get compatibility between the plugins, because I use both.
Additional context
I suppose that the Shiki Highlighter is blocking the codeblock to be read from Excalidraw.

You can disable specific code blocks in the plugin settings.

Hi @mProjectsCode this doesn't seem to fix things - I have tried disabling loads of languages

But unfortunately Excalidraw still does not render when your plugin is enabled

Can you provide me with an entire note so that I can try to debug this? I am not familiar with the Excalidraw plugin.

Sure!
Here is an example of an excalidraw file in markdown
----------EXCALIDRAW
==⚠  Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
Excalidraw Data
Text Elements
%%
Drawing
N4KAkARALgngDgUwgLgAQQQDwMYEMA2AlgCYBOuA7hADTgQBuCpAzoQPYB2KqATLZMzYBXUtiRoIACyhQ4zZAHoFAc0JRJQgEYA6bGwC2CgF7N6hbEcK4OCtptbErHALRY8RMpWdx8Q1TdIEfARcZgRmBShcZQUebQBWbQAGGjoghH0EDihmbgBtcDBQMBKIEm4IZwAFAA42ACUADQB9eoBmQn0AKUb6fQAZADkAEQBpQfrUkshYRArA7CiOZWCp

0sxuZx4kgEZtGpqko4AWA54anZ54/lKYTZ2auIBONuO298PLgDYn+LabyAUEjqbgPJ7aN7HJ5PADs8XiNXiLzhAKkCEIymkoLaiSeX2OPC+bSeOy+u3iXz4hUg1hW4lQSVRzCgpDYAGsEABhNj4NikCoAYh2CGFwrWkE0uGwbOUrKEHGI3N5/IkLOszDguEC2XFEAAZoR8PgAMqwVYSQQeXXM1kcgDqwMk3Cp0wgNvZCFNMHN6Et5VRcsxHHCuTQ

O1RbE12DUdzDR1RsuEcAAksRQ6g8gBdVF68iZVPcDhCI2owgKrAVXApAPCBXB5jp4qu2b0trUgC+TIQCGIoPixy+MNhOzeqMYLHYXDQSLHTFYnEGnDE2KSxyS7xhiNLzGG6SgPe4eoIYVRmlrxAAosFMtl00WS9SIEI4MRcPve2GYYT4jt3sc4T8qJEBwbKFsW+BAWw0oHmgR74GEhSdoUTaQOUEgAIIACoAJpGKMyZVP0jQAGpPMooxsE8kgIGw

xEAI7OLqLYVI4uD6JwvaohsaDOA8cRwnibzwgONQoo+saoLxX7aDsQ7xDCbRJEiSSPOuqJAsQIJhqcCRJNsI6kuSlLXI+1EYlicbHBCv6yTCUJ6a8bQ1KitI+oyj7uhySp8oKooikgp5SjKcoKt5KroGqHAalqWRQLqBpGl6Ppujy/oeSyHoOppTpoC6pSeZ6Zr0ilVo1n4kj1um4aPpGUoxqC8aPomz6pumWY5nmCAFmg94QY+ZbEBWEi4Dsuoh

cQlXcChMzwPSPAdl2MGoA8OzyV8pJXLOE6cKCslbfOHCLhwy5hrCbSXDsI7/P1O57ktcEno+Z7ype16xXe4Gos+r7vqCX5fD+7zxISPAwkBZagT1n2Pry0EfqgD0IIh4DZnQuBwHAppvvSTbQNRmQsVqoE3AwhAIBQABCQXNaFPI+RIAp6kzzNrBA2AiNqUDJvu+imraXJ0+FEBCv5Yok+zpCc9zGRU9KNOKoLFSRdFnOsxLUs8wAYoaJpFRUfqc

YUbMc7F0u8xl9qOs64sm9kZt8x6SXFQbau21zPP1MIQYhqCNuS6bPMAPJRvVcbuaU6sBxkmucFAmtsYaEkmRHbtmzH2TGoQRhzeHkCR3bPOYVgUDoUQyhTugwR6nFfsaxkWOkCXktsBQ1G4PDvW11H+gXgq6HN63ITwxAWqslQXcFxk/dj5hs3zOerPMNgrJGo03BQnsTmnPJtkKccxwk0vK/4Nh3DEnsm5PDwq0qZfSRfCTRhsAYU2PvQBBCPSO

yIRP7sZJ7L1JoSHGqzWUJBM7Z2dLnCAYDiCmgQHAbgydICwIALJsEGr3XAmhgjw0RiTWBYVX6ugpjyYepBlCSgABTXzBrwPa9C6FJASAASl1PUBAyhixanmJQ3ANDFLUF4II4RjIGSsIgD/I2+coAOw5MHKAk4PoPlKLmNiCAOHllIGWZQxDShZGwbg7gLJP6omwEQRBaATEIFRBwdRxjSCmJqkIKAwF6TWKkaUOwAArBAixmDGjsXAdBmC7E4Pu

seGxRspSKMYJhZ++A9EzTmBadIixJy6nZsyAws8UmoE7jDKCHI8GRKAqEEu6S4kJLAkaZGYAkKQASuEKa7YQDtiAA===

%%
EXCALIDRAW------
and here is an example of a note embedding the drawing
-----TEST NOTE

tags: this_is_a_test_note uncategorized
icon: TiArrowsRandom
aliases:

Uncategorized This is a test note
created: 2024-09-16
modified: 2024-09-16T21:04:13+02:00

Test note 123
![[Drawing 2024-09-16 21.02.24.excalidraw]]
TEST NOTE------
Example of how it is rendered in live-preview (default editing mode in Obsidian)

Interestingly it looks fine in reading-mode

Just checking in on this to see if there has been any workaround found?

just released a new version that should fix this.

Works - great stuff @mProjectsCode

Thanks a lot, the plugins is working now!


mm/iob: add qentry private data support

Summary
mm/iob: add qentry private data support
Impact
N/A, change to use for PR https://github.com/apache/incubator-nuttx/pull/4210
Testing
IOB test

Hi , @antmerlino ,
Thanks for the comments, the new implementation of sack no longer depends on the private filed(#8062), so this PR cloud be close.


For the nmos-cpp-registry to with with unicast DNS-SD

I have a naive quesiton and hopefully you could share some lights on this.
I understand that the nmos-cpp-registry could use the 'local' domain and using the mDNS and all works. The easy-nmos is an perfect example for it.
Now I try to setup the nmos-cpp-registry with the external DNS server (BIND9 on ubuntu) to use the unicast DNS-SD.  How I can configure it to use the external DNS server. I checked the registry.json and I can not find any parameter related to configure the DNS. So If I add  "domain":"testsuite.nmos.tv" in the registry.json and it will know that it is using the unicast DNS-SD and will use the system DNS resolver?
I tried about setup with the easy-nmos and now on the http://registry/admin page, it could only see itself so I guess that for the virtual-node, I have to config it to find the external DNS server in order to register properly? Am I on the right track?
Thanks!

So If I add "domain":"testsuite.nmos.tv" in the registry.json and it will know that it is using the unicast DNS-SD and will use the system DNS resolver?

Yes (precisely it can depend on the configuration of mDNSResponder or Avahi, but basically, yes)


[ERRAI-841] Fix URLPattern url generation.

Update printURL to match URLPatternMatcher generatePattern method
Remove URL.decodePathSegment from tests
Add test case without extra state param
Cleanup code
Add test case where param has '/'
Disable HistoryImplPushState encoding/decoding

Please see my reply at https://issues.jboss.org/browse/ERRAI-841 regarding this pull request.


refactor(interactive): Upgrade arrow to 15.0.2

More infomation is described in #3891

The FindXXX.cmake are copded from apache/arrow.


FTU Explorer: Contact modal

MVP2 contact modal

Aesthetic updates: Logo, font styles, spacing, padding, color styles, icons, buttons/button states, drop shadows, background behind modal overlay

Resources

Local Component: Contact Modal
HRA Design System

This is not feasible for this cycle and more design updates will occur to these components. This will be restructured into the Design System file for Y3. Thanks!


Update fs2-reactive-streams to 3.2.10

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-reactive-streams" } ]

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

Superseded by #222.


Async characteristic

Hello,
Thank you for the work with this library! Helps out a lot working with bluez.
Would just like to ask if there is any way of defining an async characteristic? Example:
@characteristic(uuid, flag)
async def my_async_read_characteristic(self, options)
    some_value = await some_coroutine()
    return bytes(some_value, 'UTF-8')

Or perhaps it should somehow be handled using signals instead?

Alright I understand. Let me know if you need any more information. Unfortunately I'm not sure how I would implement it myself but perhaps I can contribute in some other way if needed.
Currently trying to implement it using signals where the characteristic would return a reference to a result object that is later referenced in a signal to the client that has subscribed for notifications. But using async characteristic directly would probably be easier.

I've implemented this on the async_attributes branch but I'm not currently set up for testing so if you get the chance any feedback is much appreciated (pip install -e git+https://github.com/spacecheese/bluez_peripheral.git@async_attributes#egg=bluez_peripheral to install from the repo)

Great, I'll try and do some testing in the next few days.

I did some testing with read, write and notify characteristics and it all worked out just fine. Does seem that after a couple of seconds (in my case >4) there is no response on the receiving end but that would be up to each implementation to look out for and handle and not handled in bluez-peripheral. Something related with the Bluetooth protocol perhaps. Could handle long running tasks with notifications instead I suppose.
I did have an issue installing per the instructions with -e as there was no setup.pybut not a python expert so probably not something that needs fixing. Did add setup.py with
from setuptools import setup

if __name == '__main__':
  setup()

and I could then install.
Thanks for the fix!

Ah yeah sorry didn't know that I'll add a setup.py since that seems quite useful. I'll merge and release this once I've had some time to update the unit tests.

Sounds good, thanks!

From: Space Cheese @.>
Sent: Monday, December 19, 2022 5:26:32 PM
To: spacecheese/bluez_peripheral @.>
Cc: Martwall @.>; Author @.>
Subject: Re: [spacecheese/bluez_peripheral] Async characteristic (Issue #15)
Ah yeah sorry didn't know that I'll add a setup.py since that seems quite useful. I'll merge and release this once I've had some time to update the unit tests.
—
Reply to this email directly, view it on GitHubhttps://github.com/spacecheese/bluez_peripheral/issues/15#issuecomment-1357921665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBOXZ3R2MEGKGVJY46GZRDWOCEDRANCNFSM6AAAAAASVISNJA.
You are receiving this because you authored the thread.Message ID: @.***>

Looking forward to this async functionality as well. Doing some testing with the async_attributes branch but running into the scenario @Martwall mentioned above (re read characteristics) but more severe.
If I run the following characteristic I get no response:
  @characteristic(uuid, CharFlags.READ)
  async def on_read_request(self, options):
        await asyncio.sleep(1)
        return bytes('anything', "utf-8")

But if I run it with await asyncio.sleep(.5) it works.
I'm communicating with react-native-ble-plx which I've used with bleno for a while with no similar issues. So I don't think it has to do with the receiving side but I could be wrong.

I think this is probably protocol related. I can't see any obvious differences with the Bleno characteristic code however it is using a slightly different API and bluez is very inconsistent.


Save button - General Info Page

Save button is not showing on mobile device size. Need to adjust the layout to be able to save edition data

Fixed!


Azure Function host not starting after upgrade to .NET 8 Isolated

I have started the migration of our Azure Functions from .NET 7 Isolated (running OK for several months) to .NET 8 Isolated.
After updating all the packages and making sure it runs locally, I deployed to our existing instance on Azure using the Visual Studio Publish wizard using exactly the same settings that were working for .NET 7 Isolated.

However, the Function app is not available:

This instance is running in a Consumption Plan, UK South region. I suspect this issue won't affect our product Elastic Plan but I can't risk a deployment.
I have set 'fileLoggingMode' to 'always' but there are no new logs in C:\home\LogFiles\Application\Functions\Host or C:\home\LogFiles\Application\Functions\Function.
The eventlog.xml has several entries alternating between EventID 2276 and 2294, all with the same BinaryData 02000780:

According to kb.eventtracker.com:
2294 is recorded when:
Each application pool has a managedRuntimeVersion attribute that contains the version of the common language runtime (CLR) that the application pool preloads. If the value in the attribute does not match the installed runtime, the worker process may fail to load
2276 is recorded when:
This event is logged when the worker process failed to initialize correctly. and the BinaryData should provide more details via err.exe.
err.exe says that error 02000780 is The file cannot be accessed by the system:

All of the above points to some issue with the App Service / Function host.
There are other people reporting similar issues: #2075.
Something similar seems to have happened before during previous releases of .NET 8: #1644

hi @rodolfograve, I had same issue while upgrading to .net 8 runtime. You can upgrade your project to .net 8 and deploy but to get over 503 is to change the runtime from setting to .net 6. It happens automatically for app services but for function app you need to do it yourself.
I hope microsoft fixes it soon.

Thanks, @prashant-bhandari.
Unfortunately, I tried your suggestion and it didn't work for me. I still get 503, even after trying several times over several minutes.

ah sorry to hear that mate. One thing more I would like to suggest it to install the extension through extension setting in the menu. I installed ASP .net 8 runtime for both x86 and x64

These are the settings for me

and I used web deploy through Visual studios latest version (thats another thing). I have been trying to get this to work for a few days now and these all things worked for me.

Had the same issue, did a manual publish from Rider once now GitHub Action works perfectly.
Seems like you can't go from NET 7 -> NET 8 just in a single PR, you also need to force the Environment to be NET 8 by publishing with an IDE first.

I observed that deploying a function app using .NET 8 (LTS) Isolated (Early Access) in the UK South region led to an internal server error. However, when we switched the target to .NET 7, the service operated as expected, and the default page loaded successfully. Further tests using Visual Studio 2022 and VS Code indicated issues with .NET 8 in the UK South region.
When I tried deploying the same setup in the US East region, it worked correctly, indicating that the issue might be region-specific.

@rodolfograve If you are still experiencing issues, could you please share your app name or an invocation id so that I can take a closer look.

The Function App name is nemsdevwebappd0authfn

I am getting the same issue as you, the same combination of 2276 and 2294 error codes in the event log, but it is for an ASP.NET app deployed to an App Service that I upgraded to .NET 8.
Interestingly, doing a deployment from Visual Studio, I get an warning that App Service does not support .NET 8. Does that mean my host does not yet actually have .NET 8 installed on it?

If I deploy it as self-contained, it works, but deployed as framework-dependent, I get the crashes over and over again.

I'm happy to report that things are working OK for me since yesterday, both on Consumption Plan and Elastic. UK South.

Thank you for the update. The rollout has been in progress for the last few weeks. Customers in regions where the rollout is not yet completed may encounter issues, as mentioned in the previous update.
Should you encounter any further challenges with the dotnet isolated model, please do not hesitate to reach out. Thank you for your understanding and cooperation.

@kshyju Is everythink fine now? For me Linux .NET 8 Azure Function does not work, functions are not loaded, I tried more type of deployments, on the localhost works fine. On .NET 7 there wasnt problem.

@masherak What SKU & region are you seeing issues with? Have you tried to use the "Diagnose and solve problems" feature in azure portal to self-diagnose the problem?

I have the app service environment v3 in Germany West Central, with I1v2 Linux app service plan. I tried "Diagnose and solve problems".
Only this:

@kshyju I can see runtime is not loaded from some reason..

Config

@kshyju HTTP trigger functions returning - 503 (Service Unavailable)

this.. The issue should be re-opened maybe?

We are also experiencing 503 errors with functions deployed in Europe North and West. We are deploying container images. I've tried creating a new function app in Azure and a new function project in Visual Studio with the app still showing 503. We are using mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 as our base image. We use the Azure Functions for container task in our Azure DevOps release pipeline to deploy. We are using the latest Microsoft.Azure.Functions.Worker and Microsoft.Azure.Functions.Worker.Sdk packages.

@DanRogers99 Are you only experiencing the issue in those regions? It's possible that NET8 rollout has not been completed to those regions you mentioned. Please follow https://github.com/Azure/azure-functions-dotnet-worker/issues/2075 to track which regions are still in-progress.

I am getting this error after upgrading from net 6 to net 8:
"Could not load file or assembly 'Microsoft.AspNetCore.Routing, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified."
I have manaully updated the runtime to 8 on the general settings.  I tried adding the ASP.NET Core extensions as recommended above and this error goes away but then the runtime identifier fails to load and none of the functions are visible on the overview page of the portal (the host doesn't startup).  I also tried publishing from visual studio but that didn't help.
I checked on #2075 and west europe region is supposed to be working.  I also tried downgrading the functions SDK to 1.15.1 but that also didn't help.
Any suggestions or help would be great.

I am getting the exact same error message as @absolutebandit in the above comment. This started happening once I migrated from .NET 6 in-process function app to .NET 8 isolated function app. Running locally I get no issues, but deploying it to azure through visual studio, the error appears.

@karolis1994 To fix that you can roll back the sevicebus extension version to 5.13.0.

going to reference my comment from this thread here as i think it might help some people:-
https://github.com/Azure/azure-functions-dotnet-worker/issues/2070
"Just thought i would help people out a bit.
I have been hitting a similar issue all day where after an Isolated worker, .net 8 upgrade to our azure functions, they would not longer work/show in Azure. I could see that when deploying it manually via the IDE, it worked fine in Azure but failed/never loaded when doing a normal CICD deployment.
I have now eventually tracked this issue down and thought i would share in case it helps anyone else.
So when moving to the isolated worker process for .NET 8, it turns out they have changed how the release files are now compiled and distributed. They now create a folder named ".azurefunctions" which holds the connecting information for the deployed azure functions upon a release build. Most compression libraries unless strictly supplied, actually exclude folders with "." in their name as its generally reserved for hidden directories. This is most probably why a lot of peoples CICDs are now deploying broken azure functions as the majority of people are doing zip deployments in their CICD.
For reference the original deployment structure was a folder for each azure function with its name with no "." in the name, so upon people upgrading to the new version, their CICDs will be excluding the folders by default from the deployment to Azure.
If you go into "Advance Tools" and navigate to the wwwroot folder you will be able to confirm if this is an issue for yourself as the folder will be missing."

Hi @wc-whiteheadd , what's solution for this ? did you copied using other commands or how did you include hidden folders using CICD

@grb247 morning, if you manually supply the folder even if it has a "." at the start of its name, it will still be included. For me personally, this is what i did in the CICD pipeline. I pass in "artifact_zip_includes" for the projects which are function apps net 8 as the ".azurefunctions". Hope this helps.
    - name: Zip artifact for deployment
      run: |
       if [ -n "${{ inputs.artifact_zip_includes }}" ]; then
        zip -r ${{ github.workspace }}/${{ inputs.publish_name }}.zip * ${{ inputs.artifact_zip_includes }}
       else
        zip -r ${{ github.workspace }}/${{ inputs.publish_name }}.zip *
       fi

@kshyju Can you please reopen this issue, it's not completed at all and still not working

@kshyju Can you please reopen this issue, it's not completed at all and still not working

The initial issue stemmed from a delay in deploying .NET runtime bits in certain regions. If you're still facing problems with .NET8, please open a new issue on this repository with relevant details, and we'll investigate further

The .net 8 functions created, without migration, randomly works and failed continuously after restart of vs2022 even with default port on local machine as below.
Microsoft Visual Studio
Unable to connect to the functions app on port 7301
OK
On console as a result
Host lock lease acquired by instance ID '00000000000000000000000029BA93E8'.
[2024-05-09T02:46:14.992Z] The listener for function 'Functions.MyScheduler' was unable to start.
[2024-05-09T02:46:14.995Z] The listener for function 'Functions.MyScheduler' was unable to start. Azure.Storage.Blobs: Service request failed.
[2024-05-09T02:46:14.996Z] Status: 500 (Internal Server Error)
[2024-05-09T02:46:14.997Z]
[2024-05-09T02:46:14.997Z] Headers:
[2024-05-09T02:46:14.998Z] Server: Azurite-Blob/3.28.0
[2024-05-09T02:46:14.999Z] Date: Thu, 09 May 2024 02:46:14 GMT
[2024-05-09T02:46:15.001Z] Connection: keep-alive
[2024-05-09T02:46:15.002Z] Keep-Alive: REDACTED
[2024-05-09T02:46:15.003Z] Content-Length: 0
[2024-05-09T02:46:15.004Z] .


(De)serialization of RangeInclusive

I wrote an implementation of Serialize here: https://github.com/rocallahan/serde/tree/range-inclusive
But I can't get tests to run with unstable features:
[roc@glory test_suite]$ cargo test --features unstable
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running /home/roc/serde/target/debug/deps/compiletest-a1e4ab2536d42e20
/home/roc/serde/target/debug/deps/compiletest-a1e4ab2536d42e20: error while loading shared libraries: libtest-b48219465f029877.so: cannot open shared object file: No such file or directory
error: test failed

I haven't got time to dig into this further.

Implemented in #1347.


fix tooltips mixin

Port the tooltips mixin to the new interpolation syntaxand add unit tests

Closed in v0.0.8


Gem install fails for Ruby 3.2 in MacOS 12.6

Summary
Gem install fails with include file not found
Steps to reproduce
git clone git@github.com:zk-ruby/zookeeper.git
cd zookeeper
cat .ruby-version
3.2.0
^d
gem make zookeeper.gemspec
gem install zookeeper-1.5.4
irb
>> require('zookeeper')

What happened
irb
irb(main):001:0> RUBY_VERSION
=> "3.2.0"
irb(main):002:0> require 'zookeeper'
<internal:/Users/emmah/.rbenv/versions/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- /Users/emmah/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/ext/zookeeper_c (LoadError)
	from <internal:/Users/emmah/.rbenv/versions/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/emmah/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/lib/zookeeper.rb:26:in `block in require_root'
	from /Users/emmah/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/lib/zookeeper.rb:25:in `each'
	from /Users/emmah/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/lib/zookeeper.rb:25:in `require_root'
	from /Users/emmah/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/ext/c_zookeeper.rb:8:in `<top (required)>'

Expected
Gem installs without error

Another member of the team observed this when reproducing the error:

also here’s some output from when i installed it locally in 3.2:

linking shared-object zookeeper_c.bundle
current directory: /Users/daniel/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zookeeper-1.5.4/ext
["make", "DESTDIR=", "sitearchdir=./.gem.20230105-56605-j5n3n4", "sitelibdir=./.gem.20230105-56605-j5n3n4", "install"]
/usr/bin/install -c -m 0755 zookeeper_c.bundle ./.gem.20230105-56605-j5n3n4

and the same bits for 3.1:

linking shared-object zookeeper_c.bundle
current directory: /Users/daniel/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/zookeeper-1.5.4/ext
["make", "DESTDIR=", "install"]
/usr/bin/install -c -m 0755 zookeeper_c.bundle ./.gem.20230105-66585-rsvonm

It looks like the issue stems from the upgrade to Rubygems 3.4 as part of the Ruby 3.2.0 release. Specifically, build artifacts in the ext/ directory are cleaned up during gem installation.
Here is a possible fix:
diff --git a/ext/c_zookeeper.rb b/ext/c_zookeeper.rb
index 1c6f091..54f7d3f 100644
--- a/ext/c_zookeeper.rb
+++ b/ext/c_zookeeper.rb
@@ -5,7 +5,11 @@ Zookeeper.require_lib(
   'zookeeper/exceptions' # zookeeper_c depends on exceptions defined in here
 )

-Zookeeper.require_root 'ext/zookeeper_c'
+begin
+    Zookeeper.require_root 'ext/zookeeper_c'
+rescue LoadError # Rubygems 3.4+ cleans up build artifacts in the ext/ directory.
+    Zookeeper.require_lib 'zookeeper_c'
+end

 # require File.expand_path('../zookeeper_c', __FILE__)

@emceeaich & @tsroten Thanks for the report, and the suggested fix. I've release 1.5.5 that loads correctly on Ruby 3.2

Confirming this is working in my env. Thank you all!


pageserver: something triggered errors for tenant is not active while uploading heatmap

https://neondb.slack.com/archives/C033RQ5SPDH/p1723205212988669

The compaction circuit breaker thing was: https://github.com/neondatabase/neon/pull/8675
The tenant not active stuff may be a bug outside the pageserver, if something is calling in to the wrong place...

TODO: follow back the slack thread to the logs & figure out what was going on: were we trying to upload heatmap from something not in the active state?

Internal analysis notes: https://www.notion.so/neondatabase/Investigate-https-github-com-neondatabase-neon-issues-8678-775320d313d448459fa4a0791a71fbb3?pvs=4
public tl;dr:

Call comes in to transition into AttachedStale

tenant_manager.upsert_location call here https://github.com/neondatabase/neon/blob/31122adee3fa0dac6bec5bfd1682f04adf42e490/pageserver/src/http/routes.rs#L1405-L1408

takes the slow path because generation numbers are different
⇒ shuts down tenant and spawns a new one in the higher generation (span name: attach )

secondary_controller.upload_tenant call here: https://github.com/neondatabase/neon/blob/31122adee3fa0dac6bec5bfd1682f04adf42e490/pageserver/src/http/routes.rs#L1412-L1416

dispatches to here: https://github.com/neondatabase/neon/blob/c39d5b03e81683717bd95c87615d68b0b23e887d/pageserver/src/tenant/secondary/heatmap_uploader.rs#L283-L295
tenant isn’t Active yet ⇒ bails out with the error we see in the logs

In terms of fixing this, I see two options:

inside the if let Some(timeout) = flush block, use tenant.wait_to_become_active(timeout)
right after upsert_location call returns, use tenant.wait_to_become_active(ACTIVE_TENANT_TIMEOUT)

The latter is what the other user of upsert_location --- do_shard_split --- does.
Fundamentally, there's no way to easily eliminate this bug class entirely, as with both alternatives, there remains the possibility of hitting a timeout. But we can make more specific noise about the timeout being hit.

OpenAPI docs say:
https://github.com/neondatabase/neon/blob/f17fe75169029dc4f2cd778d02d3aac57aae2341/pageserver/src/http/openapi_spec.yml#L344-L346
The OpenAPI docs don't make any statements about the activation state of the tenant after /location_config returns with 200.
NB the "requested state" mentioned here
https://github.com/neondatabase/neon/blob/f17fe75169029dc4f2cd778d02d3aac57aae2341/pageserver/src/http/openapi_spec.yml#L365-L371
refers to Attached vs Secondary, not the Attached(Attaching) / Attached(Active) sub-states.

Bigger picture though, I think something else went wrong here.
We received requests to transition into AttachedStale with flush_ms=Some(...), but with increasing generation number. That combination makes us not take the fast path inside upsert_location.
Going to extend the internal notes doc and post an update here.

More investigation notes: https://www.notion.so/neondatabase/Investigate-https-github-com-neondatabase-neon-issues-8678-775320d313d448459fa4a0791a71fbb3?pvs=4#a5ce5102a1264f1bb1110c55a485e8f5
public tl;dr

Cplane migration-into-storcon flow marks tenant on cplane-managed ps-13 as AttachedStale via location_config API

That location_config call fails the heatmap upload, due to the tenant not being active yet, as explained earlier
But location_config still returns 200

So, cplane flow proceeds with if warmUp == true  ⇒ HeatmapUpload call to ps-13

That call fails with 500 because tenant is still not active

So, cplane operation fails and is retried later

I don’t understand why the repeat AttachedStale calls have incremented gen .

I don’t understand why the repeat AttachedStale calls have incremented gen .

This part is a bug, I think.  We had a case last week (INC-275) where during a long running migration to controller, the control plane kept bumping generations.

WDYT, should we close this ticket without action?
Or still implement the proposed fix
https://github.com/neondatabase/neon/issues/8678#issuecomment-2296141388

I lean toward not bothering to support this gracefully in the pageserver: if someone is calling into location_conf with AttachedStale and bumping generation, then something weird is already going on.  If we were going to work around this I would at most skip the heatmap upload if the tenant isn't active, but that would be a little invasive in put_tenant_location_config_handler, and the design intent of this heatmap upload is that it's allowed to fail, so I'm okay with just leaving this as-is.

Closing as duplicate of https://github.com/neondatabase/cloud/issues/16672