text:
21 plano custos

Criação do arquivo de plano de custos

Documentação revisada e aprovada.

authors: julisous mibasFerraz


text:
us70 Prontuários

o prontuário pertence ao paciente, ajuda a esclarecer dúvidas sobre exames e condutas terapêuticas que o mesmo deve seguir, e serve principalmente para facilitar a comunicação entre os profissionais da saúde, seus pacientes e familiares.
Descrição

A funcionalidade tem por objetivo a busca por informações de pacientes pelo seu prontuário feitas pelo médico com uma maior facilidade.
Issue Relacionada
#161

Motivação e Contexto

Adicionar o prontuário de pacientes e permitir que a equipe médica possa criar, editar ou excluir esses prontuários
Como Isso Foi Testado?
Foi testado com os testes unitários

Capturas de Tela (se apropriado):

Tipos de Mudanças

[ ] Bug fix (alteração que corrige uma issue e não altera funcionalidades já existentes)
[x] Nova feature (alteração que adiciona uma funcionalidade e não altera funcionalidades já existentes)
[ ] Alteração disruptiva (Breaking change) (Correção ou funcionalidade que causa alteração nas funcionalidades existentes)

Checklist:

[x] Meu código segue o estilo de código desse projeto.
[x] Meus commits seguem o padrão de estilo desse projeto.
[ ] Minha alteração requer uma alteração na documentação.
[ ] Eu atualizei a documentação de acordo.
[x] Eu li o documento de Contribuição (CONTRIBUTING).
[x] Eu adicionei testes para cobrir minhas mudanças.
[x] Todos os testes novos e existentes passaram.

Galera aqui vou complementar o que a @marimendes falou:
Concordo com os erros que ela apontou e vi dois problemas que acho que precisam de correção.
Aqui é um erro de frontend, o dropdown tá sumindo por que as opções tem textos muito longos e aquele problema do user por algum motivo ainda tá ai.
Imgur
Aqui é no form do prontuário que os dois campos tem nome anexo (??), fiquei confuso, e por úlitmo, não sei se é possível mas, além do que a Mari falou da quebra no texto muito longo, verifiquem se dá pra traduzir o "HTML Preview"
Imgur
Por fim galera, eu achei que ficou bom mas está simples o prontuário, saibam que vamos ter que elaborar mais essa história.

@sconetto os dois problemas que você pontuou são problemas de antes de issue, e se não me engano já foram corrigidos na devel por meio de bugfixes. Quanto a traduzir o html preview creio que não será possível, pois é algo do próprio componente. As demais mudanças já foram feitas ou estão quase prontas.
Sobre a simplicidade do prontuário, ele foi feito com base no que tinha sido informado. Como o médico informou posteriormente tudo o que queria, então não haveria tempo hábil para as alterações.

Tudo bem @ebmm01, assim que terminado informe via slack para que possamos refazer os testes.

@ebmm01 @joberthrogers18 eu achei outro bug, na busca se eu coloco o autor de um prontuário ele some o prontuário do cara, se eu coloco um outro autor aí o prontuário aparece.

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
pass options to packages?

Hi,
how do I pass options to the usepackage option?
Or can I just write \usepackage[europeanresistors,americaninductors]{circuitikz} instead of
using the usepackage= option?
With best regards,

Hello p91,
This feature is not included. The usepackage option currently is only valid for a list of packages.
If you can provide a solution for that aspect, please fork and share to better the plugin!
Yours sincerely,

Hi,
I closed my pull request as it was also pulling other commits which did not belong into your repo.
You can find the commit I wanted to pull here:
https://github.com/fgalindo/jekyll-liquid-latex-plugin/commit/e421b97c601a50d4c640caa6b1217be6d296798f
No Idea how I am supposed to open just a pull request for this single commit.

source: gharchive/issue

repo: fgalindo/jekyll-liquid-latex-plugin

license: mit

license_source: bigquery


text:
small formatting stuff

some messed up bullet points in the 1.1.1 OpenWDL section

and in 3.2.5 Prep for Other Platforms and Sharing section


text:
Hide esling output in browser but show in terminsal

Is your feature request related to a problem? Please describe.
Hello. I often use console.log. It is forbidden in my eslint config. I dot't know how to work with it properly. I don't want to see warning messages about my console.log in browser.
Describe the solution you'd like
I guess an option to hide output of some checkers in browser would be enough.
Describe alternatives you've considered
If you have better solution please describe it.
Thanks.
Additional context
No response
Validations

[X] Read the docs.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.

To disable your eslint rule temporarily, just add // eslint-disable-line. If you want, you can add a TODO comment as a reminder.

This is what I do now and what I would like to change.

@timsofteng you can do
 plugins: [
...
   checker({
      typescript: true,
      overlay: false,
   }),
...
]


text:
pin puppet-lint correctly

needed since puppet-lint 2.0.0 got release lately

never mind, https://github.com/fiddyspence/puppetlint-variablecase/pull/2 does the same and is working already :)

repo: fiddyspence/puppetlint-variablecase


text:
🛑 FedericoMazzei is down

