Added new feature to draw routes with multiple points

I've made some breaking changes to the core features API, could you please resolve conflicts?

Unnecessary functionality

@ArystanK I think that we actually want this feature, especially if you add additional parameters like PointMode and caps to the feature definition. We can call it route instead of points though. Could you resolve conflicts with the current branch?


Firmware hi3815ev300 Version 15.08.2023 no wlan connection

There is no possible to connect to the wlan network.
Follwing error displayed in the bootsection of kernel.
Starting network: Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
FAIL
The wlan0 configuration from the interfaces file lokks like that:
auto wlan0
iface wlan0 inet dhcp
pre-up modprobe 8188fu
pre-up wpa_passphrase "SSID" "Password" >/tmp/wpa_supplicant.conf
pre-up sed -i '2i \tscan_ssid=1' /tmp/wpa_supplicant.conf
pre-up sleep 3
pre-up wpa_supplicant -B -D nl80211 -i wlan0 -c/tmp/wpa_supplicant.conf
post-down killall -q wpa_supplicant
What can be the reason and what can I do to eliminate the error?

Your device may need to set a GPIO to turn on your wifi module, my hi3518ev200 needed these lines to set the GPIO 9:
pre-up echo 9 > /sys/class/gpio/export
pre-up echo out > /sys/class/gpio/gpio9/direction
pre-up echo 0 > /sys/class/gpio/gpio9/value

With <IP_ADDRESS>-ultimate no problems with wlan0 configuration.

Please close the ticket if the issue is resolved.


Massmin choose collection

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #5177
[x] Branch from #5217
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Something strange in dropdown hover state

that's link-hover color from theme.
match it with the rest of the dropdown items?

* Valid checkbox should be rounded

do you have a collection with checkbox in it's name?

