Setting up MAESTRO on python

Hi Everyone,
I’m new to MAESTRO. I’m still trying to figure out how to install and run MAESTRO for my project. I would really appreciate if I can get some help from anyone about how to set MAESTRO up on python. Thanks

It seems like you would have to compile it first usings scons (run scons. You will need scons).
As for running on python, you can use the os package to feed the maestro executable the flags/options.
For example:
import os os.system("./maestro --HW_file='<your hardware file>.m'")


The bottom toolbar buttons cannot be pressed on the Series 7

Pressing the 5th toolbar buttons onwards toggles the clock instead.

Right, the toolbar API in the Psion 5 release only supported 4 buttons and the clock is given a pseudo id of 5. I'll make it use a larger id...

@tomsci fixed this! 🎉


Refresh editables

Hi! Is there a way that I could refresh or change the editables in the Editor?
My scenario is that the editor's content is changing after I choose an option. I keep on having the warning: "You have defined multiple instances of Editor, this could cause problems." when I change options.

Could you share the code? You don't really need to propagate any changes manually, using editor.trigger.editable.update(/*...*/) (see example here but replace add with update) you can update any editable :)
Make sure to only have one new Editor() in your code!

Here is my implementation.
export default class MainEditor extends React.Component {
  constructor(props) {
    super(props);

    this.editorState = this.props.editorContent || createEmptyState();
    this.editor = new Editor({
      plugins: this.props.plugins,
      editables: [...this.props.editorContent, createEmptyState()],
    })
    this.onClickSave = this.onClickSave.bind(this);
  }

  render() {
    const { editorContent } = this.props;

    return (
      <div>
        <Editable
          editor={this.editor}
          id={this.editorState[0].id}
          onChange={state => this.onHandleChange(state)}
        />

        <Trash editor={this.editor}/>
        <DisplayModeToggle editor={this.editor} onClickSave={this.onClickSave}/>
        <Toolbar editor={this.editor}/>
      </div>
    );
  }
}

Will try editor.trigger.editable.update(/*...*/) and I think because I put the new Editor() in the constructor causes multiple instance of the Editor.
Thanks!

I just tried it and moved new Editor() outside the class, and it worked. Thanks a lot!

Perfect! I'm glad you got it working!


ImageCache should be a public type

We expose imageCache, which is an ImageCache, but previously the class
was private which means there was no documentation for the methods on
that object.
Fixes #1750

@Hixie @krisgiesing

lgtm.
There's still not going to much documentation since that class has no dartdocs. ;-)


[portfolio] overlay tags

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
Currently one can't add additional information to a portfolio item.
What you expected to happen:
Additional information for portfolio items such as "design", "exit", "client" etc.

Ability to add a list of tags.
[[tags]]
  label/name = "client"
  color = "primary"
  align = "left"

That would be my suggestion. Probably should overflow the image.
Another option would be to do this on portfolio instead of items. Ideas?

Maybe labels is a better word for this.

From a design I think a span with the color should work. Most likely either right at the top or below the subtitle. Also should overflow the gray overlay I think or get hidden on hover.


DPDK: DPDK backend does not accepts token length of more than 60 chars

  so make sure token length is always less than 60 chars

@kamleshbhalui Instead of shortening, can we not use some mapping of names? After shortening the names look incomplete and also having the number fixed to 15 or any other number doesn't look like an elegant solution.
My suggestion is to have an internal mapping of the names
<original big Name, fixed name with unique_id suffix>
<metadataxxxxxxxxxxxxxxxxxxxxxxxxxbigname, dpdk_meta1>
<metadataxxxxxxxxxxxxxxxxxxxxxxxxxbigname2, dpdk_meta2>
And as discussed,  we can emit the original name as a comment.


TV Settings L2 VTS - Gray Pattern and RGB Pattern

In the test RGB Pattern and Gray Pattern, the loops are currently iterating up to 256 which exceeds the valid range of 0 to 255. The valid values within the inclusive range [0, 255].

merged to develop


Add support for blob-level KMS encryption keys

She's been having some trouble with automerge lately, so let's see if it actually works.

Merging in spite of unrelated logging systest failures.


Question on ApplicationInsights

Hello,
I am relatively new to AppInsights and exploring how it works with different types of dependencies. I have a question on using the AppInsights ASP Net Core sdk with Messaging Service Bus sdk.
How can I capture messages to service bus while sending or receiving using this sdk in dependency? I understand that this is not something we would like to log all the time and I will make it configurable.
Thanks

Many thanks for your response. I used the same approach in the link. Thanks.


Can I add a non- columned row to a worksheet

I use importexcel to create reports we use for compliance audits.  Auditors like some information on the report to show when & how it was generated.  I'd like to add a line or two at the top that is not part of the export data.  Thoughts on how to approach this?
I could build a custom object with the data - is there a way to export to object type to a worksheet?
\Greg

I think I found a workable solution in one of the examples. I export the data, open the file, add rows to the top and specify data with Set-Format.
If anyone has a idea for a better way, I'm all ears.

Yes.  You can use -PassThru too, maybe you already are.

$xlfile = "$env:TEMP\test.xlsx"
rm $xlfile -ErrorAction SilentlyContinue

$excel = gsv | Export-Excel $xlfile -StartRow 5 -PassThru -AutoSize

Set-Format -WorkSheet $excel.Sheet1 -Address a1 -Value "Hello World"
Set-Format -WorkSheet $excel.Sheet1 -Address b2 -Value (get-date).ToShortDateString()

Close-ExcelPackage $excel -Show

Thanks. I need to remember that.  Since I'm generating a lot of similar reports I built a function to add the header info.
I continue to be amazed by how powerful this package is. I jumped to PowerShell long ago, in part, because how easy import/export-csv made it to manipulate spreadsheet data,  ImportExcel brings that in spades.
Thanks!

You can also specify -Title so you can put "Blah, blah generated so and so"
The you want something more than one cell then the best thing is to specify -startRow and passthru, then us your own code to write the extra data you want  and close-excelPackage to save it.
(you might even be able to create it as data and export-excel a second time into above the data)

Thanks for the help!


[backport -sys 0.4] Fix sys duplicate impl + release -sys v0.4.1

The -sys v0.4.0 version currently doesn't build. This backports the fix into a new 0.4.1 version. I created a release branch for that.

I've seen some CI fixes by @sanket1729. Which ones do you reckon we need here?

K I don't really need this anymore, so feel free to close it and you guys enjoy the conference :)

I don't think we can fix this without updating the underlying C lib which we already did in the other PR!
We are also waiting for the downstream ecosystem to upgrade (all the way to bdk and miniscript), so we can use the newly released version 😁


🐛 FIX: Spellings and Structure

This PR fixes the spellings of my name. And I believe individuals should be listed before companies since they need more exposure. So, I rearranged it.

This is what it looks like https://github.com/MaedahBatool/awesome-pakistani/blob/patch-1/README.md

@MaedahBatool I have updated the structure, Please update/add your entry according to contribution guide line.
Thanks


Error: Cannot resolve a DOM node from Slate node: {"text":""}

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Decap CMS version<EMAIL_ADDRESS>Git provider: github
Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

CMS configuration
backend:
  name: github
  repo: Fuelweb/dishfun
  branch: main
  base_url: https://protected-plains-93496.herokuapp.com
  squash_merges: true
  site_url: https://www.dishfun.com
publish_mode: editorial_workflow
media_folder: assets/images
logo_url: https://www.fuelwebmarketing.com/assets/images/fuelweb-nobg.png
collections:
  - name: pages
    label: Pages
    folder: _pages
    create: true
    editor:
      preview: false
    summary: "{{titletag}}"
    fields:
      - label: Title (used for default url and netlify display)
        name: title
        widget: string
        required: true
      - label: Layout
        name: layout
        widget: string
        default: page-full
      - label: "Permalink (optional: link is named automatically from the title field)"
        name: permalink
        widget: string
        required: false
      - label: SEO Title Tag
        name: titletag
        widget: string
      - label: Description
        name: description
        widget: string
      - label: Body
        name: body
        widget: markdown
      - label: Sitemap
        name: sitemap
        widget: boolean
        default: true
        required: true
      - label: JSON Schema Markup
        name: schema
        widget: text
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: blog
    label: Blog
    folder: _blogposts
    create: true
    preview_path: blog/{{slug}}
    editor:
      preview: false
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
    summary: "{{date}} - {{h1Headline}}"
    fields:
      - label: Title (used for url and netlify display)
        name: title
        widget: string
        required: true
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Publish Date
        name: date
        widget: datetime
        format: YYYY-MM-DD
        time_format: false
      - label: SEO Title Tag
        name: titletag
        widget: string
      - label: Description
        name: description
        widget: text
      - label: Author
        name: author
        widget: select
        options:
          - Michelle McHugh
          - Alfred Rasch
      - label: Featured Image
        name: featuredImage
        widget: image
      - label: Featured Image Alt Tag
        name: featuredImageAlt
        widget: string
      - label: "Permalink (optional: link is named automatically from the title field)"
        name: permalink
        widget: string
        required: false
      - label: "H1: H1 needs to go here for SEO"
        name: h1Headline
        widget: string
      - label: Body
        name: body
        widget: markdown
      - label: Sitemap
        name: sitemap
        widget: boolean
        default: true
        required: true
      - label: JSON Schema Markup
        name: schema
        widget: text
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
  - name: salesbanner
    label: Sales Banner
    files:
      - label: Top Nav
        name: sales-banner
        file: _data/sales-banner.yml
        fields:
          - label: Text
            name: text
            widget: string
          - label: Start Date
            name: startDate
            widget: datetime
          - label: End Date
            name: endDate
            wid
