Socket Integration for articles

I am looking for examples to  integrate socket for articles.
i tried a method, could not get complete solution. had an issue which i have posted on stackoverflow. please follow that stack link for details.

@rohitkumarvinay What do you want to use sockets for with articles?

@codydaig i want to update and create articles in realtime. i am able to create them seamlessly, but while updating, the data blinks, refreshes and the updated comes again, when the traffic is high, the entire data set keeps on blinking. i am using the repo by @mleanos. this is the link to repo

@mleanos Can you speak more to your specific implementation?

it is a food ordering solution which i am working on, everytime an order(from 'orders' module) has been created from any second computer, the new order created should be pushed to the first computer, which works fine now, but if i update the the same order, the data blinks and comes back up with the updated data on the first computer, when the traffic is high, i.e when the orders are being placed frequently, it keeps on blinking and hence making the data visibility to a very minimal time. i wanted to know if i can seamlessly update data without it blinking. thank for your time

@rohitkumarvinay That makes sense. I was asking for @mleanos's input on how he did that implementation in the branch you referenced but your explanation also helps shed more light.
From the sounds of it though, it seems like the page is updating too frequently. So, I would pout checks in and only update the data on the page that needs updating versus updating all the data.

Thanks @codydaig, i am also trying on the same, still am unsuccessful.

@mleanos Please help me solve this issue. thanks

@rohitkumarvinay What does your client-side listener for the "orderUpdateSuccess" Socket event look like?
If you're using the exact implementation I have provided, then your problem probably lies with this line: https://github.com/mleanos/mean/blob/SocketIO-Config-CRUD/modules/articles/client/controllers/list-articles.client.controller.js#L34
Anytime an article is updated, the controller will fetch the list of Articles from the server; thus, you will see it as a reload. The Socket event that you're emitting on a successful update is sending the article back to the client. You can find that particular Article in vm.articles and update it.
To do this you'll need to find the index & then set that array element to the updated Article returned from the Socket event.

@mleanos  i am using the exact implementation you provided. I tried different solutions, proved in-effective. could you tell me how exactly i can proceed to do so. thanks

In your Orders list client controller, you should have vm.orders in scope. You should also have a listener registered with the SocketIO client for your "orderUpdateSuccess" event that's emitted from the Socket server config routine.
In your "orderUpdateSuccess" listener (client-side) you need to search vm.orders to find the index of the Order that has been updated. If you find the index, then do something like vm.orders[indexOfUpdatedOrder] = order; order being the data sent from the Socket server event to your listener. My example is sending this data back too, so you should be using it in your listener signature.
If you don't find the Order for some reason, then you can just add it to vm.orders using unshift, just like you're probably doing when a new Order is added.
This should be enough info for you to solve this issue; I can update my branch to use this methodology but I probably won't get to it anytime soon. If you need further assistance, message me on Gitter & I'll be more than happy to go over it with you. However, please try to solve this yourself with the guidance that I gave here.
My SocketIO-Config-CRUD branch was meant as an example & to be mere starting point; that's why this limitation was not fully thought out. Feel free to submit a PR to that branch if you'd like to contribute, and when similar issues arise it might be more appropriate to open on issue with the fork that it specifically pertains to; since this issue isn't relevant to the MEANJS framework.

@mleanos  i tried the same method you had followed for orderCreateSuccess, it works. i used the below inside orderUpdateSuccess
if ($scope.orders) {
        $scope.orders.unshift(response.data);
      }

Does this add a new instance of the Order to your list? Or does it update the existing Order? From my understanding of the unshift method, it would add a new instance & now you would have duplicate Orders in your list.

No there are no duplicates, it updates the existing order.

You might want to verify that is the case. I don't see how that's possible with the unshift method.
I'm closing this issue since it appears that the cause of your issue has been identified. But feel free to continue the discussion here.

Another point about the unshift.. try updating an Order that is on the top of the list your viewing. This should illustrate my point.

i have been updating the order on top of my list, also i tried creating a new Order and updating that as well, seems to work fine, if i come up with issues, will update it here. Thanks again


Share within organization

This PR fixes #8688 and #8701

cc @xavijam

hey @nobuti just in case. @josecruz is about to finish the new version of this together with the share options. yay!

Things we have talked:

List of shared users should appear below the privacy options (waiting for design to confirm it again).
After an update happens, we should add/remove/edit the information close to the privacy tag about the shared people.

Well, and more things. We are trying to unifty the privacy, share with
colleages and share links on the same modal
On Jul 15 2016, at 5:32 pm, Javier Álvarez Medina
<EMAIL_ADDRESS>wrote:

Things we have talked:

List of shared users should appear below the privacy options (waiting
for design to confirm it again).

After an update happens, we should add/remove/edit the information close
to the privacy tag about the shared people.

—
You are receiving this because you commented.
Reply to this email directly, view it on
GitHub,
or [mute the thread](https://github.com/notifications/unsubscribe-
auth/AAIENcKgdezRu6wqPWaoj84CoiiYi1mfks5qV6gigaJpZM4JNdlY).![](https://github.com/notifications/beacon/AAIENd0CVbvhuxIWQYSMeL
--6kNkSydfks5qV6gigaJpZM4JNdlY.gif)

Almost there. Only some clean up and fine tune styles left. I'll deploy it to staging tomorrow.

This is ready for code review @xavijam

[ ] Deactivate button once the user has updated
[ ] Update the dashboard to open this new modal
[ ] Put some air between the button and the dialog in the dropdown: ~ $baseSize
[ ] Double check the styles of share inner view when is single mode
[ ] Double check the sharing behaviour

[ ] Update privacy button padding to 4px, and separation between arrow and text 2px:

[ ] Due the drop shadow was a test for redesigning the modals, I would keep the current style of it (the border-bottom property):

[ ] Add font-weight: 400 so it can be properly read

[ ] Also, when choosing someone to share, once you exit the modal and you enter again, it should show the shared people on top of the list

/cc @piensaenpixel

one thing, we are not using arrows in any dropdown, why here?
cc @urbanphes @saleiva

I think we should avoid to use this kind of elements. (chevron) on dropdown because in all Interface we don't use.

I've found a trouble. The dashboard uses legacy code, with old models and data structure. The new model requires some objects not present there. In order to throw the new modal from the dashboard we need to replicate the functionality of a lot of components using the legacy base code, not sure if there is a better approach @xavijam?

For the shake of simplicity, I'd remove that functionality from the dashboard. So no privacy or share options from maps/datasets lists.
How does that sound? @xavijam @nobuti ?

I've removed the privacy option from the dashboard. Only a couple things left:

Chevron, should I get rid of it? @josecruz @saleiva
CR

Yep @nobuti we're removing the chevron
Just two more things:
Non-org users:
We're going to remove the CTA to upgrade from the cards and showing it on the footer (show always)

Also when changing the privacy the unavailable options should have another aspect, kind of this:

I would remove the "user avatar" as well due you cannot share with your colleagues:

@nobuti, couldn't we leave (no changes) the things we already have in the dashboard?

@xavijam oh I thought we wanted to remove it. Reverting then.

Better to have the possibility to change it although it doesn't have the same look and feel than in the builder.

That would be maintaining more code... up to you!
2016-07-27 13:18 GMT+02:00 Javier Álvarez Medina<EMAIL_ADDRESS>
Better to have the possibility to change it although it doesn't have the
same look and feel than in the builder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/pull/8915#issuecomment-235557075, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIENdKP2gka4Q9SADUHEv0tNhpv478pks5qZz53gaJpZM4JNdlY
.

--
Sergio Alvarez Leiva

It has worked since last year, I don't expect any issue with that. It is true that we will need to revisit it at any point when we update the dashboard, but that's another story.

oook!
2016-07-27 13:31 GMT+02:00 Javier Álvarez Medina<EMAIL_ADDRESS>
It has worked since last year, I don't expect any issue with that. It is
true that we will need to revisit it at any point when we update the
dashboard, but that's another story.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/pull/8915#issuecomment-235559405, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIENYry-Ou3EKzfGRqJ1AJ09iCqyjCgks5qZ0GJgaJpZM4JNdlY
.

--
Sergio Alvarez Leiva

Ready for review.

@piensaenpixel, could you help me with style changes?

@xavijam i'm working on this now

:whip:

In my opinion, if dataset/map is not shared with anyone, number of shared should not appear:

And if the thing is shared with the whole company, I'll show something especial, like [ORG], what do you think @josecruz ?

Hey, groups permission are still missing. Groups are listed in the modal, but clicking on the toggle doesn't send a request.

@josecruz do you have a design including groups?

Merged #9166 which should fix the errors after changing the permissions.
Also a minor note, now that we call the permissions endpoint just after clicking the endpoint: that endpoint sends an email warning of the visualization being shared/unshared. Should not be a problem, but this can increase the number of email sent in case of mistakes. Minor consideration nonetheless.

[ ] Avoid showing avatar + number when there is no sharing people.
[ ] Add "Add people" in the editor header in the same scenario as above

does that "add people" thing appear when user doesn't belong to an organization?

BTW, a bit difficult to review 109 files (until now), but tested locally and in staging and looks&works great, only pending design things, but we could tackle them in another issue.
Thanks @javitonino for taking care of the vizjson3 bug 💋 .

