text:
Add dump/restore tests for older version

Description
Add workflow to test dump/restore of version 15.5, the first
version which supports dump/restore, so that the dump utilities
always remain backward compatible.
Task: BABEL-5029
Signed-off-by: Rishabh Tanwar ritanwar@amazon.com
Engine PR: https://github.com/babelfish-for-postgresql/postgresql_modified_for_babelfish/pull/385
Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build 9460984687
Details

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

Totals

Change from base Build 9451272229:
0.0%

Covered Lines:
42280

Relevant Lines:
57870

💛  - Coveralls

Pull Request Test Coverage Report for Build 9461947560
Details

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

Totals

Change from base Build 9451272229:
0.0%

Covered Lines:
42280

Relevant Lines:
57870

💛  - Coveralls

Pull Request Test Coverage Report for Build 9469630767
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 73.065%

Totals

Change from base Build 9451272229:
0.005%

Covered Lines:
42283

Relevant Lines:
57870

💛  - Coveralls


text:
基于安企CMS + Fate 二次开发的起名网站，开源的

鉴于作者业务繁忙，开发中的第三版还没有面世，因此，我将 Fate 集成到了 AnQiCMS 中了。虽然没有做后端管理功能，但前端使用没问题。
下载地址：
https://github.com/fesiong/goblog/releases/tag/fate
基于安企CMS + Fate 二次开发的起名网站安装教程
应用到的开源项目：

AnQiCMS
Fate

安装方法：

下载 anqicms-linux-fate.zip
安装步骤按照AnQiCMS的安装步骤进行，AnQiCMS安装教程
登录网站后台，在功能里找到备份与恢复功能，找到备份文件[20240908-qiming]，点击恢复。由于备份文件较大，因此恢复时间可能会超过1分钟，为了确保恢复成功，建议在点击恢复后，等待10分钟左右，点击右上角重启按钮，重启网站。
恢复并重启网站后，来到模板设计里，点击启用[起名模板]。

完成以上步骤后，即可得到一个完整的起名网站。该网站的起名功能仅集成到了前台，后台管理功能未实现。界面不甚美观，还请见谅。
起名网站的功能：

八字起名
古籍起名
(论语、大学、中庸、诗经、周易、楚辞、尚书、道德经、唐诗、宋词、三字经、千字文、美好成语)
姓名测试
生辰八字测算
起名字典
百家姓
生肖起名

界面截图：
首页

起名结果

姓名测试

八字测算

嗯,不错.
置顶30天.

source: gharchive/issue

authors: fesiong godcong

repo: babyname/fate

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 SM Service is down

In 1d1fcf0, SM Service (http://smservice.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SM Service is back up in c2ad82e after 39 minutes.

repo: bachmannschumacher/upptime


text:
about composite images

When I was learning about  Salient Object Detection，I used composite images to augment the training set：
C= F × α + B × (1 − α)
C：composite image
F： foreground image
B: background  image
α values the image mask.
After the completion of training, the final effect does not reach the expectation, and some results often appear low gray value of the shadow.Regarding this phenomenon, do you have any suggestions for setting alpha or image mask.
Looking forward to your reply

I can not give you much useful suggestions as I have not tried this kind of
data augmentation in SOD. But you may refer to the image matting papers.
kobe notifications@github.com 于2021年1月27日周三 下午6:02写道：

When I was learning about Salient Object Detection，I used composite images
to augment the training set：
C= F × α + B × (1 − α i )
C：composite image
F： foreground image
B: background image
α values the image mask.
After the completion of training, the final effect does not reach the
expectation, and some results often appear low gray value of the
shadow.Regarding this phenomenon, do you have any suggestions for setting
alpha or image mask.
Looking forward to your reply
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/backseason/PoolNet/issues/75, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYO2OASPF26QCYGIHY2TMTS37QFFANCNFSM4WU7DHHA
.

--
From BackSeason-刘姜江
Major in Computer Science and Technology
Nankai University, Tianjin,300350
P.R.China
J04.liu@gmail.com j04.liu@gmail.com

I can not give you much useful suggestions as I have not tried this kind of
data augmentation in SOD. But you may refer to the image matting papers.
kobe notifications@github.com 于2021年1月27日周三 下午6:02写道：

When I was learning about Salient Object Detection，I used composite images
to augment the training set：
C= F × α + B × (1 − α i )
C：composite image
F： foreground image
B: background image
α values the image mask.
After the completion of training, the final effect does not reach the
expectation, and some results often appear low gray value of the
shadow.Regarding this phenomenon, do you have any suggestions for setting
alpha or image mask.
Looking forward to your reply
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/backseason/PoolNet/issues/75, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYO2OASPF26QCYGIHY2TMTS37QFFANCNFSM4WU7DHHA
.

--
From BackSeason-刘姜江
Major in Computer Science and Technology
Nankai University, Tianjin,300350
P.R.China
J04.liu@gmail.com j04.liu@gmail.com

I can not give you much useful suggestions as I have not tried this kind of data augmentation in SOD. But you may refer to the image matting papers. kobe notifications@github.com 于2021年1月27日周三 下午6:02写道：
…
When I was learning about Salient Object Detection，I used composite images to augment the training set： C= F × α + B × (1 − α i ) C：composite image F： foreground image B: background image α values the image mask. After the completion of training, the final effect does not reach the expectation, and some results often appear low gray value of the shadow.Regarding this phenomenon, do you have any suggestions for setting alpha or image mask. Looking forward to your reply — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#75>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYO2OASPF26QCYGIHY2TMTS37QFFANCNFSM4WU7DHHA .
-- From BackSeason-刘姜江 Major in Computer Science and Technology Nankai University, Tianjin,300350 P.R.China J04.liu@gmail.com j04.liu@gmail.com

repo: backseason/PoolNet


text:
[microsite] Plugin Marketplace - Category Filter

Feature Suggestion
It would be great now that there are many items in the Plugin Marketplace that we add a filter by category so that way you can find plugins a little more easily
Possible Implementation
This could simply be a drop down with all the available categories or as complex as a multi-select and then the cards would filter based on the selection
Context
Now that there are lots of awesome plugins it's getting a bit harder to find things

Yes that sounds like a great idea. Would it be worth doing this as a followup after Docusaurus 2?

Yes, I gave this a try myself while I was on vacation and had the urge to code a little. I could get the drop down populated with the categories but trying to get it to filter just wasn't going to work

Tbh it might be a good idea to put this one on ice until #12019 is through. Client-side scripting is a bit of a pain on the microsite currently.

Still something that would be great to have once #12019 has been completed 👍

Still want this ⬆

And likely more possible now that #12019 is in!

@awanlin you already gave a try right? Want an extra hand?

Yeah, now that we are on Docusaurus 2 this should be much easier. My workload is pretty high right now - I already have 4 bigger PRs waiting for review - so feel free to run with this @antoniobergas 🚀

Yes, that sounds awesome!

Stretch goal: multi-select if that's not too hard

@awanlin
So wanna give some background about what I did.
Implement a single selector was easy so then I tried the multi one but the feeling in the UI was not good enough from my point of view (If so select more than 2 categories the rest was hidden inside the selector)
So after make a quick search I decide to go for a chip filter. I honestly love the final result and I think that fits more the the microsite design.
Let me know what you think! 😊
PD: By the way I don't have that much expertise on React so further suggestions will be appreciated to make a better code!

authors: Rugvip antoniobergas awanlin freben jhaals

repo: backstage/backstage


text:
SonarQube api key if empty or space its accepting it

Expected Behavior

Actual Behavior

Steps to Reproduce

Step 1
Step 2
...

Your Environment

Browser Information:

Output of yarn backstage-cli info:

Closing this issue as there's not enough information. Please re-open and fill in all the fields so we can triage successfully! :pray:

authors: benjdlambert indukuriv


text:
[Plugin] Tech Stacks

Summary
share links and documentation on the tools we use.
like stackshare
Context
provide a default configuration and configuration file to enable the tools used in your organization
preview :

Very nice! Do you want me to assign you (since it looks like you're working on it)?

Yes, you can.
Thanks

Done. There is also an interesting overlap here with the native Explore plugin in Backstage:

However the use-cases are slightly different, so I think these plugins are complementary. Your plugin outlines the broader tech stack of a company whereas the Explore plugin is meant to help users of Backstage find what plugins are available in their companies' Backstage deployment.

I have a question:
I need to store the logos of the applications and they must be publicly accessible.
Do you have any recommendations?

My suggestion would be to use existing public URLs if possible.

Hi @easylo,
You may use most logos from here: https://landscape.cncf.io/

authors: easylo kiranpatel11 stefanalund


text:
Fix ReferenceError: database is not defined after create-app

Fix create app template.
Backend failed to start up, ReferenceError: database is not defined

Thanks! You'll have to add a changeset as well though so it gets released.

Thank you! But I've been solving this in a different way in https://github.com/backstage/backstage/pull/10150 which hopefully also makes it less likely to happen again.

source: gharchive/pull-request

authors: freben uoxiu


text:
Embed Scaffolder create flow into Catalog entity page

Hey, I just made a Pull Request!
Following on from the discussion on #14706 , this a proof of concept PR to get feedback.
This PR extracts an EmbeddableWorkflow workflow component from the next/TemplateWizardPage that can be called from both the next/TemplateWizardPage and other components.
The PR also contains an EmbeddedScaffolderWorkflow component that acts as a public API for the EmbeddableWorkflow which can be called like this:
<EmbeddedScaffolderWorkflow
  title="Altered title"
  description={`
## This is markdown
- overriding the template description
`}
  onComplete={onComplete}
  onError={onError}
  namespace="default"
  templateName="docs-template"
  initialFormState={{
    name: 'prefilled-name',
    description: 'prefilled description',
    owner: 'acme-corp',
    repoUrl: 'github.com?owner=component&repo=component',
  }}
  frontPage={
    <>

Security Insights

        Security insights actionable advice to improve security posture of
        your application

        You must complete on-boarding process to activate security insights
        on this project.

    </>
  }
  finishPage={
    <>

Security Insights

Congratulations, this application is complete!

    </>
  }
  ReviewStateWrapper={ReviewWrapper}
/>

The component has an initialState prop that allows the user to pre-populate the component with the initial form state.
The component also has optional frontPage and finishPage props that allow the user to add additional content to the start and finish of the workflow.
https://user-images.githubusercontent.com/118328/207044186-8bf6eb9d-ac96-4fed-bd2b-beb1d797bfee.mp4
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[X] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Before diving deep into the code: I'm wondering if this should be part of the scaffolder or if it makes more sense to separate it into a new plugin similar to the behaviour described in the documentation here: https://backstage.io/docs/plugins/integrating-plugin-into-software-catalog

@tudi2d  My reason for not making a new plugin is that I have separated out a new component from the TemplateWizardPage and it makes sense (to me anyway) to keep it all in the existing package as there would be coupling between the new plugin and the scaffolder.
I will change it, though if that is required.

I'm starting to feel that we should lean a little bit on the pattern that we've got setup in the catalog.
@backstage/plugin-scaffolder-react and @packages/scaffolder-client or something which will allow you to build this outside of the plugins/scaffolder folder entirely.
Maybe also plugin-scaffolder-react has some components that you can re-use too to build your own views and make more extensible if you like, and maybe the hooks to build most of the TemplateWizardPage and things like that today.
Going to bring in some more of the @backstage/maintainers too to see if they also think it's a good idea, and a good point to start to follow that pattern.

@backstage/plugin-scaffolder-react and @packages/scaffolder-client or something which will allow you to build this outside of the plugins/scaffolder folder entirely.

@benjdlambert I can't find any packages that match either of those names.

I'm starting to feel that we should lean a little bit on the pattern that we've got setup in the catalog.
@backstage/plugin-scaffolder-react and @packages/scaffolder-client or something which will allow you to build this outside of the plugins/scaffolder folder entirely.
Maybe also plugin-scaffolder-react has some components that you can re-use too to build your own views and make more extensible if you like, and maybe the hooks to build most of the TemplateWizardPage and things like that today.
Going to bring in some more of the @backstage/maintainers too to see if they also think it's a good idea, and a good point to start to follow that pattern.

Yes to breaking it out into components and a client to make scaffolder usable inside other plugins! 👏

@benjdlambert breaking this apart isn't easy because of things like the scaffolderApiRef, this is a subrouteref and it would be needed in the new package @backstage/plugin-scaffolder-client or whatever and in the existing @backstage/plugin-scaffolder.
Somebody mentioned in a previous PR that exporting routeref is not currently possible.

Hey @dagda1, so this is definitely something that we want to accept as a contribution, and I feel that we should really be moving some of these components out into a -react package along with the routeRefs etc, exactly how the catalog-react package does it. I've started work on a PR which is going to unblock this work, and hopefully make it much easier to build something like this either on your own or to use this plugin that you're suggesting.
If it's OK with you, i'd like to wait for us to get https://github.com/backstage/backstage/pull/15399 in before continuing on this path, as I think it might change some of the code and approach to building this.
This feature is something that's come up internally too @ Spotify, so we 100% want to work together to get something like this in :pray:
Hope this makes sense 👍

@benjdlambert I'm happy to wait for #15399 .  Making the routeRefs exportable is beyond my knowledge right now so I'll watch that PR with interest.

@dagda1, so if everything goes to plan, there shouldn't be any breaking changes either, as the @backstage/plugin-scaffolder will just re-export everything that it needs to from @backstage/plugin-scaffolder-react, although they will be marked as deprecated and cleaned up next major release so that you would have to import them from the other package eventually 👍

Same as this comment applies here: https://github.com/backstage/backstage/pull/15414#issuecomment-1378552889
I've also been thinking about this API a little bit for the embedded view, and I think I'd like to remove the frontPage and finishPage bits of this and let the implementer control those directly instead, and have some form of state. So I think then comes the question what's the smallest we can get away with? Is this possible just to implement using the Stepper component from @backstage/plugin-scaffolder-react.  Have a little play and see what you can come up with 👍

Same as this comment applies here: #15414 (comment)
I've also been thinking about this API a little bit for the embedded view, and I think I'd like to remove the frontPage and finishPage bits of this and let the implementer control those directly instead, and have some form of state. So I think then comes the question what's the smallest we can get away with? Is this possible just to implement using the Stepper component from @backstage/plugin-scaffolder-react. Have a little play and see what you can come up with 👍

@benjdlambert  I've scaled things right back.  I've extracted a Workflow component to scaffolder-react, which is the bare minimum we need to embed scaffolder workflows elsewhere.

Thank you, @benjdlambert. @dagda1, do you have any documentation or sample of how I can use this feature? Thank you

Thank you, @benjdlambert. @dagda1, do you have any documentation or sample of how I can use this feature? Thank you

@abkura where would the documentation go?  I can't seem to find anything on the NextScaffolderPage

@abkura where would the documentation go? I can't seem to find anything on the NextScaffolderPage

It's the documentation will follow when it's made available for testing. It will be under an experimental item on the microsite. Given its under heavy development right now and subject to breaking changes we haven't made any public announcement about it.

I am going to write a blog post about the embedded scaffolder workflow, as it is something clients have been asking about.  We can definitely help out with documentation in general and can supply the relevant stuff for anything we have added.

I am going to write a blog post about the embedded scaffolder workflow, as it is something clients have been asking about. We can definitely help out with documentation in general and can supply the relevant stuff for anything we have added.

Thank you, @dagda1. Appreciate your help. BTW a great feature!!

@dagda1 trying this feature which is released in 1.11.0 but only the first field of the template is being shown on the UI

I'm using the example you have on the top
appreciate if you can shed some light to what I may be missing

@dagda1 EmbeddedScaffolderWorkflow doesn't show ui:field elements as they show on the scaffolder page. Example: EntityNamePicker, OwnerPickers on templates are showing as inputs. is there any configuration I need to pass for them to show up?

@dagda1 EmbeddedScaffolderWorkflow do>   I need to pass for them to show up

Sorry I'm on my phone but yes.  The need passed in the ScaffolderFieldExtrnsions as children

@dagda1 any samples which I can use?

@dagda1 any samples which I can use?

@abkura sorry, I replied last night when I was watching my son play football and thought I was replying on a different repo :).
We actually only have some o the pieces to do this completely.  We need to add OngoingTask to plugin-scaffolder-react.  I have started creating the PR.
We have a hack in a PR in this repo that we have not published yet.  You can take a look at this, but this becomes much simpler when OngoingTask is a component we can use in a route for react-router.
Here is a component that creates an embedded scaffolder workflow.
Here is a usage example.
Here is a test with ScaffolderFieldExtensions.

@dagda1 Thank you, and I appreciate your providing the above reference links

@dagda1 great work on this! the example links don't seem to be working, are you able to provide updated examples?

authors: abkura benjdlambert dagda1 jhaals regicsolutions


text:
fix(docs): Fixed various letter casing and script errors

Hey, I just made a Pull Request!
Various fixes around documentation with regard to proprietary names (eg GitHub and macOS) and missing script parentheses.
:heavy_check_mark: Checklist

[ ] ~A changeset describing the change and affected packages. (more info)~
[X] Added or updated documentation
[ ] ~Tests for new functionality and regression tests for bug fixes~
[ ] ~Screenshots attached (for UI changes)~
[X] All your commits have a Signed-off-by line in the message. (more info)

Could you please rebase the branch with master, @deejay1?

@camilaibs did it as soon as I got to work :)