In ae26cea, FedericoMazzei (https://www.federicomazzei.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FedericoMazzei is back up in a25239e.

repo: fideo/statusSites


text:
Add option to only show opened or in-testing rides

Could be handy for showing "real" rides and hiding trackitecture.

Implemented with 5bb444e12e043a9db7d68e7930514f004bf9665f


text:
Implement TripleProducer with support for IRI-only triples

Implements a TripleProducer that produces a set of triples for a parsed document

Open TODOs

[x] Set up testing against reference examples, to make sure that we can emit everything we can parse without errors
[ ] Implement production of everything we can parse so far

[ ] Implement relative IRI resolution algorithm (maybe there is a crate for that?)

CLOSES #4

Merging as initial version. There are still some unsupported constructs that the can't be turned into constructs yet, but for all of the ontologies that are currently in the registry it works.


text:
Error generating mochawesome html report

Hi i am having an issue generating html report using the wdio-mochawesome-reporter. The JSON file is generated fine but when i run the line below in my package.config -
"generateMochawesome":"marge <path/to/results.json> --reportTitle 'My Project Results'" ;
i get an error as show in the image attached.
Environment
Typescript,nodejs,mocha,webdriverio

WebdriverIO version:
Node.js version: 6.0.0
wdio testrunner - running synchronous tests:
Additional wdio packages used (if applicable):
services:['chromedriver']
reporters:['spec','mochawesome']
reporterOptions:{
outputDir: './'
}

I experienced the same problem using wdio-mochawesome-reporter 1.3.0 and mochawesome-report-generator 3.1.1. I was able to get the report working by downgrading mochawesome-report-generator to 2.3.2.

Yes...this is actually documented in the README.  There is an open PR to get 2.x and 3.x versions supported.

@fijijavis I did not see it in the readme. Could u point me to the link please.

I apparently can’t link to the line from my phone but it is in the Mochawesome Report Generator section directly under the sample npm install

That fixed it thanks a lot @samwarwick @fijijavis . But i have another error now :-(. I am trying to add a msg(addContext) to the report as i want to send some "text" when the mocha test passes. But i get error
ERROR: Cannot find module 'mochawesome/addContext'
Its a typescript project so am i importing it incorrectly? or is "addContext" not supported for typescript?

My bad too @fijijavis - the readme does clearly state to use the 2.3.2 and that 3.x is not compatible.
https://github.com/fijijavis/wdio-mochawesome-reporter

authors: biz786 fijijavis samwarwick

repo: fijijavis/wdio-mochawesome-reporter


text:
calling addContext() multiple times hides the context entirely

wdio.conf.js snippet
  framework: 'mocha',
  reporters: ['dot', 'mochawesome'],
  reporterOptions: {
    mochawesome: {
      outputDir: 'mochawesome-report'
    }
  },
  mochaOpts: {
    ui: 'bdd',
    require: ['ts-node/register', 'tsconfig-paths/register'],
    timeout: 60000
  }

test case
import addContext from 'mochawesome/addContext'

describe('wdio test', function() {
  it('should pass', function() {
    addContext(this, `Hello`)
    addContext(this, `World`)
  })
})

Report generated with wdio

Expected behavior (Generated with mocha + mochawesome)

versions:
    "mochawesome": "^3.0.3",
    "mocha": "^5.1.1"
    "wdio-mocha-framework": "^0.6.3",
    "wdio-mochawesome-reporter": "^2.0.0",
    "webdriverio": "^4.13.2",
    "mochawesome-report-generator": "^3.1.3",

Could also be an issue with mochawesome-report-generator, in which case I can open an issue there :)

Also the generated JSON object
{
  "stats": {
    "suites": 1,
    "tests": 1,
    "passes": 1,
    "pending": 0,
    "failures": 0,
    "start": "2018-09-10T17:48:44.787Z",
    "end": "2018-09-10T17:48:49.098Z",
    "duration": 4311,
    "testsRegistered": 1,
    "passPercent": 100,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false,
    "passPercentClass": "success",
    "pendingPercentClass": "danger"
  },
  "suites": {
    "title": "",
    "suites": [
      {
        "title": "wdio test (firefox)",
        "suites": [],
        "tests": [
          {
            "title": "should pass",
            "fullTitle": "should pass",
            "timedOut": false,
            "duration": 4,
            "speed": "fast",
            "pass": true,
            "fail": false,
            "pending": false,
            "code": "",
            "isRoot": false,
            "uuid": "de1734be-af79-4c60-9889-6f1f175f73d6",
            "parentUUID": "b1ff8fc3-fdcb-426f-87c6-878a99a4dc40",
            "skipped": false,
            "isHook": false,
            "context": "[{\"title\":\"Session Id\",\"value\":\"f640e363-8e71-4948-9427-abe4fb8e799d\"},[\"Hello\",\"World\"]]",
            "state": "passed",
            "err": {}
          }
        ],
        "pending": [],
        "root": false,
        "fullFile": "",
        "file": "",
        "passes": ["de1734be-af79-4c60-9889-6f1f175f73d6"],
        "failures": [],
        "skipped": [],
        "duration": 6,
        "_timeout": 0,
        "uuid": "b1ff8fc3-fdcb-426f-87c6-878a99a4dc40",
        "beforeHooks": [],
        "afterHooks": []
      }
    ],
    "tests": [],
    "pending": [],
    "root": true,
    "fullFile": "",
    "file": "",
    "passes": [],
    "failures": [],
    "skipped": [],
    "duration": 0,
    "_timeout": 0,
    "uuid": "cf5f3992-096b-4e53-a1ca-96efc57f9ce4",
    "beforeHooks": [],
    "afterHooks": []
  },
  "copyrightYear": 2018
}

After a little bit of investigation, it seems like the context object needs to be flattened
Changing
context: [
  {
    "title": "Session Id",
    "value": "f640e363-8e71-4948-9427-abe4fb8e799d"
  },
  [
    "Hello",
    "World"
  ]
]

to
context: [
  {
    "title": "Session Id",
    "value": "f640e363-8e71-4948-9427-abe4fb8e799d"
  },
  "Hello",
  "World"
]

resulted in the following generated report, which is perfect

v2.0.1 published to address this issue

authors: fijijavis x-yifeixu


text:
Markdown Input behaves weirdly when content contains double spaces

Package
filament/filament
Package Version
v2.16.19
Laravel Version
v9.32.0
Livewire Version
v2.10.7
PHP Version
PHP 8.1.8
Problem description
When a markdown input contains a double space, the markdown input behaves very weirdly:

Expected behavior
Markdown field to behave as expected

Steps to reproduce
Checkout reproduction repo, add user, then seed. View created user in edit mode.
Reproduction repository
https://github.com/chris-ware/filament-markdown-issue.git
Relevant log output
No response

I tested from your reproduction repository. This issue is because you are using \r\n, whereas if you try to save via form, you will get \n. Why not change your seeder?
Do we have to replace \r\n to \n via component @danharrin?

The purpose of the seeder is to show the issue, so replacing it does nothing.

LF and CR are control characters or bytecode that can be used to mark a line break in a text file.

LF = Line Feed (\n, 0x0A in hexadecimal, 10 in decimal) — moves the cursor down to the next line without returning to the beginning of the line.
CR = Carriage Return (\r, 0x0D in hexadecimal, 13 in decimal) — moves the cursor to the beginning of the line without advancing to the next line.

Did you see the context? I tried with demo.
LF
process.stdout.write('long message first\n')
process.stdout.write('short message\n')

long message first
short message

CF
process.stdout.write('long message first\r')
process.stdout.write('short message\n')

short messagefirst

Fixed by #4360

authors: Kristories chris-ware danharrin

repo: filamentphp/filament


text:
fix missing state in disabled rich editor component

[x] Changes have been thoroughly tested to not break existing functionality.
[not applicable] New functionality has been documented or existing documentation has been updated to reflect changes.
[not applicable] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Rich Editor component in disabled state showed undefined and threw errors on console due to the alpine variable state not being set. Added x-data attribute to entangle the state. No more errors after that and the value is shown correctly.

Fixes #7641

authors: danharrin josefbehr


text:
Manifest power update is insufficient for limiting participants

Specifically, it lets us change power but doesn't let us straight-up set it. So:

If the power goes down, the delta will drop below zero and applying it will fail.
If the participant's power goes up, they'll still have power even if we attempt to remove it.

We need a way to exclude/include participants entirely.

Ahh, I thought the power table delta just straight-up provided a new value for a given power, but from your comment, I'm guessing it is a difference in power.

authors: Kubuxu Stebalien


text:
Show Multi-file size

What feature or improvement do you think would benefit Files?
When you select multiple files and folders, it should calculate the storage size (It currently doesn't show within the properties menu)

Requirements
Not sure...
Files Version
2.5.2.0
Windows Version
10.0.23481.1000
Comments
No response

Thanks for the feedback. I am unable to reproduce this, Can you give the following information.

Were are the file/folders located (local drive, network, cloud storage etc.)

#12664 I encountered the same problem but when I put it in my favorites bar it does not crash

repo: files-community/Files


text:
Side bar suggestions

Add an option to hide the collapsible header if only on sub-item is available

OneDrive and other Cloud Folder should be expandable like in Explorer. Otherwise I could just pin OneDrive to the side bar and would have the same functionality.

Libraries do not show custom created Libraries

Add an option to hide the collapsible header if only on sub-item is available
image

Can you open a new issue for this to start a discussion?

OneDrive and other Cloud Folder should be expandable like in Explorer. Otherwise I could just pin OneDrive to the side bar and would have the same functionality.

This is beyond the scope of our current vision for the sidebar.

Libraries do not show custom created Libraries

Thank you for bringing this up, right now the library section is limited to the default libraries, however, we plan to detect all libraries in the future, can you open a separate issue to track this feature?


text:
Version 2.0.0.0 context menus all too short and have to scroll

Description
Just had version 2.0.0.0 downloaded and now the right-click context menus ALL are truncated length and scroll, even though plenty of space for the full menu to show - this even if the ".... more" option is enabled or disabled.
Steps To Reproduce
1.Right click on any file
2.Context menu shows list, but truncated and needs to be scrolled to get at all items in the list
Expected behavior
Context menu should not scroll UNLESS the resulting menu is too large for the window or screen
Files Version
v2.0.0.0
Windows Version
Windows 10 21H2
Relevant Assets

Merging with #6025


text:
open drive in new tab with middle click

Resolved / Related Issues
Middle click opens drives in new tab.
CTRL + Left click opens drives in new tab.
In widget page only
Details of Changes
Not yet implemented in the SideBar.
CTRL + Left click is implemented for drives only.

@cinqmilleans Which issue does this close?

This is useful for opening multiple tabs from the homepage.

And that's part of the issue on opening tabs.

@cinqmilleans Can you send me a link?

https://github.com/files-community/Files/issues/4511
The rest of the issue will be done soon.

authors: cinqmilleans yaichenbaum


text:
USER command fails with "Need more params"

2015/04/29 11:44:52 D: < {prefix: command:NICK params:[Zhenya_laptop] trailing:}
2015/04/29 11:44:52 D: Adding new user Zhenya_laptop
2015/04/29 11:44:52 D: < {prefix: command:USER params:[Zhenya_laptop 0 * Zhenya] trailing:}
2015/04/29 11:44:52 D: > {prefix:halfling command:461 params:[Zhenya_laptop] trailing:Need more params}

A valid connection:
2015/04/29 11:27:49 D: < {prefix: command:NICK params:[will] trailing:}
2015/04/29 11:27:49 D: Adding new user will
2015/04/29 11:27:49 D: < {prefix: command:USER params:[will "will" "will"] trailing:will}
2015/04/29 11:27:49 D: > {prefix:halfling command:001 params:[will] trailing:Wecome to the Greatest Guys IRC Network Internet Relay Network}

repo: fimad/ggircd


text:
Move pattern compiler to own class

By moving the pattern compiler to its own class we get a better
separation of concerns - PatternRepository is for loading patterns (and
gettting a compiled version), PatternCompiler is for compiling and can
be used with dicts from other sources than PatternRepository.

Hi, I know this is not the greatest piece of engineering work but for now it does what it is supposed to do with the logstash grok pattern files and this is mainly what I am using. I am not a huge fan of big designs but I am sure you have a good point. For now I want to keep it simple as it is. Thank you for your input. -Mark

authors: gbirke markfink

repo: finklabs/korg


text:
Clean up node code

[ ] Clean up the express code
[ ] All routes in separate folder
[ ] All db-code in separate folder
[ ] All required config injected to routes (database abstraction injected from top)
[ ] Upgrade to Node 6

pending pg issue: https://github.com/brianc/node-postgres/issues/1000

[ ] Switch to native promises (drop bluebird)

Working branch is: https://github.com/finn-no/unleash/tree/cleanup_api

Will work further on this issue under PR: https://github.com/finn-no/unleash/pull/127

repo: finn-no/unleash


text:
June 18th, 2024 - Regulation Innovation SIG Meeting Minutes

Regulation Innovation SIG
Date
June 18th, 2024 - 12pm EST / 5pm BST
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes

[ ] Agenda item 1

[ ] Leveraging Open-Source Collaboration and Snowpark for Turnkey Solutions in LCR Compliance - Stephen Goldbaum, Morgan Stanley, Luis Fallas Avendano and Mauricio Rojas Fernandez, Snowflake
[ ] Insights and Innovations in SupTech from the Cambridge SupTech Lab - Matt Grasser, Cambridge SupTech Lab.
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made
Action Items
Join Zoom Meeting
https://zoom.us/j/95819415471?pwd=VmxmeExMcXJFZWs4OGtnTXBiWnVHdz09

Meeting ID: 958 1941 5471
Passcode: 915672
Find your local number: https://zoom.us/u/acoFmoLAFE

Joseph Pollack - Tonic-AI

Tosha Ellison - FINOS

Alan Blanchard - TSO

Ian Sloyan - FINOS/South Cardinal Advisors

Jane Gavronsky / FINOS

Luca Borella / FINOS

Karen Meppen/ Hakkoda

Mauricio Rojas / Snowflake

Luis Fallas / Snowflake

Thank you Matt Grasser for the presentation on SupTech work you are doing at Cambridge University.
Considering the presentation and the one before which demonstrated the technical challenge of complying with just one regulation published by a supervisor. I have a couple of questions/topics for discussion (one long/one short!).

(you partially answered this towards the end but I would like to expand on that in a future discussion -) SupTech and RegTech being separate themes always confused me. Supervisors receive data from entities that they regulate legally, or have some tacit control over, to provide them with data to do their supervisory duties.
Is this actually understood widely by the Supervisory community? - or do they understand the burden and technical challenge faced by financial institutions to collate and prepare all the data to comply?
If it is understood, then key principles of SupTech development must be: reducing the volume of data that is required, reusing data that is already collected, publishing regulations with reference to international data standards (including as regulations code for easy implementation), recycling the instructions/code for different regulations.
(When viewed globally and broken down into constituent parts financial contracts both retail/consumer and wholesale/financial market deal with a pretty manageable menagerie of products and processes which can be well described by some existing global data models/standards - and the supervisory tasks if approached from the same perspective as the institutions (using their same data models) can be greatly enhanced and quality drastically improved. Generally each supervisor is doing the same thing just in a different jurisdiction, but labelling things according to a local taxonomy.)

(a less long winded Question/comment I promised) What regulators and supervisors have been most supportive and open to your work to date?

Hi @iansloyan thanks for the kind feedback and the questions! I'll do my best to answer here with my personal views, but would be happy to connect and discuss more as you see fit.

I'm seeing three components to your question here: whether there is a substantive technical distinction between framing regtech/suptech, whether that is broadly recognized, and what are the fundamental (shared) goals. So I'll do my best to break those out and speak to each.
1.1 Regtech and suptech. Indeed, these two terms have evolved largely separately. In my experience, people generally use "regtech" to refer to compliance tech and other private sector manifestations of data tools for preparation, analysis, and submission of regulatory data, while "suptech" speaks specifically to the tools required by public sector financial authorities to collect, validate, store, process, analyze, and present insights related to their supervisory mandates. This is, for example, the framing that the BIS Innovation Hub has stated explicitly (see page 2, paragraph 2). However, my position for the past decade, which is now the position of the Lab, is that these are "two sides of the same coin" (e.g., a panel I moderated and one of the SupTech Week sessions both referenced this term).
1.2. The recognition. Whether Consumer Protection, Prudential, AML, or otherwise, I have yet to work on a solution that doesn't benefit from at minimum substantial design inputs from supervised entities. In many cases (probably most notably for compliance reporting API clients) the solution itself must include what is typically seen as a "regtech" component to complement the supervisor-facing value (in the case of APIs, this would the server and any downstream analytics platforms). A pain for a supervisor at the collection layer (e.g., redundant data points) tends to correspond to a pain point for the supervised entity (e.g., unnecessary costs borne in producing redundant reports). So as an explicit part of our "supervisor-centered design" that I referenced in the presentation, we collect inputs via questionnaires or interviews with supervised entities to understand their pains, existing tools, etc, and take advantage of this. So I cannot see an optimally designed system functioning without this input, but I am unsure whether that is broadly recognized so formally beyond the Lab.
1.3. The goal. As you aptly observe, in an ideal world there would be exactly one transmission and validation of each relevant data point per period, no more no less. In fact, in one case, we have accomplished this goal at the collection layer working with the Central Bank of the Philippines and supervised entities, building off the prudential case study linked above. Once that data is in place, I also agree that leveraging some of the algorithmic treatment of compliance data from the private sector solutions into the . Many of the vendors in our SupTech Vendor Database include private sector value prop as a core portion of their work. When I created the Practical Data Science for Financial Supervision course, I explicitly made the decision to include several live presentations from private sector providers as part of the curriculum to start this cross-pollination. Transparently, this aspiration plays a role in motivating my engagement with this FINOS community as well, wherein much of the software and community here is sure to be valuable for public sector solutions.

While we commit ourselves to remaining neutral in terms of relationships with financial authorities, I can share that our SupTech Solutions Tracker, our Innovation Leader Residency, and our Application Incubation partners (soon to be published as case studies) each highlight key collaborations with authorities. I will share as a general observation that many innovative suptech solutions we've worked to develop have come from emerging markets, which can tend to surprise people who tend to focus only on the most prominent brands in this space. Whether it's leapfrogging or simply ability to build a suptech-native team from the start, there is often a benefit to having less legacy infrastructure even in the face of less financial resources. But of course we've worked with authorities all along these spectra.

I'll leave it there for now, and hope my matching your questions with even more long winded answers has been helpful :) As mentioned, I'm happy to connect directly and/or return for a follow up presentation as well, if useful.

authors: DGHakkodan Josephrp blanchab eteridvalishvili iansloyan jgavronsky lucaborella89 mr-z-ro sfc-gh-lfallasavendano sfc-gh-mrojas toshaellison

repo: finos/open-regtech-sig


text:
Firebase Auth UI Unable to start activity "AuthMethodPickerActivity" Marshmallow

Device Info:

Android device: Nexus 6P
Android OS version: Marshmallow (23)
Firebase/Play Services SDK version: firebase:firebase-core:16.0.9, firebase:firebase-auth:17.0.0
FirebaseUI version: firebase-ui-auth:5.0.0

When I try to run it on Oreo and Pie the Firebase auth UI works perfectly fine but when using Marshmallow the app crashes. The error is Unable to start activity (com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity)
Please look at the logs below
Logs:
    Process: com.idevelopstudio.looter, PID: 5532
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.idevelopstudio.looter/com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f080142
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
        at android.app.ActivityThread.-wrap11(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
     Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f080142
        at android.content.res.Resources.getValue(Resources.java:1351)
        at android.content.res.Resources.getDrawable(Resources.java:804)
        at android.content.Context.getDrawable(Context.java:458)
        at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:3934)
        at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:3981)
        at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:1969)
        at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:575)
        at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518)
        at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466)
        at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:141)
        at com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity.onCreate(AuthMethodPickerActivity.java:97)
        at android.app.Activity.performCreate(Activity.java:6237)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
        at android.app.ActivityThread.-wrap11(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Thanks for reporting this @ahmermughal, looks like something is going wrong looking up a resource in AuthMethodPickerActivity.onCreate(AuthMethodPickerActivity.java:97).
I will try and reproduce this myself.

Any update on this, @samtstern? I'm hesitant to update to 5.0.0 because of this issue. We have a lot of Marshmallow users, so I'm trying to be careful here.

@Velocity- and @ahmermughal I can't reproduce this problem ... I was able to launch the sample app from this repo on an Android 23 (Marshmallow) emulator with no problem and complete a basic authentication flow.
Can you try with the sample app in this repo (run the app module) and see if you get a crash on your device?  If you don't get a crash then this means there's something else going wrong in your app.  Even though the crash is in FirebaseUI, it could be related to the other dependencies you have or how your app's own resources are being merged in,

I'm facing this issue on Android 6.0 as well. Works perfect on other version. Any thoughts ?

I was get the same problem . I was add .setLogo(R.drawable.logoname)  and that logo was drawable-24 so it crashes .

Thanks, yeah it seems to be icon related on my side as well. Thanks again.

authors: Velocity- ahmermughal rami-alloush samtstern tonmoym2mx

repo: firebase/FirebaseUI-Android


text:
Add RestrictTo to all classes that need it

@SUPERCILEX making sure we have good coverage here and also making sure we can generate compatibility reports that ignore annotated classes.

Also after we get this in I would like to cut and release 3.1.1.  It's been a while since we had a release and we have some good bugfixes in there.

@samtstern Yep, we definitely need a new release. 👍
As for the RestrictTo annotations, couldn't we put them on the package level to simplify things? I tried to make the entire /data package private for us, except for FirebaseUiException but that isn't public yet. (And we need a better package name for when we make it public anyway. 😄) Sadly, /util looks mixed.
What do you think?

I think in an ideal world we'd put them at the package level but the class level gains us a few things:

Less worrying about package boundaries
Clearly visible when reading the source code
Compatibility with the compliance checker tool

So for now I'd like to get it on all of the classes, even if it's redundant.
Looks like FirebaseUiException would be included if we released today.  Do you want that marked restricted?

@samtstern SGTM about the package level annotations. And yeah, I think we should probably restrict FirebaseUiException since we haven't put enough thought into that API (and it's restricted in IdpResponse). Better safe than sorry! 😄

