I/O 2015

Where's the I/O 2015 app?

项目简介上不就有么
https://play.google.com/store/apps/details?id=com.google.samples.apps.iosched

He is talking  about the code

That is what we are all waiting for :+1:
before that slowly we can complete this Home work  https://github.com/chrisbanes/cheesesquare

Hi, 2015 source isn't yet available. Rest assured that we are working on it.

Thanks for the update.
Do you know approximately when it will be available ?

Well，I think the app is open-source.

Maybe next month

Yes preeeeease, the source code for this is pedagogically important for the Android community

@timrae
yes, indeed :+1:

Sourc expect more interesting next time.!!wait

Come on, it's already time for IO 2016!

Hey guys, It's been days now. Please release the source !!

@PaulRashidi We have rested for 38 days now.

any idea when the 2015 source will be released? Is there that much proprietary code in it, or there is a lot of clean up to make it presentable to the public?

hoping earlier!

Why hasn't the iosched 2015 been released yet?  The year 2015 is half-way over already!

We know you won't let us forget. We are working on it still. If you have specific questions about how we did something let me know and I'll share the info in the mean time.
Thanks

I am specifically interested in the unit testing aspect of this project.
Things like MockWebServer, MockResponse, etc - which do integration testing
of restful APIs.
Thanks,
Igor
On Jul 31, 2015 3:22 PM, "Paul Rashidi"<EMAIL_ADDRESS>wrote:

We know you won't let us forget. We are working on it still. If you have
specific questions about how we did something let me know and I'll share
the info in the mean time.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-126789446.

We removed the use of the Google REST-based APIs in the app in 2015. File an issue on this repo (https://github.com/googlesamples/android-testing) asking if there is a good sample available. The team that monitors that sample might have something.

If you removed Google rest APIs, does that mean you aren't using REST
endpoints in the app?
On Jul 31, 2015 3:31 PM, "Paul Rashidi"<EMAIL_ADDRESS>wrote:

We removed the use of the Google REST-based APIs in the app in 2015. File
an issue on this repo (https://github.com/googlesamples/android-testing)
asking if there is a good sample available. The team that monitors that
sample might have something.
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-126791115.

Sorry, I translated that a little wrong on my side. We removed the use of https://developers.google.com/api-client-library/java/google-api-java-client/android this year. We still have  a server component. I assumed you wanted to see how to use the MockWebServer and MockResponse to for the Google REST calls which may or may not have been the case. It's still probably best to request this type of sample on that other repo.

@PaulRashidi, I'm really curious how the network layer is architected in the 2015 app.  Is there anyway you can describe or give any insight how it's implemented? I'm really excited to see how it was built.

Also, did you guys ever consider using MVP or MVVM patterns in any of the apps that you have worked on at Google Alphabet?

Looks like we may get iosched2015 by 2016 :)
On Aug 12, 2015 10:31 AM, "Nick Achtien"<EMAIL_ADDRESS>wrote:

Also, did you guys ever consider using MVP or MVVM patterns in any of the
apps that you have worked on at Google Alphabet?
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-130322247.

Does the Google io 2015 APP has a application structure like https://events.google.com/io2015/schedule?sid=358c9f91-b6d4-e411-b87f-00155d5066d7 ?

it would be great to see a good/correct example of a recyclerview with dynamic subheaders

here is the example, hope you like it

@Nick: Nothing fancy happening with networking although we are continuing
to use glide.
@Igor: We have considered those patterns. More on that later.
@Fabian: not really as that's a web app and IOSched is written as an
Android native app.
@halfbaked: You should request that sample on the existing RecyclerView
sample on GitHub as an issue and I'll talk to the person who maintains it.
Paul Rashidi | Developer Programs Engineer |<EMAIL_ADDRESS>|
818-5DE-VREL
On Tue, Aug 18, 2015 at 6:30 PM, hesling<EMAIL_ADDRESS>wrote:

here is the example https://github.com/cymcsg/UltimateRecyclerView,
hope you like it
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-132410631.

Thanks.  I'm looking forward to see what you guys have done.

@PaulRashidi thanks for the response. I've created the issue https://github.com/googlesamples/android-RecyclerView/issues/9

Hey guys don't worry. I'm sure they will relase the code soon(TM)

@nachtien had a very good point. When is Google going to invest a bit of time laying out some good architectural practices such as MVP without ending up using Dagger and EvenBus?

@nachtien. There is absolutely nothing wrong with using Dagger!  Dagger is
a perfect tool to complement MVP architecture.
On Sep 5, 2015 2:41 PM, "Davide Schembari"<EMAIL_ADDRESS>wrote:

@nachtien https://github.com/nachtien had a very good point. When is
Google going to invest a bit of time laying out some good architectural
practices such as MVP without ending up using Dagger and EvenBus?
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-137985716.

Nobody has said that there's something wrong with Dagger. But I'd personally prefer a platform that natively enables devs to implement a clean architecture without relying on 3rd-party libraries. I actually think that should be a given.

Dude, Dagger2 is dependency injection.  It is actually being developed by
Google now.  So excuse me if I don't understand what you mean by "replying
on 3rd party libraries".
On Sep 5, 2015 3:23 PM, "Davide Schembari"<EMAIL_ADDRESS>wrote:

Nobody has said that there's something wrong with Dagger. But I'd
personally prefer a platform that natively enables devs to implement a
clean architecture without relying on 3rd-party libraries. I actually think
that should be a given.
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-137988024.

@IgorGanapolsky
Official android guidelines clearly states that - "avoid dependency injection frameworks" like Guice or RoboGuice, though it doesn't mention Dagger anywhere. Link: https://developer.android.com/training/articles/memory.html#DependencyInjection.
Hence, I never bothered about using Dagger in my projects.

@epiphany27
See this - https://blog.gouline.net/2015/05/04/dagger-2-even-sharper-less-square/
(and this https://www.youtube.com/watch?v=oK_XtfXPkqw)
Dagger2 does not use refection. It simply generates the code at compile time. Because of this it does not have the overhead normally associated with dependency injection.

@shmuelr
That's fantastic :-). Thanks a ton!

epiphany27. It is very unfortunate that you have been so grossly misled and
are missing out on one of the most popular tools for today's Android
development.  Dagger was created as a response to those shortcomings in
Guice that you mentioned.  It creates an object graph at compile time so it
has no performance penalties.  And Google themselves are developing Dagger2
now!
On Sep 6, 2015 8:55 AM, "epiphany27"<EMAIL_ADDRESS>wrote:

@IgorGanapolsky https://github.com/IgorGanapolsky
Official android guidelines clearly states that - "avoid dependency
injection frameworks" like Guice or RoboGuice, though it doesn't mention
Dagger anywhere. Link:
https://developer.android.com/training/articles/memory.html#DependencyInjection.
Hence, I never bothered about using Dagger in my projects.
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-138081597.

The plight of Syrian refugees is sad, not using a dependency injection
library is simply a choice.
Relax Igor. Take a holiday, and some perspective. Your opinion is simply
that - your opinion.
On 6 September 2015 at 16:18, Igor Ganapolsky<EMAIL_ADDRESS>wrote:

epiphany27. It is very unfortunate that you have been so grossly misled and
are missing out on one of the most popular tools for today's Android
development. Dagger was created as a response to those shortcomings in
Guice that you mentioned. It creates an object graph at compile time so it
has no performance penalties. And Google themselves are developing Dagger2
now!
On Sep 6, 2015 8:55 AM, "epiphany27"<EMAIL_ADDRESS>wrote:

@IgorGanapolsky https://github.com/IgorGanapolsky
Official android guidelines clearly states that - "avoid dependency
injection frameworks" like Guice or RoboGuice, though it doesn't mention
Dagger anywhere. Link:

https://developer.android.com/training/articles/memory.html#DependencyInjection
.

Hence, I never bothered about using Dagger in my projects.
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-138081597.

—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-138089311.

@halfbaked. Not a choice sonn.  Ignorance.

@PaulRashidi why are you not just developing the missing parts of the app in the open? that way we could at least have a look at the current state. what is currently happening here is not quite what my definition of "open source" means...

@PaulRashidi I noticed a change in the back/up navigation from 2014/2015, i.e.:
In iosched 2015, if you navigate back/up from any activity that isn’t “Explore”, it will take you back to the “Explore” activity as opposed to 2014, where a similar action would exit the app.
How is this achieved? I thought maybe the Explore activity was the parent activity to the others, but I haven’t been able to duplicate this effect.
Any tips?

@perpetuatingcuriosity In io2014 we didn't have a Toolbar.  It is now
possible with the Toolbar.
On Sep 11, 2015 4:03 PM, "perpetuatingcuriosity"<EMAIL_ADDRESS>wrote:

@PaulRashidi https://github.com/PaulRashidi I noticed a change in the
back/up navigation from 2014/2015, i.e.:
In iosched 2015, if you navigate back/up from any activity that isn’t
“Explore”, it will take you back to the “Explore” activity as opposed to
2014, where a similar action would exit the app.
How is this achieved? I thought maybe the Explore activity was the parent
activity to the others, but I haven’t been able to duplicate this effect.
Any tips?
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-139648474.

@IgorGanapolsky Can you elaborate a bit? Is it just a Intent to start the Explore activity?

@PaulRashidi you're on target to miss the release of the OS that this app is supposed to serve an example for. I understand you're updating the app to better prepare for that, but last year that was done iteratively with public updates to the repo. It was a win-win situation since developers could follow along and Google was able to get feedback on what their pain points were. Why change that?

@PaulRashidi I really appreciate you taking the time to answer I/O 2015 questions in this issue. Any thoughts on my previous question? :
“In iosched 2015, if you navigate back/up from any activity that isn’t “Explore”, it will take you back to the “Explore” activity as opposed to 2014, where a similar action would exit the app.
How is this achieved? I thought maybe the Explore activity was the parent activity to the others, but I haven’t been able to duplicate this effect.”
If it is the toolbar, as @IgorGanapolsky mentioned, can you elaborate on how you used the toolbar to achieve this? I just restructured my app and this is an issue I’m having trouble solving.
At the moment I’m using a BaseActivity as in iosched 2014, and overriding onBackPressed to check if the activity is an instance of my MainActivity, if it isn’t I start a new intent to my MainActivity. This doesn’t seem like the best way to achieve this.
Would you be able to point me in the right direction?

WHO says "Source code for the app will be available soon after I/O" ?

Also waiting:-)

I told my son, when the source code released,  fork it on my grave ...

@Master-Wang  I added it in will.

What's the problem to release alpha version of source code and then continue improving it with community help?

Please show it.

2015-09-22

we are waiting for it :\

+1

I'm curious how the searchview widget was implemented in this app.  Hopefully the source code is released soon.

It's been over a month since this thread was last acknowledged by a maintainer.

By the time the source code is out. it will be google io 2016.

+1

Guys, it would be great if you could stop asking for the iosched 2015 source code. IF and WHEN it'll be ready for release, you'll get it. Asking every other day or +1 won't get us any closer to getting the sources -- if, again, they'll ever be released. So please respect others and stop spamming everyone.

@rock3r hi, man, take it easy, just kidding

@hesling  just kidding

+1. I'd like to see an example of how Google implement the search "filter" overlay that is triggered by the upper right button. It is a new pattern.
I subscribed to this thread from the very beginning and didn't post anything. Only until I see @rock3r 's message, I'd like to say who view those "+1" as spam should unsubscribe from this issue, and use another way to monitor (e.g. Google alert) or come back to check from time to time. People post messages for a reason. And I don't see anyone is intended to spam.

still waiting

Guys from Google. We are still waiting app...

waiting for the google io 2015!!!!

meh skip it, let's wait for 2016 :))

meh skip it, let's wait for 2016 :)) +1

do the right thing?
On 9 October 2015 at 10:24, Vipin Sahu<EMAIL_ADDRESS>wrote:

meh skip it, let's wait for 2016 :)) +1
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-146795217.

@halfbaked I~~ feel something so wrong, but Doing the right thing.

we need more patient
On Sat, Oct 10, 2015 at 11:32 AM hesling<EMAIL_ADDRESS>wrote:

@halfbaked https://github.com/halfbaked I~~ feel something so wrong,
but Doing the right thing.
—
Reply to this email directly or view it on GitHub
https://github.com/google/iosched/issues/139#issuecomment-147028810.

mark.

https://play.google.com/store/apps/details?id=com.google.samples.apps.iosched&hl=en
The official Google I/O 2015 app was built to be your co-pilot to navigate the conference, whether you’re attending in-person or remotely.
-- Explore the conference agenda, with details on themes, topics and speakers
-- Add events to a personalized schedule
-- Get reminders before events in “My schedule” start
-- Watch the keynote and sessions live stream
-- Sync your schedule between all of your devices and the I/O website
-- Guide yourself using the vector-based conference map
-- Follow public social I/O related conversations on Google+ and Twitter
-- See I/O content from previous years in the Video screen
-- Use the Widget to check your upcoming events directly from your home screen
Exclusive for In person attendees:
-- Take advantage of facilitated pre-event WiFi configuration
This app is optimized for phones and tablets of all shapes and sizes.
####Source code for the app will be available soon after I/O.

Initial source posted. We'll be iterating on it a bit going forward. As always we welcome contributions.

Thank you very much. Cloning.............. :dancers:

OH MY GOD!

YESSSSS!!!!

Finally , thank you google!!!:))

