text:
Add gradient pt parameterization from Zhang+23

Hi Tomas! This is my attempt to add the dlnP/dlnT and associated default number of nodes/priors on those nodes as detailed in ZJ Zhang's paper. I tested it briefly and it ran okay, but there's still room for some improvement (for instance, ZJ mentions that 6 layers is an arbitrary definition, and more or less could be retrieved).
Let me know what you think - I'm not sure if I missed anything that would make this break e.g. the plots...

Fantastic! Thanks a lot William 🙏!
Did you make any changes to the dTdP_temperature_profile function from pRT? If not, then I would suggest to import it from pRT directly since that package is anyway used.
However, instead of importing at the top of the file, please import it in the function where it is used, because importing pRT is, just like species, quite slow. So I only imported function from pRT when they are actually used.
When the function that contains the import is ran a second (or more) time then it will be fast though (from what I could tell) because it is already part of sys.modules.

Hi Tomas! I understand. I initially copied the function over intending to make some changes, and also because I was worried that the pRT version 3 release might break the imports, but I think the function is fine as it is right now (and we'll probably have to overhaul the imports anyways when pRT v3 comes out). This latest commit includes what I think is a safe import of the function where it is called in the create_pt_profile function.
I also made the multinest arguments const_efficiency_mode, sampling_efficiency, and evidence_tolerance, optional arguments in run_multinest as opposed to hard coded. Is this okay?

A few more suggestions:

The new parameters can be given a label (used for the posterior plot) in the update_labels function of util.plot_util
The parameters can also be added to the list of pt_param in plot_posterior (lin 322) so they are skipped with inc_pt_param=False
We could also update plot_pt_profile, but that is probably more work, so fine to leave it out if you don't have time for that!

Done! I've updated update_labels, pt_param in plot_posterior, and added the raise where applicable. I added the parameters to plot_pt_profile in an earlier commit and can confirm it will produce a plot; were there more changes to that function you were thinking of? I am happy to try to implement them :)

I should probably have merged your PR before making changes to the structure of AtmosphericRetrieval... I can resolve this merge conflict.

I have merged the main branch into the PR.
@wbalmer, would you mind checking the Files changed once more to see if I didn't accidentally introduce a error somewhere?

I commented out the multinest_kwargs for now, because for the new structure we can pass the parameters perhaps directly. Something that we can decide later. Sorry for the extra work you did...

Excellent, thanks a lot for the implementation! I will merge the PR 👍

authors: tomasstolker wbalmer

repo: tomasstolker/species


text:
Add intent schema and slot type data to news skill settings screen

See #3. @tomharrigan, you mentioned at one point wanting to improve the available objects in the plugin, so I haven't yet tried to abstract concepts like slot types without further guidance about the structure you envision.

🐹

source: gharchive/pull-request

repo: tomharrigan/AlexaWP

license: MIT

license_type: permissive

license_source: github-api


text:
Add timestamps

Hey, great app! could you add date and time stamps to conversations please?

They're shown if you hover message bubbles.

source: gharchive/issue

repo: tomlandia/fuckr

license_source: bigquery


text:
Improvements on Filtering

Created personalized filters for each of the fields in the profile.
Added the capability of filtering by 3 different criteria;
Added a new filter helper in the local storage;
Changed the profile layout, enlarged the table, allowing the insertion
of all elements present in the profile.

:+1:

One thing, though.  You don't need to (and shouldn't!) hardcode the id=>text mapping for relationship status/tribes/etc.  All of that is delivered by the server via the managedFields call (https://github.com/tomlandia/fuckr/blob/master/unofficial-grindr-api-documentation.md#managed-fields).  If Grindr changes the mappings, it'll make things get weird quick for users :).

I tried to used the automatic fields with a plugin, but had no success, I can improve this in future releases, as this is kinda temporary. Moreover, while debbugging I found that grindr sometimes return values out of the range that is handled (idk the reason) so i think it would be nice to have a manual filter.

I wanted to rn this one as it has the updated features and hasn't been merged, but I can't seem to get it to work. Running nw . only produces an nw.exe with the black background / menu buttons but nothing is functional. Any ideas how to fix this?

Sorry to close but:

I can't merge changes in fuckr.js as I'd have to get rid of CoffeeScript and the file structure to keep them (there are already merge conflicts).
Most profiles don't have these frivolous attributes. I'm still reluctant to add these filters to Fuckr.

Most profiles don't utilize these attributes?  You couldn't possibly be serious? Grindr would be next to unusable for many people (like this woman of trans experience) if it weren't for the ability to filter profiles by tribes etc. That's why I use a vm on my laptop rather than this and I would much rather support you and other LGBT devs writing cool things like this client.

Sorry didn't know. It's in v 1.6.0 (filtering only, not displayed on profiles).

authors: genevera lucianRf tomlandia victorgrego


text:
UE4.25 open version 4.25 loading stop at 39%

UE4.25 open version 4.25 loading stop at 39%

Probably its compiling shaders

repo: tomlooman/EpicSurvivalGameSeries


text:
Battery and next alarm not displaying

Despite making both battery and next alarm visible these 2 data do not show on the widget

Glance info will show up only when there are no events displayed and only when a few conditions are verified.

Glance info will show up only when there are no events displayed and only when a few conditions are verified.

repo: tommasoberlose/another-widget


text:
Custom ids

You can now set custom CSS ids for admonishment blocks with the id field.
You can now customize the default CSS id prefix (default is "admonition-").

Feel free to nitpick everything (doc wording etc)

Hi - just commenting briefly to say thanks for the contribution! I'm mid review, got interrupted by some Life, but hope to pick up in the next week. On board with the idea though 👍

strange that you cant edit my branch as i have "allow edits by maintainers" enabled but :shrug:
resolved merge conflicts with upstream/main, accepted all your changed, and added my final nitpicks
im done unless you have anything else otherwise its good to go

repo: tommilligan/mdbook-admonish


text:
ライセンスの追加を検討してください

壊れた言語を許してください。私は変換を支援するためにGoogle翻訳を使用しています。
他の人がサンプルMarpテーマを利用できるように、リポジトリにライセンスを追加することを検討してほしいと思っていました。ありがとうございました！

Thanks, I have just added the LICENSE file to this repository. ライセンスファイルを追加しました。

repo: tomo-makes/marp-styles


text:
CamelCase to snake_case

fixes #488

Coverage remained the same at 27.918% when pulling 8dd42c8fe6504abf9278c950a05b88685f064fed on predragnikolic:fix/document_changes into 5a472ba6f23d70f6f8f1ebaabb83015c066ce198 on tomv564:master.

Merry Christmas Raoul :)

authors: coveralls predragnikolic

license: mit


text:
stuck at cloudformation

