image overlapping with chat bot window!!!

Actual Behavior

Image should be below chat bot.
Steps to close the Issue
provide an overview, how you will solve the issue
Check List (check only one)

[ ] Creating New Script.
[x] Enhacment to Older script.

Specifications

@mayankmohak Yes please go ahead. The issue needs to be fixed asap.


Internationalization

Hi,
First of all, I would like to thank all the contributors for their efforts on making this project great! :smile:
It does everything that I need to do, except for one thing: I cannot localize it because it is not internationalized. I was wondering if there was any plans to internationalize the project? I'm afraid I do not have much time to do it myself at the moment. If anyone has time to do it, I can promise, however, that I will contribute the french canadian localization.

@cormier I know it's been 5 years, but #345 added (some) Chinese translation.
If you're still using the app, we could add French Canadian. The main problem with localisation is having the people with the knowledge/ability to do it.

Thanks @marksweb for following-up! I should have been more careful when making promises, because things have changed for me in the past 5 years and I'm afraid that I will not be able to deliver this French Canadian localization after all :sweat_smile:
Maybe the project I was working on back then still has a use case for this. I'll try to get in touch with them and and let them know it's now supported.

Well, 5 years is a long time, so I'm not surprised!
Thanks @cormier! 😄


Routing error when local domain is different from localhost

Environment

Operating System: Windows_NT
Node Version:     v20.11.0
Nuxt Version:     3.10.0
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, devServer
Runtime Modules:  -
Build Modules:    -

Reproduction
The error can only be reproduced locally
Describe the bug
Installed nuxt according to the description in the documentation:
npx nuxi@latest init myproject

Start: npm run dev
At this moment all is good.
Changing host:
HOST=my.local in .env
or
  devServer: {
    host: 'my.local',
  },

in nuxt.config.ts
of course, <IP_ADDRESS> my.local in hosts
and restart project.
Now we have errors:
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/__webpack_hmr/client"
[Vue Router warn]: No match found for location with path "/socket.io/?EIO=3&transport=polling&t=OruzmXl"
[Vue Router warn]: No match found for location with path "/socket.io/?EIO=3&transport=polling&t=OruzmXl"
[Vue Router warn]: No match found for location with path "/socket.io/?EIO=3&transport=polling&t=OruzmXl"
[Vue Router warn]: No match found for location with path "/socket.io/"

Additional context
No response
Logs
No response

Is this a webpack project? If not, it looks like maybe you have a another tab requesting /__webpack_hmr etc. from that address. Try restarting your computer or closing all your browser tabs.

@scriptosaur Do you still experience this?


[ci] implement edge channel

Describe the feature
Implement CI that publish h3 releases on each commit to main.
This is similar to what happens with Nitro.
As edge has become a very ambiguous term, we could consider another name, such as nightly or canary.
Additional information

[X] Would you be willing to help implement this feature?

Tada! https://www.npmjs.com/package/h3-nightly

Amazing ❤
Should we change nitro name to nightly as well ? 🤔


Update the brainLocation schema and normalize its usage across bbp domains

rename "coordinatesInBrainShape" to "coordinatesInBrainAtlasShape"
use brainLocation property shape with BrainLocationShape as node in schemas:

