text:
Bug in export endpoint in pdx admin backend

Endpoint /api/mappings/export is failing when using the code from repository. The compiled version in dev is working fine
The error:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class org.pdxfinder.rdbms.dao.MappingEntity (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.pdxfinder.rdbms.dao.MappingEntity is in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @2a174f22) 	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) 	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) 	javax.servlet.http.HttpServlet.service(HttpServlet.java:626)

@zperova done

repo: PDXFinder/pdxfinder


text:
The Group name is showing up as the prefix and can't be configured.

When i try to configure the PermissionEx's prefix, it just adds another prefix to the prefix I set. And that prefix added is the group name. Any ways to fix this? I tried to find a setting in the config but I couldn't find anything. Please help.

PEX gives you a place to store the prefix, but it's actually your chat management plugin which makes them appear in-game.
Since most people run a Spigot server and use EssentialsX, EssentialsXChat (which requires Vault) is their chat management plugin.  In their case, the plugins\Essentials folder will contain a config.yml file which has the controls for the display of prefixes in-game.  (I'm one of those people, and the config settings for EssentialsChat and EssentialsXChat can be found right here.)
It's important to note that many people also use Multiverse, and that plugin's config file(s) also contains some chat-management settings that can make the prefix display in-game look funky.  (I've never used that one, so you'd be on your own to figure out where and how to configure chat through that plugin.)
Which plugins are you using on your server?

Ok, thanks for you help and I fixed it :). I had 2 chat management plugins, essentialsX and penchat. I removed pexchat and it was fixed :). thanks.

You're welcome. :)
Thanks for the update!

A wild problem has appeared!
Stormbow used "How can I help you?".
It's SUPER EFFECTIVE!
:)

Don't reopen tickets if there's no problem to post.  :wink:

source: gharchive/issue

authors: Luckexeric Stormbow

repo: PEXPlugins/PermissionsEx

license_type: permissive

license_source: bigquery


text:
webhook 触发事件 的“自定义” 排列有些混乱，建议参考下 gogs 对于做法

webhook 触发事件 的“自定义” 排列有些混乱，建议参考下 gogs 对于做法

已解决 参照更新文档更新 CodeFever 即可

authors: bopo cubicwork

repo: PGYER/codefever

license: MIT

license_source: github-api


text:
Question: splitting audio file between channels

I'm trying to split a stereo file into two mono files like this

ffmpeg -i stereo.wav -map_channel 0.0.0 left.wav -map_channel 0.0.1 right.wav

Does this library support such manipulation?

Hi @jamesgraham,
I'm not sure you can do it for now.
I'll tag this as a feature request.

I was able to make my own single channel extractor by extending the default FFMpeg\Driver\FFMpegDriver.
Not sure how I'd approach splitting multiple, but here's my implementation for the above:
use FFMpeg\Driver\FFMpegDriver;

class ExtractChannelDriver extends FFMpegDriver
{
    /**
     * Build the ffmpeg command required to extract the first audio channel.
     *
     * @param array      $args
     * @param bool       $bypassErrors
     * @param null|array $listeners
     *
     * @return string
     */
    public function command($args, $bypassErrors = false, $listeners = null)
    {
        // The last element of the command argument array will always be the
        // file path. We will pop it off and append the extra arguments
        // required to extract the first channel from the audio file.
        $file = array_pop($args);

        $args[] = '-map_channel';
        $args[] = '0.0.0';
        $args[] = $file;

        return parent::command($args, $bypassErrors, $listeners);
    }
}

Usage:
/** @var \FFMpeg\Media\Audio $audio */
$audio = $ffmpeg->open($path);

$oldDriver = $audio->getFFMpegDriver();

$newDriver = new \ExtractChannelDriver(
    $oldDriver->getProcessBuilderFactory(),
    $oldDriver->getProcessRunner()->getLogger(),
    $oldDriver->getConfiguration()
);

$audio->setFFMpegDriver($newDriver)->save(
    new Wav(), 'extracted-first-channel.wav',
);

Hope this helps someone in the future!

authors: Romain jamesgraham stevebauman

repo: PHP-FFMpeg/PHP-FFMpeg


text:
[Feature] log

What's the feature?
Dear Author,
It is a pleasure to read your article on pkinet. I am currently facing some issues using pki as the backbone for my model. Could you please share the log files of your training? I would like to see the details of the first few training epochs.
Thank you.
Any other context?
No response

Since all my experiments were conducted with max_epochs = 12, how much improvement can be expected if max_epochs is increased to 30？

Sure, this is the training log of PKINet-S with Oriented R-CNN in DOTA-1.0 20231105_214905.log. We suggest following the same setting with our paper to get the best performance.

thank you.

repo: PKINet/PKINet


text:
让拖拽到obsidian中的注释中带上跳转回zotero的回链

让拖拽到obsidian中的注释中带上跳转回zotero的回链。现在只有原文的页码标记，使用起来不方便。

如果是win端的话，建议使用quicker进行文本处理，建立起回链，这样会更加快捷。

authors: SimonJarry wwjCMP

repo: PKM-er/obsidian-zotlit


text:
想一起学习MIT 18.06，寻找志同道合的朋友

国内线代教材属实离谱，早就听闻大名鼎鼎的MIT18.06，想找朋友一起重新过一遍线代
QQ 1479912733
（话说bupt线代课时是真的少，3学分学得太赶了）

已经建立交流群，群号702916900

repo: PKUFlyingPig/cs-self-learning


text:
[TRANSLATE] translate AICS/CMU10-414/MLC/CS224n/CS285 and LHY

Complete English version for deep learning folder

Busy with other work currently, will review the PR later.

source: gharchive/pull-request

authors: PKUFlyingPig nzomi


text:
feat(deployment): scow-deployment增加debug选项，允许将内部服务的端口映射到localhost

scow-deployment增加debug选项，允许将内部服务的端口映射到localhost，可用于使用外部工具调试。
目前支持映射的服务有：

管理系统数据库（db）
认证系统使用的redis（redis）
认证系统本身（auth）

虽然本PR修改了scow-deployment，但是这些修改都是可选的，已有用户如果不使用debug选项，无需拉取最新的scow-deployment。

Codecov Report
Base: 64.72% // Head: 64.72% // No change to project coverage :thumbsup:

Coverage data is based on head (07f2cb4) compared to base (6034bcb).
Patch has no changes to coverable lines.

:exclamation: Current head 07f2cb4 differs from pull request most recent head 8d1729b. Consider uploading reports for the commit 8d1729b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #388   +/-   ##
=======================================
  Coverage   64.72%   64.72%
=======================================
  Files         103      103
  Lines        2920     2920
  Branches      368      368
=======================================
  Hits         1890     1890
  Misses        982      982
  Partials       48       48

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

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

authors: codecov-commenter ddadaal

repo: PKUHPC/SCOW


text:
Full support for typescript extensions

First of all, amazing work!!
I would like to add icons for custom typescript files such as gulpfile.ts, karma.conf.ts, .npmrc, .yarnrc, protractor.conf.ts.
I already made changes in the vscode extensions folders and would like to contribute back.

Thank you! It would be great if you can contribute your changes! Just fork and clone the project, insert your  changes, push it and create a Pull Request here. See help.github.com.
Feel free to ask if you have problems 👍

PR#42 has been submitted

authors: PKief sridharmallela

license: mit


text:
Ap/autoipc

Closes #6
Compile and run C and Java benchmarks automatically.
Added some error handling that will attempt to re-run benchmarks that crash a total of 5 times.

Pipes are not closed correctly when using dynamic iteration calculation

repo: PLEnergyDev/CsharpRAPL


text:
Journal fix

Some fixes in journal.py, including:
– fixing XPath query
– standardizing the nlm_ta journal name using nlm_ta_journal dictionary
– adding assert statement to make sure valid journal
This means that whenever someone gets journal name from XML instead of the DOI, they can still rest assured it will be standardized. Validated this for the entire corpus.
Also added .DS_Store to .gitignore, coulda sworn it was there already

Lgtm

authors: eseiver mpacer

repo: PLOS/allofplos


text:
installation error

Tried installing with pip and got the following error, any suggestions?
Using cached scLVM-0.1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/private/var/folders/_r/b9d9b51x4c7dkxfv5m74bwsw0000gn/T/pip-build-UVqiVd/sclvm/setup.py", line 16, in <module>
        with open(path.join(here, 'README.md'), encoding='utf-8') as f:
      File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 884, in open
        file = __builtin__.open(filename, mode, buffering)
    IOError: [Errno 2] No such file or directory: '/private/var/folders/_r/b9d9b51x4c7dkxfv5m74bwsw0000gn/T/pip-build-UVqiVd/sclvm/README.md'

I got the same error earlier today.
You can manually install the package after renaming file "README" to "README.md".

Sorry for this. Fixed now and pip install should work again.

thanks, it seems to be working for me now.

authors: chenhao392 flophys willtownes

repo: PMBio/scLVM


text:
🛑 MUSA is down