...

Hi @Mishmcq, please fill out all the fields in the issue template. The information you provided is not enough to debug the problem.
I'm closing the issue for now. Once you add the missing information, I can open it again.


Extract text plugin with code splitting

When I'm using code splitting via require.ensure is it possible to get .css files generated from those chunks? Even though I'm using the extract text plugin, it seems like the stylesheets are getting embedded in the chunks created from require.ensure

I have the same issue

Give the allChunks: true option to the ExtractTextPlugin instance. But then it'll pull the CSS from all chunks for the entry points it works on, even if you want to preserve it in some of them...

I already give allChunks options, But it still don't work for me !

Yes, some problem

@sokra, does this fix here: https://github.com/webpack/webpack/issues/2450 apply to Webpack 1 as well? Or do I need to upgrade my app?

@sokra can be accomplished somehow currently?

Same desire here.

+1

+1

Same desire here. wii support?

Running into the same problem. I'd really really like to be able to do something like:
require.ensure([], function (require) {
    require('./someFile.css');
}, 'chunkName')

And have it output a css file.

This feature request continues in #455 :)


docs: add comparison guide for Vercel and Coolify deployment platforms

#8 Vercel vs Coolify BLog

Summary by CodeRabbit

New Features

Introduced a comprehensive guide comparing Vercel and Coolify deployment platforms for 2024, detailing features, pros and cons, workflows, performance metrics, and real-world use cases.

@abhaysinghr516 this is all AI-generated content.


Added dependencies for Ubuntu.

 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.


Workspace - Single category and tag isn't auto selected when requesting money

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/40217
Action Performed:

Log in with a new Gmail account
Create a workspace
Edit categories and tags so you only have one of each
Make tags and categories required
Navigate to FAB - Submit expense - Manual
Select the workspace chat
Tap on the "Show more" button

Expected Result:
Category and tag fields should auto select the single entry
Actual Result:
Single category and tag isn't auto selected when requesting money
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/4393eec4-0e65-44b4-ace6-3a2b22552b60
View all open jobs on GitHub

@zanyrenney  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - Single category and tag isn't auto selected when requesting money
What is the root cause of that problem?
There is an implementation for this
What changes do you think we should make in order to solve the problem?
Update this line as below
const selectedOptionKey = useMemo(() =>{
if(sections?.[0]?.data.length === 1 ){
return sections?.[0]?.data[0].keyForList
}
return (sections?.[0]?.data ?? []).filter((category) => category.searchText === selectedCategory)[0]?.keyForList

} , [sections, selectedCategory]);
What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - Single category and tag isn't auto selected when requesting money
What is the root cause of that problem?
This is a regression caused by https://github.com/Expensify/App/pull/40217 and was suggested in https://github.com/Expensify/App/issues/38744#issuecomment-2049248660.
iouCategory and transactionID should be included in the category dependencies required because the iouCategory will change after the first render.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L515-L523
The tag field does not have this issue because the dependencies are set properly.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L537-L539
This is why I only experienced this with the category field.
I believe the category dependencies should not have the eslint rule line like the tag dependencies`.
Note:
I noticed you can empty the tag and category for a brief moment before the backend reverts them.
Hence, I recommend we prohibit the ability to change the tag or category in this situation on the edit pages in the PR.
What changes do you think we should make in order to solve the problem?

First, add iouCategory and transactionID as apart dependies. Hence, it should look like the code example below.
}, [iouCategory, transactionID, shouldShowCategories, policyCategories, isCategoryRequired]);

Finally, remove the eslint rule line below because there will be no dependency issues.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L522
What alternative solutions did you explore? (Optional)
Since iouCategory is defaulted to an empty string, we can initialize it to the only categories in the MoneyRequestConfirmationListProps if the enabledCategories is equal to one and categories are required.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - Single category and tag isn't auto selected when requesting money
What is the root cause of that problem?
This is a regression caused by https://github.com/Expensify/App/pull/40217 and was suggested in https://github.com/Expensify/App/issues/38744#issuecomment-2049248660.
iouCategory and transactionID should be included in the category dependencies required because the iouCategory will change after the first render.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L515-L523
The tag field does not have this issue because the dependencies are set properly.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L537-L539
This is why I only experienced this with the category field.
I believe the category dependencies should not have the eslint rule line like the tag dependencies`.
What changes do you think we should make in order to solve the problem?

First, add iouCategory and transactionID as apart dependencies.
Hence, it should look like the code example below.
}, [iouCategory, transactionID, shouldShowCategories, policyCategories, isCategoryRequired]);