text:
Should there be a redirects plugin?

THIS IS JUST A PROPOSAL
Hey, I just made a Pull Request!
In sufficiently mature instances of Backstage, the need for redirects will become inevitable.  Some use-cases are already popping up in the wild (#4931).
Proposal here is to introduce a plugin that defines a configuration-based approach to redirects.  It exposes a <Redirects /> routing component that Backstage adopters can mount in their app that handles all configured redirects on their behalf.
Maybe there ought to be a facility for plugins to declare redirects at some point, for backward compatibility, but I wonder if an App-level redirect system is more useful right now.
What do y'all think?
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hm. A little torn on this one. We're in general pushing toward composability using JSX elsewhere, and I'm personally becoming a little hesitant about how much to drive from config vs how much to drive from code.
For starters, of course react-router has a Redirect element. So for redirects within a single plugin, that's already available. And for simpler redirect cases in the app level, it can be used too - the same people that control the config file also control App.tsx in the frontend package..
What we could do is to make helper components for making redirects where dynamic path elements are involved. So that you could do
<BackstageRedirect from="/old/:id" to="/new/:id" />

instead of using raw Redirect and making an explicit wrapper component that gets the id using a hook and injects it into the destination path.
Does that make sense? What you propose would definitely work, but I'm wondering if it would be less powerful or solve a subset of redirect needs, while introducing a new concept. Happy to be corrected!

I'm personally becoming a little hesitant about how much to drive from config vs how much to drive from code.

Indeed.

...the same people that control the config file also control App.tsx in the frontend package.

This is fair, but imagine...  There is a mature Backstage instance.  There is a documented process for a Backstage user to rename a catalog entity.  The last step in the process is to set up a redirect from the old entity to the new entity.  Would you, as the person in control off App.tsx / app-config.yaml, prefer the person walking through that documentation add some form of <Redirect /> element to App.tsx (or somewhere similar in code) or some form of redirect config to app-config.yaml (or somewhere else referenced in config).
Bearing in mind also that this person may not be familiar with React or front-end at all.  They may not even be a developer (e.g. a PM).

Right, I started typing out a section about backend-driven redirects but had trouble formulating it well - what you said about renames was a good segue into that though.
For the flow that you describe, I would envision this being driven not by config but entirely by the catalog plugin. As in, the catalog would have to store "move" pointers inside its database. Then when the frontend loads an entity URL, it would try to load the entity data itself but gets back a specific JSON response that says "this entity now has this other name instead". Then it would render a single Redirect instead of the regular component output, and the view gets redrawn at the new location.
The cool thing about driving things this way, is that now the backend has the ability to do this in all the nice HTTP ways. It could respond with an actual 301 Moved Permanently and a Location header pointing to where the data now resides, in addition to a JSON body for convenience. So curl would also automatically do the right thing.

@freben  It would be sweet if the Catalog stored those "moved" pointers and was able to appropriately redirect the client based on them.  I'd much prefer that approach over a purely client-side one.
But would that work for every tab on an entity page, or would plugin implementers have to account for this somehow themselves?  And what about things that hang off of the catalog, but not as explicitly (e.g. the /docs/:namespace/:kind/:name way to get to docs?). And then (naturally) what about things that are not related to the catalog at all?

I think (:D) I'm mostly arguing that config won't be the right storage for this in any case.
The admin that wants to point something STATIC elsewhere (for example, moving the /catalog root to /things instead) can do so just fine already in JSX. Same for one-off extreme things.
The plugin owner that wants to rearrange things inside their own plugin but not break consumers, are the same as above, they'll use JSX and relative paths.
The person that moves dynamic data around in an external system, will likely have a fairly poor experience in a config driven approach, since in practice that means contacting the Backstage owner team and persuading them to change a line in config and redeploying the system. So I'm thinking that maybe those situations will need to be driven "externally" with the support of the externals?
Your example with the /docs/..., I think that'll benefit from my proposal because the hooks etc will know to follow redirects properly because that's part of the semantics of the catalog then.
But if you think of other situations ... What if you rename a team in PagerDuty? What if you decommission a GCP project and make a new one? Etc. Shall we support those kinds of things using the redirects mechanism proposed here?

I guess I'm wondering if it's reasonable to expect all plugin owners to roll their own redirect tracking, storage, and implementation.  Or put another way: as a plugin owner, my life would be so much simpler if I only had to have knowledge about the present state of my external system, rather than all previous states.  Especially if the external system I'm talking to doesn't itself track those key state changes (as per your GCP example, probably pager duty too).
So a lightweight, centralized redirect mechanism would have a couple of benefits:

Offloads the need to support redirects for plugin maintainers elsewhere
Offers the opportunity to collect redirect usage/metrics in a standard way, which would enable App owners to make decisions about removing unused/outdated redirects over time (or in sufficiently advanced organizations, maybe even automating that process)

And storing the redirects in something other than JSX could have a couple of advantages as well:

Makes it very clear that the redirects are static
Takes DX for non-React peeps into consideration
Perhaps easier to parse/reason about/modify in automated contexts (see automated redirect deletion scenario above)

I agree, app-config.yaml is not a great place for this.  I could imagine some other dumb ideas though:

We could parse and inject redirects read in from .htaccess or nginx conf files 🤮
Or how about blowing this out into a redirects-backend plugin that stores redirect patterns in the DB, and we expose a nice UI in the front-end plugin to manage them 😐 .
Or, still loading it via config API, but opening it up to separate, arbitrary config files like redirect-config.yml 🤨 ...

Or, we could just create a recommendation in documentation (or even a spot in App.tsx in the create-app) for how to handle static redirects in JSX using react router natively, which plugin maintainers like myself could handily link to 😬 .

@iamEAP another option is to add something like a redirects property to FlatRoutes, and then introduce some convention like
import { redirects } from './redirects.ts';
...
  <FlatRoutes redirects={redirects}>
...

With the redirects prolly just being defined like this
export const redirects = {
  '/from/foo/*': '/to/bar/*'
}

It adds a bit to the API surface, but perhaps a bit easier to find and modify than if it's in directly in JSX with the react-router API.

I'm going to close this PR with the answer to the question posed in the PR being, "Probably not."
Instead of this, I'm pitching a "within TechDocs" solution for the TechDocs issue, and opening a new issue for supporting redirects within (and around) the catalog.
For other cases, one can readily use JSX/React Router to do the job at the app-level.

authors: Rugvip freben iamEAP


text:
Correcting the path to the Root component in the plugin docs

Signed-off-by: Travis Truman trumant@gmail.com
Hey, I just made a Pull Request!
Fixes #5283
:heavy_check_mark: Checklist

[X] Added or updated documentation
[X] All your commits have a Signed-off-by line in the message. (more info)

Thanks!

authors: benjdlambert trumant


text:
Mask or hide values on scaffolder review step

Hey, I just made a Pull Request!
Added ui:options to hide or mask field values on Review Step
parameters:
    - title: The test template
      properties:
        secret-password:
          title: Secret Password
          type: string
          ui:widget: password # will mask the value on review step
        secret-masked:
          title: Secret Masked
          type: string
          ui:options:
            review:
              show: true # true / false. Default true
              mask: '******' # string to be showed instead the value
        secret-hidden:
          title: Secret Hidden
          type: string
          ui:options:
            review:
              show: false # property will not be shown
        owner:
          title: Repository Location
          type: string
        repo:
          title: Repository Location
          type: string

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

closes #6393

@benjdlambert My original Pr was closed by mistake.
Can we continue the discussion at this one?
Dropping the mask property is ok for me. What about the show property? Do we have any other better place to move it?

Hmm - i wonder if it makes sense to move it to ui:backstage or something instead. That way we can filter it out before sending it to the uiSchema

Great idea...
In this case we could maintain the mask property, couldn't we?
So, the configuration would be:
- title: Hide or mask values
  properties:
    password:
      title: Password
      type: string
      ui:widget: password # will print '******' as value for property 'password' on Review Step
    masked:
      title: Masked
      type: string
      ui:backstage: <--
        review:
          mask: '<some-value-to-show>' # will print '<some-value-to-show>' as value for property 'Masked' on Review Step
    hidden:
      title: Hidden
      type: string
      ui:backstage: <--
        review:
          show: false # wont print any info about 'hidden' property on Review Step

@chicoribas yeah I think that seems pretty reasonable. Thoughts @freben?

@benjdlambert Done...
Review properties are on ui:backstage session.
Thanks...

@benjdlambert Can we merge this?

authors: benjdlambert chicoribas


text:
Document new wildcard include on README.md

Follow-up to #67

Cool! Is this something we should add to the example in https://backstage.spotify.net/docs/docs/techdocs/monorepos/ as well @iamEAP?

authors: bodilb iamEAP

repo: backstage/mkdocs-monorepo-plugin


text:
🛑 My Blog is down

In 958f077, My Blog (https://hyl.im) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My Blog is back up in 5b4f943.

repo: baddate/uptime-monitor


text:
Proposal: Adopt TypeScript in the frontend

I've been doing a lot of frontend work in TypeScript these days, and it's clear that it's dramatically easier to make behavior changes with types in place. Making major changes to the Shields frontend is always very effortful – and the support of types should make it both faster to work on, and a lot more fun.
Although there is a learning curve, I'm convinced the tradeoff is worth it. Here's my reasoning:

We haven't attracted a huge number of contributors to our frontend.
A type system will speed up experienced frontend developers, not slow them down.
We're more likely to attract good frontend developers if the developer experience is good. Types make that experience way better.
As code changes, PropTypes take even longer to maintain than TypeScript types, and they provide much less value.

TypeScript plays well with the tools we're already using: React, Prettier, ESLint, and styled-components. Unsurprisingly, it works great in VS Code, which might be the most popular editor for frontend work these days.
It also looks like it works with Gatsby too, though I don't have personal experience using it with Gatsby. I expect most of our frontend libraries (like react-pose and react-select) have types, though there may be bit of work writing type defs for some of the smaller ones.
On the server side I still think we want to keep things tipped toward welcoming new contributors who are experienced programmers but not necessarily JS developers. I think our server framework provides a good experience, even for people who aren't familiar with JavaScript, and think @chris48s's work adding documentation with type annotations to our core library is a better way to help them.

SGTM. I'm a big fan of TypeScript, but like everything in life, there's pros and cons associated with it that should be considered in context.
The rationale you've outlined above makes a strong case that the pros outweigh any cons in the context of the frontend IMO, so I'm on board!

I'm not familiar with Typescript and barely ever touch the frontend code anyway. No strong opinion either way.

This is done!

authors: PyvesB calebcartwright paulmelnikow

repo: badges/shields

license_source: bigquery


text:
AI image modal not fully showing

Describe the bug
The modal to add AI images is not fully shown when opened from another modal. The close button and other fields are cut off.
To Reproduce
Steps to reproduce the behavior:

Go to Create Attributes page
Set attribute type as "select"
use "Image swatch" as input option
Add new row
Click on "Magic AI" option.
The modal to create a prompt and generate the AI image is not fully shown. It takes the height of the "Add row" modal and not all content of the AI modal is shown. This issue prevents closing the modal since the close button is cut off.

Expected behavior
The AI modal should get the correct height without any overflow cutting of the content
Screenshots

Desktop (please complete the following information):

OS: MacOS 14.2.1 (23C71)
Browser: Chrome Versie 126.0.6478.61 (Official build) (arm64)
Version v2.1.2

@Yorgv
Thank you very much for your concern. We are able to generate images with the help of OpenAI.
However, we are having trouble understanding your specific concern. Could you please provide a video or a more detailed explanation of the issue? We would love to assist you further.
Thank you.

This is expected behavior, we are using modal with overflow behavior.

authors: Yorgv ashishkumar-webkul devansh-webkul

repo: bagisto/bagisto


text:
Attribute Error: Can't pickle local object

Hi. Thank you for sharing!
I am trying to run with :
--ni --config celeba_hq.yml --doc celeba --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05 -i celeba_hq_sr4_sigma_0.05
but I am getting:
Attribute Error: Can't pickle local object 'Diffusion.sample_sequence..seed_worker'
in the runners/diffusion.py?
is there any way around this?
thank you

Hi. Thank you for sharing! I am trying to run with : --ni --config celeba_hq.yml --doc celeba --timesteps 20 --eta 0.85 --etaB 1 --deg sr4 --sigma_0 0.05 -i celeba_hq_sr4_sigma_0.05 but I am getting: Attribute Error: Can't pickle local object 'Diffusion.sample_sequence..seed_worker' in the runners/diffusion.py? is there any way around this? thank you

@divastar Hello, I have the same problem as yours, did you solve the problem? If you have already solved this problem, could you please tell me how to solve it?
Thanks a lot!

authors: LinWeiJeff divastar

repo: bahjat-kawar/ddrm


text:
Question / Memory

Versions:

VueJs: 2.5.1
Vee-Validate: 2.0.3

Description:
We are using Vue / SSR based on the hackernews boilerplate.
We have added form validation using this plugin.
We use in app.js
Vue.use(VeeValidate, { locale: 'fr', dictionary: validations.getDictionary() })
We use in our component:
inject: ['$validator']
Somehow when we run apache bench on our SSR nodejs process (we also manually force a process.gc() on every request to ensure we have a garbage collect ran on every queries) to ease the HeapDump comparison.
We see the ErrorBag object not being free'd by the GC this end up with the process going out of memory / high CPU usage when doing Garbage collection.
We identified that if we remove from the "SSR" this component and only add the VeeValidate on the entry-client.js, the server doesn't have this behavior. Memory seems to stay stable but unfortunately we cannot get the Form validation to be functional as we had to remove the inject: ['$validator'] from our component to the the SSR server working
Any idea / advice ?

thanks for reporting the issue, @ACenterA has fixed it in the PR #1163

authors: FLavalliere logaretm

repo: baianat/vee-validate

license: mit


text:
SimNet通过PaddlePaddle 平台训练的模型

SimNet通过PaddlePaddle 平台训练的模型  怎么加入AnyQ的model 系统中 我直接放到anyQ的conf/simnet下启动anyQ报错

请问楼主解决了吗？同问

请问楼主解决了吗？同问

没有 换成别的框架了

请问楼主解决了吗？同问

解决了 __model文件还用anyq的 其他的替换了就行

请问楼主，我也试了“ __model文件还用anyq的，其他的替换了就行”。不过还是不行。因为其他编译出来的文件都不一样。
原本的模型文件，model文件夹下有4个文件，分别是：model、emb、tanh.b、tanh.w。
而我编译出来的model文件里有6个文件，分别是：model、emb、cos_sim.b、cos_sim.w、fc.b、fc.w。
1、我用的是bow_pointwise.json进行训练的，请问你也是吗？
2、另外，可否把你的模型训练的配置文件贴出来看一下吗？
谢谢。

SimNet通过PaddlePaddle 平台训练的模型？请问楼主是怎么训练的？哪些脚本？

请问楼主，我也试了“ __model文件还用anyq的，其他的替换了就行”。不过还是不行。因为其他编译出来的文件都不一样。
原本的模型文件，model文件夹下有4个文件，分别是：model、emb、tanh.b、tanh.w。
而我编译出来的model文件里有6个文件，分别是：model、emb、cos_sim.b、cos_sim.w、fc.b、fc.w。
1、我用的是bow_pointwise.json进行训练的，请问你也是吗？
2、另外，可否把你的模型训练的配置文件贴出来看一下吗？
谢谢。

我编译出来的文件也是 6 个文件，同你的一样,也用的是 bow_pointwise.json 训练的,
但是 原model 文件是 4个，不太一样,原model加载后信息显示 如下
I0100 00:00:00.000000  5046 method_simnet_emb.cpp:63] RAW: fetch name: 0 tanh.tmp_1
I0100 00:00:00.000000  5046 method_simnet_emb.cpp:63] RAW: fetch name: 1 cos_sim_0.tmp_0
I0100 00:00:00.000000  5046 method_simnet_emb.cpp:71] RAW: query/cand/emb index: 0 1 0
I0100 00:00:00.000000  5046 method_simnet_emb.cpp:72] RAW: query/cand/emb index: 0 1 0
现在不知道这加载的信息是否正确.?????