In abd2066, MUSA (https://storemusa.com/) was down:

HTTP code: 403
Response time: 382 ms

Resolved: MUSA is back up in 1490419 after 55 minutes.

repo: POCLANOS/status


text:
🛑 POCLANOS is down

In 99750ca, POCLANOS (https://poclanos.com/) was down:

HTTP code: 500
Response time: 1083 ms

Resolved: POCLANOS is back up in 99be132.


text:
Onboard PQCA projects to LFX Insights

I'd like to propose we onboard our PQCA projects to Linux Foundation's Insights project - https://lfx.linuxfoundation.org/tools/insights/
This can gather metrics around activity, contribution diversity, and capture trends over time.
As we start capturing data we can discuss findings within the sub-projects and/or at the tac and see if there are actions we wish to take.

This is in progress

Is this done yet? Maybe as part of the lanscape work?

here it is

Cute. Thanks for setting it up! A bit disappointing that the tool only makes org&location display decisions based on email addresses, not GH (location/address) info. Of course, if it did, US and corp contributions would be shown as low as they really are -- and LF surely wouldn't want that to happen :-) Hints: UWaterloo is not in the US; neither am I.
Also sub-optimal that one can only change the timescales with an LF account, say to dissect the "before and after LF take-over" effect -- but that's probably also a thing LF wouldn't really want to make publicly visible via its own tooling.
Then, @SWilson4: Time to ask for a pay rise looking at these graphs :-) Related, a comment to @hartm: Looking at these charts I now completely understand what you meant by saying people "game" this stuff...

The email versus GitHub thing is a long standing pain point. If you look here, you'll see denyeart is the top person, and the fourth. The logo next to them shows the data source.

It looks like peak commits were in 2019:

Of course, if it did, US and corp contributions would be shown as low as they really are -- and LF surely wouldn't want that to happen :-)

We at the LF (and the corporations) actually do want this information!  At the LF, it enables us to rigorously track analytics.  For companies, it enables them to track their contributions relative to other comparable companies, and even do this in a cross-project and cross-foundation way.  Corporate execs also like to say "we contributed XYZ lines of code to open source" which they can do with these numbers.
If you're reading this, and comfortable providing your employer information and email, sign up for an LF ID and link your email and github!  This also lets us contact maintainers more easily when we need to do so.

Also sub-optimal that one can only change the timescales with an LF account, say to dissect the "before and after LF take-over" effect -- but that's probably also a thing LF wouldn't really want to make publicly visible via its own tooling.

We believe in radical transparency.  While we probably can't get the LFX Insights team to literally draw a line on all of our graphs, this data is available for anyone who cares to look.  Getting an LF account is free and very easy.  We also obviously respect GDPR so you can request to be "forgotten" at any time.

sign up for an LF ID and link your email and github! [...

@hartm I said before and keep repeating that LinuxFoundation's t's and c's for the LFID IMO are not exactly supportive of free speech and openness:

Linux Foundation reserves the right to take down anything you post on this site, for these or other reasons. If you don’t agree to these terms, don’t use this website.

I have no problem agreeing that all reasons explicitly stated ("these") warrant removal of content (and myself would surely not post "such stuff" nor want to be exposed to it). But what is not acceptable to me is the wording "other reasons": With this completely unconditional statement, you guys reserve the right to remove any content you simply don't like. And that is not free speech. Hence, I follow your own advice ("don’t use this").
Technically, allow me to ask what's stopping you from scouring GH for the information you want to collect separately via LFID? By way of example for myself: "Employer", location, GH org affiliation: all accessible -- and I presume not just by screen scraping (?)

Or does Microsoft (GH) legally or technically prohibit you from using GH APIs to retrieve this information and address what seems to be a "long standing pain point" in @ryjones words?

We also obviously respect GDPR so you can request to be "forgotten" at any time.

Good to hear you're following the law :). But that alone makes me wonder: What's LF doing if someone wants to be forgotten? Also delete all the comments of that person? All cross-references to that person (and her comments)? Yuck. Better not collect the information in the first place :-)

Oh, and one more question @hartm: You write

Corporate execs also like to say "we contributed XYZ lines of code to open source" which they can do with these numbers.

Can I also do this (for myself)? Or does this need an LFID? So far I only found (very high level and easily gamed) "contribution" counts, but no concrete line numbers (both contributed in PRs as well as "still active", or "owned" as per GH blame): Can this be displayed?

Sorry, @hartm, this statement of yours IMO also warrants a second glance:

We believe in radical transparency. While we probably can't get the LFX Insights team to literally draw a line on all of our graphs, this data is available for anyone who cares to look.

I now looked .. and only superficially. Already at that level things don't all add up: You seem to imply all data is reported, just not all lines are drawn. Is this really so? Isn't it so that you(r team) definitely exclude(s) data, namely contributions by organizations you don't recognize -- and thus making the stats misleading as you(r team) then normalize(s) all data on that omission?
Here's an example:

One guy doing 122 contributions and one organization doing 32 "thus" being credited with 97% of all contributions sounds a bit statistically dubious, no?
Using this and your statement

Corporate execs also like to say "we contributed XYZ lines of code to open source" which they can do with these numbers.

IBM execs can currently claim they contributed "3%" to this project (silly as it is as contribution count has only a very rough relation to effective line number count); and UWaterloo is credited with 97%. Hmm.
Isn't it so that the complete "organizational view" is based on 3 contributors whose affiliations LF recognizes? The contributions of 31 other people whose affiliations you(r team) didn't glean are totally disregarded. LF(X Insights) thus reports (and draws lines) in this case on less than 10% of the contributors. Is it right to call this "radical transparency"? Might the term "biased" (towards LF organizations) not be more appropriate?
Don't get me wrong: Those (3) guys' (companies) pay your bills as LF members so I understand LF(X Insights) represents them. But it's 34 people in this example providing the code in the project. And that's what FOSS is primarily about, no?
So here's a concrete proposal should LF be interested to represent more than the (in this example 9%) LF OSS contributors in  LFX insights: Please consider documenting at the very least "Unknown origin organization" (I'd even label it "LF-independent contributors") contributions.
This would improve the perspective and get a bit closer to reality, recognize non-LF contributors and give your execs a more accurate perspective on the effective relevance of their contributions (if they want it...) and health of the project.
Even better would be to try to (best, automatically) glean organizational affiliation from GH. It seems possible.
All of this would help make visible the work of people voluntarily contributing and not as part of a specific LF member's employment obligation -- and maybe make those (91% of all contributors in this case) folks' voices more relevant to LF decisions.
But then again, this tool is called "LFX insights" and not "OSS insights", so no worries if you(r team) have more important things to do for your customers. In such case, though, I'd advise caution in using this tool to make externally (to LF) visible "lifecycle" decisions about OSS projects -- which is what triggered this issue in the first place.

@baentsch I collect the raw data for my own use from a public source. I don't do any affiliation, of course. I'm interested in any insights you can glean. Another project I work on does something similar. I have a copy of gharchive, which is:
% du -sh raw uncompressed
3.5T	raw
6.6T	uncompressed

@baentsch There is no conspiracy here against unaffiliated contributors.  You are correct that the affiliation data being shown is buggy, so I've reported that to the LFX Insights team.  I wouldn't expect a response until Monday though.

Thanks @hartm for accepting and forwarding this as a bug report. Please post the corresponding GH issue link here  so I can track and possibly help the people working on this --at least confirming a fix as any bug reporter should do.
Your comment regarding "conspiracy" feels unnecessary and creates some uneasiness on my side: I sincerely hope you don't want to imply I'm crazy? Just so you can check, one more data point: I think Elvis is dead :-)
More seriously: What I did (try to do) above is explain the consequences of this error and possible reasons for this facility to not have had priority for apparently ever having been tested for baseline correct operations (business priority recognizing LF over non-LF contributions).
If your "no conspiracy" statement in turn is meant to say "LFX Insights never has been designed or tested to deliver organizational decision support data with regard to contributors not affiliated with LF/an organization supporting/funding LF", then we're in agreement.

Thanks for sharing your project links, @ryjones . Unfortunately I'm afraid I'm out of my depth working with this data (at least I didn't immediately understand what EventFlow does), so most likely have to disappoint you wrt

I'm interested in any insights you can glean.

There is no conspiracy here against unaffiliated contributors.

@hartm (and any one else reading) would it be conceivable you/LF label us "independent contributors" rather than as "unaffiliated"? The latter sounds like we're incomplete people without affiliation that one can keep disregarding, e.g., when asking for help -- even though we're apparently 91% of all contributors in the project we use as the example above.
The term "independent" in turn stresses that we bring at least diversity and self-motivation to the projects that LF controls -- without costing you a dime.
I know it's just a word but it might entice LF(-affiliated) contributors to think of independent contributors a bit more highly and maybe help us a bit more, e.g., finding ways to navigate the limitations that LF contributors accepted as part of their job&salary but that are new, challenging and costly (in terms of our volunteered time) to us. Thanks.

Thanks @hartm for accepting and forwarding this as a bug report. Please post the corresponding GH issue link here so I can track and possibly help the people working on this --at least confirming a fix as any bug reporter should do.

Someone from the LFX team is going to comment in this thread on Monday.  They need to check and confirm the data.

Your comment regarding "conspiracy" feels unnecessary and creates some uneasiness on my side: I sincerely hope you don't want to imply I'm crazy? Just so you can check, one more data point: I think Elvis is dead :-)

No, I'm not implying anything about you with that statement.

If your "no conspiracy" statement in turn is meant to say "LFX Insights never has been designed or tested to deliver organizational decision support data with regard to contributors not affiliated with LF/an organization supporting/funding LF", then we're in agreement.

It has!  But, in my understanding, PQCA data hasn't been onboarded to the point where this works yet, so hopefully we will be getting it working soon.   The issue is certainly in this area.

@hartm (and any one else reading) would it be conceivable you/LF label us "independent contributors" rather than as "unaffiliated"? The latter sounds like we're incomplete people without affiliation that one can keep disregarding, e.g., when asking for help -- even though we're apparently 91% of all contributors in the project we use as the example above.

It probably would be!  When someone from LFX posts here tomorrow, I'd encourage you to ask them directly!

@ryjones I notice you assigned this to me (I am interested in it). Is there any action you expect from me at the moment?

@planetf1 no - you opened it, so I was thinking you would close it (eventually)

would it be conceivable you/LF label us "independent contributors"

It probably would be! When someone from LFX posts here tomorrow, I'd encourage you to ask them directly!

Will do as/if/when "tomorrow" comes. Until then, it'd be nice if you would already consider us in that way, @hartm

Hi @baentsch - thank you for your thoughts. I am the LFX Head of Product & Design. Happy to answer questions or receive feedback on the product. I will take a look personally at the affiliations for this project and see if we can take another pass to improve the data. I'm open to get on a meeting or do this asynchronously - whatever is best for you. Appreciate you taking the time to review the data and share your perspectives.

Hi @mcderk - thanks for the initial feedback. Please let me know if anything in the above is unclear or you have questions. Also, please note that not just the affiliation(s) but also all geo information is completely "off". If you have a GH project developing the code for LFX, please feel free to provide a pointer and reference me in issues there to move this discussion to where it arguably belongs.
Meetings are generally sub optimal in my eyes as a) we're in different time zones; b) my command of the spoken language is most likely no match to yours; c) lots of detail is getting lost when only discussed in meetings; and d) there's typically many more perspectives/solution proposals coming forward when discussing problems openly with the community in suitable issues.

A question on affiliation. I notice the Organization Leaderboard contains 'Egeria Project'
This is probably me -- When I worked in LF AI & Data on Egeria (up until June 2023) we created a LinkedIn org - in part to make it easier to write linked in blogs. In any case in linked in that org membership ended in June.
So I'm intrigued as to why it shows up here? My LF profile only shows IBM (long form)? Is there some other profile information that needs correcting?

Another feature that would be useful is an aggregate view across the 3 (will be more in future perhaps) orgs

Github also maintains a mapping of email->github id. I noticed that in the pq-code-package project:

These are all me. Is there a way I can link them?