Great!!

disappointed to know that 2015 app doesn't use the data binding library.

Just had a quick check...Presenters? Unit Tests?
It's good to see these additions

Where is the link to the repo?


Overall Project Requirements

This is a checklist of requirements that we need to meet to have all marks :)

Project Requirements

[ ] Use Node.js and Express.js to create a RESTful API.

[ ] Use Handlebars.js as the template engine.

[ ] Use MySQL and the Sequelize ORM for the database.

[ ] Have both GET and POST routes for retrieving and adding new data.

[ ] Use at least one new library, package, or technology that we haven’t discussed.

[ ] Have a folder structure that meets the MVC paradigm.

[ ] Include authentication (express-session and cookies).

[ ] Protect API keys and sensitive information with environment variables.

[ ] Be deployed using Heroku (with data).

[ ] Have a polished UI.

[ ] Be responsive.

[ ] Be interactive (in other words, accept and respond to user input).

[ ] Meet good-quality coding standards (file structure, naming conventions, follows best practices for class/id naming conventions, indentation, quality comments, and so on).

[ ] Have a professional README (with unique name, description, technologies used, screenshot, and link to deployed application).

Presentation Requirement

[ ] Elevator pitch: A one-minute description of your application.

[ ] Concept: What is your user story? What was your motivation for development?

[ ] Process: What were the technologies used? How were tasks and roles broken down and assigned? What challenges did you encounter? What were your successes?

[ ] Demo: Show your stuff!

[ ] Directions for future development.

[ ] Links to the deployed application and the GitHub repository. Use the Guide to Deploy with Heroku and MySQLLinks to an external site. on The Full-Stack Blog if you need a reminder on how to deploy to Heroku.

Grading Requirement
Technical Acceptance Criteria: 25%

[ ] Application uses a Node.js and Express.js back end and uses both GET and POST routes for retrieving and adding new data.
[ ] Application has a folder structure that meets the MVC paradigm and uses Handlebars.js as the template engine.
[ ] Application is backed by a MySQL database with a Sequelize ORM and protects API keys and sensitive information with environment variables.
[ ] Application includes user authentication (express-session and cookies).
[ ] Application uses at least one new library, package, or technology not covered in class.

Concept 10%

[ ] Application deployed at live URL on Heroku and loads with no errors.
[ ] Application GitHub URL submitted.

Repository Quality: 10%

[ ] Repository has a unique name.
[ ] Repository follows best practices for file structure and naming conventions.
[ ] Repository follows best practices for class/id-naming conventions, indentation, quality comments, etc.
[ ] Repository contains multiple descriptive commit messages.
[ ] Repository contains a quality README file with description, screenshot, and link to deployed application.

Application Quality: 15%

[ ] Application user experience is intuitive and easy to navigate.
[ ] Application user interface style is clean and polished.
[ ] Application is responsive.

Presentation 10%

[ ] Your group should present using Powerpoint or a similar presentation software.
[ ] Every group member should speak during the presentation.
[ ] Your presentation should follow the Project Presentation TemplateLinks to an external site..

Collaboration 10%

[ ] There are no major disparities in the number of GitHub contributions between group members.


Playne can't be backedup

Ludusavi gets the save lists from PCGamingWiki, but the article for Playne didn't have any info on what to back up.
I found this thread that answers where the saves are, so I've added it to PCGamingWiki. It will be added into Ludusavi's data set automatically within a few hours :)


wt -v doesn't show correct version number for Preview

Windows Terminal version
1.16
Windows build number
10
Other Software
No response
Steps to reproduce
wt -v in Terminal Preview
Expected Behavior
Shows version of Preview
Actual Behavior
Shows regular version
In hindsight this could be expected, but the bug report template suggest to run wt -v to get the version..

If you've got both Terminal (stable) and Terminal Preview installed, wt.exe can unfortunately only point at one of them. Which one is determined by the OS, in the "App execution aliases" page of the settings app:

I bet that wt is set up to point at the Stable one, not the Preview one.

Sure, so maybe the gh issue template should mention this.


cargo build loops for ever

When I run 'cargo build' in my checkout of servo/ipc-channel cargo gets stuck in an infinite loop:
http://jrmuizel.github.io/tmp/cargo-log.gz

Do you think this is not hitting https://github.com/rust-lang/cargo/issues/4066? Without any ability to reproduce I can't quite say so myself..


Some methods are not found

I observed this bug not only on this project's query: it is a bug on SystemNavigation when looking for references to FFI methods that were executed.
Pablo Tesone helped me to propose a fix for this bug in Pharo's repo.

PR was merged in P11


