Content and list view enhancement in cppguide.html

Fixes #806
Changes

Added ordered list for major headings of Goals of the Style Guide

Content added for the heading "Scoping".

Scope in programming refers to the visibility and accessibility of variables, functions, and other identifiers within a program. It plays a crucial role in preventing naming conflicts by limiting the visibility of identifiers to specific regions of code, such as within a function, block, or namespace.

Global scope refers to identifiers accessible throughout the entire program, while local scope refers to identifiers accessible only within a specific block or function. Nested scopes occur when one scope is contained within another, allowing identifiers declared in an outer scope to be accessed by inner scopes, but not vice versa.

Understanding scoping rules is essential for writing maintainable and error-free code, as it helps prevent unintended side effects and promotes modular design.

MohsinMalik2:content-enhancement-cppguide
https://github.com/google/styleguide/pull/821#issue-2241557364


Support for nested rack groups

Issue type
[x] Feature request
[ ] Bug report
[ ] Documentation
Environment

Python version:  3.5.2
NetBox version:  2.2.6

Description
Currently, a rack must be assigned to a site and may optionally be assigned to a rack group. Each rack group must be assigned to a site. This allows e.g. to represent cages within a site. However, this model is limited to a single level of grouping. It would be beneficial to support nested rack groups (similar to regions) so that we could model subgroups of racks within a cage, for example. Additional research is needed to determine how feasible this is.

@jeremystretch I thought the Tenancy aspect, from the Data Center viewpoint, was equivalent to the "cage". Perhaps I misunderstood the purpose of the Tenancy feature, (which is typically a term used for VRFs or VLANs) but the description says "Customers or departments", which seems to me like the cage in the DC. Then within the cage, you have Racks and optionally Rack Groups.

@jasonguy The concept of tenancy covers many objects in NetBox (sites, racks, VRFs, circuits, etc.). It might make sense to assign a tenant for a specific device, or a whole rack, or a whole cage, depending on your use case.

It will be interesting to see if we can implement both this and #238.

How about carving up racks for multi-tenancy within a rack? This can become a bit more interesting with #554 . I'd like to be able to say that a customer can manage the space they've been allocated within the rack, and that's it.

With this feature, you may want to enable support for more details about a rack group.  IE for tracking cages, a colocation provider (or the users of the netbox deployment) may have specific details tied to a cage like descriptions, tenant(s), tenant group(s), tags, or status.  You could also argue that rack groups should track available power, rack space (may not be a good name, but track how many racks in that group could be provisioned), and other "datatypes" not currently found in netbox.
This could be a separate feature request, but I think its pertinent to the overall vision of nested rack groups for depicting cages.  Let me know and I can split this out if needed.

@jeremystretch Along the same vein as this, would it be possible to look at sites being recursive in addition?
The reason I ask, is I can see a site being more akin to:

Building
Building Area
Room

And Rack groups being more in line with groupings within a room, ex:

Cage
Rack Row
Rack "group"

If it makes sense, I can open an enhancement issue for it as well so that it can be tracked together.

@jeremystretch Is there anything you can say about if this feature is up for implementation in the coming months?