are recorded in my LFX dashboard, so lfx should 'know' they are me.

Again, (particularly @mcderk ), please consider using only GH information; the more you rely on LF-internal data structures/registrations, the less interesting (and relevant) this UI becomes for independent contributors; either way, this may be intentional for your product and you might also want to weigh in whether my assumption stated above is right after all:

"LFX Insights never has been designed or tested to deliver organizational decision support data with regard to contributors not affiliated with LF/an organization supporting/funding LF"

Anyway, in the case of @planetf1, the GH org of https://github.com/planetf1 is clearly "IBM", nothing else. So where does the UI get any other affiliation information from?

Thanks @mcderk ('s team :) for some improvements to the UI. But I'd like to urge you to not attribute me personally as "Freelance Consultant" but either use my GH org ID -- or better, bundle me and all other independent contributors under exactly that heading ("Independent Contributors" -- see  @hartm 's comment above) -- to make it visible to which degree voluntary work (used to) drive this project.

@baentsch I will look to change yours to 'Independent Contributor' individually and then create a ticket for our team to investigate how to best show voluntary work. Thank you for the feedback

@baentsch I will look to change yours to 'Independent Contributor' individually and then create a ticket for our team to investigate how to best show voluntary work. Thank you for the feedback

Thanks @mcderk . This further confirms my impression that LF is not really considerate of voluntary work(ers). Please correct me if I'm wrong (ideally pointing to some Independent Contributors community for me to "learn the ropes" on this topic before I hang myself in the invisible ones...).

Hi @baentsch, we do consider voluntary work and are working to make it easier for our users to self-manage it.
The main issue with identifying individual contributors is that there is no standard and common way that information is shared so it's really difficult to figure out who is contributing for themselves individually, on behalf of a company, and how those associations shift especially when there is significant overlap.
I can confirm we are doing our best up to this point and have features coming (self-service affiliation & attribution within the LF profile) coming in the next quarter or two - however it is a complex and large problem to solve. We definitely have room for improvement and are continuing to prioritize it against other items at LF / LFX.
If you have thoughts on how to do this better I'd be open to them as I have seen great ideas come from all sorts of places and people - usually around an issue they are passionate about for themselves. Thank you for your thoughts & feedback - I appreciate it.

If you have thoughts on how to do this better I'd be open to them as I have seen great ideas come from all sorts of places and people - usually around an issue they are passionate about for themselves.

That's precisely the benefit of FOSS. I honestly think you're doing yourself a big disservice by not using this thought more generally: Why for example are you not opening up the work on this to others by placing the code for it on GH and discussing things like this openly in a community? That way everyone could understand (and/or help solve) things you deem "really difficult". A pointer to this community was all I asked for above -- by not providing it, you caused the discussion on a completely different topic (onboarding a specific project) to get hijacked (apologies to all except @mcderk ).
It's pretty weird that the organization that touts to support OSS does not seem to be using it itself. This seems to further bolster my criticism towards your organization: My impression is that LF is not really about FOSS, but about closing down/treating as "your own" all software LF manages.
Back to the issue: What's wrong (or difficult to implement) with treating every GH handle without any or without an LF-registered organizational affiliation (as publicly posted on GH; see above) as belonging to the "Individual Contributor" tribe?
Same thing as with country affiliations: You seem to look at published email address only but not at the country information publicly posted in GH. Why?
I do see that your approach is more simple to implement, but it is completely misleading -- surely in the case of this project (where the vast majority of work is done in Switzerland and Canada, but only "US" .com addresses --including anonymous GH ones!-- get noticed). This conceptual error most likely is the case for all LF projects, so you guys this way conceptually belittle/disenfranchise/discriminate (chose the most fitting term) all work done in other geos. Again, this may be desired strategically by the US-based LF to bolster its self-esteem but it does this by alienating the (rest of the) world's contributors.

authors: baentsch hartm maximilien mcderk planetf1 ryjones

repo: PQCA/TAC


text:
demographics.py missing an important functionality

We need to allow for demographics.py to be able to return path of population distributions when given (1) an initial distribution (2) paths of fertility, mortality, and immigration rates.
This could probably be best implemented in the demographics.get_pop() function with something like:
def get_pop(
    E=20,
    S=80,
    min_age=0,
    max_age=99,
    infer_pop=False
    fert_rates=None,
    mort_rates=None,
    infmort_rates=None,
    imm_rates=None,
    pre_pop_dist=None,
    country_id=UN_COUNTRY_CODE,
    start_year=START_YEAR,
    end_year=END_YEAR,
):
   if not infer_path:
       do current functionality

   else:
       find implied pop path from fert, mort, imm rates + either(pre_pop or UN data if pre pop not given)
    return pop_2D, pre_pop

This is implemented by PR #902. Closing.

authors: jdebacker rickecon

repo: PSLmodels/OG-Core


text:
Easy Desktop Notifications with BurntToast

Easy Desktop Notifications with BurntToast

Name: Josh King
Your Timezone: UTC+12 / UTC+13 (Able & happy to participate during local business hours)
Abstract: Want to easily show notifications on your Windows 10 desktop? It's as easy as "cooking bread" with the BurntToast PowerShell module!
Links:

BurntToast (Repo): https://github.com/Windos/BurntToast
BurntToast (Gallery): https://powershellgallery.com/packages/BurntToast
Twitter: WindosNZ
Slack ID: windosnz
Blog URL: https://king.geek.nz

Thank you so much for presenting today!

authors: Windos michaeltlombardi

repo: PSPowerHour/PSPowerHour


text:
[Tarea] Duda Informe

Hola,
¿es posible integrar el informe en el colab que tiene código? De esa forma es más fácil mostrar y explicar los resultados.
Muchos saludos

Hola,
No se puede porque dentro de los entregables tiene que estar el informe en pdf y el código.

authors: SarahEverke afcarvallo


text:
V1.11.0 CBRK_VTOLARMING = 159753 doesn´t apply

The new in 1.11.0 introduced CBRK_VTOLARMING doesn´t apply
set from 0 to 159753 it should allow to arm in FW mode
It shows only an error not arming ... Vtol switch engaged
To do better research for #15155 I noticed that the necessary CBRK has no function

FYI @sfuhrer @RomanBapst

FYI @sfuhrer

@taileron thanks for reporting that, https://github.com/PX4/Firmware/pull/15283 should fix it.

fixed: pr-VTOL-switch-check-arming now allows to arm with tx arm switch in fw mode if this CBRK is set
https://review.px4.io/plot_app?log=df6c7f49-d3e0-4373-9e13-bc48a8c9c85e

authors: hamishwillee julianoes sfuhrer taileron


text:
Position control is not moving in the direction it's pointing

I haven't analyzed it yet, but we had this on multiple quads now. If I just give pitch input forwards in POSCTL it also drifts to the left. When going backwards it drifts the same amount back.
Occurred here in the end as well: http://logs.uaventure.com/view/ypvNzJezx2hifXsHeS22uD

I think I have also seen this behaviour and wondered whether it was something I have done wrong. I have never seen any evidence other than "that looks like it's flying a little bit sideways" when it should be going forwards.

That's not present with ECL / EKF2.

authors: AndreasAntener LorenzMeier estechnical


text:
Add acro mode for fw

When setting up a new fw I noticed that there is no acro mode for airplanes according to the docs.
Is this correct? And in that case how much work would it be to implement?

Probably not that much work actually, but it's a bit awkward with the way ECL is currently structured. The rate setpoint is converted to bodyrate in control_bodyrate(). https://github.com/PX4/ecl/blob/master/attitude_fw/ecl_roll_controller.cpp#L59
I've been working on a refactor of fw_att_control to use controllib and I was going to throw in acro and rattitude mode. https://github.com/dagar/Firmware/blob/fw_att_control_cleanup/src/modules/fw_att_control/FixedwingAttitudeControl.cpp
Interested in working together to add acro and review/test?

Nice!
I am in the middle of my thesis at the moment so don't have much time left for coding, but I can for sure do my best in reviewing and testing :)

Do you have any opinions on FW acro? Would you like to see pure rate mode with stick input = bodyrate setpoint for roll, pitch, yaw? We could also do a bit of a hybrid and re-enable attitude control below a certain threshold (rattitude), or hold the current attitude when the sticks are neutral.

I would go with pure rate control, I think it is the most fun to fly. At least to start with:)

I am looking for FW acro too. Want to fly FPV and rate mode should give the best experience.

@dagar @CarlOlsson I'm also interested in helping drive this. I've spend some time thinking about this and have some comments and questions:

We need to handle the turn compensation for acro mode. When you attempt to do a roll the controller will output lots of pitch up which eventually will lead to a yawrate (in earth frame) which then could have a negative (blocking) effect on roll. I've given this a test in JSBSim and had great problems doing a 360 roll when turn compensation was enabled. Maybe we can scale pitch control down when roll angle is close to 90 degrees.

We need to think if and how we want to use the rudder during roll maneuvers. Ideally, the rudder could be used to hold pitch during a knife edge maneuver. However, in the simulator I had problems rolling the plane further due to the coupling of the rudder with roll.
I have to say that I didn't use an acro plane in the simulation so this effect might not be as strong as I encountered it.

I assume we want to lock the attitude (roll, pitch) when the user is not giving stick inputs?

Stick inputs from the user (roll, pitch) should be interpreted as desired body rates, NOT euler angle rates.

@CarlOlsson Carl, does that make sense to you as an experiences acro pilot?

I was originally thinking of coming back to this a bit later after casually working on the stick_mapper and/or fw_att_control cleanup, but it's easy enough to do now.
I think the main thing is to coordinate and agree on a design here. At a minimum we'll need to refactor ecl to be able to set body rates directly.

Should acro even have turn compensation?
2/3. Would that be if sticks are neutral store the current attitude as a setpoint and resume control_attitude? Or just keep the rate 0?
yep

If we can work through the details here I'll propose refactoring ecl and the rest of the changes shouldn't be too bad. Do you think we need/want separate rate limits for FW acro?

@dagar Comments to

Can't really say, I never flew a fixed wing in acro. I could imagine that it could be useful holding the altitude while doing rolls.

I would go for keeping the attitude. That may help when flying in turbulence.

Intuitively I think attitude lock does sound better. It should be easy to experiment with and without as well as per axis. It also easily gives us rattitude from the beginning as well.
I think that should also take care of the knife edge case.

There are 2 use cases:

fun 3d flying for everybody
rate support for planes with properties that make them difficult to fly nice manually (also for good pilots)

For 1) attitude locking is fine, for 2) body rate control is needed. Reading back @CarlOlsson would also go for rate control. I'm also more a fan of 2 because I think if you now how a plane flies fully manual you'd expect a similar behavior in 3D mode and that is not holding attitude.