{"property:
[
"path": "nsg:brainLocation",
"node": "bbplocsh:BrainLocationShape"
]


Style project page header and content

This PR styled the subpages of the project page to keep the style consistent and easy to maintain.

Very welcome!


Order promotions

Codecov Report
Base: 94.06% // Head: 94.13% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (6cde9d1) compared to base (9a53bc0).
Patch coverage: 95.83% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
+ Coverage   94.06%   94.13%   +0.07%
==========================================
  Files          69       69
  Lines        8006     8087      +81
==========================================
+ Hits         7531     7613      +82
+ Misses        475      474       -1

Impacted Files
Coverage Δ

movegen/src/move.rs
98.63% <ø> (ø)

search/src/search.rs
86.04% <ø> (ø)

uci/src/uci_in/position.rs
88.67% <50.00%> (+1.40%)
:arrow_up:

search/tests/search.rs
85.13% <95.23%> (+0.85%)
:arrow_up:

search/src/move_selector.rs
97.68% <100.00%> (+1.29%)
:arrow_up:

movegen/src/move_generator.rs
99.74% <0.00%> (+0.12%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Fix tags management in send_metrics

We must send user tags not default_tags

Thanks @faascape for catching this! :)
Merging.


Level 2> Share Recovery Key 1 is not getting confirmed immediately.

Level 2> Share Recovery Key 1 is not getting confirmed immediately.Every time I have to pull it to refresh 2/3 times.Sometimes when I refresh the F&F list that recovery key gets confirmed.

There is other is if I kill app before channel creation and after 2fa call done then it getting stuck because of error [Error: 2FA is already enabled for this wallet]

This has been resolved.

@Parsh Please look why secondary data is not updating to channel that is why in manage backup keeper is not getting confirmed

I've not encountered this issue. The secondary data gets updated perfectly on my end.


MM-39158: avoid playbook edit console errors

Summary
Wrap dispatch in useEffect to effectively avoid a setState call on an unmounted component. Also fix an unrelated warning from React re: data-testId instead of data-testid.
Ticket Link
Fixes: https://mattermost.atlassian.net/browse/MM-39158
Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[ ] Unit tests updated

The e2e failure here is unrelated to my changes -- raised this with DevOps at https://community-daily.mattermost.com/core/pl/r5ychapoe3ysbqsqwyf95iayxo.


[Search][Sample] Failures in nightly live test runs

https://dev.azure.com/azure-sdk/internal/_build?definitionId=1650&_a=summary
Example error message
[run-samples] Running /home/vsts/work/1/s/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createDataSourceConnection.js
Running Create Datasource Connection Sample....
[run-samples] Error in /home/vsts/work/1/s/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createDataSourceConnection.js : TypeError: sampleMain is not a function
    at main (/home/vsts/work/1/s/common/scripts/run-samples.js:91:13)
[run-samples] Continuing ...

Code completed and merged.


var(): argument 'dim' must be int, not list

torch.mean(input, dim=[2, 3], keepdim=True), torch.var(input, dim=[2, 3], keepdim=True)
Modify the code so that it resembles the following code sample:
torch.mean(torch.mean(input, dim=2, keepdim=True), dim=3, keepdim=True), torch.var(torch.var(input, dim=2, keepdim=True), dim=3, keepdim=True)

It works, thanks a lot. The problem seems to be that version of pytorch is too old.


[Improvement]: Simplify the quick demo process

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?

Drop the quick demo image and simplify the existing quick demo
process, depending on the amoro and minio images
Users can insert/delete/update rows by ams' Terminal page, then we can
trigger minor/major processes instead of installing flink cdc env

How should we improve?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Could this issue be closed due to #2818 ?

Yes, this can be closed due to :https://github.com/apache/amoro-site/pull/30


Is it possible to put a limit to the zoom?

@KingOfPeru
Added allowScale function to Crop constructor.
Try the snippet below.
const maxScale = 3.0;
Crop(
  allowScale: (newScale) => newScale < maxScale,
),

@KingOfPeru
Sorry for confusion, but allowScale is renamed to willUpdateScale from 1.0.0-dev.2 for a versatility reason.
https://github.com/chooyan-eng/crop_your_image/pull/127


feat: display all schemas and credential-definitions for specific ecosystem

[x] Implement an API to get all schema for specific ecosystem (Backend).

Completed


Added support for BuiltinFont type, rearranged textBox input paramete…

…r list to provide default valuses, added newline translation and error checking for missing glyphs.
Added:

Support for BuiltinFont type (such as terminalio.FONT)
Rearranged textBox input parameter list to accommodate default options for background and text color
Added newline translation
Error checking for missing glyphs (currently just prints a notice to the terminal, maybe this should raise an exception)
Updated the examples to reflect these changes and added another example that includes use of the BuiltinFont

@FoamyGuy I will appreciate if you will review these changes, particularly the examples for the built-in display.

Something is wrong with the commit.  Cancelling for now and will re-up once I figure out what went wrong.


Chrome takes 100% GPU, machine gets sluggish - one Sprite on the stage

This issue does only occur on my workplace desktop (strong development machine).
At home everything works fine but at work, Chrome takes 100% GPU and nothing really works.
It gets faster when I make the window smaller though.
Here a jsFiddle - really simple, just setup a stage and add a sprite:
https://jsfiddle.net/xepL01yc/6/
This is how it looks in Task Manager:

GPU 1 seems interesting. Can you share some specs? Do you have 2 GPUs? What are they? What resolution are you running? Etc.

I will share what I can when I get into the office in ~9h.
What is the best way to get you all the info you need (which settings masks to screenshot?)

Ok so yes - I have two display adapters here it seems:

My resolution is 1920x1200 and I have three monitors attached.
This is my system information:

Ok thanks everyone - it seems my gfx card is really just not very capable. I will switch to "forceCanvas" for now since the little game I'm working on is mostly mouse-over sprite switching and very minor animations anyway.


Ingest: need a way to determine when new data is queryable

We use druid 0.10, but recently upgraded to 0.11 and still see the same issue.  We have a use case in which we (a) ingest data via HDFS indexing, then (b) wait until the data is available to be queried, then (c) ping a separate system, which then queries the data to do something with it.  The problem is in step b.  At first we tried this:

Poll the Overlord status endpoint /druid/indexer/v1/task//status until it returns SUCCESS or FAILED.  This lets us know when the indexing job is complete.
Poll the Coordinator loadstatus endpoint /druid/coordinator/v1/loadstatus until it returns 100% for our datasource.

But then we discovered that for a pre-existing datasource there is a period of time after the indexing job completes in which loadstatus returns 100%, before it starts to return something less than 100%.  So we added another step:
  1.5.  Poll the Coordinator loadstatus endpoint every second until it returns non-100%.

This polling has to be every second because if the datasource is small it takes very little time to distribute through the cluster.  If we poll every 10 seconds, we might miss seeing a non-100% number, and then we have no way of knowing if the new data is available or not.  Even at 1 second it's possible to miss this window.
It would be great to have a reliable way of knowing when ingested data is queryable.  Thanks!

You could use segment metadata queries if you know ahead of time which intervals you are indexing for.

Commenting to keep this alive, as this is still an issue for us.  The segment metadata queries is a good suggestion, but for most of our use cases it would be ungainly to manage, as we ingest hundreds of segments at a time.

loadstatus API reads segments from SqlSegmentsMetadataManager of the Coordinator which caches segments in memory and periodically updates them. Hence, there can be a race condition as this API implementation compares segments metadata from cache with segments in historicals. Particularly, when number of segment changes (new ingestion) after the initial load of the datasource, the cache still only contains the metadata of old segments. I notice this too when trying to verify integration tests. The workaround I did (which may not be applicable to real life production) is to verify the number of segments matches expected from metadata/datasources/{DATASOURCE}/segments API before calling this method (since, that would wait until the cache is updated with expected data).

verify the number of segments only works on no parallel ingestion job running on the same time.
interesting to found this https://github.com/apache/druid/blob/c5bfe3601135193de8527126dc6a1f7d3ffa5d5b/examples/bin/post-index-task-main#L171


How to get all followers of a user with a lot of followers?

Form
Put an [x] if you meet the condition, else leave [ ].

[x] I've searched the Issues
[X] I've read the basic concepts
[X] I'm using the latest version

Question
I would like to get all the followers of a user, but as there are many, I think the only alternative would be to split requests between multiple accounts.
For example, one account would have followers from 0 to 10,000, while another would have followers between 10,000 and 20,000. But I couldn't find any way to do this in the documentation, is it possible?
Code
async function getFollowers(
  username: string,
  ig: IgApiClient,
  { delay, limit, savePath }: GetFollowersOptions
): Promise<AccountFollowersFeedResponseUsersItem[]> {

  const id = await ig.user.getIdByUsername(username);
  const followersFeed = await ig.feed.accountFollowers(id);

  let followers: AccountFollowersFeedResponseUsersItem[] = [];
  let reqId = 0;
  do {
    reqId += 1;
    const items = await followersFeed.items();
    followers = [...followers, ...items];

    if (limit && limit !== -1) {
      if (followers.length >= limit) {
        break;
      }
    }

    await waitInSeconds(delay);
  } while (followersFeed.isMoreAvailable());
return followers
}

const followersResponse = ig.feed.accountFollowers('128129999060');
// @ts-ignore
followersResponse.nextMaxId = 'QVFBU1V3UlJuMUFIczVnVElZWDRnZ=='; // you can always save the latest "nextMaxId" hash and when you get 429, use the saved hash next time as checkpoint.

const followersResponse = ig.feed.accountFollowers('128129999060');
// @ts-ignore
followersResponse.nextMaxId = 'QVFBU1V3UlJuMUFIczVnVElZWDRnZ=='; // you can always save the latest "nextMaxId" hash and when you get 429, use the saved hash next time as checkpoint.

Can you write an example about it? I don't get it.

Using an observable and subscribing to it do you have the same problem?

ig.feed.user(pageId).items$.subscribe(
    async (medias) => {
      console.log(`[ waiting ] - Inserindo ${medias.length}`);

      await Promise.all(
        medias.map(factoryCompetitorsMedia).map((media) => repository.save(media).catch(console.error))
      );
    },
    (error) => console.log(chalk.red(`[❌] -  ${error}`)),
    () => console.log(chalk.green(`[✅] -  Rotina finalizada`))
  );

Form
Put an [x] if you meet the condition, else leave [ ].

[x]  I've searched the Issues
[x]  I've read the basic concepts
[x]  I'm using the latest version

Question
I would like to get all the followers of a user, but as there are many, I think the only alternative would be to split requests between multiple accounts.
For example, one account would have followers from 0 to 10,000, while another would have followers between 10,000 and 20,000. But I couldn't find any way to do this in the documentation, is it possible?
Code
async function getFollowers(
  username: string,
  ig: IgApiClient,
  { delay, limit, savePath }: GetFollowersOptions
): Promise<AccountFollowersFeedResponseUsersItem[]> {

  const id = await ig.user.getIdByUsername(username);
  const followersFeed = await ig.feed.accountFollowers(id);

  let followers: AccountFollowersFeedResponseUsersItem[] = [];
  let reqId = 0;
  do {
    reqId += 1;
    const items = await followersFeed.items();
    followers = [...followers, ...items];

    if (limit && limit !== -1) {
      if (followers.length >= limit) {
        break;
      }
    }

    await waitInSeconds(delay);
  } while (followersFeed.isMoreAvailable());
return followers
}

Hi , Can you please me Guide me if you were able to achieve this , because I'm also trying to Scrape followers data

You can use recursion Like this @khanakhun
  const id = await ig.user.getIdByUsername(username);
  const followersFeed = await ig.feed.accountFollowers(id);
  const followers = [];
  const e = async () => {
    let items = await followersFeed.items();
    // Save to database or append in json file
    followers.push(items);
    const isMore = await followersFeed.isMoreAvailable();
      if (isMore) {
        await delay(20 * 1000)  // delay 20 sec anti ban mode
        e();
      } else {
        console.log("=====> All Followers Extracted");
      }
  };
  await e()
};

Duplicate #988


Unpublished "Latin American ephemera: temporary" exhibit cannot be deleted from DPUL

@escowles and and I have tried to delete and it throws a 405
Issues:

the https://dpul.princeton.edu/lae URL is also being used for Latin American Ephemera Ephemera project in figgy.  this cannot be changed, as the LAE blacklight site is dependent on it (see here.
@kelea99 has looked everywhere in figgy for the other collection duplicating the "https://dpul.princeton.edu/lae" URL that is feeding the unpublished DPUL site and can find nothing. It is only 5k items, so definitely not pulling from the entirety of the LAE project.
we have had problems deleting unpublished collections in the past, which @hackartisan has been able to solve. not sure if this is the same issue or a new one.  See ticket

Next Steps:

Create a chilean photographs collection with the chilean photographs project slug.
Add the chilean photographs collection to all the items in the chilean photograyphs project.
Move the folders from the chilean photographs ephemera project to the latin american ephemera project.
Delete the chilean photographs ephemera project.
Rename the LAE collection and change its slug to...something else.

The result of this:

Chilean photographs should sync to the LAE site.
The chilean photograph DPUL collection should continue to work.
The items in the LAE collection (not project) will not show up in the LAE site (but we didn't really expect them to before either)

As far as the deletion goes, yes this looks like a duplicate of #730
But when it comes to the duplicate use of lae this is a new thing that needs to be resolved. I'm going to re-write this issue to reflect that problem.

Oops. I selected Latin American ephemera from. the DPUL pulldown to create a new collection, but only too late realized there were 2 "LAE" collection options. I chose...poorly. it's the same selection as the last time (approx 5k items). Id assume the second LAE collection is what I am wanting to try to create ( im trying to get the entire collection into DPUL) . Im so sorry, @hackartisan . can this be deleted again by someone? same 405 is happening.

@hackartisan , I cannot chance the slug for LAE, as the DPUL slug is important (as I understand it)  for the LAE blacklight site (I know, it's weird).

I have changed the DPUL URL for the figgy collection. there are no longer dpulicate URLs in figgy for LAE. the band formerly known as LAE figgy collection: https://figgy.princeton.edu/catalog/cbca8ecb-b92f-4ef0-8bdc-976ad9d10d91
The LAE ephemera project remains the same


CRITICAL vulnerabilities reported for cypress/included:12.9.0

7 CRITICAL vulnerabilities are reported by Wiz Scan.
 Container image meets policy requirements

@mlalam I asked you to provide an explanation of how these vulnerabilities can be exploited in a use case of Cypress.  I am closing this issue until it has been demonstrated how this impacts Cypress use cases.


added new go1.7 context

As discussed in https://github.com/tylerb/graceful/issues/78#issuecomment-248564988

Coverage increased (+12.08%) to 67.143% when pulling d8cc11cc307604e225405c35dee1adc9ad0e9146 on awalterschulze:master into 50a48b6e73fcc75b45e22c05b79629a67c79e938 on tylerb:master.

So it fails for older versions of go.
This is expected.

Failing for older versions of Go is unacceptable. I would like to maintain compatibility with Go versions back to 1.3.3, at least for now.

I am interested in using Context for graceful, but I am failing to see how it will be of benefit given your example in #90. I personally haven't used Context for anything yet, so I would love if you could give me some scenarios where this would be better than having graceful handle the interrupt for you.
As it stands now, it seems that the context adds a lot of boilerplate (signal handling, etc) that is currently contained inside graceful and handled for you. What's the motivation for this change?
In addition, in order for this to be accepted, it will need to maintain compatibility back to go1.3.3. This could be achieved by using build tags such as // +build go1.3 !go1.7 and // +build go1.7. However, that doesn't feel too great, especially if it results in significant code duplication.

You could use golang/x/net/context to keep things compatible with older go versions.
It makes it easier for me to test graceful given I have control over when the server stops.
When you have a process which not only serves a page, but also does some processing on a queue you might want to be able to cancel both in the same way.
But if you aren't convinced thats fair.  I hated context to start with, but now I am falling in love with in.  It is your project you should decide what you think is best.
At the moment I am just keeping graceful out of my tests, but it would be really nice not to have to do that.  Since then I also do not have to separate my handle and process functions and can just have a run function which I can cancel at any time.

As it stands now, graceful provides a mechanism for alerting when shutdown has occurred, and a mechanism for manually stopping the server.
Those two mechanisms should allow you to easily have it run alongside your other code and interact with the context to shut it down as well.
Given that, I feel the benefits of this change do not outweigh the costs.
That being said, I have been interested in a rewrite for some time now, and, pending some research and thought, I would be comfortable with making that rewrite be 1.7+ only so that it can work off context, as that seems to be the way things are headed in general.
On Sep 22, 2016, 7:13 AM -0600, Walter Schulze<EMAIL_ADDRESS>wrote:

You could use golang/x/net/context to keep things compatible with older go versions.
It makes it easier for me to test graceful given I have control over when the server stops.
When you have a process which not only serves a page, but also does some processing on a queue you might want to be able to cancel both in the same way.
But if you aren't convinced thats fair. I hated context to start with, but now I am falling in love with in. It is your project you should decide what you think is best.
At the moment I am just keeping graceful out of my tests, but it would be really nice not to have to do that. Since then I also do not have to separate my handle and process functions and can just have a run function which I can cancel at any time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/tylerb/graceful/pull/90#issuecomment-248899574), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAEUlBGKC-KebXvryH9YciPEqSaOPQC-ks5qsn7lgaJpZM4KCu1Q).

Fair point :)
I look forward to your rewrite :)

@awalterschulze My apologies for sending you on a wild goose chase! I should have thought this one through a lot better.

No problem it only took a couple of minutes.
Sometimes I also have to see something before I know whether I want it :)


Bug in Pagination

I suspect there is a bug in https://github.com/cosmictraders/autotraders/blob/d0e83c05f5b1fc768eccd4fd852c25cd2a937d87/autotraders/paginated_list.py#L41
It seems like it calculates the amount of pages as:
self.pages = math.ceil(self.total / self.num_per_page)
That means that if I would have to fetch 7 pages for information, it does:
for page in range(1, 7)
Effectively skipping the last page every time.
This behavior can be seen in the Agents endpoint like:
"ZEPHOS" not in [agent.symbol for agent in Agent.all(AutoTradersSession()).all()]
"ZEPHOS" is one of the last agents, since it is sorted alphabetically.

Also fixed in https://github.com/cosmictraders/autotraders/pull/15


Adds newer avaliable container engines to Installation page

To close https://github.com/nf-core/nf-co.re/issues/696
Input from @phue would be helpful for the descriptions, I've not used any of the new ones and the descriptions on the respective websites weren't so clear on why they are different ;).

@jfy133
Thanks for adding this. The descriptions look good and sufficient to me as they are, some points for additional context:
I think all of them are daemonless.