请问楼主，我也试了“ __model文件还用anyq的，其他的替换了就行”。不过还是不行。因为其他编译出来的文件都不一样。
原本的模型文件，model文件夹下有4个文件，分别是：model、emb、tanh.b、tanh.w。
而我编译出来的model文件里有6个文件，分别是：model、emb、cos_sim.b、cos_sim.w、fc.b、fc.w。
1、我用的是bow_pointwise.json进行训练的，请问你也是吗？
2、另外，可否把你的模型训练的配置文件贴出来看一下吗？
谢谢。

搞定，修改这两个地方，就可以了,哈哈哈
#bow_layer = layers.FCLayer(self.bow_dim, "relu", "fc")
bow_layer = layers.FCLayer(self.bow_dim, "relu", "tanh")
concat_fc = bow_layer.ops(concat)
#softmax_layer = layers.FCLayer(2, "softmax", "cos_sim")
softmax_layer = layers.FCLayer(2, "softmax", "")

repo: baidu/AnyQ


text:
请教一下

$ make
go get golang.org/x/tools/cmd/goyacc
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4
go: extracting golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4
go: downloading golang.org/x/tools v0.0.0-20191210221141-98df12377212
go: extracting golang.org/x/tools v0.0.0-20191210221141-98df12377212
cd "bfe_basic/condition/parser" && go generate
go test -race -cover ./...
go test: -race is only supported on linux/amd64, linux/ppc64le, linux/arm64, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
make: *** [Makefile:56: test-case] Error 2