Ok SGTM I will do that and then merge this.  Thanks for the input!

authors: SUPERCILEX samtstern


text:
Module 'FirebaseAuth' not found

After updating to firebase 11.0.0 and firebase-ui 14.2.0 it's not possible to build the project with the error: Module 'FirebaseAuth' not found
Xcode 15.4
macOS 14.6.1 (Sonoma)
Using Swift Package Manager

Example project where the issue happens: https://github.com/joaomvfsantos/FirebaseUITest

I have the same issue

I'm not able to reproduce. I don't see any Swift Packages in the "Example Project". When I add FirebaseUI to it with the specified targets, it builds fine.
Please share a reproducible example.

@paulb777 Thanks for checking. There was a commit missing in the example repository, which I apolagize. Please check again if possible.

@joaomvfsantos Thanks! I've reproduced and will investigate a fix.

Thanks for reporting and sharing the repro. The 14.2.1 release should fix the build issue.

@paulb777 Thanks for the fix. Just as fyi, this change means we need to also import FirebaseAuth in places where before we only needed to import FirebaseAuthUI (if we reference classes from FirebaseAuth). That's fine for me, but for example the sample code does not compile anymore because of this, and should be updated.

We updated the Firestore quickstart. Are you seeing it in other sample code?

@paulb777 I was talking specifically about the sample project in the FirebaseUI-iOS/samples folder.

@joaomvfsantos Thanks for pointing that out. I fixed a few issues with the Swift sample build in #1202.

authors: JoniGoos joaomvfsantos paulb777

repo: firebase/FirebaseUI-iOS


text:
Adds a firebase-adapter blueprint and overwrite config/environment.js

Usage is ember generate firebase-adapter name which will generate an adapter
that extends from FirebaseAdapter.
ember generate firebase-adapter application produces:
// app/adapters/application.js
import config from '../config/environment';
import Firebase from 'firebase';
import FirebaseAdapter from 'emberfire/adapters/firebase';

export default FirebaseAdapter.extend({
  firebase: new Firebase(config.firebase)
});

ember generate firebase-adapter post produces:
// app/adapters/post.js
import config from '../config/environment';
import Firebase from 'firebase';
import FirebaseAdapter from 'emberfire/adapters/firebase';

export default FirebaseAdapter.extend({
  firebase: new Firebase(config.firebase + '/posts')
});

Override config/environment.js
The default generator should override the config/environment.js file to
include the firebase url. Usage:
ember generate firebase --url=https://YOUR-FIREBASE-NAME.firebaseio.com

@tstirrat so this took me a little while to get to grips with. I'd have liked to use ember-inflector but couldn't work out how to require it in the blueprint.

Raise these 2 commits against master once we have the refactor branch merged

closing until https://github.com/firebase/emberfire/pull/188 is merged.

@MattMSumner let me know if you want to raise this again, otherwise, I can cherry pick into a new branch of my own and tidy some things up

Closing in favor of https://github.com/firebase/emberfire/pull/193

authors: MattMSumner tstirrat

repo: firebase/emberfire


text:
Duplicate Notifications Delivered through FC

Environment:

Operating System version: Java 8
Firebase SDK version: 10.11.0
Library version: 8.1.0
Firebase Product: messaging (auth, database, storage, etc)