First of all, thanks for the ufo. It makes dealing with fargate a lot easier.
I have tried to deploy my own project to fargate using ufo. However, it got stuck on AWS::ECS::Service Ecs Resource creation Initiated of building the stack using cloudformation. So I thought maybe I am doing something wrong. However, I faced the same issue by following the quick start example (http://ufoships.com/quick-start):
(both cases using ufo v4.1.7)
Building Task Definitions...
Generating Task Definitions:
  .ufo/output/demo-web.json
  .ufo/output/demo-worker.json
  .ufo/output/demo-clock.json
Task Definitions built in .ufo/output
Equivalent aws cli command:
  aws ecs register-task-definition --cli-input-json file://.ufo/output/demo-web.json
demo-web task definition registered.
Deploying demo-web...
Ensuring log group for demo-web task definition exists
Log group name: ecs/demo-web
development cluster created.
Creating stack development-demo-web...
Generated template saved at: /tmp/ufo/development-demo-web/stack.yml
Generated parameters saved at: /tmp/ufo/development-demo-web/parameters.yml
08:38:34PM CREATE_IN_PROGRESS AWS::CloudFormation::Stack development-demo-web User Initiated
08:38:38PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroup EcsSecurityGroup
08:38:38PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ElbSecurityGroup
08:38:38PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::TargetGroup TargetGroup
08:38:38PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::TargetGroup TargetGroup Resource creation Initiated
08:38:39PM CREATE_COMPLETE AWS::ElasticLoadBalancingV2::TargetGroup TargetGroup
08:38:42PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroup EcsSecurityGroup Resource creation Initiated
08:38:42PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ElbSecurityGroup Resource creation Initiated
08:38:44PM CREATE_COMPLETE AWS::EC2::SecurityGroup EcsSecurityGroup
08:38:44PM CREATE_COMPLETE AWS::EC2::SecurityGroup ElbSecurityGroup
08:38:46PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::LoadBalancer Elb
08:38:47PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroupIngress EcsSecurityGroupRule
08:38:47PM CREATE_IN_PROGRESS AWS::EC2::SecurityGroupIngress EcsSecurityGroupRule Resource creation Initiated
08:38:47PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::LoadBalancer Elb Resource creation Initiated
08:38:48PM CREATE_COMPLETE AWS::EC2::SecurityGroupIngress EcsSecurityGroupRule
08:40:48PM CREATE_COMPLETE AWS::ElasticLoadBalancingV2::LoadBalancer Elb
08:40:51PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::Listener Listener
08:40:51PM CREATE_IN_PROGRESS AWS::ElasticLoadBalancingV2::Listener Listener Resource creation Initiated
08:40:51PM CREATE_COMPLETE AWS::ElasticLoadBalancingV2::Listener Listener
08:40:54PM CREATE_IN_PROGRESS AWS::ECS::Service Ecs
08:40:54PM CREATE_IN_PROGRESS AWS::ECS::Service Ecs Resource creation Initiated

It never goes farther than the last line ^.
I thought maybe the generated stack.yml in /tmp can help to pinpoint the issue:
Description: "Ufo ECS stack demo-web"
Parameters:
  # required
  Vpc:
    Description: Existing vpc id
    Type: AWS::EC2::VPC::Id
  ElbSubnets:
    Description: Existing subnet ids for ELB
    Type: List<AWS::EC2::Subnet::Id>
  EcsSubnets:
    Description: Existing subnet ids for ECS
    Type: List<AWS::EC2::Subnet::Id>
  EcsSecurityGroups:
    Description: Existing ecs security group ids
    Type: String
    Default: ''
  ElbSecurityGroups:
    Description: Existing elb security group ids. List with commas.
    Type: String
    Default: ''

  ElbTargetGroup:
    Description: Existing target group
    Type: String
    Default: '' # when blank the automatically created TargetGroup is used
  CreateElb:
    Description: Create elb
    Type: String
    Default: true
  EcsDesiredCount:
    Description: Ecs desired count
    Type: String
    Default: 1
  EcsTaskDefinition:
    Description: Ecs task definition arn
    Type: String

  # Using to keep state
  ElbEipIds:
    Description: ELB EIP Allocation ids to use for network load balancer
    Type: String
    Default: ''
  EcsSchedulingStrategy:
    Description: The scheduling strategy to use for the service
    Type: String
    Default: 'REPLICA'
Conditions:
  CreateElbIsTrue: !Equals [ !Ref CreateElb, true ]
  ElbTargetGroupIsBlank: !Equals [ !Ref ElbTargetGroup, '' ]
  CreateTargetGroupIsTrue: !And
  - !Condition CreateElbIsTrue
  - !Condition ElbTargetGroupIsBlank
  ElbSecurityGroupsIsBlank: !Equals [ !Ref ElbSecurityGroups, '' ]
  EcsSecurityGroupsIsBlank: !Equals [ !Ref EcsSecurityGroups, '' ]
  EcsDesiredCountIsBlank: !Equals [ !Ref EcsDesiredCount, '' ]
Resources:
  Elb:
    Type: AWS::ElasticLoadBalancingV2::LoadBalancer
    Condition: CreateElbIsTrue
    Properties:
      Type: application
      Tags:
      - Key: Name
        Value: demo-web
      # Add additional extra security groups if parameters set
      SecurityGroups: !Split
        - ','
        - !If
          - ElbSecurityGroupsIsBlank
          - !Ref ElbSecurityGroup
          - !Join [',', [!Ref ElbSecurityGroups, !Ref ElbSecurityGroup]]
      Subnets: !Ref ElbSubnets
      Scheme: internet-facing

  TargetGroup:
    Type: AWS::ElasticLoadBalancingV2::TargetGroup
    Condition: CreateTargetGroupIsTrue
    Properties:
      VpcId: !Ref Vpc
      Tags:
      - Key: Name
        Value: demo-web
      Protocol: HTTP
      Port: 80
      TargetGroupAttributes:
      - Key: deregistration_delay.timeout_seconds
        Value: 10

  Listener:
    Type: AWS::ElasticLoadBalancingV2::Listener
    Condition: CreateElbIsTrue
    Properties:
      DefaultActions:
      - Type: forward
        TargetGroupArn:
          !If [ElbTargetGroupIsBlank, !Ref TargetGroup, !Ref ElbTargetGroup]
      LoadBalancerArn: !Ref Elb
      Protocol: HTTP
      Port: 80

  ElbSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Condition: CreateElbIsTrue
    Properties:
      GroupDescription: Allow http to client host
      VpcId: !Ref Vpc
      SecurityGroupIngress:
      - IpProtocol: tcp
        FromPort: '80'
        ToPort: '80'
        CidrIp: 0.0.0.0/0
      SecurityGroupEgress:
      - IpProtocol: tcp
        FromPort: '0'
        ToPort: '65535'
        CidrIp: 0.0.0.0/0
      Tags:
      - Key: Name
        Value: demo-web-elb

  Ecs:
    Type: AWS::ECS::Service
    DependsOn: Listener
    Properties:
      Cluster: development
      DesiredCount: !If
      - EcsDesiredCountIsBlank
      - !Ref AWS::NoValue
      - !Ref EcsDesiredCount
      TaskDefinition: !Ref EcsTaskDefinition
      # Default to port 80 to get template to validate.  For worker processes
      # there is no actual port used.
      LoadBalancers: !If
      - CreateTargetGroupIsTrue
      - - ContainerName: web
          ContainerPort: 4567
          TargetGroupArn: !Ref TargetGroup
      - !If
        - ElbTargetGroupIsBlank
        - []
        - - ContainerName: web
            ContainerPort: 4567
            TargetGroupArn: !Ref ElbTargetGroup
      SchedulingStrategy: !Ref EcsSchedulingStrategy

  EcsSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupDescription: Allow http to client host
      VpcId: !Ref Vpc
      # Outbound access: instance needs access to internet to pull down image
      # or else get CannotPullContainerError
      SecurityGroupEgress:
      - IpProtocol: tcp
        FromPort: '0'
        ToPort: '65535'
        CidrIp: 0.0.0.0/0
        Description: outbound traffic
      Tags:
      - Key: Name
        Value: demo-web

  # Allow all traffic from ELB SG to ECS SG
  EcsSecurityGroupRule:
    Type: AWS::EC2::SecurityGroupIngress
    Condition: CreateElbIsTrue
    Properties:
      IpProtocol: tcp
      FromPort: '0'
      ToPort: '65535'
      SourceSecurityGroupId: !GetAtt ElbSecurityGroup.GroupId
      GroupId: !GetAtt EcsSecurityGroup.GroupId
      Description: application elb access to ecs

Outputs:
  ElbDns:
    Description: Elb Dns
    Condition: CreateElbIsTrue
    Value: !GetAtt Elb.DNSName

Not sure if it's relevant but I'm trying this on eu-west-1 (Ireland) region.

Can you share the events on the ECS service tab ? It's probably having issues trying to provision the tasks, so Cloudformation keeps trying until timeout.

@marcossantiago Thanks so much for helping! 😁
@everplays  Dug into this. Thanks so much for all the info and providing the generated CloudFormation template. Believe the reason that CloudFormation is stuck on pending is because there are no EC2 servers to provision the ECS tasks onto.  Ufo with ECS EC2 assumes that you have set up an ECS cluster already. Without a fleet of EC2 servers ECS cannot place the ECS task and finish creating the ECS service.
Could tell this by comparing your generated CloudFormation template with the one that should be generated when your using ufo with ECS Fargate instead of ECS EC2.  Here's the diff:
$ colordiff yours.yml fargate.yml
84a85
>       TargetType: ip
135a137,147
>       LaunchType: FARGATE
>       NetworkConfiguration:
>         AwsvpcConfiguration:
>           Subnets: !Ref EcsSubnets # required
>           SecurityGroups: !Split
>             - ','
>             - !If
>               - EcsSecurityGroupsIsBlank
>               - !Ref EcsSecurityGroup
>               - !Join [',', [!Ref EcsSecurityGroups, !Ref EcsSecurityGroup]]
>           AssignPublicIp: ENABLED # Works with fargate but doesnt seem to work with non-fargate
$

Tested
Just ran through the Fargate guide, which contains a slightly different set of commands. Namely:
ufo init --image tongueroo/demo-ufo --launch-type fargate --execution-role-arn arn:aws:iam::112233445566:role/ecsTaskExecutionRole

Remember to replace 112233445566 with your actual account id and to create the ecsTaskExecutionRole. This is documented in the Fargate guide, so refer to it for details 👍  There's also a video demo.
Tested things both in us-west-2 (Oregon) and eu-west-1 (Ireland) this morning and ECS Fargate works in both.
Screenshots from eu-west-1
ECS Tasks dashboard:

CloudFormation Events:

Docs Update
Also updated the Quick Start docs to hopefully make things clearer.  There's a "ECS EC2 vs ECS Fargate" section now.

@marcossantiago thanks for the help. Indeed, the issue was what @tongueroo explained in detail. I managed to get the demo running with the mentioned changes.
Thank you both.

I seem to be having this issue as well but I am using the Fargate deployment model in my init command

authors: aaronlippold everplays marcossantiago tongueroo

repo: tongueroo/ufo


text:
issue fix #349, #375, and #386

Random ball spawn functionality added. Issue #349

https://user-images.githubusercontent.com/126502226/227997467-be4685d7-25a9-4782-b4a7-7d5e357fd5bf.mov

Fixed bug #375 . Command was added to vscode extension context

https://user-images.githubusercontent.com/126502226/227998431-e096580e-1b64-44ed-9b40-8a40ab8ed5f0.mov

BUG FIX #386 was also solved on this branch, but I will use other branches to solve issues from here.
#386 was solved by adding an ID field to the pets classes, and using that number for all delete functions instead of "name". Please let me know if any other changes should be added.

I have consolidated these commits, please let me know if there are any issues :)

repo: tonybaloney/vscode-pets


text:
Where can I donate?

Do you have a Paypal? Patreon? Some sort of avenue for donating?
All other drag and drop solutions were too costly but this one works and is free.
Where can I donate for the work you put into it?

I'm glad you find this project useful.  I, too, found the commercial add-ins way too expensive for this basic functionality, especially if you want to deploy it across all the computers in an entire organization.
I added a donate button on the main page/readme file.  Thanks!

authors: adjenks tonyfederer

repo: tonyfederer/OutlookFileDrag


text:
Method Count for FETCH?

Can someone tell me the methodCount for this library?
Thanks

if you mean download count, you can use mFetchInstance.get().size();

Thanks

authors: CeJienAJPC DevOfLife

repo: tonyofrancis/Fetch


text:
Fix for Safari

Fix for the issue Safari had with the ‘…’, which prevented the plugin from working properly.

@blargity - You can ignore this pull request, did it on the wrong branch. I'll resubmit.

repo: toolkit-for-ynab/toolkit-for-ynab


text:
Adapt hardening to AM62 (scarthgap)

See commit messages for details.
Note: the implementation was tested on an "open" device only.

@lucas-akira tagging you to keep you informed...

Think the table here: https://github.com/toradex/meta-toradex-security/blob/kirkstone-6.x.y/docs/README-secure-boot.md?plain=1#L68
Needs to also be updated to reflect the TI specific TDX_K3_HSSE_ENABLE option.

Moved to draft to fix an issue I didn't notice before.

Think the table here: https://github.com/toradex/meta-toradex-security/blob/kirkstone-6.x.y/docs/README-secure-boot.md?plain=1#L68
Needs to also be updated to reflect the TI specific TDX_K3_HSSE_ENABLE variable. To clarify the table should at last mention the interaction with the TI variable as well.

Good point. I'll do that.

repo: toradex/meta-toradex-security


text:
[FEATURE] pass attrs to stateToComputed

Summary
This adds a second argument to stateToComputed that contains an object with the attrs that were passed to a component.
E.g.:
{{my-component userId=userId}}