I've been digging into this a bit and updating an existing model to sublcass MPTTModel is a bit tricky. This introduces four new database fields (lft, rght, level, and tree_id) which must be initialized for all existing objects (i.e. any RackGroups which have already been defined). This is normally achieved by calling e.g. RackGroup.objects.rebuild().
While the fields can be added via a migration without issue, we don't have access to MPTT's TreeManager within the migration, so we can't call rebuild(). The method's logic is pretty simple though, so we could emulate it with regular update() queries, however this results in an exception when the migration is run: django.db.utils.OperationalError: cannot CREATE INDEX "dcim_rackgroup" because it has pending trigger events. We would need to split the rebuild process into its own migration to avoid this (and we'd still have to hack together our own clone of rebuild()).
Another option is to leverage the post_migrate trigger to automatically call RackGroup.objects.rebuild() when the migration completes. This seems like a cleaner solution, though we probably don't want to force a rebuild of the tree for every migration. Unfortunately it doesn't appear possible to limit this to certain models.

I ended up separating the operations into two migrations and mimicking rebuild(), which seems to be straightforward enough.


Update tests to retrieve props from page

Grab the props from page.props instead of just props. Everything was failing for me initially with a message about props not being found, after this change everything passes.
Love love love Inertia, thanks so much!!

Love it, thanks!


Add again the factor base to improve tests and consistency with parser job

📣 New TestFlight ALPHA uploap available 🚀
Please, get the new build from TestFlight app.

Display name: OUDS Showcase ALPHA (117, 119, 122, 129, 130, 132)
Version: 0.3.0
Build number:<PHONE_NUMBER>
Build tag: 37891af
Build type: ALPHA
Build details (GitHub): 117, 119, 122, 129, 130, 132

This is an automated message sent with love and Fastlane from our CI/CD pipeline 🤘


Update api-files.md by removing deprecation note for Files API.

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


[#295] Update instruction for manual testing in DeveloperGuide

Fixes #295
Improve grammar.

Codecov Report

Merging #296 (0f9c86e) into master (a29cd27) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #296   +/-   ##
=========================================
  Coverage     73.91%   73.91%
  Complexity      687      687
=========================================
  Files            98       98
  Lines          2101     2101
  Branches        238      238
=========================================
  Hits           1553     1553
  Misses          481      481
  Partials         67       67

Continue to review full report at Codecov.

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


Add file uploading, grants table updates, typo fixes, style updates

File contents now upload and are linked to the file fedora object.
Add compliance column
Fix some minor typos
Upgrade fcrepo version
Upgrade to new adapter version

Accepting decrease in test coverage


⚠ Bofrost.be has degraded performance

In fd52b46, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1166 ms

Resolved: Bofrost.be performance has improved in 5f36d45.


Unify integer libfuncs.

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
Attention: Patch coverage is 57.05742% with 359 lines in your changes missing coverage. Please review.

Project coverage is 82.36%. Comparing base (2bad480) to head (4c0062d).

Files with missing lines
Patch %
Lines

src/libfuncs/int.rs
50.61%
359 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #958      +/-   ##
==========================================
- Coverage   82.54%   82.36%   -0.18%
==========================================
  Files         117      118       +1
  Lines       33516    33968     +452
==========================================
+ Hits        27666    27978     +312
- Misses       5850     5990     +140

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


Crash in 0.5 on start

[3/11/2019, 4:29:05 PM] [Living Room Harmony] INFO - Loading activities...
{ id: 1,
msg: 'OK',
data:
{ discoveryServerCF:
'https://cf-svcs-preview.myharmony.com/Discovery/Discovery.svc',
email<EMAIL_ADDRESS>username<EMAIL_ADDRESS>discoveryServer: 'https://svcs-preview.myharmony.com/Discovery/Discovery.svc',
activeRemoteId: 10882899,
susChannel: 'preview',
mode: 3,
language: 'en-US',
accountId: '9865358' },
code: '200' }
[3/11/2019, 4:29:06 PM] [Living Room Harmony] Error - Error retrieving info from hub : Cannot read property 'prout' of undefined
[3/11/2019, 4:29:08 PM] [Living Room Harmony] INFO - Loading activities...
{ id: 1,
msg: 'OK',
data:
{ discoveryServerCF:
'https://cf-svcs-preview.myharmony.com/Discovery/Discovery.svc',
email<EMAIL_ADDRESS>username<EMAIL_ADDRESS>discoveryServer: 'https://svcs-preview.myharmony.com/Discovery/Discovery.svc',
activeRemoteId: 10882899,
susChannel: 'preview',
mode: 3,
language: 'en-US',
accountId: '9865358' },
code: '200' }
[3/11/2019, 4:29:09 PM] [Living Room Harmony] Error - Error retrieving info from hub : Cannot read property 'prout' of undefined
[3/11/2019, 4:29:11 PM] [Living Room Harmony] INFO - Loading activities...
{ id: 1,
msg: 'OK',
data:
{ discoveryServerCF:
'https://cf-svcs-preview.myharmony.com/Discovery/Discovery.svc',
email<EMAIL_ADDRESS>username<EMAIL_ADDRESS>discoveryServer: 'https://svcs-preview.myharmony.com/Discovery/Discovery.svc',
activeRemoteId: 10882899,
susChannel: 'preview',
mode: 3,
language: 'en-US',
accountId: '9865358' },
code: '200' }
[3/11/2019, 4:29:12 PM] [Living Room Harmony] Error - Error retrieving info from hub : Cannot read property 'prout' of undefined
[3/11/2019, 4:29:13 PM] Got SIGTERM, shutting down Homebridge...
[3/11/2019, 4:29:13 PM] [Living Room Harmony] INFO - shutdown
[3/11/2019, 4:29:14 PM] [Living Room Harmony] INFO - Loading activities...
{ id: 1,
msg: 'OK',
data:
{ discoveryServerCF:
'https://cf-svcs-preview.myharmony.com/Discovery/Discovery.svc',
email<EMAIL_ADDRESS>username<EMAIL_ADDRESS>discoveryServer: 'https://svcs-preview.myharmony.com/Discovery/Discovery.svc',
activeRemoteId: 10882899,
susChannel: 'preview',
mode: 3,
language: 'en-US',
accountId: '9865358' },
code: '200' }
[3/11/2019, 4:29:15 PM] [Living Room Harmony] Error - Error retrieving info from hub : Cannot read property 'prout' of undefined
[3/11/2019, 4:29:17 PM] [Living Room Harmony] INFO - Loading activities...
{ id: 1,
msg: 'OK',
data:
{ discoveryServerCF:
'https://cf-svcs-preview.myharmony.com/Discovery/Discovery.svc',
email<EMAIL_ADDRESS>username<EMAIL_ADDRESS>discoveryServer: 'https://svcs-preview.myharmony.com/Discovery/Discovery.svc',
activeRemoteId: 10882899,
susChannel: 'preview',
mode: 3,
language: 'en-US',
accountId: '9865358' },
code: '200' }

oups !

Sorry, new build in progress :(

should be fixed, sorry again


Upgrade to entities 0.8.0

Description
Upgrade to support ECS 0.8.0
Remove PlayerLoop hackery as unity now has "support" for fixed update ComponentSystemGroups
Mark all Playground ecs systems as DisableAutoCreation to support the Default World.
Tests

[ ] Playground
[ ] Test Project
[ ] Cloud

Documentation

[ ] Changelog
[ ] Upgrade Guide

Entities 0.8.0 is broken on Android, waiting for 0.9.0 release which hopefully works.


a few changes

It looks like you are attempting to push a change to the part repository, for help with deploying please start a new thread in the discussions.


⚠ Independent Wealth Management Australia has degraded performance

In 64122f4, Independent Wealth Management Australia (https://iwmaus.com.au) experienced degraded performance:

HTTP code: 200
Response time: 25879 ms

Resolved: Independent Wealth Management Australia performance has improved in e1396c7.


Updating availabilityWindowOverride value after load

Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
2.5.10.
Hello, I'm trying to set the availabilityWindowOverride value on click with a button, and it's changed with success, but it isn't really updated on the player. this.player.getConfiguration().manifest.availabilityWindowOverride shows the new value but the seekbar remains the same. Not sure if I need to use any other function to "update" it.

I believe that value is used when the content is first loaded.  Changing it mid-playback may not have an effect until you load another piece of content.

There's no way of changing it with real effect once the live stream is loaded then?

The intent of the config is to allow you to override part of the manifest that you may not have control over.  For example, HLS live does not allow seeking by default (or at all in Apple's implementation), so that gives you a way to allow seeking in HLS live.  Or if the DASH packaging software doesn't allow you to change timeShiftBufferDepth, and you want to shrink or grow it in the client.
But in all of those cases, we assume you know in advance that you want to change it, before you start playing the content.  So the value is applied in the manifest parser (DASH or HLS) early in the parsing process and never again.
Why do you want to change it during playback?  What's your goal?

I'm testing a start-over function with a DASH live stream. I've set availabilityWindowOverride for 2 hours, so if the program started 3 hours ago the player can't jump to that point if availabilityWindowOverride value isn't increased first.

I'm not sure I see the value in it, but if you're willing to play with some of the internals, you can modify the manifest directly:
player.getManifest().presentationTimeline.setSegmentAvailabilityDuration(2 * 60 * 60);

The manifest structure is not guaranteed to stay the same between minor number releases, so beware.  But that should work for what you're trying to do, and we have no plans to change that part of the structure at this time.
Does this help?

It seems working. One more question, how can I check the current value set for setSegmentAvailabilityDuration?

This was never intended as an application-facing API.  The best we have in a release version is getSegmentAvailabilityStart() and getSegmentAvailabilityEnd().  You can also make changes to the source if you wish.  See lib/media/presentation_timeline.js.
Does this help?

I just set a variable for setSegmentAvailabilityDuration at the beginning of the code and solved. Thank you so much for your help!

Could you please explain me what you meant with this?

The manifest structure is not guaranteed to stay the same between minor number releases, so beware.

For example, the manifest structure returned by player.getManifest() in v2.5.x will not be the same as the structure returned by the same method in v2.6.x.  Between minor-number releases (where the second number in the version changes), internal structures like that can change.

I understand. I'll beware. Thank you again.

Glad we could help!


Update functions-identity-based-connections-tutorial.md

we can access storage account via managed identity with this restriction
Also this is only applicable for functionapps which are provisioned in dedicated appservice plan not for consumption and elastic premium as they have additional storage setting WEBSITE_CONTENTAZUREFILECONNECTIONSTRING.

@ggailey777
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

PR review team emailed author today


Fix 2 inconsistencies

Noticed that {starwars} was missing a text_color_starwars object, and {spiderman} was missing a light_color_spiderman object. Added these so that there is more consistency between the themes.

Thanks! yes that will work. Thank you!


Fontawesome 5 icons ??

Currently, kirki is using font-awesome 4. When will it be shifted to 5 ??

I managed to display font awesome 5 using this thread https://github.com/aristath/kirki/issues/1866
but when I use the same code in repeater it is not working. I checked the code of repeater and it seems it is encoding the text. Will this be fixed ??

I've wanted to update this field for a long time... Actually no, that's a lie. I want to completely remove and deprecate this field. But since people use it I can't.
If you have any ideas on how to add FA5 icons without breaking things for sites that already use the control with the FA4 icons then I'm all ears.

This has likely become a wontfix as the field is being deprecated: https://github.com/aristath/kirki/commit/0bc7f4b93af85e949fe12f9d0c522473ca27a286


BREAKING CHANGE: split Process Inspector HXE.Process to a new, 64-bit Console App or Library

https://twitter.com/VoidsShadow/status/1450000709890424834

Hear the lament of one who must maintain a single-file, self-extracting installer that has a 64-bit-only feature and must run on both 32-bit and 64-bit platforms.

https://twitter.com/VoidsShadow/status/1450401081809416198

I couldn't find a way to create an 'Any CPU' app with net5.0+ tools despite implications in its source code and documentation, so I'll have to split 64-bit-only features to a separate application or library that is stored in and later extracted from a 32-bit SPV3 Installer.

😠

Miris

why not have the x64 project straight in the HXE repo then?
./src
./doc
./x64

BinToss

Why didn't I think of that? Better yet, why didn't I consider using a Build and Release matrix to avoid the need for a new project?
In that case, the apps could be released together with their filenames having CPU-arch suffixes.
HaloSPV3/SPV3-Installer (todo) would still have to publish for x86 with HXE-x64.exe embedded as a resource that hopefully won't be bagged and tagged by AV software.

Miris

ah, yer, you could set up build configs for x64 for per-arch executables
and ehhhh, embedded executables are certainly a gamble


New Operator: retryWhen

retrys when another observable fires

On completion, don't send completed
connect to another "trigger" observable
when it fires retry (and disconnect from the trigger)

See https://www.learnrxjs.io/operators/error_handling/retrywhen.html


[dcrd] Check for rpc version match

When running vspd, if the dcrwallet rpc mismatch versions, for example, an error will be thrown:
2020-06-01 16:56:36.104 [ERR] VSP: dcrwallet client error: dcrwallet 'wss://<IP_ADDRESS>:19110/ws' has wrong RPC version: got 8.0.0, expected 8.1.0
It looks like the same does not happen for dcrd, but it would be a good check.

Related decred/dcrd#2207

vspd already checks for a specific API version.
Per Dave's comment in #2207 - RPC version has already been incremented for this dcrd release cycle.
Nothing to do here, closing.


All "es_ES" file bugs fixed

Now you can use ~, ^ and `. Read the warning comment.

You don't have to put the whole file .-. Wiat I'll fix it !

The warning comment is useless, nobody will see it, I removed it.

Did you tested the code, all is working good ? @BlueArduino20

Yes, I've tested it and it works correctly.

Okay, closes #19 and #26 !


Problem with trained model

Hello, does anyone know why when training and testing the SD V1.5 model with the new collab updates, the generated images have that poor quality, something like haze and sometimes the images are distorted as if their face melted?
It does not happen to me with models that I train with previous versions of the colab

Could you clarify what happened. E.g. you opened a previously generated CKPT files, using the same prompts, found the images are blurred. Or you train the model using the same raw pictures  and setting as before, and could not generate as good picture as before?

Could you clarify what happened. E.g. you opened a previously generated CKPT files, using the same prompts, found the images are blurred. Or you train the model using the same raw pictures and setting as before, and could not generate as good picture as before?

Training a new model using the same images that you used in a generated model before UNet_Learning_Rate was added to the colab, the images that this new model generates do not output correctly. In the previous one, if everything goes well, I don't know what I can be doing wrong or why they come out like this.

Have you tried to modify the UNet Learning Rate to 2-e6 and try again? When the colab UI was modified, the default UNet Learning Rate was set to 3-e5. This is quite a high value and could influence the result.


Processing error with the new release

@jalew188
I have not been able to process any files with the new release (build20231220 with python installer).
I also tried updating the dot NET framework to version 8.0 But still got the same error messages:
Error message part 1
Process ID=09408: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Base, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Process ID=09408:    at CombineMS2.Program.Main(String[] args)
Error message part 2: unable to open the mgf file that was generated by pParse
Process ID=09408: [pGlyco Error] Open in CMGFReader: Could not open file: D:\data\wells\lz\raw\1\LZ-20240127-Wells-RatBrain-CST-Eluate-Pro-KRc-AV1pm-intsHCDpdETDc_HCDpdETXXDFT.mgf
Please see the complete log files here:
pGlyco3.beforedotNETframework8.pythonbat.log
pGlyco3.afterdotNETframework8.pythonexe.log

Please copy this file https://github.com/pFindStudio/pGlyco3/releases/download/pGlyco3.0_build20231220/Base.dll into pGlyco3 program folder with pGlycoSite.exe

Thank you for the fix. I'm now able to run 3.1 version. Haven't tested the glycoworkbench conversion function.

i got an error also using the new version my .net framework is 8.0.x

i got an error also using the new version my .net framework is 8.0.x

It seems that there is a bug relating to Python.Runtime.dll, I will investigate what happended

Hi are you still working on this. I'm getting a similar error:
[pGlyco] Starting task ...

Process ID=15848: Traceback (most recent call last):
Process ID=15848:   File "parse_raw.py", line 5, in
Process ID=15848:   File "", line 1007, in _find_and_load
Process ID=15848:   File "", line 986, in _find_and_load_unlocked
Process ID=15848:   File "", line 680, in _load_unlocked
Process ID=15848:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=15848:   File "RawFileReader.py", line 6, in
Process ID=15848:   File "", line 1007, in _find_and_load
Process ID=15848:   File "", line 986, in _find_and_load_unlocked
Process ID=15848:   File "", line 680, in load_unlocked
Process ID=15848:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=15848:   File "clr.py", line 6, in
Process ID=15848:   File "pythonnet_init.py", line 143, in load
Process ID=15848:   File "clr_loader\types.py", line 94, in get_function
Process ID=15848:   File "clr_loader\types.py", line 58, in init
Process ID=15848:   File "clr_loader\netfx.py", line 47, in _get_callable
Process ID=15848: RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\pGlyco3.1_build20231220\bin_internal\pythonnet\runtime\Python.Runtime.dll
Process ID=15848: [27532] Failed to execute script 'parse_raw' due to unhandled exception!
Process ID=11632: Traceback (most recent call last):
Process ID=11632:   File "parse_raw.py", line 5, in
Process ID=11632:   File "", line 1007, in _find_and_load
Process ID=11632:   File "", line 986, in _find_and_load_unlocked
Process ID=11632:   File "", line 680, in _load_unlocked
Process ID=11632:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=11632:   File "RawFileReader.py", line 6, in
Process ID=11632:   File "", line 1007, in _find_and_load
Process ID=11632:   File "", line 986, in _find_and_load_unlocked
Process ID=11632:   File "", line 680, in load_unlocked
Process ID=11632:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=11632:   File "clr.py", line 6, in
Process ID=11632:   File "pythonnet_init.py", line 143, in load
Process ID=11632:   File "clr_loader\types.py", line 94, in get_function
Process ID=11632:   File "clr_loader\types.py", line 58, in init
Process ID=11632:   File "clr_loader\netfx.py", line 47, in _get_callable
Process ID=11632: RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\pGlyco3.1_build20231220\bin_internal\pythonnet\runtime\Python.Runtime.dll
Process ID=11632: [28464] Failed to execute script 'parse_raw' due to unhandled exception!

Process ID=15848: [pGlyco] 20. precursor_tolerance=10 ppm
Process ID=15848: [pGlyco] 21. fragment_tolerance=20 ppm
Process ID=15848: [pGlyco] 22. output_dir=D:/6010/NGlyco_test_010723/pFind/process3/
Process ID=15848: [pGlyco] Loading glycan database ...

Process ID=12200: [pGlyco] 2920 glycan structures
Process ID=12200: [pGlyco] Ion Indexing ...
Process ID=15848: [pGlyco] 2920 glycan structures
Process ID=15848: [pGlyco] Ion Indexing ...
Process ID=11632: [pGlyco] 2920 glycan structures
Process ID=11632: [pGlyco] Ion Indexing ...
Process ID=11632: [pGlyco] Ion Indexing done
Process ID=12200: [pGlyco] Ion Indexing done
Process ID=15848: [pGlyco] Ion Indexing done
Process ID=11632: [pGlyco] Glycan grouping ...
Process ID=11632: [pGlyco] Glycan grouping done.
Process ID=11632: [pGlyco] Loading protein sequences ...
Process ID=12200: [pGlyco] Glycan grouping ...
Process ID=12200: [pGlyco] Glycan grouping done.
Process ID=12200: [pGlyco] Loading protein sequences ...
Process ID=15848: [pGlyco] Glycan grouping ...
Process ID=15848: [pGlyco] Glycan grouping done.
Process ID=15848: [pGlyco] Loading protein sequences ...
Process ID=12200: [pGlyco] 6406663 peptide sequences ...
Process ID=12200: [pGlyco] Preparing spectra ...
Process ID=12200: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100332_02_MA10140C_6010_010523.raw
Process ID=12200:
Process ID=12200: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100332_02_MA10140C_6010_010523.raw finished!
Process ID=11632: [pGlyco] 6406663 peptide sequences ...
Process ID=12200: [I.D.] 100.0% [==================================================]Process ID=11632: [pGlyco] Preparing spectra ...
Process ID=11632: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100333_01_MA10140C_6010_010523.raw
Process ID=11632:
Process ID=11632: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100333_01_MA10140C_6010_010523.raw finished!
Process ID=11632: [I.D.] 100.0% [==================================================]Process ID=15848: [pGlyco] 6406663 peptide sequences ...
Process ID=15848: [pGlyco] Preparing spectra ...
Process ID=15848: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100334_01_MA10140C_6010_010523.raw
Process ID=15848:
Process ID=15848: [pGlyco] D:\6010\NGlyco_test_010723\pFind\ID100334_01_MA10140C_6010_010523.raw finished!

Process ID=15848: C:\pGlyco3.1_build20231220\bin>pGlycoFDR.exe -p "D:\6010\NGlyco_test_010723\pFind\process3\pGlyco.cfg"
Process ID=12200: C:\pGlyco3.1_build20231220\bin>pGlycoFDR.exe -p "D:\6010\NGlyco_test_010723\pFind\process2\pGlyco.cfg"
Process ID=11632: C:\pGlyco3.1_build20231220\bin>pGlycoFDR.exe -p "D:\6010\NGlyco_test_010723\pFind\process1\pGlyco.cfg"
Process ID=12200: D:\6010\NGlyco_test_010723\pFind\process2\pGlycoDB-GP-Raw1-FDR.txt
Process ID=12200: [pGlycoFDR] 0 GPSMs at 1.0% FDR
Process ID=12200: D:\6010\NGlyco_test_010723\pFind\process2\pGlycoDB-GP-Raw1-FDR-noFiltered.txt
Process ID=12200: [pGlycoFDR] 0 GPSMs at 100.0% FDR
Process ID=12200: merge into D:\6010\NGlyco_test_010723\pFind\process2\pGlycoDB-GP-FDR.txt
Process ID=11632: D:\6010\NGlyco_test_010723\pFind\process1\pGlycoDB-GP-Raw1-FDR.txt
Process ID=11632: [pGlycoFDR] 0 GPSMs at 1.0% FDR
Process ID=11632: D:\6010\NGlyco_test_010723\pFind\process1\pGlycoDB-GP-Raw1-FDR-noFiltered.txt
Process ID=11632: [pGlycoFDR] 0 GPSMs at 100.0% FDR
Process ID=11632: merge into D:\6010\NGlyco_test_010723\pFind\process1\pGlycoDB-GP-FDR.txt
Process ID=15848: D:\6010\NGlyco_test_010723\pFind\process3\pGlycoDB-GP-Raw1-FDR.txt
Process ID=15848: [pGlycoFDR] 0 GPSMs at 1.0% FDR
Process ID=15848: D:\6010\NGlyco_test_010723\pFind\process3\pGlycoDB-GP-Raw1-FDR-noFiltered.txt
Process ID=15848: [pGlycoFDR] 0 GPSMs at 100.0% FDR
Process ID=15848: merge into D:\6010\NGlyco_test_010723\pFind\process3\pGlycoDB-GP-FDR.txt
Process ID=12200: C:\pGlyco3.1_build20231220\bin>pGlycoProInfer.exe -p "D:\6010\NGlyco_test_010723\pFind\process2\pGlyco.cfg"
Process ID=11632: C:\pGlyco3.1_build20231220\bin>pGlycoProInfer.exe -p "D:\6010\NGlyco_test_010723\pFind\process1\pGlyco.cfg"
Process ID=15848: C:\pGlyco3.1_build20231220\bin>pGlycoProInfer.exe -p "D:\6010\NGlyco_test_010723\pFind\process3\pGlyco.cfg"
Process ID=15848: Reading pGlyco results ...
Process ID=15848: Inferring proteins ...
Process ID=15848: D:\6010\NGlyco_test_010723\pFind\process3\pGlycoDB-GP-FDR-Pro.txt
Process ID=15848: C:\pGlyco3.1_build20231220\bin>XIC.exe -p "D:\6010\NGlyco_test_010723\pFind\process3\pGlyco.cfg"
Process ID=11632: Reading pGlyco results ...
Process ID=11632: Inferring proteins ...
Process ID=11632: D:\6010\NGlyco_test_010723\pFind\process1\pGlycoDB-GP-FDR-Pro.txt
Process ID=11632: C:\pGlyco3.1_build20231220\bin>XIC.exe -p "D:\6010\NGlyco_test_010723\pFind\process1\pGlyco.cfg"
Process ID=12200: Reading pGlyco results ...
Process ID=12200: Inferring proteins ...

Process ID=11632:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=11632:   File "ms_reader.py", line 4, in
Process ID=11632:   File "", line 1007, in _find_and_load
Process ID=11632:   File "", line 986, in _find_and_load_unlocked
Process ID=11632:   File "", line 680, in _load_unlocked
Process ID=11632:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=11632:   File "RawFileReader.py", line 6, in
Process ID=11632:   File "", line 1007, in _find_and_load
Process ID=11632:   File "", line 986, in _find_and_load_unlocked
Process ID=11632:   File "", line 680, in load_unlocked
Process ID=11632:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=11632:   File "clr.py", line 6, in
Process ID=11632:   File "pythonnet_init.py", line 143, in load
Process ID=11632:   File "clr_loader\types.py", line 94, in get_function
Process ID=11632:   File "clr_loader\types.py", line 58, in init
Process ID=11632:   File "clr_loader\netfx.py", line 47, in _get_callable
Process ID=11632: RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\pGlyco3.1_build20231220\bin_internal\pythonnet\runtime\Python.Runtime.dll
Process ID=11632: [6492] Failed to execute script 'XIC' due to unhandled exception!
Process ID=15848: Traceback (most recent call last):
Process ID=15848:   File "XIC.py", line 2, in
Process ID=15848:   File "", line 1007, in _find_and_load
Process ID=15848:   File "", line 986, in _find_and_load_unlocked
Process ID=15848:   File "", line 680, in _load_unlocked
Process ID=15848:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=15848:   File "ms_reader.py", line 4, in
Process ID=15848:   File "", line 1007, in _find_and_load
Process ID=15848:   File "", line 986, in _find_and_load_unlocked
Process ID=15848:   File "", line 680, in _load_unlocked
Process ID=15848:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=15848:   File "RawFileReader.py", line 6, in
Process ID=15848:   File "", line 1007, in _find_and_load
Process ID=15848:   File "", line 986, in _find_and_load_unlocked
Process ID=15848:   File "", line 680, in load_unlocked
Process ID=15848:   File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
Process ID=15848:   File "clr.py", line 6, in
Process ID=15848:   File "pythonnet_init.py", line 143, in load
Process ID=15848:   File "clr_loader\types.py", line 94, in get_function
Process ID=15848:   File "clr_loader\types.py", line 58, in init
Process ID=15848:   File "clr_loader\netfx.py", line 47, in _get_callable
Process ID=15848: RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\pGlyco3.1_build20231220\bin_internal\pythonnet\runtime\Python.Runtime.dll
Process ID=15848: [4800] Failed to execute script 'XIC' due to unhandled exception!
Process ID=12200: C:\pGlyco3.1_build20231220\bin>pGlycoSite.exe "D:\6010\NGlyco_test_010723\pFind\process2\pGlyco.cfg"
Process ID=11632: C:\pGlyco3.1_build20231220\bin>pGlycoSite.exe "D:\6010\NGlyco_test_010723\pFind\process1\pGlyco.cfg"
Process ID=15848: C:\pGlyco3.1_build20231220\bin>pGlycoSite.exe "D:\6010\NGlyco_test_010723\pFind\process3\pGlyco.cfg"
Process ID=15848: Already registered!
Process ID=11632: Already registered!
Process ID=12200: Already registered!
Process ID=15848: [pGlycoSite] Glycosylation site localization finished!
Process ID=12200: [pGlycoSite] Glycosylation site localization finished!
Process ID=11632: [pGlycoSite] Glycosylation site localization finished!
[pGlyco]  File D:\6010\NGlyco_test_010723\pFind\process1\pGlycoDB-GP-FDR-Pro-Quant.txt does not exist!
[pGlyco]  File D:\6010\NGlyco_test_010723\pFind\process2\pGlycoDB-GP-FDR-Pro-Quant.txt does not exist!
[pGlyco] Task completed.

Hi, are you still working on this? I'm getting a similar error. Thanks, Matt
[pGlyco] Starting task ...


TST Add tests to cover cases where magic replacement raises AssertionError

While handling line magics like %time that contains python code, we could run into AssertionError when the regex match fails. Add tests to test those code paths raising AssertionError

closing as the magic handler has been rewritten and I don't think this is relevant any more, though do let me know if I've misunderstood


FIRECERT-2103: Fix

Description
Enter a detailed description of the PR here, including the nature and purpose of the changes.
JIRA Ticket
Include a link to the JIRA Ticket linked to this PR.
Issue-0000
Additional Info (Test steps / Steps to reproduce etc.)
Details on how to test the feature

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-app/126/rdkcentral/firebolt-certification-app

Commit: 5745cd7d1e5b5364a2ab9122f4390e429cd94188

Report detail: gist


Ledger assert

Description
Add legder-assert and related defines to enable feature and display of error code on device screen.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[X] New feature (non-breaking change that adds functionality)
[X] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Breaking changes
Replace HAVE_DEBUG_THROWS with HAVE_LEDGER_ASSERT_DISPLAY

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8030947) 59.47% compared to head (12c5cc9) 59.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #473   +/-   ##
=======================================
  Coverage   59.47%   59.47%
=======================================
  Files          12       12
  Lines        1683     1683
=======================================
  Hits         1001     1001
  Misses        682      682

Flag
Coverage Δ

unittests
59.47% <ø> (ø)

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

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


python(feat): Imagebind embedding fn support

Added imagebind fn support , steps to install mentioned in docstring. Slow pytest added, success on local run.

Tested the slow test locally?

Yes , are there any changes to be done or can this be merged?

Just one comment, otherwise looks good. Thnx


Android front facing camera streams upside down in at least some cases

Hi,
I've successfully implemented this library into a test project. First of all, thanks for making this!
Broadcasting works fine, except there is an issue with the front facing camera, at least on the Android devices I am able to test on. The preview in the app looks correct, however the resulting stream has the front facing camera upside down. I did some digging and found that the issue doesn't stem from your library, but rather Android itself, however I thought it might be worth letting you know to see if we can brainstorm a fix.
Affected devices: Pixel 3a, Pixel 2XL (potentially more?)
The problem derives from an issue in the CameraManager class, part of Android's camera2 API, which this library uses. The CameraCharacteristics you get thinks the orientation of the front facing camera is 180 degrees off of the rear facing camera for some reason. I was able to log it here:
2020-06-29 21:50:24.707 29763-29763/com.example.rtmptest D/===RTMP Test===: name: 0; lens direction: back; orientation: 90
2020-06-29 21:50:24.710 29763-29763/com.example.rtmptest D/===RTMP Test===: name: 1; lens direction: front; orientation: 270

The method you can use to see this is this:
CameraCharacteristics characteristics = manager.getCameraCharacteristics(camera);
int sensorOrientationDegrees = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION);

Where sensorOrientationDegrees refers to 0, 90, 180, or 270. As you can see in the log above, the front facing camera is inverted (270) compared to the rear (90). What's interesting is that this only happens in portrait mode, in landscape, it works fine:
2020-06-29 21:50:22.152 29763-29763/fitness.classmate.rtmptest D/===RTMP Test===: name: 0; lens direction: back; orientation: 180
2020-06-29 21:50:22.154 29763-29763/fitness.classmate.rtmptest D/===RTMP Test===: name: 1; lens direction: front; orientation: 180

I've dug around for solutions to this but haven't had any luck with what little I've found. The library you derived the Android solution from also faces this same problem, so it's not just you. Given that I can use Hangouts and other video apps on this device without being upside down, I know there is a solution, I just can't find it yet. I just wanted to create this issue here so that others might be able to see that they're not crazy if they run into this wall like I did, and hopefully spark a conversation that can lead to a solution.
Thanks!

Ok, now that is a weird problem :). Let me see what I can find out.  The
android camera2 apis is one of the most frustrating apis I have ever worked
with.  It fails in the most obscure ways.
I have a pixel 2, not a 3a though.
On Tue, 30 Jun 2020 at 20:33, jmrboosties<EMAIL_ADDRESS>wrote:

Hi,
I've successfully implemented this library into a test project. First of
all, thanks for making this!
Broadcasting works fine, except there is an issue with the front facing
camera, at least on the Android devices I am able to test on. The preview
in the app looks correct, however the resulting stream has the front facing
camera upside down. I did some digging and found that the issue doesn't
stem from your library, but rather Android itself, however I thought it
might be worth letting you know to see if we can brainstorm a fix.
Affected devices: Pixel 3a, Pixel 2XL (potentially more?)
The problem derives from an issue in the CameraManager class, part of
Android's camera2 API, which this library uses. The CameraCharacteristics
you get thinks the orientation of the front facing camera is 180 degrees
off of the rear facing camera for some reason. I was able to log it here:
2020-06-29 21:50:24.707 29763-29763/com.example.rtmptest D/===RTMP Test===: name: 0; lens direction: back; orientation: 90
2020-06-29 21:50:24.710 29763-29763/com.example.rtmptest D/===RTMP Test===: name: 1; lens direction: front; orientation: 270
The method you can use to see this is this:
CameraCharacteristics characteristics = manager.getCameraCharacteristics(camera);
int sensorOrientationDegrees = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION);
Where sensorOrientationDegrees refers to 0, 90, 180, or 270. As you can
see in the log above, the front facing camera is inverted (270) compared to
the rear (90). What's interesting is that this only happens in portrait
mode, in landscape, it works fine:
2020-06-29 21:50:22.152 29763-29763/fitness.classmate.rtmptest D/===RTMP Test===: name: 0; lens direction: back; orientation: 180
2020-06-29 21:50:22.154 29763-29763/fitness.classmate.rtmptest D/===RTMP Test===: name: 1; lens direction: front; orientation: 180
I've dug around for solutions to this but haven't had any luck with what
little I've found. The library
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java you derived
the Android solution from also faces this same problem, so it's not just
you. Given that I can use Hangouts and other video apps on this device
without being upside down, I know there is a solution, I just can't find it
yet. I just wanted to create this issue here so that others might be able
to see that they're not crazy if they run into this wall like I did, and
hopefully spark a conversation that can lead to a solution.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pinkfish/flutter_rtmppublisher/issues/18, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AATOMMMUCMND5VOVKIUFWPLRZKVBRANCNFSM4OM7SFHA
.

Ok, looking at this there is not much you can do by the looks.  It should be putting the metadata into the stream, from what I can tell, giving the rotation.  Can you see this in the metadata on the playback side?  It might need to do the rotation there.  If you use the opengl surface that should rotate for you (at a cost of cpu).  Going to check that path now.


Pandas ReadCSV assumptions

https://github.com/girder/metabulo/blob/6735897c92ce206dea1bc9bfc7ea608e501579fc/metabulo/models.py#L137-L162
These assumptions are probably fine in most cases, but might occasionally cause trouble.
I'm more concerned about mapping between row/col indexes and pandas indexes: index + 1 or index - 1 is going to end up elsewhere in code and will read poorly.
Solution
We will eventually have to scan the input CSV and pick out what we think the primary and secondary keys are, but I don't think it's necessary that the pandas data frame have header or index_col set.
    pandas.read_csv(uri, header=None)

Then, to get the data table after keys, attributes, and masked rows are removed:
    column_data = filter(lambda col: col.column_type == 'numeric', columns)
    column_data_indexes = list(map(lambda col: col.column_index, column_data))

    row_data = filter(lambda row: row.row_type == 'sample', rows)
    row_data_indexes = list(map(lambda row: row.row_index, row_data))

    filtered = frame.iloc[row_data_indexes, column_data_indexes] ## indexes match up without off-by-one issues.

Priority
This is low priority.  Just wanted to log my thoughts so I don't forget what's going on.

I'm working on some changes similar to what you suggested.  As of now, the table provided through the API doesn't reflect any changes made to the row/column models.  I think this is the source of your concern.
FWIW,  I'm planning on keeping the following assumptions until we have a reason not to:

All csv files have a header at row 0
The primary key (if it exists) is in the first column (otherwise the default RangeIndex is used)

keeping the following assumptions until we have a reason not to: header at row 0

The best reason I can think of not to do that is the user expects to be able to change the primary key.  If I try to make the primary key row[1] through the UI, row 0 should be demoted either to regular data or to secondary attribute / secondary key.
As a user, I have a hunch that locking the top row would occasionally be quite frustrating.

As of now, the table provided through the API doesn't reflect any changes made to the row/column models.

As long as there remains a way of getting the raw uploaded table without consideration of the changes made to row/col models, any changes shouldn't impact existing UI much.

Actually, as I recall, Tom showed us a data set where row 0 was blank (it had some comments in cell (0,0) and 1 had the primary keys last week.

Fixed by #49


Network commands not always sent at app startup connection

When reconnecting (long press Disconnect, Connect) the Network commands are sent ok.
In log:
[D] Communi::IrcConnection::sendData:1259 - -> "PRIVMSG -proxy- :IRSSIPROXY BACKLOG SEND"
But when connecting at app startup, at about same location, there is this warning:
[W] unknown:151 - qrc:///qml/main.qml:151: TypeError: Cannot call method 'sendLines' of undefined

@kimmoli Can you still reproduce this?

Affirmative.
It happens on startup when i have fast network connection, e.g. 4G or wifi, also mostly on 3G.
The commands are sent fine if i'm on 2G or poor 3G or poor wifi, so maybe something to do with timing.

https://github.com/kimmoli/communi-sailfish/commit/4216a4a6ee879406bffe6cc005a8f37cc1914dda


Adding Whisper functionality to character sheet

The API script and the character sheet have been updated to include whisper functionality.

Please resolve conflicts in order to merge, thank you.

Thanks will do this weekend.

Resolved conflicts.

Perfect, thank you.


Cleanup case templates

Improve the markup used in our case templates:

Make sure things are correctly in the govuk-grid
Add hidden text to identical links for accessibility.
Improve page titles so they're unique to the thing they represent.

Improve page titles so they're unique to the thing they represent- looks good! just need to test hidden text before I want to sign off this PR

I'm rewriting the failing system tests in RSpec, but this change depends on https://github.com/UKGovernmentBEIS/beis-opss-psd/pull/119.

I've replaced the unreliable system test with new RSpec feature specs which cover the existing test scenarios plus more assertions on the intermediary steps.

look good. I'd just prefer to use have_css||have_xpath over have_selector it's clearer what type of selector you're using.

Fair enough. We're using have_selector a lot elsewhere already, so i think we should be consistent. Let's change them to have_css in one go in a separate PR and then agree to use these going forward.


compute_ctl: Add endpoint that allows extensions to be installed

Adds endpoint to install extensions:
POST /extensions
{"extension":"pg_sessions_jwt","database":"neondb","version":"1.0.0"}

Will be used by local-proxy.
Example, for the JWT authentication to work the database needs to have the pg_session_jwt extension and also to enable JWT to work in RLS policies.

What's the backstory behind this, why do we need this endpoint?

@hlinnaka

What's the backstory behind this, why do we need this endpoint?

For the JWT authentication to work the database needs to have the pg_session_jwt extension and also to enable JWT to work in RLS policies. Initial approach was to enable the extension as part of apply_config but an HTTP endpoint to do this was proposed by maintainers as a preferred solution.

Thanks for doing this!

@tristan957 @MMeent thanks for the thorough review! I agree with your comments, will ping when changes are done. 👍

@tristan957 this and the other one should be fine to review

Added test and addressed other feedback as well


SPIKE: how to make the modal dialogue responsive

This is on hold as may happen as an out come of the CSS variables work


Add James Hoffmanns's Ultimate V60 Technique

I've added James Hoffmann's ultimate v60 technique. youtube
There are a few notes in the pour sections. I know these aren't currently displayed but I've left them in anyway since I think they might be useful if the app gets updated to display them.

thank you!


Support jumping to file offset

A feature I frequently use in IDA is the Jump > Jump to file offset... for scenarios where I may search in my hex editor for some data in the binary then jump to it in the disassembler. I cannot figure out any way to do this in Binary Ninja. g is used for addresses, which doesn't appear to always map correctly.
For example in my hex editor I searched for the binary sequence 90 0F 10 00 0F 11 04 10 which yielded a result at 0x5FB40F. Trying to use the python console with here = current_view.start + 0x5FB40F brought me to a location with instructions that did not match the byte sequence I searched for above. I then used the text search feature to search for the same hex string which yielded a result at 0x005fc00f. My guess is this has something do with RVA vs mapped VAs.

Install the Snippets plugin from the plugin manager
Bind https://gist.github.com/psifertex/6fbc7532f536775194edd26290892ef7#file-navigate_to_offset to a hotkey

I'm gonna close this issue since it should solve your problem with the above snippet but if not, feel free to re-open1

I believe that does the trick. Thank you!

Reopening since we do want to implement this without requiring a snippet.

Fixed in 2.3.2685-dev


Support expression as skipping index column

Description
TODO: This enhancement is required by https://github.com/opensearch-project/opensearch-spark/pull/213
Issues Resolved
https://github.com/opensearch-project/opensearch-spark/issues/204
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This introduced major changes on skipping index and skipping strategy interface. Will delay this and support struct type only without analyzing index expression string.


Feature request: Python marshal support

Python has a serialization format called marshal which is missing from CyberChef
Describe the solution you'd like
I would like CyberChef to be able to encode and decode using the Python marshal format
Describe alternatives you've considered
I currently do it using a Python script of course :)
Additional context
Marshal is similar to Pickle which would be nice to have too.
This JS library might help: https://www.npmjs.com/package/py-marshal

Plus 1 for pickle support!


Test that non-canonical encodings are rejected

Background
We should check that transactions have have an non-canonical encoding are rejected by the ledger layer.
Proposed Solution
We could modify the abstract signature defined in cardano-ledger-specs:
-- |A digital signature.
data Sig a = Sig a Owner

so that it incorporates details about the validity of the signature. For instance, we could modify it as follows:
-- |A digital signature.
data Sig a = Sig (Validity a) Owner

data Validity a = Valid a
                | NonCanonical a
                | WrongHashAlgo a
                | WrongData

Then the elaborators could interpret the data validity and produce invalid data when the signed data is not of the form Valid a. In particular, when the signed data is of the form NonCanonical a, we could produce signed data that is valid but with a non-canonical encoding.

This might not be as simple as I thought. In particular, in the conformance tests we currently annotate a block by encoding the data:
annotateBlock :: Slotting.EpochSlots -> Concrete.Block -> Concrete.ABlock ByteString
annotateBlock epochSlots block =
  let
    decodedABlockOrBoundary =
      case
          Binary.decodeFullDecoder
            "Block"
            (Concrete.fromCBORABlockOrBoundary epochSlots) bytes
        of
          Left err ->
            panic
              $  "This function should be able to decode the block it encoded"
              <> ". Instead I got: "
              <> show err
          Right abobb -> map (LBS.toStrict . Binary.slice bytes) abobb
  in
    case decodedABlockOrBoundary of
      Concrete.ABOBBlock bk -> bk
      Concrete.ABOBBoundary _ ->
        panic "This function should have decoded a block."
  where bytes = Binary.serializeEncoding (Concrete.toCBORABOBBlock epochSlots block)

so the tests depend on this encoding. We need to find a way to provide the annotations in another way if we want to test non-canonical encodings.
In addition, maybe we need to write these tests in combination with the ledger client (e.g. mempool).

Marking as medium priority for Byron, but I can't quite judge the consequences of not checking this. @dcoutts might want to reprioritize.

Related: #465.


Explanation for Red and Blue lines?

Hey,
I've opened a certain v1.6 .dat file and in the Debug View I'm seeing lots of certain lines being Red and Blue. Could you explain what does it mean and if anything can be done about that?
Also, if that's a repetitive question, sorry.

The blue lines indicate the item is a directory. This is determined by the isDirectory flag in header part 6.
The red lines indicate the item is a duplicate entry. This is determined by the 'isDuplicate' flag. The meaning of duplicate entries is not fully known at this time.
The coloring was just added for debugging/development to help those items stand out.

Hmm, interesting. However, I got the blue line on files too.

Anything I can help there with, or try to help with at least?

Can you provide more details on what file you are opening and how you are opening it (what game, header offsets, etc)? If files are being marked as a directory then some of the metadata may not be matching up correctly - potentially the offsets in the executable to the header parts aren't being found properly.

So the game I'm trying to look at is the F1 2020 Beta one, and while I understand it's a Beta, I think it should rather still work fine. I do try to open them using the "Custom" option, and I tried both the DX11 executable, and the DX12 executable - both give different results.


Reset changed entry name if exiting without write

👋🏼,
It's possible to rename an entry by changing the name and running :wq. The changes seems to be persistent even though you just run :q though, which is problematic as it then simply points to a new file.
Steps to reproduce:

Add a file to harpoon.
Open the menu.
Change the name of the entry.
Run :q or press q or Escape.
Open menu again.
Select renamed file.
It opens a new file with the name of the changed entry.

Expected behaviour: When escape from the list it should revert the name change, ie. it shouldn't be persistent.

Just found something even worse. If I run dd on a line and then just :q that is also persistent and ruins the remaining marks.

There is a setting for this behavior.
From the readme:
...

save_on_toggle will set the marks upon calling toggle on the ui, instead of require :w.

What have you configured in your global_settings?

@asbjornhaland I'm running the default settings.

Enabling save_on_toggle fits my workflow nicely and sort of solves this issue. The issue is still there if you turn it off though.


161-fix_select_icon_for_firefox

The character # in color needs to be escaped as %23.
Reference:
http://stackoverflow.com/questions/30918943/firefox-inserts-escape-characters-in-svg-xml-declaration-not-well-formed

Description

Code sample

Good call @imsurinder90


Cannot download Oodle DLL

Describe the bug
Downloading Oodle DLL using Oodle.downloadDLL() returns status code 403
(node:9628) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
    at createError (C:\Users\Administrator\Desktop\Shadow-Bot\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\Administrator\Desktop\Shadow-Bot\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Administrator\Desktop\Shadow-Bot\node_modules\axios\lib\adapters\http.js:260:11)
    at IncomingMessage.emit (events.js:388:22)
    at endReadableNT (internal/streams/readable.js:1336:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

Screenshots

Additional information

Unreal.JS - v1.0.6
Fortnite - v17.1

This is most likely an issue on your end as I can't reproduce it. Can you try accessing https://origin.warframe.com/? You should get a 404 Not Found.

Yep

Is this the full stack trace?

Yes

Unable to reproduce the error


The key bind I had set up in zshrc is not working in tmux session

I had set up a key binding for accepting autosuggest suggestions, bindkey '^ ' autosuggest-accept Which works in the normal shell, however once in tmux this doesn't work anymore.
I suspect it might have something to do with set -g terminal-overrides "$TERM:RGB"  in the tmux.conf.local

Hello @codehia 👋
There's no set -g terminal-overrides "$TERM:RGB" in the .tmux.conf.local sample file that ships with Oh my tmux! 🤷♂
Can you try launching tmux without this configuration?

open a new terminal, make sure you're not within tmux already
launch $ tmux -L test -f /dev/null to launch a tmux server and client with stock configuration
see if your binding works

I had added the terminal override, that's why it was my suspect, and removing it was still not fixing it, however, turns out the issue was in the zshrc, with the ordering of the keybinding. fixed the issue.


Test RollupBatchWriter

This PR adds tests for RollupBatchWriter and RollupBatchWriterRunnable. This brings the class-specific unit test coverage up to 95% and 90% of lines, respectively. I can't really increase the coverage any more without changing the classes.

@usnavi @shintasmith @ChandraAddala @VinnyQ Please review.

Rebase'd

@usnavi @shintasmith @ChandraAddala @VinnyQ Fixed

Coverage decreased (-0.03%) to 75.25% when pulling 0d89d96dce25962eda18ab79279bcf212fb779c3 on izrik:test-rollup-batch-writer into 1844cef53754e40289752af104e7f2f3247e2374 on rackerlabs:master.

Looks good.


Investigate loading native OCaml over an FFI in node

Inspired by this tweet: https://twitter.com/dillon_mulroy/status/1701226300663276003

unnecessary IMO, because the slow parts of our proof system are written in Rust, the OCaml we use is high-level stuff that's fast enough in JS


[Port] Fix object management event property names (#22190)

(cherry picked from commit a575eb1b8744680295877ea7173730cb98db9073)
Fixes https://github.com/microsoft/azuredatastudio/issues/22192

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 41.945%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
28808

Relevant Lines:
63772

💛  - Coveralls


Two finger pan gesture

From what I can see from issues like this two finger gestures like pan or swipe are not supported. This is a blocker for developers wanting to develop custom UI interactions that use multi finger gestures.

You can build such gestures in Flutter yourself using https://docs.flutter.io/flutter/gestures/MultiDragGestureRecognizer-class.html
I think this is a dup of #11600


Is it possible to change background color when I scroll view

You can use a cardStyle option https://reactnavigation.org/docs/navigators/stack#StackNavigatorConfig or set it directly on your outer component


Fails to configure a cluster if database relations are added before the cluster settles

Steps to reproduce

juju deploy mysql-k8s --channel edge -n 3 && juju deploy wordpress-k8s --channel edge && juju relate mysql-k8s:database wordpress-k8s && juju relate mysql-k8s:mysql wordpress-k8s

Expected behavior
Events to be reconciled or guarded properly to prevent it from blowing up.
Actual behavior

mysql/0       waiting   idle   <IP_ADDRESS>         Waiting for instance to join the cluster
mysql/1*      blocked   idle   <IP_ADDRESS>         Missing `mysql` relation data
mysql/2       waiting   idle   <IP_ADDRESS>         Waiting for instance to join the cluster

sometimes resulting in the cluster eventually reconciling after 5+ minutes, sometimes resulting in an Unable to configure instance error.
Versions

Operating system: Ubuntu 22.10

Juju CLI: 3.1.0-genericlinux-amd64

Juju agent: 3.1.0

Charm revision: latest/edge & latest/edge/cos

microk8s: MicroK8s v1.26.1 revision 4596
Log output

 juju debug-log --replay

unit-mysql-1: 19:26:22 INFO juju.cmd running containerAgent [3.1.0 924c9e190eb56d9a9324d9cc0dd9dd663c501ac4 gc go1.19.5]
unit-mysql-1: 19:26:22 INFO juju.cmd.containeragent.unit start "unit"
unit-mysql-1: 19:26:22 INFO juju.worker.upgradesteps upgrade steps for 3.1.0 have already been run.
unit-mysql-1: 19:26:22 INFO juju.worker.probehttpserver starting http server on <IP_ADDRESS>:65301
unit-mysql-1: 19:26:22 INFO juju.api connection established to "wss://controller-service.controller-uk8s.svc.cluster.local:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-1: 19:26:22 INFO juju.worker.apicaller [916c47] "unit-mysql-1" successfully connected to "controller-service.controller-uk8s.svc.cluster.local:17070"
unit-mysql-1: 19:26:22 INFO juju.api cannot resolve "controller-service.controller-uk8s.svc.cluster.local": lookup controller-service.controller-uk8s.svc.cluster.local: operation was canceled
unit-mysql-1: 19:26:22 INFO juju.api connection established to "wss://<IP_ADDRESS>:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-1: 19:26:22 INFO juju.worker.apicaller [916c47] "unit-mysql-1" successfully connected to "<IP_ADDRESS>:17070"
unit-mysql-1: 19:26:22 INFO juju.worker.migrationminion migration phase is now: NONE
unit-mysql-1: 19:26:22 INFO juju.worker.logger logger worker started
unit-mysql-1: 19:26:22 INFO juju.worker.caasupgrader abort check blocked until version event received
unit-mysql-1: 19:26:22 INFO juju.worker.caasupgrader unblocking abort check
unit-mysql-1: 19:26:22 INFO juju.worker.leadership mysql/1 promoted to leadership of mysql
unit-mysql-1: 19:26:22 WARNING juju.worker.proxyupdater unable to set snap core settings [proxy.http= proxy.https= proxy.store=]: exec: "snap": executable file not found in $PATH, output: ""
unit-mysql-1: 19:26:22 INFO juju.agent.tools ensure jujuc symlinks in /var/lib/juju/tools/unit-mysql-1
unit-mysql-1: 19:26:22 INFO juju.worker.uniter unit "mysql/1" started
unit-mysql-1: 19:26:22 INFO juju.worker.uniter resuming charm install
unit-mysql-1: 19:26:22 INFO juju.worker.uniter.charm downloading ch:amd64/jammy/mysql-k8s-57 from API server
unit-mysql-1: 19:26:22 INFO juju.downloader downloading from ch:amd64/jammy/mysql-k8s-57
unit-mysql-1: 19:26:22 INFO juju.downloader download complete ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-1: 19:26:22 INFO juju.downloader download verified ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-2: 19:26:23 INFO juju.cmd running containerAgent [3.1.0 924c9e190eb56d9a9324d9cc0dd9dd663c501ac4 gc go1.19.5]
unit-mysql-2: 19:26:23 INFO juju.cmd.containeragent.unit start "unit"
unit-mysql-2: 19:26:23 INFO juju.worker.upgradesteps upgrade steps for 3.1.0 have already been run.
unit-mysql-2: 19:26:23 INFO juju.worker.probehttpserver starting http server on <IP_ADDRESS>:65301
unit-mysql-0: 19:26:23 INFO juju.cmd running containerAgent [3.1.0 924c9e190eb56d9a9324d9cc0dd9dd663c501ac4 gc go1.19.5]
unit-mysql-0: 19:26:23 INFO juju.cmd.containeragent.unit start "unit"
unit-mysql-0: 19:26:23 INFO juju.worker.upgradesteps upgrade steps for 3.1.0 have already been run.
unit-mysql-0: 19:26:23 INFO juju.worker.probehttpserver starting http server on <IP_ADDRESS>:65301
unit-mysql-0: 19:26:23 INFO juju.api connection established to "wss://controller-service.controller-uk8s.svc.cluster.local:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-0: 19:26:23 INFO juju.worker.apicaller [916c47] "unit-mysql-0" successfully connected to "controller-service.controller-uk8s.svc.cluster.local:17070"
unit-mysql-2: 19:26:23 INFO juju.api connection established to "wss://controller-service.controller-uk8s.svc.cluster.local:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-2: 19:26:23 INFO juju.worker.apicaller [916c47] "unit-mysql-2" successfully connected to "controller-service.controller-uk8s.svc.cluster.local:17070"
unit-mysql-2: 19:26:23 INFO juju.api cannot resolve "controller-service.controller-uk8s.svc.cluster.local": lookup controller-service.controller-uk8s.svc.cluster.local: operation was canceled
unit-mysql-2: 19:26:23 INFO juju.api connection established to "wss://<IP_ADDRESS>:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-2: 19:26:23 INFO juju.worker.apicaller [916c47] "unit-mysql-2" successfully connected to "<IP_ADDRESS>:17070"
unit-mysql-2: 19:26:23 INFO juju.worker.migrationminion migration phase is now: NONE
unit-mysql-2: 19:26:23 INFO juju.worker.leadership mysql leadership for mysql/2 denied
unit-mysql-2: 19:26:23 INFO juju.worker.logger logger worker started
unit-mysql-2: 19:26:23 WARNING juju.worker.proxyupdater unable to set snap core settings [proxy.http= proxy.https= proxy.store=]: exec: "snap": executable file not found in $PATH, output: ""
unit-mysql-2: 19:26:23 INFO juju.worker.caasupgrader abort check blocked until version event received
unit-mysql-2: 19:26:23 INFO juju.worker.caasupgrader unblocking abort check
unit-mysql-2: 19:26:23 INFO juju.agent.tools ensure jujuc symlinks in /var/lib/juju/tools/unit-mysql-2
unit-mysql-2: 19:26:23 INFO juju.worker.uniter unit "mysql/2" started
unit-mysql-2: 19:26:23 INFO juju.worker.uniter resuming charm install
unit-mysql-2: 19:26:23 INFO juju.worker.uniter.charm downloading ch:amd64/jammy/mysql-k8s-57 from API server
unit-mysql-2: 19:26:23 INFO juju.downloader downloading from ch:amd64/jammy/mysql-k8s-57
unit-mysql-0: 19:26:23 INFO juju.api connection established to "wss://controller-service.controller-uk8s.svc.cluster.local:17070/model/916c4787-18ff-4663-8c90-0dab4550c8bc/api"
unit-mysql-0: 19:26:23 INFO juju.worker.apicaller [916c47] "unit-mysql-0" successfully connected to "controller-service.controller-uk8s.svc.cluster.local:17070"
unit-mysql-0: 19:26:23 INFO juju.worker.migrationminion migration phase is now: NONE
unit-mysql-0: 19:26:23 INFO juju.worker.logger logger worker started
unit-mysql-0: 19:26:23 INFO juju.worker.leadership mysql leadership for mysql/0 denied
unit-mysql-0: 19:26:23 WARNING juju.worker.proxyupdater unable to set snap core settings [proxy.http= proxy.https= proxy.store=]: exec: "snap": executable file not found in $PATH, output: ""
unit-mysql-0: 19:26:23 INFO juju.worker.caasupgrader abort check blocked until version event received
unit-mysql-0: 19:26:23 INFO juju.worker.caasupgrader unblocking abort check
unit-mysql-0: 19:26:23 INFO juju.agent.tools ensure jujuc symlinks in /var/lib/juju/tools/unit-mysql-0
unit-mysql-2: 19:26:23 INFO juju.downloader download complete ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-0: 19:26:23 INFO juju.worker.uniter unit "mysql/0" started
unit-mysql-0: 19:26:23 INFO juju.worker.uniter resuming charm install
unit-mysql-0: 19:26:23 INFO juju.worker.uniter.charm downloading ch:amd64/jammy/mysql-k8s-57 from API server
unit-mysql-0: 19:26:23 INFO juju.downloader downloading from ch:amd64/jammy/mysql-k8s-57
unit-mysql-2: 19:26:23 INFO juju.downloader download verified ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-0: 19:26:24 INFO juju.downloader download complete ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-0: 19:26:24 INFO juju.downloader download verified ("ch:amd64/jammy/mysql-k8s-57")
unit-mysql-1: 19:26:29 INFO juju.worker.uniter hooks are retried true
unit-mysql-1: 19:26:29 INFO juju.worker.uniter found queued "install" hook
unit-mysql-1: 19:26:29 INFO unit.mysql/1.juju-log Running legacy hooks/install.
unit-mysql-1: 19:26:30 INFO juju.worker.uniter.operation ran "install" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:30 INFO juju.worker.uniter hooks are retried true
unit-mysql-0: 19:26:30 INFO juju.worker.uniter hooks are retried true
unit-mysql-2: 19:26:30 INFO juju.worker.uniter found queued "install" hook
unit-mysql-0: 19:26:30 INFO juju.worker.uniter found queued "install" hook
unit-mysql-1: 19:26:31 INFO juju.worker.uniter.operation ran "database-peers-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:31 INFO unit.mysql/1.juju-log mysql:22: Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-2: 19:26:31 INFO unit.mysql/2.juju-log Running legacy hooks/install.
unit-mysql-0: 19:26:31 INFO unit.mysql/0.juju-log Running legacy hooks/install.
unit-mysql-1: 19:26:31 INFO juju.worker.uniter.operation ran "mysql-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:32 INFO unit.mysql/1.juju-log database:23: Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-2: 19:26:32 INFO juju.worker.uniter.operation ran "install" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:32 INFO juju.worker.uniter.operation ran "install" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:32 INFO juju.worker.uniter.operation ran "database-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:32 INFO juju.worker.uniter found queued "leader-elected" hook
unit-mysql-1: 19:26:32 INFO unit.mysql/1.juju-log Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-2: 19:26:32 INFO juju.worker.uniter.operation ran "database-peers-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:32 INFO juju.worker.uniter.operation ran "database-peers-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:33 INFO juju.worker.uniter.operation ran "leader-elected" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:33 INFO unit.mysql/2.juju-log mysql:22: Unit is not leader, nooping `mysql` relation created
unit-mysql-0: 19:26:33 INFO unit.mysql/0.juju-log mysql:22: Unit is not leader, nooping `mysql` relation created
unit-mysql-1: 19:26:33 INFO unit.mysql/1.juju-log Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-2: 19:26:33 INFO juju.worker.uniter.operation ran "mysql-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:33 INFO juju.worker.uniter.operation ran "mysql-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:33 INFO juju.worker.uniter.operation ran "mysql-pebble-ready" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:33 INFO unit.mysql/1.juju-log Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-2: 19:26:33 INFO juju.worker.uniter.operation ran "database-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:34 INFO juju.worker.uniter.operation ran "database-relation-created" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:34 INFO juju.worker.uniter.operation ran "database-storage-attached" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:34 INFO juju.worker.uniter.operation ran "leader-settings-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:34 INFO unit.mysql/1.juju-log Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-0: 19:26:34 INFO juju.worker.uniter.operation ran "leader-settings-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:34 INFO juju.worker.uniter.operation ran "config-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:34 INFO juju.worker.uniter found queued "start" hook
unit-mysql-0: 19:26:34 INFO unit.mysql/0.juju-log Retrieving the total memory of the server
unit-mysql-2: 19:26:35 INFO juju.worker.uniter.operation ran "mysql-pebble-ready" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:35 INFO unit.mysql/1.juju-log Running legacy hooks/start.
unit-mysql-2: 19:26:35 INFO unit.mysql/2.juju-log Retrieving the total memory of the server
unit-mysql-1: 19:26:35 INFO unit.mysql/1.juju-log Unit not ready to execute `mysql` relation created. Deferring
unit-mysql-1: 19:26:35 INFO unit.mysql/1.juju-log Retrieving the total memory of the server
unit-mysql-0: 19:26:46 INFO unit.mysql/0.juju-log Configuring instance
unit-mysql-2: 19:26:48 INFO unit.mysql/2.juju-log Configuring instance
unit-mysql-1: 19:26:49 INFO unit.mysql/1.juju-log Configuring instance
unit-mysql-0: 19:26:53 INFO juju.worker.uniter.operation ran "mysql-pebble-ready" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:54 INFO juju.worker.uniter.operation ran "database-storage-attached" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:54 INFO juju.worker.uniter.operation ran "config-changed" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:54 INFO juju.worker.uniter found queued "start" hook
unit-mysql-0: 19:26:55 INFO unit.mysql/0.juju-log Running legacy hooks/start.
unit-mysql-2: 19:26:55 INFO juju.worker.uniter.operation ran "database-storage-attached" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:55 INFO unit.mysql/1.juju-log Creating cluster on the leader unit
unit-mysql-0: 19:26:55 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:56 INFO juju.worker.uniter.operation ran "config-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:56 INFO juju.worker.uniter found queued "start" hook
unit-mysql-0: 19:26:56 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:56 INFO unit.mysql/2.juju-log Running legacy hooks/start.
unit-mysql-0: 19:26:57 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:57 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:57 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:57 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:57 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:58 WARNING unit.mysql/1.juju-log database-peers:20: DEPRECATION WARNING - `mysql` is a legacy interface
unit-mysql-1: 19:26:58 WARNING unit.mysql/1.juju-log database-peers:20: mysql-interface-user or mysql-interface-database not set
unit-mysql-1: 19:26:58 INFO unit.mysql/1.juju-log database-peers:20: Kubernetes pod label primary created
unit-mysql-1: 19:26:58 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:58 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:58 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:59 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:26:59 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:26:59 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:26:59 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:27:00 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:27:00 INFO unit.mysql/1.juju-log database-peers:20: Kubernetes pod label primary created
unit-mysql-1: 19:27:00 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:27:00 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:27:00 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:27:01 INFO juju.worker.uniter.operation ran "database-peers-relation-joined" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:27:01 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:27:02 INFO unit.mysql/1.juju-log database-peers:20: Kubernetes pod label primary created
unit-mysql-1: 19:27:02 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-mysql-2: 19:31:17 INFO unit.mysql/2.juju-log Unit state is waiting
unit-mysql-2: 19:31:17 INFO unit.mysql/2.juju-log Unit state is waiting
unit-mysql-2: 19:31:17 WARNING unit.mysql/2.juju-log No relation: certificates
unit-mysql-0: 19:31:17 INFO unit.mysql/0.juju-log Unit state is waiting
unit-mysql-0: 19:31:17 INFO unit.mysql/0.juju-log Unit state is waiting
unit-mysql-0: 19:31:17 WARNING unit.mysql/0.juju-log No relation: certificates
unit-mysql-2: 19:31:17 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-mysql-0: 19:31:17 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-mysql-1: 19:32:24 INFO unit.mysql/1.juju-log Unit workload member-state is online with member-role primary
unit-mysql-1: 19:32:24 INFO unit.mysql/1.juju-log Kubernetes pod label primary created
unit-mysql-1: 19:32:24 WARNING unit.mysql/1.juju-log No relation: certificates
unit-mysql-1: 19:32:24 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)

Additional context

The deployment is made using terraform, hence the odd looking reproduction steps - which are an attempt to recreate that.

Hi @simskij, Thank you for the report! I think we have several issues here.

can you please try the following from your side:

juju deploy mysql-k8s --channel 8.0/edge -n 3 \
  --config mysql-interface-user=test-user \
  --config mysql-interface-database=test-database && \
juju deploy wordpress-k8s --channel edge && \
juju relate mysql-k8s:mysql wordpress-k8s

We have recently migrated to track 8.0, consider to use it instead of latest (the latest track will be closed).
The charm wordpress-k8s is currently support legacy interface mysql only, no need to relate both legacy mysql and modern mysql_client interface simultaneously (we will add protection here to avoid damage if both relations are requested).
The legacy interface requires manual set for user and database (at the moment). Auto-generation planned.

We will describe all interfaces in mysql-k8s readme like we have in mysql vm charm.

Unfortunately the blocking message Missing 'mysql' relation data is useless as the main information in debug log only:

unit-mysql-1: 19:26:58 WARNING unit.mysql/1.juju-log database-peers:20: DEPRECATION WARNING - `mysql` is a legacy interface
unit-mysql-1: 19:26:58 WARNING unit.mysql/1.juju-log database-peers:20: mysql-interface-user or mysql-interface-database not set

Will be no longer be topical after options auto-generation.
Tnx for reporting this issue!

@simskij , trying with the commands from Alex there's it works after some tries, but wp charm errors with a MySQL 2003 (connecton refused) on this line
While not ideal, I suggest that the wp charm try a db connection and defer on error, what do you think?
The same will happen when using the new interfaces, e.g.:
juju deploy mysql-k8s --channel 8.0/edge -n 3 --trust && \
juju deploy wordpress-k8s --channel edge && \
juju relate mysql-k8s:database wordpress-k8s

Meanwhile, I'll try to investigate it further - for now I'm suspecting k8s svc endpoint lagging

@simskij , trying with the commands from Alex there's it works after some tries, but wp charm errors with a MySQL 2003 (connecton refused) on this line
While not ideal, I suggest that the wp charm try a db connection and defer on error, what do you think?
The same will happen when using the new interfaces, e.g.:
juju deploy mysql-k8s --channel 8.0/edge -n 3 --trust && \
juju deploy wordpress-k8s --channel edge && \
juju relate mysql-k8s:database wordpress-k8s

Meanwhile, I'll try to investigate it further - for now I'm suspecting k8s svc endpoint lagging

I agree. That sounds like a reasonable change to the WP charm

I do not prefer deferring events because re-emitting the deferred event depends on the next event, which is not controlled by the charm. Sometimes, it might result in a significant delay.
Currently, after the database relation is established and database connection information is provided through the relation, the WordPress charm will retry for up to one minute before declaring a database error. What is the typical delay between the database connection information provided through relation and the database being ready? I can adjust the WordPress database probe timeout accordingly. The current timeout is 60 seconds

@simskij , trying with the commands from Alex there's it works after some tries, but wp charm errors with a MySQL 2003 (connecton refused) on this line
While not ideal, I suggest that the wp charm try a db connection and defer on error, what do you think?
The same will happen when using the new interfaces, e.g.:
juju deploy mysql-k8s --channel 8.0/edge -n 3 --trust && \
juju deploy wordpress-k8s --channel edge && \
juju relate mysql-k8s:database wordpress-k8s

Meanwhile, I'll try to investigate it further - for now I'm suspecting k8s svc endpoint lagging

I agree. That sounds like a reasonable change to the WP charm. What do you think @weiiwang01 ?

I do not prefer deferring events because re-emitting the deferred event depends on the next event, which is not controlled by the charm. Sometimes, it might result in a significant delay.
Currently, after the database relation is established and database connection information is provided through the relation, the WordPress charm will retry for up to one minute before declaring a database error. What is the typical delay between the database connection information provided through relation and the database being ready? I can adjust the WordPress database probe timeout accordingly. The current timeout is 60 seconds.

@weiiwang01 In that case I would probably make it a good five minutes or so before timing out, given how long it can take for the cluster to reconcile (only happens through update-status events which means it can potentially take a while)

@simskij I updated the database probe timeout in the WordPress charm from 1 min to 5 mins.
https://github.com/canonical/wordpress-k8s-operator/pull/70

Been discussing this issue back and forth outside of this ticket and since we're relying on update-status to trigger the next stage of the MySQL cluster forming, there really isn't a way to make this faster atm other than making the update-status interval shorter. With the change in the Wordpress charm I think this will be good enough for now, so I'll close this issue.


[bug]:  Unable to create MACOS when there is IOS

Is there an existing issue for this?

[X] I have searched the existing issues.

CLI Version
0.2.7
Firebase Tools version
11.19.0
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-x64, locale en-AE)
• Flutter version 3.3.9 on channel stable at /Users/leephils/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b8f7f1f986 (6 weeks ago), 2022-11-23 06:43:51 +0900
• Engine revision 8f2221fbef
• Dart version 2.18.5
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/leephils/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.74.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.56.0
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124
[✓] HTTP Host Availability
• All required HTTP hosts are available
Description
Cannot add MacOs app when there is IOS app on console. And if there is MacOs app cannot create IOS app.
Steps to reproduce

Expected behavior
Be able to add IOS and MACOS both.
Screenshots
No response
Additional context and comments
No response

I also experience this issue and it is annoying. Please fix it asap.

This is not an issue on the latest FlutterFire CLI. Install latest version:
dart pub global activate flutterfire_cli 0.3.0-dev.18 --overwrite


Metadata Fields not Populated on Export

System information

Windows 10, running latest (pulled on 06/17/2019) Docker image
Python version: n/a, using docker version

Describe the problem
The documentation states:

Any other columns (for csv) or keys (for json) are preserved and will be exported in the metadata column or key as is.

But this is not the behavior I am experiencing.  I am using the Docker image version of Doccano running on a Windows 10 host.  For a sequence labeling project, I import data in this JSON lines format:
{"external_id": "abc12345", "other_field": 5, "text": "hello world"}
{"external_id": "abc12346", "other_field": 2, "text": "this is a test"}

After labeling the data, I go to Edit Data > Export Data and export in either the JSONL or JSON(Text-Labels) formats (issue appears either way).  Here is the output I get with the JSON (Text-Labels) output:
{"id": 101, "text": "hello world", "meta": {}, "labels": [[0, 6, "Something"]]}
{"id": 102, "text": "this is a test", "meta": {}, "labels": []}

There is no "metadata" field as described in the documentation, and the "meta" field does not contain any of my metadata required to join the annotated examples back to the other relevant data required for my use case.
Source code / logs
n/a

I tested this again today with the lastest version of Doccano from Docker, I am still seeing the same issue.  I believe this would be better classified as a bug than a question as it is behavior that is inconsistent with the specification.

As far as I understand, you need to explicitly use "meta" key both on import and export. Like in https://github.com/chakki-works/doccano/wiki/Import-and-Export-File-Formats
So your import would look like
{"text": "hello world", "meta": {"external_id": "abc12345", "other_field": 5}}

And then your export would also contain the same field. That works for me. But I guess documentation should to be updated on that.

Please add this to the documentation. I just ran into this issue today.

Ok - I opened a PR here: https://github.com/chakki-works/doccano/pull/315


Cannot create the client using HttpClientDiscovery

I'm trying to create a small library usign php-http.
Here the composer.json
{
    "require": {
        "php-http/message": "^1.2",
        "php-http/client-common": "^1.1",
        "php-http/discovery": "^0.8.0",
        "puli/composer-plugin": "^1.0@beta,>=1.0.0-beta9"
    },
    "require-dev": {
        "php-http/curl-client": "^1.4"
    },
    "minimum-stability": "beta"
}

I run composer install and all vendors are installed
I've then created a simple demo.php file with this code:
include_once('vendor/autoload.php');

use Http\Discovery\HttpClientDiscovery;
use Http\Discovery\MessageFactoryDiscovery;

$httpClient = HttpClientDiscovery::find();
echo get_class($httpClient);

but I get
PHP Catchable fatal error:  Argument 1 passed to Http\Client\Curl\Client::__construct() must be an instance of Http\Message\MessageFactory, none given, called in /var/www/demo-library/vendor/php-http/discovery/src/HttpClientDiscovery.php on line 23 and defined in /var/www/demo-library/vendor/php-http/curl-client/src/Client.php on line 72

That seems correct because Http\Client\Curl\Client is declared as
    public function __construct(
        MessageFactory $messageFactory,
        StreamFactory $streamFactory,
        array $options = []
    ) {
        $this->messageFactory = $messageFactory;
        $this->streamFactory = $streamFactory;
        $this->options = $options;
    }

Am I doing something wrong ?

Hm, it seems that the Curl client requires the factories in the constructor. Normally they should be optional and use the respective discovery in the constructor if any of them are not passed. I fear the curl client is currently incompatible with the discovery layer.

I'll check this at mondey.

Fixed in 1.4.1.
Also note that you need to add PSR7 implementation to the "require" list, as described in the documentation.