Problem:
We're seeing multiple instances of a single message being sent via Cloud Messaging using the Firebase Admin SDK, and users seeing duplicates on iOS. We have logs both on the server side, directly before and after on the server side, and on the client side upon receipt in a Notification Service Extension.
We've verified through these logs (tied to data from user screenshots), that the message is sent only once on our server, we receive a success response from the Firebase SDK, and the user receives that exact notification twice.
Server Logs:
16:08:16.542 | al-pool-2228 |  INFO | w.SendNotificationWorker$ | 303 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Successfully sent notification 2273480
16:08:16.537 | al-pool-7377 |  INFO | .n.NotificationDispatcher | 342 | Notification id 2273480 sent status true
16:08:16.537 | al-pool-7377 |  INFO | c.s.f.s.FirebaseService$  | 158 | Submitted notification to Firebase with messageId: projects/{redacted}/messages/{redacted} for notification id: 2273480
16:08:16.336 | al-pool-4602 |  INFO | w.SendNotificationWorker$ |  92 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Sending notification 2273480

Client Logs:
16:08:21.092 AM -0700 |	INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480
16:08:21.091 AM -0700	| INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480

Relevant Code:
val messageId = FirebaseMessaging.getInstance.send(messageBuilder.build)
logger.info(s"Submitted notification to Firebase with messageId: $messageId for notification id: ${notificationId
          .getOrElse(0L)}")

Hi @johnfrancmartin I would encourage you to submit a support request through https://firebase.google.com/support/troubleshooter/contact where you can include the project id. So the FCM team can investigate the issue. Thanks!

Did you find any solution?

Idk the solution but do you know collapse id feature of notification systems( fcm apns hms) to prevent showing two notifications same time?

authors: HirenXL emindeniz99 johnfrancmartin lahirumaramba

repo: firebase/firebase-admin-java


text:
Some strange crashes after upgrading to 6.24.0.

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.4.1
Firebase SDK version: 6.24.0
Firebase Component: FirebaseCrashlytics
Component version: 6.24.0
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
After upgrading firebase to 6.24.0, crashlytics reported some strange crashes.

None of them have a clear crash stack trace or an exact crash message, such as:

Unfortunately, I'm not currently able to reproduce them locally.
Correspondingly, I also saw a crash record from Apple, not sure if they are related.

Can anyone give me some advice?

By the way, I was using NewRelicAgent 6.10.0 at the same time, but disabled its crash report.

@luoxiu As you experience strange crashes and potentially unexpected behaviour, I would suggest to double check if you use Firebase or another static library from a dynamic framework in your app. This Stack Overflow answer provides some details and workarounds for such issues.

Will try.

authors: luoxiu maksymmalyhin

repo: firebase/firebase-ios-sdk


text:
Reached max OAuth Clients of iOS Project

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.5
Firebase SDK version: 6.24
Firebase Component: Core / All
Component version:
Installation method: Carthage

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
We use one Firebase project and have many iOS apps in it. We now reached the limit of OAuth Clients for that project since Firebase creates one per app in contrast to Android which has only one in the whole project. The OAuth Client Id is created in GoogleCloudPlatform Credentials site and referenced in the Google-Services-Info.plist via the key CLIENT_ID. We had 30 IDs since the IDs of apps we already deleted from Firebase where not deleted on GCP.
My question is what this is actually for and what would happen if we delete the OAuth-Client ID?

In the future, these kinds of questions (non-SDK, console-only) should be directed to Firebase Support.
Maybe @MeghaB knows the answer?

Yeah we tried to contact the support first but this was maybe too technical. Thats why we try to formulate our concrete questions here.

Noted, can you provide me the support case number? You shouldn't have to worry about support cases being too technical; in that case the support staff will escalate those cases to the SDK team here anyway.
The reason I mentioned these cases should go through support is because we can much more easily look at your Firebase project with an open support case than we can through GitHub issues.

So here we go:
Case 00060698: Adding App - Resource has been exhausted [ ref:_00D1Ux0Jq._5003p2PBZhZ:ref ]

I wasn't able to find a satisfying answer from my relatively shallow digging around. If more people run into this, I'll re-open the issue and investigate further.

It was because deleting the Firebase app didn't delete the oAuth client from Google Cloud Platform. After purging them I was able to create a new FB app.

authors: Blackjacx morganchen12 stherold


text:
Firebase Crashlytics Not working as expected for Carthage

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.1
Firebase SDK version: n/a
Installation method: Carthage
Firebase Component: Crashlytics

[REQUIRED] Step 2: Describe the problem
As I followed the instructions to set up Firebase Crashlytics using Carthage: https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md - I keep getting this error in the console: "Line 61: 13058 Killed: 9

I believe this could be project related as I am using the same script with Carthage in another project and it is building successfully and working as expected.
Relevant Code:
This is my script:

I fixed this by re-downloading the 'run' and 'upload-symbols' files


text:
Add --pods option

Making it easier to use the zip-builder from the command line.
Now the common use case should be one option: `--pods
#no-changelog

Nice!

Nice!


text:
Angular 2 Pipes and NormalizedRef.toString()

Ever since I watched Sara Robinson's talk at AngularConnect earlier this year I started using the pipes she used in her presentation to display data with ngFor.
However, it seems that this will only work if you pass in a valid firebase url and then pipe an event like child_added or value, for example.
My question is, when it comes to normalizing paths and then retrieving the merged url (like it's possible to do when you call NormalizeCollection and then call toString()), will it ever be possible to enable this kind of merged path be a valid url to use along with those pipes?
In her example, she had the following template:
*ng-for="#message of firebaseUrl | firebaseevent:'child_added'">
{{message.name}}: {{message.text}}
and firebaseUrl being:
this.firebaseUrl = "https://angular-connect.firebaseio.com/messages";
What I wanna ask is, what if I needed that firebaseUrl to be a product of a normalization?
normalizeSomething(masterRef, indexRef){
let normalizedRefUrl = new Firebase.util.NormalizedCollection([masterRef, "indexed"], [indexRef, "something"]).select(
"indexed.$key",
"something.field"
).ref().toString();
return normalizedRefUrl;
}
Will we ever be able to use that pipe with that normalizedRefUrl? Or it's just a feature for normal firebase users who won't be using firebase-util?

Hi Luis,
I'm pretty sure the only change you'd need to make here is to pass in the Firebase ref, rather than passing in a string. It looks like you'd need to either change this line to be private _fbRef:Object; or change NormalizedRef to extend Firebase--something we'd need to do anyway to make Firebase-util ES6 compliant.
☼, Kato

Alright, thanks Kato. I'll try that.

Cheers. We'll be putting some time and energy into Angular2 in the new year. I'll get together with @davideast and @jeffbcross and make sure we consider this use case as well in our designs.

authors: LuisOliveiraAlves katowulf

repo: firebase/firebase-util


text:
Update dependencies: 🔥 Firebase 8 and ⚛ React 17

Match firebaseui-web's Firebase peerDependencies version
React 17
Update some other dependencies
Fix example's createfirebaseconf script

This has been published to npm with a canary tag. Try it out by running:
npm install react-firebaseui@canary

Sorry if this is a stupid question, will this fix this import error? https://github.com/firebase/firebaseui-web-react/issues/114
Attempted import error: 'app' is not exported from 'firebase/app' (imported as 'firebase').

Just asking because I couldn't spot any relevant changes in the diff.

I had almost no issue with the canary yet, no import issue (React 17)
The only things was that I needed it to pin the firebaseui version to 4.7.3 to benefit for the auth emulator fixes.

@jhuleatt Sorry for asking, but why is this still not merged to master after 4 months? 😀

Please merge this soon. Firebase 8 has been out for 5 months.

Not to dog-pile, but yeah, would love to drop the need for @canary on this one...

react-firebaseui version 5.0.0 has been published

authors: HugoGresse OrhanTozan brendanmc6 david-wb jhuleatt tomseago

repo: firebase/firebaseui-web-react


text:
Memory leak with PhoneAuthProvider

Step 1: Are you in the right place?
Issues related to the code in this repository.
Step 2: Describe your environment

Android device: Nexus 5X / Moto G5 Plus
Android OS version: 7.1.2 / 7.0.0
Google Play Services version: 11.2.0
Firebase/Play Services SDK version: 11.2.0

Step 3: Describe the problem:
PhoneAuthActivity is leaking. I believe, it might be OnVerificationStateChangedCallbacks, which we are sending on call to verifyPhoneNumber.
Steps to reproduce:

Launch the app
Select "PhoneAuthActivity" for phone based authentication
Sign in.
Click back.

Observed Results:

Memory leak is coming on hprof reports.

Leak track 1:
com.google.firebase.quickstart.auth.PhoneAuthActivity@317662720 (0x12ef2600)
--- (leak) zwbWR in com.google.android.gms.internal.jw@314986400 (0x12c64fa0)
------- (leak) zzbXd com.google.android.gms.internal.kl@314953312 (0x12c5ce60)
----------- (leak) zwbWR in com.google.android.gms.internal.jw@314986400 (0x12c64fa0)
------- com.google.android.gms.internal.jb@314960960 (0x12c5ec40)
--- android.support.v7.widget.AppCompatTextView@317902848 (0x12f
--- com.google.android.gms.internal.jb@314960960 (0x12c5ec40)
--- android.support.v7.widget.AppCompatTextView@317902848 (0x12f2d000)
--- android.app.ContextImpl@317160464 (0x12e77c10)
--- android.support.v7.widget.AppCompatEditText@317910016 (0x12f2ec00)
--- com.android.internal.policy.PhoneLayoutInflater@317202288 (0x12e81f70)
Leak track 2:
com.google.android.gms.internal.zzdjv@721758912 (0x2b052ac0)
--- (leak) zzlie in com.google.android.gms.internal.zzdkk@722195072 (0x2b0bd280)
------ zzlhl in com.google.android.gms.internal.zzdjv@721758912 (0x2b052ac0)
------ java.lang.ref.FinalizerReference@722192712 (0x2b0bc948)
--- zzhlc in com.google.android.gms.internal.zzdja@722095152 (0x2b0a4c30)
------ zzlhq in com.google.android.gms.internal.zzdjv@721758912 (0x2b052ac0)
------ (leak) zzlie in com.google.android.gms.internal.zzdkk@722195072 (0x2b0bd280)
------ com.google.android.gms.internal.zzdja@722095152 (0x2b0a4c30)
Expected Results:

It shouldn't leak the activity.

Relevant Code:
It is happening with the provided sample PhoneAuthActivity.

I think, It is leaking at below class
`package com.google.android.gms.internal;