I've quickly looked through a few stabilizers and most of them support both, some of them only with attitude locking. Rate only control is usually advertised as added stability with less adverse impact on agility of the plane.
NX3 Evo: both
FY-40A: attitude
Vector: both
bavarianDemon: both
APM: attitude

That's for the overview @AndreasAntener
I think now the most difficult part is deciding how to restructure ECL fw_attitude. The body angular rate transformation is done in control_bodyrate, but depends on the rate setpoint from other controllers from the same iteration.

I'll discuss with Roman today but I'm thinking of extracting the PID controls from the control_bodyrate methods and use them directly when in the correct mode. Then split up the block for attitude control. This should work for rate control. For attitude locking I think the ECLs need a mode so you can use them like now but they handle all the axis without the turn compensation. We're probably only going to implement the first part now. Does that make sense to you? Would you want to take over attitude locking?

Great to see so much progress here, awesome! I agree with @AndreasAntener, the preferences for acro mode are probably very different from person to person. Some want a mode that does the aerobatic "by itself" and some want a plane that feels more like it is in "assisted manual". However, I think pure rate control is the most natural mode that should be supported. It is also what users outside of the autopilot community would expect when they go with "acro" since it corresponds to normal RC "gyros" e.g. http://www.multiplex-rc.co.uk/multiplex-wingstabi-system-53-c.asp

@dagar Here is a video of my first results.
This is controlling body x rate with pitch still controlled as in stabilized. You can see really well how rudder is used to control pitch at large roll angles.
https://www.youtube.com/watch?v=t8Ie6F2PFF4&feature=youtu.be

@CarlOlsson I have a question about turning behaviour in acro mode.
When you speak about "full rate control" what do you mean regarding the body_z axis?
When you bank the plane it will try to do a turn which requires non-zero body_z rate. Should there be some kind of turn coordination in acro mode?

I would as a start not control rate around body z since it is not really needed to achieve a smoother more wind robust feeling for a plane in acro mode compared to pure manual, it is also not possible to control it for many airframes, e.g. flying wings without rudder.

@CarlOlsson Is your plane ready? ;-)
https://www.youtube.com/watch?v=Qz62aW02SPk&feature=youtu.be

@tumbili of course :)

Implemented in #6567

@CarlOlsson you're up ;)

authors: AndreasAntener CarlOlsson dagar philippamlong tumbili


text:
enable precision landing at the end of RTL

Describe problem solved by this pull request
Enables precision landing at the end of RTL, configurable with a parameter
Also mission precland call logic is cleaned up to be more readable, and switched to be at the end of mission on_active, so it can perform an iteration of precland as soon as it switches to using it, keeping precland on_inactiavtion being handled properly.

IMO the proper way to handle precision landing is moving it to a (separate) flight task, which is also a bigger project.

@dusan19 yes and we've already started discussing untangling all of this and moving to a more unified system wide state machine. Let's talk about it directly soon (post v1.11)?

@dusan19 yes and we've already started discussing untangling all of this and moving to a more unified system wide state machine. Let's talk about it directly soon (post v1.11)?

@dagar Sounds good.

Thanks @dusan19 and @ndepal!

authors: dagar dusan19 julianoes


text:
mavlink message move more streams to separate headers

I've also started adding include guards which allow us to trivially exclude streams when the time comes.

Maybe this helps: https://github.com/PX4/Firmware/pull/14259/commits/1f97debf3b8e40d8e2cf91dae2a2acfb877f2f23
Are you sure about the file names being in capital letters?

Maybe this helps: 1f97deb
Are you sure about the file names being in capital letters? And I would recommend keeping the constexpr as it had some advantage regarding the final size of the firmware iirc.

Thanks @dayjaby, I'll take a look.
For naming I try to keep things in whatever form is closest to the source. In the Mavlink spec all of the names are uppercase.
https://mavlink.io/en/messages/common.html#ESC_STATUS

I would recommend keeping the constexpr as it had some advantage regarding the final size of the firmware iirc.

Where? I didn't intentionally drop it.

Oops, false accusation. You moved the functions down.
About the file names: if you consider my commit, all file names are the lowercase version of the corresponding MAVLink message, so if you consider adding automatic links from MAVLink to PX4 or vice-versa for documentation or whatever, then it's just one function call.

About the file names: if you consider my commit, all file names are the lowercase version of the corresponding MAVLink message, so if you consider adding automatic links from MAVLink to PX4 or vice-versa for documentation or whatever, then it's just one function call.

At the risk of bikeshedding, I guess I just don't see the benefit of having it named differently at all. Anyway, I'd be happy to not repeat the work you've already done. Would you like to open a PR?

@dayjaby I'm going to keep going with this, but if you're interested in preserving your changes please open a PR. Feel free to replace the separate headers with yours (I'm fine with the naming either way).

authors: dagar dayjaby


text:
Terrain estimator

Simple terrain estimator which can be combined very easily with any estimator.

Simple terrain estimator which can be combined very easily with any estimator.

@tumbili Thanks for this!
@jgoppert @AndreasAntener This ties in nicely with our LPE work. This will allow proper AGL handling and correction of local position from the terrain estimate.

@tumbili Looking forward to trying this out!

@tumbili I have a general suggestion - could you make the velocity update a general thing instead of directly using GPS? The estimator would just send it's current velocity estimate. We need this for the GPS-denied situation (e.g when people are using vision localization or a flow-only setup)

@mhkabir Sure, I can do that, makes sense.
@jgoppert The reason why I've written the estimator was to test fixed wing auto landings with the ekf. I found it very hard to follow the ekf logic so I used this standalone estimator. I'm very interested to try out your position estimator soon. Looks very clean and understandable, I like that :-)

authors: jgoppert mhkabir tumbili


text:
SmartPort telemetry

rebased on master
battery voltage reported correctly to Taranis X9D running OpenTX 2.1.7
still have to start daemon sPort_telemetry manually

Awesome! Can we still get an image of the cable in here?

Connect the JST labeled "FRs" on the PixRacer to the S.PORT connector of an FrSky X-series receiver like this (the S.PORT pins should be labeled -, + and s.port on the receiver):

top output at priority 200:
 173 sPort_telemetry             13172  2.635  1276/ 1992 200 (200)  w:sem
 173 sPort_telemetry             14714  3.187  1276/ 1992 200 (200)  w:sem

min, mean, max response latency(seconds):  1.549e-03,  2.719e-03,  3.410e-03
latency median: 2.742e-03
latency std. dev.: 3.218e-04
run frequency is 83Hz average

min, mean, max frame interval (seconds):  1.182e-02,  1.200e-02,  1.217e-02
interval std. dev.: 5.893e-05

pixracer now sends D type telemetry on smartport if an X type receiver is not detected

With the integration of D type telemetry into sPort_telemetry.c it should be renamed to frsky_telemetry.c and all FrSky telemetry code should be in drivers/frsky_telemetry, eliminating the drivers/sPort_telemetry directory. But this would need to be coordinated with current users of the original frsky_telemetry daemon to avoid breaking their configurations.

There are virtually none, so its better to do a clean cut to avoid technological debt. If you just move things to drivers/frsky_telemetry and use the same start command you will not break anything.

replaced by #3573


text:
Add Op UnitTest for sin/cos/tan/sinh/cosh/tanh/asin

描述
From #1378
为三角函数类型算子增加新的测试用例

序号
算子
单测文件

94
sin
test_sin_elementwise_op.py

95
cos
test_cos_elementwise_op.py

96
tan
test_tan_elementwise_op.py

97
sinh
test_sinh_elementwise_op.py

98
cosh
test_cosh_elementwise_op.py

99
tanh
test_tanh_elementwise_op.py

100
asin
test_asin_elementwise_op.py

算子类型

[x]  ElementWise：输入张量索引和输出张量索引之间存在一对一的对应关系
[ ]  Broadcast：输入张量索引和输出张量索引之间存在一对多的对应关系
[ ]  Injective：单射算子，可以将一个输出 axis 映射到一个输入 axis
[ ]  Reduction：输入张量索引和输出张量索引之间存在多对一的对应关系
[ ]  OutFusible：复杂算子，仍然可以将一对一的算子融合到其输出中。
[ ]  kNonFusible：无法融合的算子

Test Cases Checklist
张量维度

[x]  1D 张量
[x]  2D 张量
[x]  3D 张量
[x]  4D 张量
[x]  5D 张量

special shape
挑选 2D/3D/4D 张量中的一个，测试下面的特殊情况。

[x]  其中一个维度为 1
[x]  其中一个维度小于 1024
[x]  其中一个维度大于 1024
[x]  向量的所有维度都是 1

张量数据类型

[x]  float16
[x]  float32
[x]  float64

广播

[ ]  这个算子是否支持广播？
[ ]  广播的测试样例

请把每个算子的单测拎出来，每个算子单独一个测试文件。另外acos、atan、asinh、acosh、atanh已有认领

好的，单测已分成多个文件

repo: PaddlePaddle/CINN


text:
libascendcl.so: 运行华为华为昇腾推理报错