[Bug]: Error messages from API should be consistent when an "ignored" header in an api call is given different information

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.41.1
Database
CockroachDB
Database Version
23.1.12
Describe the problem caused by this bug
if X is the instance's resource ID and Y is an organisation's resource id for the instance, then providing X in the x-zitadel-orgid header in a call to get-org-by-domain results in Organisation doesn't exist (AUTH-Bs7Ds) and providing Y produces Organisation not found (QUERY-iTTGJ).
Removing the x-zitadel-orgid header results in identical errors.
Either the documentation for get-org-by-domain needs to be updated to clarify what effect x-zitadel-orgid header has on the call (right now, it  isn't documented on that API call, so I would assume it does nothing), or the code needs to be updated to remove the implication that there is some kind of authentication error.
To reproduce
$ curl -s -L -X GET 'https://$DOMAIN/management/v1/global/orgs/_by_domain?domain=xxx' \
   -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Bearer xxx' \
   -H 'x-zitadel-orgid: Y'
"Organisation not found (QUERY-iTTGJ)"

$ curl -s -L -X GET 'https://$DOMAIN/management/v1/global/orgs/_by_domain?domain=xxx' \
  -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Bearer xxx' \
  -H 'x-zitadel-orgid: X'
"Organisation doesn't exist (AUTH-Bs7Ds)"

Hei @hexmode
Thanks for opening this up.
You are right at the moment on the requests itself its not really well documented.
You can find the information on the overview:

For clarification the management api is always based on an organization. If no header is specified we take the organization of the requesting user. But if you want to choose another organization you can send the header to specify it.
We already realized that the whole approach of having different apis, depeing on the use case might be difficult and we want to change that in the future (wip). you can find more information about that here: https://zitadel.com/blog/resource-api

I digged a little deeper and think i found the problem.
So on that request the org id is not docuemented, because it is a global request that searched across all the organizations. So you should actually not send the id.
As we do have a middleware that checkes for the neccessary requirements (permission, etc), depending on how you send the request the middleware does send an error, or are getting the error from the query itself as it doesnt find a result.
I will put it to the bug fixing column, but at the moment it is not a high priority as we are looking into how to make a better and more understandable api anyways.


Enable previously disabled linters like nakedret, revive unparam, gosec from golang-cli.yml

What this PR does / why we need it

Enable previously disabled linters like nakedret, revive unparam, gosec from golang-cli.yml.

Which issue(s) this PR fixes

Fixes #
Describe testing done for PR

Run command make lint - no issues

Release note

Enable nakedret, revive unparam, gosec linters.

Additional information
Special notes for your reviewer

I'm removing myself as a reviewer due to time constraints.


Suppress warning with valid

System check identified some issues:
WARNINGS:
my_code.Page: Page.search_fields contains non-existent field 'group'

I'm getting this warning for a valid many-to-many field that is being added as a filter to search_fields.
The field is referenced from ParentalManyToManyField. I tried using RelatedField as proposed in the docs which doesn't work.
Is this a known error? What could be the workaround?
In my case this warning is clogging up my logs in production but without a log id I'm unable to suppress the warnings in my Django app.
Here's where that field can be added: https://github.com/wagtail/wagtail/blob/main/wagtail/search/index.py#L117
Is it possible to add a id to the warning so we can suppress this warning on valid many-to-many relationships?

Example warning logs
Django Docs for warning/error Ids

Steps to Reproduce
class TaxonomyCategory(models.Model):
    name = models.CharField(max_length=100, blank=False)
    slug = models.CharField(max_length=100, blank=False, unique=True)
    description = models.CharField(max_length=255, blank=False)
    group = models.CharField(max_length=100, blank=False, default="")

class Page(RoutablePageMixin, BrandMixin, Page):
    taxonomy_categories = ParentalManyToManyField(
        CodeExchangeTaxonomyCategory, blank=True
    )

    search_fields = Page.search_fields + [
        index.FilterField('taxonomy_categories'),
        index.FilterField('group'),
    ]

Technical details

Python version: 3.8
Django version: 3.1.13
Wagtail version: 2.13.5
Postegres version: 11
Browser version: N/A

Hi @dholliday3 - thanks for the report.
Have added an ID to the warning in #8780 - will leave the other issue (i.e. whether m2m relations should be considered valid for FilterField) to someone more knowledgeable about the search module.

Hey @gasman. QQ. Will this patch be available in the next LTS minor version? 2.15.x?

@javoweb No, LTS releases will generally only receive updates for stability and security fixes, and this is really too minor for that.


Convert demo READMEs to Sphinx index pages

This moves us towards using Read the Docs as the main source of demos, by duplicating the indexing information from READMEs into the Sphinx docs.
We've decided to move to using Read the Docs like this because:

it gives us more control over how things are shown (e.g. #1386)
the display is faster
it allows us to version properly, including with internal links to documentation of the same version as the demo

I used m2r to convert each of our demo READMEs to a reStructuredText index.txt file, and then fixed them up by hand. For each index, I've gone with:
Title
======

... description with subsections etc ...

Table of contents
------------------

... full ToC listing of subfolders/demos of this index ...

(Where the description is empty in some cases, for directories without READMEs: #1139.)
The thinking is we'll replace the README.md files with a much simplified set of information, potentially just a link to the corresponding Read the Docs. However, the READMEs are still useful as an index if someone has a copy of the demos locally in Jupyter lab. Thus, this PR also extends the demo_table.py script to render the demo indexing table to both a raw-HTML markdown version into demos/README.md and a rST list-table version into docs/demos/index.txt. This means we can still retain that demo table in an otherwise reduced/not-human-maintained demos/README.md.
Other than extending demo_table.py, this tries to do the minimal work to get this working. Future work:

optimising the display of each of the tables (at the moment they scroll sideways a lot)
handling abbreviations in the main indexing table, because it doesn't seem easy to get hover text in rST
validating links (likely covered by #1360)
updating the demos to have relative links pointing to the index files, not README.mds (likely covered by #1292 and #1360)
updating the README files to remove their content
updating any links to the demos on GitHub to point to Read the Docs

Rendered demo landing page: https://stellargraph--1391.org.readthedocs.build/en/1391/demos/index.html
See: #1298

do we need longer names for the headings again?

Yeah, I'm going to open a follow up issue covering this and other bits from the PR description:

optimising the display of each of the tables (at the moment they scroll sideways a lot)
handling abbreviations in the main indexing table, because it doesn't seem easy to get hover text in rST
updating the README files to remove their content
updating any links to the demos on GitHub to point to Read the Docs

(The other future work there should be handled by other issues.)

I opened #1417, #1418, #1419, #1420.


Include a welcome (onboarding) page for users

Describe the feature you'd like
Include a welcome (onboarding) page for users

I would like to work on this


Great! One small wish...

I used your fine plugin so far only for making parameter images for my patches collection, but hell thats so much eassier as taking notes or pictures :) https://github.com/callimero/Monologue
One small thing: Could you include the name of the loaded patch in the Window? E.g. above or beneath "Program:" Slider?
I know I can look at the bottom, but thats tiny and very crowded there.

I'm afraid that's not possible due to limitations of JSFX. If the language is ever updated to allow this, I'd implement it by all means, but for now, there's nothing I can do other than print the name in the bottom window.

Maybe put it somewhat bigger into the bottom window? :)

Could be done, just gotta find an aesthetically pleasing place for it first.
It's actually sort of implemented in the code, but commented out.
https://github.com/Blokatt/FX4Reaper/blob/b6e08575d4f3afa5fd087e2a2a1a49a0c02ca8a4/monoctrl/monoctrl/monoctrl#L1199-L1206

Ah, did not expect a scripting language :)
Thats great!


Model audit log - site history report

Incorporates #7550 - extend the Site History report to include logs from non-Page models.

Merged in d67fdd1b8b216f9c917e9b09f83ff89fd466fb11


🐛 Bug Report: Backend failed to start up SqliteError: database is locked

📜 Description
I try to use the sqlite database with a file and get this error:
[1] Backend failed to start up SqliteError: create table `backstage_backend_tasks__knex_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `batch` integer, `migration_time` datetime) - database is locked
[1]     at Client_BetterSQLite3._query (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/dialects/better-sqlite3/index.js:39:38)
[1]     at executeQuery (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/internal/query-executioner.js:37:17)
[1]     at Client_BetterSQLite3.query (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/client.js:146:12)
[1]     at Runner.query (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/runner.js:123:36)
[1]     at Runner.queryArray (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/runner.js:217:21)
[1]     at ensureConnectionCallback (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/internal/ensure-connection-callback.js:11:19)
[1]     at Runner.ensureConnection (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/runner.js:300:20)
[1]     at async Runner.run (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/execution/runner.js:30:19)
[1]     at async listCompleted (/Users/Benedikt.Keil/development/github.com/otto-ec/si_backstage/src/node_modules/knex/lib/migrations/migrate/migration-list-resolver.js:12:3)
[1]     at async Promise.all (index 1) {
[1]   code: 'SQLITE_BUSY'
[1] }

👍 Expected behavior
The system should start
👎 Actual Behavior with Screenshots
Try one of there configs
backend:
  database:
    client: better-sqlite3
    plugin:
      test:
        connection:
          directory: database
          filename: catalog.sqlite

or
backend:
  database:
    client: better-sqlite3
    connection:
      directory: database

👟 Reproduction steps

Configure the database
start the application

📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

I'm not able to reproduce this, I tried the following config:
backend:
  database:
    client: better-sqlite3
    connection:
      directory: database

I am also seeing the error when using a directory + file for the DB

Would you be able to include some reproduction steps to help us debug this issue as we're not able to reproduce it with an app created using npx @backstage/create-app 🙏

Hmm. Yes. With a newly created app, it works fine. Maybe I have a plugin which is incorrectly managing the database connection? Do you have a link to the code which opens the database connection so I can see if any plugins are using it.

@danieljamesscott The only thing that plugins can generally do, is to call getClient() on the PluginDatabaseManager that they've been given by the backend. This is implemented by the DatabaseManger class, and it is meant to ensure to never try to create the same database twice, instead returning the same exact connection pool over and over if asked multiple times.
As long as unique plugin IDs are used for each plugin, and as long as the directory mode is used, and as long as you don't have any odd overrides in place that accidentally make the file names overlap - this should not lead to conflicts.
The deduplication code was added on October 3rd, so older releases of Backstage would indeed risk suffering from the problem you describe.

OK. I think I have figured out some steps to reproduce it. Possibly it's something to do with scheduled tasks starting up for scanning GitHub?

Create a new app using npx @backstage/create-app
Modify app-config.yaml to use database: directory instead of :memory:
yarn install && yarn dev to confirm that it works.
Install the GitHub catalog plugin yarn add --cwd packages/backend @backstage/plugin-catalog-backend-module-github
Add both the GithubEntityProvider and GithubOrgEntityProvider (The error did not show when only 1 of these was enabled.)
yarn dev

Error:
[1] Backend failed to start up SqliteError: create table `backstage_backend_tasks__knex_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `batch` integer, `migration_time` datetime) - database is locked

Could it be that you are missing an await on a promise when creating those scheduled providers? Such that it tries to run two migrations at the same time.
I'll add here too, that we don't officially support file based sqlite. The entire driver was originally only intended for quick and dirty in-memory local dev and testing use. The only officially supported drivers are postgres, and in-memory sqlite. If you or others in the community find bugs with the use of on-disk sqlite and fix them, we're of course super happy to keep up that best-effort support and help get those pull requests merged.

Just flagging that I stumbled on this too - it seems to me that there's a problematic interaction between the recommended way of using integrations like the GithubOrgEntityProvider and database migrations. It seems like there's nothing a consumer of this class can do when using the built-in TaskScheduler support to prevent it from asynchronously starting to schedule the task when it's constructed. This means that in some cases it will attempt to schedule the task while the database migration built into the CatalogBuilder is happening.
I'm not sure why it's only apparent for file-based SQLite though - perhaps because all the tables live in a single file, and therefore all get locked at once? The only workaround I could come up with is switching the schedule to manual, and manually scheduling the task myself after CatalogBuilder#build has finished (and therefore the database migrations are done).

@mtlewis huh, that seems like a bug or otherwise unexpected behavior with knex migrations or something like it O_o. The database migrations are supposed to have run to completion before the entity providers are connected (scheduled). Is it possible to reproduce this simply by combining the GithubOrgEntityProvider with file-based SQLite?

Using Backstage 1.13.0 I get the same error
I replicated the steps provided by @danieljamesscott at https://github.com/backstage/backstage/issues/15044#issuecomment-1359267272
I used yarn add --cwd packages/backend @backstage/plugin-catalog-backend-module-gitlab instead of github
Full stacktrace is
[1] 2023-04-24T08:03:42.234Z catalog info Performing database migration type=plugin
[1] Backend failed to start up SqliteError: create table `backstage_backend_tasks__knex_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `batch` integer, `migration_time` datetime) - database is locked
[1]     at Client_BetterSQLite3._query (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/dialects/better-sqlite3/index.js:39:38)
[1]     at executeQuery (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/internal/query-executioner.js:37:17)
[1]     at Client_BetterSQLite3.query (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/client.js:146:12)
[1]     at Runner.query (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/runner.js:123:36)
[1]     at Runner.queryArray (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/runner.js:217:21)
[1]     at ensureConnectionCallback (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/internal/ensure-connection-callback.js:11:19)
[1]     at Runner.ensureConnection (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/runner.js:300:20)
[1]     at async Runner.run (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/execution/runner.js:30:19)
[1]     at async listCompleted (/Users/carlostasada/source/backstage-test/node_modules/knex/lib/migrations/migrate/migration-list-resolver.js:12:3)
[1]     at async Promise.all (index 1) {
[1]   code: 'SQLITE_BUSY'
[1] }

came here to report the same thing on backstage 1.13.0 and adding just the GithubOrgEntityProvider entity provider, again when using sqlite not in memory. Can't replicate with in memory sqlite.
[1] 2023-04-28T09:45:33.245Z catalog info Performing database migration type=plugin
[1] Backend failed to start up SqliteError: create table `backstage_backend_tasks__knex_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `batch` integer, `migration_time` datetime) - database is locked
[1]     at Client_BetterSQLite3._query (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/dialects/better-sqlite3/index.js:39:38)
[1]     at executeQuery (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/internal/query-executioner.js:37:17)
[1]     at Client_BetterSQLite3.query (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/client.js:146:12)
[1]     at Runner.query (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/runner.js:123:36)
[1]     at Runner.queryArray (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/runner.js:217:21)
[1]     at ensureConnectionCallback (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/internal/ensure-connection-callback.js:11:19)
[1]     at Runner.ensureConnection (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/runner.js:300:20)
[1]     at async Runner.run (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/execution/runner.js:30:19)
[1]     at async listCompleted (/Users/msh/Documents/idp/my-backstage-app/node_modules/knex/lib/migrations/migrate/migration-list-resolver.js:12:3)
[1]     at async Promise.all (index 1) {
[1]   code: 'SQLITE_BUSY'
[1] }