import android.os.RemoteException;
import com.google.android.gms.common.internal.zzbp;
import com.google.android.gms.internal.zzdki;
import com.google.android.gms.internal.zzdle;
import com.google.firebase.auth.PhoneAuthProvider.OnVerificationStateChangedCallbacks;

final class zzdjv extends zzdki<Void, OnVerificationStateChangedCallbacks> {
  private final zzdle zzlhf;

  public zzdjv(zzdle var1) {
      super(8);
      this.zzlhf = (zzdle)zzbp.zzu(var1);
  }

  public final void dispatch() throws RemoteException {
      this.zzlhn.zza(this.zzlhf, this.zzlhl);
  }

  public final void zzbof() {
  }
}
`

@jyothiasapu thanks for reporting this memory leak!  I will investigate and let you know if I find anything interesting.

is the memory leak solved?

@samtstern It is leaking activity instances. Many apps are affected. I am using version 16.1.0. Can you please provide the solution?

I am getting the same issue what @kagile mentioned with 16.1.0. Any new updates on this issue?

Hey all.  Apologies for not getting back to this sooner but I have brought this to the attention of the team that makes the Firebase Auth SDK. We'll see what we can find!

Passing an executor instead of the activity did work for me:
phoneAuth.verifyPhoneNumber(phone, 60, TimeUnit.SECONDS, HandlerExecutor(mainLooper), onVerificationStateChangedCallbacks)

Is this issue solved?
I think we need a proper method to detach the onVerificationStateChangedCallbacks, because it causes memory leak in case the Activity is destroyed before verification process is completed!! Any suggestions?

still nothing?

The Firebase Authentication Android SDK has been updated in version 20.0.0 and I think this leak has been fixed. Closing the issue for now

authors: Karimit j1lee2 joshid jyothiasapu kagile nerrydanna nico6122 samtstern thatfiredev

repo: firebase/quickstart-android


text:
FCM Sending HTTP Post request gives error code 400()

I am using HTTP POST request to give notification to authors on my web-app that their stories are approved by our admin.
My payload looks like this
var payload = {
  "notification": {
    "title": "Story Approved!",
    "body": "Your story is approved"
  },
  "to" : to
}

This is my request
$.ajax({
  type: 'POST',
  url: 'https://fcm.googleapis.com/fcm/send',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'key='+serverKey
  },
  data: payload,
  success: function(response){
    console.log(response);
  },
});

Whenever I try to send the request it gives me the following error

POST https://fcm.googleapis.com/fcm/send 400 ()

I am kinda new to this and according to https://firebase.google.com/docs/cloud-messaging/http-server-ref#error-codes

Invalid JSON 400 Check that the JSON message is properly formatted and contains valid fields (for instance, making sure the right data type is passed in).

But I cannot figure out where I am wrong. Any help would be appreciated

Maybe try data: JSON.stringify(payload)

@gauntface It worked. Thanks a lot.

authors: gauntface theakshaygupta

repo: firebase/quickstart-js


text:
update npm with version 4.26.4

thank you for your really time saving tool :)

Oh, god.. I need to automize this procedure 😄 Coming up

authors: firecow thelittlebug

repo: firecow/gitlab-ci-local


text:
Release 0.21.0

Signed-off-by: xibz impactbchang@gmail.com
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I'd love to upgrade, we have an issue that's been fixed in firecracker 0.21. Please cut the release :)

authors: jeromegn xibz

repo: firecracker-microvm/firecracker-go-sdk


text:
Integration tests

Add e2e testing for Apple

We can use existing integration testing infrastructure: portal seeds and docker-compose that is used to test traffic flows. This will also allow to run those locally.

authors: AndrewDryga jamilbk

repo: firezone/firezone


text:
Prevent removing the last authentication method

https://discourse.firez.one/t/there-are-no-login-methods/183/3

There are reasons why an admin may want to disable login. Closing for now.


text:
feature(portal): Add styled errors pages (404, 422, 500)

Closes #2136
Screenshots for 404 and 500

As a quick note, I pretty much just followed this doc page: https://hexdocs.pm/phoenix/custom_error_pages.html
@AndrewDryga If there is a better way of doing this just let me know and I'll update the PR.

LGTM. I always dreamed about nice funny error pages like those https://codepen.io/affectionatelettuce/pen/BarrJKJ but we need a designer for that :).

but we need a designer for that :).

I'm sure there's an AI tool that can make us one!

Yeah, I'm down to make something funnier, I just did these because it was easy.  I'm no animator though, I'd definitely need to find a pre-made animation if we wanted to do something like you linked.

Cool it! You're making too many requests

ChatGPT did an image for us:

authors: AndrewDryga bmanifold jamilbk


text:
add French translation

see wiki page Français.

Merci!

authors: edouard-lopez jbucaran

repo: fisherman/fisherman


text:
Support for 0.14.0

update instructions for running presto locally in docker
use per-thread connections as implemented in 0.14.0
bump to use dbt v0.14.0
fix for "base" adapter macros which implemented unsupported SQL (replace ilike with the presto equivalent)

I ran the entire data pipeline successfully.
Thanks @drewbanin!

Great, thanks @rmgpinto! I'll get this merged and released on PyPi this week

authors: drewbanin rmgpinto

repo: fishtown-analytics/dbt-presto


text:
Changed QR Code location fix

If QR Code in the window goes missing, the bot stopped working. Now it'll try 5 times to search for QR Code before stopping the bot.

Thanks for the contribution

repo: fishyboteso/fishyboteso


text:
Add support for reading/writing with multiple encodings

With Webnative 0.35 you can only read and write Uint8Arrays.
There should be support for other encoding, such as UTF8 strings.
@matheus23 suggested the encoding option from https://nodejs.org/api/fs.html#filehandlereadfileoptions
We could do something like:
fs.write({ bytes: Uint8Array })
fs.write({ text: "Text", encoding: "utf8" })

This may be a duplicate of #269 now.
I'm biased, but I'd vouch for the 2 positional parameters and an optional third "options" parameter that contains the { encoding: "utf8" } object (as I've suggested in that issue).
For read this looks like: fs.read(path, { encoding: "utf8" }).
This means it's less of a breaking change & it's potentially more familiar to JS developers.
For write, I feel like we have the option of "auto-detecting" the encoding. I.e. if a string is passed, we assume UTF8.
However, that may not be ideal: It may be surprising that .write accepts a string but subsequently returns a Uint8Array if the same file is .read.
So perhaps, it'd make sense to only allow passing a string if the encoding parameter is explicitly set to UTF8.
So, personally I'd be in favor of these types:
fs.read(path: FilePath): Promise<Uint8Array>
fs.read(path: FilePath, options: { encoding: "utf8" }): Promise<string>

fs.write(path: FilePath, bytes: Uint8Array)
fs.write(path: FilePath, text: string, options: { encoding: "utf8" })

Oh whoops, forgot about that issue.
fs.write(path: FilePath, bytes: Uint8Array)
fs.write(path: FilePath, text: string, options: { encoding: "utf8" })

That works too yeah, I have no strong preference.

So perhaps, it'd make sense to only allow passing a string if the encoding parameter is explicitly set to UTF8.

Yes exactly, that's what I was trying to achieve as well. I assumed it'd be easier to do in Typescript with my syntax, rather than yours, but I could be wrong. But yeah, your syntax is more familiar.

Yes exactly, that's what I was trying to achieve as well. I assumed it'd be easier to do in Typescript with my syntax, rather than yours, but I could be wrong. But yeah, your syntax is more familiar.

You are correct that it's easier, but still possible. Here's how node.js defines the readFile type:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4805c8405fb64154def301a763c40328ccfb612c/types/node/fs.d.ts#L2532-L2554
Essentially it'd boil down to function type overloading. Something like this in our case:
export function read(path: FilePath): Promise<Uint8Array>;
export function read(path: FilePath, options: { encoding: "utf8" }): Promise<string>;
export function read(path: FilePath, options?: { encoding?: string }): Promise<Uint8Array | string> {
  // impl
}

Oh you can do function overloading in Typescript?! How did I not know this 😲
Ok yeah, that's better 👍

repo: fission-codes/webnative


text:
[Feature] Add status columns to the invoice table

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
The below columns to be added
STATUS_TRANSITIONS_FINALIZED_AT
STATUS_TRANSITIONS_PAID_AT
STATUS_TRANSITIONS_VOIDED_AT
STATUS_TRANSITIONS_MARKED_UNCOLLECTIBLE_AT
Describe alternatives you've considered
None
Are you interested in contributing this feature?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
[ ] No.

Anything else?
No response

Let me know if I can go ahead and raise PR on this change

Hi @lijol thank you for raising this ticket! We have updated the invoice table  to include these fields. As such I will close this issue!

authors: fivetran-reneeli lijol


text:
#179 Updated pages in the Home section in the documentation

The pages in the Home section in the documentation have been updated with some modification of README.md.
Many descriptions which were put in README.md have been moved to the documentation leaving a link to the associated page.
TODO:
Currently, the descriptions in the documentation and README.md have to be separately managed, which we have to improve for future maintainability.
But not handled in this PR.

coverage: 100.0%. remained the same
when pulling 9d880f9d1ccea498ad6beb5195cbeee90f9122c7 on feature/179_complete_home_pages
into 0c1ba1e0af8f7c887160d33415b58de789fbe87a on develop.

authors: coveralls fktn-k

repo: fktn-k/fkYAML


text:
improve detectImage

The original detectImage function may result in confusing output when not all keypoints are detected, like the following picture:

Such confusing output was reported as a bug in issue #115
Here is how this problem was caused: in the original detectImage function, keypoints that were not detected will be assigned a random coordinate, as follows:
if (Number.isInteger(subset[i]) && subset[i] >= 0){
    li.push(candidate[subset[i]])
}else{
    const ra_width = Math.floor(Math.random() * openpose_editor_canvas.width)
    const ra_height = Math.floor(Math.random() * openpose_editor_canvas.height)
    li.push([ra_width, ra_height])
}

As a result, we see undetected keypoints scattered randomly on the image, and the detected pose is confusing.
I made some change to fix this. Specifically, the position of each undetected keypoint will be determined by its adjacent detected keypoints, rather than being randomly determined. This will improve the detection results.
// bfs propagate
while(li.some(([x,y])=>x===-1&&y===-1)){
    for(i=0;i<li.length;i++){
        if(li[i][0]===-1){
            continue;
        }
        for(j=0;j<li.length;j++){
            if(li[j][0]===-1 && kp_connect(i,j)){
                x = li[i][0] + default_relative_keypoints[i][j][0]
                y = li[i][1] + default_relative_keypoints[i][j][1]
                x = Math.min(Math.max(x, 0), openpose_editor_canvas.width);
                y = Math.min(Math.max(y, 0), openpose_editor_canvas.height);
                li[j] = [x,y];
            }
        }
    }
}

For more information, please see the code difference in the pull request.
Here is the detection result using the new code, it's much less confusing:

In a word, this pull request improved the detectImage function to avoid confusing output. Please consider accept it.

LGTM


text:
Dashboard not showing values even when they appear in LOG

Hello.
First of all . Thank you for Batmon for HA. I use your addon for our camping trailer and its been amazing.
I am having an issue with the values showing on my dash board. As you can see I get all the data in the log file but when I'm looking at the entities card I only get some data and some of it as unavailable. A simple example of this is the cell voltages. Often one of them are unavailable for extended periods of time.  You will see in the picture Bat2 shows in the log but not on the dashboard. Not sure If HA changed something or Batmon. I did just update everything.
I have tried the rebuild option in the batmon addon section
I have uninstalled and reinstalled.
I have rebooted HA several times.
I have tried multiple config settings and even tried different names.
I hope I have supplied enough information. Thank you
LOG:
BEGIN
 File "/app/bmslib/sampling.py", line 103, in sample
    async with bms:
  File "/app/bmslib/bt.py", line 293, in __aenter__
    await self.connect()
  File "/app/bmslib/models/jbd.py", line 53, in connect
    await super().connect(**kwargs)
  File "/app/bmslib/bt.py", line 189, in connect
    await self._connect_client(timeout=timeout)
  File "/app/bmslib/bt.py", line 153, in _connect_client
    await asyncio.wait_for(self.client.connect(timeout=timeout), timeout=timeout + 1)
  File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bleak/__init__.py", line 531, in connect
    return await self._backend.connect(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bleak/backends/bluezdbus/client.py", line 141, in connect
    async with async_timeout(timeout):
  File "/usr/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
TimeoutError
22:04:58 INFO [mqtt_util] subscribe homeassistant/switch/Bat1/charge/set
22:04:58 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:04:58 INFO [sampling] Bat1 volt=[3424,3421,3458,3414] temp=[17.8, 18.3, 18.2]
22:04:58 INFO [sampling] JbdBt(A4:C1:38:E3:7F:9D,Bat1) times: connect=17.00s fetch=0.17s
22:04:58 INFO [sampling] connecting bms JbdBt(A4:C1:38:35:68:81,Bat2)
22:05:20 ERROR [sampling] Bat2 error: <class 'TimeoutError'>
22:05:20 INFO [sampling] Bleak version 0.20.2
22:05:20 INFO [sampling] connecting bms JbdBt(A4:C1:38:35:68:81,Bat2)
22:05:22 INFO [sampling] connected bms JbdBt(A4:C1:38:35:68:81,Bat2)!
22:05:22 INFO [sampling] Bat2 subscribing for {'discharge': True, 'charge': True} switch change
22:05:22 INFO [mqtt_util] subscribe homeassistant/switch/Bat2/discharge/set
22:05:22 INFO [mqtt_util] subscribe homeassistant/switch/Bat2/charge/set
22:05:22 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:23 INFO [sampling] Bat2 volt=[3434,3465,3397,3413] temp=[17.9, 18.5, 18.1]
22:05:23 INFO [sampling] JbdBt(A4:C1:38:35:68:81,Bat2) times: connect=2.77s fetch=0.16s
22:05:23 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:23 INFO [sampling] Bat1 volt=[3425,3420,3458,3416] temp=[17.8, 18.3, 18.2]
22:05:27 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:27 INFO [sampling] Bat2 volt=[3433,3465,3396,3412] temp=[17.9, 18.5, 18.1]
22:05:27 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:27 INFO [sampling] Bat1 volt=[3425,3420,3457,3416] temp=[17.8, 18.3, 18.1]
22:05:31 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:32 INFO [sampling] Bat2 volt=[3433,3465,3397,3413] temp=[17.9, 18.6, 18.1]
22:05:32 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:32 INFO [sampling] Bat1 volt=[3424,3420,3457,3414] temp=[17.8, 18.3, 18.1]
22:05:36 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:36 INFO [sampling] Bat2 volt=[3433,3465,3397,3412] temp=[17.9, 18.6, 18.1]
22:05:36 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:36 INFO [sampling] Bat1 volt=[3425,3421,3457,3414] temp=[17.8, 18.3, 18.2]
22:05:40 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:40 INFO [sampling] Bat1 volt=[3423,3421,3457,3414] temp=[17.8, 18.3, 18.2]
22:05:40 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:41 INFO [sampling] Bat2 volt=[3433,3465,3396,3411] temp=[17.9, 18.5, 18.1]
22:05:45 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:45 INFO [sampling] Bat2 volt=[3433,3465,3396,3411] temp=[17.9, 18.6, 18.1]
22:05:45 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:45 INFO [sampling] Bat1 volt=[3425,3420,3457,3414] temp=[17.8, 18.3, 18.2]
22:05:49 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:50 INFO [sampling] Bat1 volt=[3425,3421,3457,3414] temp=[17.8, 18.3, 18.2]
22:05:50 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:50 INFO [sampling] Bat2 volt=[3433,3465,3396,3412] temp=[17.9, 18.6, 18.1]
22:05:54 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:54 INFO [sampling] Bat1 volt=[3424,3420,3457,3416] temp=[17.8, 18.3, 18.2]
22:05:54 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:54 INFO [sampling] Bat2 volt=[3433,3465,3396,3411] temp=[17.9, 18.6, 18.1]
22:05:58 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:59 INFO [sampling] Bat1 volt=[3424,3422,3458,3414] temp=[17.8, 18.3, 18.1]
22:05:59 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:05:59 INFO [sampling] Bat2 volt=[3434,3465,3396,3412] temp=[17.9, 18.6, 18.1]
22:05:59 INFO [sampling] JbdBt(A4:C1:38:35:68:81,Bat2) times: connect=0.00s fetch=0.15s
22:06:03 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:03 INFO [sampling] Bat2 volt=[3433,3465,3397,3412] temp=[17.9, 18.5, 18.1]
22:06:03 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:03 INFO [sampling] Bat1 volt=[3425,3420,3457,3414] temp=[17.8, 18.3, 18.2]
22:06:07 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:08 INFO [sampling] Bat2 volt=[3433,3465,3396,3412] temp=[17.9, 18.5, 18.1]
22:06:08 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:08 INFO [sampling] Bat1 volt=[3424,3421,3457,3414] temp=[17.8, 18.3, 18.2]
22:06:08 INFO [sampling] JbdBt(A4:C1:38:E3:7F:9D,Bat1) times: connect=0.00s fetch=0.14s
22:06:12 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:12 INFO [sampling] Bat1 volt=[3425,3420,3457,3416] temp=[17.8, 18.3, 18.2]
22:06:12 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:12 INFO [sampling] Bat2 volt=[3434,3465,3397,3412] temp=[17.9, 18.6, 18.1]
22:06:17 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:17 INFO [sampling] Bat2 volt=[3434,3465,3397,3411] temp=[17.9, 18.5, 18.1]
22:06:17 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:17 INFO [sampling] Bat1 volt=[3425,3421,3458,3416] temp=[17.8, 18.3, 18.2]
22:06:21 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:21 INFO [sampling] Bat1 volt=[3423,3420,3457,3414] temp=[17.8, 18.3, 18.2]
22:06:21 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:21 INFO [sampling] Bat2 volt=[3433,3465,3396,3411] temp=[17.9, 18.6, 18.1]
22:06:26 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:26 INFO [sampling] Bat1 volt=[3423,3421,3457,3414] temp=[17.8, 18.3, 18.1]
22:06:26 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:26 INFO [sampling] Bat2 volt=[3433,3465,3396,3411] temp=[17.9, 18.6, 18.1]
22:06:30 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:30 INFO [sampling] Bat2 volt=[3433,3465,3396,3412] temp=[17.9, 18.6, 18.1]
22:06:30 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:30 INFO [sampling] Bat1 volt=[3423,3421,3457,3414] temp=[17.8, 18.3, 18.1]
22:06:35 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:35 INFO [sampling] Bat2 volt=[3434,3465,3397,3412] temp=[17.9, 18.6, 18.1]
22:06:35 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:35 INFO [sampling] Bat1 volt=[3425,3421,3458,3416] temp=[17.8, 18.3, 18.2]
22:06:39 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:39 INFO [sampling] Bat2 volt=[3434,3465,3397,3412] temp=[17.9, 18.6, 18.1]
22:06:39 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:39 INFO [sampling] Bat1 volt=[3423,3421,3457,3414] temp=[17.8, 18.3, 18.2]
22:06:44 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:44 INFO [sampling] Bat1 volt=[3425,3420,3457,3414] temp=[17.8, 18.3, 18.2]
22:06:44 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:44 INFO [sampling] Bat2 volt=[3434,3465,3396,3412] temp=[17.9, 18.6, 18.1]
22:06:48 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:48 INFO [sampling] Bat1 volt=[3425,3421,3457,3416] temp=[17.8, 18.3, 18.2]
22:06:48 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:48 INFO [sampling] Bat2 volt=[3434,3465,3397,3411] temp=[17.9, 18.6, 18.1]
22:06:48 INFO [sampling] JbdBt(A4:C1:38:35:68:81,Bat2) times: connect=0.00s fetch=0.16s
22:06:53 INFO [sampling] Bat2: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:53 INFO [sampling] Bat2 volt=[3433,3465,3396,3412] temp=[17.9, 18.6, 18.1]
22:06:53 INFO [sampling] Bat1: BmsSampl(100.0%,U=13.7V,I=0.00A,P=0W,Q=120.0Ah/120,mos=nan°C)
22:06:53 INFO [sampling] Bat1 volt=[3425,3421,3458,3416] temp=[17.8, 18.3, 18.2]
END

Same problem. Values present after restart but disappear later. Backup restore and reinstall doesn't help :(

Try to increase expire_values_after in the options (e.g. set it to 300)


text:
Add Kubernetes auditing support for vSphere clusters

Extend the auditing configurations that were added in https://github.com/flanksource/platform-cli/pull/233 to also cover vSphere clusters

Implemented with https://github.com/flanksource/platform-cli/pull/264

repo: flanksource/platform-cli


text:
Swagger HTML not loading when I am serving with Angular Front end and flask server in /api

Hi,
I currently have an angular front end that is run on mydomain.com/
My flask backend runs on mydomain.com/api
Both routes are managed by nginx.
When I try to access flasgger (by going to either mydomain.com/api/apidocs), the HTML is not being correctly served.
Kindly let me know how to resolve this issue.
I have looked at various similar issues and the fixes don't seem to be working.
I have given below the nginx configuration that I have used:
location /{
try_files $uri $uri/ /index.html;
#add_header Last-Modified $date_gmt;
#add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
#if_modified_since off;
#expires off;
#etag off;
}
location /api {
proxy_pass         http://127.0.0.1:5007/;
proxy_set_header  Host $host;
proxy_set_header  X-Real-IP $remote_addr;
proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header  X-Forwarded-Host $server_name;
}
location /apidocs {
proxy_pass         http://127.0.0.1:5007/apidocs;
proxy_set_header  Host $host;
proxy_set_header  X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header  X-Forwarded-Host $server_name;
}

Attaching a screenshot of the error

Could you screenshot the console in the "Inspect Element" tab of your browser?

The path to the flasgger static files are not being found.
I have tried using basePath.. but i am not sure if I had tried it correctly

We got a temporary patch by removing all the NGINX routes that were not relevant.
It looks like an NGINX issue on the face of things

Looks like /flasgger_static is served at an unintended location or not being served. Hope that you can figure it out. On a side note, you can also specify external static files like this if other solutions don't work out.  (The example is for Swagger UI v3)

I tried that for V2 before posting this (I think) and it did not work.

Thanks. I’ll maybe look into that

Hi @SunilPadasala, did you try to follow this piece of documentation?
https://github.com/flasgger/flasgger#behind-a-reverse-proxy
On my project, we used werkzeug's ProxyFixinstead of the suggested solution on Flasgger's documentation, that worked too. The issue is that Flask is not aware ofapiprefix, Nginx is forwarding request and cutting off/apipart. If you openindex.htmlvia Developer Tools, you will see that URLs to static files do not include/apiprefix.ProxyFix` will deal with it.