参考：
https://github.com/PaddlePaddle/FastDeploy/tree/develop/examples/vision/detection/yolov5/cpp
运行命令：
./infer_paddle_demo yolov5s_infer 000000014439.jpg 4
报错关键信息：
[I  4/12 22:16:54.127 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: argument_type_display_pass
[I  4/12 22:16:54.127 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: variable_place_inference_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: variable_place_inference_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: control_flow_op_shared_inputs_and_outputs_place_sync_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:107 ApplyPasses]    - Skip control_flow_op_shared_inputs_and_outputs_place_sync_pass because the target or kernel does not match.
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: argument_type_display_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: argument_type_display_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: runtime_context_assign_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: runtime_context_assign_pass
[I  4/12 22:16:54.132 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: argument_type_display_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: argument_type_display_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: lite_inplace_fuse_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:119 ApplyPasses] == Finished running: lite_inplace_fuse_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: memory_optimize_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:107 ApplyPasses]    - Skip memory_optimize_pass because the target or kernel does not match.
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:99 ApplyPasses] == Running pass: xpu_memory_optimize_pass
[I  4/12 22:16:54.133 ...le-Lite/lite/core/optimizer/optimizer.cc:107 ApplyPasses]    - Skip xpu_memory_optimize_pass because the target or kernel does not match.
[I  4/12 22:16:54.137 ...re/optimizer/mir/generate_program_pass.h:41 GenProgram] insts.size: 1
[INFO] fastdeploy/runtime/runtime.cc(321)::CreateLiteBackend	Runtime initialized with Backend::PDLITE in Device::ASCEND.
[F  4/12 22:16:54.161 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, libascendcl.so: cannot open shared object file: No such file or directory
terminate called after throwing an instance of 'nnadapter::logging::Exception'
what():  NNAdapter C++ Exception:
[F  4/12 22:16:54.161 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, libascendcl.so: cannot open shared object file: No such file or directory
Aborted (core dumped)
上面的库在哪里可以找到，如何解决？

华为昇腾的部署可以参考这个文档哈：

https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/cn/build_and_install/huawei_ascend.md

我就是对着这个编译的，我的硬件Atlas 300I没有pro应该也没关系吧，我按这个步骤编译成功了，到了yolov5编译cpp的时候也没问题，就是在运行的时候报了这个库找不到，我在系统里面找了也没找到这个库，这个怎么解决的

看下是不是没有设置环境变量，可以参考文档：

https://github.com/PaddlePaddle/FastDeploy/blob/develop/docs/cn/faq/use_sdk_on_ascend.md

@DefTruth
为什么我用的昆仑芯用XPU却是可以抛出结果的（问题来源），我的硬件环境是atlas 300I 加速卡的NPU啊?

运行./infer_paddle_model_demo yolov7_infer 000000014439.jpg 3 就出上面错误

@jia0511  你好，找不到 libhuawei_ascend_npu.so 的问题解决了吗

没有

authors: DefTruth cocaer jia0511

repo: PaddlePaddle/FastDeploy


text:
Quadro K620 使用1.0.0-gpu-cuda11.4-trt8.4-21.10  异常

配置
Quadro K620

使用镜像异常

启动镜像时候设置一下--shm-size参数

authors: GDbbq rainyfly


text:
Investigate Android NN

https://developer.android.com/ndk/guides/neuralnetworks/index.html

Completed the survey here -> https://github.com/PaddlePaddle/Mobile/wiki/Android-NN-Survey

repo: PaddlePaddle/Mobile


text:
fix gather op

评一下，感觉不需要gatherND

gatherND没有axis属性，转onnx没报错，但推理出了问题，因此想去掉gatherND


text:
怎么对rocketqa做预训练和fintune呢,根据官方教程,在小数据集上很差,怎么才能固定部分权重训练呢

欢迎您反馈PaddleNLP使用问题，非常感谢您对PaddleNLP的贡献！
在留下您的问题时，辛苦您同步提供如下信息：

版本、环境信息
paddlepaddle-gpu    2.3.1.post112
cuda 11.2
1）PaddleNLP和PaddlePaddle版本：请提供您的PaddleNLP和PaddlePaddle版本号，例如PaddleNLP 2.0.4，PaddlePaddle2.1.1
2）系统环境：请您描述系统类型，例如Linux/Windows/MacOS/，python版本
复现信息：如为报错，请给出复现环境、复现步骤

请问是基于哪份代码进行 RocketQA 训练发现效果很差？可以贴一下链接

repo: PaddlePaddle/PaddleNLP


text:
【PPSCI Export&Infer No.11-12】

PR types

Others
PR changes

Others
Describe

#788
为cylinder2d_unsteady和cylinder2d_unsteady_transformer_physx两个案例添加了export和inference功能

@wufei2 commit尽量干净，不要引入和本PR无关的commit

repo: PaddlePaddle/PaddleScience


text:
Suggestions for using different PaddleSpeech versions

For now that users currently have many version management issues when using PaddleSpeech, given some suggestions for using different versions are provided here.
PaddleSpeech == develop --> PaddlePaddle == 2.5.0/2.5.1
PaddleSpeech <= 1.4.1 --> PaddlePaddle <= 2.4.2

File "E:\ai\speaker\funasr\dev\Lib\site-packages\paddlespeech\t2s\modules\losses.py", line 20, in
from paddle.fluid.layers import sequence_mask
ImportError: cannot import name 'sequence_mask' from 'paddle.fluid.layers'
报错说是版本问题，搞了好久都没跑起来过，
#3520

安装版本 +问题处理
(speech_env) dongao@deepin207:/data/works/html/data/source$ pip list|grep paddle
paddle-bfloat 0.1.7
paddle2onnx 1.1.0
paddleaudio 1.1.0
paddlefsl 1.1.0
paddlenlp 2.5.2
paddlepaddle 2.5.2
paddlesde 0.2.5
paddleslim 2.4.1
paddlespeech 1.4.1
paddlespeech-ctcdecoders 0.2.0
paddlespeech-feat 0.1.0
问题处理：
1 AttributeError: module 'numpy' has no attribute 'complex'.
np.complex was a deprecated alias for the builtin complex. To avoid this error in existing code, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
The aliases was originally deprecated in NumPy 1.20;
由于 paddlespeech 依赖中要求 librosa 版本0.8.1，而且 librosa库使用个了NumPy1.20之前的API导致的
pip install librosa==0.10.1
2 报错信息提示：ModuleNotFoundError: No module named 'paddle.nn.layer.layers'
报错信息：IndexError: list index out of range
由于 paddlepaddle 2.6.1版本 ，降级 paddlenlp 版本到 2.5.2问题得到解决
pip install paddlenlp==2.5.2
运行例子
paddlespeech text --task punc -v --input "你知道吗大部分时候你都在假装学习你在年初提出了一整面墙的todo list到了九月还没打上几个钩你的书架上陈列着全网最畅销的专业书籍"
[2023-12-20 17:56:18,543] [ INFO] - loading configuration file /home/dongao/.paddlespeech/models/ernie_linear_p7_wudao-punc-zh/1.0/ernie_linear_p7_wudao-punc-zh.tar/ckpt/config.json
[2023-12-20 17:56:18,545] [ INFO] - Model config ErnieConfig {
"architectures": [
"ErnieForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"enable_recompute": false,
"fuse": false,
"hidden_act": "relu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3",
"4": "LABEL_4",
"5": "LABEL_5",
"6": "LABEL_6",
"7": "LABEL_7"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2,
"LABEL_3": 3,
"LABEL_4": 4,
"LABEL_5": 5,
"LABEL_6": 6,
"LABEL_7": 7
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 513,
"model_type": "ernie",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"paddlenlp_version": null,
"pool_act": "tanh",
"task_id": 0,
"task_type_vocab_size": 3,
"type_vocab_size": 2,
"use_task_id": false,
"vocab_size": 18000
}
[2023-12-20 17:56:33,740] [ INFO] - All model checkpoint weights were used when initializing ErnieForTokenClassification.
[2023-12-20 17:56:33,740] [ INFO] - All the weights of ErnieForTokenClassification were initialized from the model checkpoint at /home/dongao/.paddlespeech/models/ernie_linear_p7_wudao-punc-zh/1.0/ernie_linear_p7_wudao-punc-zh.tar/ckpt.
If your task is similar to the task the model of the checkpoint was trained on, you can already use ErnieForTokenClassification for predictions without further training.
[2023-12-20 17:56:33,761] [ INFO] - Already cached /home/dongao/.paddlenlp/models/ernie-1.0/vocab.txt
[2023-12-20 17:56:33,776] [ INFO] - tokenizer config file saved in /home/dongao/.paddlenlp/models/ernie-1.0/tokenizer_config.json
[2023-12-20 17:56:33,777] [ INFO] - Special tokens file saved in /home/dongao/.paddlenlp/models/ernie-1.0/special_tokens_map.json
你知道吗？大部分时候，你都在假装学习。你在年初提出了一整面墙的todolist，到了九月，还没打上几个钩。你的书架上，陈列着全网最畅销的专业书籍。

For now that users currently have many version management issues when using PaddleSpeech, given some suggestions for using different versions are provided here.
PaddleSpeech == develop --> PaddlePaddle == 2.5.0/2.5.1 PaddleSpeech <= 1.4.1 --> PaddlePaddle <= 2.4.2

如果一定需要固定版本，建议
PaddleSpeech == develop， PaddlePaddle == 2.5.1 或
PaddleSpeech == 1.4.1 ，PaddlePaddle == 2.4.2

我刚刚解决了 然后我忘记记录怎么解决的  现在我还把venv给删除啦 现在一直报错 嘎嘎  谁懂呀 这种感觉😭😭

matplotlib==3.7.3
numpy==1.23.4
paddlepaddle==2.4.2
paddlespeech==1.4.1
protobuf==3.19.6
paddlenlp==2.5.2
scipy==1.11.4
实测可以

authors: BoredWait hjhcos sunqinbo wukaikailive zxcd

repo: PaddlePaddle/PaddleSpeech


text:
数据格式转换在windows上存在问题

我使用labelme标注了一些目标检测数据，在ubuntu18.04上进行数据转换后导入GUI没有问题，但在windows上转换数据后导入gui会报错

具体报错信息是什么？

authors: FlyingQianMM gaooolianggg

repo: PaddlePaddle/PaddleX


text:
深度学习百问里面部分无图

https://paddlepedia.readthedocs.io/en/latest/tutorials/CNN/convolution_operator/Dilated_Convolution.html
此链接里面没有图4

您好，非常感谢您的反馈，此问题已经修改。

repo: PaddlePaddle/awesome-DeepLearning


text:
Controller need ClusterRoleBinding

Controller can not fetch information from APIServer. Maybe we need a demo YAML file to create a ClusterRoleBinding.
E1026 11:16:45.932353       1 reflector.go:201] github.com/PaddlePaddle/cloud/go/controller/controller.go:100: Failed to list *api.TrainingJob: User "system:serviceaccount:paddlecloud:default" cannot list trainingjobs.paddlepaddle.org at the cluster scope. (get TrainingJobs.paddlepaddle.org)
E1026 11:16:46.933184       1 reflector.go:201] github.com/PaddlePaddle/cloud/go/controller/controller.go:100: Failed to list *api.TrainingJob: User "system:serviceaccount:paddlecloud:default" cannot list trainingjobs.paddlepaddle.org at the cluster scope. (get TrainingJobs.paddlepaddle.org)
E1026 11:16:47.933964       1 reflector.go:201] github.com/PaddlePaddle/cloud/go/controller/controller.go:100: Failed to list *api.TrainingJob: User "system:serviceaccount:paddlecloud:default" cannot list trainingjobs.paddlepaddle.org at the cluster scope. (get TrainingJobs.paddlepaddle.org)

I think I run into this problem today, how did you fix it :)?