Sorry about that, a lot of files moved to unify both views :(

Nah, don't worry, it is fine ❤

I've just pushed a small CSS fix.
I only found one thing

if I share with all the organization only display my avatar +1. Take a look the GIF


fix: analyze jsdoc import declarations

For https://github.com/denoland/deno/issues/25516

Thanks for this, @dsherret!


[test] Set pmpaddr0 to match the entire address space

From riscv-privileged-20211203.pdf:

So if pmpaddr0 is all 1s, we're covering a $2^{\text{XLEN}+3}$-byte range. Does it make sense to cover $2^{35}$ bytes?

So if pmpaddr0 is all 1s, we're covering a 2XLEN+3-byte range. Does it make sense to cover 235 bytes?

I think so, because PMP supports a 34-bit physical address space and this unlocks the entire address space (regardless of virtual memory configuration):


fix: gofmt error.

as title.

Codecov Report

Merging #873 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #873      +/-   ##
==========================================
- Coverage   53.28%   53.27%   -0.02%
==========================================
  Files          39       39
  Lines        7450     7450
==========================================
- Hits         3970     3969       -1
  Misses       2977     2977
- Partials      503      504       +1

Impacted Files
Coverage Δ

xorm.go
64.06% <0%> (-1.57%)
:arrow_down:

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 b8dec64...baa5349. Read the comment docs.


Received tokens not spendable until reimport

Steps to reproduce:

Create a new account

Fund the account (Testnet faucet, Transak?, external transaction)

Switch to the Home tab and then back to the Wallet tab to refresh the balance so that the new balance is shown

Try to send the tokens in the Wallet screen, the "Insufficient balance" error is shown

Also, if you toggle between the accounts, the old balance is still there in the select dialog

Hm, https://github.com/oasisprotocol/oasis-wallet-web/pull/1692 and its e2e test missed something


Update Composer dependencies (2021-08-19-00-09)

Visual regression test passed!
View the visual regression test report


Object Representation of Types

Convert nix type string to Type object

Fixed in https://github.com/nix-gui/nix-gui/pull/105


Explain dev's need to manage SPA version

Work with @javiercn on verbiage that .NET doesn't update SPA framework version in servicing releases, the developer must do that.

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

ID: c1ffb8e1-215c-c148-0b28-da0d62665fa4
Version Independent ID: c1ffb8e1-215c-c148-0b28-da0d62665fa4
Content: Overview of Single Page Applications (SPA) in ASP.NET Core
Content Source: aspnetcore/client-side/spa/intro.md
Product: aspnet-core
Technology: aspnetcore-clientside
GitHub Login: @Rick-Anderson
Microsoft Alias: jacalvar

Associated WorkItem - 61175

Thanks @Rick-Anderson.
I'm working on this internally and will get back on this with updates as necessary. Let's mark this as blocked for now and assign it to me.

@Rick-Anderson I think this should be closed now, as you've merged another PR: https://github.com/dotnet/AspNetCore.Docs/pull/28345


fix fix truncate table transaction exceeding limit

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


[master] Adding password to the list of possible info

Codecov Report

Merging #727 (e5d13b3) into master (89939e3) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
+ Coverage   75.18%   75.19%   +0.01%
==========================================
  Files         126      126
  Lines       11455    11456       +1
==========================================
+ Hits         8612     8614       +2
+ Misses       2843     2842       -1

Impacted Files
Coverage Δ

assemblyline/odm/models/tagging.py
99.48% <100.00%> (+<0.01%)
:arrow_up:

assemblyline/common/exceptions.py
85.71% <0.00%> (-2.39%)
:arrow_down:

assemblyline/filestore/__init__.py
83.88% <0.00%> (-1.67%)
:arrow_down:

assemblyline/odm/randomizer.py
95.25% <0.00%> (+1.72%)
:arrow_up:

assemblyline/datasource/alert.py
92.30% <0.00%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


Update a few items in User Guide

This PR contains updates items "Creating an annotation task", "Automatic annotation" and "Menu button".
Also updated image005, image007_detrac, image051, image123, image124, image125, image126 and image133.
The update plan is described in #2216 .
Motivation and context

Fixes issue #2213
How has this been tested?

N/A
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage remained the same at 65.311% when pulling 75671223f2f9cb151169330ec26f0cadce8f256b on TOsmanov:UG-update-item-Automatic-annotation into b215f0484023f21c313febc62bcac8f1915be552 on openvinotoolkit:develop.


Suggestion to Events page

https://www.loom.com/share/b6e60e94b24d4206ae7c2a24a9ebd35f

fix dropdown not closing
removed ticket on header
add image to event page (following figma)
add tabs to event page (following figma)

also working on mobile


fix(docs): Fill README.md and add go.doc documentation

@dbmtv why did you close this MR? We could push part of this PR and second part of yours. I dont see a reason why to use single PR. Please reconsider the first 5 commits from your new PR to be approved and pushed as this PR.
Thanks


Hidden in the Exchange GAL also hides from AA Directory Search

It should be Noted that is a user is Hidden from the Exchange GAL, they are also hidden from the Teams Auto Attendant "Dial by name/extension" functionality.  I spent a week with a cx troubleshooting why a certain user wasn't reachable by their extension.  Even opened up a premier support case, and spent a couple days with them before having an epiphany to ask if the user was hidden from the Exchange GAL.  They were, and shortly after unhiding her, which they don't know why she was even hidden in the first place, it started to work.
MS Support were also unaware:  TrackingID#2307070010002721

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

ID: 016be911-545f-28e4-97d2-549f1078a196
Version Independent ID: 9021aad0-83c0-1173-01ae-6cc68217e8d4
Content: Auto attendant and Call queue dialing and voice recognition reference - Microsoft Teams
Content Source: Teams/dial-voice-reference.md
Service: msteams
GitHub Login: @DaniEASmith
Microsoft Alias: danismith

Hello @Korbyn72
How are you?
I see it is documented here https://learn.microsoft.com/en-us/MicrosoftTeams/create-a-phone-system-auto-attendant?WT.mc_id=TeamsAdminCenterCSH&tabs=dial-scope

If a user is in both lists or if they are hidden from the Exchange GAL, they are excluded from the directory.

I see it there now that you point it out, page looks like it was updated June 27, 2023.  However, it really should be on the https://learn.microsoft.com/en-us/microsoftteams/dial-voice-reference page.  Having been deploying Teams AA/CQ's for the last 4-5 years, changes/developments should be on the reference page more so then Step 5 of the the deployment steps.


/swin-the-piggy/ Create inscriptions.json

belongs to pr #1547 by @goldenpixelart

closing pr. reason: copied inscriptions.json to pr #1547


feat(title): add large iOS toolbar title

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: https://github.com/ionic-team/ionic/issues/16885
What is the new behavior?

Adds the iOS 11 header design.
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

So how do I implement the large toolbar looking through the merge i cant seem to find how to enable it

See https://ionicframework.com/docs/api/title#collapsible-large-titles

I'm having an issue utilizing this new feature with header colors.
<ion-header>
  <ion-toolbar id="collapsedToolbar" color="primary">
    <ion-buttons slot="start" collapse="true">
      <ion-back-button
              [text]="'Back'"
              [icon]="'arrow-back'">
      </ion-back-button>
    </ion-buttons>
    <ion-title>
      add a task ✏
    </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <ion-header collapse="condense">
    <ion-toolbar color="primary">
      <ion-buttons slot="start" collapse="true">
        <ion-back-button
                [text]="''"
                [icon]="'arrow-back'">
        </ion-back-button>
      </ion-buttons>
      <ion-title size="large">
        add a task ✏
      </ion-title>
    </ion-toolbar>
  </ion-header>
// Rest of irrelevant code here
<ion-content>

This displays a toolbar with a correctly colored header in the content, but the collapsed header does not have this color: https://imgur.com/a/zAdA1rn
Note: I'm using the new Ionic Dark Mode feature as well. I noticed that the error was the same even without dark mode enabled.

I had to add this inside the  class .ios body.dark to get the header color to come out right in dark mode

.header-ios {
    background-color: #0d0d0d;
}

@mutatedplague That solution appears to work for dark mode, but if I want things to be able to transition automatically from dark to light mode, would that still work?

It works on my end as long as you have it inside .ios body.dark

This is a known issue, and we are currently working on a fix for this 👍

@liamdebeasi Thank you!
Is there any current way to add a back button to this type of header or is that in the works as well?


.eth domains

.ens domains? Because eth does not have domains.

REGISTERING ENS NAMES

ENS launched on mainnet on May 4, 2017. At launch, ENS features an automated registrar that allows anyone to register names ending in ".eth"

https://ens.domains/

Oh, i see


grid filling works poorly in firefox

issues i noticed:

the cursor has some sort of offset error (it's way to the left of the square)
hitting left/right/up/down arrows briefly copies the last entered letter where the cursor is

thanks, will look!

What's the firefox version and device and what's the exolve version? (If you click on "Report bug" from an exolve-rendered grid it should pre-populate all this I think)
On my phone, firefox does show an issue different from what you found, but seems otherwise OK. On my linux laptop, firefox seems OK.

Version: exolve v0.13 July 29 2019, User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Hmm, I downloaded Firefox 68 on my laptop and it works fine in that. Can you please try opening one of my files and see if there is any difference? For example, try https://viresh-ratnakar.github.io/gussalufz-13-unsolved.html
Otherwise I'll swing by in person at some point to take a look.

your link worked fine, must have been an issue with the file!


FR: Oauth option instead of API key

Is your feature request related to a problem? Please describe.
I would like to use alchemy node directly from a frontend without exposing an API key. Using an access token for the auth could resolve this problem.
Describe the solution you'd like
Implementing Oauth on the alchemy node & provide a way to configure it in the sdk.
The admin would configure the oauth in his alchemy dashboard. The user would login using an openid flow, then the access token would be pass to every call to the node and be authorized
Describe alternatives you've considered
I consider using the alchemy on the backend but that means a lot of useless relay between front and back.
Also considered using a proxy in front of the alchemy node but then the sdk can't be use anymore (still need to pass the api key)

@mvanmeerbeck This is something we are currently considering on our roadmap.


Building and running locally

Hi
I've checkout the current code base and I am running
npm install and npm start
However, I am getting a series of errors like this:
ERROR in ./packages/tiptap-commands/src/index.js Module not found: Error: Can't resolve 'prosemirror-commands' in '/Users/pedro/Projects/tiptap-master/packages/tiptap-commands/src'  @ ./packages/tiptap-commands/src/index.js 1:0-369 9:0-13:69 9:0-13:69 9:0-13:69 9:0-13:69 9:0-13:69 9:0-13:69 9:0-13:69 9:0-13:69 9:0
What's the correct way of building and running locally?
Thank you

Hey @pdiveris! Which node version are you using?

node v6.11.5
and
npm 6.4.1

Hey, there is a problem for npm users at the moment. I‘ve used yarn for local development with a feature called workspaces. At the moment there is no equivalent for npm.
So you can do yarn install and yarn start.

OK, will give it a go, thanks. It's about time I delve into yarn anyway..

I think you'll need node support for imports anyway (with yarn or npm), whichs comes with 8 or 9, not sure. Seems like it's running on my machine with Node v10 and npm.

I can confirm that this works with yarn and node 10.x so I'll close this issue.

Nice! Thanks, @pdiveris!


net: icmpv4: Set the ICMPv4 header correctly

The code did not check if the icmpv4 header struct is already
pointing to net_buf or not. This meant that the code did not
set the ICMPv4 options and types correctly.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

@finikorg This should fix your ping issues with netusb.

Codecov Report

Merging #8751 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #8751   +/-   ##
=======================================
  Coverage   52.36%   52.36%
=======================================
  Files         195      195
  Lines       24711    24711
  Branches     5135     5135
=======================================
  Hits        12940    12940
  Misses       9698     9698
  Partials     2073     2073

Impacted Files
Coverage Δ

subsys/net/ip/icmpv4.c
41.21% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update donut.py

When the donut was dipping down , the last line of it was getting printed at the top , so I added a variable height and increased it from 22 to 24 , and it seems to work fine now , and also added some comments to better understand the code
ss.txt

Ok looks good, I will merge it in, thx


Introduce search users by attribute with paging ability

Added new service method for users search with paging ability and restriction to maximum number of entities to return.

LGTM


Added action to update Urban Airship configuration values

Add support for modifying Urban Airship configuration plist values

Thank you for your contribution, this is great 👍 The tests are failing (see comment above). Also please make it more clear on what the action is useful for

@KrauseFx should be good now

Perfect, thanks @kcharwood 👍


Select component: overflowing items

Items shouldnt overflow - overflowing text should be truncated with ellipsis

:tada: This issue has been resolved in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Try to add windows support

for #17

using the inquirer library for terminal menu on windows giving similar experience (up, down, enter)
disabled the save history feature on windows which doesn't work (i think its possible but ill work on it in separate pr)
replaced specific commands like ls and pwd with os.listdir and os.getcwd

I have tried to make it so that normal linux users won't notice any difference but I can't be certain.

@EdwardTheLegend This is fantastic!!! Merging and pushing out as new pip package!
We did some more minor code edits after you made this PR, I don't have a windows machine to test if this all works in windows still, can you confirm the new pip package works for you?

Pip package version 1.2 is with your new code!
https://pypi.org/project/terminal-copilot/1.2.0/


Error TypeError: plugin.apply is not a function

I'm trying to use markdown-it-image-size 13.1.1 with markdown-it 13.0.1 and I get this error, whatever code I write: TypeError: plugin.apply is not a function
This is a simple example:
const MarkdownIt = require("markdown-it");
const MarkdownItImageSize = require("markdown-it-image-size");

const md = new MarkdownIt();
md.use(MarkdownItImageSize);

let result = md.render(`# markdown-it rulezz!

![](image.jpg)

`);

console.log(result);

Here's the error log:
node_modules/markdown-it/lib/index.js:497
  plugin.apply(plugin, args);
         ^

TypeError: plugin.apply is not a function
    at MarkdownIt.use (node_modules/markdown-it/lib/index.js:497:10)
    at Object.<anonymous> (index.js:5:4)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Node.js v18.12.1

Thanks for creating the issue! I'll look into it as soon as I have some free time ✨

Thanks! 🙏

@boyum I guess there's a typo in your code with a lowercase initial in markdownItImageSize.
But anyway, I get the same error with { MarkdownItImageSize } = require("markdown-it-image-size"); as I did without the curly braces.

No, the exported function is named markdownItImageSize, not MarkdownItImageSize.

But then you use md.use(MarkdownItImageSize); with an uppercase M? 🤔

Ooooh, it works when I use lowercase m everywhere… sorry for not trying it first. 😞

Ah, sorry for updating only the import, not inside use. Great!

@dingshaohua-cn Please continue this conversation in #416.


[WIP] Feature: Improve documentation

[ ] How to install theme on new repo
[ ] How to install theme on a repo with existing posts and other content
[ ] How to upgrade theme from a previous version(s) of Minimal Mistakes
[ ] Edit existing documentation for accuracy
[ ] Create CHANGELOG

Combine with update demo site PR


Cannot set home view when non exists

Fixed by https://github.com/kalisio/kdk/commit/a2589fc566545ffc30e7e3d104ae7ce332157bcb.


[language][diem-framework] refactor artifact generation

This cleans up the code to generate various artifacts, in preparation for the incoming diem-framework-releases crate:

Each pass is now a separate function, whose output path can now be specified as an argument instead of being hard-coded. This will make it easier for us to change the directory layouts and allow the tool to output to different locations in the future, including ones dynamically specified by the user through the command-line.
Some passes run faster now

Script ABI Generation:

60s -> 10s (debug)
6s -> 1s (release)

Script Compilation:

25s -> 3.6s (debug)
3.3s -> 0.5s (release)

/land


constraints: remove limit of two array elements

Adding this as a discussion point relating to #70
Removing this limit would be less painful if done prior to v1.1. It would require a docs note adding for any servers which implement multiple versions to make clear that for the RTP transport type only, more than two legs isn't supported before v1.1.
This would allow a WebSocket Sender to list many connection_uris for different interfaces. The issue of what to do with any parameters which get duplicated between 'legs' as a result remains, but this would at least remove a blocker to some future uses.

Doing some digging in git history this may actually be a spec bug. The restrictions on array sizing were originally removed here, but this case was likely missed: https://github.com/AMWA-TV/nmos-device-connection-management/commit/e6cd9a9745958d0408be68051dfe3c0ddb9e0a59

To be clear, that commit (at v1.0_receiver_transport_params_rtp.json line 170) removed "maxItems": 2 (and there's the same change for senders), but it didn't make the same change in https://github.com/AMWA-TV/nmos-device-connection-management/blob/v1.0.x/APIs/schemas/v1.0-constraints-schema.json. Oops.

We believe this can safely be treated as a fix which can be backported to v1.0. The individual transport types define how the array is used, and the RTP type (which is the only one used at v1.0) clearly defines how the array is used: https://github.com/AMWA-TV/nmos-device-connection-management/blob/v1.0.x/docs/4.1. Behaviour - RTP Transport Type.md#operation-with-smpte-2022-7


lib: introduce socket library

Introduce a new socket module which provides bindings for the BSD sockets API to ucode scripts.
Example usage:
import * as socket from 'socket';

let sk = socket.create(socket.AF_INET, socket.SOCK_STREAM);
sk.connect("<IP_ADDRESS>", 80);
sk.send("GET / HTTP/1.0\r\n\r\n");
print(sk.recv(4096));
sk.close();

PR is WIP yet. The following tasks need to be done yet:

[ ] complete documentation coverage
[ ] portability fixes for macOS, ifdef Linux specific constants etc.
[ ] implement support for sendmsg()/recvmsg() API along with corresponding support for decoding (some) cmsg structs


Added codeview prop without the dist folder

Hey,
Thanks for the feedback. I added the dist folder as when I installed package from my fork, it didn't come with dist files. But I've removed it back, so you can accept my PR and I can start using packgae diretly through npm from you main repo.

Thanks, this will be included in the next release

It seems it was never released to npm @Vnkitaev ?


[master] Fix occlusion effect, add lofi and example scene

Overview
This change fixes a bug in AudioOccluder.cs where the effect would restore the incorrect low pass filter frequency when the original sound source had a preexisting low pass filter attached,
Also renames AudioEmitter->AudioInfuencerManager to be more descriptive of the usage and purpose. Changes made here were to support the AudioOccluder fix.
IAudioInfluencer.cs was modified to simplify the method signatures.
AudioLoFiEffect was added as both a verification of the AudioOccluder fix and as a useful script for experiences wishing to simulate various sound sources (ex: AM radio).
Added Examples scene to demonstrate LoFi and validate the occluder fix.
All-up: improve the source comments / documentation of publics.
Update readme.md to match script names, dependencies and usage/behaviors.
Changes

Fixes: #1825  .

PR feedback addressed. Please re-review this change.
Thanks!

@SimonDarksideJ. @StephenHodgson requested changes addressed. Can you plz revisit? Thx!

@StephenHodgson. yes they will be submitted to dev this week. I just need to fix the namespace and rename AudioEmitter first


Make it clearer whether units are seconds or minutes in config

It's not clear in the config file whether the units are seconds or minutes for each setting.
For example: TIME_DIFFERENCE states that it's minutes in the comment but RECHECK_INTERVAL doesn't.

Because recheck interval is not a time unit it says how many times the Prices are checked.
Time differnce 2 minutes
Recheck 120
This results in pricecheck (if TP or SL is reached) every second.


Pipeline of Parallels vs Parallel of Pipelines for Unrolling

Not sure if this is something we ever talked about or thought about already.
High level summary is that we currently unroll into a Pipeline of Parallels and I think in at least some cases, performance would be better if we unrolled into a Parallel of Pipelines.
For example:
Foreach(N by ts par 2){ i =>
  sram load dram
  Foreach(...){j => /*process sram*/
}

Since this unrolls into a Parallel with the two loads, who is a sibling with the Parallel with the processing controller, the two loads are equally congested every time they execute.  If we were to unroll this into a Parallel where each child is a pipe with a load and a process stage, there would be initial congestion but then the two unrolled bodies will be dephased and should have less congestion.
I guess this could be fixed implicitly if we go to token based control, or do we still have the same hierarchy implicitly embedded in it?  I haven't yet looked yet to see how hard it would be to modify the unroller to have the option to unroll the new way.

Some initial thoughts:
If I remember correctly, the banking logic currently assumes that a single stage within a metapipeline always completes together, even after outer loop parallelization, hence the synchs in the form of explicit Parallels.
I think the token based control is the ideal case, as things flow more smoothly in general for control. It think it does, however, make the order of execution slightly harder to reason about, especially when there are data-dependent conditionals, which could in turn make things like broadcasting across outer loops harder to guarantee safe.

I expanded the definition and usages of lockstep before unrolling.  Maybe I need to think about it more, but it seems like we can still do the pre-unrolling analyses correctly as long as these lockstep rules are updated and are correct for this situation.
If moving to token-based control means treating everything like a stream controller, I can see how it would be very hard to reason about broadcasting and banking.  If its possible to start by making the token passing match the same control flow rules as the current hierarchical scheme, I think it could be a more gentle transition and potentially it would be easy to maintain both truly token-based control and normal (current) control implemented-with-tokens™.  We would be able to at least share all the templates this way and save ourselves from crazy debug messes.
So without committing myself to any massive overhauls just yet, I think we may be able to try moving to token-based control independently of trying to do Pipe of Pars -> Par of Pipes unrolling.

I'm going to mark this one as completed now.  There is now a --pom flag to unroll all outer controllers as POM (parallel of metapipes).  The default has been metapipe of parallels, and there is also a --mop flag to be sure.  You can also annotate controllers with Pipe.MOP.Foreach and Pipe.POM.Foreach which will override the --pom/mop flag for that specific controller.
The thing that is missing is that this only works for Foreach controllers.  It is harder to do Reduce and MemReduce as pom because they need synchronization between all of the unrolled lanes.  The easy solution is to just convert them into stream controllers with ~2 or 4 elements in the communication fifos, but it feels morally wrong rewrite metapipes as stream controllers inside the compiler.  For now you can just rewrite Reduce and MemReduce as Stream controllers and do the pom unrolling yourself.
Incidentally, I noticed that the lockstep check was assuming pom (it was looking at the cchains of all sibling controllers even if the parent is going to be unrolled).  This is fixed now and does the correct thing for pom and mop.  There were also some other things I fixed with broadcasting (see BroadcastStressTest app).
Overall it seems like every app in our regression that has the opportunity to POM is a little or a lot faster, but I imagine there are some industrial apps not part of our set that will benefit a lot.  If there are no tile transfers, then there is at least a little bit of control flow overhead cut out.  If there are tile transfers, they will dephase and automatically organize themselves to minimize congestoin.  Not sure how it impacts area though.  I assume that apps with good broadcasting opportunities will use the same area as before under pom but will use less under mop now that the thing I mentioned is fixed.


Dependency to "musl" on Linux undocumented

On Ubuntu 18.04 there is a dependency to musl. Install with;
sudo apt install musl

The symptom is very confusing for those not familiar with dynamic loading and loaders;
> ls /home/userid/go/bin/deepcopy-gen
/home/userid/go/bin/deepcopy-gen*
> /home/userid/go/bin/deepcopy-gen -h
bash: /home/userid/go/bin/deepcopy-gen: No such file or directory

The file is there but when you run it bash says that it isn't. It it the musl loader that is missing.

Could you say more?  I don’t quite follow.

To build on Ubuntu the "deepcopy-gen" is (built and?) used in the process. But it is built towards "musl", the libc used by "Alpine", probably in some docker container (I don't know). The point is that building NSM fails since " deepcopy-gen" is called by the build tools, and fails.
So it is not NSM that really has a dependency to "musl" but it must be installed on Ubuntu to make the build process work.

Ah... OK... I just tried to build on fresh ubuntu xenial container and did not hit a musl dependency....
That said... I hit things that could easily cause problems (which might eventually end in the musl issue if one were persistent).
So... a couple of questions...
What version of Go do you have:
go version

I ask because doing apt-get golang installs golang 1.6.2 ... well pre-vendor support, and we do use vendor support.
Did you try to install deepcopy-gen with
go install ./vendor/k8s.io/code-generator/cmd/deepcopy-gen/

or with
go get k8s.io/code-generator/cmd/deepcopy-gen

Note: the former is how we do it in CI... but our docs should be updated to reflect that.  You seem diligent enough you might have gone and looked at the .circleci/config.yml and figured that bit out, which is why I'm asking :)
I appreciate your patience and diligence on all of this... it will result in updates to our docs which will hopefully help others... your issue is interesting and I'd like to get to the bottom of it :)

@uablrek Does this docs update on build instructions help:
https://github.com/ligato/networkservicemesh-site/pull/60

You are right, when I build deepcopy-gen as you suggest it builds with the standard libc and works fine.
I don't know why I got this problem. I built just by pasting your build instructions and checked the date on $GOPATH/bin/deepcopy-gen to see if it was build at the time I tried to build NSM, and it was.
Anyway I got around it anyway since I have seen loader problems before, but I remember my total confusion the first time so I thought an issue was in place to save others from that.
But I now updated and re-built from scratch (I hope) and did not get the problem so I close this issue.
If some one else encounters it you know what they talk about at least.
Thanks for your time.

@uablrek Thank you for reporting the issue.  We want folks to have the simplest possible experience, so if something is hard, we want to fix it.


Issue with k8s.io/docs/tasks/tools/install-kubectl/

This is a...

[ ] Feature Request
[ ] Bug Report

Problem:
Proposed Solution:
Page to Update:
https://kubernetes.io/...

/triage needs-information
@Murillosan00 , there's nothing in this issue beside the page. Could you explain in detail what the problem is - or close this, please?

Since there has been no update on this, I'm closing it.
@Murillosan00, feel free to reopen and update or open another issue.
/close


v-bind not a sufficient replacement for v-attr

The v-attr directive used to allow you to pass an object like {class: 'form-control', min: 3}. For example...
<input type="text" v-attr="aforementionedObject">

would render...
<input type="text" class="form-control" min="3">

Now, using the new v-bind attribute in v1.0 would result in the following output.
<input type="text" null="[object Object]">

Is there a new way to mass-assign attributes to a DOM element using the v-bind attribute?

v1.0 style
<input type="text" v-bind:class="myClass"  v-bind:min="myMin">

or
<input type="text" :class="myClass"  :min="myMin">

I'm aware of this format, however I need the ability to pass a dynamic object to the directive. We're building a form-builder.

you should be able to simulate the same behaviour with a directive that add the bindings. Thought I am not sure this is the best...

I'm had the same issue moving from ~0.12 to v1
We have unknown attribute keys being passed and can no longer attach the object to v-attr, and v-bind only works if we know what the keys are.
I think we need a special directive for v-bind much like class & style:
v-bind:attr
If it only accepts an object then we could pass any unknown attributes to it and have them output on the element.
Not sure about others, or if it makes a great difference to the way its built, but in the cases I currently have it wouldn't need to track the state of the object it outputs as attributes as they are static.

Temporary solution:

Grab the old v-attr source from here.
Remove the "priority" option (not necessary)
Add deep: true to the object.
Register it as a custom directive where necessary.

Seems to work well enough for me, but I still think it should be supported.

version^1.0.2 supports object binding for v-bind="attrs" now, you can check from the commit  d9fa2b47b1be9e06e3f0c28c5bfe768d053e9f76

Works well for me, it isn't "reactive" but that's fine for the cases where I currently need this feature.
@yyx990803 Thank you

@theGC ah, it should be reactive. That will be the case in next patch.

@yyx990803 I was testing in 1.0.3 if that helps... http://jsfiddle.net/thebigsurf/vs0sh7b0/


Add ability to update template binary sensors after a timeout

Description:
This adds an update_interval parameter to the template binary sensor, allowing to force re-evaluation of the template and update of the sensor even if the entities in entity_ids have not been updated.
Why would one want that? I have some sensors that report values via mqtt, but which hang sometimes (still debugging that…) I want to be alerted (via the alert component) when the last update was more than 10 minutes ago. Obviously I cannot currently do that with the template binary sensor. See the corresponding documentation PR linked below for an example.
I could probably have achieved something similar with an automation that triggers on time changes and has a corresponding condition, but I think this should also be possible to do this with a template binary sensor.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#3294
Example entry for configuration.yaml (if applicable):
binary_sensor:
  - platform: template
    sensors:
      datastream_broken:
        value_template: "{{ as_timestamp(now()) - as_timestamp(states.sensor.some_mqtt_sensor.last_changed) > 600"
        update_interval:
          minutes: 1

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:
N/A
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

I think you should fix the real problem. That is like a hack and we suggest that all template sensor work in same way. It extract all entity_id from template string and track this.
To solve your problem in correct home-assistant way do follow:

Make a automation that trigger every min or that trigger if a state is 10min in same state.
Now you can send a notify or use input_boolean to change the state.

I think that should also solve your problem: https://github.com/home-assistant/home-assistant/pull/8921#issuecomment-322010434

https://github.com/home-assistant/home-assistant/pull/9273

I'm not entirely certain what #9273 does, but I'll try to read through it. Agreed, this PR was somewhat of a hack.


Add requestListener usage to README

Description
We currently describe using the built-in server and the express middleware, but using this adapter as a request listener is also a valid usage.
Requirements

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

This is described in the documentation (under Using an express app at https://slack.dev/node-slack-sdk/events-api) and briefly touched on in the README. Closing this for now, but if it seems like a mistake feel free to reopen the issue in https://github.com/slackapi/node-slack-sdk


Allow create-genesis-ee dump only before specified block #594

Resolves #594
In create-genesis-ee tool added option --last-block (or shorter -l).
If set, tool will read from dump and write to EE-genesis only operations not after this block.
Option is optional. Default is infinity (write all blocks which are present in dump).
Usage example:
./create-genesis-ee -i /root/golos.transit/build/programs/golosd/witness_node_data_dir/operation_dump -l 1000000

@boostmultifruit, please, connect PR with issue and reference to this PR from issue (add PR #xxx comment). 1st automatically changes issue pipeline when change PR pipeline; 2nd helps to navigate


Updated the --skip-routing-groups parameter to export-config docs

Hi @findneville - thank you for the PR!
Sorry you haven't had a response to this straight forward PR. I'm taking over some of the open issues in the project and will ensure this is merged. I'm going to verify the behaviour of this flag and get back to you on Monday.
Thanks again

Thanks for your patience with this request. I've found someone to ensure this PR is merged. Thank you @mstergianis !


Remove unused ApplicationContext fetch

@vipulnsward Hey, sorry, I accidentally merged it improperly. Can you send another PR?


What language/technology to learn to assist the DSFSI on Covid19ZA?

Hi,
I'm busy using the data on my own side project but wanted to contribute some of my time back to the project to help out.
What tech should I learn to help out?
I saw Go on the API?

Really good question. I would also like to know

We currently Jupyter notebooks using python and the scraper and API are in GO. So for the moment that seems to be the two, we will keep using. Just a note that most of the work on the repo is on the data itself and making sure it's updated accurately. So more time is spent on validation than code.

I think I'll look at the Go then. Could add more functionality or help with that backlog for the API.

We might need some automation when it comes to dealing with NICD and the
current lack of new data.
Also a csv to google sheets sync script would be useful. The dashboard
reads from a copy of the CSVs that are in a google sheet.
On Tue, 24 Mar 2020 at 12:13, Baadier Sydow<EMAIL_ADDRESS>wrote:

I think I'll look at the Go then. Could add more functionality or help
with that backlog for the API.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dsfsi/covid19za/issues/70#issuecomment-603149143, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGME75I36XLTRE53EIPSK3RJCBS3ANCNFSM4LRWSVZQ
.

I'm going to assume you'll want a solution in Go and not something I'm familiar in already like JS?

Use what you are comfortable and experienced in.
Vukosi
http://www.vima.co.za
http://www.twitter.com/vukosi
On Tue, 24 Mar 2020, 12:38 Baadier Sydow<EMAIL_ADDRESS>wrote:

I'm going to assume you'll want a solution in Go and not something I'm
familiar in already like JS?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dsfsi/covid19za/issues/70#issuecomment-603161546, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGME77MJ2D2IHEDBGFVE4TRJCEQ7ANCNFSM4LRWSVZQ
.

Sweet :) Do you have feature requests where I can get more details on whats required for the two you mentioned?

Hi @Baadier-Sydow ,
Issue  #17  looks well detailed - once the current status on it is given maybe you can give it a  try

Will do :)


Exception occurred argument of type 'NoneType' is not iterable

Hi I justed realized it dont grab anymore. since approximately 1 month.
# /usr/bin/python packtPublishingFreeEbook.py -gd
[INFO] - Creating session...
[INFO] - Session created, logged in successfully!
[INFO] - Start grabbing eBook...
[ERROR] - Exception occurred argument of type 'NoneType' is not iterable

Ask me if you need more logs etc.

My bad. I uploaded and it works.


$beforeUpdate precision not the same as migration & seeding

Hi, I've been trying to implement a base model that implements $beforeUpdate methods to set the timestamps based of this doc: https://vincit.github.io/objection.js/recipes/timestamps.html#timestamps. However I noticed that the precision of the timestamps for the $beforeUpdate was not the same as the ones that were set during the migration using timestamps(true, true) or even the one i created with timestamp('created_at', {useTz: true}).defaultTo(knex.fn.now());.
Screenshot:

The top two were automatically updated by objection/postgres when i inserted the record and the bottom one is the one where it was updated by the $beforeUpdate
I tried looking through the implementation of the knex.fn.now() and it seemed to just be Date.now() but when I tried setting this.updated_at = Date.now(), it seems like it just fails silently. I also tried new Date(Date.now()).toISOString() but the precision of that stayed the same as just doing new Date().toISOString()

knex.fn.now() adds an SQL statement that generates the timestamp inside the database. Date.now() has lower precision than the date library inside the db.

@koskimas how do I use knex.fn.now inside the $beforeUpdate? When i do it the same way I did in my seeding, it doesn't seem to update?

@koskimas how do I use knex.fn.now inside the $beforeUpdate? When i do it with knex.fn.now the same way I did in my seeding, it doesn't seem to update?

@koskimas how do I use knex.fn.now inside the $beforeUpdate? When i do it with knex.fn.now the same way I did in my seeding, it doesn't seem to update the timestamp? Or is there some other way I should be doing the $beforeUpdate to get the same level of precision?

I recommend using a database trigger and moving the whole thing to the db side.

What I ended up using:
CREATE OR REPLACE FUNCTION fn_update_updated_at()
RETURNS TRIGGER
LANGUAGE plpgsql AS
'
BEGIN
    NEW.updated_at = now();
    RETURN NEW;
END;
';

DO $$
DECLARE
    t text;
BEGIN
    FOR t IN
        SELECT table_name FROM information_schema.columns WHERE column_name = 'updated_at'
    LOOP
        EXECUTE format('CREATE TRIGGER tr_update_timestamp
                    BEFORE UPDATE ON %I
                    FOR EACH ROW EXECUTE PROCEDURE fn_update_updated_at()', t,t);
    END loop;
END;
$$ language 'plpgsql';

Source: https://stackoverflow.com/questions/34818544/postgresql-how-to-add-multiple-table-for-one-trigger


Docs for TS API?

I am using TS project to modify my source code.
Can you please add docs on TS API?
Thanks :)

Hi! Currently I don't have plan to officially support TS API since napi's overhead is quite high.
However, you can try npm install @ast-grep/napi and the corresponding API is in the TS definition file.
https://github.com/ast-grep/ast-grep/blob/main/crates/napi/index.d.ts


Feature: Hide pCloud from the drives section

What feature or improvement do you think would benefit Files?
Hi, please hide cloud drives from "Drives" group

Thanks
Requirements

Detect and remove PCloud drive in the drive section

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2428
Comments
No response

Thanks for the feedback, Google drive one has already been fixed in the preview version.

@Josh65-2201 @xmha97 can you see if this is resolved in #14084?


Windows edge browser testing

test the website using the Windows Edge web browser and confirm that:

Scrolling is easy
Nav bar works
Hoverable things are tappable
Charts and maps look ok

Edge works!


Littlefs with multicore

Hi, is there a version of the littlefs that might work with dual core microcontrollers?
If I set on both Cores the cache_size, read_size and program_size to value 1, will this force the Littlefs to read and write all the time from/in flash keeping in sync with the littlefs from the other Core? Of course there is also a hw mutex involved to guard against both core writing or both core reading.
Or is it better to put all the buffers into shared memory again protected with a hw locked and keep only one instance of littlefs?
Any other advice? having only one core to handle the FS is not so feasible at this point, we might need to modify the architecture by a lot.

Hi @SavaAlexandru thanks for raising an issue.
This is a fascinating question and one I've played around with. You could imagine it would be quite useful to have a debugger inspect/modify a mounted filesystem.
Unfortunately, it's very tricky:

LittleFS has a concept of "global state", this is information that is calculated at mount time, and kept in the devices RAM. This would need to be kept in-sync between the two cores somehow.

The two cores would also need to communicate who allocates which blocks. Currently LittleFS assumes no one will touch newly-allocated blocks, because, well, it's the only one making modifications to the storage. Free blocks are written to before the filesystem marks them as in use because it reduces the number of writes that are needed in total.

They would also need to signal when a modification has occured, since some operations, such as wear-leveling, risk the second core trying to update a block that has already been deallocated. Doing this without race-conditions may be difficult and probably depends on how storage access is synchronized.

It would be a lot easier if one core is readonly, though you would still need to signal when the storage has become outdated.

Right now the best options I can think of:

Allow only a single core access at a time, requiring a remount when another core wants to take over. If the filesystem is small the overhead of mount may be acceptable (would require profiling).
Limit LittleFS to one core, use a shared ring buffer to send writes/reads from the non-LittleFS core to the other.
Put all of LittleFS's state in the shared memory region (including cache buffers), and use a mutex so only one core mutates it at a time. Since LittleFS has no global state this may actually work, though depends on how much shared memory you have available.


consolidate common logic in DataSynthesis.generate_example

There is a lot of code repetition of common steps in DataSynthesis.generate_example like the API call code or getting the data from response.

made a pr #253


feat: Convert number and boolean values in extra sys props/env vars

Motivation:
System properties and environment variable values are only strings, but number and boolean values can be accepted too since they are straightforward to convert.
Modifications:
When validating extra_system_properties and extra_environment_variables inputs, accept number and boolean values, and convert them to strings.

We discussed this during the internal demo. Simply saves the users from having to remember to write a value as, for instance, "42" instead of 42. We could also offer a default way to stringify arrays and objects, but I think the correct way to do that in a sys prop/env var is a lot more subjective, so I'd rather leave that to the user.


Open Settings if previously denied

If user denies access in system dialog and then tries to use the function that requires permission. ClisterPermissions will not show dialog and return a negative result without interaction.
It is logical in this situation to show the pre-permission dialog and if user tap "Give access" open Settings (UIApplicationOpenSettingsURLString)?
Developer won't have to implement whole opening of UIApplicationOpenSettingsURLString and leave it to ClusterPermissions.

+1
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

+1


Bringing fork up to date

Want to get new Lesson9b files please. Thank you.

Sorry forgot pull requests don't work with this repository.


fix(client-services): use ice config

copilot:all

Current dependencies on/for this PR:

main

PR #3034   👈

This comment was auto-generated by Graphite.


Add alternative tags implementation

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

This PR needs https://github.com/yiisoft/factory/pull/47 for tests to pass.

In this implementation you must manually collect all tagged services. See https://github.com/yiisoft/di/issues/125#issuecomment-645310275

BTW it works out of the box:
$container = new Container([
    'engines' => [
        '__class' => ArrayIterator::class,
        '__construct()' => [
            [Reference::to(Foo::class), Reference::to(Bar::class)],
            0
        ],
    ],
]);

var_dump($container->get('engines'));

@BoShurik the PR was refactored, added support for same syntax and tests as original implementation

Closing in favor of https://github.com/yiisoft/di/pull/144


Formatter: proper multiline array elements indent

Accidental review, sorry.
Really in favor of this change!

A huge thanks for this PR! You are my lifesaver!

@ant-druha is this repo dead?


Utilize inheritance for context menus

This is preparation so we can use a context menu for the leaderboard without introducing immense code duplication. I extracted this from the league PR to make review easier and it is not really tied to the new league leaderboard anyway.

Fixes #2382

I think I fixed all the problems now. The new structure should make it quite easy to add context menus to the players in the replay and custom games tabs.

Apparently codacy changes its mind every commit about long parameter lists...

Yes it changes its mind about what are new issues

I don't know how I managed to break the two failing tests. When I try it out in the client everything gets displayed as it should.

Probably a race condition between the application thread and the test thread. Are you waiting for FX events?


Support push and pull of applications (provisioning/bookmark)

Applications including bookmark applications is static configuration and so makes sense to support push and pulling applications so it can be stored in source control.
See: https://backstage.forgerock.com/docs/idcloud/latest/tenants/self-service-promotions.html#identity-cloud-ui-configuration

An application is a mixture of

Dynamic configuration such as an application object, SAML entity etc
Static configuration such as connector config, mappings etc

These could be included in the config repo with a combination of service-objects, connector-config, oauth2-agents etc, but agreed that it would be convenient to have a specific command to handle as one unit.


Add bindings for Windows Mixed Reality controllers

These bindings are basically copied from the Oculus Touch bindings and adapted for the Windows Mixed Reality controllers. They have been tested to work on Samsung Mixed Reality controllers. By default, clicking on a joystick opens SteamVR menu, so that needs to be turned off from SteamVR settings.

Thank you!


Add some good Technical and non Technical free online courses accessable to everyone

Hey! I wanna work on this issue. Please assign it to me.

Go ahead, contribute well


Allow call init again

Description
I need to socket to call Pusher.init multiple times on same runtime. So I've made some changes to allow it on Android and iOS.
Currently we are using third party library for Pusher which already supports multiple initializations (not at same time).
CHANGELOG

[CHANGED] Allow pusher reinitialization on Android and iOS.

Is there any reason to not allow reinitialization? Our produt really need it.

An alternative solution has been implemented in #80 and is being released in 2.1.0. Thanks for bringing up this use case.


Add options for saving the entire current plot as image.

This is implementation specific. Its better to use any screenshot technique or similar technique and customization to generate a good image export.
Hence closing it.


x/signal: protobuf definitions still use upgrade

Context
https://github.com/celestiaorg/celestia-app/blob/2e49d665b3275e769dfe0371b1ca41e39dc3f5f5/proto/celestia/signal/v1/tx.proto#L12
https://github.com/celestiaorg/celestia-app/blob/2e49d665b3275e769dfe0371b1ca41e39dc3f5f5/proto/celestia/signal/v1/tx.proto#L18
https://github.com/celestiaorg/celestia-app/blob/2e49d665b3275e769dfe0371b1ca41e39dc3f5f5/proto/celestia/signal/v1/query.proto#L14
Problem
The upgrade module was renamed to signal in https://github.com/celestiaorg/celestia-app/pull/3290 but the Protobuf definitions still use upgrade instead of signal. Do we want to rename them? cc: @cmwaters

Yes, good find! I think we should do it now for v2


Do not try to evict node when no available target is present

This prevents the machineController from evicting nodes when no
other undeleted (deletionTimestamp == nil) node is present.
What this PR does / why we need it:
When the machine controller gets requested to delete all nodes it tries to evict all nodes without a suitable target. This blocks the deletion of all nodes until the default 2h timeout.
This PR adds a check to shouldEvict(), if there are machines in non-deleting status (deletionTimestamp == nil) and does not evict otherwise.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #541
Special notes for your reviewer:
Maybe this should be flagged with an option to turn off, if the cluster e.g. has non-machine controller managed nodes (?).
Machines are no longer evicted when all machines are marked for deletion

@mrIncompetent and me discussed this, the approach we want to take is to trigger this when:

All machines have a valid NodeRef to avoid the case that a machine is in the process of being provisioned while we do this
There are no nodes with .Spec.Unschedulable = false (AKA a node that is probably managed outside of the machine-controller and could serve as a scheduling target)

This was resolved in #562, closing
/close


Array-based point-wise access operators for view wrappers

This PR adds array-based inputs for operator() in the view wrappers to allow for easier implementation of space dimension agnostic grid operator kernels.

Codecov Report

Merging #34 (c2e2e19) into master (b826fd0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           master      #34     +/-   ##
=========================================
  Coverage   92.93%   92.93%
=========================================
  Files          43       43
  Lines        4120     3002   -1118
=========================================
- Hits         3829     2790   -1039
+ Misses        291      212     -79

Impacted Files
Coverage Δ

src/Picasso_FieldTypes.hpp
100.00% <ø> (+1.81%)
:arrow_up:

unit_test/tstGridOperator2d.hpp
97.29% <100.00%> (+1.00%)
:arrow_up:

unit_test/tstGridOperator3d.hpp
98.18% <100.00%> (+1.63%)
:arrow_up:

src/Picasso_ParticleList.hpp
60.00% <0.00%> (-16.93%)
:arrow_down:

src/Picasso_ParticleCommunication.hpp
12.00% <0.00%> (-13.00%)
:arrow_down:

unit_test/tstLevelSetRedistance.hpp
87.09% <0.00%> (-12.91%)
:arrow_down:

src/Picasso_UniformMesh.hpp
69.38% <0.00%> (-10.62%)
:arrow_down:

unit_test/tstParticleInit.hpp
93.93% <0.00%> (-6.07%)
:arrow_down:

src/Picasso_InputParser.cpp
89.47% <0.00%> (-2.84%)
:arrow_down:

... and 35 more

Continue to review full report at Codecov.

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

@terwin All comments should be addressed.


Implement concise gen-matching / cross-cleaning in JaggedCandidateArray

Not being addressed in the current PR want to close out a new release.

Just to help myself remembering, this is the description from Jim on how to do gen-reco matching with awkward arrays:
I'd like to show what a combinatoric problem like gen-reco matching involves. Something as common as this should probably get wrapped up as a user-callable function, but here's what it looks like in raw array manipulation.
First, we need some particles to match. I made an incredibly small sample to demonstrate. This is a good technique for getting some machinery working before scaling up to real datasets. On these contrived examples, we know what the answer should be.
gen_pt   = awkward.fromiter([[10.0, 20.0, 30.0],       [],     [40.0, 50.0]])
reco_pt  = awkward.fromiter([[20.2, 10.1, 30.3, 50.5], [50.5], [50.5]])
gen_eta  = awkward.fromiter([[-3.0, -2.0, 2.0],        [],     [-1.0, 1.0]])
reco_eta = awkward.fromiter([[-2.2, -3.3, 2.2, 0.0],   [0.0],  [1.1]])
gen_phi  = awkward.fromiter([[-1.5,  0.0, 1.5],        [],     [0.78, -0.78]])
reco_phi = awkward.fromiter([[ 0.1, -1.4, 1.4, 0.78],  [0.78], [-0.77]])
gen  = uproot_methods.TLorentzVectorArray.from_ptetaphim(gen_pt, gen_eta, gen_phi, 0.2)
reco = uproot_methods.TLorentzVectorArray.from_ptetaphim(reco_pt, reco_eta, reco_phi, 0.2)
The gen and reco are now jagged arrays of TLorentzVector. I set this up so that the first event has one-to-one matches with an extra reco particle and the order is wrong, the second event is empty, and the third event has two gen particles for one reco.
gen
[[TLorentzVector(0.70737, -9.9749, -100.18, 100.68) TLorentzVector(20, 0, -72.537, 75.244) TLorentzVector(2.1221, 29.925, 108.81, 112.87)] [] [TLorentzVector(28.437, 28.131, -47.008, 61.724) TLorentzVector(35.546, -35.164, 58.76, 77.154)]]
reco
[[TLorentzVector(20.099, 2.0166, -90.034, 92.272) TLorentzVector(1.7167, -9.953, -136.73, 137.11) TLorentzVector(5.15, 29.859, 135.05, 138.41) TLorentzVector(35.901, 35.516, 0, 50.5)] [TLorentzVector(35.901, 35.516, 0, 50.5)] [TLorentzVector(36.254, -35.155, 67.45, 84.26)]]
We could cross-join them to get all combinations of gen and reco in the same event, but "cross" without any arguments puts all combinations at the same level of jaggedness, making it hard to do something asymmetric with them, like find the best reco for a given gen.
gen.cross(reco)
[[(TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(20.099, 2.0166, -90.034, 92.272)) (TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(5.15, 29.859, 135.05, 138.41)) ... (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(5.15, 29.859, 135.05, 138.41)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(35.901, 35.516, 0, 50.5))] [] [(TLorentzVector(28.437, 28.131, -47.008, 61.724), TLorentzVector(36.254, -35.155, 67.45, 84.26)) (TLorentzVector(35.546, -35.164, 58.76, 77.154), TLorentzVector(36.254, -35.155, 67.45, 84.26))]]
So "cross" now has a new option: gen.cross(reco, nested=True) increases the jaggedness by one so that all combinations with the same gen particle are in the same list. Instead of [(g1, r1), (g1, r2), (g2, r1), (g2, r2)] in an event, we have [[(g1, r1), (g1, r2)], [(g2, r1), (g2, r2)]].
pairing = gen.cross(reco, nested=True)
[[[(TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(20.099, 2.0166, -90.034, 92.272)) (TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(5.15, 29.859, 135.05, 138.41)) (TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(35.901, 35.516, 0, 50.5))] [(TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(20.099, 2.0166, -90.034, 92.272)) (TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(5.15, 29.859, 135.05, 138.41)) (TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(35.901, 35.516, 0, 50.5))] [(TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(20.099, 2.0166, -90.034, 92.272)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(5.15, 29.859, 135.05, 138.41)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(35.901, 35.516, 0, 50.5))]] [] [[(TLorentzVector(28.437, 28.131, -47.008, 61.724), TLorentzVector(36.254, -35.155, 67.45, 84.26))] [(TLorentzVector(35.546, -35.164, 58.76, 77.154), TLorentzVector(36.254, -35.155, 67.45, 84.26))]]]
As before, we can make function calls at the top level that apply at all levels of depth, keeping the nested array structure. pairing.i0 picks the left of each pairing (the gen particle) and pairing.i1 picks the right of each pairing (the reco particle). We can do gen.delta_r(reco) to get delta_r for all pairs in this structure. This is what we'll use as a "goodness of match" metric.
metric = pairing.i0.delta_r(pairing.i1)
[[[1.7888543819998317 0.31622776601683783 5.953990258641679 3.76807643234582] [0.22360679774997916 1.91049731745428 4.427188724235731 2.146718425877041] [4.427188724235731 6.041522986797286 0.22360679774997916 2.1256528408938276]] [] [[2.6100766272276377] [0.1004987562112092]]]
...which we want to minimize. As a reminder, argmin gives you the local index of the value that minimizes a list as a length-one list or an empty list if empty. Like all reducers (now), it applies at the deepest level of jaggedness.
index_of_minimized = metric.argmin()
[[[1] [0] [2]] [] [[0] [0]]]
This is the right structure to pass an array to select such things by "fancy indexing". Again, you get a length-one list for the minimum and an empty list if the original was empty.
metric[index_of_minimized]
[[[0.31622776601683783] [0.22360679774997916] [0.22360679774997916]] [] [[2.6100766272276377] [0.1004987562112092]]]
Now we can use this to make selections. Comparison operators turn numbers into booleans but maintain structure (as usual). This will be our mask.
passes_cut = (metric[index_of_minimized] < 0.5)
[[[True] [True] [True]] [] [[False] [True]]]
Now, to get the pairing that not only minimizes the metric but also passes the cut, we do fancy indexing and masking: first the fancy index puts the pairings into the same jagged structure (sizes of lists, all the way down in nesting), then the mask matches that structure to say what to keep and what to drop.
best_pairings_that_pass_cut = pairing[index_of_minimized][passes_cut]
[[[(TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(1.7167, -9.953, -136.73, 137.11))] [(TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(20.099, 2.0166, -90.034, 92.272))] [(TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(5.15, 29.859, 135.05, 138.41))]] [] [[] [(TLorentzVector(35.546, -35.164, 58.76, 77.154), TLorentzVector(36.254, -35.155, 67.45, 84.26))]]]
Great! We have the best pairings that pass the cut! That's the answer, except that each gen-reco match is in a length-one list and each failed cut is a length-zero list (same number of lists as we had gen particles, but some gen particles couldn't be matched). Unless we're doing an efficiency study, we no longer care about that information; we need to flatten it. Careful: the list we want to flatten is not axis=0 (events); it's axis=1 (particles). We want a flat list in each event, one for each successful gen-reco match.
genrecos = best_pairings_that_pass_cut.flatten(axis=1)
[[(TLorentzVector(0.70737, -9.9749, -100.18, 100.68), TLorentzVector(1.7167, -9.953, -136.73, 137.11)) (TLorentzVector(20, 0, -72.537, 75.244), TLorentzVector(20.099, 2.0166, -90.034, 92.272)) (TLorentzVector(2.1221, 29.925, 108.81, 112.87), TLorentzVector(5.15, 29.859, 135.05, 138.41))] [] [(TLorentzVector(35.546, -35.164, 58.76, 77.154), TLorentzVector(36.254, -35.155, 67.45, 84.26))]]
The resulting list of pairs is at most as long as the list of gen particles. If we wanted to tag gen particles, we'd have to do that before flattening (where there is exactly one zero-or-one-length list per gen particle).
genrecos.counts
[3 0 1]
gen.counts
[3 0 2]
And you can see that these are the right matches. The above procedure swapped the order of recos to match the gens, dropped the spurious reco in the first event, and had no match to the first of two gens in the third event, so we only see the one that had a match.
genrecos.i0.pt
[[10.0 20.0 30.0] [] [49.99999999999999]]
genrecos.i1.pt
[[10.1 20.2 30.3] [] [50.49999999999999]]
Procedures like this have to be done interactively. You really can't work out the indexing without seeing immediate feedback. This is why Jupyter is so popular, and at some point a sample capable of sub-sample responses is needed. It might even have to be mocked, as in my example above, to have nice round numbers with easy-to-spot differences. Once the ballet of whirling razor blades is set up, however, it can move to a script and run fast.
(Note: for badly matched indexing, you get errors, not wrong answers. If you mock the data, you want uneven sizes of things to be sure you don't have something that accidentally matches indexes.)

First attempt at this is found in the GenJetMatching branch (sorry for not following the branch naming conventions)
https://github.com/CoffeaTeam/fnal-column-analysis-tools/blob/GenJetMatching/fnal_column_analysis_tools/analysis_objects/JaggedCandidateArray.py
A few comments:

There are two functions, match() and argmatch(). Call them with gen.match(reco,0.3) or gen.argmatch(reco), where gen and reco are JaggedCandidateArrays. The match() function will return a mask stating whether any reco particle matched with the gen particle within the (required) deltaR parameter. The argmatch() function will return the indices of the reco particles that matched the gen particles the best.
For match() there is an optional parameter to also require the percent pt difference to be within a given threshold. Note that which particle's pt is in the denominator depends on whether you do gen.match(reco,0.3,0.1) or reco.match(gen,0.3,0.1). Let me know if the order I chose needs to be flipped.
In match() there is a check to make sure the pt of the particles in the denominator is nonzero, otherwise an exception is raised. I could expand this to check for pt =0 values for both sets of objects.
-In argmatch() there is an optional parameter to also apply a delta R cutoff.
@lgray mentioned that it might be nice if there could be a user-defined match criteria. We could add this, or we could rely on the user to first do argmatch() and then perform any additional cuts.
I also implemented a brute force test. Let me know if there is a more sophisticated way to do it.

@areinsvo can you make a PR for that branch?


Can't find bsky-user's in app-

I tried to search through the application for a user with a certain ID: akuuttigeriatri.bsky.social. It was noticed that users can't be found through the application, with browser can be searched using NICK or username.
Some users i can find, usually if account is pretty old - but mainly i dont find them. I have also received some reports that my account pka78.bsky.social can't be found trough app, but you can find trough web-page.
I think this problem could be easily reproduce, just try to find any user that you haven't followed / signed and user doesn't follow you.

can't be found trough app, but you can find trough web-page.

I see the opposite, since the federation (?)
searching for user pfrazee brings me one hit instead of 4, both in Firefox and Chrome on Mac. Version 1.56.0
Searching in iOS finds all 4, Version 1.56.0 (3)

Also experiencing this one seemingly randomly, both via web and android app, though not always both at once. Sometimes, if I search for a user by name or handle they do not appear in search results on either the posts or users tab. If I click on a link either in-app or externally to their profile, the profile loads normally.
This seems to be mitigated somewhat on PC as the "live" search can sometimes find these accounts, but if you actually hit enter and go to the search page they are not found.
Example putting in a full handle and hitting search:

Live search finding the account as I'm typing (but not the search page)

Another example, same situation

Yeah we're working on this. Pretty irritating to be sure

(same as https://github.com/bluesky-social/social-app/issues/715, I think)

I think this can be closed as solved.
I'm not finding basoon, but this must be because the account has been deleted/renamed.
Working fine for me now, also for akuuttigeriatri and isaacyote, the examples from others' posts.

Cool Cool

I don't think this issue is fully resolved, guys :(

I can't find a lot of people I have in that other social network

@jesusib FYI I posted about this here as I'm also not able to find that user in search, and they don't appear in autocomplete either:
https://bsky.app/profile/surfdude29.ispost.ing/post/3l7lmtzc5de2c

@jesusib From the thread above, the explanation as to why the user isn't showing up in search etc is that they don't have a profile record. Profile records have been automatically created when a user signs up in the official app since February 2024.
However, @skaldothor.bsky.social signed up in October 2023 and seems not to have updated their profile since then. The explanation of how they can fix this comes from one of the devs,  @esb.lol:

yeah it's this — our onboarding creates a profile record for users, but folks signing up through other apps or through the API may not have a profile record

they can bump it by editing their display name or other profile info and saving it again, that will get them indexed in search

So for instance, just editing their display name to "skaldothor" would be enough to create a profile record and get them indexed; they don't have to write anything in their bio or upload an avatar.

I tried doing the same. I'm an early BlueSky adopter, and I Edited my Profile, today, multiple times. I still don't seem to show up in people's search.

I tried doing the same. I had friends who were searching for me and couldn't find me. I literally have to share a direct link to my profile in order for them to find me. But I'm not showing up in any searches. I'm an early BlueSky adopter, and I Edited my Profile, today, multiple times. I still don't seem to show up in people's search. Does it take a day for it to get indexed?

if your username is akaimizu on bsky as well, it is showing in search

(Assuming this is correct because of this post, but please correct me if needed)

I tried doing the same. I had friends who were searching for me and couldn't find me. I literally have to share a direct link to my profile in order for them to find me. But I'm not showing up in any searches. I'm an early BlueSky adopter, and I Edited my Profile, today, multiple times. I still don't seem to show up in people's search. Does it take a day for it to get indexed?

if your username is akaimizu on bsky as well, it is showing in search
(Assuming this is correct because of this post, but please correct me if needed)

Thank you. It is showing up now. I guess it really did take time for the indexing to happen.

Hi all, i ve setup handle bluesky settings with my own domain it is vobbatech.com success until update the handle. I already edit my profile, add image for profile and try to create post. But still cant find my user via search fields.


Trusty JDK workaround

A workaround for Trusty-AMD issues with new JDK provider.

Need to get some information about Trusty maintenance before merging.


Semantic tokens help for 1.43.1

Show a notification when semantic tokens are shown the first tome with a link to more information.
For #92740
The forward link points to https://code.visualstudio.com/docs/getstarted/themes#_semantic-highlighting which still needs to be published

The notification only shows up once per window for the very first editor when semantic tokens are applied.
Unless Don't show again is pressed, the notification shows again after a window reload, or a new windows opened.
The notification stays open a while and disappears (part of the notification service). IMO it's better to show it for every new window again, so users get a chance to see it.


Custom local icons are not rendering

I'm experiencing an issue with my local font awesome pro setup.
I'm using Nuxt UI Pro and the issue looks like it's Nuxt Icon related.

As you can see, it doesn't work. @benjamincanac  from Nuxt UI already mentioned me to use the i- syntax: i-fa-light-caret-right. This doesn't work as well...
I'm I doing something wrong?
Context: https://github.com/nuxt/ui/issues/2590

@stijns96 As mentioned in nuxt/ui#2590, this has been fixed in @nuxt/icon already.


Screenshot package stops working when using Google Ads

I have an app in which I have integrated google ads as well as screenshot package to allow users to share a screenshot of a particular widget. Both packages independently work well. But screenshot package stops working if google ads are used.
In screenshot package, one has to wrap any widget with screenshot controller and needs to call capture method on this controller to generate an image or a snapshot of that widget which can then be shared. But load method on BannerAd class is blocking image generation on screenshot package.
Here is my code:
  BannerAd? _bannerAd;

  void _init() {
   // Set up banner ad
   // _bannerAd = ...

      _bannerAd!.load(); // This is the line causing issues
    }
  }

@override
  void initState() {
    super.initState();
    _init();
  }

If I comment out this load method, then the screenshot works fine. Here is the code for screenshot package:
Future<void> _shareScreenshot(BuildContext context) async {
    double pixelRatio = MediaQuery.of(context).devicePixelRatio;
    await controller!
        .capture(
      delay: const Duration(milliseconds: 10),
      pixelRatio: pixelRatio,
    )
        .then(
      (Uint8List? image) async {
        if (image != null) { // This if block will trigger if there is no load method on banner ad
          final directory = await getApplicationDocumentsDirectory();
          final imagePath = await File('${directory.path}/image.png').create();
          await imagePath.writeAsBytes(image);

          await Share.shareFiles([imagePath.path],
              text: 'Some text');
        } else { // Else gets triggered if load is used
          print('Image is null');
        }
      },
    );
  }

Plugin Version
2.3.0
Steps to Reproduce

Integrate
Expected results: Google ads and screenshot working fine
Actual results: Google ads load method breaking something on screenshot package

Hi @chinmaysarupria
To be more precise, please provide the information indicated below:

A completed and minimal reproducible code sample
The output of flutter doctor -v, flutter run -v
Which environment did this issue happen in? (Android/iOS)

Thank you!

Hi @huycozy
Here are the details:

A github repo with a reproducible sample: ads_screenshot
Tested on Android, never tried on iOS
Output of flutter doctor -v:

[✓] Flutter (Channel stable, 3.3.10, on macOS 12.1 21C52 darwin-arm, locale
    en-IN)
    • Flutter version 3.3.10 on channel stable at
      /Users/chinmaysarupria/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (5 days ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/chinmaysarupria/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.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] VS Code (version 1.74.1)
    • VS Code at /Applications/Visual Studio Code 2.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • IN2011 (mobile) • 522b454a • android-arm64  • Android 12 (API 31)
    • macOS (desktop) • macos    • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)    • chrome   • web-javascript • Google Chrome 108.0.5359.98

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I am unable to post output of flutter run -v as it is huge and Github is not allowing to post such large text.

@chinmaysarupria thanks for providing sample code but it doesn't work even with simple Container as below modified sample code:

Sample code
import 'dart:typed_data';
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:screenshot/screenshot.dart';
import 'package:share_plus/share_plus.dart';
import 'package:path_provider/path_provider.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  MobileAds.instance..initialize()..updateRequestConfiguration(
      RequestConfiguration(
        testDeviceIds: <String>[
          '20FB23B5E117EC42488FBC0A024F306F',
        ],
      )
  );
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: const HomeScreen(),
    );
  }
}