建议在Linux环境开发或使用，其它系统暂不支持。

多谢指点------------------ 原始邮件 ------------------
发件人: "Sijie Yang"notifications@github.com
发送时间: 2019年12月29日(星期天) 晚上7:26
收件人: "baidu/bfe"bfe@noreply.github.com;
抄送: "ztf214"1443393629@qq.com;"Manual"manual@noreply.github.com;
主题: Re: [baidu/bfe] 请教一下 (#203)
建议在Linux环境开发或使用，其它系统暂不支持。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

repo: baidu/bfe


text:
请问如何支持spark框架

大家好，
我是spark新手，我想在BFS上层增加个大数据分析，这个可以做到吗？
谢谢!

目前这样的架构 可能还比较难。因为yarn没法使用bfs，而且bfs也不支持java sdk 可能需要hack很多东西

repo: baidu/bfs


text:
lac 2.1.2，能改进公司名的分词吗？谢谢！公司名的分词和标注相当的弱，

赢创(上海)投资管理有限公司
[['赢创', '(', '上海', ')', '投资', '管理', '有限公司'], ['v', 'w', 'LOC', 'w', 'vn', 'vn', 'ORG']]
'奥冉（上海）建设工程设计有限公司'
[['奥冉', '（', '上海', '）', '建设工程设计', '有限公司'], ['PER', 'w', 'LOC', 'w', 'ORG', 'ORG']]
这种很明显的公司名称，分词错误率太高了。
能增加公司名称的训练数据吗？谢谢！！

感觉比老版本要弱了

能改进公司名称的效果吗？谢谢！！
目前公司名称效果，真太差太差，根本不能使用。
诺-n 戴-v 商务-n 咨询-vn (上海)-ORG 有限公司-ORG

repo: baidu/lac


text:
好用！期待后续功能~

能支持未接来电就完美啦

感谢支持 @YangXinlei
来电转接目前使用通信运营商的呼叫转移功能，也很方便

备用号一般都是骚扰电话，基本没啥重要来电，所以就没用呼叫转移，哈哈

authors: YangXinlei baishuai

repo: baishuai/SmsForward


text:
Problem with build of webpack and vite in one node instance.

Found that I still get a problem with this plugin when I build webpack and vite in a node instance.
Example a Vitest with two Describes for the respective Builds.
Example: https://github.com/ThornWalli/webpack-sub-style-test
Reinstall the project and then run the task test-1.
One of the two builds runs, both together do not.
await new Promise(resolve => webpack(webpackConfig, resolve));
console.log('webpack build done');

await build(viteConfig)
console.log('vite build done');

[commonjs--resolver] Cannot read properties of null (reading 'type')
file: xxx/webpack-sub-style-test/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
file://xxx/webpack-sub-style-test/node_modules/@unplugin-vue-ce/sub-style/index.js:35
  if (isComponentUpdateFnIdentifier && parent.type === "VariableDeclarator" && node.type === "Identifier" && node.name === "subTree") {
                                              ^

TypeError: Cannot read properties of null (reading 'type')
    at injectToRenderer (file://xxx/webpack-sub-style-test/node_modules/@unplugin-vue-ce/sub-style/index.js:35:47)
    at Object.enter (file://xxx/webpack-sub-style-test/node_modules/@unplugin-vue-ce/sub-style/index.js:91:7)
    at d.visit (file://xxx/webpack-sub-style-test/node_modules/estree-walker-ts/index.js:1:872)
    at A (file://xxx/webpack-sub-style-test/node_modules/estree-walker-ts/index.js:1:2956)
    at injectVueRuntime (file://xxx/webpack-sub-style-test/node_modules/@unplugin-vue-ce/sub-style/index.js:84:3)
    at Object.transform (file://xxx/webpack-sub-style-test/node_modules/@unplugin-vue-ce/sub-style/index.js:166:11)
    at Object.plugin.transform (file://xxx/webpack-sub-style-test/node_modules/unplugin/dist/index.mjs:1255:25)
    at file://xxx/webpack-sub-style-test/node_modules/rollup/dist/es/shared/node-entry.js:25461:40 {
  code: 'PLUGIN_ERROR',
  plugin: 'commonjs--resolver',
  hook: 'resolveId',
  id: 'xxx/webpack-sub-style-test/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js',
  watchFiles: [
    'xxx/webpack-sub-style-test/src/entry.js',
    'xxx/webpack-sub-style-test/package.json',
    'xxx/webpack-sub-style-test/node_modules/vue/dist/vue.runtime.esm-bundler.js',
    'xxx/webpack-sub-style-test/src/components/Example.vue',
    'xxx/webpack-sub-style-test/src/components/ChildContent.vue',
    'xxx/webpack-sub-style-test/src/components/Example.vue?used&vue&type=style&index=0&inline&scoped=269eb374&lang.postcss',
    '\x00plugin-vue:export-helper',
    'xxx/webpack-sub-style-test/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js',
    'xxx/webpack-sub-style-test/src/components/ChildContent.vue?used&vue&type=style&index=0&inline&scoped=fe62139e&lang.postcss'
  ]
}

This is very strange, I don't think it seems to be the cause of the plugin. But I can't be sure either.
You can write the build code of vite and webpack separately in different js files, and then use node to run to avoid this problem
import { build } from 'vite';
import viteConfig from './vite.config.js';

const startBuild = async () => {
    await build(viteConfig)
    console.log('vite build done');

}
startBuild()

import webpack from 'webpack';
import webpackConfig from './webpack.config.js';

const startBuild = async () => {
    await new Promise(resolve => webpack(webpackConfig, resolve));
    console.log('webpack build done');

}
startBuild()

run:
"test-1": "node test-1.js && node test-2.js"

You can also try using gulp to handle your build process

I will close the issue for now, I have now made separate test files for the different builds. (e.g. webpack.test.js and vitest.test.js)
There is then in each case a single Describe which is executed separately from the other.
Thanks for support 😉

I got the same issue now with Vue 3 cli and Webpack 5

authors: ThornWalli baiwusanyu-c seyfer

repo: baiwusanyu-c/unplugin-vue-ce


text:
运行 _partion_aux_generate.py 时出现问题，求解答

您好，感谢您和您的团队写出来如此高质量的开源代码，但我在运行时出现了如下问题，
Traceback (most recent call last):
File "IFRU/_partion_aux_generate.py", line 30, in
model.load_state_dict(torch.load(load_path))
File "/lib/python3.9/site-packages/torch/serialization.py", line 797, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "lib/python3.9/site-packages/torch/serialization.py", line 283, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
这是否意味您的权重文件出了问题，如果您看见了，请您解答
我的 torch 版本是 2.0.1+cu117

经过验证发现权重文件确实存在问题，后续会重新上传，感谢

repo: baiyimeng/IFRU


text:
🛑 Quill is down

In 45490eb, Quill (https://quill.im) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Quill is back up in a15b450 after 11 minutes.

repo: baizhiheizi/upptime


text:
🛑 Quill is down

In f34f8b2, Quill (https://quill.im) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Quill is back up in f54ea46 after 11 minutes.


text:
Entries in the main pool table display the wrong tokens on loading more pools.

Describe the bug
On the main page, if we click "load more" we get a number of pools having the wrong tokens listed resulting in certain pools seeming to appear twice (clicking on a duplicate pool will lead to a different pool page than you would expect based on the tokens displayed).
To Reproduce
Steps to reproduce the behavior:

Go to app.balancer.fi
Click on "Load more" on the pools table
See error

Expected behavior
Each pool should be listed once and display the correct tokens.
Screenshots

Here we can see a USDC-WETH stable pool (in reality it's the wstETH- WETH metastable pool), two versions of the OHM tri-pool. 2 Akita LBPs, etc.

@TomAFrench I'm not able to replicate this. See anything strange here? https://www.loom.com/share/36026df0957b4542bc670641b2412a7e

I was getting this very consistently but tried this on another computer and I get the same as you. Looks like it's caused by something local and clearing the cache/hard reset fixed it. Thanks Pon :)

authors: TomAFrench pkattera


text:
Fix swap event charts

From https://balancerecosystem.slack.com/archives/C04MZ3X2SLW/p1733418556689379
We have three ongoing issues

[ ] SOR for boosted with underlying (asked SDK team to look into this)
[x] Swaps not showing up (something is off with the "my transactions" pane, because they show up in the "pool activity" one)
[ ] 0 snapshot values

@agualis Did this get fixed?

authors: agualis garethfuller

repo: balancer/frontend-monorepo


text:
[kbd_bbd] '245 only has 7 bits, should be 8

Need to connect the entire main data bus because C010 switch relies on BIT7 to know if there was a new key.

Fixed in the Rev2 of the KBD2040 board.

repo: baldengineer/Golden-Delicious


text:
how to implement a "after-route" policy

I like how policies separate my controller logic from guard logic. But I need a policy to run after the request has been handled by the controller, but before the server responds to the client.
I have a policy use-case that requires the result of the request in order to answer the question; I'd like to run it on every request, so implementing in each controller handler isn't feasible.

Can anyone update this with an answer to @leejt489 ?

From my understanding, res.ok() only takes a json object.  The JSON API spec requires that the response put the data under the key [model name], as in {post: {...}} or {posts: [{...},{...}]}, which requires passing some metadata about the model.  Additional customizations such as sideloading relationships also requires model metadata.  So one way or another just using res.ok()` doesn't enable a clean way for to customize the response.  Currently it is necessary to override blueprints or update all controller actions.  Generators or libraries like https://github.com/mphasize/sails-ember-blueprints make this easier, but the problem I see there is that it could make the application more difficult to maintain; namely by overriding blueprints, the burden of ensuring all of the rest of the code in the blueprints shifts to the developer (every time I update sails I manually go in and check to see if anything has changed in the blueprints).  Probably not the most critical issue, but I think it could be improved.

authors: CWyrtzen leejt489 tjwebb

repo: balderdashy/sails


text:
config.cors.headers does nothing

I set the config.cors.headers to anything I want and sails always fill the header with only 'content-type'

How did you fix this?

just a bug on my production server, git wasnt updating my directory because of modified files

authors: JordyMoos gossel-j


text:
Threaded compression/decompression

Description
RenderDoc's current compressor performs compression and decompression inside the same thread that is producing/consuming capture data. While this approach has the benefit of simplicity and not having to deal with threads and the overhead of it, it seems to be a bit underutilizing when the bulk of RenderDoc's (startup) workload is single-threaded.
A common alternative is to spin up a dedicated thread for compression and IO offload, and sending buffers to it from the main thread. This allows utilizing some power of the second core, and improves main thread's throughput.
This can also provide a sizable improvement for recompressing.

I'm thinking of implementing this and making a PR by myself, but while looking through the current stream processing code, I had a few questions:

What does the "backward window" in the reader do? It does not seem necessary since we only access data after the read head.
https://github.com/baldurk/renderdoc/blob/4a43325693a70bea5b1ac0d7eead52a8746e5b6b/renderdoc/serialise/streamio.cpp#L212-L213
Is there a reason that both LZ4 and Zstd compressor do their own framing at a fixed decompressed size (64k/128k)? Seeking operations are not supported right now, and a large contiguous compressed stream can provide compression ratio benefits.
When there's not enough data in the buffer, the reader will resize the buffer before exhausting the current data in buffer.
https://github.com/baldurk/renderdoc/blob/4a43325693a70bea5b1ac0d7eead52a8746e5b6b/renderdoc/serialise/streamio.cpp#L209-L234
This has a bit of logical and processing overhead. Since the only caller of StreamReader::Reserve is StreamReader::Read and we have a destination buffer to directly put data into, what do you think of copying the remainder into that first so that we don't need to do the memmove() logic?

Environment

RenderDoc version: 1c265bd1df661851f04059f8c39e2708b84795ae
Operating System: Linux
Graphics API: Vulkan

I do keep an eye on performance, but the unfortunate fact is that I don't have the time to cover all aspects of the project especially when it comes to optimisations/improvements that aren't new features or better functionality. I'm sure there are gains to be made here but I don't know how large they are in practice so this hasn't been a priority to look at, especially considering the additional complexity and bug surface that would be involved. If there are good wins to be made here then I would welcome a PR - but I would say that it would have to be a sufficient improvement to justify that.
I'll answer the questions here, but I'm going to close this issue as using issues for general questions aren't good since there's no clear 'endpoint' as there can always be more questions. For future reference if you have general code questions like this for PRs you're working on it's better to use email or discord/IRC.

This is a legacy thing, and shouldn't have been ported over to the streamio system, it likely got missed in amongst the larger refactor. It's a holdover from when the serialiser was reading directly from the file and it used a limited amount of backwards lookback when processing chunk headers to read the chunk length after processing. As you point out though, with the StreamReader interface this is not possible so the window is no longer needed.
My understanding from their docs is that lz4/zstd require the previous data to remain in memory for each decompress/compress call, so the current scheme to double buffer with pages satisfies that. It was originally based on their example code. I'm not sure what you're suggesting to do instead.
That sounds like it would be fine, I think this is possibly also leftover from previous code and has been made redundant with refactors, since as you say we only go down the path to Reserve() when we know the current buffer will be entirely consumed and then more is required.

authors: baldurk ishitatsuyuki

repo: baldurk/renderdoc


text:
getting error 'Mandatory parameter txnId missing for'

I am doing interation of my site with payu and following
https://www.npmjs.com/package/payu
but getting error.
Mandatory parameter txnId missing for

Hi Deepak,
PayU requires that you send a unique transaction ID (order ID) - It is a required parameter

I am coding like this
var txn_id = '12345tg';
payu.verify_payment(txn_id, function(err, response) {
console.error(response);
res.json(response);
});
where is need to send a unique transaction ID (order ID)?

I have attached PayU's integration document that I used - I think you will
find it useful

authors: baliganikhil deepaksisodiya

repo: baliganikhil/payu-node


text:
Intermittent failure - WebSubContentTypeSupportTestCase.testUnauthenticatedTextContentReceiptForInternalHub

Description:
[2019-02-22 07:13:15,316] INFO {WebSubContentTypeSupportTestCase} - testUnauthenticatedTextContentReceiptForInternalHub: RUNNING
[2019-02-22 07:14:00,318] SEVERE {org.ballerinalang.test.service.websub.basic.WebSubContentTypeSupportTestCase} - testUnauthenticatedTextContentReceiptForInternalHub: FAILED -> Timeout expired waiting for matching log: Text WebSub Notification Received by websubSubscriberTwo: Text update for internal Hub

Refer #13922.

repo: ballerina-platform/ballerina-lang


text:
Untainted annotation is having unexpected behaviour

Description:
We have a new way to untaint a variable in the new language spec. (i.e. untaint is changed to <@untainted> ) If we accidentally type untaint it will give the error invalid token which the expected behaviour. But later when we correct it by changing the untaint to <@untainted> it won't clear the invalid token error.
Note: Sometimes if we directly copy and paste the entire annotation it works (Without typing or without giving wrong one first) But still suggestions are not working for the lines below that.
Steps to reproduce:
import ballerina/http;

listener http:Listener httpListner = new(9090);

// Order management is done using an in-memory map.
// Add some sample orders to orders

map<json> ordersMap = {};

@http:ServiceConfig {
    basePath: "/ordermgt"
}
service orderMgt on httpListner {

    @http:ResourceConfig {
        methods: ["GET"],
        path: "/order/{orderId}"
    }
    resource function findOrder(http:Caller caller, http:Request request, string orderId) {
        json? payload = ordersMap[orderId];
        http:Response response = new;

        if (payload == null) {
            payload = "Order :" + orderId + "Cannot be found.";
        }

        //Set the JSON
        response.setJsonPayload(<@untiant> payload);
    }
}

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Following program compile without any error, but it shows an error in the VS Code. Here also suggestions are not working for the lines below that.
// Salesforce client configuration.
...

// Salesforce client.
sfdc46:Client sfClient = new (sfConfig);

@http:ServiceConfig {
    basePath: "/salesforce"
}
service salesforceService on new http:Listener(9090) {

    @http:ResourceConfig {
        methods: ["POST"],
        path: "/account"
    }
    resource function createAccount(http:Caller caller, http:Request request) {
        http:Response res = new();
        json|error payload = request.getJsonPayload();

        if(payload is json) {
            string|sfdc46:SalesforceConnectorError response = sfClient->createAccount(<@untainted> payload);
            if (response is string) {
                json result = {
                    accountId: response
                };
                res.setJsonPayload(result);
                respondAndHandleError(caller, res, "Error when responding to client.");
            } else {
                createAndSendErrorResponse(caller,response.salesforceErrors.toString(),
                "Error while creating Account on Salesforce.");
            }
        } else {
            createAndSendErrorResponse(caller, <string> payload.reason(),
                "Error while extracting the payload from request.");
        }
    }
}
...

Error:

This has been fixed in the latest master. Hence closing the issue


text:
[Shell] Undefined function error related to var assignments

Description:

Ballerina shell gives undefined function error related to var assignments.
Steps to reproduce:
Try following example in the ballerina shell.
=$ int x = 1
=$ var f = function () { x = 2; }
=$ f()
| error: undefined function 'f'
| 	f()
| 	^-^
| Compilation aborted due to errors.

Affected Versions:
slbeta3

In the variable declarations, the variable is recalled to as var 'f = <function () returns ()> __recall_any("'f"); at the module-level. Ideally, this should work, but it is currently a bug that is being tracked here: https://github.com/ballerina-platform/ballerina-lang/issues/41362

authors: DamithaSenevirathne nipunayf


text:
NPE at BmpStringValue.concat

Description:

$title
Steps to reproduce:
string[] globalArr = ["B"];

function func() {
    string a = "A";

    worker B {
        var obj1 = object {
            function f1() returns string {
                return globalArr[0] + a;
            }
        };
        string f1 = obj1.f1();
    }
}

public function main() {
    func();
}

gives
Running executable

[2022-08-24 18:07:31,495] SEVERE {b7a.log.crash} - null
java.lang.NullPointerException
        at io.ballerina.runtime.internal.values.BmpStringValue.concat(BmpStringValue.java:47)
        at $value$$anonType$_0.f1(async_issue.bal:9)
        at $value$$anonType$_0.call(async_issue.bal)
        at async_issue.$lambda$_0(async_issue.bal:12)
        at async_issue.$lambda$_0$lambda0$(async_issue.bal:6)
        at io.ballerina.runtime.internal.scheduling.SchedulerItem.execute(Scheduler.java:610)
        at io.ballerina.runtime.internal.scheduling.Scheduler.run(Scheduler.java:316)
        at io.ballerina.runtime.internal.scheduling.Scheduler.runSafely(Scheduler.java:283)
        at java.base/java.lang.Thread.run(Thread.java:829)

Affected Versions:
Ballerina 2201.1.0 (Swan Lake)
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This one also doesn't work.
import ballerina/io;

function func() {
    string[] globalArr = ["B"];
    string a = "A";

    worker B returns string {
        var obj1 = object {
            function f1() returns string {
                return globalArr[0] + a;
            }
        };
        string f1 = obj1.f1();
        io:println(f1);
        return f1;
    }

    string stringResult = wait B;
    io:println(stringResult);
}

public function main() {
    func();
}

gives
Running executable

error: {ballerina}TypeCastError {"message":"incompatible types: '()' cannot be cast to 'string[]'"}

at return globalArr[0] + a;

It seems both of the above errors are due to an error in the BIR. If we see the BIR of the generated function for the worker B
$lambda$_0 function() -> () {
    %0(RETURN) ();
    %1(SYNTHETIC) map<any|error>;
    %2(TEMP) typeDesc<any|error>;
    %4(LOCAL) $anonType$_0;
    %5(SYNTHETIC) $anonType$_0;
    %9(TEMP) ();
    %11(LOCAL) string;

    bb0 {
        %2 = newType map<any|error>;
        %1 = NewMap %2;
        %5 = new $anonType$_0;
        %9 = $init$(%5, %1) -> bb1;
    }
    bb1 {
        %4 = %5;
        %11 = f1(%4) -> bb2;
    }
    bb2 {
        %0 = ConstLoad 0;
        GOTO bb3;
    }
    bb3 {
        return;
    }

}

Although a new map %1 is created and passed to the $init$ function it is not populated with the local variables (e.g. a). It seems that local variables (e.g. a) which are used inside the object are not getting passed to the worker function also through the closure map.


text:
[Task]: Update com.google.guava:guava dependency to 32.0.0

Description
$subject

[ ] master
[ ] 2201.7.x
[ ] 2201.6.x
[ ] 2201.5.x
[ ] 1.2.x

Describe your task(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

PR for 1.2.x - #40732


text:
[Task]: Migrate ballerinax modules to Java 17

Description
$Subject
Describe your task(s)
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Migrated ballerinax modules and merged all PRs.


text:
Add a BBE for quoted identifiers

Purpose
$title.
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/10839

Codecov Report

Merging #19152 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19152   +/-   ##
================================================
  Coverage            15.73%   15.73%
================================================
  Files                   47       47
  Lines                 1265     1265
  Branches               197      197
================================================
  Hits                   199      199
  Misses                1053     1053
  Partials                13       13

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 ae6100f...58458ee. Read the comment docs.

authors: MaryamZi codecov-io


text:
[Introducing Language Integrated Queries] Issue while joining with a table

Description:
The issue has been a index mismatch where I have considered an incorrect field for joining the table with data stream.
Please find the corrected demo content
community-call 3.zip
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

@pcnfernando Thank you for the files. I had to join your git repo. I cannot join slack channel. I am getting this error

Please check https://ballerina.io/community/slack/ and request for an invitation.

@samuelresowaski Please check https://ballerina.io/community/slack/ and request for an invitation.

Thank you but that is the one giving me above error

@samuelresowaski  Are you already a team member?
If not, you'll have to enter your email address https://ballerina.io/community/slack/#if-not-join-us and press enter to get an invitation.

@samuelresowaski Please check https://ballerina.io/community/slack/ and request for an invitation.

Thank you but that is the one giving me above error

Ok. I entered my email. How to request?

@samuelresowaski Are you already a team member? If not, you'll have to enter your email address https://ballerina.io/community/slack/#if-not-join-us and press enter to get an invitation.

ok. I didnt know I have to press enter. :) Thanks a lot!

Closing as this  is done.

repo: ballerina-platform/community


text:
Add Redis DB support for bal persist

Purpose
To make data persistence easier for bal persist with Redis DB.
Addressing : https://github.com/ballerina-platform/persist-tools/issues/328
Goals
To support Redis as a database for the bal persist feature which allows users to manage data persistence without writing database queries inside the code. We need to generate the persistence client code for Redis when the ‘bal persist generate’ command gets executed.
Architecture

Approach
Implements a generic client for Redis which contains resource methods to get, insert, update and delete records. This utilizes main data types supported by Redis which are Hashes and Sets. This also includes a Java native processor to support dependent types in get resource methods.
Documentation
Design Documentation : Link
Related PRs
Related to : https://github.com/ballerina-platform/module-ballerinax-persist.redis/pull/3
Related to : https://github.com/ballerina-platform/module-ballerinax-persist.redis/pull/2
Future Improvements
Revisit after : https://github.com/ballerina-platform/ballerina-library/issues/6136
Revisit after : https://github.com/ballerina-platform/ballerina-library/issues/6137

Please note that I have updated the configurations to use the new Redis connector version 3.0.0 and now we support both connection parameters and connection URI in configurations.


text:
Update resource function generation for design v2

Purpose
Fixes: 3945, 3947, 3948, 3946
Examples
Checklist

[x] Linked to an issue
[ ] ~Updated the specification~
[ ] ~Updated the changelog~
[ ] ~Added tests~

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: kalaiyarasiganeshalingam:white_check_mark: sahanHe:white_check_mark: daneshk:x: Danesh KuruppuDanesh Kuruppu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@niveathika please review and merge

authors: CLAassistant daneshk sahanHe

repo: ballerina-platform/persist-tools


text:
Migrate Testerina to the new Ballerina VM

This PR migrates Testerina and Mockerina to the new VM model. The following features are available:
Testerina:

All previously supported operations.
Mockerina:

Allows to modify the parameters passed to a global connector of a service. Modification of int, float, boolean and string variables are possible. Other types are not supported. The API takes the following format:
setValue(mock_connector_path, new_mock_value)
mock_connector_path - Takes the following format:
<service_name>.<global_connector_name>.param<#>

Limitations:
Testerina:

Had to change the API for asserts since function overloading is no longer supported.

Mockerina:

The previously supported changing of variables in a chain of connectors (connectors as global level variables in other connectors) is not there.
i.e: previously, this was supported for mock_connector_path: helloservice.testconnector1.insideconnector1.param2
Cannot address the variable to change by its name. Therefore, the first connector in the service definition is taken for variable modification.

Will be added by PR: #96

repo: ballerinalang/testerina


text:
This code never properly worked because the incorrect variable was used

This fixes an incorrect variable name in the REST notify platform.

:dolphin:

In the absence of the official approval :dolphin: I am giving myself a :100: instead.

dangit

repo: balloob/home-assistant


text:
Add custom entries to logbook

This allows users to add custom entries to the logbook. This is done by firing an event.
If no domain is given but an entity id is, domain is derived from entity id.
If an entity id is given, clicking on name will open the more info dialog for that entity.
Logbook entries are printed in format: <name> <message>
Event type: LOGBOOK_ENTRY
{
  "name": "Paulus",
  "message": "has custom logbook entries working!",
  "entity_id": "sun.sun"
}

@balloob can you give an example of how I could add this to an automation? It's a little unclear to me.
Here's a sample Automation.
automation 2:
  # Optional alias that the logs will use to refer to the entry
  alias: Rainy Day

  # Type of trigger and information for the trigger
  platform: state
  state_entity_id: sensor.weather_precip
  state_from: 'None'
  state_to: 'rain'

  if:
    - platform: state
      state_entity_id: group.all_devices
      state: 'home'

    - platform: time
     # platform: time
      #weekday:
      #  - mon
      #  - tue
      #  - wed
      before: '00:00'
      after: '14:00'

  # Turn the Couch light on.
  execute_service: scene.turn_on
  service_entity_id: scene.sunrise_lamp

Automation is automatically added to logbook when triggered.
On Mon, Sep 14, 2015 at 5:21 PM, Carlo Costanzo notifications@github.com
wrote:

@balloob https://github.com/balloob can you give an example of how I
could add this to an automation? It's a little unclear to me.
Here's a sample Automation.
automation 2:
Optional alias that the logs will use to refer to the entry
alias: Rainy Day
Type of trigger and information for the trigger
platform: state
state_entity_id: sensor.weather_precip
state_from: 'None'
state_to: 'rain'
if:
- platform: state
state_entity_id: group.all_devices
state: 'home'
- platform: time
 # platform: time
  #weekday:
  #  - mon
  #  - tue
  #  - wed
  before: '00:00'
  after: '14:00'

Turn the Couch light on.
execute_service: scene.turn_on
service_entity_id: scene.sunrise_lamp
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/pull/363#issuecomment-140239940
.

--
PaulusSchoutsen.nl
It's nice to be important but it's more important to be nice.

authors: CCOSTAN balloob


text:
Product Slide - Icon Missing and Ordering not working

The product slider doesn't show all elements(as you can see this here https://design-system-next.vercel.app/?path=/story/components-product-slider--basic) . Also we need to have the width of the next slide item dynamically because we need to use the slider for other components were we don't have the 171 width, like for the subnavigation.

will be done by @mladenplaninicic with #535

bug could not to be reproduced will close the ticket

we still have this issue on https://baloise-reb.dev.aperto.systems/author/qa-overview/components/Productslider.html

solved it on oure system, ticket can be closed

repo: baloise-incubator/design-system


text:
Fix issue #117: Allow numeric input to complete ambiguous key bindings

As issue #117 requested, the input method is enhanced.

Thanks!

repo: banacorn/agda-mode-vscode


text:
Pools that have no BNT/USDB in their reserves don't show up in the app

Example -
https://etherscan.io/address/0x7ff10d4add8c9c2f5e47798cd60544ad91c1f4ec

This is expected behaviour as support for pools without network pools has not been implemented.
How do you want to handle calculation of liquidity depth? Shall we proceed with calculation slippageless prices of all tokens from BNT and USDB pools then using those numbers to calculate liquidity depth for pools without a network token?
The value of USDB is hardcoded at $1 USD, technically this could be extended to further pegged tokens based on the USD but this might not be wise.

https://etherscan.io/address/0x7ff10d4add8c9c2f5e47798cd60544ad91c1f4ec
Please check this pool, its need to appear somewhere, i created it then disappear
Thx

authors: StrateVic Velua yudilevi

repo: bancorprotocol/webapp


text:
Chore: typos fixes

Small typos fixes in the documentation.

@all-contributors please add @nahuelbrandan for Maintenance

authors: bandinopla nahuelbrandan

repo: bandinopla/simulador-test-de-conducir


text:
Multiband support

Resolve #22
This all feels a bit hacky, but it works. @giswqs, would you please review/test.
Here is an example
from localtileserver import get_leaflet_tile_layer, TileClient
from ipyleaflet import Map

# First, create a tile server from local raster file
tile_client = TileClient('./landsat.tif')

# Create ipyleaflet tile layer from that server
t = get_leaflet_tile_layer(tile_client, band=[4, 3, 2])

# Create ipyleaflet map, add tile layer, and display
m = Map(center=tile_client.center())
m.add_layer(t)
m

or like the screenshots in #22:
# Create ipyleaflet tile layer from that server
t = get_leaflet_tile_layer(tile_client, band=[5, 4, 3])

# Create ipyleaflet map, add tile layer, and display
m = Map(center=tile_client.center())
m.add_layer(t)
m

To do:

[x] Update type hints and documentation
[x] Add example to README
[ ] User test

Codecov Report

Merging #28 (ced8457) into main (c9890cc) will increase coverage by 1.98%.
The diff coverage is 92.78%.

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   76.51%   78.50%   +1.98%
==========================================
  Files          12       13       +1
  Lines         545      600      +55
==========================================
+ Hits          417      471      +54
- Misses        128      129       +1

Also, @giswqs, what Landsat data is thise? 7? 8? I'd like to use it for a demo and know which bands are what per something like: http://gsp.humboldt.edu/olm/Courses/GSP_216/lessons/composites.html

This example was added to the README:
rom localtileserver import get_leaflet_tile_layer, TileClient
from ipyleaflet import Map, ScaleControl, FullScreenControl, SplitMapControl

# First, create a tile server from local raster file
tile_client = TileClient('landsat.tif')

# Create 2 tile layers from same raster viewing different bands
l = get_leaflet_tile_layer(tile_client, band=[7, 5, 4])
r = get_leaflet_tile_layer(tile_client, band=[5, 3, 2])

# Make the ipyleaflet map
m = Map(center=tile_client.center(), zoom=12)
control = SplitMapControl(left_layer=l, right_layer=r)
m.add_control(control)
m.add_control(ScaleControl(position='bottomleft'))
m.add_control(FullScreenControl())
m

This is AWESOME! I can confirm that it works for both local raster datasets and remote pre-tiled COG. The sample dataset I provided is Landsat 7 image.
from localtileserver import get_leaflet_tile_layer, TileClient
from ipyleaflet import Map

# First, create a tile server from local raster file
# tile_client = TileClient('./landsat7.tif')
url = 'https://opendata.digitalglobe.com/events/california-fire-2020/pre-event/2018-02-16/pine-gulch-fire20/1030010076004E00.tif'

tile_client = TileClient(url)

# Create ipyleaflet tile layer from that server
t = get_leaflet_tile_layer(tile_client, band=[3, 2, 1])

# Create ipyleaflet map, add tile layer, and display
m = Map(center=tile_client.center())
m.add_layer(t)
m

By default, if band is not provided, the image looks like this. Maybe there is a nodata issue?

Here is the dataset I used for the example above.
https://drive.google.com/file/d/16ji8ze8gqSR1kJssf7vqdhR3d58ZBYT0/view?usp=sharing

I can reproduce that visual effect with the shared file on my end. I suspect there is an issue with the alpha channel on that particular image rather than a nodata issue or an issue with the tile serving

authors: banesullivan codecov-commenter giswqs

repo: banesullivan/localtileserver


text:
Regularly segfaults on ruby-1.9.3-p385

To reproduce:
git clone http://github.com/ConradIrwin/lspace
bundle
rspec

Will segfault reliably.

Closing this since ruby 1.9.3 is well past its end of life.

authors: ConradIrwin prpetten


text:
Reason: Failed to determine a suitable driver class

datasource:
sqlserver_1:
username: sa
password: "Wind0ws"
url: jdbc:sqlserver://47.94.110.213:40525;DatabaseName=bserp1
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
#schema: db/schema.sql
druid: #这里可以重写默认值
initial-size: 5
mybatis:
mybatis.config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper//.xml
sqlserver_2:
username: sa
password: "Wind0ws"
url: jdbc:sqlserver://124.42.123.194:40526;DatabaseName=TIZ_LANDI_TEST
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
druid:
initial-size: 6
mybatis:
mybatis.config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper//.xml

看文档

看文档

application.yml

2.启动配置了


text:
Mybatis plus 调用saveBatch错误（Sql server 数据库）

当前使用版本(必须填写清楚，否则不予处理)

   <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>3.0.1</version>
        </dependency>

该问题是怎么引起的？(最新版上已修复的会直接close掉)
调用 saveBatch
重现步骤
报错信息
2019-09-20 15:28:53.870 ERROR 16564 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Cannot execute saveBatch Method. Cause] with root cause

com.microsoft.sqlserver.jdbc.SQLServerException: The statement must be executed before any results can be obtained.

sql server 好像低版本驱动有bug不支持这种批量操作，你试试升级驱动

需要换到哪个版本呢？我切换到

    <dependency>

  <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>
            <version>7.4.1.jre8</version>
        </dependency>

切换到这个版本mybatis plus 好像不支持
目前使用的是  <sqlserver.version>6.2.2.jre8</sqlserver.version>

我需要切换至哪个版本呢？

sql server 驱动是存在该问题 要么你 for 循环 save 如果发现什么原因欢迎 pr

哥们，怎么解决的呢，用的哪个版本

哥们，你们是怎么解决的呀

8.1.0.jre8-preview和7.4.1.jre8这是目前最新的驱动都不行

这个问题还解决吗？还是不解决了？

authors: 18818542910 bibichuan lcb1208 liunewshine qmdx zhenyuqianyezg

repo: baomidou/mybatis-plus


text:
自动填充，多次继承没发填充

BaseEntity中  有自动填充的字段，   SysUser继承了BaseEntity   SysUserForm继承了SysUser
操作 SysUserForm 的时候 自动填无效

是否解决？

@qmdx 没有， 多级继承不行。

那就不要多次集成了

不可能吧，  很多地方是多次继承的，  比如一个基本的 id，和一些自动填充的实体A，  然后业务A1 的 顶级实体继承这个A   业务A2继承这个实体A    然后 A1的具体业务实体A11  继承 A1    这是很常见的。

@javanan 解决了吗这个问题？

@1065744299  没测试，不清楚

https://gitee.com/baomidou/mybatis-plus/commit/e287194507b8016f1ce6983f2f108f15c252b3cb
这里有多重继承后自动填充的testcase，测试没问题。
`
SuSuperEntity{
private Date lastUpdatedDt;
}
SuperEntity extends SuSuperEntity{
private Long id;
}
H2UserMetaObj extends SuperEntity{
}
H2MetaObjectHandlerTest{
//这里的testcase都是测insert/update的自动填充
}
`

公共填充的bug在2.1.5版本就修复了，如果出现问题，请先升级下mp版本

authors: 1065744299 javanan qmdx yuxiaobin


text:
Mapbox GL JS version issue

text-variable-anchor: unknown property "text-variable-anchor"

Mapbox GL JS version seems to be old.

Yes, Mapbox closed its source in late 2020. A good idea would be to switch to MapLibre (a fork that remains open source).
https://maplibre.org/

Does it supports mapbox style specifications?

I just checked the text-variable-anchor property displayed in your screenshot and it seems to be part of the style specification supported by both mapbox v1 and maplibre. So my initial guess was probably false. Do you see this error when running the editor or the server? Have you tried to serve a custom map with the latest version of mapbox v1 (static html/js file)?
https://maplibre.org/maplibre-gl-js-docs/example/variable-label-placement/
https://docs.mapbox.com/mapbox-gl-js/example/variable-label-placement/

This error appears when i run the serve command. And yes i did test the tiles with a custom map using mapbox gl v2 and it works fine. Let me test with mapbox gl v1 as well.

yep, working with mapbox gl js v1 as well.
https://api.mapbox.com/mapbox-gl-js/v1.2.0/mapbox-gl.js

Thanks verifying and reporting this issue. The mapbox version used by the server was shockingly old, I probably copy pasted an old snippet from one of my maps.
I just replaced mapbox with maplibre for the server so this issue will be fixed in the next release.

This has been fixed in the v0.5.15.

authors: bchapuis shahzadbacha

repo: baremaps/baremaps


text:
Rebases, not merges.

Merge commits are awful for code history. It would be better to rebase PRs and preserve a linear history. This would probably also mean disallowing merge commits in PR branches. The r= note could probably be added to all commits rather than the merge commit.

I don't think this should be the default, but having the option sounds good.

We had some additional conversation about this on Servo at:
https://github.com/servo/servo/issues/1468

I'm personally pro on a @bors squash flag.
Major contributors already have r+ rights, so they can squash and r=reviewer themselves, so that's not a concern.
Newbies usually have PRs that should be squashed to a single commit and need the most handling, which @bors squash r+ handles perfectly.
This just leaves complex wild-card contributions, which take long enough that the extra roundtrip isn't a big deal IMHO.

A decision about squashing does not necessarily need to block moving to rebases, but note that git rebase has an --autosquash flag that folds commits made with commit --fixup.

See https://github.com/servo/homu/pull/19

authors: Gankro Manishearth Ms2ger cgwalters larsbergstrom

repo: barosl/homu


text:
[skip ci][WIP]Show logs in futon

Uses the couch_log read/1  and if a "last read" is provided, it automatically returns log entries after last_read log entry.

Refer https://github.com/barrel-db/barrel-platform/pull/37

repo: barrel-db/barrel-platform


text:
Funkcjonalność oprogramowania

Czy istnieje możliwość dodania pola z adresem do zarządzania ont.
Pozdrawiam serdecznie

https://github.com/bartekkois/GPONMonitor/commit/8d31aea284548fcef3f270b584895f92a076c191

authors: bartekkois infoserwis

repo: bartekkois/GPONMonitor


text:
Update batcher hash for sepolia-alpha

A script prepared to update batcher key for sepolia-alpha.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2

authors: cb-heimdall cody-wang-cb

repo: base-org/contract-deployments


text:
unable to run node

I have been trying to run node but it's saying error

@Solarin12
Heya! Please come to Discord, join the #node-support channel and we will help you there: https://base.org/discord :+1:

repo: base-org/node


text:
Fix typos and minor improvements in the Fleek deployment tutorial

This PR fixes minor typos and improves clarity in the Fleek deployment tutorial.
Changes include:

Correcting grammatical errors such as your are → you are
Updating markdown links to ensure proper rendering.

What changed? Why?

Corrected two minor typos for improved readability and professionalism.
Enhanced formatting for better user experience.

How has it been tested?
Manually reviewed changes in a markdown viewer to confirm correct formatting and readability.
Please review the changes and let me know if any additional changes are needed.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

repo: base-org/web


text:
updated

Added to "Version Differences.ods":

post-ROP check entry point for STM8L low density (see your mail Jan 9th 2021)
line to document the max. RAM address used by ROM-BL (due to STM8L low density uses 0x00..0x206)

The other file simply excludes a test-SW folder for Github.

I'd rather add the extents of the bootloader code as a separate section, and not under 'Functions / Entry Points'.
I had already made some other changes myself to my copy of the spreadsheet, and of course you can't diff/merge a binary file like a spreadsheet, so I'll make these changes myself and put them in a separate commit.

I'd rather add the extents of the bootloader code as a separate section, and not under 'Functions / Entry Points'.
I had already made some other changes myself to my copy of the spreadsheet, and of course you can't diff/merge a binary file like a spreadsheet, so I'll make these changes myself and put them in a separate commit.

Changes made in commit a0ed01b.

Changes made in commit a0ed01b.

authors: basilhussain gicking


text:
Swagger page not showing

On the 0.49.1 docker version the swagger page is not showing up when I connect to https://jelu.domain.tld/swagger-ui.html

should be fixed in v0.50.0

repo: bayang/jelu


text:
Can we just deploy all the runfiles?

We do some bazel magic to figure out transitive shared library dependencies, but they're also just sitting in the runfiles of the kinds of targets we want to deploy. Can we just deploy it all?

If so, this would close #57 too.

Maybe for C++, but java has a LOT of other things in there, like the JDK shared libraries
Downsampled example:
__main__/external/remotejdk11_win/bin/api-ms-win-core-console-l1-1-0.dll C:/users/pj/_bazel_pj/hspof6ik/external/remotejdk11_win/bin/api-ms-win-core-console-l1-1-0.dll
remotejdk11_win/bin/api-ms-win-crt-conio-l1-1-0.dll C:/users/pj/_bazel_pj/hspof6ik/external/remotejdk11_win/bin/api-ms-win-crt-conio-l1-1-0.dll
__main__/external/__bazelrio_edu_wpi_first_cscore_cscore-java/cscore-java-2021.3.1.jar C:/users/pj/_bazel_pj/hspof6ik/external/__bazelrio_edu_wpi_first_cscore_cscore-java/cscore-java-2021.3.1.jar

I don't think we need to copy the jdk files, and it looks like what gets deployed is a fat jar, so including the dependency jars is unnecessary as well.
One thing that this brings to mind is data dependencies though (i.e. pathweaver files / things people put in src/main/deploy). Those should by scp'd over too.

authors: connorworley pjreiniger

repo: bazelRio/bazelRio


text:
libxcrypt@4.4.36.bcr.1

Adds config.h for macOS (Intel and Apple Silicon).
This was tested on both Intel and Apple Silicon Macs.
This will allow building @openssh//:sshd on macOS after this and #3149 have been merged.

Hello @mattyclarkson, modules you maintain (libxcrypt) have been updated in this PR. Please review the changes.

LGTM, thanks!

I backported this commit to avoid #include <crypt.h> in a test.
@meteorcloudy is there a way I can easily run bazel test @libxcrypt//... with the dev dependencies of libxcrypt (rules_python) locally?
If I add libxcrypt as a bazel_dep in my own MODULE, I am unable to run the tests due to missing dev dependencies.

No, the only way to fetch dev dependency is to run the module as the root module, which is doable using bcr_test_module and set module_path to .. See https://github.com/bazelbuild/bazel-central-registry/blob/main/docs/README.md#test-module

authors: bazel-io malt3 mattyclarkson meteorcloudy

repo: bazelbuild/bazel-central-registry


text:
Bazel build causes NullPointerException in plugin

Open attached minimalistic project and select Bazel->Compile project. As the result we get java.lang.NullPointerException 	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:260) 	at com.google.idea.blaze.base.sync.sharding.BlazeBuildTargetSharder.expandAndShardTargets(BlazeBuildTargetSharder.java:133) 	at com.google.idea.blaze.base.actions.BlazeBuildService$1.execute(BlazeBuildService.java:181) 	at com.google.idea.blaze.base.actions.BlazeBuildService$1.execute(BlazeBuildService.java:155) 	at com.google.idea.blaze.base.scope.ScopedTask.lambda$compute$0(ScopedTask.java:42) 	at com.google.idea.blaze.base.scope.Scope.push(Scope.java:40) 	at com.google.idea.blaze.base.scope.ScopedTask.compute(ScopedTask.java:38) 	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$4(ProgressiveTaskWithProgressIndicator.java:127) 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$3(CoreProgressManager.java:185) 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169) 	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) 	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) 	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156) 	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:185) 	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$5(ProgressiveTaskWithProgressIndicator.java:127) 	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) 	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) 	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) 	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:207) 	at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:29) 	at com.intellij.util.concurrency.BoundedTaskExecutor$1.lambda$run$0(BoundedTaskExecutor.java:185) 	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208) 	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:181) 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 	at java.base/java.lang.Thread.run(Thread.java:834)
Bazel version 1.1.0
IntelliJ version 2019.2.4
Plugin version 2019.10.14
Minimalistic repro project:
chat-app.zip

Additional problem with the same repro: Plugin generates Bazel commands like D:\BuildTools\bazel.exe query --tool_tag=ijwb:IDEA:ultimate --output=label_kind --keep_going "attr(\"tags\", \"^((?!manual).)*$\", //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-chat-app/...:all - //.ijwb/...:all)" -- which fail at execution with the errors:

Thanks, fixing that first bug upstream.
For the second, that might be specific to Windows (which we don't support). Those errors are expected, but they are ignored if bazel returns an exit code of 3, which it does on Linux (https://docs.bazel.build/versions/master/guide.html#what-exit-code-will-i-get).
Could you check what exit code you get when you run that command on Windows?

I have run that command from the command line and indeed exit code is 3, but still when it is run from IntelliJ it shows "Make failed" after it. Excerpt from the idea.log attached:
idea.log
I wonder why the command line even includes all those Bazel output folders (symlinks) into scanning. They are not supposed to have any targets, aren't they?

I see, thanks. The 'make failed' message comes from the NPE, not the (ignored) blaze query errors.

Actually, ignore that, the symlink folders are being explicitly excluded from the query (which they should be). The actual problem is some syntax error:
2019-11-04 10:32:40,379 [333492229]   INFO - QueryDirectoryToTargetProvider - ERROR: Error while parsing 'attr(tags, ^((?!manual).)*$, //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-chat-app/...:all - //.ijwb/...:all)': syntax error at '^ ( ('

I think this is specific to Windows, since we haven't seen any similar problems with blaze query on linux. We don't have the bandwidth to support Windows or investigate issues with Windows at the moment unfortunately.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.

authors: brendandouglas konste sgowroji

repo: bazelbuild/intellij


text:
Please update to proto 3.20

It has some logspew fixes in there that I would like to pull in. Thanks!

This was done, see https://github.com/bazelbuild/rules_proto/pull/113

authors: comius ptarjan