stateToComputed = (state, attrs) => {
  return { user: getUserById(state, attrs.userId) };
}

This is analogous to the same API in react-redux.
Details
As suggested by @wooandoo in #54, rather than pass this.attrs and leave it at that, a new object is computed that alleviates the need to crawl through the intermediary attr.  This object is cached for performance and only updated if the inbound attrs change as signaled by didUpdateAttrs.  More details can be found in the included docstring for computeAndCacheAttrs().
Also
react-redux does the same thing for mapDispatchToProps, however this is not so easy in Ember.  It seems that after actions are defined, they cannot be easily redefined—therefore the action would not update if the attrs changed, as the user would expect.  This PR leaves dispatchToActions alone until this can be investigated further.
Alternative
Rather than putting together an attrs object, we could just pass the entire component itself, e.g.:
// connect.js
...
let props = stateToComputed(redux.getState(), this);

{{my-component userId=userId}}

stateToComputed = (state, component) => {
  return { user: getUserById(state, component.get('userId')) };
}

This would provide a lot more flexibility and simplify the internal implementation, however it would be a little out of step with react-redux, and opens the door for possible misuse.
/cc @toranb

Updated summary with alternative section

lol I was just looking up how to get component attributes from into stateToCompute and, imo as a humble end-user, this is definitely something that we totally need, so 👍
Although, I would also suggest yet another alternative where ember-redux just ships both the attrs version as well the this version; i.e.:
ember-redux/addons/connect.js
let props = stateToComputed(redux.getState(), this._cachedAttrs, this);

and in the docs, we just don't openly mention we're passing in this as the third argument - let it be a sort of naughty secret that only truly desperate users uses.
Why this is a good idea is because a lot of us casuals are stuck with legacy code that must fetch data out of injected services or whatnot that aren't passed in on attributes. Trying to get an IRL org to switch over to the redux paradigm is already enough of a battle, so, imho, sometimes it's necessarily to have this sort of escape hatch to allow us to pull stuff out of inject.service or whatever... After all, management apparently really doesn't like funding ideas that require putting everything on-hold for several months for a re-write.

@foxnewsnetwork I'm agree.
But it's even more true for dispatch/action to avoid to use an "old" function instead of an arrow function.
For the properties, you can call your service in the route and inject the "state property" in the component as attributes, and so, well define your immutable and "pure" state. ;-)
Frédéric