Podman is cli compatible to docker and can be used as drop-in replacement. It also has a rootless mode (which still has some issues at the moment).
Charliecloud is considered more secure because it works with user namespaces only (doesn't require the setuid bit as Singularity does for example)
Shifter: I never used it, so I don't really know the details either. We just added it because nextflow supports it out-of-the-box

Thanks for the clarifications @phue !


Did not autorun on reboot/startup on Raspbian

Not sure if this is a bug, or lack of understanding on configuration. However, after installing Wifi Connect on a Pi 3 and rebooting, nothing happened. I was expecting it to automatically launch and create the network.
However, I had to SSH back in and run 'sudo wifi-connect' to get the program to run, at that point everything seamed to work correctly. Is this a bug, or a configuration issue?

@andrewdhastings This should be a configuration issue. Can you please paste if possible your start script and Dockerfile so that I can take a look at those.

I used the Bash/curl link to install on a fresh raspbian stretch lite image. Never adjusted the config.
Sent from BlueMail
On Jul 16, 2018, 5:18 AM, at 5:18 AM, Zahari Petkov<EMAIL_ADDRESS>wrote:

@andrewdhastings This should be a configuration issue. Can you please
paste if possible your start script and Dockerfile so that I can take a
look at those.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/resin-io/resin-wifi-connect/issues/231#issuecomment-405216107

I see, you used Raspbian, not Resin OS. There is not autorun for Raspbian yet included. I think I can add it since it will not be complicated.

Autorun can be enabled by creating a systemd unit file that executes a shell script that starts WiFi Connect. The systemd unit should be a one-shot service that starts after NetworkManager. That will be relatively easy to add.
The shell script will be very similar to our example resin OS start script: https://github.com/resin-io/resin-wifi-connect/blob/master/scripts/start.sh
I am going include autorun functionality for Raspbian in the install script after implementing #234.

There is could be a problem with systemd service. If start.sh runs after NetworkManager there is could be following problem NetworkManager is running but not connecting to WiFi. Start.sh checks WIFi connection and doesn’t find one and start wifi-connect.

@arsoba please take a look at the nm-online utility that NetworkManager provides, as I think it may be a very good substitute for iwgetid for running wifi-connect on Raspbian: https://developer.gnome.org/NetworkManager/stable/nm-online.html
This should indicate much more precisely whether wifi-connect should be started or not.


[material-ui][Dialog] The dialog scrollbar is not displayed in Safari when opening dialog for the second time

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/misty-morning-zqn68y?file=/Demo.tsx
Steps:
open Safari on mac
dialog has keepMounted={true}, so it will not rerender on the next open

click open Dialog - scroll down - the scroll bar is visible
click Close Dialog
click open Dialog again - scroll down - the scroll bar is NOT visible

Current behavior 😯
The scroll bar disappears after opening the dialog for the second time on Safari
Works properly on Chome
Expected behavior 🤔
the scroll bar should be always visible
Context 🔦
No response
Your environment 🌎
No response

here is a recording of code sandbox example
I am using Safari Version 17.2 (186<IP_ADDRESS>.11, 18617)
https://github.com/mui/material-ui/assets/8247394/a41ddc8a-af5f-4e7d-a747-6051389d9a51

it works properly on Chrome
https://github.com/mui/material-ui/assets/8247394/e7a8f4ca-11da-4baa-b321-c31bbc4b2122


Swap base image for one that's maintained

Supports #229

At least one pull request committer is not linked to a user. See https://help.github.com/en/articles/why-are-my-commits-linked-to-the-wrong-user#commits-are-not-linked-to-any-user

Tests are failing...wonder if debian:buster is not going to be compatible...

The error appears unrelated to my change. akka-stream-kafka-testkit is currently failing to download on all builds in this repo, regardless of PR contents, thus failing the build. 🤔
download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.bintray.com/akka/snapshots/com/typesafe/akka/akka-stream-kafka-testkit_2.12/2.0.6+3-255156cc/akka-stream-kafka-testkit_2.12-2.0.6+3-255156cc.pom (Server returned HTTP response code: 403 for URL: https://dl.bintray.com/akka/snapshots/com/typesafe/akka/akka-stream-kafka-testkit_2.12/2.0.6+3-255156cc/akka-stream-kafka-testkit_2.12-2.0.6+3-255156cc.pom) while downloading https://dl.bintray.com/akka/snapshots/com/typesafe/akka/akka-stream-kafka-testkit_2.12/2.0.6+3-255156cc/akka-stream-kafka-testkit_2.12-2.0.6+3-255156cc.pom

@seglo Hey Sean. Could I possibly get some assistance with fixing the build for this repo? The download errors are a little beyond me; I'm not sure what the problem is with bintray. But my team would really like to help remediate the 93 image vulnerabilities we're seeing via a trivy scan on the kafka-lag-exporter image! And we need to fix the build first before we can do much else. Thanks in advance!

The vulnerabilities seem to be resolved now. Perhaps centos updated their package repositories today. Will leave this PR up in case it's wanted by the community but we're in good shape now. Thanks!

this will  not work, because with the switch from Centos (yum) to Debian you also need to switch package manager to apt

This centos image will be refreshed to the latest version of 8 in the next release.

@seglo  Hey! Actually centos is being discontinued and it's a big question whether  you will get fixes for critical vulnerabilities in future. So it's about time to either swap it out with one of redhat images and yum or change yum to apt and just use official alpine image instead?

Thanks for the information.  I wasn't actually aware that its deprecation date was coming up so soon.  I would prefer to see if Red Hat offers a bridge to its new CentOS Stream platform.  If that's a drop in solution then I think that would be ideal, because otherwise it will require some time to update the build process and tweak the built image to make sure it runs properly if we have to switch to a different platform altogether.  However, if someone else wants to do the work and put up a PR I'll certainly review it.
In the meantime #229 is still open.


[BUG] test_docker_distribution Integration Test Times Out Due to Cluster Start Failure

The test_docker_distribution integration test fails as the Docker container does not come up healthy:
it/distribution_test.py::test_docker_distribution[os-it]
   ____                  _____                      __       ____                  __                         __
  / __ \____  ___  ____ / ___/___  ____ ___________/ /_     / __ )___  ____  _____/ /_  ____ ___  ____ ______/ /__
 / / / / __ \/ _ \/ __ \\__ \/ _ \/ __ `/ ___/ ___/ __ \   / __  / _ \/ __ \/ ___/ __ \/ __ `__ \/ __ `/ ___/ //_/
/ /_/ / /_/ /  __/ / / /__/ /  __/ /_/ / /  / /__/ / / /  / /_/ /  __/ / / / /__/ / / / / / / / / /_/ / /  / ,<
\____/ .___/\___/_/ /_/____/\___/\__,_/_/   \___/_/ /_/  /_____/\___/_/ /_/\___/_/ /_/_/ /_/ /_/\__,_/_/  /_/|_|
    /_/

[INFO] Preparing for test execution ...
[ERROR] Cannot execute_test. No healthy running container after 600 seconds!
	Traceback (most recent call last):
  File "/Users/engechas/OpenSearch-Benchmark/.tox/py38/lib/python3.8/site-packages/osbenchmark/builder/builder.py", line 563, in receiveMsg_StartNodes
    self.builder.start_engine()
  File "/Users/engechas/OpenSearch-Benchmark/.tox/py38/lib/python3.8/site-packages/osbenchmark/builder/builder.py", line 682, in start_engine
    self.nodes = self.launcher.start(self.node_configs)
  File "/Users/engechas/OpenSearch-Benchmark/.tox/py38/lib/python3.8/site-packages/osbenchmark/builder/launcher.py", line 53, in start
    self._start_process(binary_path)
  File "/Users/engechas/OpenSearch-Benchmark/.tox/py38/lib/python3.8/site-packages/osbenchmark/builder/launcher.py", line 73, in _start_process
    self._wait_for_healthy_running_container(container_id, DockerLauncher.PROCESS_WAIT_TIMEOUT_SECONDS)
  File "/Users/engechas/OpenSearch-Benchmark/.tox/py38/lib/python3.8/site-packages/osbenchmark/builder/launcher.py", line 93, in _wait_for_healthy_running_container
    raise exceptions.LaunchError(msg)
osbenchmark.exceptions.LaunchError: No healthy running container after 600 seconds!

Getting further help:
*********************
* Check the log files in /Users/engechas/.benchmark/logs for errors.
* Read the documentation at https://opensearch.org/docs.
* Ask a question on the forum at https://discuss.opendistrocommunity.dev/.
* Raise an issue at https://github.com/opensearch-project/OpenSearch-Benchmark/issues and include the log files in /Users/engechas/.benchmark/logs.

---------------------------------
[INFO] FAILURE (took 668 seconds)
---------------------------------
FAILED

The container's OpenSearch log shows:
[2022-02-23T16:29:26,314][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [opensearch-node1] uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalArgumentException: setting [cluster.initial_master_nodes] is not allowed when [discovery.type] is set to [single-node]
uncaught exception in thread [main]
at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:186) ~[opensearch-1.0.0.jar:1.0.0]
at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:173) ~[opensearch-1.0.0.jar:1.0.0]
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99) ~[opensearch-1.0.0.jar:1.0.0]
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140) ~[opensearch-cli-1.0.0.jar:1.0.0]
at org.opensearch.cli.Command.main(Command.java:103) ~[opensearch-cli-1.0.0.jar:1.0.0]
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:139) ~[opensearch-1.0.0.jar:1.0.0]
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:105) ~[opensearch-1.0.0.jar:1.0.0]

This behavior is observed on both Linux and Mac

Adding a health check allows the integration test to pass:
healthcheck:
          test: curl -f http://localhost:{{http_port}} -u admin:admin --insecure
          interval: 5s
          timeout: 2s
          retries: 10


merge from template-sync/template-arlac77-github

.github/workflows/ci.yml

chore: add<EMAIL_ADDRESS>(jobs.test-node.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.test-browser.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.release.steps.uses)

.github/workflows/codeql_analysis.yml

chore: add<EMAIL_ADDRESS>(jobs.analyze.steps.uses)

.github/workflows/update_package_lock.yml

chore: add<EMAIL_ADDRESS>(jobs.update_package_lock.steps.uses)

.github/workflows/update_readme_api.yml

chore: add<EMAIL_ADDRESS>(jobs.update_readme_api.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.842%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
416

Relevant Lines:
426

💛  - Coveralls


Adding Pimte area detector devices

Fixes #428
Instructions to reviewer on how to test:

unit test should cover almost every time
If IRL test is needed there are three jupyter notebook script here that should cover most of the functionality needed.

Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards

I've enabled the CI for you @Relm-Arrowny - do you need adding to the DLS organisation?

cleaning up, the detector is current under repair will reopen as needed.


Point authenticating-proxy to documentdb in integration

As part of moving our apps away from Mongo 2.6, it would be useful to test moving the authenticating proxy app in integration away from the EC2 Mongo 2.6 cluster and onto the DocumentDB authenticating-proxy-documentdb-integration cluster that will be created by this PR:
https://github.com/alphagov/govuk-aws/pull/1556
This change adds a new draft-cache yaml file to the heiradata in the integration class that should (for integration) override the existing mongodb cluster information.
When deployed, authenticating proxy will lose the existing information in integration. There's no env sync for AP from staging down to integration, so it won't automatically be populated. However, it's possible this might not make any difference (since the data in AP is transient anyway), and it should be possible to export from the existing mongo and import manually.
https://trello.com/c/lSpntlfk/81-mongo-26-has-reached-end-of-life

Closing as PG solution preferred.


Feature/rightsize privileges Execute tunneler with a least-privileged user account

On Linux, a process granted the CAP_NET_ADMIN capability is sufficient to create a tun interface, configure network addresses, and other network-related operations. Testing shows that ziti-edge-tunnel can run as a non-root user if the process is granted  CAP_NET_ADMIN.
To run the process as a least-privileged user, this PR performs:

Modifies packaging to add a ziti user and group to the system, adjust directory and file permissions;
Modifies the ziti-edge-tunnel.service to run ziti-edge-tunnel as ziti with CAP_NET_ADMIN; and
Unix sockets are placed under the newly created directory /tmp/.ziti, whereas the directory has limited permissions.

I look forward working with you.

@qrkourier The CI pipeline failed due to inability to download a windows package. Do you mind re-running it?

@tomc797 i've resubmitted the job and sent your PR to a couple others for review. we'll be in touch. thx

Regarding https://github.com/openziti/ziti-tunnel-sdk-c/pull/599#pullrequestreview-1296442214, I package a ziti-edge-tunnel.pkla and ziti-edge-tunnel.rules, policies that should encode identical authorizations. For fedora and ilk, only ziti-edge-tunnel.rules is packaged and installed. For debian and ubuntu, the ziti-edge-tunnel.pkla is installed if the directory /var/lib/polkit-1/localauthority/10-vendor.d exists; similarly, the ziti-edge-tunnel.rules is installed if /usr/lib/polkit-1/rules.d exist. This is done postinst.

The revised code is updated to:

Install /usr/share/polkit-1/rules.d/ziti-edge-tunnel.rules,
On Debian-based systems, optionally install ziti-edge-tunnel.pkla if directory /var/lib/polkit-1/localauthority/10-vendor.d ``` exists,
Add user and group ziti to the system,
Update file and directory permissions,
Run the ziti-edge-tunnel as user ziti with capability CAP_NET_ADMIN,
Create directory /tmp/.ziti to house sockets (resolving, in part #553),  and
Delete the identity file if enroll fails (resolving #554)

Thanks again for contributing these changes, @tomc797! You've probably noticed that the PR is approved. We will merge it soon, we just need to coordinate with our desktop UI project and a few users that will need to deal with the socket path change.


Make shader lit

Thanks for your work!
I testing your shader and it works great.
But in my enviroment i need some Reflections, so it would be nice making a lit version of the shader. Is that possible?
I wonder if it would even work for proper shadows but this could result in a black box instead of the actual cutout?

What do you think, is it possible to transform the shader to lit?

I'll take a look into this when I have some spare cycles. Glad to see the
shader in use for something like that, right on!
On Thu, Jan 20, 2022, 11:43 AM JB @.***> wrote:

Thanks for your work!
I testing your shader and it works great.
But in my enviroment i need some Reflections, so it would be nice making a
lit version of the shader. Is that possible?
I wonder if it would even work for proper shadows but this could result in
a black box instead of the actual cutout?
[image: grafik]
https://user-images.githubusercontent.com/39304777/150410639-452fe9d4-d98e-48ba-9310-01fdd4adb253.png
What do you think, is it possible to transform the shader to lit?
—
Reply to this email directly, view it on GitHub
https://github.com/otdavies/UnityChromakey/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX73USBAX3W22MSU5CJJJTUXBQV7ANCNFSM5MNUZF3Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Leaving this here for reference regarding the shadows: https://cyangamedev.wordpress.com/2020/06/05/urp-shader-code/10/
There is likely a way to use an alpha cutoff or the likes to make sure we get a pretty believable shadow. I'll create a version of the shader that is lit so that it will work with screen space / planar reflections hopefully.

Thank you for your reply!
That sounds great, especially because your shader is one which support HDRP which is really useful to implement a realistic and believable enviroment.
Thanks for your work!

https://github.com/RemyUnity/SG-HDRP-Lit
Maybe that helps. Its a ShaderGraph Version of the LitShader. Maybe its possible to adjust for Chromakey and keep the lighting stuff.


feat: show more info on server start

Description

Resolves #18719
Replaces #18721, whose target branch is v5

Deprecate DevServer.printUrls and PreviewServer.printUrls.
Add DevServer.printInfo and PreviewServer.printInfo
Make the new methods print mode and loaded .env file names on server start

For displaying mode, maybe it could look something like this?

(Using bgGreen and bold). I think we should only show the mode if it's changed (not "development") as proposed in the issue, otherwise it feels like unnecessary information to me.
I also think we should prevent renaming printUrls to printInfo and breaking it if possible.


SyntaxError at os/mac.rb:107: 's&.path'

Please always follow these steps:

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed all issues and retried your prior step?
[X] Ran brew config and brew doctor and included their output with your issue?

$ brew config
HOMEBREW_VERSION: 1.3.4-33-g296a441
ORIGIN: https://github.com/Homebrew/brew
HEAD: 296a44195bb8c8c0d5d9b512f10c7ee70f400efb
Last commit: 66 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ba4ea377a01bd762ba2240fd395c62f9ff3c22a9
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.13.2 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby<EMAIL_ADDRESS>=><EMAIL_ADDRESS>Java: 1.8.0_131
macOS: 10.12.6-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1504363082
X11: 2.7.11 => /opt/X11
$ brew doctor
Your system is ready to brew.

What you were trying to do (and why)
I was trying to install gcc, because I wanted to compile C code.
What happened (include command output)
$ brew install gcc
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
==> Auto-updated Homebrew!
Updated Homebrew from c0063bb8 to 296a4419.
Updated 3 taps (caskroom/cask, caskroom/versions, homebrew/core).
==> New Formulae
abyss                                     beast                                     bowtie2                                   fn                                        landscaper                                libbitcoin-node                           liquid-dsp                                zim
azure-cli@1                               bettercap                                 configen                                  json-table                                libbitcoin-blockchain                     libbitcoin-server                         xmrig
==> Updated Formulae
abcmidi                 baresip                 clhep                   dtc                     fox                     grip                    iso-codes               libbitcoin-explorer     logstash                ngspice                 pgcli                   saldl                   tarantool               weechat
activemq-cpp            bartycrouch             cli53                   dwarf                   freetds                 groonga                 jenkins                 libcouchbase            lxc                     ninja                   pgloader                saltstack               taylor                  wireguard-tools
aespipe                 bash-preexec            clojure                 efl                     freetype ✔              grpc                    jetty                   libfaketime             macvim                  no-more-secrets         pick                    sbt                     tbb                     xa
angular-cli             bazel                   cmake                   elasticsearch           gandi.cli               gsoap                   jetty-runner            libhttpseverywhere      mame                    node                    pony-stable             scons                   telegraf                xtensor
ansible                 bento4                  coffeescript            elvish                  gauge                   gtk-gnutella            jhipster                liblockfile             mariadb                 node-build              ponyc                   sdl2                    teleport                yarn
apache-arrow            binutils                conan                   emp                     geckodriver             gtkextra                jruby                   libmatroska<EMAIL_ADDRESS>          nspr                    pre-commit              shared-mime-info        terraform               yle-dl
apache-brooklyn-cli     bison                   conjure-up              entr                    git ✔                   gtkmm3                  jsonschema2pojo         libmodplug              mednafen                nss                     presto                  sip                     terragrunt              you-get
apache-geode<EMAIL_ADDRESS>             convox                  erlang                  git-annex               help2man                jvgrep                  libmowgli               mercurial               numpy                   prometheus              skinny                  testssl                 youtube-dl
apache-opennlp          bit                     cppad                   exim                    git-lfs                 heroku                  kafka                   libnatpmp               metabase                openal-soft             pulseaudio              snakemake               texmath                 zabbix
apache-zeppelin         bltool                  cputhrottle             exploitdb               giter8                  homebank                khal                    libngspice              metricbeat              opencoarrays            py2cairo                snap-telemetry          tmuxinator-completion   zsh
apibuilder-cli          bluepill                cython                  eye-d3                  glade                   hugo                    kibana                  libofx                  micro                   openvdb                 py3cairo                sngrep                  todolist
apktool                 bower                   dbus                    faac                    glibmm                  hyper                   kitchen-sync            libowfat                minizinc                orientdb                pyenv                   sourcery                tomcat
app-engine-java         brotli                  dep                     faad2                   glide                   hyperscan               knot-resolver           libphonenumber          monit                   osc                     pyinvoke                sphinx-doc              tomcat-native
arangodb                buku                    dhall-json              faas-cli                gmic                    i3                      kobalt                  libquicktime            mpage                   osmfilter               python ✔                spigot                  tor
artifactory             byobu                   diffoscope              fd                      gnatsd                  ibex                    kompose                 libraw                  mpg123                  osxutils                qpdf                    sqlparse                treefrog
asdf                    cake                    digdag                  fibjs                   gnupg ✔                 idutils                 kotlin                  libre                   mpw                     ott                     qrencode ✔              stone-soup              twtxt
autoconf-archive        certbot                 direnv                  filebeat                gnupg-pkcs11-scd        imagemagick ✔           kubernetes-cli ✔        libshout                mutt                    overmind                rcs                     svtplay-dl              typescript
avro-tools              certstrap               dlib                    fio<EMAIL_ADDRESS>                imagemagick@6           launchdns               libsodium               mycli                   packetbeat              redis                   swiftformat             unbound
aws-sdk-cpp             cgal                    docfx                   firebase-cli            gofabric8               imapsync                lean                    libtcod                 ncmpc                   paket<EMAIL_ADDRESS>             swiftgen                urh
awscli ✔                cheat                   docker ✔                flow                    gprof2dot               influxdb ✔              lean-cli                libtensorflow           ndpi                    pandoc-citeproc         restund                 syncthing               varnish
axel                    chronograf              docker-cloud            fluent-bit              gradle                  ios-sim                 lego                    libuvc                  nedit                   parallel                rgbds                   sysdig                  vault
azure-cli               cimg                    docker-completion       folly                   grafana                 ipython                 lftp                    libxlsxwriter           neofetch                pc6001vx                rom-tools               szip                    vim
bandcamp-dl             citus                   docker2aci              fontconfig              grails                  ipython@5               libbitcoin              logstalgia              nghttp2                 pegtl                   s-nail                  taisei                  webpack
==> Renamed Formulae
gitlab-ci-multi-runner -> gitlab-runner                                                                         gnome-icon-theme -> adwaita-icon-theme                                                                          mobile-shell -> mosh
==> Deleted Formulae
kes

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': /usr/local/Homebrew/Library/Homebrew/os/mac.rb:107: syntax error, unexpected '.' (SyntaxError)
      s&.path
         ^
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:17:in `<module:OS>'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:3:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/os/emoji.rb:1:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/emoji.rb:14:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:2:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/pathname.rb:4:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/global.rb:5:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:17:in `<main>'

What you expected to happen
I expected there to be no exceptions and syntax errors.
Step-by-step reproduction instructions (by running brew commands)
I ran brew install gcc.
Reproducing
I haven't been able to reproduce this issue because I don't know a command to run which will exercise the code at /usr/local/Homebrew/Library/Homebrew/os/mac.rb:107:
    # Returns the path to an SDK or nil, following the rules set by #sdk.
    def sdk_path(v = nil)
      s = sdk(v)
      s&.path
    end

It seemed like it was part of the code that ran with the automatic update. But since I'm now up-to-date I'm wondering if this code path isn't getting run now when I run brew update manually.

What happens when you rerun brew install gcc?

As stated, I can't reproduce. Gcc will install normally. I guess this was a change to ruby 2.3.3 syntax which wasn't allowed in 2.0. Perhaps new language features shouldn't be used until it's likely the vast majority of users are already on that version.
It looks like 2.3.3 was installed as part of the update, so it's no longer a syntax error. I'm just wondering if anything important wasn't done because the exception was raised in the middle of brew doing stuff.

Do you know what step it was likely running after having just displayed the list of Deleted Formulae?

Got the same thing myself:
$ brew install bats
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
==> Auto-updated Homebrew!
Updated Homebrew from 81d9f71e to 296a4419.
Updated 7 taps (caskroom/cask, caskroom/fonts, caskroom/versions, dart-lang/dart, homebrew/bundle, homebrew/core, homebrew/php).
==> New Formulae
abyss<EMAIL_ADDRESS>             homebrew/php/php55-xdiff            homebrew/php/php70-molten           homebrew/php/php71-ice              homebrew/php/php72-molten           libbitcoin-node
beast                               homebrew/php/php54-molten           homebrew/php/php56-ice              homebrew/php/php70-mosquitto        homebrew/php/php71-molten           homebrew/php/php72-mosquitto        libbitcoin-server
bettercap                           homebrew/php/php54-trader           homebrew/php/php56-molten           homebrew/php/php70-sodium           homebrew/php/php71-mosquitto        homebrew/php/php72-mustache         liquid-dsp
bowtie2                             homebrew/php/php54-xdiff            homebrew/php/php56-trader           homebrew/php/php70-trader           homebrew/php/php71-sodium           homebrew/php/php72-trader           xmrig
configen                            homebrew/php/php55-molten           homebrew/php/php56-xdiff            homebrew/php/php70-xdiff            homebrew/php/php71-trader           landscaper                          zim
fn                                  homebrew/php/php55-trader           homebrew/php/php70-ice              homebrew/php/php71-gnupg            homebrew/php/php71-xdiff            libbitcoin-blockchain
==> Updated Formulae
abcmidi                         cmake                           gauge                           homebrew/php/php70-gmp          homebrew/php/php72-timezonedb   libhttpseverywhere              nspr                            spigot
activemq-cpp                    coffeescript                    git ✔                           homebrew/php/php70-grpc         homebrew/php/php72-uv           libmatroska                     nss                             sqlparse
aespipe                         conan                           git-annex                       homebrew/php/php70-intl         homebrew/php/php72-xxtea        libmodplug                      numpy                           stone-soup
angular-cli                     conjure-up                      git-lfs                         homebrew/php/php70-mailparse    homebrew/php/php72-yac          libnatpmp                       openal-soft                     svtplay-dl
ansible                         convox                          giter8                          homebrew/php/php70-mcrypt       homebrew/php/php72-yaml         libofx                          opencoarrays                    swiftformat
apache-arrow                    cppad                           glade                           homebrew/php/php70-mongodb      homebrew/php/phpunit            libowfat                        orientdb                        swiftgen
apache-brooklyn-cli             cputhrottle                     glide                           homebrew/php/php70-opcache<EMAIL_ADDRESS>      libphonenumber                  osc                             syncthing
apache-geode                    cython                          gnatsd                          homebrew/php/php70-pcntl        hugo ✔                          libraw                          osmfilter                       sysdig
apache-zeppelin                 dbus                            gnupg                           homebrew/php/php70-pdo-dblib    hyper                           libshout                        osxutils                        taisei
apibuilder-cli                  dhall-json                      gnupg-pkcs11-scd                homebrew/php/php70-pdo-pgsql    hyperscan                       libsodium                       ott                             tarantool
apktool                         diffoscope<EMAIL_ADDRESS>                        homebrew/php/php70-phalcon      i3                              libtcod                         overmind                        tbb
app-engine-java                 digdag                          gofabric8                       homebrew/php/php70-pspell       idutils                         libtensorflow                   packetbeat                      telegraf
arangodb                        direnv                          gprof2dot                       homebrew/php/php70-snmp         imagemagick                     libuvc                          paket                           teleport
artifactory                     docfx                           gradle                          homebrew/php/php70-ssh2         imagemagick@6                   libxlsxwriter                   parallel                        terraform
asdf                            docker                          grafana                         homebrew/php/php70-tidy         imapsync                        logstalgia                      pegtl                           terragrunt
autoconf-archive                docker-cloud                    grails                          homebrew/php/php71-ast ✔        influxdb                        logstash                        pgcli                           testssl
avro-tools                      docker-completion               grip                            homebrew/php/php71-couchbase    ios-sim                         lxc                             ponyc                           tmuxinator-completion
aws-sdk-cpp                     docker2aci                      groonga                         homebrew/php/php71-grpc         ipython                         macvim                          pre-commit                      todolist
awscli                          dtc                             grpc                            homebrew/php/php71-mailparse    ipython@5                       mame                            presto                          tomcat
azure-cli                       dwarf                           gtk-gnutella                    homebrew/php/php71-mongodb      jenkins                         mariadb                         prometheus                      tomcat-native
bandcamp-dl                     efl                             gtkextra                        homebrew/php/php71-phalcon      jetty<EMAIL_ADDRESS>                  pyenv                           treefrog
bartycrouch                     elasticsearch                   help2man                        homebrew/php/php71-protobuf     jetty-runner                    metabase                        python                          twtxt
bash-preexec                    elvish                          heroku                          homebrew/php/php71-ref          jhipster                        metricbeat                      qrencode                        typescript
bazel                           emp                             homebrew/php/envoy              homebrew/php/php71-ssh2         jsonschema2pojo                 micro                           rcs                             varnish
binutils                        erlang                          homebrew/php/phan               homebrew/php/php72-apcu-bc      jvgrep                          minizinc                        redis                           vault
bison                           exploitdb<EMAIL_ADDRESS>         homebrew/php/php72-ast          kafka                           monit<EMAIL_ADDRESS>                     vim
<EMAIL_ADDRESS>                     eye-d3                          homebrew/php/phive              homebrew/php/php72-couchbase    kibana                          mpage                           rom-tools                       weechat
bit                             faac                            homebrew/php/php-code-sniffer   homebrew/php/php72-grpc         kitchen-sync                    mpg123                          s-nail                          wireguard-tools
bluepill                        faad2                           homebrew/php/php55-grpc         homebrew/php/php72-lua          knot-resolver                   mpw                             saltstack                       xa
bower                           faas-cli                        homebrew/php/php55-mongodb      homebrew/php/php72-lzf          kotlin                          mutt                            sbt                             xtensor
brotli                          fibjs                           homebrew/php/php55-mosquitto    homebrew/php/php72-mailparse    kubernetes-cli                  mycli                           sdl2                            yarn
byobu                           filebeat                        homebrew/php/php56-couchbase    homebrew/php/php72-msgpack      launchdns                       ncmpc                           shared-mime-info                yle-dl
certbot                         fio                             homebrew/php/php56-grpc         homebrew/php/php72-rdkafka      lean                            ndpi                            sip                             youtube-dl
certstrap                       flow                            homebrew/php/php56-mongodb      homebrew/php/php72-redis        lean-cli                        nedit                           skinny                          zabbix
cgal                            fluent-bit                      homebrew/php/php56-mosquitto    homebrew/php/php72-ref          lego                            neofetch                        snakemake                       zsh ✔
chronograf                      folly                           homebrew/php/php56-phalcon      homebrew/php/php72-ssh2         lftp                            nghttp2                         snap-telemetry
cimg                            fontconfig                      homebrew/php/php70              homebrew/php/php72-stats        libbitcoin                      ninja                           sngrep
citus                           fox                             homebrew/php/php70-ast          homebrew/php/php72-swoole       libbitcoin-explorer             no-more-secrets                 sourcery
clojure                         freetds                         homebrew/php/php70-couchbase    homebrew/php/php72-timecop      libcouchbase                    node ✔                          sphinx-doc
==> Renamed Formulae
gitlab-ci-multi-runner -> gitlab-runner                                              homebrew/php/php70-libsodium -><EMAIL_ADDRESS>                   httpd24 -> httpd
gnome-icon-theme -> adwaita-icon-theme                                               homebrew/php/php71-libsodium -><EMAIL_ADDRESS>                   mobile-shell -> mosh

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': /usr/local/Homebrew/Library/Homebrew/os/mac.rb:107: syntax error, unexpected '.' (SyntaxError)
      s&.path
         ^
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:17:in `<module:OS>'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:3:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/os/emoji.rb:1:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/emoji.rb:14:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:2:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/pathname.rb:4:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/global.rb:5:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:17:in `<main>'

Re-running the command worked.  Must have been due to the upgrade.

Have opened https://github.com/Homebrew/brew/pull/3240 which may fix this.

I'm seeing the same thing. Unfortunately running the command twice didn't work:
$ brew upgrade wget
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
==> Auto-updated Homebrew!
Updated Homebrew from dbc4a38 to 60a8b29.
Updated 2 taps (caskroom/cask, homebrew/core).
==> New Formulae
abyss                     bowtie2                   json-table                libbitcoin-node           xmrig
beast                     configen                  landscaper                libbitcoin-server         zim
bettercap                 fn                        libbitcoin-blockchain     liquid-dsp
==> Updated Formulae
abcmidi                   diffoscope                gtkextra                  macvim                    restund
activemq-cpp              digdag                    gtkmm3                    mame                      rgbds
aespipe                   direnv                    help2man                  mariadb ✔                 rom-tools
angular-cli               dlib                      heroku<EMAIL_ADDRESS>            s-nail
ansible                   docfx                     hugo                      mednafen                  saltstack
apache-arrow              docker                    hyper                     mercurial ✔               sbt
apache-brooklyn-cli       docker-cloud              hyperscan                 metabase                  scons
apache-geode              docker-completion         i3                        metricbeat                sdl2
apache-opennlp            docker2aci                idutils                   micro                     shared-mime-info
apache-zeppelin           dtc                       imagemagick               minizinc                  sip
apibuilder-cli            dwarf                     imagemagick@6             monit                     skinny
apktool                   efl                       imapsync                  mpage                     snakemake
app-engine-java           elasticsearch             influxdb                  mpg123                    snap-telemetry
arangodb                  elvish                    ios-sim                   mpw                       sngrep
artifactory               emp                       ipython                   mutt                      sourcery
asdf                      entr                      ipython@5                 mycli                     sphinx-doc
autoconf-archive          erlang ✔                  iso-codes                 ncmpc                     spigot
avro-tools                exim                      jenkins                   ndpi                      sqlparse
aws-sdk-cpp               exploitdb                 jetty                     nedit                     stone-soup
awscli ✔                  eye-d3                    jetty-runner              neofetch                  svtplay-dl
axel                      faac                      jhipster                  nghttp2                   swiftformat
azure-cli                 faad2                     jsonschema2pojo           ngspice                   swiftgen
bandcamp-dl               faas-cli                  jvgrep                    ninja                     syncthing
baresip                   fd                        kafka                     no-more-secrets           sysdig
bartycrouch               fibjs                     kibana                    node ✔                    taisei
bash-preexec              filebeat                  kitchen-sync              nspr                      tarantool
bazel                     fio                       knot-resolver             nss                       taylor
bento4                    firebase-cli              kobalt                    numpy                     tbb
binutils                  flow                      kompose                   openal-soft               telegraf
bison                     fluent-bit                kotlin                    opencoarrays              teleport
<EMAIL_ADDRESS>               folly                     kubernetes-cli            orientdb                  terraform
bit                       fontconfig                launchdns                 osc                       terragrunt
bltool                    fox                       lean                      osmfilter                 testssl
bluepill                  freetds                   lean-cli                  osxutils                  tmuxinator-completion
bower                     freetype                  lego                      ott                       todolist
brotli                    gandi.cli                 lftp                      overmind                  tomcat ✔
buku                      gauge                     libbitcoin                packetbeat                tomcat-native
byobu                     geckodriver               libbitcoin-explorer       paket                     tor
cake                      git ✔                     libcouchbase              pandoc-citeproc           treefrog
certbot                   git-annex                 libfaketime               parallel                  twtxt
certstrap                 git-lfs                   libhttpseverywhere        pegtl                     typescript
cgal                      giter8                    libmatroska               pgcli                     unbound
cheat                     glade                     libmodplug                pgloader                  urh
chronograf                glibmm                    libnatpmp                 pick                      varnish
cimg                      glide                     libngspice                pony-stable               vault
citus                     gmic                      libofx                    ponyc                     vim ✔
clhep                     gnatsd                    libowfat                  pre-commit                weechat
cli53                     gnupg                     libphonenumber            presto                    wireguard-tools
clojure                   gnupg-pkcs11-scd          libquicktime              prometheus                xa
cmake<EMAIL_ADDRESS>                  libraw                    pulseaudio                xtensor
coffeescript              gofabric8                 libre                     py2cairo                  yarn
conan                     gprof2dot                 libshout                  py3cairo                  yle-dl
conjure-up                gradle ✔                  libsodium                 pyenv                     you-get
convox                    grafana                   libtcod                   pyinvoke                  youtube-dl
cppad                     grails                    libtensorflow             python                    zabbix
cputhrottle               grip                      libuvc                    qpdf                      zsh
cython                    groonga                   libxlsxwriter             qrencode
dbus                      grpc                      logstalgia                rcs
dep                       gsoap                     logstash                  redis
dhall-json                gtk-gnutella              lxc<EMAIL_ADDRESS>==> Renamed Formulae
gitlab-ci-multi-runner -> gitlab-runner                            httpd24 -> httpd
gnome-icon-theme -> adwaita-icon-theme                             mobile-shell -> mosh

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': /usr/local/Homebrew/Library/Homebrew/os/mac.rb:107: syntax error, unexpected '.' (SyntaxError)
      s&.path
         ^
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:17:in `<module:OS>'
	from /usr/local/Homebrew/Library/Homebrew/os.rb:3:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/os/emoji.rb:1:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/emoji.rb:14:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:2:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/extend/pathname.rb:4:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/global.rb:5:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:17:in `<main>'
$ brew update
Already up-to-date.
$ brew upgrade wget
Error: wget not installed
$ which wget
/usr/local/bin/wget

@archiecobbs That's another issue. which wget does not imply it is installed by Homebrew.


only create one external token handler

This isn't really strictly a necessary refactor. But before the change, the external token handler logged DEPRECATION WARNING: The backend.auth.keys config has been replaced by backend.auth.externalAccess, see https://backstage.io/docs/auth/service-to-service-auth over and over again, once for every plugin. And in the choice of adding a hasLogged boolean in the class, and just making one instance of the class in the first place, this felt more frameworky.
Also accidentally changed a duration into a HumanDuration for clarity

oh ya it still stays plugin scoped, the api report doesn't change


Android installation is getting corrupted sometimes

Sometimes I'm getting an error in the simulator on startup, after chcp tries to install an update. Here's a screenshot:

I assume this may happen because the download or installation didn't fully complete before closing the application on a previous run.
Rerunning the application a second time starts it properly again - but it is reverted to the initially installed version (in the apk), all subsequent chcp installed updates are lost.
It also disables any kind of chcp updates from working until the app is uninstalled and reinstalled. I'm seeing an error reported by chcp on every app start:
"{"action":"chcp_updateLoadFailed","error":{"code":-9,"description":"Failed to load current application config"}}"

Understood. Will fix that.

I'm getting this on real devices as well, not just in the emulator. It might be related to the fact that the app has a lot of small files and the copy is taking a relatively long time (several seconds).
By inspecting the code I'm seeing that files are copied and the 'www' folder is replaced after a new update is installed: https://github.com/nordnet/cordova-hot-code-push/blob/master/src/android/src/com/nordnetab/chcp/main/updater/InstallationWorker.java#L194
I think that ideally the plugin should keep two copies of installations, say www1 and www2 and only swap to www2 if it is fully installed. If it is not, it can keep trying to clear and copy to www2 until everything is verified, and then swap to www2. New updates can then be installed to www1, and by the same logic www1 can then be used as the local folder.
This would at least ensure that users don't get stuck with a really old version when an update fails to install.
What would be your thoughts regarding this?

Actually, from what I can see, a variant of this is implemented and there is a backup folder. However, the backup folder is not rolled back to when Failed to load current application config occurs, and it looks like the external www folder remains there, corrupted. So the plugin stops working since it can see that the www folder exists, but it is empty.
I think the following issues need to be fixed.

If Failed to load current application config occurs, check if a verified backup is stored, and rollback to it. If no backup is stored, delete all external plugin data folders and start from scratch.
After external storage www installation, re-verify all files and store a config setting somewhere that it is ready to use, and only then attempt to use it.

For point 1, cordova/app start-up may need to be delayed a bit until the backup is restored, if that is even possible.

More info. I was able to confirm using
adb shell
run-as package.name ls /data/data/package.name/files/cordova-hot-code-push-plugin/www

That the folder is indeed half-copied. Some files are missing and some are there, the copy didn't go through completely before the app got killed.

I fixed this and got it finally working correctly. See #44.

Closing that issue, since main problem was detected and fixed. Will continue to work on making updates more secure, but it will be another issue.


Note that "bi-directional payment channels" are a proprietary unimplemented technology

For the sake of intellectual honesty, the FAQ should explain that Blockstream, a private for profit company, is exerting monetary influence upon many core devs to support a payment network that they have a stake in, reducing privacy and enabling rent seeking behavior at the expense of bitcoin users, stakeholders and the community. The FAQ should also note that this influence is also discouraging exploration and implementations of simple, open and decentralized solutions such as increasing the block size to enable more individuals and businesses to participate in the bitcoin economy in a way that does not render them vulnerable to Blockstream's machinations and schemes.

Please stop brigading this tracker.


feat(source): base http & grpc structure

Just a very basic setup for http server using Echo.

@abtinokhovat
About the neatness I'm with you, however I had to move the config.go to source root directory, IDK it's now better or not but seems cleaner.
what do you think? @gohossein

About the neatness I'm with you, however I had to move the config.go to source root directory, IDK it's now better or not but seems cleaner.
what do you think?

@abtinokhovat About the neatness I'm with you, however I had to move the config.go to source root directory, IDK it's now better or not but seems cleaner.
what do you think? @gohossein

It's better to keep all the configs related to the source layer are place in the same source directory.


Dice and Iou

Hello, can you provide the function to calculate Dice and Iou in the code, these evaluation indicators are very important in semantic segmentation.

Hi.
Thank you so much for emailing me.
As you know or do't know, the some typical loss-functions including Dice
are already in losses.py in our repositories.
For example, please refer to the following source code.
https://github.com/atlan-antillia/Tiled-Image-Segmentation-Multiple-Myeloma/blob/main/losses.py
Good luck, and thank you.
Have a nice weekend!
2023年6月24日(土) 21:18 closertt @.***>:

Hello, can you provide the function to calculate Dice and Iou in the code,
these evaluation indicators are very important in semantic segmentation.
—
Reply to this email directly, view it on GitHub
https://github.com/atlan-antillia/Image-Segmentation-Gastrointestinal-Polyp/issues/3,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALPI2IOBT3B3W3R4SLSFB5TXM3LH3ANCNFSM6AAAAAAZSPK4NQ
.
You are receiving this because you are subscribed to this thread.Message
ID: <atlan-antillia/Image-Segmentation-Gastrointestinal-Polyp/issues/3@
github.com>

I have just added the following explanation.
If you would like dice_loss function,
1 Modify train_eval_infer.config as below.
[model]
;loss           = "bce_iou_loss"
loss           = "dice_loss"
2 Modify TensorflowUNet.py to add the following line.
from losses import dice_loss

Hi, thank you very much for replying to me. I would like to know how to calculate the average Dice and Iou about the dataset, not the corresponding loss.

Hi, I have another problem, when the training set is replaced with my own data, I get the error below.

Hi.
Please check the following point.
1 Have you installed python packaged by the following command?

pip install -r requirements.txt
2 Are image_datapath and mask_datapth of [train] section in your train_eval_infer.config right?
image_datapath = "./GastrointestinalPolyp/train/images/"
mask_datapath  = "./GastrointestinalPolyp/train/masks/"
Are these datapath correct?

Hello, I solve a problem, I added create_backup = True in the .config file. But there is another problem, my path is correct, but I still get None values not supported error.

Hi.
my path is correct, but I still get None values not supported error.
—
If possible, could you please show me your error in full text (console
output)
to identity the reason of your "getting None values"?
2023年6月25日(日) 20:56 closertt @.***>:

Hello, I solve a problem, I added create_backup = True in the .config
file. But there is another problem, my path is correct, but I still get
None values not supported error.
—
Reply to this email directly, view it on GitHub
https://github.com/atlan-antillia/Image-Segmentation-Gastrointestinal-Polyp/issues/3#issuecomment-1606055527,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALPI2INW5I5XJFFFJVL6VV3XNARQHANCNFSM6AAAAAAZSPK4NQ
.
You are receiving this because you commented.Message ID:
<atlan-antillia/Image-Segmentation-Gastrointestinal-Polyp/issues/3/1606055527
@github.com>


Calling JSONPath::data() is deprecated, please use JSONPath::getData() instead.

After updating to 1.2.6, using grabDataFromResponseByJsonPath(..) results in
Calling JSONPath::data() is deprecated, please use JSONPath::getData() instead.
Which naturally fails the test unless most errors are ignored (which would be a very bad practice)

+1
It throws in https://github.com/Codeception/module-rest/blob/master/src/Codeception/Util/JsonArray.php#L90

+1
It throws in https://github.com/Codeception/module-rest/blob/master/src/Codeception/Util/JsonArray.php#L90

Yea, got too late yesterday, but this should be a trivial fix

Ah. #37 was already done.. too slow this morning, might need more coffee

Fixed by #37


Feature | Update Pypi release pipeline to point to the main/productive index

Replace https://test.pypi.org/pypi/ with https://pypi.org/simple and pre-releases flag on this action.

Done here: https://github.com/binbashar/leverage/pull/206


Grocery shopping scenarios are way too cautious

I think modeling a trip to the grocery store as being near 10 people for an hour is way too cautious. Am I understanding it right that this is saying you're 6-10 feet from an average of 10 people at a time for a total of an hour? You might spend an hour in the store, but how much time are you within 15 feet of another human? I would say in an average store on an average day I'm within 15 feet of another human for maybe about 10 minutes cumulatively, and in those 10 minutes I'm rarely that close to more than one or maybe two humans at a time. It seems to me that modeling a grocery trip as 10 or 15 minutes 6 ft away from 2 or 3 people would be far more accurate and still erring on the side of caution. Just my (hopefully appropriately humble) opinion.

dupe of #649

dupe of #649


404 NOT FOUND for some static files with ver. >=1.3.0

Like:

jquery-2.1.1.min.js
moment-2.8.4.min.js
filters-1.0.0.js
form-1.0.0.js
actions-1.0.0.js

It leads me to the following issue: https://github.com/airbnb/airflow/issues/296, which says it is a problem of flask-admin with ver. >= 1.3.0
I use flask-admin as root with url='/'
Any ideas?

There are no such files in the repository: https://github.com/flask-admin/flask-admin/tree/master/flask_admin/static/admin/js
And here's how they are included: https://github.com/flask-admin/flask-admin/blob/master/flask_admin/templates/bootstrap3/admin/base.html#L75
As you can see, version is added as argument, so resulting URL should look like: jquery.min.js?v=2.1.4
This change was made in July 5, certainly before 1.3.0 release.
Maybe you're using some custom theme which hardcoded links to old files?

@mrjoes Thanks for your reply!
Yes, I use the old template accidentally, and it works now after being updated.
But I'm wondering why it doesn't work if we have the files in local folder like '/static/admin', which the url seems good to me?


OTA demo on TI CC3235SF fails

I'm trying to run the OTA demo on the CC3235SF launchpad board from Texas Instrument. I know that this chip is not officially supported by Amazon FreeRTOS, but normally this should work, because it uses the same SDK (Simplelink CC32XX SDK) as the supported CC3220SF chip.
When running the demo, everything seems to work just fine. The demo can download the firmware image over MQTT and saves it on the SFLASH. The image is then set to the PENDING_COMMIT state and a reboot is executed, to test the new image. After the reboot, the chip does not startup and nothing is showing up in the output console. To get the chip out of this 'lock' state, I need to manual reset the chip what results in a rollback of the downloaded firmware
image.
Here are the console logs:
ota_demo_output.txt
I have tested the code on a CC3220SF and it works like expected!
I contacted TI about this problem and they said that it should work if I use to correct service pack, certificates and certificate catalog.
Does anyone know what the problem is or can someone point me in the right direction to solve it?
Thanks in advance!
Hans

Hey
I've set a breakpoint on the requested line and I can confirm that this will reset the device. When I comment the line, an error message is displayed indicating that a software reset is not possible and that a hardware reset must be performed (using the reset switch SW1). After I perform the hardware reset, the device comes in the same 'lock state' as with a software reset. This also confirms that the MAP_PRCMHibernateCycleTrigger does reset the microcontroller.
Here are the logs with some more information in it:
screenlog.txt
I currently use the latest version of the simpleLink SDK (simplelink_cc32xx_sdk_4_10_00_07). But I have also tested it with the previous version (simplelink_cc32xx_sdk_3_40_00_05). You are correct that the service pack is different for CC3235SF device. I have flashed the correct service pack on the device (tools/cc32xx_tools/servicepack-cc3x35/sp_<IP_ADDRESS>_<IP_ADDRESS>_<IP_ADDRESS>.bin)
Greetings
Hans

Hello,
Thank you for trying the steps to debug it further. We are working on getting this platform to debug this issue further and I will share updates here.

Hey
Is it possible to provide me with an update about this issue?
Thanks
Hans

Hello,
We have received the hardware for this platform and work is in progress. I will update here soon with solution.

Hi,
Has there been some progress on this since please? I am keen to see if there is anything I can do to help track this down.
Just as you've described, the firmware doesn't seem to be written to flash with CC3235SF. If it helps someone, on CC3220SF I have a little more luck, however the reset process does not work either and I don't believe this relates to amazon-freertos, to this effect I posted on the TI forums: https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/919422/3400829#3400829
Regards,
Will.

Hello,
We are observing the same issue as you described in the TI Forum. The call to sl_Stop does not return any error but still call to PRCMHibernateCycleTrigger  does not seem to reset the device. From the documentation PRCMHibernateCycleTrigger seems to be correct function to reset the SOC after calling sl_Stop. If we do not have any update on the TI forum I will try to get support on this issue using our channel.

@pvyawaha
Oh this is interesting, as per post on this TI issue, could it be the signature that needs to be sha256?
Apologies, I am unable to verify this over the next few weeks, but hope it can help someone.
Regards,
Will.

Hello ,
Can you please confirm if using SHA 256 solve the issue and this ticket can be closed?

Hey,
Yes, using SHA 256 solved this issue for us. Closing this issue now.