Hi @helinwang ,you need to submit a ClusterRoleBinding like:
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: controller
subjects:
- kind: User
  name: system:serviceaccount:<your namespace>:default
  apiGroup: rbac.authorization.k8s.io
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: rbac.authorization.k8s.io

By the way, the controller is cluster wide used, maybe there is only one controller instance in the cluster, so set namespace=paddlecloud is better.

repo: PaddlePaddle/cloud


text:
feat: bunni quest board

Implements bunni quest board to discord bot

Still needs to add the channel id that will receive the messages

repo: PaladinFinance/Discord-Quest-Bot


text:
Sprint 2 released application

Relevant Issue
NA
Description
Removed debugging login. Release for sprint 2

Lgtm


text:
Inconsistent error handling for bad IP or credentials

error handling seems inconsistent. in some cases I get a generic 'Could not login to PAN-OS' and some times a red box with the proper error message. also seeing some cases where wrong ip/credentials + backup=checked gives a browser level error, cant perform backup. I also did a clear cache (check the port # in the docs?) and getting the older generic message
When I did see the red box, it does capture bad IP or credentials as expected

completed with 2.1

authors: nembery scotchoaf

repo: PaloAltoNetworks/panhandler


text:
feat: Expose variable to control health check in ASG

Description
PR delivers new variable health_check for asg module to control how health checking is done.
Motivation and Context
#22
How Has This Been Tested?
Code was tested locally on combined_design_autoscale example.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

/idempotence paths="examples/combined_design_autoscale"

/sca


text:
[CERTIFICATE]

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

Kubernetes

Project Management and Tech support

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

Kubernetes

@ShivamKumar2002  based on your request I've added two new courses for Kubernetes, you can find them here at the bottom under DevOps.

Project Management and Tech support

@pcodesdev I've created a new section for business and added a bunch of courses for marketing, customer support and project management. You can find them here
If you found any certificates for free don't hesitate to add them directly to the list by submitting a pull request.

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

Kubernetes

@ShivamKumar2002 based on your request I've added two new courses for Kubernetes, you can find them here at the bottom under DevOps.

Project Management and Tech support

@pcodesdev I've created a new section for business and added a bunch of courses for marketing, customer support and project management. You can find them here
If you find any certificates for free, don't hesitate to add them directly to the list by submitting a pull request. ;)

Thanks you so much :)

repo: PanXProject/awesome-certificates


text:
Create drawing tool - [3]

Only allowed within drawing area
Two modes: Click & drag pencil creation, with click "dot to dot" polygonal path creation. No fills (yet).
Likely press [enter]/[return]/[esc] or double click to finish path creation.
Pencil includes path simplification to efficient low node count splines

This is mostly done, though I've found:

Drawing to fill an object is incredibly tedious, even with click and place polygonal line creation. You may be able to create the art you want, but you won't enjoy it.
I've built it simply, but it seems more advanced tool selection can't quite be avoided because we don't have fill capability planned. Usually just click within an object's boundaries will select it, but if you need to doodle the inside of it to fill it, you can't have that by default select first.
Requirements for cursors have yet to be defined, so I've attempted some defaults that may work well enough

repo: PancakeBot/PancakeCreator


text:
[Capacitor Plugin Error] - createDynamicLink

I'm not getting the long link, using capacitor 4
[Capacitor Plugin Error] - CapacitorFirebaseDynamicLinks - createDynamicLink - Unable to serialize plugin response as JSON.Ensure that all data passed to success callback from module method is JSON serializable!
despite having the log from xcode
⚡  To Native ->  CapacitorFirebaseDynamicLinks createDynamicLink 65776433 The long URL is: {show the link here}
It works fine on android

Thank you for submitting the issue.
Can you share, what data you're passing to the plugin? You can change your specific IDs in strings, of course.

const config: LinkConfig = {       domainUriPrefix: 'https://example.page.link',       uri: 'https://example.page.link/sharing',    };
only passing domainUriPrefix and uri
@NLueg

Thanks for your fast response! I just published the version 4.0.2 which should solve the issue.
Could you check this in your app? Thanks!

@NLueg I confirm that it works now, Thank you.

authors: NLueg reubenwedson


text:
Notice樣式問題

請問關於Notice能夠更改其樣式嗎(例如:訊息文字顏色之類的),因為我看多載類型裡並沒有可以加載自製Theme的屬性,謝謝

参见2.x的文档
https://www.yuque.com/mochengvia/silver2.0/noticex

authors: Panuon louisshu


text:
I can not swipe fragment when i have called askForPermissions()

if i called the function askForPermissions() ,then the fragments would not be swiped. I must click the next button to swipe. why?is there any way to fix it?

I found that setSwipeLock(true); is called in askForPermissions(),but ,we must setSwipeLock？

This is by design -- will need to implement a custom ViewPager in order to support swiping + permissions.

authors: Hymanme avluis

repo: PaoloRotolo/AppIntro


text:
Manage sessions in Cloud Code

Hello,
I'm going to try to explain my problem the clearest possible way.
I'm using the jssdk 1.6.7.
In order to manage the sessions I use parse-express-cookie-session:
var parseExpressHttpsRedirect = require('parse-express-https-redirect');
var parseExpressCookieSession = require('parse-express-cookie-session');
app.use(parseExpressHttpsRedirect());
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(express.cookieParser('mykey'));
app.use(parseExpressCookieSession({
  fetchUser: true,
  cookie: { maxAge: 3600000 }
}));
app.post('/login', function(req, res) {
  Parse.User.logIn(req.body.username, req.body.password).then(function() {
    res.send(true);
  }, function(error) {
    res.send(error);
  });
});

When I do login from the website, the cookie gets created without any problem. When an user access to an url such as /prueba I retrieve the user with:
app.get('/prueba', function(req, res) {
  res.send(Parse.User.current());
});

The problem is when on Javascript I call the cloud method on the client-side, Parse.User.current() is always null and I can't get the currentUser. Any ideas?

Hi @franexposito, I am sorry but I still do not understand your problem clearly.

Which platform are you using the SDK, client, node? I assume it is node.
I check npm  parse-express-cookie-session, it is a third party library which has not been updated for a year. Not sure it still works well with our current SDK.
You mention you call cloud method on the client-side, but I do not see any description or codes about it. It seems the codes are all related to node server side. Maybe give us some details how you do that?

Hi @wangmengyan95
When I do for example (Client-side):
Parse.Cloud.run("getNumbersWords", {id: country, userc: cUser}, {
  success: function(count) {
    numberWords = count;
    changePalabra();
  },
  error: function(error) {
    console.log(error);
   }
});

My getNumbersWords is (Server-side):
Parse.Cloud.define('getNumbersWords', function (request, response) {
  console.error(request);
  var query = new Parse.Query("Pais");
  query.get(request.params.id).then( function(pais) {
    var queryP = new Parse.Query('Palabras');
    queryP.equalTo('idioma', pais.get('idioma').toLowerCase());
    return queryP.count();
  }).then( function(count) {
    response.success(count);
  }, function(error) {
    response.error({'resp': error.code, 'message': error.message});
  });
});

Parse.User.current(), request.user and request.params.sessionToken are null.