class HomeScreen extends StatefulWidget {
  const HomeScreen({super.key});

  @override
  State<HomeScreen> createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  Future<void> _shareScreenshot(
      BuildContext context, ScreenshotController controller) async {
    double pixelRatio = MediaQuery.of(context).devicePixelRatio;
    await controller
        .capture(
      delay: const Duration(milliseconds: 10),
      pixelRatio: pixelRatio,
    )
        .then(
      (Uint8List? image) async {
        if (image != null) {
          final directory = await getApplicationDocumentsDirectory();
          final imagePath = await File('${directory.path}/image.png').create();
          await imagePath.writeAsBytes(image);

          await Share.shareFiles([imagePath.path]);
        }
      },
    );
  }

  bool _isBannerAdReady = false;
  BannerAd? _bannerAd;

  @override
  void initState() {
    super.initState();
    _bannerAd = BannerAd(
      adUnitId: 'ca-app-pub-3940256099942544/6300978111', // test banner id
      size: AdSize.banner,
      request: const AdRequest(),
      listener: BannerAdListener(
        onAdLoaded: (ad) => setState(() {
          _isBannerAdReady = true;
        }),
        onAdFailedToLoad: (ad, error) {
          _isBannerAdReady = false;
          ad.dispose();
        },
      ),
    );

    // If load method is commented out then screenshot package will start working again
    _bannerAd!.load();
  }