Finally, remove the eslint rule line below because there will be no dependency issues.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L522
What alternative solutions did you explore? (Optional)
Since iouCategory is defaulted to an empty string, we can initialize it to the only categories in the MoneyRequestConfirmationListProps if the enabledCategories is equal to one and categories are required.
Note
I noticed you can empty the tag and category for a brief moment before the backend reverts them.
Hence, I recommend we prohibit the ability to change the tag or category in this situation on the edit pages in the PR.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - Single category and tag isn't auto selected when requesting money
What is the root cause of that problem?
This is a regression caused by https://github.com/Expensify/App/pull/40217 and was suggested in https://github.com/Expensify/App/issues/38744#issuecomment-2049248660.
iouCategory and transactionID should be included in the category dependencies required because the iouCategory will change after the first render.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L515-L523
The tag field does not have this issue because the dependencies are set properly.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L537-L539
This is why I only experienced this with the category field.
I believe the category dependencies should not have the eslint rule line like the tag dependencies`.
What changes do you think we should make in order to solve the problem?

First, add iouCategory and transactionID as apart dependencies.
Hence, it should look like the code example below.
}, [iouCategory, transactionID, shouldShowCategories, policyCategories, isCategoryRequired]);

Finally, remove the eslint rule line below because there will be no dependency issues.
https://github.com/Expensify/App/blob/1e510b52a5c65a2c812e74feb686debea6e0b040/src/components/MoneyRequestConfirmationList.tsx#L522
What alternative solutions did you explore? (Optional)
Since iouCategory is defaulted to an empty string, we can initialize it to the only categories in the MoneyRequestConfirmationListProps if the enabledCategories is equal to one and categories are required.
Note
I noticed you can empty the tag and category for a brief moment before the backend reverts them.
Hence, I recommend we prohibit the ability to change the tag or category in this situation on the edit pages in the PR.
https://github.com/Expensify/App/assets/22982173/991f05bc-85f2-416c-a63c-3a4ab4fd1a9b

Hey @Krishna232, the useEffect needs the iouCategory dependency like the useEffect for the tags hook.

adding external label

@ahmedGaber93 we have a few proposals now, please review them and let me know which we should go forward with. As this is related to release one this is pretty urgent so if you don't have capacity, please assign yourself and I will assign another C+.

@zanyrenney Reviewing today.

Thanks for the proposal every one!
@Krishna2323 your proposal will work, but it will auto select the single item even if tags/categories isn't set as a required which not match the expected result.
@GandalfGwaihir your RCA is correct, and your fix should work fine, but that's mean isCategoryRequired and isTagListRequired is under beat canUseViolations, I will ask in slack, and you can dig in the code to find why this is still under beta while we can access categories/tags in IOU request and make them required in workspace settings without this beta.
@Tony-MK your RCA is incorrect, if you have beta canUseViolations it should work fine without your fix.

Asking in slack to know why isCategoryRequired and isTagListRequired is under beat canUseViolations, while we can access categories/tags when create IOU request and can make them required in workspace settings categories/tags without this beta.
If this intended, or it is issue ?
https://expensify.slack.com/archives/C02NK2DQWUX/p1714077357630999

I misunderstood the issue here, I think auto-selection works fine when we have single tag/category and it is required. Can you pls tell me what I'm missing?

@Krishna2323 if you have beta canUseViolations auto select will work fine, if this intended, this will not been issue.

going to manually assign @dukenv0307 to take a look.

I think we can move forward with @GandalfGwaihir's proposal and discuss that with the internal engineer.
Why choosing removing beta canUseViolations check from isCategoryRequired and isTagListRequired?
I think using canUseViolations here is by mistake and not intentionally for these reasons:

isCategoryRequired and isTagListRequired are used for UI cases only in autoselect and display label required and in isSupplementary which display it under "show more" section, and not used on validation before sending the API in confirm method, and also not affected on shouldShow condition.

isCategoryRequired and isTagListRequired will not affect in the final output,  because the user can select category manually instead of autoselect, and can expand "show more" manually instead of isSupplementary, the only effect here is required label will be displayed, and we don't have validation for required tags/categories before sending the API in confirm method, so we may keep canUseViolations in required label only or add vaidation before send the API.

we can access categories/tags when create IOU request and can make them required in workspace settings categories/tags without this beta.

🎀 👀 🎀 C+ reviewed

@GandalfGwaihir please let me know how you get on here!

I am not sure if we should have waited for @cristipaval to accept the proposal before move forward with PR, but as the PR is already started, I am going to review the PR, and we can move any discussion there.

Hey @allgandalf thanks for checking the status, great thing to do :) I was also then at a conference so i appreciate your patience.

not sure why @dukenv0307 is on the Upwork listingm because the payments should be
@allgandalf as contributor
@ahmedGaber93 as contributor+
paying out as per these assignments:

paid @ahmedGaber93 $250
paid @allgandalf $250
closing!


Finalize migration to community adapters

[x] migrate or fork/importgithub repository to iobroker-community adapters
[ ] add access for ex-owner (if desired)
[ ] add a issue at old repository stating the move (if forked/imported only)
[ ] check access to npm
[ ] add npm owner bluefox
[ ] add npm owner apollon77
[ ] adapt links at package.json
[ ] adapt owner at package.json
[ ] adapt links at io-package.json
[ ] adapt owner at io-package.json
[ ] add github testing and release
[ ] update testing to node 18/20
[ ] add dependabot
[ ] add changelog at README.md
[ ] add credits at README.md
[ ] adapt latest repository links
[ ] adapt stable repository links
[ ] add package to community at npm
.
[ ] run adapter checker and fix issues
.
[ ] create a new release
.
[ ] check wether an maintainer is available

outdated due to import / defork


storage: client.Close() & underlying connection pooling behavior not clear

(Similar to #516) I am reading storage docs

https://godoc.org/cloud.google.com/go/storage#Client.Close
https://godoc.org/cloud.google.com/go/storage#NewClient

and these don't give me a clue whether I should be using short-lived *storage.Client every time I want to do a storage operation, or I should be using a single instance and Close() once I am done, or have a pool of *storage.Client instances in case internally it might be using a single TCP connection or whatnot and my requests might be serialized.
I think the package docs should make the behavior/suggested way of using clearer without requiring people to dig into the code to see what is going on under the hoods.

@jba it looks like in the code for some subpackages there is option.WithGRPCConnectionPool. Is this the case for other subpackages as well?
I see you have just labeled this as documentation appropriately. It would be really nice to have clear statement in subpackages or root-package level explaining whether the caller should maintain a connection pool or if the client library subpackages do it for the user. IMO This piece of information matters a lot for people who want to write production-grade apps on top of client libraries.

All cloud.google.com/go clients should be long-lived. Non-gRPC APIs initiates a http.Client per cloud client. Connection pooling is done at the http.Client-level; in order to be able to reuse the pool, you should reuse the cloud client instances.

@rakyll Great answers, thank you so much. We should totally write these down on the godoc. This answers the question for the non-gRPC packages. How about the gRPC clients, do they all maintain a pool as well?
Also, if customers are making high QPS requests to GCP APIs, is there any point in doing *.Client pooling? Would http.Client's internal connection pool be a bottleneck?

@ahmetb Instead of pooling Clients, try the WithGRPCConnectionPool option. I'm afraid there are no easy answers: you'll have to experiment.

Hi @ahmetb , I'll take a pass through our docs and document conn pooling. To answer your most recent questions:

No, implementing pooling yourself is not needed. Since datastore is a gRPC client, use WithGRPCConnectionPool to achieve pooling. Some clients pass this option by default, but it's not guaranteed. Datastore does not.
If customers are making high QPS requests, there is no point in doing client pooling. http.Client's internal connection pooling should not be a bottleneck. You should be able to create an http client with custom MaxIdleConnsPerHost and MaxIdleConns and pass the client in as a client option with WithHTTPClient.

As mentioned, I'll take a pass through our docs and document pooling mechanics. Do you mind if I close this issue and track the docs pass in #516 ?

Sounds good.


Fix #555 full-chip STA: Flatten GL netlist array instances for decaps/fills

Flattens array instances of decap/fill cells in gate-level netlists, to make them compatible again with full-chip STA flows. Addresses #555 and thus https://github.com/efabless/caravel_user_project/issues/377

Looks good to me.


Adding Spring watch setup to install command

Spring, a common default gem in Rails, stealthily prevents Envyable from reloading from config/env.yml when restarting the Rails server or console.  This update checks for the presence of Spring and adds the line
Spring.watch 'config/env.yml'

to config/spring.rb.  Also updated README.md to include this detail, and rspec tests to reflect new functionality.

FYI, this was the other issue I alluded to in issue #9. I couldn't figure out why changes to config/env.yml would not reflect in ENV unless I re-installed Envyable, which had the side-effect of also restarting Spring when running bundle install.

Thanks @omnilord! I will take a look at this later after work. I don't use spring myself when developing, but I'm sure this will be useful to many!

Don't know why this didn't close automatically, however this feature is now live in envyable version 1.2.0. Thanks for your help @omnilord!


fix: optimize tree shaking swc/helpers

Related issue (if exists)

Summary

🤖 Generated by Copilot at 9bafc94
This pull request improves the tree-shaking feature of rspack, a Rust-based web packer, by adding debugging capabilities, optimizing the logic, and fixing some issues. It also updates some test cases and examples to demonstrate the tree-shaking functionality. It mainly affects the rspack_core and rspack_plugin_javascript crates, as well as the examples/basic folder.

Walkthrough

🤖 Generated by Copilot at 9bafc94

Make the module_identifier_to_module_graph_module field of the ModuleGraph struct public for debugging purposes (link)
Add two macros, println_matches and dbg_matches, to the debug_helper module for filtering debug output by module identifier patterns (link)
Import the debug_helper module to the tree_shaking module and use the macros in various submodules (link, link, link, link)
Add a new enum, EntryLikeType, to the optimizer module to distinguish between different types of entry modules for the tree-shaking logic (link)
Simplify and modify the logic for finding the bailout entry modules, the reachable modules, and the used symbols in the optimize function of the optimizer module (link, link, link, link, link, link)
Add some debug output to the optimize, trace_export, and analyze functions of the optimizer module to print various information about each module (link, link, link, link)
Modify the signature of the trace_export function of the optimizer module to use the EntryLikeType enum instead of the boolean value (link)
Rename some variables in the optimizer and visitor modules to be consistent and clear (link, link)
Remove the BailoutFlag::HELPER from the BailoutFlag enum and the bail_out_module_identifiers map, as it is not used by any module and can be tree-shaken (link, link)
Add some fields to the TreeShakingResult struct in the visitor module, such as top_level_mark, unresolved_mark, and helper_mark, for debugging or modifying the tree-shaking logic (link, link)
Add some debug output to the visit_import_decl function of the tree_shaking module to print the import source and the used status of each import declaration (link, link)
Add some debug output to the visit_import_specifier function of the tree_shaking module to print the symbol of each import specifier for certain module identifiers (link)
Add a return statement to the visit_import_decl function of the inject_runtime_helper module to avoid injecting the runtime helper code for the unused import declarations (link)
Import the stringify function from the ast module to the visitors module and use it to print the output code of each module (link, link, link)
Remove the code for the unused helper functions, such as _instanceof and _type_of, from the output bundle (link, link)
Remove the test function call from the output bundle, as it is not used by any module and can be tree-shaken (link)
Modify the rspack.config.js file in the examples/basic folder, by adding some fields to the module.exports object, such as mode, target, optimization, and treeShaking, for debugging or modifying the tree-shaking logic (link)
Add some code to the source/index.js file in the examples/basic folder, which defines a Response class and a test function that exports an instance of the class (link)
Modify the src/index.js file in the examples/basic folder, by replacing the original code with a require statement that imports the source/index.js module and a console.log statement that prints something and a Test variable (link)
Rename the .ts-target-es5 folder to ts-target-es5 in the crates/rspack/tests/tree-shaking folder (link)

if commonjs module is required by entry

if commonjs module is imported by entry but not used.

if commonjs module is imported by entry but used

if commonjs module is dynamic imported by entry not used.


Account::try_from lifetime is not useable

Since 0.29, Account::try_from signature changed from
fn try_from(info: &AccountInfo<'a>) -> Result<Account<'a, T>> {

to
fn try_from(info: &'a AccountInfo<'a>) -> Result<Account<'a, T>> {

If I have an owned AccountInfo<'a> variable, I cannot borrow it again with lifetime 'a because the current scope is always smaller, for example:
fn foo<'a>(info: AccountInfo<'a>) {
    Account::try_from(&info); // not possible because reference cannot live as long as 'a
}

My use-case will be resolved with https://github.com/coral-xyz/anchor/pull/3342
Generally, this is still an issue because it is very hard to create a &'a AccountInfo<'a>. AccountInfo<'a> invariant and cannot be cast to a shorter lifetime AccountInfo<'b>.

If I have an owned AccountInfo<'a> variable, I cannot borrow it again with lifetime 'a because the current scope is always smaller, for example:
fn foo<'a>(info: AccountInfo<'a>) {
    Account::try_from(&info); // not possible because reference cannot live as long as 'a
}

Yeah, this should be fixed with https://github.com/coral-xyz/anchor/pull/3340. See the "Details" section of https://github.com/coral-xyz/anchor/pull/2770 for more information about the problem.


AGPS: Don't unserialize then immediately serialize

Right now we're decoding the base64 for no good reason, as it's immediately encoded afterwards, so this removes that.
Note that the chunk size will change - now less data will be sent each time. I wouldn't expect this to be a problem, but I haven't tested it and I might need to change the chunk size.

Closed because I initially forgot that atob doesn't stand for ASCII to Base 64 but rather the reverse, and now I understand that it's probably needed to have proper padding and all


Support zone files

To support a zone file together with this plugin, the dockerdiscovery plugin must be added before the file plugin. To achieve this I used sed instead of echo in the Dockerfile.

Argh sorry. The other two commits should not be added to this pr.  I'll fix it.


try Very Peri color on KodaDot

Pantone Color Of The Year 2022 is Very Peri with the Hex code #6667AB
It would be nice to try and compare with the current dark pink

Gotcha fam!

Looks optimistic to me ! ❤

Pink is good for now


webapp/kopano.php?subsystem=webapp_1558940030903 502 Bad Gateway

I'm messing around with a weird problem in Kopano Webapp.
I'm using the latest version of Core and Webapp (I tried with the last 5 Versions)
Webapp :  <IP_ADDRESS>8+1289.1
Core: <IP_ADDRESS>.39640ec78-0+233.1
The problem is, that everything is running perfect besides the one issue that i cannot answer or forward to an email.
If I create and send a new email everything works as expected. When I answer to an email the browser and the proxy report a 502 bad gateway issue.
I tried to connect to the webapp with and without a proxy. So the direct connection  over port 9080 results in the same issue. So I can exclude a proxy issue. I tried different versions and I tried to log things but the only log I could get related to this problem is the log from the proxy server.
kweb log
X.X.X.X - - [27/May/2019:07:05:44 +0000] "POST /webapp/kopano.php?subsystem=webapp_1558940724801 HTTP/1.1" 502 40

If I manually connect to this site I get follow information within my browser
headers
Cache-Control: no-cache, must-revalidate
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 168
Content-Type: application/json; charset=utf-8
Date: Mon, 27 May 2019 07:08:26 GMT
Expires: Mon, 27 May 2019 07:08:26GMT
Keep-Alive: timeout=5, max=94
Last-Modified: Mon, 27 May 2019 07:08:26GMT
Pragma: no-cache
Server: kweb
X-Zarafa: <IP_ADDRESS>8+1289.1

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US
Connection: keep-alive
Host: XX.domain.com
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

json
{"zarafa":{"error":{"type":2,"info":{"file":"util.php:575","display_message":"Beim codieren\/decodieren der JSON-Daten sind Probleme aufgetreten.","original_message":"JSON Fehler: - Syntaxfehler"}}}}

Thanks
I'd really appreciate your help. This is the last part to complete my project.

Got my answer here
https://forum.kopano.io/topic/2466/webapp-kopano-php-subsystem-webapp_1558940030903-502-bad-gateway/2


Get approval for creating APIM and test VM in CDC subscription

We are currently unable to create an APIM instance or a VM in the CDC subscription resource group assigned to DEX FHIR development team. We need to get approval to create a test VM in our resource group.

Microsoft will work with Boris.

IT Service Desk Ticket RITM0110617 opened requesting Windows VM in CDC FHIR Dev resource group


Fix bug where only 1000 discord members are inserted into db

this patch fixes a bug where only servers with 1000 members or less would have access to pk, the rest of the 1000 aren't even recognized by pk

Looks great, thanks!


Update ingest-data-event-grid.md

updated supported formats

#sign-off

@JasonWHowell: I'm sorry - only the author of this article, @radennis, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


This question pertains to the discussion happening in #4, but I didn't want to get the conversation there off track.

Sounds good to me.

Okay, if someone sees a problem with this approach in the future, we can re-open this issue.


Move to v1beta1

What this PR does / why we need it:
Move to v1beta1
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #41
Special notes for your reviewer:
Release note:

All generated resources have moved to the `instancetype.kubevirt.io/v1beta1` version.

/hold

/cc @0xFelix


Problem with keyboard shortcuts - multilanguage

Hello
I have problem with keyboard shortcut. When I'm pressing right Alt+"z" which inserts polish sign "ż" it works as undo.
How can I disable this shortcut?
Btw thx for this great tool
Update:
I have found solution. Unicode 90 for me is "Z" and 89 is "Y". When i change this to 121 "y" and 122 "z" everything works.
around 6445 in content-tools.js
case 'windows':               if (ev.keyCode === 121 && ev.ctrlKey) {                 redo = true;               }               if (ev.keyCode === 122 && ev.ctrlKey) {                 undo = true;               }

@deartify thanks for the update - I guess we should really make these key combos configurable so that they can be easily updated for different language requirements.


Update migration-classic-resource-manager-plan.md

Fixed the typo in the words "environment" and "accidentally" across the doc.

@asadmansr : Thanks for your contribution! The author, @singhkays, has been notified to review your proposed change.

@asadmansr Thanks for fixing! #sign-off


Error when saving Coordinates type

Laravel Version: 5.5.37
Voyager Version: 1.0.16
PHP Version: 7.0
Database Driver & Version:
Mysql 5.6

Description:
I get an error when I try to save a model that has a coordinates type
Steps To Reproduce:
Drag and drop the pin inside de map.
Click save.
And I get this error:
SQLSTATE[HY000]: General error: 1366 Incorrect string value<EMAIL_ADDRESS>for column 'lugar' at row 1 (SQL: update actividades set lugar = ST_GeomFromText('POINT(48.808805399845 2.4981447499999)'), updated_at = 2018-03-08 08:03:01 where id = 1)

What is the type of the lugar column?

tinytext

It has to be GEOMETRY

I must have missed than from the docs, my fault .
thanks!


No Subroutine or Function symbols

Subroutine or function symbols that would make it easy to access parts of a file with
ctrl+p @<functionName>
would be very useful. I would happily help in trying to add this - I just do not know where to start!

Hi,
I would be pleased to get some help 👍
You can create a fork, and start working in this fork, preferably in a branch specific for this feature.
Then, for the development of the feature itself, you can check this page https://code.visualstudio.com/docs/extensions/example-word-count that shows a simple extension. Otherwise you can ask me and I'll probably be able to help.
Cheers,
Xavier

Version 0.2.0 now has support for function code symbol. Could you please test and tell me if you're happy with that or if you'd like something changed.

Hi, necropost but still an issue. First, thanks for putting together this package in the first place!
The "function" implementation is incorrect, because the fortran.tmlanguage code keys on the word "interface": think of "interface" as you would a function definition, rather than the declaration.
And it does not cover similar Fortran features "program", "subroutine", and "module".
I've bent my pick trying to get this to work: editing the .tmlanguage file I have been unable to get rid of those interface function definitions - they continue to appear in the breadcrumb list, and I've also been unable to get the keywords I've added (subroutine/program, etc.) to show up!
I'm attaching my work so far, it is incomplete because I can't seem to get any of it working. But I'd be happy to finish it if you can point me to the reason(s) why it's not affected anything :-) Note I had to change to text extension to upload it.
fortran.tmLanguage.txt

I've also added may different "symbols used as brackets" to modern.configuration.json. It's really just an enumeration of the various keywords that start/end blocks of code. The allows VS Code to do a couple interesting things:

Use "Go to Bracket" to jump to the beginning or end of a function, subroutine, program, module, type, if, where select, do, interface, and "block data" block of code.

Expand or shrink selection now includes those different block types during the expand or shrink.

Here is what the new "brackets" key looks like now:
	// symbols used as brackets
	"brackets": [
		["(", ")"],
		["program", "end program"],
		["function", "end function"],
		["subroutine", "end subroutine"],
	        ["module", "end module"],
		["interface", "end interface"],
		["if", "end if"],
		["where", "end where"],
		["block data", "end block data"],
		["type", "end type"],
		["select", "end select"],
		["do", "end do"]
	]


The README file does not mention the mono branch

The most common issue with new players installing mods is forgetting or not knowing about switching to the mono branch of Pulsar. It could be helpful to include information about this in the README file.

README now mentions mono branch, and the installer will mention mono branch if installation fails.


Implement pickle for bytes

It looks like bytes doesn't override its __reduce__ function at all:
>>> bytes.__reduce_ex__ is object.__reduce_ex__
True
>>> bytes.__reduce__ is object.__reduce__
True

And then here's the CPython implementation of bytearray.__reduce__, it looks like it actually does need to check the protocol.

Still working in progress, trying for compatibility...

@coolreader18 I had check the implement of python lib pickle.py, the different output between our's and CPython under protocol version 0 is because the version of pickle.py.
Currently we are using pickle that from CPython 3.6.0 but testing with CPython 3.8.
The new version of pickle.py added the special function for bytearray
    def save_bytearray(self, obj):
        if self.proto < 5:
            if not obj:  # bytearray is empty
                self.save_reduce(bytearray, (), obj=obj)
            else:
                self.save_reduce(bytearray, (bytes(obj),), obj=obj)
            return
        n = len(obj)
        if n >= self.framer._FRAME_SIZE_TARGET:
            self._write_large_bytes(BYTEARRAY8 + pack("<Q", n), obj)
        else:
            self.write(BYTEARRAY8 + pack("<Q", n) + obj)
    dispatch[bytearray] = save_bytearray

and has different treating for str
    def save_str(self, obj):
        if self.bin:
            encoded = obj.encode('utf-8', 'surrogatepass')
            n = len(encoded)
            if n <= 0xff and self.proto >= 4:
                self.write(SHORT_BINUNICODE + pack("<B", n) + encoded)
            elif n > 0xffffffff and self.proto >= 4:
                self._write_large_bytes(BINUNICODE8 + pack("<Q", n), encoded)
            elif n >= self.framer._FRAME_SIZE_TARGET:
                self._write_large_bytes(BINUNICODE + pack("<I", n), encoded)
            else:
                self.write(BINUNICODE + pack("<I", n) + encoded)
        else:
            obj = obj.replace("\\", "\\u005c")
            obj = obj.replace("\0", "\\u0000")
            obj = obj.replace("\n", "\\u000a")
            obj = obj.replace("\r", "\\u000d")
            obj = obj.replace("\x1a", "\\u001a")  # EOF on DOS
            self.write(UNICODE + obj.encode('raw-unicode-escape') +
                       b'\n')
        self.memoize(obj)
    dispatch[str] = save_str

Oh, nice catch! You can update it to the 3.8 version, just copy the file and put it in its own commit that mentions it's from v3.8.x.


Add a space to the Flutter SDK path on Appveyor

Ensures we don't regress #6577 on Windows.

Do not merge yet. Tests expected to fail until #14612 is merged.


Defualt styles from ionic

I think is better to use default styles of ionic instead of alot of custom css. Now is using positive color, so thta updates accourding to apps defaults

Still incomplete

@sebrojas14 did you manage to complete this?

Yes, https://github.com/Hobbule/ionic-datepicker

And for the timepicker also https://github.com/Hobbule/ionic-timepicker @olmesm


Site request: lenta.ru

Hiya Authors !
I just met nice video on news site named as lenta.ru and I'd be glad to get this video on my hdd.
The url is: https://lenta.ru/news/2016/06/27/bad_boy/

Note that this site offers 3 quality options - up to 720p.
Please add this lenta.ru video engine to your VERY NICE program!:)
Thanks in advance!
-t

I just updated version to 2016.06.27 - still got no ability to dload videos from lenta.ru ... Should I wait for the next release ?

It's not yet released.

Ok, Thank you ppl !:) I'll be waiting.


Allow custom name for load function passed in props

Propose for #39

[ ] Review
[ ] Readme.md
[ ] Example ?

@ptitFicus thank you for the interest :)
I add some todo marker in your first comment.
Don't feel like I dislike what you do, and don't feel like you have to do it all by your own, we can discuss about it.

About the fact that the load function is "lost", @frinyvonnick said that it was the cas before your PR.
So you can forget about it if you want to, and we'll do an issue

In reference to @fabienjuif comments:
We must centralize 'load' string in a constant
someVariable || 'load'

Thanks a lot @fabienjuif for your review !
I'll try to make the modifications you suggested today, and to apply @frinyvonnick suggesstion as weel =)

I modified the code to fit your review, and add a section to the README, however I'm not sure how to add an example, since there is currently no example for the load parameter.
Any suggestion ?

We will create an issue to add them

@ptitFicus Can you commit again (add an espace somewere), I tried to activate circleCI on forked project

BTW I think that the circleCI link is broken in README file (same as for example link : the projet name is still react-loader in the url).

@ptitFicus You can add your name in contributors

I don't know how to make coverall works with forked PR :(


[BUG] pyspark failed to init on Databricks runtimes

Describe the bug
@firestarman found that we could not init pyspark/spark-shell with plugin directly on databricks runtimes (11.3, 12.2, 13.3). We are not sure if its a known issue.
This RAPIDS Plugin build does not support Spark build 3.3.0-databricks. Supported Spark versions: 3.2.0 {buildver=320}, 3.3.0-databricks {buildver=330db}.
./pyspark --conf spark.plugins=com.nvidia.spark.SQLPlugin --jars /home/ubuntu/spark-rapids/dist/target/rapids-4-spark_2.12-24.10.0-SNAPSHOT-cuda11.jar

24/08/21 08:43:23 WARN MetricsSystem: Using default name SparkStatusTracker for source because neither spark.metrics.namespace nor spark.app.id is set.
24/08/21 08:43:23 ERROR SparkContext: Error initializing SparkContext.
java.lang.IllegalArgumentException: This RAPIDS Plugin build does not support Spark build 3.3.0-databricks. Supported Spark versions: 3.2.0 {buildver=320}, 3.3.0-databricks {buildver=330db}. Consult the Release documentation at https://nvidia.github.io/spark-rapids/docs/download.html
        at com.nvidia.spark.rapids.ShimLoader$.$anonfun$detectShimProvider$13(ShimLoader.scala:288)
        at scala.Option.getOrElse(Option.scala:189)
        at com.nvidia.spark.rapids.ShimLoader$.detectShimProvider(ShimLoader.scala:278)
        at com.nvidia.spark.rapids.ShimLoader$.findShimProvider(ShimLoader.scala:299)
        at com.nvidia.spark.rapids.ShimLoader$.initShimProviderIfNeeded(ShimLoader.scala:92)
        at com.nvidia.spark.rapids.ShimLoader$.getShimClassLoader(ShimLoader.scala:184)
        at com.nvidia.spark.rapids.ShimReflectionUtils$.loadClass(ShimReflectionUtils.scala:28)
        at com.nvidia.spark.rapids.ShimReflectionUtils$.newInstanceOf(ShimReflectionUtils.scala:34)
        at com.nvidia.spark.rapids.ShimLoader$.newDriverPlugin(ShimLoader.scala:335)
        at com.nvidia.spark.SQLPlugin.driverPlugin(SQLPlugin.scala:28)
        at org.apache.spark.internal.plugin.DriverPluginContainer.$anonfun$driverPlugins$1(PluginContainer.scala:49)
        at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
        at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
        at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
        at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
        at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
        at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
        at org.apache.spark.internal.plugin.DriverPluginContainer.<init>(PluginContainer.scala:48)
        at org.apache.spark.internal.plugin.PluginContainer$.apply(PluginContainer.scala:224)
        at org.apache.spark.internal.plugin.PluginContainer$.apply(PluginContainer.scala:195)
        at org.apache.spark.SparkContext.<init>(SparkContext.scala:742)
        at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:60)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:247)
        at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:380)
        at py4j.Gateway.invoke(Gateway.java:257)
        at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
        at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
        at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:195)
        at py4j.ClientServerConnection.run(ClientServerConnection.java:115)
        at java.lang.Thread.run(Thread.java:750)

start w/o --conf spark.plugins=com.nvidia.spark.SQLPlugin and then create a new spark session with config of the plugin seems have no issue
Steps/Code to reproduce bug
build with build.sh
and run pyspark with --conf spark.plugins=com.nvidia.spark.SQLPlugin
Expected behavior
A clear and concise description of what you expected to happen.
Environment details (please complete the following information)

Environment location: [Standalone, YARN, Kubernetes, Cloud(specify cloud provider)]
Spark configuration settings related to the issue

Additional context
Add any other context about the problem here.

cc @gerashegalov to help when available

This has to do with how the Databricks shim works and how Databricks runs Spark from within a notebook.  Clearly pyspark works in the Databricks environment since it's used by our integration tests.  See jenkins/databricks/test.sh for how to setup the dependencies for the CLI and then integration_tests/run_pyspark_from_build.sh for how it runs it in Databricks.  The missing piece is a conf that is specified automatically when run from a notebook but needs to be specified manually when running outside of that environment, spark.databricks.clusterUsageTags.sparkVersion.  See https://github.com/NVIDIA/spark-rapids/blob/branch-24.10/integration_tests/run_pyspark_from_build.sh#L286-L310

This has to do with how the Databricks shim works and how Databricks runs Spark from within a notebook. Clearly pyspark works in the Databricks environment since it's used by our integration tests. See jenkins/databricks/test.sh for how to setup the dependencies for the CLI and then integration_tests/run_pyspark_from_build.sh for how it runs it in Databricks. The missing piece is a conf that is specified automatically when run from a notebook but needs to be specified manually when running outside of that environment, spark.databricks.clusterUsageTags.sparkVersion. See https://github.com/NVIDIA/spark-rapids/blob/branch-24.10/integration_tests/run_pyspark_from_build.sh#L286-L310

thanks! closing the ticket now
cc @firestarman this behavior is expected.


Allow remote FHIR search through FHIR engine

Is your feature request related to a problem? Please describe.
Currently FHIR engine provides sync APIs to periodically fetch data. This is useful for offline systems and data that maybe required after a long period of time (eg: 24 hours). The FhirSyncWorker also has a one time work request to fetch data just in time. The developer has to pass the search URL to the work manager which will run a job to fetch data based on the search URL and save it in the DB.
For an application to fetch a Patient resource that is not synced yet we need to do the following:

Search in local DB using fhirEngine
If not found, create a one time work request
After the completion of the task, wait for indexing to complete
Search again in the local DB using fhirEngine.

Describe the solution you'd like
There be value in automatically searching for the resource in the Remote server if not found and internet is available. That way we avoid the multiple step process mentioned above.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
cc: @f-odhiambo @omarismail94

thanks for raising this @joiskash. qq: would it help to increase the periodic sync frequency?
the idea of the offline sync api + search api is really that the app shouldn't be trying to handle online/offline all the time. the app should treat on-device data as if it's online all the time.

The expectation of users is that if the device is online, then it should fetch the latest data. We use online server queries to fetch list of patients that have visited the clinic on a given day.
some eg:
 Encounter?service-provider=faciliityid&
   class=IMP&
   date=2023-05-12&
  _sort:desc=_lastUpdated&
  _include=Encounter:patient

On clicking the Patient, we use a normal sync job. The Online FHIR search is mainly to fetch some resources for display. The actual downloading and inserting in DB is all done by the SDK.

@joiskash Is this still an open issue or have you implemented this into your client application? Can you provide any updates. Thanks

I will close this but for the record I want to add some notes:
HAPI's android client actually supports online search I believe. It just downloads the fhir resources but doesn't persist them. If the app wants just to do that it could either use the HAPI client or do something very similar.
The value of the FHIR Engine library is that it keeps copies of FHIR resources and handles syncing with the server. The set of resources to be downloaded to FHIR Engine from the backend is effectively defined by the implementation of DownloadWorkManager. And then, any resources created locally is added to the set and uploade to the backend.
So if we create a new online search API, we'd need to clarify what it means to the download work manager... does it mean that the download work manager now need to keep the newly downloaded resources from the online search API in sync with the server in the future? If that's the case, then it feels like we should just use a one time sync. If not, then I don't know why we need to keep these resources in the db.
To summarise, it's a different approaching of handling resources altogether... Without better understanding of the user cases I hesitate to just create a new API like that. I think we should keep our eyes open for similar feature requests and reopen this if needed.


Combine example and framework tests.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/integration/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
105589827cdca5ef4bb4cd796ff8dbce10a0db75
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
105589827cdca5ef4bb4cd796ff8dbce10a0db75
link
/test istio-integ-k8s-tests

prow/release-test.sh
105589827cdca5ef4bb4cd796ff8dbce10a0db75
link
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/integration/framework/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-test.sh
c5aacd286b661bb9b02b68726d275b4b1e1d5fbe
link
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-test

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-test.sh
c5aacd286b661bb9b02b68726d275b4b1e1d5fbe
link
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Support for ON CLUSTER clause

Could not find any reference how to set ON CLUSTER clause

I need to create materialized table based on dbt-model on specific cluster, is it possible to set cluster in {{config()}}?
Will adapter create query like in docs for Clickhouse
CREATE TABLE IF NOT EXISTS table_name **ON CLUSTER cluster_name**
(
    bla-bla
) ENGINE = engine

ON CLUSTER is not support.
I will try to add this.

I added ON CLUSTER in PR #6. But I don't have a cluster clickhouse, so ran only on synthetic tests on simple cases.

I think two parameters should be added with on_cluster clause, my server falls with the following error:
Orig exception: Code: 42, e.displayText() = DB::Exception: There was an error on [X]: Code: 42, e.displayText() = DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 2 parameters:
  path in ZooKeeper,
  replica name

Now on master you can set the engine with brackets (ReplicatedMergeTree -> ReplicatedMergeTree(your options)

ON CLUSTER on master.
Reopen if needed.

Now on master you can set the engine with brackets (ReplicatedMergeTree -> ReplicatedMergeTree(your options)

yeah, but ZooKeeper path is dependent on relation that will be created by dbt. this means path could be different depending on dbt-model execution
I'll test and if needed will commit couple lines in macros


No access to database after update/reinstallation

Gitea version (or commit ref): 1.7.2 <-> 1.8.1
Git version: 2.19.2
Operating system: armv7l GNU/Linux
Database:

[ ] PostgreSQL
[x] MySQL (MariaDB)
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:
gitea.log

Description
I tried to update my gitea from 1.7.2 to the latest release. Unfortunately this wasn't working. So I deinstalled the 1.8.1 and reinstalled 1.7.2. I've seen the install page, when you connect the first time. Everything look ok. My personal account was still there. All repositories can be seen in the overview.
But:
When I click on any repo I will see only a 500 error page.
Where should the git-data be? In the MariaDB?
The log say that it is trying to read in /usr/local/gitea/gitea/gitea-repositories
...
Screenshots

Well, learning it the hard way. Fortunately I still have all the repos on my laptop.
The default path for repositories was in the folder with gitea. Deinsalling gitea removed also the repos.
Shouldn't the repos placed somewhere else by default, or is it at least with the first setup possible to setup the folder for the repos?


Add fire and forget option for scheduled actions

Description
Currently if an scheduled actions fails, the scheduler will keep trying to execute the action forever until it finish successfully.
Allow the fire and forget option will allow to ignore the actions in case the failure is expected.
Use case
Resuming a VM which is already in RUNNING state. For this kind of cases it should be possible to release the scheduler from retrying the execution as the VM is already in the expected state.
Additional Context
Also, it would be useful to provide a way of marking a failing scheduled action as successful. Something similar to onevm recover --success command.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

I want to add another case for when you want to forget an action: "disk-snapshot-create". Users may create a schedule to take recurring snapshots. If for some reason the snapshot cannot be made (for example due to a quota issue) on the specified time, it makes little sense to create the snapshot at another time, whenever that might be. Moreover, if $amount of snapshots fail, then as soon as the (transient) failure condition is resolved, the scheduler will create all snapshots consecutively which makes little sense.
One way to fix this issue would be to be able to specify the behavior for a specific action: to do a retry at a later moment (indefinitely) or forget about it altogether. With a default to not forget about it.


Rotate

Any chance this will work with certain CSS transformations like rotate, i.e.:
#a{
  ...
}

#b{
  ...
  transform: rotate(90deg);
}

Also, rotating twice from beginning to end on something like
#b{
 ...
 transform: rotate(720deg);
}

would be super cool!

@babakness Good question! I've been a little quite on this repo lately as I've been working on some other projects, but I do have an experimental branch which gets us halfway there.
It's a little tricky though. Because the elements could be inside layers of elements with their own transformations, and they then need to be transformed further so that they can move as one, it's not practical to describe the start and end transformations as a series of rotate/scale/translate commands - instead we have to multiply transformation matrices.
This makes rotation difficult, because if you interpolate between two transformation matrices that describe different rotations, the effect doesn't look like rotation, because the corners of the box travel in a straight line to their destination. It looks more like shearing than rotation. The best we can hope for is to use matrix decomposition to figure out a path that looks more natural. That's my plan, anyway. (A long time ago, I wrote a small matrix utility library which does decomposition among other things. Hopefully the code still works...)
This is what the experimental branch looks like right now:

With matrix decomposition it should look slightly better. (The next trick will be to get it working with 3d transforms...)
Unfortunately, rotating 720 degrees is totally impossible with this technique. As soon as you go past 180 degrees you lose information (i.e. 240 degrees is assumed to mean -120 degrees, and 360 degrees means no change) - there's just no way to recover it. I've wondered about providing a hook for a custom interpolation function which would be able to do that sort of ad hoc transformation - possibly in a future version.

@Rich-Harris Cool! I think I understand what you're saying.
transform: rotate(45deg);
transform: rotate(720deg);
transform: matrix(0.707106781186549, 0.707106781186547, -0.707106781186547, 0.707106781186549, 0, 0);

are all the same. I was thinking that the text of the original css would be preserved but its not!
The shearing effect looks great too, more like morphing than rotating. It has a more liquid feel. Actually wiggling and jiggling the end points of the animation, sort of like the demos do spatially, but with a shear effect, would be lively and organic.
Thanks for the info, I learned from this!

Hi @Rich-Harris, last year I began working on a material design inspired view transition library and one of the big challenges was animating transforms.
Actually, it turns out that it IS practical to interpret start/end transformations as a series of transform function as that was the point of transform function lists.
Here is the URL to the official W3C standard on interpolation transforms, along with a snippet of the important bit:
http://www.w3.org/TR/css3-transforms/#interpolation-of-transforms

Four rules for interpolating transform lists:

If both lists are none, return nothing.
If one of the lists is none, create a equivalent identity list, continue to next rule.
If both lists have the same amount of arguments (having a common primitive), interpolate each pair of transform function and return computed value.
else in worst case, convert both lists to matrices and interpolate those, return computed value.

Here is a library I had worked on in the past that interpolated transform strings using the above rules:
https://gist.github.com/Martin-Pitt/3a6f2168a03a7502575a
It is incomplete and only supports common set of transform functions but has worked really well for me.
Recently for my library though and for future proofing I have switched over entirely to the Web Animations API, which has it's own handler which I would also recommend checking out:
https://github.com/web-animations/web-animations-js/blob/master/src/transform-handler.js
On my day job as a mobile web app developer I have found the libraries efficient enough to create very smooth animations.

@Martin-Pitt Unfortunately the problem is that we don't have access to the original transform strings - ramjet has to use the transform reported by getComputedStyle (otherwise you can only detect transforms applied as inline styles), and getComputedStyle converts everything to matrix(...). I guess you could try and figure things out on a 'best effort' basis (reading inline styles and <style> tags, making AJAX requests for linked stylesheets and parsing their contents), but it would add a huge amount of complexity, where as a hook that allowed developers to supply their own interpolator would solve the problem (at the cost of a little bit more work for the developer) without any of that brittle magic.

I just ran this script in the console for github here:
var test = document.querySelector('.comment-form-textarea');
var s = document.styleSheets.length;
while(s-->0)
{
  var styleSheet = document.styleSheets[s];
  var r = styleSheet.cssRules.length;
  while(r-->0)
  {
    var rule = styleSheet.cssRules[r];
    if(test.matches(rule.selectorText))
    {
      console.log(rule.selectorText, rule.style.transform);
      break;
    }
  }
}

output
.comment-form-textarea translateZ(0px)

Do-able?
Compatibility for .cssRules: http://www.quirksmode.org/dom/w3c_css.html#t10


vimPlugins.markdown-preview-nvim: use mkYarnModules

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @ernestre

tested locally. Worked fine. Feels great merging +11 −1,117 PRs. You should count how many lines you deleted from nixpkgs this month ;)


Feature request: Default image when not streaming/offline

Thanks for this library.
It would be really useful if it was possible to assign (or generate) a default "this camera is offline" image when viewing the html page when not receiving data.
Cheers!

Can't you have an image placed behind the streaming canvas via CSS? As long as nothing is being rendered wouldn't it be a clear layer and then show the picture?

Not just that, just detect when there's a delay between the last frames received, for example if it's been more than 15 seconds then simply render the picture onto the canvas! Because the canvas does not clear up from the last frames, they stay there so you can't put an image under it.


IOS: Jump over a screen

Hi everyone !
I currently have a bug with my React-Navigation.
Here is the concerned code:
The stack Navigator
const	Flow = StackNavigator(
{
	Mapping:
	{
		screen: Mapping,
		navigationOptions: ({navigation}) => ({title: navigation.state.params.title})
	},
	ActivityList:
	{
		screen: ActivityList,
		navigationOptions: ({navigation}) => ({title: navigation.state.params.title})
	},
	ActivityPrelude:
	{
		screen: ActivityPrelude,
		navigationOptions: ({navigation}) => ({
			title: 'Préparation de l\'activité',
			params: navigation.state.params,
			headerLeft: (
				<TouchableHighlight
					onPress={() =>
					{
						navigation.dispatch(
							NavigationActions.reset({
								index: 0,
								actions: [NavigationActions.navigate({routeName: 'Mapping', params: 'Science'})]
							})
						);
					}}
					underlayColor={getMainColor().Secondary}>
					<Image source={myImage} style={{height: 34, width: 34}} />
				</TouchableHighlight>
			)
		})
	},
}

The Mapping Screen is a selector. We select a category and we navigate to ActivityList, where we can find X activities related to this category. The title params is used for the title of the navbar, but also to get the data from the local DB
navigate = (category) =>
{
	setCategory(category);
	this.props.navigation.navigate('ActivityList', {title: category});
}

In this screen, we can select on activity -> We will reach ActivityPrelude which gives us some details about it. Before that, we set Category (a general Const) to the current category, and Activity to the current Category.
onPress={() =>
{
	setActivity(data.name)
	this.props.navigation.navigate('ActivityPrelude', {title: data});
}}

Then, we reach the ActiviyPrelude screen with this as componentWillMount.
componentWillMount = () =>
{
	let		data = null;

	data = getActivities(getCategory())[getActivity()];
	data.Name = getCategory();
	this.setState({data});
}

Here,
getActivities(getCategory()) -> returns an array with all the Activities of a specific Category
getActivity() -> returns the name of the current Activity
so, getActivities(getCategory())[getActivity()] -> returns the details of the current Activity.
At the beginning, theses data were sent through the navigation params, but because of the bug I'm going to present you, I moved to this solution.
Current Behavior
https://i.giphy.com/3oKIPcOTxhZbD6CGUU.gif
Here is the flow that leads to a crash (not every time):

mapping -> CategoryX -> ActivityX -> goBack() -> CategoryY -> ActivityY -> goBack() -> CategoryZ

And the error is on the category screen (ActivityList) but the debugger tell me this:

Cannot set property 'Name' of undefined
Prelude._this.componentWillMount
Prelude.js:72:2

And the line 72:2 matches with data.Name = getCategory();, because here, data is null.
But that's 'normal' because the navigator jumps from Mapping to Activity, without passing by ActivityList (with setActivity(data.name)).
setCategory is called when moving from the Mapping screen to the ActivityList screen, so when we press a category, setCategory is set to the new one. But the navigator jump over the ActivityList Screen to directly reach ActivityPrelude. Because of that, setActivity still have the old value, that is not in the new category, leading the application to crash.
Expected Behavior
The screen should not be skipped.
The bug can occurs on the first 'try' or at the tenth. For now, I have not experienced it on android
Your Environment

software
version

react-navigation
1.0.0-beta.9

react-native
0.44.0

node
v7.4.0

npm or yarn
npm 4.6.1

Thank you !

Pinging OP @TBouder since this issue is quite old and related to an old version of the lib. If no answer I'll close in 7 days.

Hi there @TBouder ,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up since my last comment I'm going to close it.
If you are still having the issue (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.


Plugin PropagatedMount only needs rslave

Since the host does not need to propagate mounts into the plugin mount
NS, the plugin's PropagatedMount only requires rslave when setting up
the directory on the host side.
The mounts from the plugin container will still propagate back to the
host.
ping @tiborvass @anusha-ragunathan

I tested this with my overlay graphdriver plugin cpuguy83/docker-overlay2-graphdriver-plugin on top of #29302.
Not sure if there's a volume plugin available that requires propagated mounts yet, but this should work there as well.

Holding off on this, my plugin was not compiled correctly and was using the wrong driver, need to test further.


Removed browserId authentication method. Collaborators can now use Fa…

…cebook to connect to the app.
This removes the support of browserID. If this is interesting for you...
I've tested and the owner of the instance can still use the "self-login" authentication method.
Collaborators can login using Facebook (if enabled).
I've fixed a bug in the file login.php (the "facebook" CSS class was missing for the "Facebook connect" button.

Hello @jmathai , Are you still interested by this PR or should I update something? If not, I can close it.


pantheon.granite7: init at 7.0.0

Description of changes
#170361
pantheon.granite is for GTK3 apps and pantheon.granite7 is for GTK4 apps.
Result of diff pkgs/desktops/pantheon/granite/{,7/}default.nix -u:
--- pkgs/desktops/pantheon/granite/default.nix	2022-04-30 10:15:19.406002606 +0800
+++ pkgs/desktops/pantheon/granite/7/default.nix	2022-05-01 10:04:04.205534372 +0800
@@ -1,23 +1,24 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, nix-update-script
 , python3
 , meson
 , ninja
 , vala
 , pkg-config
 , libgee
-, gtk3
+, gtk4
 , glib
 , gettext
 , gsettings-desktop-schemas
 , gobject-introspection
-, wrapGAppsHook
+, wrapGAppsHook4
 }:

 stdenv.mkDerivation rec {
   pname = "granite";
-  version = "6.2.0"; # nixpkgs-update: no auto update
+  version = "7.0.0";

   outputs = [ "out" "dev" ];

@@ -25,7 +26,7 @@
     owner = "elementary";
     repo = pname;
     rev = version;
-    sha256 = "sha256-WM0Wo9giVP5pkMFaPCHsMfnAP6xD71zg6QLCYV6lmkY=";
+    sha256 = "sha256-fuyjQDH3C8qRYuAfQDDeW3aSWVTLtGzMAjcuAHCB1Zw=";
   };

   nativeBuildInputs = [
@@ -36,13 +37,13 @@
     pkg-config
     python3
     vala
-    wrapGAppsHook
+    wrapGAppsHook4
   ];

   propagatedBuildInputs = [
     glib
     gsettings-desktop-schemas # is_clock_format_12h uses "org.gnome.desktop.interface clock-format"
-    gtk3
+    gtk4
     libgee
   ];

@@ -51,6 +52,12 @@
     patchShebangs meson/post_install.py
   '';

+  passthru = {
+    updateScript = nix-update-script {
+      attrPath = "pantheon.granite7";
+    };
+  };
+
   meta = with lib; {
     description = "An extension to GTK used by elementary OS";
     longDescription = ''
@@ -61,6 +68,6 @@
     license = licenses.lgpl3Plus;
     platforms = platforms.linux;
     maintainers = teams.pantheon.members;
-    mainProgram = "granite-demo";
+    mainProgram = "granite-7-demo";
   };
 }

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

pantheon.granite: 6.2.0 → 7.0.0

[ ] DynamicNotebook: Do not use deprecated child property (#545)
[ ] Port to GTK4 (#542)
[ ] Constants: Add destructive-action (#551)
[ ] AlertView: fix icon size (#550)
[ ] Remove deprecations (#549)
[ ] Remove old icons (#548)
[ ] Constants: add view and warning classes (#552)
[ ] Constants: use header class names from Adw (#554)
[ ] Utils: fix set_color_primary (#557)
[ ] Remove custom bin margin magic
[ ] Create HeaderLabel (#553)
[ ] Fix CI (#561)
[ ] Constants: add "title" (#562)
[ ] Utils: Remove Granite.CloseButtonPosition (#568)
[ ] Remove ModeButton (#558)
[ ] Remove StorageBar (#569)
[ ] GTK4/Constants: remove category-expander
[ ] Create Granite.Placeholder (#555)
[ ] Dialogs: Update for GTK4 styles (#546)
[ ] AccelLabelView: fix menu styles (#547)
[ ] merge main (#559)
[ ] Remove DynamicNotebook (#578)
[ ] Remove SourceList (#573)
[ ] Update POTFILES
[ ] Remove SeekBar (#575)
[ ] Update AppData
[ ] Update Pot
[ ] Update Po
[ ] Remove Granite.Services.Logger (#579)
[ ] DatePicker: clean up unused signal and simplify change handling (#571)
[ ] appdata: Fix a typo for "correctly" (#582)
[ ] Update post_install.py (#586)
[ ] AppData: Explicit namespace of the removed Settings (#583)
[ ] System: remove unused functions (#581)
[ ] OverlayBar: remove styles and cleanup (#560)
[ ] Toast: subclass Widget, redo styles (#580)
[ ] HyperTextView: Use Gtk.show_uri (#591)
[ ] SettingsSidebarRow: Use semantic icon names
[ ] Handle StatusType.NONE
[ ] SwitchModelButton: ellipsize label at 25ch
[ ] SettingsSidebar: subclass Gtk.Widget (#593)
[ ] GraniteDemo: fix pane resizing
[ ] SettingsSidebarRow: remove hardcoded styles (#595)
[ ] AbstractSimpleSettingsPage: remove hardcoded styles (#596)
[ ] SimpleSettingsPage: Allow markup in description
[ ] Remove AsyncImage (#600)
[ ] Demo: Remove unused demos
[ ] Remove Drawing (#603)
[ ] Dialog: set content area to vexpand
[ ] MessageDialog: set window title to primary text
[ ] Update release.yml
[ ] Release 7.0.0 (#599) Tagged: 7.0.0

Result of nixpkgs-review pr 171082 run on x86_64-linux 1

1 package built:

pantheon.granite7


WIP rudiementary copyright/license checker

WIP DO NOT MERGE!
This is a rudimentary checker for make or ci that checks if go files start with the package keyword, if it warns about (probable) missing license/copyright headers.

Adds make license-checktarget

Uoook, just realized that the PR is WIP :sweat_smile: . Please feel free to dismiss my review, sorry!


Is there a way of custom fallback merge method?

I think it is not a good idea change the fallback behavior by default with a broken way after 1.2.2, make it as a optional setting is better

https://github.com/akaunting/laravel-setting/commit/8768c0d5c19cc9eb4ccf343988b56cc859af3c1f

Unfortunately, that's not possible.


Add index docs

Part of https://github.com/pulumi/home/issues/3598

Auto-generate index file
Bridge changes and section skips

Dupe, sorry for the noise.


Capitalization mistakes

I saw this in #beginners on Elm Slack:

what am i doing wrong here - says that I have a naming error Cannot find pattern OK

They used OK instead of Ok. At a glance, I can see how someone might look at their code and look at the suggestion of Did you mean "Ok"? and not spot the distinction.
Hints could detect when one of the suggestions matches what you typed exactly, except for capitalization (e.g. with if String.toLower actual == String.toLower suggestion) and call this out. Something like:

Did you mean:
Ok (Note the different capitalization from OK)
Okra
Octopus

Related to this. Capitalization mistakes in records produce unhelpful error messages. Someone using elm-ui got stuck with this error and it took me several minutes before I noticed onchange should be onChange
This argument is a record of type:    { checked : Bool
    , icon : Bool -> Element msg1
    , label : Label msg
    , onchange : Bool -> Msg
    }
But `checkbox` needs the 2nd argument to be:    { checked : Bool
    , icon : Bool -> Element msg
    , label : Label msg
    , onChange : Bool -> msg
    }


feat: enforce lowercase for slug when creating org [EP-2755]

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Automated cherry pick of #1870: fix: agent registration will report version

Cherry pick of #1870 on release/2.11.
#1870: fix: agent registration will report version

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@99095ee). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #1871   +/-   ##
==============================================
  Coverage                ?    7.6%
==============================================
  Files                   ?     412
  Lines                   ?   63628
  Branches                ?       0
==============================================
  Hits                    ?    4836
  Misses                  ?   58382
  Partials                ?     410

Flag
Coverage Δ

#aFlag
7.6% <ø> (?)

Impacted Files
Coverage Δ

pkg/compute/models/baremetalagents.go
7.54% <ø> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


[Bug] Startup Camera and Record Camera not working in this version!

As title says, Both camera related options are broken or not working.

I haven't encountered this problem, is there any error?

So this is working on android 13+ phones but does no support Android 12 or below it.
Error is shown when Android 12 phone is connected:

Maybe you need to report the problem to scrcpy

yep yes I will raise issue in Scrcpy https://github.com/Genymobile/scrcpy/issues/5539#issue-2693268662

Just an update:
The bug might be solved in 3.0.1 version.
If interested here are details: 5539


Increase speed of the Console network check

The Chore
When console (or governance app) checks with the wallet to find out the network currently it whirs around for quite a long time.  This is because Console sends a request to the wallet to ask what chain ID it is on, then the wallet sends requests to datanodes to ask this.  If a few datanodes are needed it takes a while.
This shouldnt be taking this long because the wallet should already know which chain it is on when it boots up.  Therefore it should be able to respond instantly.
Tasks

[ ] Make sure the browser wallet is caching the chain ID its on when it starts up
[ ] Make sure it can provide this to Console instantly
[ ] Confirm in tests that Console is now fast

Additional details / background info

The web wallet check on datanodes is different already.
Once it has contacted the first datanode the others only have a short amount of time (we think 800ms) before it will just go with the first one rather than continue the round robin.
So we dont see this behaviour on web wallet, it is generally doing this in <2s.
So I'm closing this and will keep an eye on it.


Set boundary conditions for the choice of the energy generation

For example, it could be limited by resource availability and accessibility.

@shanshanhsieh can you provide a better description. or is it still relevant?


Added the 'spo serviceprincipal permissionrequest approve' command solving #153

Added the 'spo serviceprincipal permissionrequest approve' command solving #153

Coverage remained the same at 100.0% when pulling 0fd9840b14681a5621a575cb4b5f9daffb1d54cf on waldekmastykarz:spo-serviceprincipal-permissionrequest-approve into 9961a51f936aa949e175011d07bdb7e1502f97c4 on SharePoint:dev.

Merged manually


divide by zero encountered

Can any one help please ?
tensorflow 1.5- python 2.7.12 - cuda 9.1 - cudnn 7 - ubuntu 17.10
style_transfer_trainer.py:219: RuntimeWarning: divide by zero encountered in long_scalars   epoch = (iterations * self.batch_size) // num_examples
btw : I replaced some images (different size) with train2014 images

I found the solution
just need resize

@mikatalk this one so old i cant exactly remember but from what i write
I think i used mogrify  to resize all images to specified size mentioned in codes