@franexposito it sounds like the issue is because you are not setting the current user on the client side (the user's browser). When communicating with your cloud code (the express server), you are using cookies to manager users. However, your JS SDK on the client side is not aware of this current user without you explicitly setting it. When you call a cloud job from your client, it does not run your express code, and does not get the current user from the cookie. It is depending on the client-side SDK to pass the credentials of the current user, but these are not sent because the client does not know about the current user.
I hope that made some sense. I'd recommend that when you render your web pages in express, you include a <script> tag that calls .become() with the current session token, so that your client SDK can also act as the current user.

Thanks @andrewimm, I found the solution:
Ok so after a lot of digging I have worked it out. First you need to do something like this in your client-side:
Parse.User.logIn(usern, pass, {
  success: function(user) {
    var sess = user.get("sessionToken");
    $.ajax({
      type: 'POST',
      dataType: "json",
      data: {sessionToken: sess},
      url: "/login",
      success: function(resp) {
        console.log(resp)
      },
      error: function(error) {
        console.log(error);
      }
    });
  },
  error: function(error) {
    console.log(error);
  }
});

In your server-side, your /login post must be this:
app.post('/login', function(req, res) {
  var sessionToken = req.body.sessionToken;

  Parse.User.become(sessionToken).then(function (user) {
    res.send(true);
  }, function (error) {
    console.log(error);
    res.send(false);
  });
});

Et voilà. The "become" method puts a cookie in the browser.

@franexposito I usually use Parse.User.become at client side to set user cookies

repo: ParsePlatform/Parse-SDK-JS


text:
Detect header sent status at middleware handler

These middleware were used in many places throughout the handler pipeline.  It is best to check the status of the header sent field on the express response object before running the run on send again.

[Current coverage][cc-pull] is 75.46% (diff: 100%)

Merging [#2395][cc-pull] into [master][cc-base-branch] will decrease coverage by 16.38%

@@             master      #2395   diff @@
==========================================
  Files            95         95
  Lines         10708      10714      +6
  Methods        1309       1309
  Messages          0          0
  Branches       1741       1743      +2
==========================================
- Hits           9835       8085   -1750
- Misses          873       2629   +1756
  Partials          0          0

Powered by Codecov. Last update [fa49f05...176a6d0][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ParsePlatform/parse-server/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ParsePlatform/parse-server/compare/fa49f05fddbeecfc81dfa4506272ae375875bbcd...176a6d04f963889452590d4f88d8e0f8276e09c8?src=pr
[cc-pull]: https://codecov.io/gh/ParsePlatform/parse-server/pull/2395?src=pr

I'm afraid that when we added the next it uncovered an issue related to the order of processing of each route handlers. Could you pin-point why those middlewares are not processed in the right order?

I only did what I could to address the symptom.
The symptom was allowCrossOrigin fired after the header was sent.
This occurred when I was testing my own email verify/password reset.  Whenever the page was served the middleware attempts to send CORS headers, which triggered the first "header already sent" error, gets captured by hadnlerParseError middleware, and triggered another "header already sent" error.

Uhm, that's odd. My worry is is that we don't solve the issue by removing the root cause, but just by letting the middleware skip.

This will be fixed by #2475

authors: codecov-io flovilmart jeffjen

repo: ParsePlatform/parse-server


text:
trying to fix broken link in GitHub

when viewing the readme on github, the link did not work
Description
Please include a summary of the change and (optionally) which issue is fixed. Please also include
relevant motivation and context.
Fixes # (issue)
Type of change
Choose which options apply, and delete the ones which do not apply.

Bug fix (non-breaking change that fixes an issue)
New feature (non-breaking change that adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Documentation update
Code maintentance/cleanup

@yadudoc - can you merge it too?

The base branch restricts merging to authorized users.  You’re not authorized to merge this pull request

repo: Parsl/parsl


text:
Tutorial On How to Make Custom Audio Without It Being Horribly Compressed.

Its pretty much what the title states. I thought that it would be as simple as converting an mp3 to and mid and be done with it but when I start the map it is horribly compressed with high pitch notes and glitchy audio. Is there like a video tutorial that I can watch or a forum post I can read with extreme detail? I was also wondering if there was another way to contact you guys.  Thanks in advance.

Currently we have a tutorial document someone in the community wrote:
https://docs.google.com/document/d/1Yn0PqKTswf3UQFEHV4AgX6j5VlrVLfp5Y1qj543Sgfk
The most active discussion place is the Discord for Mario Party Legacy, linked from https://mariopartylegacy.com/

Awesome thanks for the help. I really appreciate it.

license: unlicense


text:
Fix HTML output

Some error messages are OK, but some has raw HTML output, like:
unresolved-redirect:
The given entity ID refers to a redirect, which is not supported in this context. (Unresolved redirect to Q20068106)

resolved with 059b363d5dd72d8b330538afbe38415314ed01e5

authors: Pascalco edgarskos

repo: Pascalco/harvesttemplates


text:
🛑 Alexandra Bridge Replacement Project is down

In 791589d, Alexandra Bridge Replacement Project (https://ncc-ccn.gc.ca/projects/alexandra-bridge-replacement#) was down:

HTTP code: 403
Response time: 302 ms

Resolved: Alexandra Bridge Replacement Project is back up in 5c6c1be after 2 hours, 42 minutes.

repo: PatLittle/Consultations-Tracker


text:
DOC: Add Pull Request Template

What's wrong with the existing documentation
Without a proper pull request (PR) template, contributors sometimes submit PRs without providing adequate descriptions of the changes they have made. This lack of information makes it challenging for reviewers to understand the purpose and scope of the changes, verify them effectively, and ensure that the code meets the project's standards. Consequently, reviewers often need to spend extra time reviewing the entire codebase, which is inefficient and time-consuming.

A contributor raises a PR without using a PR template.
The PR lacks a clear description of the changes made.
Reviewers have to manually inspect all the code changes to understand their purpose.
The review process becomes lengthy and cumbersome.

Expected Behavior
When a PR template is used:

Contributors provide a clear and concise description of the changes made.
The template helps outline what areas of the code were modified and why.
Reviewers can quickly understand the context of the changes.
The review process becomes more efficient and less time-consuming.

Additional Information
Implementing a PR template can significantly improve the efficiency of the code review process. A well-defined template should prompt contributors to provide:

A summary of the changes made.
The reasons for the changes.
Any relevant issue numbers or references.
Instructions for testing the changes.
Any additional notes or context that might help the reviewers.

By using a PR template, we can ensure that all necessary information is provided upfront, allowing reviewers to focus on the quality and correctness of the code rather than spending excessive time deciphering what changes have been made and why. This will not only save time for reviewers but also improve the overall quality of the codebase.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Duplicate issue. Already raised #82

@PatilHarshh  , I'd like to work on this issue under GSSOC. Could you please add the necessary label and tag to the issue and assign it to me?

authors: officeneerajsaini suhanipaliwal

repo: PatilHarshh/Kaam-Do


text:
Backend-issue

Hi!
As suggested, I'm opening an issue here to get some help!
I want to set up a 'Login with Patreon' button but I can't get patreon-js to work on a F(irebase)EAN stack. Problem is I'm very new to backend stuff on a node server and I don't really know what I'm doing...
I'm using https://github.com/sahat/satellizer/ to manage this Auth.
Here's how I configured my provider :
$authProvider.oauth2({
name: 'patreon',
url: null,
clientId: 'myid',
redirectUri: 'http%3A%2F%2Flocalhost%3A9000%2Ffeatures',
authorizationEndpoint: 'https://www.patreon.com/oauth2/authorize',
defaultUrlParams: ['response_type', 'client_id', 'redirect_uri'],
requiredUrlParams: null,
optionalUrlParams: null,
scope: null,
scopePrefix: null,
scopeDelimiter: null,
state: null,
type: null,
popupOptions: null,
responseType: 'code',
responseParams: {
  code: 'code',
  clientId: 'clientId',
  redirectUri: 'redirectUri'
}
});

When I click my login button, a popup appears to authorize (or not) me to access the user's data. On allow, it redirects the user to my localhost and returns the response code.
Object {code: "randomStringHere", state: "None"}

It also triggers this request on my server :
GET /features?code=randomStringHere&state=None 200 4.193 ms - -

Server-side (code extracted from the exemple):
// Imports & server stuff above
    var CLIENT_ID = 'myId';
var CLIENT_SECRET = 'mySecret';
var redirect = 'http%3A%2F%2Flocalhost%3A9000%2Ffeatures';

var loginUrl = formatUrl({
    protocol: 'https',
    host: 'patreon.com',
    pathname: '/oauth2/authorize',
    query: {
        response_type: 'code',
        client_id: CLIENT_ID,
        redirect_uri: redirect,
        state: 'chill'
    }
});

app.get('/', function (req, res) {
    res.send('Login with Patreon');
});

app.get('/oauth/redirect', function (req, res) {
    var code = req.query.code;

    var _oauth = oauth(CLIENT_ID, CLIENT_SECRET);

    var getTokens = _oauth.getTokens;

    getTokens(code, redirect, function (err, _ref) {
        var access_token = _ref.access_token;

        if (err) {
            console.error(err);
            return res.send(err.message);
        }

        var client = patreon(access_token);

        client('/current_user', function (uerr, user) {
            if (uerr) return console.error(uerr);

            client('/current_user/campaigns', function (cerr, campaigns) {
                if (cerr) return console.error(cerr);

                res.send(oauthExampleTpl({ user: user, campaigns: campaigns }));
            });
        });
    });
});

function oauthExampleTpl(_ref2) {
    var user = _ref2.user;
    var campaigns = _ref2.campaigns;

    return '\n<!DOCTYPE html>\n\n    \n        <meta charset="utf-8">\n        <title>Oath Results</title>\n        \n        \n    \n    \n
\n
Oauth Example
\n
/current_user
\n
' + jsonMarkup(user) + '
\n
/current_user/campaigns
\n
' + jsonMarkup(campaigns) + '
\n
\n    \n';
}

As I said, I'm very new to this, so how can you help me?
Thanks in advance!

Which step is failing?

repo: Patreon/patreon-js


text:
API Resources Documentation Error

An error in the API Resources section of the documentation
https://www.npmjs.com/package/patreon#api-resources
const { patreon, jsonApiURL } = require('patreon')
const pledge_schema = require('patreon/schemas/pledge')

const patreonAPIClient = patreon(access_token)
const url = jsonApiURL(`/current_user`, {
  fields: {
    pledge: [...pledge_schema.default_attributes, pledge_schema.attributes.total_historical_amount_cents]
  }
})
patreonAPIClient(url, callback)

On the second line, it should be
const pledge_schema = require('patreon/dist/schemas/pledge')

Also just ran into this

authors: Vilksian thooria toppsdown


text:
Resolves #17. Adds logic based on the location of the cursor to displ…

…ay the target symbol when close to the corner and a pan symbol anywhere else on the calibration grid. Should make it easier to detect hotspots

How can I see why a Vercel deployment failed? Do I need to have permission? If I click on the details, it gives me a 404.

Sorry, I’m not sure how to give permissions for seeing build errors. I’ll look into that.  It only runs yarn build so you can at least test that locally!

@courtneypattison that's good enough for me! You don't need to bother with Vercel permissions

Okie doke! When do you think I should be merging into main/deploying (since they are linked right now)? Should I do it as soon as a branch is ready, like this one? Or should I try to batch them?

🤷♀ I'm not sure, to be honest. What makes the most sense to you?

I have a branch for feature-15, but I have not opened a PR yet because I actually branched 15 from 17 (easier to test with hover cursor). I know you asked earlier about how to merge things. Would you rather I PR things against the new look branch? Or an hluedeke branch? This one's up to you, however you'd like to organize it!

Hmm, I think I'll merge into main whenever it looks like nobody is online. Also, I think a hluedeke branch makes sense. The garbage files are from next-pwa. I add them to the .gitignore in the intl branch, but that's not merged yet!

authors: courtneypattison hluedeke

repo: Pattern-Projector/pattern-projector


text:
Add pipe and Lukkit to APIs

I added my pipe API and Lukkit (https://github.com/lukkit/Lukkit) to the API file^^

Thank you for your contribution!


text:
🛑 PbtCodigo (Paste) is down

In c1f1388, PbtCodigo (Paste) (https://codigo.pbtservers.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PbtCodigo (Paste) is back up in a9572be after 9 minutes.

repo: PbtServers/PbtServers-Estado


text:
Fix ios behaviour (2)

An alternative to #65.
@andreialecu, I didn't test it (I can't), but what you think?
Instead of using setTimeout, I handled everything on the UI, can you run the preview to see if it has the same behavior as your initial fix, please?
Also, having isGliding.value=true before isScrolling.value=false ensures we sync tabs after the snap, because of here.
Close #59

@PedroBern I think this is cleaner than #65. It seems to work at my end.

@PedroBern I think this is cleaner than #65. It seems to work at my end.

I'm away for a bit so I can't test it right now. Seems you only rewrote the setTimeout part?

I'm away for a bit so I can't test it right now. Seems you only rewrote the setTimeout part?

If @alexpchin confirms it works, feel free to merge this one instead of mine. We can revisit later if more fixes are needed.

If @alexpchin confirms it works, feel free to merge this one instead of mine. We can revisit later if more fixes are needed.

@andreialecu Your changes have been incorporated too 👍  This PR is on top of the changes you made but re-writes the setTimeout and a couple of tidies.

@andreialecu Your changes have been incorporated too 👍  This PR is on top of the changes you made but re-writes the setTimeout and a couple of tidies.

rebased, just waiting for the preview for the record and will merge 🎉

rebased, just waiting for the preview for the record and will merge 🎉

authors: PedroBern alexpchin andreialecu


text:
Question: How to use Datetime for Axis

I want to make a graph that shows a cumulative count over time.
The closet thing I could figure out is a cumulative count over the days since the first datetime. But that is not really suitable.
#let data = csv("data/cypress-release.csv").slice(1)
#let dates = data.map(row => str_to_datetime(row.at(0).trim("Z"))).rev()
#let first_date = dates.at(0)
#let day_differences = dates.map(date => int(datetime_day_difference(first_date, date)))
#let x_axis = axis(min: 0, max: day_differences.last(), step: 250, location: "bottom", title: "Days since first release")
#let y_axis = axis(min:0, max: day_differences.len(), step: 10, location: "left", title: "Cumulative release count")
#let enum = day_differences.enumerate()
#let enumT = enum.map(row => (row.at(1), row.at(0)))
#let pl = plot(data: enumT, axes: (x_axis, y_axis))
#graph_plot(pl, (100%, 25%))
// this could probably also be a lot cleaner

I know about the value field on the axis, but I don't know how I could get the spacing correct with this.
Is this possible with the current version of this?

Sadly this currently isn't possible because values are exactly what gets drawn - to allow for not showing every values on an axis, we'd need to change how it gets drawn.
This will become a feature on the next release.

Okay, that makes sense. I'll probably pivot to something else right now, or is there some more or less concrete plan for the release?

Of course :)
Thanks for the great lib

repo: Pegacraft/typst-plotting


text:
Backreferences in defining colums

First, thank you so much for your work. It is great!
I'm trying to manage a table having m:m relationship mapped with a backref. Something similar to the Parent:Child scheme as described in the sqlalchemy tutorial (http://docs.sqlalchemy.org/en/latest/orm/basic_relationships.html#many-to-many).
By defining the columns for the Parent class, for instance, if I use the backreference Parent.children this message appears: " DataTables warning: table id=maindata - Neither 'InstrumentedAttribute' object nor 'Comparator' object associated with Parent.children has an attribute 'cast' ".
In sum, this code does not work as I expect (but I'm a newbie):
columns = [
...
ColumnDT(Parent.id, search_method='yadcf_range_number_slider'),
ColumnDT(Parent.children, search_method='yadcf_text'),
...
]

Is there any workaround to solve such a case?

Can you also post your query? It should be something like this
query().select_from(Parent).join(Child)

Then you can add columns like so:
columns = [
...
ColumnDT(Parent.id, search_method='yadcf_range_number_slider'),
ColumnDT(Child.name, search_method='yadcf_text'),
...
]

Of course this will result in a table row for each combination of Parent<->Child you have. If you want to have one row for every Parent, then you have to aggregate the Children into one string, e.g. a comma separated list. You should be able to do that with string_agg or something, not 100% sure.
query().select_from(Parent).outerjoin(Child).group_by(Parent.id)

And a column like:
ColumnDT(func.string_agg(Child.name, ','), search_method='yadcf_text')

dear tdamsma thank you very much for your quick answer.
Well, following your suggestion, the main query now is:
query = db.session.query().select_from(Parent).outerjoin(Child, Parent.children)

and the columns:
columns = [
...
ColumnDT(Parent.id, search_method='yadcf_range_number_slider'),
ColumnDT(Child.name, search_method='yadcf_text'),
...
]

In this case everything works well
However, as you pointed out, this gives a table with each possible combination of the relationship Parent<->Child, whereas I need a row for every Parent and an array of children grouped together. But if the main query becomes:
query = db.session.query().select_from(Parent).outerjoin(Child, Parent.children).group_by(Parent.id)

with the relevant column:
ColumnDT(func.string_agg(Child.name, ', '), search_method='yadcf_text')

This error message appears:
DataTables warning: table id=maindata - Multiple rows were found for one()

As far as I can understand, something happens when the group_by clause is added to the query.
On the other hand I checked the query in my database as well as in python shell and it is correct. It gives back the exactly the number of rows I would expect.
p.s. In one of my tries I forgot to append .group_by(Parent.id) to the query. I that case the error message was:
DataTables warning: table id=maindata - (psycopg2.ProgrammingError) aggregate functions are not allowed in WHERE

I don't know if this is relevant here or is a different error.

@pankus, glad to help. Forgot about that, but indeed aggregate functions are not allowed in WHERE, so you can not search for the child column now. I guess you do want to be able to do this, in which case you can use a CTE / WITH clause to achieve this.
Luckily, using SQLAlchemy this is not too difficult. From the top of my head (so might contain some mistakes):
parent_with_children = dbsession.query(
    Parent.id,
    func.string_agg(Child.name, ', ').label('children')
).\
    outerjoin(Child).\
    group_by(Parent.id).\
    cte()

query = db.session.query().select_from(parent_with_children )

columns = [
ColumnDT(parent_with_children .c.id, search_method='yadcf_range_number_slider'),
ColumnDT(parent_with_children .c.children, search_method='yadcf_text'),
]

Note that if your data set is large, this might be a bit slow, as I believe the join between parent and children is always run over the entire parent and children table. The result of this join is put in a CTE, which is then filtered and paginated. Also, this CTE is not indexed.
To overcome this, you could define a separate Materialized view for the parent_with_children table, which you could index/limit/filter as any other table, with no performance impact. Of course, you then need to put in triggers or other logic to keep the Materialized view up to date.
Another alternative would be to partially denormalize you schema, by storing the children in the parent in e.g. a JSONB column. Of course this other implications

Congratulations @tdamsma. I'm really impressed by your knowledge of this subject. I'm new to sqlalchemy and above all I'm not a real programmer, thus all this appears to me really as a true alchemy.
My application now works like a charm. As a minor drawback, I noticed just a little delay in the responses; however this is not a real problem, especially if one takes into consideration the many advantages of using db relationships in such a way. Thanks a lot.
Just the last question (only to learn something more). What about the error message
DataTables warning: table id=maindata - Multiple rows were found for one()
Did you understand what does it means? Does it depend on .group_by() clause?

In the function _set_yadcf_data min/max values are determined for the 'yadcf_range_number_slider' columns. Selecting the min/max of a query with a group_by clause returns more than one row. Am not entirely sure if using Group_by is actually a good idea and should be supoorted (in which case thsi is a bug), or if it is better to disallow use of group_by in the query altogether.

authors: pankus tdamsma


text:
Use machine learning to categorize decks

We could maybe use scryfall tags/keywords in card text to reduce dimensionality rather than using card name (which is close to 20,000 dimensions and may not yield useful results).
https://api.scryfall.com/private/tags/oracle?pretty=true

Replaced by #11583

repo: PennyDreadfulMTG/Penny-Dreadful-Tools


text:
Bug page doesn't include name in description in some places where it should

Example: "'s cost reduction doesn't consider split cards that are discarded" would be better with the name repeated at the beginning of the description (Hollow One).

This is coming from whatever generates bugs.tsv as it has the same behavior. Names in the middle of text are preserved. I've asked @silasary how bugs.tsv is generated.


text:
500 error at /authenticate/callback/

'id'

Reported on decksite by logged_out
Request Method: GET
Path: /authenticate/callback/?state=q5A3yUxFFW96IbRfIypGij0fnHrsGs&code=GyBO9XODIfLPBzOOgVVdaT3ETDWUsD
Cookies: {'__cfduid': 'dda1bfbdcf8889e507c5dfd2310f25fbc1516460894', 'session': 'eyJvYXV0aDJfc3RhdGUiOiJxNUEzeVV4RkZXOTZJYlJmSXlwR2lqMGZuSHJzR3MiLCJ0YXJnZXQiOiJodHRwczovL3Blbm55ZHJlYWRmdWxtYWdpYy5jb20vbGluay8ifQ.DiaHow.oGO_Lp_6AbCjclmEblA4QmzsG_A'}
Endpoint: authenticate_callback
View Args: {}
Person: logged_out
Referrer: https://discordapp.com/oauth2/authorize?response_type=code&client_id=338056190779195392&redirect_uri=https%3A%2F%2Fpennydreadfulmagic.com%2Fauthenticate%2Fcallback%2F&scope=identify+guilds&state=q5A3yUxFFW96IbRfIypGij0fnHrsGs
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 216.45.80.211, 172.69.69.120
Cf-Ray: 4384fa5279e1581f-DFW
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Upgrade-Insecure-Requests: 1
Dnt: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
Referer: https://discordapp.com/oauth2/authorize?response_type=code&client_id=338056190779195392&redirect_uri=https%3A%2F%2Fpennydreadfulmagic.com%2Fauthenticate%2Fcallback%2F&scope=identify+guilds&state=q5A3yUxFFW96IbRfIypGij0fnHrsGs
Accept-Language: en-US,en;q=0.9
Cookie: __cfduid=dda1bfbdcf8889e507c5dfd2310f25fbc1516460894; session=eyJvYXV0aDJfc3RhdGUiOiJxNUEzeVV4RkZXOTZJYlJmSXlwR2lqMGZuSHJzR3MiLCJ0YXJnZXQiOiJodHRwczovL3Blbm55ZHJlYWRmdWxtYWdpYy5jb20vbGluay8ifQ.DiaHow.oGO_Lp_6AbCjclmEblA4QmzsG_A
Cf-Connecting-Ip: 216.45.80.211
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive--------------------------------------------------------------------------------
KeyError
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./shared_web/flask_app.py", line 98, in authenticate_callback
oauth.setup_session(request.url)
File "./shared_web/oauth.py", line 30, in setup_session
session['id'] = user['id']

Um.

authors: bakert silasary


text:
Fix for H reduction in Python layer

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[x] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context: A recent update to support batching with qml.expval(H) failed to preserve the correct observable for specific decomposed ops (mixtures of native and decomposed). Here we add support to ensure reduction is performed on the required decomposed operations at the Python level, and preserves the existing compatible with `parameter-shift.
Description of the Change: As above.
Benefits: Fixes inconsistent GPU batching results for decomposed Hamiltonians.
Possible Drawbacks:
Related GitHub Issues:

Thanks @mlxd ! Nice work and will approve after all checks pass.

authors: mlxd multiphaseCFD

repo: PennyLaneAI/pennylane-lightning-gpu


text:
Diagonalize gates

Context: We didn't have split_non_commuting before, which meant observables with commuting measurements would return incorrect answers
Changes:
Thesplit_non_commuting transform has been added and will run when given non-commuting measurements. Observables like Prod or Sum are now supported as well since these transforms are now working. We also add a lot of tests for both the Sampler and the Estimator.
Notes:
There is a small bug with the formatting from the output for the transform, but it is not due to the behaviour of the plugin. There is a bug on Qiskit's end with their Estimator and their way of calculating the variance that we cannot work around.

[sc-54392]

[sc-62047]

repo: PennyLaneAI/pennylane-qiskit