  @override
  Widget build(BuildContext context) {
    final ScreenshotController screenshotController = ScreenshotController();
    return Scaffold(
      appBar: AppBar(
        title: const Text('Ads + Screenshot'),
        actions: [
          InkWell(
            onTap: () => _shareScreenshot(context, screenshotController),
            child: const Padding(
              padding: EdgeInsets.all(16.0),
              child: Icon(Icons.share),
            ),
          ),
        ],
      ),
      body: Stack(
        children: [
          SizedBox(
            width: double.infinity,
            child: Screenshot(
              controller: screenshotController,
              child: Card(
                margin: const EdgeInsets.all(32.0),
                child: Padding(
                  padding: const EdgeInsets.all(32.0),
                  child: Column(
                    children: const [
                      Text('Ads + Screenshot'),
                    ],
                  ),
                ),
              ),
            ),
          ),
          Align(
            alignment: Alignment.bottomCenter,
            child: Container(
              color: Colors.red,
              width: double.maxFinite,
              height: 32,
            ),
          ),

          // if (_isBannerAdReady)
          //   Align(
          //     alignment: Alignment.bottomCenter,
          //     child: SizedBox(
          //       width: _bannerAd!.size.width.toDouble(),
          //       height: _bannerAd!.size.height.toDouble(),
          //       child: AdWidget(ad: _bannerAd!),
          //     ),
          //   ),
        ],
      ),
    );
  }
}