Same issue with BitbucketServerEntityProvider.

@Rugvip Is it possible to reopen this issue? It affects our development environment negatively since we can't use a persistent storage without installing PostgreSQL. Everytime we restart the backend, we have to wait for the database to be populated before even logging in.

Hi All,
I am facing the same error with GITLAB:
Backend failed to start up SqliteError: create table `backstage_backend_tasks__knex_migrations` (`id` integer not null primary key autoincrement, `name` varchar(255), `batch` integer, `migration_time` datetime) - database is locked
[1]     at Client_BetterSQLite3._query (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\dialects\better-sqlite3\index.js:44:38)
[1]     at executeQuery (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\internal\query-executioner.js:37:17)
[1]     at Client_BetterSQLite3.query (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\client.js:154:12)
[1]     at Runner.query (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\runner.js:141:36)
[1]     at Runner.queryArray (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\runner.js:235:21)
[1]     at ensureConnectionCallback (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\internal\ensure-connection-callback.js:11:19)
[1]     at Runner.ensureConnection (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\runner.js:318:20)
[1]     at async Runner.run (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\execution\runner.js:30:19)
[1]     at async listCompleted (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\migrations\migrate\migration-list-resolver.js:12:3)
[1]     at async Promise.all (index 1)
[1]     at async Migrator.latest (C:\Users\p1356588\Desktop\Projects\bast\node_modules\knex\lib\migrations\migrate\Migrator.js:63:29)
[1]     at async migrateBackendTasks (C:\Users\p1356588\Desktop\Projects\bast\node_modules\@backstage\backend-tasks\dist\index.cjs.js:91:3)
[1]     at async PluginTaskSchedulerImpl.<anonymous> (C:\Users\p1356588\Desktop\Projects\bast\node_modules\@backstage\backend-tasks\dist\index.cjs.js:676:9)
[1]     at async PluginTaskSchedulerImpl.scheduleTask (C:\Users\p1356588\Desktop\Projects\bast\node_modules\@backstage\backend-tasks\dist\index.cjs.js:543:20)
[1]     at async Object.run (C:\Users\p1356588\Desktop\Projects\bast\node_modules\@backstage\backend-tasks\dist\index.cjs.js:569:9)
[1]     at async GitlabOrgDiscoveryEntityProvider.connect (C:\Users\p1356588\Desktop\Projects\bast\node_modules\@backstage\plugin-catalog-backend-module-gitlab\dist\index.cjs.js:226:5) {
[1]   code: 'SQLITE_BUSY'
[1] }

I have added Postgress database connection in app-config.local.yaml:
'''
backend:
database:
connection:
host: localhost
# Default postgresql port is 5432; this might be different for your installation
port: 5432
user: postgres
# Replace the password below with your postgresql password:
password:
'''
and my catalog.ts is:
'''
import { CatalogBuilder } from '@backstage/plugin-catalog-backend';
import { ScaffolderEntitiesProcessor } from '@backstage/plugin-scaffolder-backend';
import { Router } from 'express';
/* packages/backend/src/plugins/catalog.ts */
import { GitlabOrgDiscoveryEntityProvider } from '@backstage/plugin-catalog-backend-module-gitlab';
import { PluginEnvironment } from '../types';
export default async function createPlugin(
env: PluginEnvironment,
): Promise {
const builder = await CatalogBuilder.create(env);
builder.addProcessor(new ScaffolderEntitiesProcessor());
/** Adding Gitlab Configuration */
builder.addEntityProvider(
...GitlabOrgDiscoveryEntityProvider.fromConfig(env.config, {
logger: env.logger,
// optional: alternatively, use scheduler with schedule defined in app-config.yaml
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { minutes: 30 },
timeout: { minutes: 3 },
}),
}),
);
const { processingEngine, router } = await builder.build();
await processingEngine.start();
return router;
}
'''
Please help

@prateek45 it looks like you're still using better-sqlite as the client.
You will need to define client: pg in the backend.database section of the app-config.yaml too

unstale

Reopening this as we're facing the same issue.

@KillDozerX2 what's the issue your facing? We've not had a reply on this issue for quite some time after https://github.com/backstage/backstage/issues/15044#issuecomment-1752841916
Can you also list your config?

run in docker with better-sqlite3, I got this error.
yarn dev with better-sqlite3 works fine and run in docker with pg also works fine

closing this as the following should fix it:

it looks like you're still using better-sqlite as the client.
You will need to define client: pg in the backend.database section of the app-config.yaml too

we're still getting error with these configurations
database:
  client: better-sqlite3
  connection:
    directory: ./dbs
  knexConfig:
    pool:
      min: 0
      max: 1

[1] Backend failed to start up SqliteError: create table backstage_backend_tasks__knex_migrations (id integer not null primary key autoincrement, name varchar(255), batch integer, migration_time datetime) - database is locked

@gozdebudak We don't consider on-disk sqlite a supported option, and we're very wary of trying to introduce official support for it because of some complexities such as this one. Only in-memory sqlite, exclusively for quick local testing and debugging, is supported.
May I ask why you were using this in your setup?

@freben We also want to use in-memory sqlite for local testing and debugging. We are using non-persistant memory sqlite and everytime we restart the backend by adding or deleting code lines, we have to wait for the database to be populated. Also, our local environments are populated by our scm tool's test environment. So, if a bug occurs in this environment, we have to wait for the problem to be resolved to continue development.
If we could use a persistent storage, our development will not be interrupted.

I thought our sqlite databases were meant to be serialized and deserialized automatically during reloads in local dev (ping @Rugvip). Oh but it seems you're on the old backend system though, I may misremember how that was implemented - do you have it set up for hot reloading? For example https://github.com/backstage/backstage/blob/eeb5b782de04ef2f3561a22366acf909146dd881/packages/backend-legacy/src/index.ts#L169
I sometimes choose to run a local docker postgres for local dev also.

Just wanted to add "Plus 1" to running Postgres in a Docker container locally, that's worked very well for me. 👍

I checked and we have that line for hot reloading but it's still not working. We can not run docker on local because of company restrictions. Our Backstage version is 1.13.0, is there any chance to solve that with version upgrade?

@gozdebudak there's no guarantee, but that version is unfortunately quite old, so it's possible! :pray:


cygwin support in nixpkgs

rebase on master of #6101

will split this PR into 2, the one that does not require big stdenv rebuild and one smaller that does.


Improved the way requirements are handled, ensuring that pip gets all the information it needs.

Also renames the pypi name from Iris to scitools-iris.

Note: There would need to be some follow up work to ensure the developer/installation instructions are accurate.

Note that this requires a non-old setuptools and/or pip. I was getting:
(iris_dev) pelson@~/dev/scitools/iris> python setup.py install
error in scitools-iris setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

(iris_dev) pelson@~/dev/scitools/iris> vim requirements/full.txt
(iris_dev) pelson@~/dev/scitools/iris> conda update pip setuptools
Fetching package metadata .....
Solving package specifications: .

Package plan for installation in environment /Users/pelson/miniconda/envs/iris_dev:

The following packages will be UPDATED:

    pip:        8.0.1-py27_0 defaults --> 9.0.1-py27_0  conda-forge
    setuptools: 19.4-py27_0  defaults --> 36.6.0-py27_1 conda-forge

I can then install with setup.py

New commit added.

Phew. I'm a few iterations down, but have now ensured that the test-data was being installed properly (it wasn't in my previous passing commit). Ideally we'd have a check to ensure there are no skipped tests, but I didn't get around to implementing that.
Sorry for the added noise to .travis.yml. The way we do requirements is highly bound to the way we do continuous integration, and it was inevitable that the two would collide in this PR...
Should now be good to go.

@pelson We're now having systemic grib failures ...

curiously, this default test is failing test_license_headers (iris.tests.test_coding_standards.TestLicenseHeaders) ... SKIP: Iris installation did not look like a git repo

Doesn't that always happen in our existing tests too? If not, I'll dig a little...

Confirmed. On master we are currently:

skipping iris-grib tests on default (an oversight that I'm going to fix in this PR)
skipping dot tests on "default" (they are not being done anywhere by the looks of it...)
skipping the license header tests on "default" (they are done in coding)

======================================================================

FAIL: test_projections_and_annotations (example_tests.test_projections_and_annotations.TestProjectionsAndAnnotations)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/SciTools/iris/docs/iris/example_tests/test_projections_and_annotations.py", line 37, in test_projections_and_annotations

    projections_and_annotations.main()

  File "/home/travis/build/SciTools/iris/docs/iris/example_code/General/projections_and_annotations.py", line 110, in main

    make_plot('Equidistant Cylindrical', ccrs.PlateCarree())

  File "/home/travis/build/SciTools/iris/docs/iris/example_code/General/projections_and_annotations.py", line 105, in make_plot

    iplt.show()

  File "/home/travis/build/SciTools/iris/docs/iris/example_tests/extest_util.py", line 71, in replacement_show

    test_case.check_graphic()

  File "/home/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/scitools_iris-2.0a0-py3.6.egg/iris/tests/__init__.py", line 842, in check_graphic

    raise AssertionError(emsg.format(msg))

AssertionError: Image comparison failed: Bad phash 5fa17298a1580c27336eb3d08d9e4c3aed61a68d931c93d273ce7939ece4ad03 with hamming distance [8, 8, 6] for test example_tests.test_projections_and_annotations.TestProjectionsAndAnnotations.test_projections_and_annotations.0.

😢 - I'm going to dig now, but I have no idea what the issue is here... 😭

Looks like it is entirely unrelated, and would have happened on master too (confirming that now). I think it is related to GEOS being pinned on conda-forge: https://github.com/conda-forge/cartopy-feedstock/pull/41
I'm going to add the new image and we can move forwards (it is fine):

Confirmed. This is a failing test on master (as a result, I think, of the GEOS update).

@pelson https://github.com/SciTools/iris/pull/2912 is merged, so you can rebase ...

Do you actually want me to rebase? Are you happy with the implication that you will need to re-review the changes?

P.S. Instead of rebasing, I've given the power-cycle a shot (can't quite remember what that does in terms of CI testing)...

I couldn't find a .stickler.yml file in this repository. I can make one for you, or you can create one by following the documentation.

Looking promising. I've cherry-picked the stickler config into the v2.0.x branch, and pushed to the repo. I've also merged v2.0.x back into master. Will do the same once this is merged.

@pelson LGTM! Awesome work 👍

Thanks @bjlittle!


q option does not quit

Running the PkgCleanup.manifests() function we get a terminal menu.
Here the q option did not quit, but took me to the y/n prompt where I was close to answering y because yes I want to quit. What it was asking was if I wanted to delete all manifest references (all were chosen as default on start, and I didn't change any).
Feels like as it is now q (quit) and d (done) do exactly the same thing, which is a bit wasted, and at least in my opinion it is a bit unintuitive to get asked about deleting all after saying I want to quit.

julia> PkgCleanup.manifests()
Select the Manifest.toml to keep in /home/mose/.julia/logs/manifest_usage.toml
[press: d=done, a=all, n=none]

there's no quit option or am I missing something?

Seems like that is new for 1.9, getting the same as you on 1.8 but for me it looked like this:
julia> PkgCleanup.manifests()
Select the Manifest.toml to keep in /local/home/albheim/.julia/logs/manifest_usage.toml
[press: Enter=toggle, a=all, n=none, d=done, q=abort]
 > [X] /local/home/albheim/.julia/dev/ControlSystems/Manifest.toml
   [X] /local/home/albheim/.julia/dev/EMpht/Manifest.toml
   [X] /local/home/albheim/.julia/dev/PoleExploration/Manifest.toml
   [X] /local/home/albheim/.julia/dev/ReinforcementLearning/Manifest.toml
   [X] /local/home/albheim/.julia/environments/control/Manifest.toml
   [X] /local/home/albheim/.julia/environments/ml/Manifest.toml
   [X] /local/home/albheim/.julia/environments/v1.8/Manifest.toml
   [X] /local/home/albheim/.julia/environments/v1.9/Manifest.toml
   [X] /local/home/albheim/.julia/packages/Random123/qWUjl/Manifest.toml
v  [X] /local/home/albheim/Nextcloud/projects/ude_microservice_models/presentation/experiment/Manifest.toml

Well, the problem of the q option is that it returns an empty set, which isn't very useful as it's identical to the n (none) option.  There's no programmatic way to properly catch an actual quit.  That's an upstream limitation in REPL.TerminalMenus.  You may want to plug this into the brand-new issue https://github.com/JuliaLang/julia/issues/48381

Makes sense, I'll see if I add it there somewhere instead then. Closing this.


distribution: Add PVC to clouddot template

This will make the job queue persistent over redeployments.

Blocked on PersistentVolumeClaim resource usage permission

Got approved to use PersistentVolumeClaims in clouddot, removing blocked label.


test-branch/execute-job/quoted-authorization/5aa661b8-37eb-429c-9c8f-9daf0265c487

PR for testing 22313b6a14392a40655cbd6e9a4ff4fcfadbd3f4

/canonical/self-hosted-runners/run-workflows 22313b6a14392a40655cbd6e9a4ff4fcfadbd3f4


[Bug] [deploy] Error starting worker manager: model tongyi_proxyllm@proxy(<IP_ADDRESS>:5001) start failed

Search before asking

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

Operating system information
Windows
Python version information

3.10.3

DB-GPT version
main
Related scenes

[X] Chat Data
[X] Chat Excel
[X] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
Device: CPU
Models information
LLM: tongyi_proxyllm
EMBEDDING_MODEL=text2vec
What happened
启动服务时报错
error occurred when tried to start up the server
What you expected to happen

related context:

INFO:     Uvicorn running on http://<IP_ADDRESS>:5001 (Press CTRL+C to quit)
2024-02-21 20:35:42 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] **ERROR Error starting worker manager: model tongyi_proxyllm@proxy(<IP_ADDRESS>:5001) start failed,**
2024-02-21 20:35:42 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] INFO Stop all workers
2024-02-21 20:35:42 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] INFO Apply req: None, apply_func: <function LocalWorkerManager._stop_all_worker.<locals>._stop_worker at 0x00000208A4064CA0>
2024-02-21 20:35:42 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] INFO Apply to all workers
2024-02-21 20:35:48 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] WARNING Stop worker, ignored exception from deregister_func:
2024-02-21 20:35:48 DESKTOP-5JQT482 dbgpt.model.cluster.worker.manager[2256] WARNING Stop worker, ignored exception from deregister_func:

Here's the full log dbgpt_webserver.log

How to reproduce
when run python dbgpt/app/dbgpt_server.py
Additional context
No response
Are you willing to submit PR?

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

Have you enabled global proxies on your system? Please turn off it and try again.


FIX-#4154: add value_counts method for SeriesGroupBy and DataFrameGroupBy

Signed-off-by: Anatoly Myachev<EMAIL_ADDRESS>
What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4154
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

could you please create an issue to implement this method accordingly?

Done https://github.com/modin-project/modin/issues/5460


Using draft field in PR metadata instead of mergeable_state.

Mergeable state value is never draft, but there is a draft boolean field in the PR metadata that we can also use to identify draft PRs.
I can also create a PR to fix that. :)

Merged #3 . Thank for your help! Nicely done! :))


picked up vivek's two unsandboxing PRs

Update VCluster's version used by k8s.

This go.mod doesn't look correct. Only the line contains vcluster needs to be changed in go.mod, not other lines.

Let me try again.


chore(rust): introduce transport type

Current Behaviour
ockam_core::Address has a public field tt of type u8 which represents the transport type.
Proposed Changes
The field is no longer public and a separate type TransportType is introduced. This should make the use of the transport type more type-safe. A common case is creating random local addresses, previously done with Address::random(0). To help with this and to not require an extra import of a local TransportType, Address::random_local() can be used.
Checks

[x] All commits in this Pull Request are signed.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor Licence Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the ockam-network/contributors repository.

Sorry, looks like you collided with #2606. I probably should have landed yours first (well, the CI was mad about the CLA, although you've signed it now). Anyway, mind rebasing?


Add mandatory(*) for labelText in Input Decoration

this problem is still exist. need a solution

@tamzidpeace
This is already fixed and merged and should be available on latest master, https://github.com/flutter/flutter/pull/86810
So if you are not on master, you'll need to switch to latest master to see the change.
flutter channel master
flutter upgrade

Closing this as already fixed. If after upgrading to latest master, you don't see the change, write in comments and I'll reopen it.
Thanks.


Elapsed time support

In addition to rendering time relative to the present (2 hours ago, yesterday) it would be useful to be able to render elapsed times (2 hours, one day).  It looks to me like instead of a Bool for the time direction, there could be an enum such as TimeDirection = Future | Past | Elapsed.

Thanks for opening an Issue, that does sound reasonable. FYI this project is not currently maintained. Please see #13 for more details as well as alternative packages.
I'm probably going to update the README and archive soon. If you happen to have interest in maintaining though, do let me know on the linked Issue.

Sorry about that, I've switched to formatting and it seems fine.


@database not move

I try to move the @database from volume2 to volume3 but it gives me an error
`Synology_app_mover v4.2.78
DS411jv10-j DSM 6.2.4-25556-8
Running from: /volume3/temporaneo/mover/syno_app_mover.sh

Move
Backup
Restore
Select the mode: 1
You selected Move

[Installed package list]

/volume2  @database           3) /volume3  Hyper Backup Vault

/volume3  Hyper Backup        4) /volume3  Log Center
Select the package to move: 1
You selected @database in /volume2

/volume1

/volume3
Select the destination volume: 3
Invalid choice!
Select the destination volume: 2
You selected /volume3

Checking size of @database
Size of selected app(s) is 40 MB
Ready to Move @database to /volume3? [y/n]
y
/volume3/temporaneo/mover/syno_app_mover.sh: line 2863: systemctl: command not found
Line 574: ERROR Stopping pgsql service and dependent apps failed!
progstatus called from move_database line 2869 (v4.2.78)
`

Replied in https://github.com/007revad/Synology_app_mover/issues/150


[Unity]: Magic Leap (AArch64) support?