@foxnewsnetwork I planned to (officially) document the implicit this argument that comes along with stateToComputed when I release the new guides. I assume if we include attrs like @dustinfarris has implemented here we would still get this as the last argument (correct me if I'm wrong).
That said, this raises an interesting question about semver/ public and intimate apis. If we landed this feature in 1x would it be a "breaking change" ? Assuming 2 use cases for the moment

I only ever used the happy path/ public api of stateToComputed making this PR additive

I had to work around a hole in the api and started using the unofficially supported this param to pull in attrs/or other local properties found on the ember component making this PR something that would break my app (as the 2nd argument is suddenly not this and we bump this to the 3rd argument)

@dbashford @justinpark @brettburley @dustinfarris @foxnewsnetwork @wooandoo any thoughts on this PR breaking backwards compatibility? For a little more context, we are planning a 2x release anyway because v2+ will drop the ember-browserify requirement we have today (and this requires ember-cli v2.9.1+). This should speed up both hot and cold rebuild times for everyone using this addon (assuming they've only added browserify for this addon specifically).
I'm personally leaning toward "it's a breaking change" myself and something we will only support in the 2x branch as it would break any app in production today that makes an assumption of this as the 2nd argument.

All sounds good to me. We're upgrading to 2.10 this week, probably, so we should be good with whatever changes come. Removing the browserify dependency will be nice, and the addition of the attrs and this will also come in handy.

@dustinfarris do you have time this week to update this PR so we can look at merging it sometime soon?

Yes I'll wrap it up tomorrow

This looks great to me 👍
Regarding your alternative, I do like the API of getting the component directly, which seems more "ember-like" to me, since you could do things like get('someProperty'), but obscures when the stateToComputed method is called. It makes sense to be called whenever there's new state, or a new attr, so directly receiving the attrs as you have written seems to be the safest option; there's no concern that you might be using something in the function that wouldn't trigger it being recomputed.

I planned to (officially) document the implicit this argument that comes along with stateToComputed when I release the new guides.

@toranb is this the actual current behavior? I don't immediately see why this would be the case, and couldn't reproduce in the dummy app in the tests. Is the second argument passed into stateToComputed the component instance?

@brettburley I'll see if I can't put together an example of when I was able to use this. Off the top of my head I'm now thinking it was this in context of dispatch (using the arrow function maybe?) that allowed me to get at the component properties /etc.
@foxnewsnetwork how are you getting access to this today? Just curious if you could clarify that "yes I have this/ here is how I pulled it in" or "nope- wish list item dude"

Internal implementation has been greatly simplified thanks to suggestion from @brettburley to use getProperties instead of reduce.
Added a test to ensure didUpdateAttrs calls super.

After this is merged we will need a follow up issue/PR to make the documentation changes that were discussed.

@toranb TL;DR: it's on my wish-list lol.
Longer Answer
Currently, I'm working around having to access this by doing a lot of stuff in the .hbs files. For example, consider my latest use case where I'm building some sort of anime catalog service. Say I have a animes/anime/:anime_id route and a routes/anime.js route. In the catalog route, I have something like:
function model(dispatch) {
  return dispatch(createAction(LIST_ANIMES));
}

Then, in my routes/animes/anime.js file, I would have:
function model(dispatch, { anime_id }) {
  return anime_id;
}

Then, in my templates/animes/anime.hbs file, I have:
{{#delegate-anime-detail slug=model user as |anime|}}
  {{#anime-detail-overview anime=anime as |sections|}}
    {{#if sections.isHeader}}
      <!-- header stuff -->
    {{else if sections.isCTA}}
      <!-- cta stuff -->
    {{else if ...}}
      ...
    {{/if}}
  {{/anime-detail-overview}}
{{/delegate-find-anime}}

Finally, (here's the non-ideal part), in my components/delegate-anime-detail.js and templates/components/delegate-anime-detail.hbs, I have no choice but resort to using a find-by helper in the template file as I can't properly pass in attributes (or this) into the statesToCompute function:
function statesToCompute(state) {
  return { animes: getAnimes(state.orm) };
}

{{yield (find-by 'id' slug animes)}}

Having to fetch all my animes just to show a single one is obviously non-ideal, but because I'm using redux-orm and friends, performance actually isn't a problem... the real issue comes from the inconvenience of being forced to work around javascript in the hbs files which, while not a big deal right now when all I'm doing is finding by id, will become significantly more painful if I have to create something like a user-session-query-by helper just so I can:
{{yield (user-session-query-by someQueryParams remoteAnimesRef)}}

Musings
Actually, as yet another work-around for the can't-access-state problem in components, I was tempted to dispatch some sort of reference to the current routing scheme (say the currentRouteName, the associated dynamic-id-context stack, and the query-params) into my redux store, but I decided against doing this properly requires changes on the ember framework level and that's not something I'm comfortable handling on the application level.
Furthermore, I wasn't comfortable with the idea of components (which were suppose to be usable anywhere) being coupled to the routing structure and thus being able to only live in certain route templates. It smelled too much of ye olde' registerChild anti-pattern where child components would register themselves with their parent components who would in turn register themselves with the Ember.Controller (except worse because instead of the buck stopping at the controller level, we now go all the way to the top to the global state level).
And having been bitten once (who am I kidding, hundreds of times on a daily basis) by that particular anti-pattern (which, incidentally, is definitely a solution pressured engineers can easily jump into given business pressure), I'm all for passing in attrs and even this into the second and third argument slots to statesToCompute

@brettburley I just confirmed that I'm either crazy or a total liar :)
Using both legacy functions/ and arrow functions never produces this as I mentioned above. This is a good thing because we can add this as a 3rd argument for stateToComputed w/out fear of breaking anything in 1x

@brettburley so I'm not truly crazy after all :) just looked one more time and realized w/ that the arrow function this is a thing but it's the module (not the component instance as I remembered)

@dustinfarris I can take on the this addition @foxnewsnetwork is asking for after we merge this pull request. What all is left to look at /improve here before we merge this?

@dustinfarris the only thing not changed is the documentation around this. You planning to pull those and make a stand alone example for the gh-pages page? or did I misunderstand that exchange ?

Right, the addition to README here is a quick fix.  Will follow up with separate PR to address docs and adjust README as we discussed.
Sent from my iPhone

On Dec 6, 2016, at 8:23 PM, Toran Billups notifications@github.com wrote:
@dustinfarris the only thing not changed is the documentation around this. You planning to pull those and make a stand alone example for the gh-pages page? or did I misunderstand that exchange ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: brettburley dbashford dustinfarris foxnewsnetwork toranb wooandoo

repo: toranb/ember-redux


text:
top_menu

in demo/templatetags  top_menu
if the variable calling_page is str ,there will generate error

@waytai As far as I can see, top_menu is only ever called here, and self will never be a string. Can you give an example of where this is failing?

@gasman  sorry , my worry is unnecessay

authors: gasman waytai

repo: torchbox/wagtaildemo


text:
Add EBGAN PT

Needs some numeric tests before being merged.

Codecov Report

Merging #57 into master will decrease coverage by 0.58%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage    22.2%   21.62%   -0.59%
==========================================
  Files          31       31
  Lines        1369     1406      +37
==========================================
  Hits          304      304
- Misses       1065     1102      +37

Impacted Files
Coverage Δ

losses/energybased.py
0% <0%> (ø)
:arrow_up:

models/autoencoding.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@Aniket1998 Though we are not getting good enough samples. This makes some changes which can be breaking for future releases. So this should be merged before 0.0.2 release.

authors: avik-pal codecov-io

repo: torchgan/torchgan


text:
Dark mode

The Torchlight config has support for dark mode but when I configure it that way, it only renders one them. My configuration looks like this:
    // If you want to use two separate themes for dark and light modes,
    // you can use an array to define both themes. Torchlight renders
    // both on the page, and you will be responsible for hiding one
    // or the other depending on the dark / light mode via CSS.
    'theme' => [
        'dark' => 'github-dark',
        'light' => 'winter-is-coming-light',
    ],

Am I doing something wrong?

I found the issue. I'm using https://duncanmcclean.com/torchlight-statamic-bard. I've replaced the render part as follows:
$render = function (Block $block) {
    $render = '
##PRE_TL_COMPONENT##';
    $render .= 'placeholder('attrs').' class="'.$block->placeholder('classes').'"';
    $render .= ' style="'.$block->placeholder('styles').'"';
    $render .= '>'.$block->placeholder();
    $render .= '##POST_TL_COMPONENT##
';

    return $render;
};

It's not very pretty but it works.


text:
How to integrate ACL Menu Component?

How to integrate ACL Menu Component?

The same question.
I found in readme "Supports ACL Menu Component by Mark Story",
but didn't found How .

Sorry, I don't work with PHP anymore. So, I don't know the current state of it. But, it used to work with it. By Supports ACL Menu Component by Mark Story I meant, this plugin uses the same object structure.

authors: notRuslan onurakman torifat


text:
[Feature]: Make ms as required prop in v3

Package Scope
@suspensive/react
Description
Delay should delay by required ms prop
Possible Solution
No response
etc.
No response

Ah,, DefaultProps could make it sense... I close this

repo: toss/suspensive


text:
Automatically install plugins

Automatically install sample plugin.

Finished this.

repo: totallymike/ircnode


text:
Грудинин Михаил. Task №7

Задача 7. Jupyter

Дедлайн: 14.11.2024, 23:59
Полный балл: 5

Задача

[x] Подготовка данных

Скачать известный датасет Титаник (train и test)
Загрузить их как pandas.DataFrame
Корректно конкатенировать их в один DataFrame по ключу PassengerID.
Отсутствующие данные должны быть Nan. Все столбцы должны быть корректных типов, в частности, выживание, класс и пол должны быть категориальными

[x] Анализ таблицы

Визуализировать базовую статистику таблицы. В каком классе было больше всего пассажиров?
Группировать таблицу в два уровня: класс и пол, по среднему значению возраста. Кто из возможных комбинаций самый юный, кто самый взрослый? Насколько отличаются эти значения?
Отобрать только выживших пассажиров с фамилией, начинающейся на “K”. Отсортировать их по убыванию стоимости билета. Кто заплатил больше всех? Кто меньше всех?
Какое максимальное количество родных было с выжившим пассажиром?
Посчитайте среднюю стоимость билета пассажиров, для которых указана каюта (Cabin) и для тех, у кого она не указана, во сколько раз они отличаются?

[x] Визуализация

Необходимо построить по данным таблицы 10 различных графиков на своё усмотрение и фантазию.
Использовать можно любые средства, однако рекомендуется Seaborn и Plotly.
5 графиков должно быть интерактивными
1 график необходимо сделать 3D
Среди представленных графиков должны быть

[x] Scatter plot
[x] Linear plot (with several lines)
[x] Histogram
[x] Bar chart
[x] Horizontal bar chart
[x] Pie chart
[x] Box chart
[x] Sunburst chart

[x] (Доп., +2 балла) Сделать Sankey Diagram в Plotly на данных датасета

Требования по оформлению

Задания необходимо выполнять в Jupyter Notebook
Результат выполнения необходимо либо внести ссылкой в Readme репозитория (если выполняли в облачном сервисе), либо загрузить готовый Notebook в репозиторий.
Сдача проводится также, путём создания PR с запросом review
Задания должны отделяться заголовками
Ключевые шаги решения необходимо пояснять с помощью Markdown текста
Ответы на вопросы должны быть написаны с помощью Markdown текста

Добавил линейных графиков (11-13 пункты в моей таблице)

Добавил детей с родителями:

family_data = data[data['Survived'] == 1]['SibSp'] + data[data['Survived'] == 1]['Parch']

в requirements.txt добавил:
pandas
seaborn
matplotlib
plotly

Добавил ноутбук на колабе: https://colab.research.google.com/drive/1B3QcVpQcDexTDWxb5qA_w2NC1XEK8WWi?usp=sharing


text:
pb with examples and speaker notes

Hi!!,
In this example https://github.com/touying-typ/touying/blob/d3c83778068b81bfb81db5fe772bd72e0e3e1597/examples/metropolis.typ#L55
how can I activate the notes. If I do the following, I dont see speaker notes
#import "@preview/touying:0.5.2": *
#import themes.metropolis: *
#import "@preview/numbly:0.1.0": numbly

#show: metropolis-theme.with(
  aspect-ratio: "16-9",
  footer: self => self.info.institution,
  config-info(
    title: [Title],
    subtitle: [Subtitle],
    author: [Authors],
    date: datetime.today(),
    institution: [Institution],
    logo: emoji.city,
  ),
)

#set heading(numbering: numbly("{1}.", default: "1.1"))
#let s = (s.math.show-notes-on-second-screen)(self: s, right)

#title-slide()

= Outline <touying:hidden>

#outline(title: none, indent: 1em, depth: 1)

= First Section

A slide without a title but with some *important* information.

== A long long long long long long long long long long long long long long long long long long long long long long long long Title

=== sdfsdf

A slide with equation:

$ x_(n+1) = (x_n + a/x_n) / 2 $

#lorem(200)

= Second Section

#focus-slide[
  Wake up!
]

== Simple Animation

We can use `#pause` to #pause display something later.

#meanwhile

Meanwhile, #pause we can also use `#meanwhile` to display other content synchronously.

#speaker-note[
  + This is a speaker note.
  + You won't see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)`
]

#show: appendix

= Appendix

Please pay attention to the current slide number.

#import "@preview/touying:0.5.2": *
#import themes.metropolis: *
#import "@preview/numbly:0.1.0": numbly

#show: metropolis-theme.with(
  aspect-ratio: "16-9",
  footer: self => self.info.institution,
  config-info(
    title: [Title],
    subtitle: [Subtitle],
    author: [Authors],
    date: datetime.today(),
    institution: [Institution],
    logo: emoji.city,
  ),
  config-common(show-notes-on-second-screen: right),
)

#title-slide()

In all your examples you have #let s =fonction(s) but s is not define.  You should show how to call this functions without the s

Fixed, thanks.

repo: touying-typ/touying


text:
Evaluate TTS Engines

SpeechT5 is included because it's in Transformers and it's an easy first pick for TTS.
There are several others (in no particular order):
Tortoise
Coqui
Toucan
MMS
Now that WIS has been released I'm very interested in feedback from the community to evaluate different engines, voices, etc so we can select the best default for future versions of WIS.

Mycroft's Mimic 3 engine is licensed as AGPL, which has some considerable legal implications. I'd also be hesitant to use anything Mycroft based as their future is uncertain.
You can see from both Mimic and Piper they're using a lot of the same standard components as the frameworks above - VITS, espeak-ng, etc.

Strong advocate of Coqui. I tried a lot of voices and frameworks and liked it the best in German and English. Here is a little python code for trying it out. I wrote a helper function for saying long texts. The first sentence voice gets generated and played, then the next et cetera. If one would compute all the sentences at once, there would be a huge delay. It works nicely on CPU in sub-realtime, so maybe plays nice with your GPU focused STT and LLM. Great work by the way!
Please mind my non-coding background when trying out my code ;)
Also on second execution the audio files will be reused with a hash. So they won't get generated by say().
from TTS.api import TTS
import subprocess
import time
import os
import hashlib
import pysbd ## for sentence splitting with natural language processing

# Init TTS with the target model name. To list all models just use: TTS.list_models()
#list_voices = TTS.list_models()
#print(list_voices)
#exit()

audiofiles_path = "/tmp/"

## German:
#tts = TTS(model_name="tts_models/de/thorsten/tacotron2-DDC", progress_bar=False, gpu=False)

## English:
tts = TTS(model_name="tts_models/en/ljspeech/tacotron2-DDC", progress_bar=False, gpu=False)

def say(text, blocking=1):

    sentences = pysbd.Segmenter(language="de", clean=False).segment(text)
    print(sentences)

    i_sentence = 0
    for sentence in sentences:
        hash = hashlib.md5()
        hash.update(sentence.encode())
        print("----------------------------------------")
        print("")
        print(sentence)
        print("")
        print("----------------------------------------")
        filepath = hash.hexdigest() + ".wav"
        filepath = os.path.join(audiofiles_path, filepath)
        if not os.path.exists(filepath):

            tts.tts_to_file(sentence, file_path=filepath)
        if i_sentence > 0:
            while play_process.poll() is None: ## test if play-process is still running and wait for it to finish
                time.sleep(0.1)
                print("still waiting")
        if i_sentence == len(sentences) - 1:
            print("last sentence")
            if blocking == 1:
                print("blocking")
                subprocess.call(["aplay", filepath])
            elif blocking == 0:
                print("non blocking")
                subprocess.Popen(["aplay", filepath])
        else:
            print("not last sentence - non blocking")
            print(time.time())
            play_process = subprocess.Popen(["aplay", filepath]) # non blocking, so the next voice generation can start while the voice is played back

        i_sentence = i_sentence + 1

## Benchmark for block-tts vs. sequential-tts:

## German:
# test_text = "Dies ist ein allererster neuer Test für mich. Paris ist die Hauptstadt aller Herzen. Ich bin ein Computer Assistent und ich bin da, um dir zu helfen."

## English:
test_text = "Hello World, this is a test. Just stay put, while I compute all voice sequences. While I am at it, let me tell you something about myself: I am a robotic voice assistant and I wish to serve. Good bye."

t1 = time.time()

tts.tts_to_file(test_text, file_path="/tmp/tts_one_shot.wav")
first_voice = time.time()
subprocess.call(["aplay", "/tmp/tts_one_shot.wav"])

t2 = time.time()
tts_say = t2-t1
tts_first_voice = first_voice - t1

# input("Press Enter to continue...")

t1 = time.time()
print("start")
print(time.time())

say(test_text, blocking = 0)

t2 = time.time()
diff_say = t2-t1

print("say non-blocking: " + str(diff_say))
print("time to first voice: " + str(tts_first_voice))
print("one-shot generation: " + str(tts_say))```

That's a vote for coqui!
Yes, we will use caching but my preferred approach is to go about it a little differently.
For WIS itself TTS output to HTTP response should be bytesIO() at a minimum, and this was a little painful last I looked at coqui.
Our plan is to cache TTS output at the network/transport layer for architecture abstraction, scalability, and to do things like enable the use of a CDN for large scale deployments like our hosted community WIS instance.

Discussed in #78  but also casting my vote here for Coqui 😄

Have you considered OpenVoiceOS plugin manager for this? it provides a lot of TTS options  (and several other things such as STT, VAD....) behind a unified api
https://github.com/OpenVoiceOS?q=tts&type=all&language=&sort=

Try Bark, it's MIT licensed.

Think bark was looked at but the performance unfortunately isn't where it needs to be for a good user experience for a voice assistant (TTS generation on an enterprise GPU is at best real time, and on lesser gpus it is less than real time).

@nikito is correct in terms of performance.
Bark also has a strange tendency to insert random "ummm" sounds in the audio output as documented in this issue.

Yeah that's true, because it's using a generative pre-transformer model rather than true text to speech. It hallucinates similarly to Stable Diffusion and ChatGPT.

We're on a constant hunt for a TTS implementation that provides better quality and more flexibility than SpeechT5 with comparable performance. It's at the top of my list in terms of ongoing WIS improvements but I've yet to find such a thing...

Thanks, i will try it

strong vote for coqui, specially with their xtts v2 model since fine tuning is super easy

Just saw this on Hacker News, it's the best I've heard so far:
https://github.com/collabora/WhisperSpeech

Hello, will it be possible to add other languages? I would like to add it as an additional file. If possible

I switched to split_arch branch using coqui and TTS seems much improved. Numbers are spoken out.
Now i'm wondering about voices per language such that voices are chosen according to requested or detected language.
currently there is tts_default_speaker: str = "CLB" in settings.py hinting that more than a single is supported. How is it done?

I've used coqui earlier but later found this to be more flexible with variant voice tweaks https://github.com/2noise/ChatTTS

authors: JarbasAl Napetc Nortonko ccsmart kristiankielhofner nikito nils-se satvikpendem ssteo ther3zz

repo: toverainc/willow-inference-server


text:
MInor fixes

Fixes of potential out of bounds error and faulty recursion implementation.

Thank you for contributing!

authors: jakmaz tpepels


text:
Adding caption property to radio fields on ReadSync

In some cases, the radio button caption value on a pdf is not the printed one and so is unknown to the user. Also, sometimes said caption has some special chars, that prevent the user from finding the value that she has to use when writing the pdf.
Now, the result of read() contains a caption property if the field type is  'radio'

Thank you very much for your contribution!

authors: tpisto ztrange

repo: tpisto/pdf-fill-form


text:
katexの\notや\neqの表示がうまくいかない

よろしくお願いします

LGTM:+1:

authors: sapphi-red spaspa

repo: traPtitech/traQ-UI


text:
Adjust device popup positioning

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The requested Resource is not related to an issue. I would like to make a suggestion regarding the display of the popup when clicking on a device. Currently it appears in the center of the map, disturbing the view of the device as they overlap it. I know I can click on the map or even move the popup, imagine doing that with hundreds of devices a day.
Describe alternatives you've considered
My suggestion would be that when clicking on a device, the popup would open next to the devices window, as shown in image "A".
And when hiding the devices, the popup would move into the devices space, as shown in image "B", and when clicking to show the devices, the popup would return to its initial position.
Additional context

The final result I got was this.
https://github.com/user-attachments/assets/40caece3-3e80-426c-8b29-2ebdbfe9df96

Hi guys, what do you think, should I submit?

Not sure I agree with the initial position. I would say in centered vertically on the right side would make more sense.
I like the Idea of saving the position though.

It would already help a lot.

authors: Turbovix tananaev

repo: traccar/traccar-web


text:
Update google-cloud-trace to 2.29.0

About this PR
📦 Updates com.google.cloud:google-cloud-trace from 2.3.7 to 2.29.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-trace" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-trace" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #327.


text:
Add cumsum

Pull Request Template
I'm opening the PR draft early just to see if i'm on the right track!
Checklist

[ ] Confirmed that run-checks all script has been executed.
[x] Made sure the book is up to date with changes in this PR.
[x] ndarray
[x] candle
[x] tch
[x] autodiff
[ ] jit
[x] fusion
[ ] import

Related Issues/PRs
Issue: https://github.com/tracel-ai/burn/issues/1720
Changes
Add cumsum for ndarray
Testing
Added unit test

Just be aware there is an open PR related #1722
Maybe we could combine the efforts? Although the author just came back with a response.

Oh i didn't see there was an existing one already!
Would it be worth merging a version without the burn-jit backend first?
And then add the burn-jit and burn-import separately?

repo: tracel-ai/burn


text:
Stop propagation of axis double click events if it triggers a reset

I want to be able to catch double click events on the chart except when double clicking the axes. I'm using an event listener on the div that contains the chart. I currently have a hack that works, but it would be nice if there was a cleaner option.
I think it might work to call event.stopPropagation() on double click in the axes if the corresponding axisDoubleClickReset setting is enabled, or if there is a reason to keep propagation, perhaps it could be an option to disable it.

You should be able to use the subscribeDblClick event listener on the IChartApi and use the passed parameters (MouseEventParams) to know where on the chart the click.

repo: tradingview/lightweight-charts


text:
AWS ECS Service Connect - Go runtime error: index out of range

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
AWS ECS Service Connect feature for ECS was recently released (Nov 2022). It provides service mesh like communication between containers by injecting a sidecar (Envoy) into the task definition automatically.
Have done the following;

deployed ECS Cluster (with ec2 instances)
deployed Traefik Proxy as service (with ALB fronting it) & dashboard is working
deployed Nginx as service (bridge mode so that it maps a dynamic port on host, to the mapped container port 80, either Service Connect enabled)

The Nginx service deploys and runs. Has one task with two containers (nginx, and the Envoy sidecar). Traefik however starts throwing errors when trying to interrogate this new service it found and cannot register it.
Interestingly, if I disable ECS Service Connect for the service, Traefik successfully registers the service with the Proxy and all works as expected.
This is a problem though as I need ECS Service Connect to work. So I have started debugging this a little, but I do not know GO or how to develop/test/debug with this language. So I am hoping all the information I put in here might provide a quick fix for someone that can edit and test the functionality.
Error logged by Traefik & stack trace
Error in Go routine: runtime error: index out of range [0] with length 0

Stack: goroutine 47 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x65
github.com/traefik/traefik/v2/pkg/safe.defaultRecoverGoroutine({0x42db560?, 0xc000829d40})
	github.com/traefik/traefik/v2/pkg/safe/routine.go:66 +0xa5
github.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1.1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:74 +0x35
panic({0x42db560, 0xc000829d40})
	runtime/panic.go:884 +0x212
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).listInstances(0xc000820630, {0x52a21f0, 0xc0009eb4d0}, 0xc000a7e5b8)
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:334 +0x1ae8
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).loadConfiguration(0xc000efbd20?, {0x52a21f0, 0xc0009eb4d0}, 0x0?, 0x445dee0?)
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:196 +0x31
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).Provide.func1.1()
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:172 +0x267
github.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:78 +0x63
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer(0xc000c99460, {0x52818f0, 0xc000c26000}, 0xc001129f20, {0x0?, 0x0?})
	github.com/cenkalti/backoff/v4@v4.1.3/retry.go:55 +0x12a
github.com/cenkalti/backoff/v4.RetryNotify(...)
	github.com/cenkalti/backoff/v4@v4.1.3/retry.go:34
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).Provide.func1({0x52a2148?, 0xc000a64040})
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:186 +0x337
github.com/traefik/traefik/v2/pkg/safe.(*Pool).GoCtx.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:36 +0x66
github.com/traefik/traefik/v2/pkg/safe.GoWithRecover.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:59 +0x5b
created by github.com/traefik/traefik/v2/pkg/safe.GoWithRecover
	github.com/traefik/traefik/v2/pkg/safe/routine.go:53 +0x72

Most interesting bits;

Index 0 out of range - sounds like an array has no items.
Line 334 of ecs.go - appears to be the offending line.

Looking at https://github.com/traefik/traefik/blob/454f552691015d5f01041f61ae0cca0cff5d5d5d/pkg/provider/ecs/ecs.go#L334
317				if len(task.Attachments) != 0 {
318					var ports []portMapping
319					for _, mapping := range containerDefinition.PortMappings {
320						if mapping != nil {
321							protocol := "TCP"
322							if aws.StringValue(mapping.Protocol) == "udp" {
323								protocol = "UDP"
324							}
325
326							ports = append(ports, portMapping{
327								hostPort:      aws.Int64Value(mapping.HostPort),
328								containerPort: aws.Int64Value(mapping.ContainerPort),
329								protocol:      protocol,
330							})
331						}
332					}
333					mach = &machine{
334						privateIP:    aws.StringValue(container.NetworkInterfaces[0].PrivateIpv4Address),
335						ports:        ports,
336						state:        aws.StringValue(task.LastStatus),
337						healthStatus: aws.StringValue(task.HealthStatus),
338					}

Line 334 appears to look for the 1st element (0) of container.NetworkInterfaces.
Suspect this does not exist. Let's look at the containers within the task.
Describing the containers within task for this service
aws ecs describe-tasks --cluster ecs-cluster --tasks  arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/0e66e90e04694eba9c1b0593264a220b
{
    "tasks": [
        {
            "attachments": [
                {
                    "id": "e74dcf96-ad50-48d1-99ad-5d181070d0e9",
                    "type": "ServiceConnect",
                    "status": "ATTACHED",
                    "details": [
                        {
                            "name": "ContainerName",
                            "value": "ecs-service-connect-9qpWT"
                        }
                    ]
                }
            ],
            "attributes": [
                {
                    "name": "ecs.cpu-architecture",
                    "value": "x86_64"
                }
            ],
            "availabilityZone": "ap-southeast-2a",
            "clusterArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:cluster/ecs-cluster",
            "connectivity": "CONNECTED",
            "connectivityAt": "2023-01-11T11:06:24.787000+11:00",
            "containerInstanceArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:container-instance/ecs-cluster/63e1895b9c2d4d528932c6ab9cdb7a01",
            "containers": [
                {
                    "containerArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:container/ecs-cluster/0e66e90e04694eba9c1b0593264a220b/ad26a2c7-a1bd-4ee0-b3c0-83d7dffade89",
                    "taskArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/0e66e90e04694eba9c1b0593264a220b",
                    "name": "result",
                    "image": "nginx:latest",
                    "runtimeId": "fd236fa02ef67a4c00ea6a30a0c50365c50a259135905fdd3cd4e866df24c001",
                    "lastStatus": "RUNNING",
                    "networkBindings": [
                        {
                            "bindIP": "0.0.0.0",
                            "containerPort": 80,
                            "hostPort": 49160,
                            "protocol": "tcp"
                        }
                    ],
                    "networkInterfaces": [],
                    "healthStatus": "UNKNOWN",
                    "cpu": "0"
                },
                {
                    "containerArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:container/ecs-cluster/0e66e90e04694eba9c1b0593264a220b/bf930cda-c08c-4168-b825-a21cbd932781",
                    "taskArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/0e66e90e04694eba9c1b0593264a220b",
                    "name": "ecs-service-connect-9qpWT",
                    "runtimeId": "6f8dab6af4db5dcb37a26686b79174e904fb912674238541be85a662cc85cd04",
                    "lastStatus": "RUNNING",
                    "networkBindings": [
                        {
                            "bindIP": "0.0.0.0",
                            "containerPort": 10000,
                            "hostPort": 49159,
                            "protocol": "tcp"
                        }
                    ],
                    "networkInterfaces": [],
                    "healthStatus": "HEALTHY"
                }
            ],
            "cpu": "512",
            "createdAt": "2023-01-11T11:06:24.787000+11:00",
            "desiredStatus": "RUNNING",
            "enableExecuteCommand": false,
            "group": "service:voting-result",
            "healthStatus": "UNKNOWN",
            "lastStatus": "RUNNING",
            "launchType": "EC2",
            "memory": "1024",
            "overrides": {
                "containerOverrides": [
                    {
                        "name": "result"
                    },
                    {
                        "name": "ecs-service-connect-9qpWT",
                        "environment": [
                            {
                                "name": "ENVOY_CONCURRENCY",
                                "value": "2"
                            },
                            {
                                "name": "ENVOY_ADMIN_MODE",
                                "value": "UDS"
                            },
                            {
                                "name": "ENABLE_STATS_SNAPSHOT",
                                "value": "true"
                            },
                            {
                                "name": "APPMESH_METRIC_EXTENSION_VERSION",
                                "value": "1"
                            },
                            {
                                "name": "APPNET_ENVOY_RESTART_COUNT",
                                "value": "3"
                            },
                            {
                                "name": "HC_DISCONNECTED_TIMEOUT_S",
                                "value": "10800"
                            },
                            {
                                "name": "APPNET_AGENT_ADMIN_MODE",
                                "value": "UDS"
                            },
                            {
                                "name": "APPMESH_RESOURCE_ARN",
                                "value": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task-set/ecs-cluster/voting-result/ecs-svc/2777190142156290852"
                            }
                        ]
                    }
                ],
                "inferenceAcceleratorOverrides": []
            },
            "pullStartedAt": "2023-01-11T11:07:11.690000+11:00",
            "pullStoppedAt": "2023-01-11T11:07:19.151000+11:00",
            "startedAt": "2023-01-11T11:07:40.235000+11:00",
            "startedBy": "ecs-svc/2777190142156290852",
            "tags": [],
            "taskArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/0e66e90e04694eba9c1b0593264a220b",
            "taskDefinitionArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task-definition/main-apps-nonprod-devtest-apse2-ecs-aws-fixed-application-voting-com-ResultTaskDef-8fRjBzpOir0x:1",
            "version": 5
        }
    ],
    "failures": []
}

Neither of these 2 containers have network interfaces attached in their containers. The attachments element details the
'ServiceConnect' attachment type - which I guess handles network interfaces differently.
Now, I just don't know what the fix is as I'm not familiar with either the codebase, or GO.
I suspect that a condition should determine if this is ServiceConnect, and use the Container Instance IP.
Disabling ECS Service Connect
If I disable Service Connect, you can see in the following task description that the 'Attachments' element is no has items - the ECS provider code therefor uses a different branch of code that does not look at the networkInterfaces element.
And Traefik correctly finds the service.

{
    "tasks": [
        {
            "attachments": [],
            "attributes": [
                {
                    "name": "ecs.cpu-architecture",
                    "value": "x86_64"
                }
            ],
            "availabilityZone": "ap-southeast-2a",
            "clusterArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:cluster/ecs-cluster",
            "connectivity": "CONNECTED",
            "connectivityAt": "2023-01-11T12:26:27.016000+11:00",
            "containerInstanceArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:container-instance/ecs-cluster/63e1895b9c2d4d528932c6ab9cdb7a01",
            "containers": [
                {
                    "containerArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:container/ecs-cluster/6420359f07064d10aaab512e073adc09/dec1a481-519f-4b3b-8b3a-04165dec6ca0",
                    "taskArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/6420359f07064d10aaab512e073adc09",
                    "name": "result",
                    "image": "nginx:latest",
                    "runtimeId": "cce09bb997da47e3945960a8f371bf36e66e51fb495e755d9ef91591c68a0e0c",
                    "lastStatus": "RUNNING",
                    "networkBindings": [
                        {
                            "bindIP": "0.0.0.0",
                            "containerPort": 80,
                            "hostPort": 49161,
                            "protocol": "tcp"
                        }
                    ],
                    "networkInterfaces": [],
                    "healthStatus": "UNKNOWN",
                    "cpu": "0"
                }
            ],
            "cpu": "512",
            "createdAt": "2023-01-11T12:26:27.016000+11:00",
            "desiredStatus": "RUNNING",
            "enableExecuteCommand": false,
            "group": "service:voting-result",
            "healthStatus": "UNKNOWN",
            "lastStatus": "RUNNING",
            "launchType": "EC2",
            "memory": "1024",
            "overrides": {
                "containerOverrides": [
                    {
                        "name": "result"
                    }
                ],
                "inferenceAcceleratorOverrides": []
            },
            "pullStartedAt": "2023-01-11T12:26:40.803000+11:00",
            "pullStoppedAt": "2023-01-11T12:26:42.673000+11:00",
            "startedAt": "2023-01-11T12:26:42.794000+11:00",
            "startedBy": "ecs-svc/6087098654864739701",
            "tags": [],
            "taskArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task/ecs-cluster/6420359f07064d10aaab512e073adc09",
            "taskDefinitionArn": "arn:aws:ecs:ap-southeast-2:REDACTEDACCID:task-definition/main-apps-nonprod-devtest-apse2-ecs-aws-fixed-application-voting-com-ResultTaskDef-8fRjBzpOir0x:1",
            "version": 2
        }
    ],
    "failures": []
}

Hopefully this might shed some light on a fix that needs to be made.
What did you see instead?
Traffic Proxy logged the following;
Error in Go routine: runtime error: index out of range [0] with length 0

Stack: goroutine 47 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x65
github.com/traefik/traefik/v2/pkg/safe.defaultRecoverGoroutine({0x42db560?, 0xc000829d40})
	github.com/traefik/traefik/v2/pkg/safe/routine.go:66 +0xa5
github.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1.1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:74 +0x35
panic({0x42db560, 0xc000829d40})
	runtime/panic.go:884 +0x212
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).listInstances(0xc000820630, {0x52a21f0, 0xc0009eb4d0}, 0xc000a7e5b8)
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:334 +0x1ae8
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).loadConfiguration(0xc000efbd20?, {0x52a21f0, 0xc0009eb4d0}, 0x0?, 0x445dee0?)
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:196 +0x31
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).Provide.func1.1()
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:172 +0x267
github.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:78 +0x63
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer(0xc000c99460, {0x52818f0, 0xc000c26000}, 0xc001129f20, {0x0?, 0x0?})
	github.com/cenkalti/backoff/v4@v4.1.3/retry.go:55 +0x12a
github.com/cenkalti/backoff/v4.RetryNotify(...)
	github.com/cenkalti/backoff/v4@v4.1.3/retry.go:34
github.com/traefik/traefik/v2/pkg/provider/ecs.(*Provider).Provide.func1({0x52a2148?, 0xc000a64040})
	github.com/traefik/traefik/v2/pkg/provider/ecs/ecs.go:186 +0x337
github.com/traefik/traefik/v2/pkg/safe.(*Pool).GoCtx.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:36 +0x66
github.com/traefik/traefik/v2/pkg/safe.GoWithRecover.func1()
	github.com/traefik/traefik/v2/pkg/safe/routine.go:59 +0x5b
created by github.com/traefik/traefik/v2/pkg/safe.GoWithRecover
	github.com/traefik/traefik/v2/pkg/safe/routine.go:53 +0x72

What version of Traefik are you using?
Version:      2.9.5
Codename:     banon
Go version:   go1.19.3
Built:        2022-11-17T15:04:26Z
OS/Arch:      linux/amd64
What is your environment & configuration?

################################################################
# Global configuration
################################################################
global:
  checkNewVersion: true
  sendAnonymousUsage: false

################################################################
# EntryPoints configuration
################################################################
entryPoints:
  web:
    address: :80
  websecure:
    address: :443
  traefik:
    address: :8080

################################################################
# Traefik logs configuration
################################################################
log:
  level: DEBUG

accessLog:

api:
  insecure: true
  dashboard: true

################################################################
# Ping configuration
################################################################
ping:
  entryPoint: traefik

################################################################
# Docker configuration backend
################################################################
providers:
  ecs:
    autoDiscoverClusters: true
    exposedByDefault: false
    # constraints: "Label(`a.label.name`,`foo`)"
    refreshSeconds: 15
    region: ap-southeast-2

If applicable, please paste the log output in DEBUG level
No response

Hello @p7-paul,
Thanks for reporting this. We open https://github.com/traefik/traefik/pull/9661 to fix the panic.
Nonetheless, the AWS ECS Service Connect mode remains not supported as of now.
Would you mind opening a dedicated issue proposing its support?

Hi @rtribotte,
Appreciate the quick response on this. I have added the following feature request - https://github.com/traefik/traefik/issues/9662.
Regards.

repo: traefik/traefik


text:
[Add] swarm provider icon

What does this PR do?
Fixes a broken icon swarm.svg reference in the webui
Motivation
While using traefi in swarm mode, it had a broken link to swarm.svg provider in the WebUI Console
More

[x ] Added a broken icon for swarm provider

Already fixed by #10529

authors: cannonkalra ldez


text:
[FEATURE] Profile Pictures

I think it would be interesting (and cool) if each profile can have a "profile picture" to better identity different profiles. I don't even know if this was possible. This would also require some way to select custom ones saved on the user's computer, which could maybe use a similar UI to #5
Example:
-A Frackin' Universe pfp for a Frackin' Universe profile
-A Starbound logo pfp for a vanilla profile
(can't put the enhancement label but this is an enhancement in my mind)

Definitely possible, but I wouldn’t know a good way to determine the icon for most mods, without the user doing it themselves.
More pressing things to add at the moment, but this is definitely a cool idea

Yeah, it can be a side feature in case you want to add something to the application

Likely not happening unless I decide to rewrite this whole thing in Rust or something idk
(mostly posting this as a test for a discord webhook)


text:
Add language parameter to watchlist / watched endpoints

Hello,
It would be great if the results titles of /watchlist & /watched endpoints were localized. Adding a new query param with the desired language would be fine for non-english speakers.
Regards.

Unfortunately, no plans to do this since it would impact the caching a lot.

authors: javikr rectifyer

repo: trakt/api-help


text:
B-21667 B-21374 I-13550 INT

Agility Issue
Agility ticket B-21667
Agility ticket B-21374
Summary
B-21374 fix
A mysterious 0 value was appearing on the allowance details in the case of 0 dependents under 12 and 0 over 12. Issue was written up for it, fix was just adding a > 0 for the each of the checks for info?.dependentsTwelveAndOver || info?.dependentsUnderTwelve in src/components/Office/DefinitionLists/AllowancesList.jsx.
B-21667 fix
As part of troubleshooting the above, noticed that the Unaccompanied Baggage Allowance field was not appearing on the Allowance section. Needed to update ubAllowance to unaccompaniedBaggageAllowance, after changing that variable as part of B-21487, which I have merged into my B-21667 branch.
How to test

Login as a customer, creating a UB shipment with the UB FF turned on, selecting no dependents
Log in as an SC and view the Allowances section for the move.
Check that the DB has 0 values for the dependents under 12 and dependents 12 and over.
Verify that you do not see the 0 just hanging out in the dependents section
Should NOT see this 0:

Check that you have a non-zero value in the UB allowance column of the order entitlement
Verify that you see the Unaccompanied Baggage Allowance field in the Allowances section with the UB allowance value.

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 413d5c91330131d16e849c61293192b7fead8efc

The 0 value seems to be working for me.

authors: TevinAdams robot-mymove traskowskycaci

repo: transcom/mymove


text:
[mb-8838] Going through documentation and initial setup for MyMove

Description
As a new member for the Roci team, I'm going through the initial setup documentation and updating things as I see necessary. In order to not duplicate effort, I'm collaborating with @felipe-lee by merging this into #7020 instead of master. My patch series will focus on the initial developer experience rather than any of the effort of refactoring or migrating folks over to using Nix.
The commit messages in this patch series will be granular and descriptive about what the changes are and why. This should help keep things tidy as I'm not entirely sure of the specific scope of all the changes.
Reviewer Notes
If you have the time, go through setting up this repository in a new directory or new machine. But the majority of the scrutiny should go to reading through the documentation and making sure that it makes sense.
Code Review Verification Steps

[x] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 73c265af2c11f408739c7650969d82c482e30e36

authors: robot-mymove rogeruiz


text:
Add backend healthcheck

The train tracker issue this morning reminded me that the dashboard needs a real health check. This checks to make sure the API key has a non-zero length, and that it can get alerts from S3. 500 error if a check fails, and a number output indicating which one.

This looks decent. Is the goal to point uptime bot at it or something so we get slack notifications? In general, i'd love a log of 500s (and maybe 400s?) that occur- I tried to find such things in aws, but it made me cry. Do you know of any way to get notifications of these? either in slack or a weekly digest email or something?

Any way to incorporate this into a CI check? We can always brainstorm this later ofc

@nathan-weinberg You bet; let's add more soon

authors: austinjpaul mathcolo nathan-weinberg

repo: transitmatters/t-performance-dash


text:
Handle interrupts when applet handler is not running.

This fixes lack of USB control interface and watchdog servicing when an applet is not running.

Looks like it'll need a manual rebase...

authors: AlCutter abarisani

repo: transparency-dev/armored-witness-os


text:
Data fields

For each journal record, we hope to assemble the following fields (draft; please edit):
Journal information

Journal title (from SHERPA/RoMEO: jtitle)
Journal ISSN (from SHERPA/RoMEO: issn)
Publisher (from SHERPA/RoMEO: romeopub)
Date SHERPA/RoMEO information was last updated (from SHERPA/RoMEO: dateupdated)

Peer review
Open Peer Review

Peer review policy url
Does the journal publish the content of peer reviews? (mandatory/optional/no)
Are reviewer identities revealed to the author? (mandatory/optional/no)
Are reviewer identities published? (mandatory/optional/no)

Co-reviewers

Co-reviewer policy url
Journal’s policy about co-reviewers (people who collaborate with an invited reviewer) (free text)
Does the journal make it clear in the invite email that co-reviewers can contribute? (yes/no)
Is there a dedicated place in the submission form to identify co-reviewers? (yes/no)

(NEW suggestion) Peer review transfer

Transfer policy url
Policy on transfer of peer reviews
What is the structure of the review form (are there separate fields for technical & impact evaluation?)

(NEW suggestion after conversation with B. Konforti) Peer review credit

Does the journal deposit peer review information into ORCiD? info

Preprints

Preprint policy url
Are preprints allowed? (from SHERPA/RoMEO: prearchiving) (can/cannot/restricted/unclear)
Preprint restrictions (from SHERPA/RoMEO: prerestrictions)
Copyright policy url (from SHERPA/RoMEO: copyrighturl)
Conditions (from SHERPA/RoMEO: conditions)
Version of the preprint that can be posted to a disciplinary server (first submission only, any, other, none)
Time when a preprint can be posted (before acceptance only, anytime, other)
Acceptable servers (or characteristics) of servers (specific names, non-commercial, “recognized, etc)
Media policy on preprints (what type of coverage or discussion (scientific blog, etc) of preprints is allowed?) (free text)
Policies on preprint licensing (recommended or restricted licenses (eg, CC etc) for preprints) (free text)
“Scoop protection” policy (ie, submitted preprints will not be rejected if a competing work comes out in another journal after the date of preprinting) (free text)
Preprint citation policy (can preprints be cited in the reference list? Is there a special format?) (free text)
Policy on incorporating community reviews or comments on preprints into editorial assessment (free text)

All data from SHERPA RoMEO is released under a CC BY-NC-SA 2.5 license and we will follow the specified conditions for reuse.

For peer review, add

Peer review policy url

Done @tonyR-H - also proposed sections on peer review transfer - one question could come from the policy, but the question about structure could be collected in the same way as the one about whether there is a space in the form for co-reviewers.

The outline of the data fields is useful. There are two aspects I think we want to decide on before getting started.
First, what catalog of journals to use. This is important because the resource we choose here will define what journals are in the database. Currently, the plan appears to be to use RoMEO journals. Other options would be Crossref or Scopus. Crossref is probably best IMO, as it seems to be the longterm provider for this type of information that the community is coalescing behind. They also claim no copyright on the metadata. Compared to Scopus, Crossref is more dependent on publishers depositing information, which can lead to issues, but the DOI system has already matured quite a bit and things are improving. Using ISSNs we can map journals between resources as well.
Second, is there an architecture where we can release the data we create as CC0? Under the current plan, will we be required to release the data we create under a CC BY-NC-SA license (because of share alike)? If so, I think that is highly undesirable. If we are going to put in the time, it'd be nice to contribute to an open ecosystem rather than grow a closed one. One option would be separate the original data we collect from RoMEO data. We could then combine the two into a CC BY-NC-SA resource as needed, but the raw data we create will remain unencumbered. This would be a natural workflow even were we to use Crossref to identify journals.
So both issues really relate to how central RoMEO will be in this effort. I see why it makes sense to simply extend RoMEO from a convenience perspective and due to the overlap in scope. However, the licensing issues are worrisome. In addition, I am not sure how RoMEO manages its journal database and whether it will be as reliable as Crossref's catalog going forward. Apologies for derailing the focus of this issue :smirk_cat:

journals are mapped to not only publishers but also groups of journals (for example, Cell takes its policies from the Cell Press policies, not its parent, Elsevier).

Cool! So RoMEO includes an ontology of publishing entities. And the curators job here will be to annotate entities with policies. Each entity would have a YAML file, and we would apply policies to the highest-level entity to which a policy applies (i.e. Cell Press not Cell). When displaying the information, we can make subentities inherit the policies of superentities (by propagating policies down the acyclic directed graph). Assuming that the ontology data is readily available and that RoMEO maintains this resource, I agree it will be preferable to Crossref.

it would be great to be able to make sure that SHERPA RoMEO or other parties could display some of the information we collect along with RoMEO data

Certainly! I'd like our work to be CC0 so anyone can reuse this information without having to worry about legal impediments. Hopefully, we can make it quite easy for other projects to integrate our data, so RoMEO, Wikidata & others can help broadcast this information. The main question is what architectures will permit us to openly release our work, given that RoMEO data is released under CC BY-NC-SA 2.5? The important aspects of the license deed are the defition of "derivative work":

"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License.

In addition, here is the share alike stipulation:

You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-NonCommercial-ShareAlike 2.5 Japan).

How I understand these clauses and copyright law is that any files that include RoMEO data may be derivatives and trigger Share Alike. However, files that don't contain RoMEO data but that were computed using RoMEO data wouldn't trigger Share Alike. Hence, we can use the RoMEO ontology to propagate policy annotations without having to share alike the resulting outputs. However, we will need each source YAML file to contain at least the RoMEO entity ID. Perhaps SHERPA would be willing to allow us to use the journal IDs and names in a CC0 resource. This would be similar to the licensing approach DrugBank adopted where basic drug information and identifiers are CC0 with the detailed data under a non-commerical license. This allows using the resource's identifiers without viral licensing issues.
So I think we should ask SHERPA if we can release files with journal/publisher IDs as CC0. Under this proposal, files that contained preprint links or other relationships from RoMEO would still be CC BY-NC-SA. However, our source files would be CC0 opening up the possibility for unrestricted reuse to users who do not need the RoMEO aspects of the data.
If we cannot use RoMEO IDs under CC0, then our choices would be to consider fair use or to consider replicating SHERPA's journal ontology efforts to create an openly-licensed resource. I think duplicating these efforts would be considerably worse for both us and SHERPA, so hopefully we avoid that route.

Daniel, do you know how similar the ISSNs in Crossref and SHERPA are? (a list is available w/our API key at http://www.sherpa.ac.uk/downloads/) If they are similar, I assume we could match journals to entities via Crossref ISSNs.
This isn't a given, though: in Wikidata, some journal have many ISSNs (print and electronic versions have separate ISSN - in SHERPA the latter are called ESSNs, I believe) and there can be multiples of each (presumably if a journal changes publishers?)

Seeing your Crossref issue, could we also do this matching with journal names?

could we also do this matching with journal names?

We should avoid automated mapping by names at all costs. The different databases will likely use different names for the same journals. If we do need to map journals by names, we will need to manually review each mapping (and consider whether we can contribute information so the mapping can be done automatically in the future).
BTW in the past, I've mapped Crossref DOIs (articles) to journals using ISSNs, so I know they have this information (at least for specific articles).

While the Crossref API issue gets sorted, a .csv of Crossref journals with print and electronic ISSNs can be found here: https://support.crossref.org/hc/en-us/articles/213197226-Browsable-title-list

Hey @jpolka
I added one point above
"- Does the journal make it clear in the invite email that co-reviewers can contribute? (yes/no)"
I realized afterwards that I probably should have listed it here instead. Feel free to remove or edit it.
I'm glad to see the inclusion of the journal's policy on incorporating community reviews into peer review 😁 ❤

Great @SamanthaHindle - thank you! I also updated the text to include the following:
(NEW suggestion after conversation with B. Konforti) Peer review credit

Does the journal deposit peer review information into ORCiD? info

Following a conversation with @dhimmel, we will have one YAML file per romeopub (policy ID from SHERPA/RoMEO).
We will make it clear to contributors that their contributions are licensed CC0. However, the policy files will be licensed CC BY-NC-SA 2.5 because they contain SHERPA RoMEO information. We will follow the specified conditions for reuse.
Here is a revised list of data fields. @SamanthaHindle, @tonyR-H  and @garymcdowell - let me know what you think? Specifically, if we collect the urls, do we need the "journal's policy about" fields, which may be very long/unwieldy?
Furthermore, after a conversation with Monica Gradanos/
Suggested labels for the YAML file are bolded. Comments follow. (Allowed responses for validation in parentheses - these should also be visible in the comments.)
romeopub Policy ID from SHERPA/RoMEO
journals A list of the journals from SHERPA/RoMEO associated with this romeopub (jtitle)
These fields should probably not be editable, but we should provide a way to flag the entry if the journals listed are not all affected by the same policies
Peer review
Open Peer Review

peer-review-url Peer review policy url (valid url)
open-reports Does the journal publish the content of peer reviews? (mandatory/optional/no)
identities-revealed Are reviewer identities revealed to the author? (mandatory/optional/no)
identities-published Are reviewer identities published? (mandatory/optional/no)

Co-reviewers

co-review-url Co-reviewer policy url (valid url)
co-review-policy Journal’s policy about co-reviewers - ie people who collaborate with an invited reviewer (free text)
co-review-invited Does the journal make it clear in the reviewer invitation email that co-reviewers can contribute? (yes/no)
co-review-field Is there a dedicated place in the submission form to identify co-reviewers? (yes/no)

Peer review transfer

transfer-url Transfer policy url (valid url)
transfer-policy Policy on transfer of peer reviews (free text)
review-structure What the titles of the sections of the review form? (free text)
separate-structure Are there separate fields for technical & impact evaluation? (yes/no)

Peer review credit

credit-url Peer review credit policy url (valid url)
orcid Does the journal deposit peer review information into ORCiD? "via service" includes Publons. (directly/via service/no)

Preprints

preprint-url Preprint policy url (valid url)
preprint-version Version of the preprint that can be posted to a disciplinary server (first submission only, any, other, none)
preprint-time Time when a preprint can be posted (before acceptance only, anytime, other)
preprint-citation Can preprints be cited in the reference list? (yes/no)
acceptable-servers Acceptable servers or characteristics of servers - eg specific names, non-commercial, “recognized," etc (free text)
preprint-media What type of coverage or discussion of preprints is allowed, eg in the media or in scientific blogs? (free text)
preprint-licensing Policies on preprint licensing (free text)
scoop-protection Policy on whether submitted preprints will not be rejected if a competing work comes out in another journal after the date of preprinting (free text)
community-reviews Policy on incorporating community reviews or comments on preprints into editorial assessment (free text)

authors: SamanthaHindle dhimmel jpolka tonyR-H

repo: transpose-publishing/policies-database


text:
🛑 TechinAsia_Laravel_API is down

In 4f89a13, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 173 ms

Resolved: TechinAsia_Laravel_API is back up in 0dd98a9 after 14 minutes.

repo: traqy/upptime


text:
🛑 TechinAsia_WordPress_API is down

In 717e5e3, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 172 ms

Resolved: TechinAsia_WordPress_API is back up in 9d972c8 after 7 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In 173fc48, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 173 ms

Resolved: TechinAsia_Laravel_API is back up in 1582cdd after 7 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In c79f89f, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 226 ms

Resolved: TechinAsia_Laravel_API is back up in 8e44261 after 9 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In badb8df, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 228 ms

Resolved: TechinAsia_WordPress_API is back up in 2036f57 after 7 minutes.


text:
🛑 TechinAsia is down

In 71811bd, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 752 ms

Resolved: TechinAsia is back up in 6519063 after 7 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In 7c19a11, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 173 ms

Resolved: TechinAsia_WordPress_API is back up in 2b0d2f5 after 14 minutes.


text:
🛑 TechinAsia is down

In 32d7b64, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 718 ms

Resolved: TechinAsia is back up in c1c4f47 after 9 minutes.


text:
Question about nms_iou_threshold

Hello! @traveller59 , thank you for your excellent work. I have a question about the nms_iou_threshold in the config file for car detection. In the config file , nms_iou_threshold is set to 0.01, but for pedestrian and other objects, it is larger (such as 0.4).I think it is too small as a nms threshold. Could you tell me why you set this value this small ? Thank you, I really appreciate the help.

because in 3D spaces, 2 vehicles can not be highly overlapped.


text:
train error with nuscenes data

Traceback (most recent call last):
File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/pytorch/train.py", line 298, in train
for example in dataloader:
File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 637, in next
return self._process_next_batch(batch)
File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
KeyError: 'Traceback (most recent call last):\n  File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop\n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in \n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/pytorch/builder/input_reader_builder.py", line 42, in getitem\n    return self._dataset[idx]\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/data/nuscenes_dataset.py", line 141, in getitem\n    example = self._prep_func(input_dict=input_dict)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/data/preprocess.py", line 222, in prep_pointcloud\n    calib=calib)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/core/sample_ops.py", line 137, in sample_all\n    avoid_coll_boxes)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/core/sample_ops.py", line 239, in sample_class_v2\n    sampled = self._sampler_dict[name].sample(num)\nKeyError: 'bus'\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/script.py", line 57, in
train_multi_rpn_layer_num()
File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/script.py", line 30, in train_multi_rpn_layer_num
train(config, model_dir)
File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/pytorch/train.py", line 421, in train
print(json.dumps(example["metadata"], indent=2))
UnboundLocalError: local variable 'example' referenced before assignment
Process finished with exit code 1

Traceback (most recent call last):
File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/pytorch/train.py", line 298, in train
for example in dataloader:
File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 637, in next
return self._process_next_batch(batch)
File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
KeyError: 'Traceback (most recent call last):\n  File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop\n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in \n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/pytorch/builder/input_reader_builder.py", line 42, in getitem\n    return self._dataset[idx]\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/data/nuscenes_dataset.py", line 141, in getitem\n    example = self._prep_func(input_dict=input_dict)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/data/preprocess.py", line 222, in prep_pointcloud\n    calib=calib)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/core/sample_ops.py", line 137, in sample_all\n    avoid_coll_boxes)\n  File "/media/5.5T_Harddisk/LIDAR/PointPillars_Nuscens/second.pytorch/second/core/sample_ops.py", line 239, in sample_class_v2\n    sampled = self._sampler_dict[name].sample(num)\nKeyError: 'bus'\n'

File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/spconv/utils/init.py", line 271, in generate_multi_gpu
pad_output=True)
File "/home/srinivas/.conda/envs/pointpillars/lib/python3.7/site-packages/spconv/utils/init.py", line 113, in points_to_voxel
res["coordinates"][:voxel_num] = coors_
ValueError: could not broadcast input array from shape (41898,3) into shape (80000,3)
During handling of the above exception, another exception occurred:

multi GPU is not supported yet


text:
Added the official Xamarin provided Mono packages

See http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives. Required for https://github.com/OpenRA/OpenRA/pull/8933.

Since Travis runs on Precise LTS, wouldn't it also require the libtiff-compat repo?
http://www.mono-project.com/docs/getting-started/install/linux/#older-ubuntu-releases-ubuntu-1210-and-1204

I don't know. Gave up here.

authors: Mailaender thesupremecommander

repo: travis-ci/apt-source-whitelist


text:
give some feedback about the missing packages.

related to https://github.com/travis-ci/travis-ci/issues/4116

Paging @craigcitro @eddelbuettel @hadley

LGTM

looked good to me to, but it is now deployed and it does not output anything anyway, not even the 'missing: ' starting text.

authors: craigcitro mfrasca

repo: travis-ci/travis-build


text:
Update sbt to 1.3.2

Updates org.scala-sbt:sbt from 1.3.0 to 1.3.2.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: semver-patch

Codecov Report

Merging #159 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #159   +/-   ##
=======================================
  Coverage   94.78%   94.78%
=======================================
  Files           5        5
  Lines         115      115
  Branches        3        3
=======================================
  Hits          109      109
  Misses          6        6

Continue to review full report at Codecov.

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

authors: codecov-io scala-steward

repo: travisbrown/catbird