Hi all. I am having the same problem after using a custom index.html template. I copied the index.html as instructed here. But when I place the file in templates/flasgger/index.html none of the static files are served. They all return a 404.

authors: SunilPadasala billyrrr caseydm minotru

repo: flasgger/flasgger


text:
remove redundant reversals from all clients

This is a follow up to #232, but for all the other clients as well.
Previously we reversed a vec, which was made by (effectively) zipping together two reversed vecs, now we just skip all the reversals for the same end result.
Note that I haven't personally tested the .cs changes because I don't have a build environment set up for that, but I'm hoping CI will catch any issues there.

Ok since you are now two claiming that it's redundant perhaps you are right. :) I still want to think it through some more... and make absolute certain it doesn't affect index structure because that would break compatibility. As mentioned elsewhere this logic was changed/added as part of spatial index structure changes in spec v3 with the most important change that the tree was turned up side down. That work was done in https://github.com/flatgeobuf/flatgeobuf/pull/40 and specifically https://github.com/flatgeobuf/flatgeobuf/pull/40/commits/8e9820a30ba857b747038021691afd839c00dfc1 added the reversals.

I've added #234 to help verify correctness. With #234 you can easily generate FGB files from geojson to compare outputs.
For example you can run this command on different shas to compare the output of FGB's generated from test/fixtures/*
cd src/cpp
DIR=output-$(git rev-parse --short HEAD); mkdir -p $DIR; for file in test/fixtures/*; do build/geojson2fgb $file > $DIR/$(basename $file.fgb); done

Comparing the output before and after 7d11892700c56488e5a32404df494f11749d83dc produces the same result.
Intentionally breaking things, e.g. removing 2 of the three reversals, generates different binaries.

Hmm same CI issue as in https://github.com/flatgeobuf/flatgeobuf/pull/234#issuecomment-1219753943.

Ok I'm pretty convinced at this point.

authors: bjornharrtell michaelkirk

repo: flatgeobuf/flatgeobuf


text:
Block chatGPT

We should probably block chatGPT from access, as it's not giving anything back.
https://twitter.com/GergelyOrosz/status/1688829094249615360?t=UNnQLB0QFF8SV2ehNLrQZA&s=19

Docs are here https://platform.openai.com/docs/gptbot

repo: flathub/website


text:
Berlin style fixes

Couple of papercuts on the stylesheet we found during the Berlin GUADEC

I don't think we want the font part. The next.js docs seem clear how they like fonts to be included https://nextjs.org/docs/basic-features/font-optimization even if we're not using a google font.

I understand it's part of the framework, but it's really stepping all over the founding stones of web design. Moving CSS properties into classes, making fonts only work with javascript.
I'll separate the font issue.

I'm not sure if that's true, the ssr/static site generation might still
render it fine.
Jakub Steiner @.***> schrieb am Do., 28. Juli 2022,
18:40:

I understand it's part of the framework, but it's really stepping all over
the founding stones of web design. Moving CSS properties into classes,
making fonts only work with javascript.
I'll separate the font issue.
—
Reply to this email directly, view it on GitHub
https://github.com/flathub/website/pull/486#issuecomment-1198386199, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNLEZG5KGVUDDGDQHRAGW3VWKZZJANCNFSM54PWDHGA
.
You are receiving this because you commented.Message ID:
@.***>

I've looked into font optimization and it just doesn't work at all unless you're using Google Fonts. I'd say let's do whatever works given Next.js stance on it.

yeah, let's just do css fonts for now, as it's unclear, when they will correctly support different font providers. The current implementation probably was due to us hoping it would be soon and then just would work. That's probably not going to happen, as far as I read.

authors: barthalion jimmac razzeee


text:
[feature] Lomb-Scargle Periodograms for Multiband Data

Hello,
I’m amazed by the performance of the fastnifty method for Lomb-Scargle analysis, and I have started to use it everywhere for LSST analysis (with millions of periods to extract)! I was wondering if there are any plans to add this feature for the multiband version?

Thanks for the detailed answer!

In other words, you might be able to use the Astropy interface with sb_method="fastnifty" and get a speedup.

Indeed, good catch. It works out of the box with the default configuration, with a ~5x speed-up compare to astropy implementation.

Do you know if you need the fast or flexible method? If fast is acceptable, it would be good to know if the fastnifty backend works for you.

Fast is acceptable so far, the results I get are completely decent. However playing a bit with the parameters, I found that setting sb_method="fastnifty" does not allow to have the number of frequency terms (common and per-band) higher than 1:
model = LombScargleMultiband(
    time, mag, filters, error, nterms_base=2, nterms_band=1
)

frequency, power = model.autopower(method="fast", sb_method="fastnifty")
---------------------------------------------------------------------------
ValueError: nterms != 1 only supported with 'chi2' or 'fastchi2' methods

https://github.com/astropy/astropy/blob/bf1103e5061d4a13c928afcaa66865154f5d9afe/astropy/timeseries/periodograms/lombscargle/implementations/main.py#L221-L226
but definitely not a showstopper at this stage of my work (I rather want speed than precision).

Finally, I'll note that an enhancement that would probably help for millions of periodograms is the ability to thread over multiple periodograms. Right now, we only support threading over periodograms with the same observation times, but we should be able to support different observation times, too. Multiprocessing can do this, but probably not as well as threads.

Currently I use naive distributed processing to parallelize the load (Spark) -- so each periodogram is treated independently from the others. But I agree threading over periodograms with different observation times would be great (as probably many steps are re-used internally) :-)

Great! I'm glad that's a partial solution, anyway. I'll keep this issue open to remind us about the flexible method. And I'm glad the package is playing nice with Spark.
Even single-band nifty-ls doesn't support nterms > 1 right now. I was looking at that a bit earlier, and it definitely seems like there's an opportunity for a speedup there. The Astropy implementation uses many trig_sum() calls, which finufft replaces: https://github.com/astropy/astropy/blob/bf1103e5061d4a13c928afcaa66865154f5d9afe/astropy/timeseries/periodograms/lombscargle/implementations/fastchi2_impl.py#L104. I'll open an issue to track that.

thanks! Let me know if you need beta testing, I would be happy to provide feedback :-)

authors: JulienPeloton lgarrison

repo: flatironinstitute/nifty-ls


text:
Switch between WeekSelection and date range

How do i enable/disable the plugin or the mode during the runtime?
I need to change the behaviour of flatpickr by the value of a select box.
If the selectbox has value of "WEEK" it must turn on the WeekSelection Plugin and thelect the whole week,
If the selectbox has value of "PERIOD" it must turn off the plugin and enable the range, to specific date (that i will pass via option value)
Thank you in advance.
Environment

flatpickr version used: 4.5.1
Browser name and version: Chrome 68
OS and version: MacOs 10.13

@biroplane Just recreate the flatpickr instance, with the plugin added or removed from plugins.

authors: biroplane chmln

repo: flatpickr/flatpickr


text:
fix: handle patching in dirs that resemble an actual git dir

Fixes #119
cc @h0tw1r3 who has a co-author credit on this one
Note that #121 introduced some tests that exercise patching.

Shipped in https://github.com/flavorjones/mini_portile/releases/tag/v2.8.1


text:
source_id and title conventions check

I pulled out all the source_id and title conventions for the channel into a central setting.
Most of them are obvious (use primary node identifiers from the site like node-xyz).
I also implemented @jamalex's idea of using a slug (first 20 chars of title) as a prefix for teacher docs and transcripts so that we'll know what video they are from in places where they appear standalone (e.g. in the Recommended view).
Please take a quick look and if you don't see anything wrong I'll run the channel tonight.

Here are some sample excerpts to help you see what's going on:
A sample topic
    {
      "kind": "TopicNode",
      "source_id": "mit_blossoms_topic_Biology",
      "title": "Biology",
      "author": "MIT Blossoms",
      "description": "Video lessons about Biology",
      "thumbnail": null,
      "children": [ ... ]

A sample cluster
        {
          "kind": "TopicNode",
          "source_id": "mit_blossoms_cluster_DNA",
          "title": "DNA",
          "author": "MIT Blossoms",
          "description": "Video lessons from the cluster DNA",
          "thumbnail": null,
          "children": [...]

A sample video lesson with two video files
            {
              "kind": "TopicNode",
              "source_id": "node-238",
              "title": "Classifying Animals by Appearance Versus DNA Sequence",
              "author": "Megan E. Rokop",
              "description": "The topic of this video module is how[...] phylogenetic trees.\n\n",
              "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
              "children": [
                {
                  "kind": "VideoNode",
                  "source_id": "node-238:Arabic Voice-over",
                  "title": "Arabic Voice-over: Classifying Animals by Appearance Versus DNA Sequence",
                  "author": "Megan E. Rokop",
                  "description": "The topic of this video module is how to classify animals based on how closely\nrelated they are. The main learning obj[...]e phylogenetic trees.\n\n",
                  "derive_thumbnail": true,
                  "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
                  "files": [
                    {
                      "file_type": "VideoFile",
                      "path": "http://d1baxxa0joomi3.cloudfront.net/a0863223fbc17493298b34b20a89438d/basic.mp4",
                      "ffmpeg_settings": {
                        "crf": 24
                      }
                    }
                  ]
                },
                {
                  "kind": "VideoNode",
                  "source_id": "node-238:English",
                  "title": "English: Classifying Animals by Appearance Versus DNA Sequence",
                  "author": "Megan E. Rokop",
                  "description": "The topic of this video module is how to classify animals based on how closely\nrelated they are. The main le[...] make phylogenetic trees.\n\n",
                  "derive_thumbnail": true,
                  "thumbnail": "https://blossoms.mit.edu/sites/default/files/video/thumbnail/DNA-Sequence-338x264.jpg",
                  "files": [
                    {
                      "file_type": "VideoFile",
                      "path": "http://d1baxxa0joomi3.cloudfront.net/e9ec2d0f86e6a9c08a624ad4f883fdad/basic.mp4",
                      "ffmpeg_settings": {
                        "crf": 24
                      }
                    }
                  ]
                }

A sample transcript file
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:rokop-transcript.pdf",
                      "title": "Classifying Animals ..: Download Written Transcript of this video lesson",
                      "author": "Megan E. Rokop",
                      "description": "Download Written Transcript of this video lesson",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/transcript/rokop-transcript.pdf"
                        }
                      ]
                    }

and finally...
Sample folder of For Teachers resources
                {
                  "kind": "TopicNode",
                  "source_id": "https://blossoms.mit.edu/videos/lessons/classifying_animals_appearance_versus_dna_sequence_0#lesson-detail-tab-teacher_guide",
                  "title": "For Teachers",
                  "author": "MIT Blossoms",
                  "description": "Additional resources for teachers.",
                  "children": [
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:rokop-teachers-guide.pdf",
                      "title": "Classifying Animals ..:Read Teacher's Guide to this video lesson",
                      "author": null,
                      "description": "Read Teacher's Guide to this video lesson",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/guide/rokop-teachers-guide.pdf"
                        }
                      ]
                    },
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:Rokop-mammals-physical.pdf",
                      "title": "Classifying Animals ..:Download worksheet, \u201cClassification of Mammals by PhysicaAl Characteristics\u201d (PDF)",
                      "author": null,
                      "description": "Download worksheet, \u201cClassification of Mammals by PhysicaAl Characteristics\u201d (PDF)",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/download/Rokop-mammals-physical.pdf"
                        }
                      ]
                    },
                    {
                      "kind": "DocumentNode",
                      "source_id": "node-238:Rokop-mammals-DNA.pdf",
                      "title": "Classifying Animals ..:Download worksheet, \u201cClassification of Mammals by DNA Sequence\u201d (PDF)",
                      "author": null,
                      "description": "Download worksheet, \u201cClassification of Mammals by DNA Sequence\u201d (PDF)",
                      "thumbnail": null,
                      "files": [
                        {
                          "file_type": "DocumentFile",
                          "path": "https://blossoms.mit.edu/sites/default/files/video/download/Rokop-mammals-DNA.pdf"
                        }
                      ]
                    },

@jayoshih I think Topics and Clusters are part of the site structure, so not very likely to change.

repo: fle-internal/sushi-chef-mit-blossoms


text:
updated doc link and version

Description
corrected link to readme and changed the version to 2.0, also updated changelog
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[x ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger

authors: charmeling flexera-ci


text:
Flextype Admin Panel: Store Entires/Collections counter in cache

Store Entires/Collections counter in cache.
If counter exists then display it else store counter number
this is will speed up the app!

implemented

repo: flextype/flextype


text:
Support iOS 8

I in debug console my app prompt next message:
So its don't support iOS 8?
<Google:HTML>
You are currently using version 6.12.0 of the SDK, which doesn't officially support iOS 8. Please consider updating your SDK to the most recent sdk version, 6.12.2, to get iOS 8 support, including a fix for smart banner rendering in landscape mode. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes.

It has been upgraded to v6.12.2 in Nov 2014, see commit:
https://github.com/floatinghotpot/cordova-admob-pro/commit/a73b11f94be257d7a77206aaa490fab001a7a1b8
I double checked the binary .a file, it's same size: 13,403,052 bytes.
are you using an old version?

Hey I just downloaded this plugin and am getting this warning:
You are currently using version 7.0.0 of the SDK, which doesn't officially support iOS 8. Please consider updating your SDK to the most recent sdk version, 7.1.0, to get iOS 8 support, including a fix for smart banner rendering in landscape mode. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes.

Is it not updated?

but it's already upgraded to v7.1.0, see: 30817fac8f80993bb38a24d97b94214ff5c26fe4

Weird, is the version in the Cordova registry outdated? I could try adding the plugin directly from GitHub if that'll work.

you are correct, i forgot to publish it to cordova registry... now it's being published as v2.7.5

wait a few minutes ...

Wahoo! Thanks :smile:

done.

Hey @floatinghotpot, I just tried this morning with
cordova plugin rm com.google.cordova.admob
cordova plugin add com.google.cordova.admob

But I'm still getting the same message when I launch Admob in my app about it not being compatible with iOS 8.

Opening the plugin.xml shows that it is still version="2.7.4".

i've tried to install the admob plugin and the plugin.xml is 2.7.5
try:

remove the cache from your home: ~/.plugman/cache
type "cordova plugin remove xxx", instead of "plugman plugin rm xxx", though i am not quite sure...

Hey @floatinghotpot! Good news. After clearing the plugman cache, the plugin installed the latest. Thanks! Silly caches... :smile:

authors: devalexqt floatinghotpot sean-hill

repo: floatinghotpot/cordova-admob-pro


text:
Hunter/cmakepp might be interesting for you, too

Not sure if you know these tool already:

https://github.com/toeb/cmakepp
https://github.com/ruslo/hunter
https://github.com/iauns/cpm
http://www.biicode.com

All of them have implemented some sort of external dependencies for cmake. It might be useful to try to model fips around the meta packages of some other tools to reuse the packages from there.
Not sure if this is feasable, but it might be worth a look.

Thanks! I stumbled over biicode recently, will definitely look at the others.

There's also this, might be a fancier option for fips' external dependency management:
https://github.com/buildinspace/peru

Another one: https://conan.io/

I've used this at places, more notably designed around the needs for mid/large VFX studios:
https://github.com/nerdvegas/rez
It integrates with CMake, but its strengths are more or less for building and deploying explicit versions of software packages and resolving environment variables to point to those explicit versions, with dependency resolution. It's great as well when you use particular software like Maya or Nuke with a C++ plugin compiled to a certain version of the software.

Interesting, thanks a lot for the pointer, I'll have a look :)

authors: boberfly floooh fungos mgerhardy

repo: floooh/fips


text:
mustBeOnFuture()  and minDateRange(minDate) not working

If i restrict the datetime picker to show only future dates and go to past date by scroll then it resets to today date. now I cant select any date although cant select a future date. it resets everytime

I couldn't get either to work also.  I was locked to a single time entry.

authors: JLOrwell gmrm


text:
Fixes build warning "unmet peer astro@^4.12.0: found 5.0.5"

Support Astro 5.0.x

@sebthom Thank you for the PR! Would you mind running pnpm changeset from the root, select "minor" and write a shrot sentence that states that it adds support for Astro 5?

authors: florian-lefebvre sebthom

repo: florian-lefebvre/astro-integration-kit


text:
Tuple unions are not working correctly

This throws both when I use the tuple length and when I use the elements within the tuple to figure out which kind of tuple it is:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgAqArjjHgDJ4B2A5hgBYCMYAvGANpMC6A3JrgIkylGvQYAmNpwAMAGjA9+2fEVLkAsgEMsAIwLth5KnUYsAPmpEnxE-qgDGcagGcMYDOrwAuK5p360hzyinyOzm5gAG5aMMR4LOyeIgB05KYMbKzsLAD8Hl7B3GC+yeRcYU6u7jFxeFJJhTLF2Tlg+WV4RSUFIhW8QA
I would think this should work both ways I'm trying it.

Closing, as this is a flow issue unrelated to flow-typed. You're more then welcome to open an issue at the facebook/flow repository.

thanks, sorry about that, must've had both tabs open

authors: GAntoine ryanscottaudio

repo: flowtype/flow-typed


text:
Feature/conda build

Adds conda build recipe
Adds automated (via circleci) build and deployment of conda on release branches
Adds check during upgrade for whether to use conda or pip
Updates readme to show new installation instructions and conda badge
Updates .bumpversion.cfg to make sure conda build recipe is up to date
(The .rst readme is for pypi)
@narenst @houqp

Note that we will need to set the $ANACONDA_TOKEN env var on circleci. We can generate one from our anaconda.org account under settings --> access. I think the "Allow all operations on Conda repositories" should be sufficient. Although I was testing it with "Allow all operations"

repo: floydhub/floyd-cli


text:
adds to objectlist

This will show the plotter and waveform in the autocomplete objectlist when typing a new object. Just a small contribution, but hopefully useful :).

This is incredibly useful. Thanks so much!

repo: flucoma/flucoma-max


text:
How can I use -c:a aac -strict -2

I know I can enable aac with command.audioCodec('aac') but how can I amend the argument -strict -2 afterwards?

... and will it really make a big difference for the audio quality?

You can pass it with .outputOption(). As for your second question, I don't know. Have a look around ffmpeg communities !

authors: binarykitchen njoyard

repo: fluent-ffmpeg/node-fluent-ffmpeg