We're trying to port an app that uses Steam Audio from Windows/Unity to Magic Leap, which uses the ARMV8 AArch64 architecture. When we built the app to the Magic Leap sounds would play, but would not be spatialized. What happens is an exception for System.EntryPointNotFoundException is thrown when trying to access the Phonon's binaural renderer related methods. At this point we realized libphonon.so needed to be compiled for AArch64.
Ultimately, we're wondering if there are plans to compile the Phonon library for MagicLeap/AArch64 support?

The latest release, Steam Audio 2.0-beta.18, includes support for arm64 CPUs on Android.


Added support to choose from only valid combinations of database type…

…, source and authentication when creating a relational connection

Summary

Updated the UI so that only valid combinations of Datasource and Authentication strategies are shown given the database type.

How did you test this change?

[ ] Test(s) added
[ ] Manual testing (please provide screenshots/recordings)
[x] No testing (please provide an explanation)

(tried to add a video/screenshot but the files don't process)

major concern is for auth and datasource that are not part of core legend-studio. lets say we add an auth calleed 'myAuth' and It is valid for H2.

As discussed with @xannem
there are more database types that a user can select with extensions,
so you will need to edit the extension mechnaism to take in the database type and only return datasource speficiations/auth strategies that match the database type.


Updates Stuff for Easier Data Access

this PR does the following

fixes a naming problem with two facebook analytics methods, updates tests
adds followers to instagram


Load settings from a file

The following should be loaded from a file on the MicroSD card rather than being hardcoded:

[x] SST server domain / IP
[x] WiFi SSID and PSK
[x] NTP server domain / IP
[ ] timezone (?)

Solved by commit d62d840a9888dd8bc7747aea1896f82b6dcc064b.


fix: prevented writeFileSync from being called on client side

Description

close: #90

This PR fixes an error that occurs when using withTV() in a child package in monorepo (e.g. turborepo).
As explained in the supplement in #90, using withTV() in tailwind.config.ts of the parent package will not cause problems.
However, I believe there is a small demand to hide withTV() in the child package.
I would appreciate it if you could check this out when you are available.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Follow the Style Guide.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Refer to https://github.com/nextui-org/tailwind-variants/issues/90#issuecomment-1691782904.

Closing as not-necessary per the comments in #90


Pr 407 manual proof request

amended PR 407

I amended #407 by

cleaning up the proof request handling, this is now an own class
adding tests
adding problem report messages

One issue remains though, there is this auto present logic in case we initiated the proof request ourselves. If the auto-respond-presentation-request flag is set to true we will present the proof two times. The only fix is to load the aca-py config here and check if the flag is set to false, but we need api changes from aca-py 0.7.0 for that.

The auto_present flag should be available at the presentation exchange record itself.


repo dead?

@tkf is this repo dead?

I sent an email inquiring about transferring the pypi project if @tkf was no longer interested in it.  I never got a reply, so I've forked it, renamed it to pysexp, and will be releasing that, along with merging what outstanding work I can.

@jd-boyd fyi, if you've made the effort to contact the maintainers and they haven't got back to you, you can request that PyPI transfer the project to you

In case this isn't broadcast, @tkf has agreed to transfer the repo to me as well as give me access to make new releases on pypi and readthedocs.  As soon as possible, I will be going through the issues and pull requests.


Add rm-gradle-plugin

Add the rm-gradle-plugin to enable artifactoryPublish task for publishing artifacts to JFrog Artifactory.

Please add to description specification of org.octopusden.octopus-release-management in GRADLE_EXTRA_PARAMETERS


When a nested client is mocked, the top-level client becomes invalid

After spying on the AWS.DynamoDB.DocumentClient's .get() method ...
    const get = AWS.spyOnPromise('DynamoDB.DocumentClient', 'get', {
      key: 'value',
      data: 'stuff'
    });

... the AWS.DynamoDB "top-level" client breaks:
    // this fails with "AWS.DynamoDB is not a constructor", but should pass
    expect(() => {
      new AWS.DynamoDB();
    }).not.toThrow();

Not sure yet how to solve the problem, but this addition to the test suite reproduces the failure.
cc @springmeyer

Thanks for confirming this!

@rclark I think I fixed this in 44ab5be. Could you give it a review, see if the fix makes sense to you?

Published in 0.0.3.

This actually makes things worse 🤦 , so 0.0.3 is also unusable with DynamoDB. Agh.

I've unpublished 0.0.3 so other people don't use it. I'll open a new issue.


Custom PopupMenuItem padding

Fixes https://github.com/flutter/flutter/issues/78349.

Adds custom padding property to PopupMenuItem and CheckedPopupMenuItem
Pass height property through CheckedPopupMenuItem.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Setting Google testing to pass manually, since the failure seems unrelated to the change.


add a workflow pic to help people understand the core logic

Sorry for the late review, I'm busy with new features on the Dify main branch, anyway, thanks lots for your contribution!

Sorry for the late review, I'm busy with new features on the Dify main branch, anyway, thanks lots for your contribution!

It's ok, looking forward the new features :)


[k3s-upgrade] Dont have manifest for tags after v1.27.7-k3s1

Environmental Info:
K3s Version: v1.28.4-k3s1
Describe the bug:
I have a problem with k3s-upgrade, images after rancher/k3s-upgrade:v1.27.7-k3s1 do not have a common manifesto for different architectures, because of this system-upgrade-controller cannot work correctly and I see an error in jobs
Failed to pull image "rancher/k3s-upgrade:v1.28.4-k3s1": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/rancher/k3s-upgrade:v1.28.4-k3s1": failed to resolve reference "docker.io/rancher/k3s-upgrade:v1.28.4-k3s1": docker.io/rancher/k3s-upgrade:v1.28.4-k3s1: not found

Steps To Reproduce:
run  system-upgrade-controller
Additional context / logs:

https://hub.docker.com/r/rancher/k3s-upgrade/tags?page=1&name=v1.27.7-k3s1
https://hub.docker.com/r/rancher/k3s-upgrade/tags?page=1&name=v1.28.4-k3s1

We are working through issues with our CI infra. Images will be up when they're ready.

Reopening to pin


Create interactive documentation

As done in https://github.com/fhightower/ioc-finder/issues/144 (except I may experiment with a different strategy to see what works best).

Done!


[Pokemon Description] Map of location where the pokemon was captured is not displayed

Expected Behavior
Map of the location where pokemon was captured should be there in Pokemon's Description menu
Actual Behavior
White image. (This may be used to catch botters)
Steps to Reproduce

Catch a pokemon through bot
Go to pokemon menu
Select the latest catched pokemon which open up the description menu.
Scroll down and check out the capture map location for the pokemon.

Other Information
OS: Ubuntu 14.04.4 GNOME
Git Commit: 7009a4a4e643d42df39125d1262a7715bb3501a1

this is because of the "3 steps bug" and has nothing to do with the bot.

Thanks, confirmed. Closing.


What to do with the QCed bam in bulk expression

At the moment, after step3, RNA_QCed BAM is not used for RSEM quantification,
as shown in the following image:

Therefore  in fact it has no impact in the downstream analysis.
So I wonder what to do with it?
One potential proposal is to feed the output from RNA_QCed to the RSEM quantification, but since the original workflow didnt do that, I don't know if doing so is incorrect.

It seems an error to me in the flowchart ... @Gou-29  could you verify and/or explain why RSEM does not use BAM file after QC?

As it turn out. the output of RNASeQC is not a bam file, but
{sample}.gene_reads.gct : A tab-delimited GCT file with (Gene ID, Gene Name, coverage) tuples for all genes which had at least one read map to at least one of its exons
{sample}.gene_tpm.gct : A tab-delimited GCT file with (Gene ID, Gene Name, TPM) tuples for all genes reported in the gene_reads.gct file. Note: this file is renamed to .gene_rpkm.gct if the --rpkm flag is present.

It seems that the output of RSEM is better to serve as the input of downstream analysis, therefore I will try to add picardQC before RSEM.

The current implementation of picard didnt allow to sort by transcriptome, to changes it, at least we need to changes the python wrapper developed by gtex

It is even more complicated than my previouse comments: According to the document of the -ASO flag of picard, there doenst seems to be a obvious way to works with the Aligned to transcriptome bam file.
If not null, assume that the input file has this order even if the header says otherwise. Default value: null. Possible values: {unsorted, queryname, coordinate, duplicate, unknown} Cannot be used in conjuction with option(s) ASSUME_SORTED (AS)

We decided not to qc the RSEM input for duplicates and use the output from RNA_QC  step as gene level counts for downstream analysis


🔧(project) replace pyup with renovate for dependencies updates

Purpose
We decided to migrate to renovate bot to manage all our dependencies on openfun projects.
Proposal

[x] remove PyUP configuration
[x] add base openfun renovate configuration

add base openfun renovate configuration

This part of the PR seems missing.


TODO: volumetric visualization

Have a method in volumetric atlases that uses
nilearn plot_glass_brain to plot tract image
also optionally add roi outlines
Can have the same method for streamlinetric atlases;
generate density map first rather than
extracting image volume

made a start on this. need to move it into the viz volumes.py file.


Add USD $amount to tokens

the layout is not suitable for mobile.

the layout is not suitable for mobile.

Updated


[README] Clean up old source code information.

Swift for TensorFlow no longer uses a separate tensorflow branch of the Swift compiler.
Resolves https://github.com/tensorflow/swift/issues/542.

Change location


Remove randomUUID for 100x speedup

A simple change with a big impact.

:+1: One comment to address then merge at will once tests pass.

Done, will merge once tests show green.


Adds a notice to check the logs when the eww daemon isn't running

Description
Maybe this will stop the huge amount of issues that say their eww daemon doesn't start
Usage
It just works:tm:
Showcase

Now that the eww daemon autostarts and logs are printed out better, is this still necessary?


Can't play HLS stream

Hi. Compiled from latest source, and the program starts fine. A few warnings in there, but no showstoppers.
Running the program with switches -v -S /dev/video0,default says that the following streams are accessible:
Play this stream using the URL "rtsp://<IP_ADDRESS>:8554/ts"
HLS       http://<IP_ADDRESS>:8554/ts.m3u8
MPEG-DASH http://<IP_ADDRESS>:8554/ts.mpd
Play this stream using the URL "rtsp://<IP_ADDRESS>:8554/unicast"

The only play "type" that seems to work though is rtsp://IP:8554/unicast with VLC though. I'm most interesting in trying the http streams, but accessing the ts.m3u8 and ts.mpd suffixes produce a 405 error.
Going to the root and looking in the index.html, it references the url /getStreamList?streamList, and if I use curl to access that, it comes back with an empty list :
curl -L http://<IP_ADDRESS>:8554/getStreamList?streamList
var streamList=[
]
This is also supported by the console in Chrome, where it tries to connect to http://<IP_ADDRESS>:8554/undefined.m3u8 because the first element [0] in the returned list is essentially empty. This produces a 405 error and the browser doesn't get any further,
Am I missing something or doing something stupid?
Kind Regards
Andy

Hi frankerooney,
This seems correct.
However HLS works only with H264/H265, are you using this capture format ?
Best Regards,
Michel.

Thank you Michel,
That makes sense for the HLS stream definitely - it works, without sound for some reason, if I use the loopback h264 compression module. Not sure about the dash stream, I may have the wrong program to play that; should the rtsp://ip:8554/ts stream also work? The unicast one does, but this doesn't seem to.
In the end I guess that without hardware h264, such as on the RPI, it's all just a bit much for even reasonable hardware to stream adequately. I was hoping to get webcam feed + sound, but although mjpeg works, it's difficult to find another low cpu use way of transmitting both over http.
Thanks!
Andy


integrated BasicServices and ApplicationPattern to the server-side

Fix https://github.com/openBackhaul/MicroWaveDeviceGatekeeper/issues/33
Reviewer @PrathibaJee

Thanks for including the required changes. Please resolve the merge conflict and merge the changes. (Also its fine if you remove the package-lock.json file)

Thanks for including the required changes. Please resolve the merge conflict and merge the changes. (Also its fine if you remove the package-lock.json file)

Thank you for details, package-lock.json has been deleted now and i pushed the changes


add Dashboard

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@juzhiyuan
Pls add some instructions on how to compile the dashboard, and you can submit the compilation results so that I can see the effect directly on my machine.

@membphis Pls check the README file under the dashboard folder.
https://github.com/juzhiyuan/apisix/tree/dev/dashboard

The development of Consumer & Upstream have completed.


Update to storage refs 2-22-2017

Update to storage refs 2-22-2017

Hi @bbenz, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (bbenz). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@bbenz, it looks like this undoes a lot of the PascalCase changes I made.

To many conflicts, etc, restarting a clean PR


Troubles with creating plugin

Hello everybody,
I have the following issue with creating a plugin for an android SDK
package com.me.plugin

import android.app.Activity
import android.content.ContentValues.TAG
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.os.Message
import android.util.Log
import androidx.annotation.NonNull
import com.me.plugins.meplugin.Api
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.embedding.engine.plugins.activity.ActivityAware
import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel

class MainActivity: FlutterPlugin, MethodChannel.MethodCallHandler{

  /// The MethodChannel that will the communication between Flutter and native Android
  ///
  /// This local reference serves to register the plugin with the Flutter Engine and unregister it
  /// when the Flutter Engine is detached from the Activity
  private lateinit var channel : MethodChannel
  private lateinit var context: Context
  private lateinit var activity: Activity

  override fun onAttachedToEngine(@NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) {
    Api.getInstance()
    channel= MethodChannel(flutterPluginBinding.binaryMessenger,"net.plzft.poc_od")
    context = flutterPluginBinding.applicationContext
    channel.setMethodCallHandler(this)

  }

  override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {
    if (call.method == "getPlatformVersion") {
      result.success("Android ${android.os.Build.VERSION.RELEASE}")
    }
    if (call.method.equals("isRegisteredToBackend_p")) {
      result.success(Api.getInstance().isRegisteredToBackend)
    }else {
            result.notImplemented()
          }
  }
}

import 'dart:async';

import 'package:flutter/services.dart';

class Meplugin {
  static const MethodChannel _channel =
      const MethodChannel('net.plzft.poc_od');

  static Future<String> get platformVersion async {
    final String version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }

  static Future<bool> get isRegisteredToBackend__p async {
    final bool version = await _channel.invokeMethod('isRegisteredToBackend_p');
    print(version);
    return version;
  }
}

import 'dart:developer';

import 'package:flutter/material.dart';

import 'package:flutter/services.dart';
import 'package:meplugin/meplugin.dart';
import 'package:shared_preferences/shared_preferences.dart';

class InitPage extends StatefulWidget {
  @override
  InitPageState createState() => InitPageState();
}

class InitPageState extends State<InitPage> {
  @override
  void initState() {
    super.initState();

    setState(() {
      _isRegisteredToBackend = null;
    });

    initIsRegisteredToBackend();
    initVibrateState();
  }

  void initVibrateState() async {
    final prefs = await SharedPreferences.getInstance();
    prefs.setInt('notifications', 1);
  }

  //static const platform = const MethodChannel('net.plzft.poc_od');

  bool _isRegisteredToBackend = false;

  bool isRegisteredToBackend() {
    return _isRegisteredToBackend;
  }

  Future<void> initIsRegisteredToBackend() async {
    bool temp;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      temp = await meplugin.isRegisteredToBackend__p;
    } on PlatformException {
      temp = false;
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;

    if (!temp && _isRegisteredToBackend != temp) {
      log('_isRegisteredToBackend: $temp');
      setState(() {
        _isRegisteredToBackend = temp;
      });
      Navigator.popAndPushNamed(context, '/welcome_page');
    }

    if (temp) {
      Navigator.popAndPushNamed(context, '/home_page');
    }

  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            new CircularProgressIndicator(),
          ],
        ),
      ),
    );
  }
}

Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
E/flutter (16050): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method isRegisteredToBackend on channel net.plzft.poc_od)
E/flutter (16050): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter (16050): <asynchronous suspension>
E/flutter (16050): #1      Meplugin.isRegisteredToBackend (package:meplugin/meplugin.dart:16:26)
E/flutter (16050): <asynchronous suspension>
E/flutter (16050): #2      InitPageState.initIsRegisteredToBackend (package:meplugin_example/init_page.dart:44:14)
E/flutter (16050): <asynchronous suspension>
E/flutter (16050):
E/flutter (16050): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