Please double-check your implementation. In case it's screenshot package issue, please file a new issue in that repository for better support.

@huycozy Yes, it will not work as the load method is being called. I had also added a comment just above it that if load method is commented out screenshot will work and if it is not then screenshot will stop working.
_bannerAd!.load(); // Simply comment out this line and your code will also start working

@chinmaysarupria I can reproduce this issue on both Android and iOS when running your sample code at ads_screenshot. When commenting out _bannerAd!.load(), the screenshot function works as normal.
Labeling the issue for further insights from the team. Thank you!

@huycozy I was trying a few things to see if it can be resolved. This is what I did: in my code, I was initializing screenshot controller in build method.
Widget build(BuildContext context) {
    final ScreenshotController screenshotController = ScreenshotController();
    ...
}

I moved it outside build method to see what happens:
final ScreenshotController screenshotController = ScreenshotController();

Widget build(BuildContext context) {
    ...
}

and the issue got resolved. Screenshots started working again. I still do not know why it is working this way but this is what I found:

As long as ads load method is not used, screenshot controller can be defined anywhere - inside or outside build method.
But if load method is called, screenshot controller has to be defined outside of the build method only.

We’re closing this issue due to inactivity. If you’re still impacted, please create a new issue via the Developer Forum.


Update readme with a few troubleshooting tips

Signed-off-by: Nathan Haneysmith<EMAIL_ADDRESS>
Description

Adding a troubleshooting section to readme
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

Doc only update, self merging once tests are complete.