* dont know how I managed to have this
  ![Screenshot 2023-03-14 at 09-10-38 KodaDot - NFT Market Explorer](https://user-images.githubusercontent.com/9987732/224936695-bf0010c6-8421-43c7-8698-38b89515e6d6.png)

ha! wtf?!

ha! wtf?! on which page? which wallet? i'm unable to reproduce

On all page I'm blocked with this prefix..

Valid checkbox should be rounded

that is your collection's name. so nothing wrong here

Valid checkbox should be rounded

compare it with figma

Valid checkbox should be rounded

Done

dont know how I managed to have this

I'm sorry i have no idea how to reproduce that
the only place i have touched the url is components\navbar\createDropdown and it is strictly getting value, no set

I don't have option to create collection from droplist when there is no collection

yes I'm not sure what to do with it. I guess in the meantime it can link to our current create collection page?

side note: text alignment?

looks good for me. ill check again cross browser

fixed text alignment between dropdown items
fixed RMRK CollectionForMint query

On all page I'm blocked with this prefix..

hey @roiLeo did you ever find out what the issue was / how to reproduce?
plus if you can review this please

@Jarsen136 ready to roll?

@Jarsen136 ready to roll?

Yup. Let it roll

On chrome i have align

good job!

please stick the footer to bottom, while keeping the collection dropdown at top
and then the create collection already mentioned - should redirect to collection creation
unfortunately cannot test the ui when I select collection - just to be sure, this is then displayed?

Hey @exezbcz

please stick the footer to bottom, while keeping the collection dropdown at top

it will go down as more content is added to the page

and then the create collection already mentioned - should redirect to collection creation

sure thing

unfortunately cannot test the ui when I select collection - just to be sure, this is then displayed?

not displayed yet, will be added in the next massmint PR's, for now it just the collection dropdown:

thanks!
@daiagi the thing is that now there is black bg under the footer

thanks! @daiagi the thing is that now there is black bg under the footer

I can make the content section larger, but it will be temp css that will need to be removed later
it is a page still in progress
would you like me to create a UI shell here and make it functional in the rest of massmint issues?

😍 Perfect, I’ve sent the payout
💵 $35 @ 34.87 USD/KSM ~ 1.004 $KSM
🧗 EfmnRhHaQqfT3phm4cUCHCU3gFVDoSPR1U9WXzMRQBMqZ4L
🔗 0x2b32087e4db7e1763a9f07480bf8793665f29424560d345b7ea38db74c2a1291
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


addon API for storing state per-session or per-app.

Issue: we removed the use of URL params for storing state. This will be an issue if apps reload (e.g. because HMR isn't working right, see for instance https://github.com/storybooks/storybook/issues/5267).
Right now we have an adhoc way of using session/localStorage for storing things. We also have retained setQueryParams but it no longer actually affects the URL so will not survive reloads etc.
We should resolve this for v5.

@shilman, this is not working in the beta.1 version. (not sure about the prior versions)
For example, in a decorator I call api.setQueryParams({ test: 'abc' }). The URL is not changed and the subsequent call both (console.dir(api.getUrlState()) and console.dir(api.getQueryParam())) was not showing the query parameter I provided...
Any clue or should I open a new issue?!

@leoyli -- I think open a new issue. This issue was specifically about an API to replace the setQueryParams API, but we are aiming for back-compat there, so if it is broken, it is worth fixing.

I see, I will take a time to gather enough information and try to reproduce it using some sandbox or in a new project. After that I can open an issue! Thanks!

any news with this? setQueryParams is broken. Maybe is this a breaking change in v5?


Migrate firmware to stream from PCM to OPUS ($300)

Is your feature request related to a problem? Please describe.
Better audio quality, less bandwitdh.
Describe the solution you'd like
Firmware should stream audio bytes using Opus codec, and the mobile app should receive those bytes properly modifying respectively on transcript.dart to handle that, do the .
Describe alternatives you've considered
uLaw vs Opus, I don't know which one is better, from what I've been suggested Opus, but lmk if you think differently.

The other way. PCM to Opus. Can't change title

Last update on my current status I posted on Discord around that topic:

I have µ-Law encoding working with Friend and my own app
I created a PR for the change on firmware side ONLY (https://github.com/BasedHardware/Friend/pull/356), which is straight forward
This bring 16kHz (meaning frequency range up to 8kHz) with the same bandwidth
I did not update the Friend app and do not intend to (I'm not a Flutter/Dart dev and not intersted in trying besides trivial changes). With a quick look I see that some work in wav_bytes.dart would be required (e.g. WAV header that hardcodes PCM) and certainly other places (also depending on what you want to send to the SST service)
I did publish my native iOS code in https://github.com/nelcea/PAL. If you look into https://github.com/nelcea/PAL/blob/main/iOS/PALApp/Codecs.swift, in the µLawCodec class you'll see the simple logic I use to decode the signal to PCM using a static lookup table. This might be an inspiration for whomever wants to have a go at the change in the Friend app
I'm still work on the Opus codec but getting some errors during the decoding on iOS. I need to go deeper into the original opus lib doc/code.
The size gain I saw between Opus over µ-law is quite small (10 %, unless the encoding is wrong). So my current thinking is that given I believe the audio quality would be only slightly better with Opus but the processing load for encoding/decoding is greater, I would go for µ-law at this stage.
As a side note, it seems the device could go slightly higher to a bit more than 20kHz sampling frequency, given us an additional 2kHz for the frequency range

And in case somebody wants to test with Opus, changes required in the firmware are:

Enabled CODEC_OPUS in config.h
Add CONFIG_CODEC_OPUS=y in prj.conf


MSID: 99484 Version: 1 DOI: 10.1101/2<IP_ADDRESS>7162

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

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

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

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

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

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

Useful links:

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

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

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

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

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

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

[ ] Kettle is on!

Hi @naushinthomson is it too late to hold this? (Okay if so!)
The authors would like to provide an author response and need another 10 days. I'm sure they won't mind if it's added after the first publication, but I thought I'd at least ask as I know it's preferable to include the AR at the same time where possible. Thanks!

Hi @acollings I've removed it from the spreadsheet so it should be ok to hold!

Thanks Naushin!

@acollings Any updates on this?

Thanks @naushinthomson no, sorry, so I've nudged the authors

Hi @acollings, have the authors been in touch with an author response for this yet?

Hi @naushinthomson no, still no news. Let's proceed with publication at this point. Thanks!

@fred-atherden Just to double check, should I run the WoS query by these authors?

Thanks @naushinthomson, happy to proceed with this one - thanks

Apologies for replying to Naushin when the question came from Fred - my bad!

No worries!


[6.5.x] GUVNOR-2683: Test Scenarios: Objects added into previously white listed packages are not updated.

See https://issues.jboss.org/browse/GUVNOR-2683

cc @etirelli @mbiarnes


Implement new Xbox Live authentication method

Based on https://github.com/OpenXbox/xbox-webapi-python as suggested in #338.
The client_id and client_secret constants need to be updated with values from your Playnite app registration in Azure. I tested the code with values from an app registration I created in my Azure account. I followed the instructions from the Python project, except for the Redirect URI I used https://login.live.com/oauth20_desktop.srf as can be seen from code, because I couldn't manage to read the authorization code from the web view if I used localhost as suggested there.

Awesome! Thanks a lot. I'll test it out later today or tomorrow and release an update.

I checked this implementation and the problem is that this would expose Azure app client secret on user's side, which is no go. Unless there's a different way to authenticate, this will require to do the actual token request on our backend.

Yes, I'm not obfuscating plugin assemblies and that's not 100% reliable anyways. Also I haven't read Azure's terms of service yet, but I've seen some services that provide Oauth explicitly prohibit storing app client secrets on client side.

I verified the functionality without using client_secret: https://github.com/Kryeker/PlayniteExtensions/tree/fix/xbox-login

I can confirm, it works just fine without the client secret if the redirect URI is listed for mobile and desktop instead of for web.

Tested and working, thanks both!


Force encoding on RDFSource response bodies

Net::HTTP is returning ASCII-8BIT strings for some responses (see this code and this issue). This forces RDFSource responses (which for LDP MUST be text/turtle and therefore UTF-8, if requested) to read as UTF-8.
We considered using middleware like Faraday::Encoding but Marmotta does not return an explict encoding in content-type headers.

Looks good to me.

Can we add a line of documentation? :) Otherwise :+1:

Docs added.


feat(docker_compose): Add docker_compose section

Description
Resolves #297. Adds section for displaying docker compose statuses.
Screenshot

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Other]

Is there an existing issue for this?

[X] I have searched the existing issues

Problem or Suggestment
As the project has now typeorm and prisma support as well, we need to update the documentation as well.
Anything else?
No response
On what browsers you're seeing the problem.
No response

@Bhanu-code
I want to work on this, by updation in documentation, do you mean changes need to be made in Learn.md and Readme.md?

@kosuri-indu you need to update README.md with respective commands for the projects. I suggest you joining group meetings in discord server where we will be discussing about neccessary changes to done.


Some objects are not visible in LiDAR

Environment: Windows 10 & Ubuntu 20.04
Version: 0.9.11
Map: Town10HD
Some objects (buildings, some kind of trees, traffic lights, ...) are not visible in LiDAR.
In certain situations, points are taken through buildings or in places where the scanning does not sweep.

Note: color information acquired from rgb camera image is mapped to the point cloud data
Added: Collision sensor does not generate collision signal with these objects (sometimes, not always. I failed to figure out which triggers this)
https://user-images.githubusercontent.com/18179088/110074835-379d0a00-7dc5-11eb-8771-19f946f2cb3c.mp4

@DSantosO could you follow up on this please?

Hi @bpoebiapl,
We know what happens there with the lidar and collisions as well and now we are working to fix it

Hi @bpoebiapl , We've discovered the problems. Some Blueprint in our buildings, there are with a wrong collision preset. Now we add a correct collision preset and now appear in the lidar. The PR is waiting to accept.

Has this issue resolved?

Is there any new with this issue? It was fixed on 0.9.12?


Either the assertion indicates an error in the framework itself

Logs
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack:
#2      Localizations.of (package:flutter/src/widgets/localizations.dart:453:12)
#3      debugCheckHasMaterialLocalizations.<anonymous closure> (package:flutter/src/material/debug.dart:73:23)
#4      debugCheckHasMaterialLocalizations (package:flutter/src/material/debug.dart:94:4)
#5      showDialog (package:flutter/src/material/dialog.dart:934:10)
#6      _LoginScreenState.showLoaderDialog (package:dishoom/screens/authentication/login_screen.dart:483:5)
#7      _LoginScreenState.dispose (package:dishoom/screens/authentication/login_screen.dart:70:5)
#8      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4773:12)
#9      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1935:13)
#10     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#11     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#12     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#13     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#14     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#15     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#16     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#17     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#18     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#19     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#20     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#21     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#22     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#23     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#24     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#25     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#26     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#27     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#28     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#29     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#30     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#31     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#32     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#33     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#34     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#35     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#36     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#37     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#38     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#39     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#40     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#41     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#42     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#43     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#44     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#45     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#46     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#47     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#48     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#49     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#50     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#51     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#52     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#53     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#54     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#55     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#56     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#57     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#58     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#59     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#60     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#61     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#62     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#63     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#64     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#65     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#66     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#67     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#68     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#69     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#70     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#71     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5861:14)
#72     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#73     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#74     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#75     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#76     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#77     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#78     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#79     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1933:7)
#80     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4600:14)
#81     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1931:13)
#82     ListIterable.forEach (dart:_internal/iterable.dart:39:13)
#83     _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1944:25)
#84     BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:2754:27)
#85     BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2558:15)
#86     BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2753:7)
#87     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:868:18)
#88     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
#89     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
#90     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1056:9)
#91     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:972:5)
#95     _invoke (dart:ui/hooks.dart:253:10)
#96     _drawFrame (dart:ui/hooks.dart:211:3)
(elided 5 frames from class _AssertionError and dart:async)
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
'package:flutter/src/widgets/localizations.dart': Failed assertion: line 453 pos 12: 'context != null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.`

Hi @Niroop4444
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

➜ flutter doctor -v
[√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.18363.1082], locale en-US)
• Flutter version 1.20.2 at C:\flutter
• Framework revision bbfbf1770c (7 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\Niroop\AppData\Local\Android\Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = C:\Users\Niroop\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[!] VS Code (version 1.47.2)
• VS Code at C:\Users\Niroop\AppData\Local\Programs\Microsoft VS Code
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.

➜ flutter run --verbose
[ +428 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +332 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] bbfbf1770cca2da7c82e887e4e4af910034800b6
[   +1 ms] executing: [C:\flutter/] git tag --contains HEAD
[ +753 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.2
[  +28 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +92 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +121 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +227 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +353 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +4 ms] stable
[ +609 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] executing: C:\Users\Niroop\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +138 ms] List of devices attached
[   +9 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +324 ms] No supported devices connected.
[  +35 ms] "flutter run" took 603ms.
[  +61 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:343:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:836:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:741:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1190:13)
#7      _CustomZone.run (dart:async/zone.dart:1093:19)
#8      _runZoned (dart:async/zone.dart:1630:10)
#9      runZoned (dart:async/zone.dart:1550:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:730:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:332:21)
#14     _rootRunUnary (dart:async/zone.dart:1198:47)
#15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#23     _rootRunUnary (dart:async/zone.dart:1198:47)
#24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#29     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#30     _rootRun (dart:async/zone.dart:1190:13)
#31     _CustomZone.run (dart:async/zone.dart:1093:19)
#32     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#33     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#34     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[ +340 ms] ensureAnalyticsSent: 324ms
[   +5 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +4 ms] exiting with code 1

Hi @Niroop4444
Please make sure you have a supported device connected before running the command.
Thank you

Hi @Niroop4444
[ +324 ms] No supported devices connected.
your device is not connected
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Speedup refreshing

delete line 1-3 from the drawio image. So less DoubleTreeWidgetd::setDiff() are called which speeds up everything
fixes #141

Not yet working:
merge without conflicts does not jump to the newly created commit

Not yet working:
* [x]  merge without conflicts does not jump to the newly created commit

* [ ]  When workdir is changed (New file added) Gittyup does not refresh correctly

* [ ]  Also when removing untracked files (probably same as above)

@exactly-one-kas do you see also the second case. On Linux it refreshes as normal

Validation script:
import os
import re
import datetime

def parse(filename: str, master: bool) -> []:

    projects = []

    print(f"Parse: {filename}")
    if not os.path.isfile(filename):
        raise Exception(f"File not found: {filename}")

    pattern_Datetime = "QDateTime\((?P<time>[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]*) CET Qt::LocalTime\)"
    if master:
        arg = ""
    else:
        arg = "bool"

    pattern_openProject = 'static MainWindow\s*\*\s*MainWindow::open\(const QString\s*&\s*, bool\) ": " Open project:  "(?P<project_path>.*)"'
    pattern_Repoview_refresh = f'void RepoView::refresh\({arg}\) ": " time:  {pattern_Datetime}  Set diff counter:  (?P<counter>[0-9]*)'
    pattern_DoubleTreeWidget = f'virtual void DoubleTreeWidget::setDiff\(const git::Diff\s*&\s*, const QString\s*&\s*, const QString\s*&\s*\) ": " time:  {pattern_Datetime} Counter:  (?P<counter>[0-9]*)'
    pattern_DoubleTreeWidget_finished = f'virtual void DoubleTreeWidget::setDiff\(const git::Diff\s*&, const QString\s*&, const QString\s*&\s*\) ": " finished, time:  {pattern_Datetime} Counter:  (?P<counter>[0-9]*)'
    pattern_CommitListMousePress = f'virtual void CommitList::mousePressEvent\(QMouseEvent\s*\*\s*\) ": " time:  {pattern_Datetime}'
    pattern_Repoview_refresh = re.compile(pattern_Repoview_refresh)
    pattern_DoubleTreeWidget = re.compile(pattern_DoubleTreeWidget)
    pattern_CommitListMousePress = re.compile(pattern_CommitListMousePress)
    pattern_openProject = re.compile(pattern_openProject)
    pattern_DoubleTreeWidget_finished = re.compile(pattern_DoubleTreeWidget_finished)

    repoview_refresh_time = None
    refresh_initial_setDiffCounter = 0

    datetimeformat = "%Y-%m-%d %H:%M:%S.%f"

    matchCounter = 0
    with open(filename, "r") as f:
        lines = f.readlines()

        line_number = 0
        for line in lines:
            line_number += 1
            match = re.match(pattern_openProject, line)
            if match is not None:
                project_path = match["project_path"]
                projects.append({
                    "path": project_path,
                    "refreshes": [],
                })

            match = re.match(pattern_Repoview_refresh, line)
            if match is not None:
                #print("Refresh triggered")
                repoview_refresh_time = datetime.datetime.strptime(match["time"], datetimeformat)
                refresh_initial_setDiffCounter = int(match["counter"])
                t = {
                    "refresh_time": repoview_refresh_time,
                    "refresh_initial_setDiffCounter": refresh_initial_setDiffCounter,
                    "setdiffs": [],
                    "type": "repoview_refresh"
                }
                projects[-1]["refreshes"].append(t)
                continue

            match = re.match(pattern_CommitListMousePress, line)
            if match is not None:
                repoview_refresh_time = datetime.datetime.strptime(match["time"], datetimeformat)
                refresh_initial_setDiffCounter = 0
                t = {
                    "refresh_time": repoview_refresh_time,
                    "refresh_initial_setDiffCounter": refresh_initial_setDiffCounter,
                    "setdiffs": [],
                    "type": "commitlist_selection_changed"
                }
                projects[-1]["refreshes"].append(t)
                continue

            match = re.match(pattern_DoubleTreeWidget, line)
            if match is not None:
                time = datetime.datetime.strptime(match["time"], datetimeformat)
                counter = int(match["counter"])
                matchCounter += 1

                #print(f"Counter: {matchCounter}, Difference Time: {(time - repoview_refresh_time).total_seconds()*1000}ms. Count diff: {counter - refresh_initial_setDiffCounter}")

                assert(len(projects[-1]["refreshes"]) > 0)

                t = {
                    "totalCount": matchCounter,
                    "time_start": time,
                    "timediff_ms": (time - repoview_refresh_time).total_seconds()*1000,
                    "relativeCount": counter - refresh_initial_setDiffCounter,
                    "duration_setDiff": -1
                }
                projects[-1]["refreshes"][-1]["setdiffs"].append(t)
                continue

            match = re.match(pattern_DoubleTreeWidget_finished, line)
            if match is not None:
                time = datetime.datetime.strptime(match["time"], datetimeformat)
                counter = int(match["counter"])

                # print(f"Counter: {matchCounter}, Difference Time: {(time - repoview_refresh_time).total_seconds()*1000}ms. Count diff: {counter - refresh_initial_setDiffCounter}")

                assert (len(projects[-1]["refreshes"]) > 0)

                projects[-1]["refreshes"][-1]["setdiffs"][-1]["duration_setDiff"] = (time - projects[-1]["refreshes"][-1]["setdiffs"][-1]["time_start"]).total_seconds()*1000
                continue
    return projects

def hline() -> str:
    return "-----------------------------------\n"

def diffRow(diff: dict) -> str:
    return f'c:{diff["relativeCount"]}, t:{diff["timediff_ms"]}ms, d_setDiff:{diff["duration_setDiff"]}ms'

def rowString(columns: []):
    row = "|"
    for column in columns:
        row += f"{column:40}|"
    return row

def row(header: [], diffs: []) -> str:
    r = ""
    assert(len(header) == len(diffs))

    max_len = -1
    for d in diffs:
        length = len(d["setdiffs"])
        if length > max_len:
            max_len = length
    assert(max_len > 0)

    r += rowString(header) + "\n"
    for i in range(max_len - 1):
        row_contents = []
        for diff in diffs:
            row_content = ""
            if i < len(diff["setdiffs"]) - 1:
                row_content = diffRow(diff["setdiffs"][i])
            row_contents.append(row_content)

        r += rowString(row_contents) + "\n"

    row_contents = []
    for diff in diffs:
        row_content = diffRow(diff["setdiffs"][-1])
        row_contents.append(row_content)
    r += rowString(row_contents) + "\n"
    return r

def printTable(runs):
    """
    Create caller table
    :param runs:
    :return:
    """
    table = ""
    ref_logs = runs[0]["logs"]
    for p_index in range(len(ref_logs)):
        table += hline()
        table += hline()
        project_name = ref_logs[p_index]["path"]
        table += f"Open Project: {project_name}\n"

        for refreshes_index in range(len(ref_logs[p_index]["refreshes"])):
            table += hline()
            table += f"Refresh triggered: {ref_logs[p_index]['refreshes'][refreshes_index]['type']}\n"
            names = []
            values = []
            for run in runs:
                names.append(run["name"])
                values.append(run["logs"][p_index]["refreshes"][refreshes_index])
            table += row(names, values)
            table += hline()

    print(table)

if __name__ == "__main__":
    runs = [
        {
            "name": "OptimizedRefresh",
            "logs": parse("GittyupSpeedupRefresh.txt", False)
        },
        {
            "name": "Master",
            "logs": parse("GittyupMasterRefreshOutput.txt", True)
        }
    ]

    # check that all have the same number of open project
    num_proj = len(runs[0]["logs"])
    for run in runs:
        assert len(run["logs"]) == num_proj

    # print table for optimized refresh
    print(f"Run {runs[0]['name']}")
    printTable([runs[0]])

    # print table of current master
    print(f"Run {runs[1]['name']}")
    printTable([runs[1]])


Update AboutUs document for chloeelim

add skeletal PPP
add image and roles/ responsibilities

Codecov Report

Merging #11 (ca9744e) into master (fd87722) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


object address with dbghelp

The new object_address field in stacktrace_frame is excellent when resolving frames using libdwarf. is there a way to also bring it using dbghelp? currently 0 is the hardcoded object_address value returned from resolve_frame()

Thanks for opening this, it is possible however it would come at a small performance cost. I'll try measuring the cost later to see if it matters.

It looks like calls to figure out the module for a raw address are cheap so I'll go ahead and set up the library to resolve this by default.


Add Error enum to core::prelude

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
15 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.01%) to 98.623%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/evaluate/stateless.rs
15
94.09%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
39251

Relevant Lines:
39799

💛  - Coveralls


why to frames need to substract 3

Why to frames need to substract 3?
I visulize the image finding the annotations is inconsistent with the generated images. In addition, when I remove the code of 'substract 3', annotations becom consistent.

Yeah sorry for that. Do not skip the 3 frames.


Add ignition-subsequent.target for non-Ignition boots

This is needed for Fedora CoreOS work on reprovisioning
the rootfs.  We tried to split out a systemd unit to handle
mounting the root in this commit:
https://github.com/coreos/fedora-coreos-config/pull/187/commits/a6fe3749262cad8d35d73efb657dea1c9add7dd4
with ignition-ostree-mount-sysroot.service but the problem
is that needs to have different dependencies/ordering if we're
doing the "Ignition boot" versus a "subsequent" boot.
Add a new target that's queued up if we detect we're doing
a "subsequent" boot.

Required by https://github.com/coreos/fedora-coreos-config/pull/210

Hmm, though coreos/fedora-coreos-config#210 already has ConditionKernelCommandLine=!ignition.firstboot. That should be enough, no?

OK I see, the firstboot unit also ties into -complete. So this is complementary to that.

I'm playing a bit of catch up here so I probably missed something, why couldn't the sysroot mount service just have the same deps/ordering as the old sysroot.mount unit?

the old sysroot.mount unit

What we had before is what systemd-fstab-generator creates out of the root= kernel cmdline.
Conceptually, our rootfs is owned by us, and where it's found will be defined eventually by Ignition configs.
The systemd generated sysroot.mount binds together requiring /dev/disk/by-label/root with mounting /sysroot.
We're taking over that role.

Conceptually, our rootfs is owned by us, and where it's found will be defined eventually by Ignition configs.

Well it will always be at /dev/disk/by-label/root (except pxe), right?

The systemd generated sysroot.mount binds together requiring /dev/disk/by-label/root with mounting /sysroot.

Right, why not do that with the service as well?

Well it will always be at /dev/disk/by-label/root (except pxe), right?

I think that works today yeah.  That said, requirements may drive us to do something like ensure we've "bound" our config to something more like "the label root on the disk whose UUID=(uuid we generated at Ignition time)" later.

Right, why not do that with the service as well?

https://github.com/coreos/fedora-coreos-config/pull/187#discussion_r332543204

I think that works today yeah. That said, requirements may drive us to later do something like ensure we've "bound" our config to something more like "the label root on the disk whose UUID=(uuid we generated at Ignition time)".

I thought we'd decided that the interface was "root is by label and you can only have one label with root". We don't need to design around non-problems, especially when it introduces more complexity. We should keep it simple unless we have a concrete reason to make it more complex.

coreos/fedora-coreos-config#187 (comment)

Gotcha.


14213 oauth me endpoint

Closes #14213
The idea is to provide some presenters that are controlled by OAuth scopes. However, for the first iteration, the only information needed is the username. I added a couple of extras that sound useful to have from the beginning, like the base url of the endpoints (think onprem, where they might be in different servers). The implementation of scopes is left to future PRs.
I also added some extra information to the token returned from the OAuth flow, so the app developer knows where to go next, since the APIs are in the user subdomain. Although the /me API works with any subdomain, you still need a valid one, since there isn't anything at central for this.

Second :eyes: ?


Open-source bazel BUILD file

Bazel seems to be picking up steam. And I'm fairly certain that blaze BUILD files for gperftools do exist. Any chance of open-sourcing them as an experimental second build system?
The current autotools setup makes certain build situations unnecessarily difficult (e.g. an FDO build of many targets that depend on tcmalloc, including doing FDO for tcmalloc itself), and bazel/blaze shine for such builds.

Hi Svilen. I know very little about blaze/bazel and I am very short on time to do that myself.
But if you have access yourself and can contribute this, or convince somebody else to contribute then I'll happily accept and maintain it.

I found an example bazel BUILD file at https://github.com/bazelment/trunk/blob/master/third_party/gperftools/BUILD
Looks like this was tested against version 2.4, so will need some updates to run against 2.6.1. I found others but this is the one that seemed to understand your Makefile the best.
There seems to be a bazel discussion around using tcmalloc in this thread --
https://github.com/bazelbuild/bazel/issues/818 -- so I am guessing that's another BUILD file out there.
We have also created our own BUILD file but find it difficult to maintain. Seeing that many people have tried to reverse engineer your make process in bazel, I think it is a worthwhile exercise if you could maintain it along with your Makefile.
Thank you.

I don't have an internal BUILD file for gperftools / tcmalloc. Once upon a time I gave it a shot, but the Autotools config macros and compiler intrinsics were too complex to migrate within my time budget. https://github.com/gperftools/gperftools/blob/master/m4/acx_nanosleep.m4 and https://github.com/gperftools/gperftools/blob/master/m4/pc_from_ucontext.m4 were particularly challenging.

It will be fine to add bunches of preprocessor ifdefs to deal with this on common OSes.
I am fine taking contributed bazel build files, but note that I will only maintain it on best effort basis (so assume worst effort).

@alk sounds good. I'm going to start an internal thread on this as well, as it's be ideal to see what we can do to help provide a cohesive experience for adopters of two Google technologies here (Bazel + gperftools).

Is there any update on this?

+1

+1

+1

So quick update (and I see couple more dupes of this). Some time back I allowed folks to contribute cmake support, claiming I'll only do best effort. It is not entirely functional btw (tests seemingly linked wrong and failing thus). But even that kinds of best effort is "too best" for me. I am reluctant to maintain one more build system.
Only thing I might be okay to accept is if it will be specific configuration with none/few configuration options or variants possible. Some target specific config and some/few OS/hardware combos supported might work. I.e. perhaps someone starts with tcmalloc_minimal setup?

Well tcmalloc_minimal plus all relevant tests.

The much more modern tcmalloc that Google actually uses requires Bazel and lives over in https://github.com/google/tcmalloc/.

BTW, I was pondering this. But now that we require c++17, this issue is a blocker: https://github.com/bazelbuild/bazel/issues/16551
Having our users pass magic flags (which differ between compilers), is IMO user-hostile.

The way I'm used to seeing that kind of thing be abstracted is by Bazel's config_setting/select mechanism which could in your presumed scenario be used to select appropriate copts= based on the target's build environment configuration the build action is being invoked for. But how and whether or not that is appropriate is best discussed in a Bazel forum full of people more familiar with that than I am -- not off in this corner of the Internet. :)


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/194 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

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

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

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


Welcome Plugin: enable-welcome-box Feature Flag not working

Expected Behavior
When enabling the welcome-box the welcome plugin box should be shown on home page

No Welcome Box -

Current Behavior
Welcome box is not showing
Possible Solution

Steps to Reproduce

Step 1
Step 2
...

Context

Your Environment

NodeJS Version (v12): Node12
Operating System and Version (e.g. Ubuntu 14.04): Windows 10
Browser Information: Chrome

Not sure if this is a bug. I don't think that the welcome banner was ever related to that feature flag.
The welcome banner was removed recently as there isn't really a use in the default app https://github.com/backstage/backstage/pull/4193 .
Personally, if you need some kind of banner to welcome new user, I would recommend to copy that code into your local app. We did that, it works well and we are even able to customize it to our needs.

We could remove the feature flag registration there, or might even delete the whole plugin? Right now it doesn't seem to have a purpose except being a placeholder?

hmm the feature flag worked before the last release.  I think it is nice to have, especially when you are about to go live. Thanks for the suggestion, i will try copying the code into the front-end.

Yeah, there's a panel on the /welcome plugin itself which when you hide sets a COOKIE. But it's not a feature flag.
I agree I too thought this was confusing at first, but since the welcome plugin is sort of unused now (it USED to be the homepage, now the homepage is the catalog) I forgot about it.
I agree with @Fox32 , some of this likely just needs to be better refactored for sure!

And sorry, I should have been more clear - the screen shot you show where the original "intro to backstage" panel was shown right above the entity list is shown is on the catalog plugin and is cookie based (not feature flag), NOT the welcome plugin, which is the one I meant is cookie based.  So the feature flag WORKS, but it shows/hides a panel on /welcome which is different than the one you see in that screenshot.
So by deprecating the welcome, the feature flag would be hidden. But what might be useful is converting the intro as well to be a feature flag.
I'll throw a quick PR in to help clear up SOME of this, at least to try to reduce a bit of confusion.

@regicsolutions With the PR from early Feb merged and closed, the referenced feature flag has been removed.  I think the confusion it introduced is no longer there, even if perhaps the root goal of your expectation - that that flag controlled the "welcome to Backstage" sort of feature may not be.
I think I'm going to close this one as nailed, but if you think there's still more work or a useful enhancement here, might you be willing to spin up a new issue with a specific expectation/ask?  It might help build a better "new user experience" picture.  Hope that is ok!


TOC exstention allow for numbering

Is there a way to add numbering to TOC lists like:
1. First Header
    1.1 Subheader
    1.2 Second Subheader
2. Last Header
    2.1 Last Header

You can achieve this with CSS and counters, see https://stackoverflow.com/q/4098195. So in my opinion there is nothing to do on Python-Markdown side.

Thanks! I didn't know you could do that with CSS.

@mitya57 , Is there a way to set this only for the TOC?
As adding this to the CSS for all lists won't make sense.

@RoyiAvital Just prefix the rules with .toc, e.g.:
<style>
.toc ul {
  counter-reset: item;
}
.toc li {
  display: block;
}
.toc li:before {
  content: counters(item, ".") " ";
  counter-increment: item;
}
</style>

I tried to get an answer in Numbered List in a TOC Class by Python Markdown.
I hope I will get a robust solution.

I have just tried with four levels of headers and it works fine:

With your permission, How would you also set different font size per level?

A very primitive way:
.toc ul {
  font-size: 16pt;
}
.toc ul ul {
  font-size: 14pt;
}
.toc ul ul ul {
  font-size: 12pt;
}
.toc ul ul ul ul {
  font-size: 10pt;
}

But this seems to also work and make size for every next level smaller:
.toc ul {
  font-size: 16pt;
}
.toc ul ul {
  font-size: smaller;
}


Tracefoss 935 switch build tool of backend repo to maven

From my side we can merge pull request, once the conflicts have been resolved.


Travis tests failing

We've seen a couple of Travis test runs in master fail with errors like the below (though different tests each time, and seemingly not 100% of the time?)
[ re/examples/multi-callback-all ]     pulumi:pulumi:Stack azure-multi-callback-all-p-it-travis-job-multi-call-df20f526 **failed** 17 errors; 17 messages
[ re/examples/multi-callback-all ]
[ re/examples/multi-callback-all ] Diagnostics:
[ re/examples/multi-callback-all ]   pulumi:pulumi:Stack (azure-multi-callback-all-p-it-travis-job-multi-call-df20f526):
[ re/examples/multi-callback-all ]     error: Running program '/tmp/p-it-travis-job-multi-call-df20f526-827200631' failed with an unhandled exception:
[ re/examples/multi-callback-all ]     Error: ENOENT: no such file or directory, lstat '/opt/pulumi/node_modules/@pulumi/azure/node_modules/@azure/functions/node_modules'

Based on the detailed logs of build 1508, the error looks very weird. Basically, update-initial step succeeds, pulumi-preview-empty succeeds too, but update-empty fails with missing node_modules error.
I'm not able to inspect the detailed logs of other builds as I don't have access to the S3 bucket...

This can be closed out - @mikhailshilkov was able to identify the last of the legitimate issues in master that we have. We have some transient failures in our builds right now
We have a green master as we speak https://travis-ci.com/pulumi/pulumi-azure/builds/124605861

The ENOENT error is back https://travis-ci.com/pulumi/pulumi-azure/builds/124666145

Ok, I really do believe we got them all this time - going to close this out and we can reopen if they come back :D


use "steady_clock" for profiling and not "system_clock" (#11904)

Scope & Purpose
Use the steady_clock for AQL query profiling and not the system_clock.
The system_clock is not guaranteed to be monotonically increasing, and it may jump forward or backward anytime upon user or OS interaction.
The steady_clock however is monotonically increasing and thus can be used for measuring time differences between two timepoints without being affected by leaps forward or backward.

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10542/

Tests blue


Adding Flow Widget (Feature)

Light Mode Pics

Added under the animation tag

Dark Mode Pics

Fixes https://github.com/ACM-VIT/fludget/issues/278

https://user-images.githubusercontent.com/20140511/139554281-4120eaee-cb07-432f-b455-44a4385f04b4.mp4

uploaded the recording

@AryanKhubchandani


4张A800跑不动internlm-xcomposer2d5-7b

with torch.autocast(device_type='cuda', dtype=torch.float16):
response, _ = model.chat(tokenizer, query, image, hd_num=40,do_sample=False, num_beams=3, use_meta=True)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 47.73 GiB. GPU 0 has a total capacity of 79.32 GiB of which 46.77 GiB is free. Including non-PyTorch memory, this process has 32.54 GiB memory in use. Of the allocated memory 31.99 GiB is allocated by PyTorch, and 48.12 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Do u install the flash-attention?

Do u install the flash-attention?

I have already downloaded flash-attention==1.0.0.

We recommend installing flash-attention2, e.g., flash-attn == 2.3.4, and please make sure that the flash-attn is enabled in the inference stage.

Also load model with .half() will help.


Added --ANALYZE option

You can now analyze the generated data using the --analyze option.

Resubmitting PULL request - Code has been restructured removing all customer references.
Please approve.


[BUG] Inconsistency with toBuilder() with/without @Singular

Describe the bug
The copy behaviour regarding lists (and I assume other collections) changes depending on the presence of @Singular annotation on the field.
To Reproduce
    public static void main(String[] args) {
        ArrayList<String> list1 = Lists.newArrayList("list1");
        ArrayList<String> list2 = Lists.newArrayList("list2");

        ToBuilderTester t = new ToBuilderTester(list1, list2);
        System.out.println(t);

        t = t.toBuilder().build();
        System.out.println(t);

        list1.add("invalid");
        list2.add("invalid");
        System.out.println(t);
    }

    @Data
    @Builder(toBuilder = true)
    public static class ToBuilderTester {
        @Singular
        private List<String> list1Values;
        // no @Singular
        private List<String> list2Values;
    }

Output:
ToBuilderTester(list1Values=[list1], list2Values=[list2])
ToBuilderTester(list1Values=[list1], list2Values=[list2])
ToBuilderTester(list1Values=[list1], list2Values=[list2, invalid])

Expected behavior
I would prefer this:
ToBuilderTester(list1Values=[list1], list2Values=[list2])
ToBuilderTester(list1Values=[list1], list2Values=[list2])
ToBuilderTester(list1Values=[list1], list2Values=[list2])

I mean the whole concept of toBuilder() is to create a completely new instance like we would with builder() without the need to copy over every property manually. Changes on the old shouldn't affect the new, and vica versa.
Version info (please complete the following information):

v1.18.6 "Envious Ferret"
javac 1.8.0_191

@fpeter8 FYI

I mean the whole concept of toBuilder() is to create a completely new instance like we would with builder() without the need to copy over every property manually.

This would require deep cloning and that's sort of impossible to implement (in an efficient and generally useful way).
The difference between fields with and without @Singular ist that
@Singular MyShinyListNobodyHasEverHeartAbout<String> list3;

would not compile as the annotation requires a collection/map it knows. This makes the depth-1 cloning possible as all implementations are known.

Actually, not impossible - at least with limitations. Known collections can be deep copied easily. If an object has the lombok toBuilder() method, then it could be called recursively, so deep copy is still an option.
BUT that is not my point here. I can even accept that this does no deep-copy whatsoever, because supporting everything is borderline impossible, and requires something like mapstruct. BUT if that is the concept here, then @Singular shouldn't break that.

Hmm, currently, we use @Singular to add behavior as well as a trigger to signal we're dealing with one of the known collection types/ The field not annotated with @Singular are treated as Object.
One could argue that IF the type of the field is one of the types supported by @Singular, we can give it also special treatment.
However, adding @Singular now also checks if it is one of the supported types. If it's not, you get an error. This make it possible for us to support other collection types in the future.
But if we give unannotated fields also special treament, adding a new supported collection types would change existing code, making it a (potential) breaking change.
Is there a good reason to not just add a singular annotation?

Closed due to no feedback from reporter

Sorry for the delay.
Anyway your suggestion is that we should add a @Singular annotation to every collection we have in our code? IMO it would be viable if there would be a way to configure this at lombok.config. If it requires actually writing it out constantly, then it's not a viable option for any project. Devs are lazy. They will forget it.

Or maybe the @Builder should have a value like alwaysSingular or copyCollections, and that should be configurable at the lombok.config.

@rspilker


Receiving "Imgur Error: Uploading file too fast! (400)" in response to upload attempts

It seems like they've changed the API...

I just tried with a single image and it worked. Did you try to upload multiple images consecutively?


Is there an option to write mp4 files?

Hello,
This may not be the place for this question. If that's the case, my apologies. But many other forums state that h264=mp4. Apparently, it is not as I should be able to read mp4 files in QuickTime - but I cannot just rename the h264 file to mp4 and play it there.
Is there an option to generate mp4 with h264Enc? If not - or not applicable - if you can point me to how one can generate a mp4 file I would appreciate it.
Thanks.

H.264/AVC is MP4 part 10, not equal to mp4. You can package the h264 file into mp4 file using other tools.

answered.


Ingress services in ksonnet

Howdy,
So I am working on building a ksonnet package and when I go into the "kubectl apply" function, I get this
REROR handle object: can't update ingresses ing: Ingress in version "v1beta1" cannot be handled as a Ingress: v1beta1.Ingress: Spec: v1beta1.IngressSpec: Rules: []v1beta1.IngressRule: v1beta1.IngressRule
I have the apiService as  extensions/v1beta1 . I changed it to just "v1" with no luck. Thoughts?

Would it be possible for you to share how you are defining the ingress?

Sure
`
ing:: {
apiVersion: "extensions/v1beta1",
kind: "Ingress",
metadata: {
name: "ing",
},
spec: {
rules: [{
host: params.url,
http: [{
paths: {
backend: [
{
serviceName: "super",
servicePort: 4040,
},
],
},
}],
}],
},
},
`

backend isn't an array of objects, it's an object itself.
  {
    apiVersion: 'extensions/v1beta1',
    kind: 'Ingress',
    metadata: {
      name: 'ing',
    },
    spec: {
      rules: [{
        host: params.url,
        http: {
          paths: [{
            backend: {
              serviceName: 'super',
              servicePort: 4040,
            },
          }],
        },
      }],
    },
  },

@TheJaySmith I hope this was helpful. I'm going to close this issue now. If you have any questions, please feel free to re-open it.

Yep. Sorry for not responding soon. All is well. Thank you @bryanl  !!!


How to create an analyzer

Can you add a link to a document that explains how to create an analyzer from scratch? Would be nice :) Thanks!

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

ID: ee024463-2572-2106-a85d-7c53f8d9dc0c
Version Independent ID: 1cd4a2f3-3055-1faa-0fa9-46bbfb6dcef1
Content: The Roslyn based Analyzers - .NET
Content Source: docs/standard/analyzers/index.md
Service: unspecified
GitHub Login: @BillWagner
Microsoft Alias: billwagner

I think such document doesn't exist in the docs yet. Here is an issue about creating one: https://github.com/dotnet/docs/issues/4831.

I'll close this as a duplicate of #4831
In the meantime, this tutorial has a lot of the information necessary. It's just not in a location that's easy to find if you're looking for roslyn analyzers.

Duplicate of #4831

@BillWagner This is exactly what I was looking for, thanks!


fix(InputFileResolver) Fix for potentially wrong order of files

Wrong order when globbing promisses resolve in different order.

Why did the original code change the order and how does this code fix it?

See my remarks in the file changed tab.

Was my response clear? Can this PR be closed?

Yes, thanks for the response!


zoekt-git-index fails with indexGitRepo(...): reference not found

zoekt-git-index has started failing for us.  The only change I can see in the indexing output is
indexGitRepo(/home/travis/gopath/src/github.example.io/foo/codesearch/github_repos/github.example.io/foo/foo-incident-starter.git): reference not found

It seems to finish all indexing, but fails with exit 1 at the end.

started failing for us

after an upgrade of anything, or just out of the blue?

@hanwen Any ideas if this could be fixed?

I added a test for indexing an empty repo in https://gerrit-review.googlesource.com/c/zoekt/+/313865
the test passes. I suspect something else is wrong. Can you delve a little bit deeper?

Thanks! Changes in zoekt might have improved things since I opened this issue. I haven't actually seen this lately, but I'll investigate some more.

I'll close this for now. Please reopen when you find something.

@hanwen This failed for us again. I haven't got any more debug data than the reference not found message above. We run zoekt againt Github Enterprise (v3.1.4), I don't know it that has anything to do with it.


Bump version to 7.6.1

Note: I did not update the README since it already points to 7.6.0 for the stable release, which I believe is correct?

LGTM

@polyfractal That is correct, thank you!


hapi - Static file handler

/admin/ for now.
I'll add /view when the need arises.

Ok :+1: Good to merge


 The effect is the same whether I export to PNG.
Thanks for your work on this great library! Is there anything you'd recommend in order to get images that are not cut off? Is there a way to export to PDF?

It would be great if someone could provide me with Plantuml diagram code for reproducing this issue.

But since this issue is old, and my guess is it was caused by Plantuml I will lose this.
Please reopen if this is still an issue.


Inject rocm runtimes to runtime-images folder

Related to: https://issues.redhat.com/browse/RHOAIENG-9680
Depends on: https://github.com/openshift/release/pull/54567
Description
Add rocm runtimes to runtime-images folder
Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

This PR is ready for review

/lgtm

https://quay.io/repository/opendatahub/workbench-images/manifest/sha256:519b7f4ea9a16065ba2213389de4e38ee4afa3084f3b8b770157818928ad0f7a
https://quay.io/repository/opendatahub/workbench-images/manifest/sha256:a1bbf6153921b60cb58f094d110bf6dc054d13a07c4c513a6b994d1b74a8b60e?tab=layers

the images as displayed on quay.io look to be the correct ones

/lgtm

/override ci/prow/images
/override ci/prow/notebooks-ubi9-e2e-tests
/override ci/prow/rocm-notebooks-e2e-tests


The serial settings for Raspberry PI are unclear

"Fill out the rest of the parameters as appropriate for the Raspberry Pi." is not very helpful.

Should we use 115200 for the baud settings, or 921600? Or doesn't it matter?
What is the com port on the target device (I know how to find the com port for the host device)

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

ID: 5302a6a5-9017-4475-25ee-167a9b816d31
Version Independent ID: f0bff1be-a4fe-3de0-1ea9-7ec77def3b0c
Content: Driver Deployment - Windows IoT
Content Source: windows-iotcore/learn-about-hardware/DriverDeployment.md
Service: unspecified
Product: windows-iot
GitHub Login: @parameshbabu
Microsoft Alias: pabab

@wind-rider we are looking into this.

Following up here - @wind-rider do you still need help with this?

@saraclay - sorry for the late reaction. It would still be nice if the documentation would be made more explicit, yes.


Feat: Can we show which notes are getting consumed

Do you mean showing note id?

For example: Received and consuming encrypted card note

I don't think we can do this.

Closing this as notes aren't that descriptive and should be a major effort issue if we wanna work on it.


Streaming multiple json objects at the same time

It seems like sometimes Ollama streams multiple json objects one after the other in the same streamed response, which cannot be deserialized.
Here's an example of one single streamed json response using the /generate endpoint
{"model":"dolphin-mixtral:latest","created_at":"2023-12-25T01:12:45.58944567Z","response":" you","done":false}\n
{"model":"dolphin-mixtral:latest","created_at":"2023-12-25T01:12:45.607384298Z","response":" today","done":false}\n
{"model":"dolphin-mixtral:latest","created_at":"2023-12-25T01:12:45.625372937Z","response":"?","done":false}\n
{"model":"dolphin-mixtral:latest","created_at":"2023-12-25T01:12:45.643531751Z","response":"","done":true,"context":[32001,6574,13,24205,574,8570,6817,28723,32000,13,32001,1838,13,21558,28801,13,32000,13,32001,489,11143,13,22557,28808,1602,541,315,6031,368,3154,28804],"total_duration":376468647,"load_duration":758387,"prompt_eval_count":23,"prompt_eval_duration":226302000,"eval_count":9,"eval_duration":147877000}

Not sometimes, but always unless you specify stream: false in the request.
If stream: true (default), Ollama will stream a ND-JSON payload (Newline-Delimited JSON) which just means that each new line of the response is a separate JSON payload which you need to process. Depending on whether you want your application to support streaming the response or if you're okay with waiting for the whole response to come through before doing anything with it, you can change the stream  setting in the request.
https://github.com/jmorganca/ollama/blob/main/docs/api.md#generate-a-completion

Not sometimes, but always unless you specify stream: false in the request. If stream: true (default), Ollama will stream a ND-JSON payload (Newline-Delimited JSON) which just means that each new line of the response is a separate JSON payload which you need to process. Depending on whether you want your application to support streaming the response or if you're okay with waiting for the whole response to come through before doing anything with it, you can change the stream setting in the request.
https://github.com/jmorganca/ollama/blob/main/docs/api.md#generate-a-completion

Oh ok I didn't know this ND-JSON format, because most of the time I get 1 json object per payload. Thanks!


Separate concerns of Bundler::SharedHelpers#set_bundle_environment

Splits the implementation details/sections of Bundler::SharedHelpers#set_bundle_environment into three more modular, singularly responsible methods: set_path, set_rubyopt, set_rubylib
Adds unit tests for set_bundle_environment and the new methods

Not 100% sure whether set_path, set_rubyopt, set_rubylib should be private or public. Made them public as of right now since set_bundle_environment was essentially a wrapper around the three.

Private imho

Hm, okay, so then no unit tests for those methods?
And then we would keep the set_bundle_environment mocked call unit spec or create/make a unit test that aggregates all the functional unit testing for the set methods?

@RochesterinNYC yup!

Some rubocop offenses in the specs: https://travis-ci.org/bundler/bundler/jobs/101209168#L264-L277

Updated the PR with making the set_ methods private. Also added ENV['RUBYLIB'] and ENV['RUBYOPT'] to the after spec reset list to prevent the new set_bundle_environment unit tests from having side effects.

@homu r+

:pushpin: Commit 0a1c1ca has been approved by segiddins

:zap: Test exempted - status


[Async Refactoring] Add parens around custom error cast

When passing a forwarded error to a CustomError? completion handler parameter, wrap the cast in a set of parentheses to silence a warning in the refactored code.
rdar://80409905

@swift-ci please smoke test


NIST-Feed Final

Changes

Created dunst module
Created nist-feed systemd.timer module
Added NIST-Feed

Usage
To use nist-feed timer :

Add this to your configuration file
services.nist-feed.enable = true;

For custom arguments to nist-feed :
services.nist-feed = {
  enable = true;
  arguments = "-r 3";
};

Thank you @octodi

Hi @octodi Will the nist-feed systemd module be upstream ? At some point ?

Hi @octodi Will the nist-feed systemd module be upstream ? At some point ? Maybe it's not too hard to just use/copy it on NixOS

Yup I've opened a PR


Cyrillic in PHP

Hey! Unfortunately this glorious plugin doesn't select cyrillic inside html tags in .php file. But cyrillic in html works fine! That's pretty stange. Is there any solution to fix this?

It has nothing to do with cyrillic characters. In order to make the HTML expansion work, the file have to have the files extension .html. Otherwise the tool can't know, that it should use the html/xml expansion strategy.


[Python][parquet] Empty row groups left behind after hitting max_rows_per_file in ds.write_dataset

Describe the bug, including details regarding any error messages, version, and platform.
The pyarrow.dataset.write_dataset function leaves an empty row_group behind in the the parquet file after the writer hits the limit of max_rows_per_file. See reproducible example below:
import pyarrow.dataset as ds
import pyarrow.parquet as pq
ds.write_dataset(data, "test_dataset", max_rows_per_file=1024*32, max_rows_per_group=1024 * 16, min_rows_per_group=8*1024, format='parquet')
metadata = pq.read_metadata("test_dataset/part-0.parquet")

for i in range(metadata.num_row_groups):
    print(metadata.row_group(i))

<pyarrow._parquet.RowGroupMetaData object at 0x7f92b5168180>
  num_columns: 1
  num_rows: 16384
  total_byte_size: 61
<pyarrow._parquet.RowGroupMetaData object at 0x7f92b5185bc0>
  num_columns: 1
  num_rows: 16384
  total_byte_size: 61
<pyarrow._parquet.RowGroupMetaData object at 0x7f92b5185bc0>
  num_columns: 1
  num_rows: 0
  total_byte_size: 14

Component(s)
Python

Thank you for opening up an issue @ion-elgreco!
I agree this is probably a bug in datasets. It would be in Arrow C++ I believe. @mapleFU would you mind sharing your view on this?

@ion-elgreco What's the version of arrow you're now using? I guess that's from bad handling of max_rows_per_group 🤔

@mapleFU it occurs with the latest one, so v15

I think that's a problem in dataset writer, I'll try to reproduce and fix it tomorrow

Update: dataset writer DoWriteRecordBatch could cause this problem currently, I can fix it tomorrow, but currently I don't know if other place would causing this 🤔

@ion-elgreco Would you mind try: https://github.com/apache/arrow/pull/39995 ? I guess this might fix the problem

@mapleFU is there some guide I can follow to compile from source? Never touched any C++ codebase before

https://arrow.apache.org/docs/developers/python.html
It's a bit complex because it need to build that

@mapleFU ok I need to find some time to set this up then, I'll try it out in the weekend


TechDocs breadcrumb: highest level link is broken

Expected Behavior

After using the TechDocs home page to navigate to a certain documentation page, I should be able to use the breadcrumbs to navigate back to the TechDocs homepage.
Current Behavior

Clicking on the "root" Breadcrumb element of an individual docs page, takes you to a generic catalog (not documentation) homepage (and that's also due to an invalid entity link).
TechDocs Homepage:

Backstage Component docs page:

Returned to the catalog homepage:

Possible Solution

Statically hardcode the main route for the page that draws the documentation as /docs?
Currently, the breadcrumb seems to display "entityname / Mkdocs Site Name" as elements. However, I would have expected the breadcrumbs to be "Docs / Mkdocs Site Name", where "Docs" (or Tech Docs or something that triggers for the user "a list of all available documentation) is what brings me back to the /docs route.

Steps to Reproduce

Visit the TechDocs main route of /docs: http://localhost:3000/docs
Select a specific piece of documentation, e.g. the sample backstage site: http://localhost:3000/docs/default/Component/backstage
Along the top, see the Breadcrumbs which should say "backstage > Backstage".
Click the left-most home link "backstage" which should take you to this link: http://localhost:3000/catalog/Component/backstage
This is the catalog homepage.

The correct entity link in this case could have been http://localhost:3000/catalog/default/component/backstage.
But my expectation would have been getting right back to the main TechDocs homepage instead (back to the /docs route).
Context

The reason you're brought back to the catalog homepage is in fact the entity link is wrong.  You're taken here:
http://localhost:3000/catalog/Component/backstage
But the correct entity page for that component should be:
http://localhost:3000/catalog/default/component/backstage
However, that's not where I expected to be taken back to.
Your Environment

NodeJS Version (v12): v12
Operating System and Version (e.g. Ubuntu 14.04): Windows 10 WSL2 Ubuntu 18.04
Browser Information: Edge (Chrome engine)

Hey - I would like to fix this. My solution would be to replace the "entityName" Link with a "Docs" Link, which brings you back to ".../docs". Is that alright @adamdmharvey? Also I would like to take a look if this is a bug I introduced by adding the Breadcrumbs component in #3965.

That's what I think too, @tudi2d. However, I can't say I know where this comes in - I couldn't find a clear "docs-specific Breadcrumb" component, so it may be buried under an entity front end in somehow, but I have no idea how so won't be able (myself) to be too much help there 😁

I couldn't find a clear "docs-specific Breadcrumb" component, so it may be buried under an entity front end in somehow, but I have no idea how so won't be able (myself) to be too much help there 😁

😄 I helped adding a Breadcrumb component in #3965 to the core layout components, which is also used in the Header. As far as I remember the Docs were the only place using a "depth" of 2 in the breadcrumbs - so will check that again 👍


Drb Issues

This one is probably my fault but not sure what else I need to set up.
RabbitMQ is working fine.
Using Puma
created project with Disco New
DRb::DRbConnError in TeamsController#create
druby://<IP_ADDRESS>:8787 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 8787>

following the SitePoint tutorial and trying to create a team.
Rails 4.1.12
Rails Disco 0.5.3

drb is used to connect to the domain.
Are you running the domain? - It may have stopped because of an error.

Completely my fault. I ran rails server instead of disco server which of course only runs the main "projection" server.


[ISSUE #17] Corrected the angle functions to fix the incorrected results strans function according to the documentation.

The problem was that our corners are float8, and for some reason pointers were returned.

I propose to change version to 1.2.3 (increment patch number) before merge.
@stepan-neretin7 Could you please change the version number to 1.2.3 in the following places:

Makefile: change PGSPHERE_VERSION to 1.2.3
pg_sphere.control: change default_version to 1.2.3

@stepan-neretin7 Thank you for the fix! It works on my side. I think the patch is ready for merge.
The decision to increment version number was made because the fix is important. I propose to define version 1.2.3 as stable and assign the tag '1.2.3'. Stub upgrade script was added to make upgrade process to complete without errors.

Looks good to me! Thank you!


Fixing logging in issue

There was an error logging in with the john doe credentials
Changes in :
app/routers/user_routes.py -
if not form_data.username and not form_data.password:
form_data.username =<EMAIL_ADDRESS>form_data.password = "Secure*1234"

View changes in this commit - 8f0a144


feat: Out of the box metrics for resource manager

This adds metrics for resource manager that allows an end user to see what's happening with their go-libp2p application.
This hooks into the existing tracing setup to emit metrics and aggregate them when appropriate.
Possible improvements:

Record limits

Example graphs:
Note the histogram is not rendered correctly in this snapshot. See the screenshot below for how it should look.
https://snapshots-origin.grafana.net/dashboard/snapshot/nDCjmTCnHpmEpXgtcWO7ThEDS7B5DLLn?orgId=2
How the histogram should look like:

I'll see if I can spin up a public ipfs dashboard to demo.

Looking at the dashboard, the p90 values are below the p50 values. That doesn't seem correct, or am I missing something?

Public dashboard: https://ipfs.marcopolo.io/d/MgmGIjjnk/resource-manager?orgId=1

Looking at the dashboard, the p90 values are below the p50 values. That doesn't seem correct, or am I missing something?

Resolved out of band. The aggregated number of peers was misinterpreted. I changed the color to make it more obvious this isn't p50

Can we make sure this is optional, enabled with a constructor option?
We shouldn't be forcing down the throat of developers any metrics solution.

Yep. There's little value to these if they aren't hooked up to an exporter like prometheus.

Note that with regards to UX, this can be easily aggregated in a go-libp2p constructor metrics option, which initializes various components (including the rcmgr) with metrics.

Good idea!

I tried getting exemplars through, but while you can attach an exemplar via opencensus the opencensus prometheus exporter doesn't support emitting it.

(rebased off master to fix conflict)


RestSharp

Please, update RestSharp to the last version!

we use v106.x
System.IO.FileLoadException: 'Could not load file or assembly 'RestSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'


Update README

Checklist:

[ ] I have read and followed the contribution guidelines.
[ ] I have read and followed the how to open a pull request guide.
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


[release/0.12] Add spans and drop large size high volume trace logs

(cherry picked from commit c91d82d2e8c5cad1034f17712391e0c76281e5aa)

Wrong target branch


Fix race condition of cert-manager installation

Separate the CRDs and the rest of the resources from the cert-manager opertator.
The CRDs are in the crds/ chart directory while the operator is built and installed through helm dependencies.
This solves the race condition of having the cert-managers in ready state before installing the kubearchive chart resources.
The crds/ directory should only allocate CRDs and not Services and Deployments.

What about knative-eventing or anything else that's needed or will be needed in the future?

What about knative-eventing or anything else that's needed or will be needed in the future?

Although knative doesn't provide a Helm chart, they do provide the CRDs separated from the rest of the resources needed for the operator, so I just changed the disposition of the resources to add it as a dependency.
I believe we can do this for future dependencies too.