As you see I tried to create channel which should send a bool as an answer to request(methodcal) from flutter.
As you see I tried to create channel which should send a bool as an answer to request(methodcall) from flutter.
1.I have a method in api isregisteredtobackend
2.I use it in MainActivity where it is called
3.I implement this method in plugin in lib source
4.Call it on init page
5.The method is not found
Can anybody give me advice why my code doesnot work (((

@Retvisan
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing from here now, since it doesn't seem to be a bug or feature request. If you think otherwise or feel this is indeed a bug in the framework, write in comments and I'll reopen it.
Thanks.


Create a proposal template

Hi, it would be nice if any committer could create a [Proposal] issue template.
What do you committers say? :)
I tried it on my own repository, it's pretty easy. It's done over here:
https://github.com/apache/incubator-druid/issues/templates/edit
And documentation is here:
https://help.github.com/articles/creating-issue-templates-for-your-repository/
https://help.github.com/articles/about-issue-and-pull-request-templates/
I could see a couple of good examples when searching for the Proposal tag.
(Off topic, but BTW, we could even add more templates for bug reports in the future to promote structured reporting.)

Proposal template PR: https://github.com/apache/incubator-druid/pull/7062

resolved by #7062


Allow keeping mail view shortcut buttons at the bottom of screen

Expected behavior
With many Android phones having large screens, it's important to optimize the placement of UI elements for single handed device usage. Previously K-9's buttons for deleting, archiving etc a mail where at the bottom of the screen and can be reached easily when handling the phone with a single hand.
Actual behavior
Now all buttons are at the top of the screen and out of reach while using a phone with a single hand.
Thank you for working on the UI update. It's great, but I hope such usability issues can be resolved.
Steps to reproduce

Update K-9 mail

Environment
K-9 Mail version: 5.7
Android version: 10

Yes, I agree, please have the icon shortcuts on the Bottom of the screen (like it use to be) as it's easier to use.

There are no plans to bring back the bottom bar.


4.1.3 NPM release has a weird compilation artifact

TypeScript Version:  4.1.3

Search Terms: 4.1.3 oldSourceFile typescript.js
Code
In node_modules/typescript/lib/typescript.js, line 147193:

Notice the 'oldSourceFile' string
Expected behavior: Not have this compilation artifact
Actual behavior: Works fine, besides when being called from rollup it seems
Playground Link: N/A
Related Issues: N/A

Update: Downloading the source from the npm registry seems to not have this issue. Ill investigate further!

Resetting npm cache seems to have sorted this problem. Not sure why it was occurring to begin with though :thinking:

Hmm, still occurring but i cant seem to narrow down the source. I know versions before 4.1.3 don't cause this weird artifact locally. If i find anything, ill follow up!

Installing on completely empty project, with one dep which is typescript 4.1.3, still results in the same issue. And the rath error i mention above looks like a misspelling of 'path'.
Any ideas as to what could cause this odd behaviour? I've noticed this only happens when installing using yarn.


.css.scss depreciated

A heads up… We just started using your gem (thanks!) and in our Rails 4 app have started seeing this deprecation warning:
DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /path-to-gems/slick_rails-1.4.1/app/assets/stylesheets/slick-theme.css.scss to /path-to-gems/slick_rails-1.4.1/app/assets/stylesheets/slick-theme.scss. (called from _app_views_layouts_example_html_erb___2865326732302554426_70169517746940 at /my-rails-app/app/views/layouts/store.html.erb:6)```

It should be as easy as renaming *.css.scss to *.scss. Let me know if you'd like a Pull Request. My main concern is seeing the update up on rubygems for our picky production server ;-)

thanks! I'll remove that pesky .css today!

done!


bicep visualiser error

[Bicep version
0.17.1
Describe the bug
still getting this error
https://github.com/Azure/bicep/issues/2752#issue-896774312
To Reproduce
Additional context

its ok


pantsbuild.pants-1.7.0 raise exception "invalid ELF header"

Issue description
When trying to use pants with a command such as pants goals, I get
Exception caught: (<type 'exceptions.ImportError'>)

Exception message: /tmp/tmpZpQw47/native_engine.so: invalid ELF header

Steps to reproduce
nix-env -iA nixos.pants
touch pants
pants goals
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 4.14.63, NixOS, 19.03pre154487.0a7e258012b (Koi)
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.1.3
channels(root): "nixos-19.03pre154487.0a7e258012b"
channels(lorilan): "nixpkgs-18.09pre149508.5cb9703a8fa"
nixpkgs: /home/lorilan/.nix-defexpr/channels/nixpkgs

Package was removed in #152907


Add pyproject.toml build system

trying to address issue #363

Btw, I think the requirements are already there: https://github.com/nerfstudio-project/gsplat/blob/507f26e118afb78ef0224ad5e0d0701f1b973853/setup.py#L130-L137


Add role for viewing application-service namespace

Adds a role for viewing the application-service namespace on the staging cluster. Adds myself as one of the users with the role.

Hmmm... guess I'd better read the bot docs.  Magic comments.  :-)


[solved] Qt example Debug Version Not working (But Release worked)

First of all ,thank you for the detailed documentation and illustration in source code.  The problem I encountered might be my own mistake, please help.
I tried to build QT version of example, with half success.  In short, release version works perfectly, but debug version runs into core dump.
steps to build  release version (working)
the environment is Kubuntu 16.04 64-bit. using default install of libboost-all-dev and libssl-dev
in a working directory /tmp/working

git clone --recurse-submodules https://github.com/socketio/socket.io-client-cpp.git
cmake .
make
make install

I get  two directories
/tmp/working/socket.io-client-cpp/build/include
/tmp/working/socket.io-client-cpp/build/lib/Release
following the readme.md in QT example dir, I can get the example running properly.
steps changed to build debug version (core dump)
The only change is  step 2  from above
from 'cmake . '  =>  'cmake -DCMAKE_BUILD_TYPE=Debug '
Starting /tmp/working/socket.io-client-cpp/examples/QT/build-SioChatDemo-Desktop_Qt_5_6_0_GCC_64bit-Debug/SioChatDemo...
[2016-05-23 22:27:42] [devel] endpoint constructor
[2016-05-23 22:27:42] [devel] client constructor
[2016-05-23 22:27:42] [devel] asio::init_asio
[2016-05-23 22:27:42] [devel] set_open_handler
[2016-05-23 22:27:42] [devel] set_close_handler
[2016-05-23 22:27:42] [devel] set_fail_handler
[2016-05-23 22:27:42] [devel] set_message_handler
The program has unexpectedly finished.
/tmp/working/socket.io-client-cpp/examples/QT/build-SioChatDemo-Desktop_Qt_5_6_0_GCC_64bit-Debug/SioChatDemo crashed
appendix: the project file for QT example, modified according to readme.md
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = SioChatDemo
TEMPLATE = app

CONFIG+=no_keywords
CONFIG+=c++11

SOURCES += main.cpp\
        mainwindow.cpp \
    nicknamedialog.cpp \
    ../../../src/internal/sio_client_impl.cpp \
    ../../../src/internal/sio_packet.cpp

HEADERS  += mainwindow.h \
    nicknamedialog.h \
    ../../../src/internal/sio_client_impl.h \
    ../../../src/internal/sio_packet.h

FORMS    += mainwindow.ui \
    nicknamedialog.ui

CONFIG(debug, debug|release):DEFINES +=DEBUG=1

INCLUDEPATH += $$PWD/../../../build/include
INCLUDEPATH += $$PWD/../../../lib/rapidjson/include
INCLUDEPATH += $$PWD/../../../lib/websocketpp
DEPENDPATH += $$PWD/../../../build/lib

CONFIG(release, debug|release): LIBS += -L$$PWD/../../../build/lib/Release/ -lsioclient
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../build/lib/Debug/ -lsioclient

CONFIG(release, debug|release): LIBS += -L$$PWD/../../../build/lib/Release/ -lboost_random
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../build/lib/Debug/ -lboost_random

CONFIG(release, debug|release): LIBS += -L$$PWD/../../../build/lib/Release/ -lboost_system
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../build/lib/Debug/ -lboost_system

CONFIG(release, debug|release): LIBS += -L$$PWD/../../../build/lib/Release/ -lboost_date_time
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../build/lib/Debug/ -lboost_date_time

I think I messed up build environment,  using separate directory to do Debug and Release will solve the problem.


ForeignKeyContainer cannot find symbol variable

DBFlow Version:
3.0.0-beta6
Issue Kind (Bug, Question, Feature):
Bug
Description:
When you have two classes(ModelA and ModelB) that extends BaseModel and one class (ModelB) uses the second(ModelA) as primary key, you will get a "cannot find symbol variable" error in ModelB_Container.ForeignKeyContainer toForeignKeyContainer(ModelB model).
Take a look at my example
DBFlowTest.zip

Im going to paste the tables here for reference.
ModelA
@Table(database = MyDataBase.class)
@ModelContainer
public class ModelA extends BaseModel {
    @Column
    @PrimaryKey
    public int id;
    @Column
    public String Name;
}

ModelB
@Table(database = MyDataBase.class)
@ModelContainer
public class ModelB extends BaseModel {
    @ForeignKey
    @PrimaryKey
    public ModelA modelA;
    @PrimaryKey
    public int subID;
}

fixed i ndevelop


Update Composer dependencies (2021-09-17-00-07)

Visual regression test passed!
View the visual regression test report


Game crashes on world generation [playing with multiple other mods, including create addons]

Describe the Bug
After getting through world settings and pressing the create world button, the game gets to the percentage screen, but crashes before it gets past 0%.
Reproduction Steps

Open Minecraft with the mods.
Create a new world.
Game crash.

Expected Result
The world to generate and not crash.
Screenshots and Videos
No response
Crash Report or Log
https://gist.github.com/TheLemon27/13cba78427449937673b9ae13d15feef (compact error message below)
Operating System
Windows 10
Mod Version
0.5.1f
Minecraft Version
1.20.1
Other Mods
(note: all of these mod names were pulled straight from what they were called in the mod menu. if you need the version of any of these mods, feel free to ask! i didnt put them here because that would be a ton of extra work and it's already past when I should be sleeping anyway.)
2x Better Intelligence
Additional Entity Attributes
Admiral
Aliven't Messenger
Amethyst Gravity: Reattracted
Applied Energistics 2
Architectury
AudioPlayer
Automobility
Bad Packets
Baubly
Better Recipe Book
Blank Discs
Botarium
Chat Heads
Create Dragon Lib
Create Enchantment Industry
Create Utilities
Create: Big Contraptions
Create: Estrogen
Create: Interactive
dark-matter
Debugify
Ears
EldritchMobs
EMI
EMI Enchanting
EMI Loot
EMI Trades
Energy
EnhancedBookWriting
fakerlib
Flywheel
From The Fog
Gravity Changer (qouteall fork)
Happiness is a Warm Gun
Immersive Paintings
Indium
Infinite Dimensions 1.20.1
Infinity Buttons
JsonEM
Jukeboxfix
Just Player Heads
LambDynamicLights
Lithium
Manningham Mills
MazeRunner
Mod Menu
Music Control
Pal
Phillip's Ruins
polymer-bundled
Polymorph
Potion Sauce
Pretty in Pink
Projectile Damage Attribute
Recipe Book Is Pain
Resourceful Lib
Server Translations API
Show Me Your Skin!
Simple Captcha
Simple Voice Chat
SimpleRadio
SmartBrainLib
SmartNameTags
Sodium
Sound Physics Remastered
Stoneworks
Trinkets
Valkyrien Skies 2
Voice Chat Interaction
When Dungeons Arise
wthit
XP Storage
XP Storage - Trinkets
YUNG's API
YUNG's Better Dungeons
YUNG's Better Jungle Temples
YUNG's Better Mineshafts
YUNG's Better Nether Fortresses
YUNG's Better Strongholds
YUNG's Better Witch Huts
YUNG's Bridges
Zenith
Zenith Attributes
Additional Context
Compact error message here (the one that shows up in the launcher):
The game crashed whilst exception in server tick loop
Error: java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of com.simibubi.create.content.trains.entity.Train failed

caused by interactive


out parameters with .NET arrays

Hi @ClearScriptLib
I have a problem with the keyword out and .NET arrays. The array object itself does not seem to have an .out method implemented
here is a simple example
//Script
var stringArray= host.newArr(System.String, 3)

method1(stringArray.out) // --> error: method1 got invalid arguments

// c#
    public void method1(out string[] strArray)
    {
             // Initialize the array:
            strArray = new string[3] { "do", "some", "thing"};
    }

Basically the out parameter works with single variables, but unfortunately I can't get it to work with arrays.
Thanks for the support

Hi @OuterHeaven07,
out is a property of host variables. To call method1, you must first create a host variable of type string[]. You can use an initial dummy value to avoid having to provide an explicit type argument when invoking newVar:
const initialDummyValue = host.newArr(System.String, 0);
const arrayVar = host.newVar(initialDummyValue);
method1(arrayVar.out);
System.Console.WriteLine(System.String.Join(', ', arrayVar));

Good luck!


Helm Chart Dependency Versions in chart.lock Not Matching Specified Versions

I created a Helm chart with two dependencies specified in the chart file. I put specific versions of the dependencies.
When I run helm dependency build command line, it usually pull the latest versions from the artifactory, even though the versions I specified exist in the JFrog artifactory. In the chart.lock file I have always the latest versions.
Output of helm version:
version.BuildInfo{Version:"v3.13.3", GitCommit:"c8b948945e52abba22ff885446a1486cb5fd3474", GitTreeState:"clean", GoVersion:"go1.20.11"}
Output of kubectl version:
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3
WARNING: version difference between client (1.29) and server (1.27) exceeds the supported minor version skew of +/-1

Hi 👋 Can you give an example please

Hello,
I have the exact same problem as @Diliz, I am using SemVer2 versions for my Helm Charts that I publish to an Artifactory.
The version format is {major}.{minor}.{patch}+{build} where build is a short git commit SHA.
Then I am trying to generate a Chart.lock file from a Chart.yaml targeting a precise value of my chart like 0.9.4+352bd but I always get the latest version based on the publication date in Artifactory.
I would expect an option to allow helm dependency build to not upgrade to the latest build or a specific command like helm dependency lock to generate a lockfile exactly matching the Chart.yaml version constraint.

I opened a separate issue for my case but it looks like Helm actually does not properly handle equality constraints with either build info or pre-releases: https://github.com/helm/helm/issues/13245