text:
Severe memory leakage on continuous video stream

I am experiencing very high memory usage (over 300MB and growing infinitely) when ffmpeg is fed with continuous raw tcp stream (connected with tcp://)
Due to the stream cannot be seeked, MediaSampleProvider::Flush will never going to be called and it might be causing the issue. Thus, it might be not a 'leakage' causing from some bugs.
If i forcefully call Flush function the memory does not spike, but video does not play correctly, may be related to some internal things about video processing, but I don't know those exactly. (As I know just a little bit about video processing things)

The Flush function doesn't usually get called during continuous playback. So it is not critical for keeping memory usage in check. The memory consumption probability happens because incomplete frames are sent over and accumulate in the package queue.
Do you have a way to reproduce this?

So it could be a server issue, what I'm doing is to stream an entire screen using this source over the internet.
This behavior could be reproducible if you check out that source and make it as a streamer server.
Note that it uses NVENC but the source has ffmpeg fallback so you don't really need NVIDIA GPU and CUDA stuff.

Have you tried a different player, like VLC? it should be able to play that stream.

Using VLC - No. Nothing is being displayed.
Using ffplay - Yes.

I'd say the stream is broken.

Checking out if the stream is correct would be a first thing to do then.

repo: ffmpeginteropx/FFmpegInteropX


text:
T38 - Gerar a docker image do front-end para produção

Descrição:
Devido as correções no ambiente de desenvolvimento da aplicação front-end (Issue #112) é necessário adaptar os scripts para gerar uma docker image configurada para ser usada no ambiente de produção.
Atividade(s) a ser(em) realizada(s):

[x] criar um arquivo Dockerfile-prod para o front-end com npm build e ngnix
[x] alterar o .travis.yml para fazer a build da image do front-end utilizando o docker-compose-prod.yml (e dar o push para o docker hub da imagem com as configurações de ambiente de produção)

feito

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Mapear contatos das ouvidorias de órgãos públicos

Descrição da Issue
Mapear e-mails de contatos para ouvidorias dos órgãos públicos e suas categorias, para que se possa ter uma noção de com quem iremos entrar em contato
Tasks:

[ ] Mapear contatos das ouvidorias
[ ] Incluir categorias
[ ] Escrever um documento com tais

Critérios de aceitação

[ ] Documentos de ouvidorias e categorias mapeadas

https://docs.google.com/spreadsheets/d/1n7ftO6I2-LaG5niQ65_SoZ6FN-UqIcWOODlCpp6UCSE/edit#gid=0


text:
Sprint 3 - Criação do documento de arquitetura

Descrição
Esta issue visa a criação do documento de arquitetura
Tarefas

[x] Selecionar templates que possam ser utilizados.
[x] Criação da primeira versão do documento de arquitetura.

Critérios de aceitação

[x] Primeira versão do documento criada.

Foi verificado a primeira versão do documento de arquitetura estando tudo de acordo.


text:
Fix #162 deploy

Nesse pull request foi feito:

Issue #162

Pull Request Test Coverage Report for Build 486

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

Totals

Change from base Build 467:
0.0%

Covered Lines:
76

Relevant Lines:
163

💛  - Coveralls

source: gharchive/pull-request

authors: coveralls eliseuegewarth


text:
HOTFIX #5 Modificando descrição de merge pra development

Signed-off-by: Eliseu Egewarth eliseuegewarth@gmail.com
Signed-off-by: João Henrique Egewarth egewarth@gmail.com
Nesse pull request foi feito:
Hotfix do guia de contribuição

authors: alvesisaque egewarth

repo: fga-gpp-mds/AGR-APP-react-native


text:
Implement UMD?

I imported this via node and attempted to use with Webpack; however, there is no module definition set up. I think this would be worth looking into. https://github.com/umdjs/

Thank you, I will implement it this week

version 1.3 is released and published to npm ;)

authors: asalisbury fhopeman

repo: fhopeman/justlazy

license: mit

license_source: bigquery


text:
Updated articles

Great RSS reader.
It doesn't seem to pick up edited articles.  It gets stuck with the first version that it loaded.

Fixed in 4764c225b41a80eb1a3bdee0dae7f32baa30e5b3.

authors: fiatjaf mikedilger

repo: fiatjaf/narr


text:
Map bugged in Chrome-based Browsers

see https://github.com/protomaps/PMTiles/issues/445

Seems to work again, weird...


text:
Fix issue 7047

Fixes: #7047
Related: Relevant tracking issues, for context
Merge before/after: Dependent or prerequisite PRs
Description

User facing changes (remove if N/A)

Follow-up Work (remove if N/A)

@brianwarner hey Brian, for fidelity/skaffold, from fixing branch to fidelity main, it says at least 6 approving reviews. I remember I could merge it to fidelity main branch directly last time. I agree with more viewers before external PR, only one concern, where could I get 6 reviewers😊

Hey Brian,
Thanks for your patience and detailed reply,
I totally agree ‘The closest we can get is a high number of PR reviews on branches, which will hopefully remind associates to open PRs from their branches instead of from main.’
Since my commits were already merged against main for this specific PR, but I found if I had new commit form fidelity:my-branch to fidelity:main, now the branch protection is enabled, I could merge it to fidelity:main branch. However I notice the public PR from fidelity:main to google:main, the commit containing no changes, I guess it’s the sync with upstream issue as you said. I didn’t have permission to keep in sync for fidelity:main.
Finally, I decide to relaunch a PR from fidelity:my-branch to google:main, I could keep in sync with google:main and the PR seems good. So I have the new PR https://github.com/GoogleContainerTools/skaffold/pull/7842 and will close the old one https://github.com/GoogleContainerTools/skaffold/pull/7726
Thank you & Best Regards
Terry
From: Brian Warner @.>
Date: Tuesday, August 30, 2022 at 8:42 PM
To: fidelity/skaffold @.>
Cc: Wang, Terry (ECC) @.>, Mention @.>
Subject: Re: [fidelity/skaffold] Fix issue 7047 (PR #2)
NOTICE: This email is from an external sender - do not click on links or attachments unless you recognize the sender and know the content is safe.
Hi @nayang7https://github.com/nayang7, yes, I'm sorry, I should have sent out an email about this. I'll do that today.
Here's the thought process. GitHub has a really nice API to automatically sync forks without creating merge commits - so long as they haven't diverged. When a branch is merged to main on a fork (as was the case here), the fork diverges from the upstream project and makes it harder to keep in sync. Ideally we'd like to have everyone work from a feature branch in the contribution forks so we can keep them in sync with upstream and so multiple people can work on a project at once.
Unfortunately I don't think there's a setting for this. The closest we can get is a high number of PR reviews on branches, which will hopefully remind associates to open PRs from their branches instead of from main.
However, I see that your commits were already merged against main for this specific PR. I hadn't noticed this when I enabled the branch protection, so I can see how it broke the flow for this PR. I'm sorry about that, that was my mistake.
Here's my suggestion. I'll turn off branch protection for this contribution. Once the PR lands, we can resync to upstream and turn things back on. Does that work?
—
Reply to this email directly, view it on GitHubhttps://github.com/fidelity/skaffold/pull/2#issuecomment-1231613902, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZQQ2T4JAVGEBOS7XB6HVWLV3X6THANCNFSM57VP2PCA.
You are receiving this because you were mentioned.Message ID: @.***>

repo: fidelity/skaffold


text:
TextEntry on Infolists forces 3 columns when inlineLabel is enabled

Package
filament/infolists
Package Version
v3.1.47
Laravel Version
v10.41.0
Livewire Version
v3.3.5
PHP Version
PHP 8.3.0
Problem description
When using TextEntry on Infolists, if you enable inlineLabel, you end up with a 3 column grid:

1: The label.
2+3 (with colspan): The value.

This creates a kind of right margin (corresponding to the 3rd column) next to inlineLabel entries, which it's visually unpleasing when you have a slim section (not full width) to display the data.
Expected behavior
Unless there is a 3rd piece of data the shows on the 3rd column, you should have two columns (or have a way to configure it), one for the label and one for the data.
I guess it can be intentional, to have a 33%+66% ratio of label+data, but if you data is short, it doesn't end up well.
Steps to reproduce
I added two entries in the code example, one with inlineLabel and the other without it.
Also forced some borders, where you can see the disposition. There are 3 columns and the 2 and 3 are colspanned.
Screenshot for clarity:

Reproduction repository
https://github.com/RixzZ/filament-issue-02
Relevant log output
No response

This is by design.
Inline infolist entries or form fields use a 3 column grid, where the label takes up 1 cell and the actual content the other 2 cells.
I don't really understand what's the issue here, so feel free to clarify or attempt a PR if you think this is something that should and can be fixed in a non-breaking way.
Thanks!

Fix:
`.fi-in-entry-wrp > div {
@apply sm:grid-cols-2;
}
.fi-in-entry-wrp > div > :last-child {
@apply sm:col-span-1;
}
`

authors: RixzZ goyote zepfietje

repo: filamentphp/filament


text:
addthis_widget.js errors spamming console: Failed to execute 'postMessage' on 'DOMWindow'

This error shows up every second (I really do mean every second, not exaggerating :smile:) in the console:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://s7.addthis.com') does not match the recipient window's origin ('https://s7.addthis.com').

It leads to this very quickly:

It becomes a pretty big problem when trying to look for other lines in the console. At the very least the browser tries to group the errors together, but it is still fairly problematic.

I know it's old, but I just wanted to share that maybe is produced by calling the addthis widget with HTTP. See this question: http://stackoverflow.com/q/27573017/2714923


text:
Client Allocation Request for: Yahoo Taiwan holdings limited.

Client Allocation Questions
Core Information

Name: Yahoo Taiwan holdings limited.
Website / Social Media: https://tw.buy.yahoo.com/
Region: Asia excl. Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f1poxtmorxzj6kchi2twz42phmvvuszexaoegjwia
Notary Requested: rayshitou

@nickyh123 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi @nickyh123, thanks for your application. Please answer the following questions to let me know you and your company.
1.What's your name and your position in your company?What's your company's business?
2.Could you show me your company's business license? And please show me your company searching consequence in the local business license searching website.
3.Have you/your company ever used cloud? Which platform do you use? What's your usage volume and frequency? Could you please show me your cloud usage evidence?

Name's John, I work in the administration management department. We are a branch company in Taiwan belongs to Yahoo, our business mode resembles other famous e-commerce companies like Amazon or Taobao.com. We provide convenient online shopping experience and offers commodities in many categories.
Will send you an email.
Yes we use google and have a growing usage volume of 400GB a month. Sorry can't provide any evidence because of company's guides.


text:
Client Allocation Request for: Anne

Client Allocation Questions
Core Information

Name: Anne
Website / Social Media: https://sdcloud.on.fleek.co/
Region: Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f3ra4qdlsjp2nm5sji3p4fs2f5vnwn7yjgq43csz5low37s44lc3jyhec57kjonmfnjfrlwpx44bgwfr6hqboa
Notary Requested: ozhtdong

@1ane-1 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

This user’s identity has been verified through filplus.storage


text:
Client Allocation Request for: 上海源信网络科技有限公司

Client Allocation Questions
Core Information

Name: 上海源信网络科技有限公司
Website / Social Media: https://www.yuanxinw.com
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f12anmzwqayzl3qih5vz3j5q76v62nnd5ymq6scqi
Notary Requested: ozhtdong

One application for one notary.

authors: ozhtdong yuanxinw-network


text:
Webpack entry cannot be found after importing filer

Context
I am trying to add FilerWebpackPlugin to an existing Webpack configuration.
Problem
As soon as I require('filer'), Webpack starts failing because it cannot find the entry file anymore.
Analysis
This problem seems to be caused by a side effect in src/path.js:
/**
 * Patch process to add process.cwd(), always giving the root dir.
 * NOTE: this line needs to happen *before* we require in `path`.
 */
process.cwd = () => '/';

Workaround
The only workaround that I found is to save process.cwd before importing filer, and to restore it afterwards.
const cwd = process.cwd;
const filer = require('filer');
process.cwd = cwd;

With this fix, Webpack is able to find the entry file again.

cc @bcheidemann, who might have thoughts.

Thanks for raising this issue @thomas-jakemeyn.
The problem seems to be that we import the whole of filer when we only need the FilerWebpackPlugin class. In hindsight, this is obviously not the best idea! I will put up a PR to deprecate accessing the plugin through the "normal" filer import and add a specific import path for the plugin. @humphd what do you think about:
const { FilerWebackPlugin } = require('filer/webpack');

@thomas-jakemeyn Until the fix is released, you should be able to import the class directly:
// Direct import
const { FilerWebpackPlugin } = require('filer/src/webpack-plugin');

Let me know if this works for you! :)

Hello @bcheidemann,
I confirm that using a direct import as you suggested works. Thank you for that!
However, don't you think that the real problem is the side-effect on process.cwd?

Hello @bcheidemann,
I confirm that using a direct import as you suggested works. Thank you for that! However, don't you think that the real problem is the side-effect on process.cwd?

@thomas-jakemeyn The process.cwd side effect is, as I understand it, required for filer to work properly in the browser. Maybe @humphd can clarify the exact purpose? Regardless, the Webpack config only needs to load the FilerWebpackPlugin class which does not import any part of the main filer library (nor should it). As such, if imported correctly, there should be no side-effects.
Are you having trouble with the process.cwd side effect other than in the context of the Webpack config (i.e. at runtime)?

The problem that I was personally facing is solved with your suggestion.

re: the process.cwd override, that can probably be removed.  It's used very rarely, and likely could be dealt with through documentation alone.  Unlike fs running in the OS, we have no concept of a process on which the current working directory can be managed.  We could probably move this to the shell instead.  I'd take a PR that did this, but am unlikely to have time to do it any time soon.

Thanks for the clarification @humphd.
@thomas-jakemeyn do you anticipate other issues that wouldn't be solved by PR #793? Happy to rethink our approach if there's reason to do so :)

Since filer is intended to be used in a browser, I guess that it should be fine indeed. Thank you for the clarification and for the quick reaction!

Landed #793, I'll ship v1.4.0 in a min.

https://github.com/filerjs/filer/releases/tag/v1.4.0
https://www.npmjs.com/package/filer is now at v1.4.0

https://github.com/filerjs/filer/releases/tag/v1.4.0
https://www.npmjs.com/package/filer is now at v1.4.0

Thanks!

@humphd I think this issue needs to be reopened. I just checked the latest NPM release (v1.4.0) and the new import is not working. This is because I added a root folder called "webpack" which wasn't released to NPM. Could you advise on what I need to change so that this is included in the release to NPM? This is also the case for the "shims" directory which is the reason for issue #791

Should be fixed by v1.4.1

Should be fixed by v1.4.1

Confirmed, the correct files have been pushed to NPM

authors: bcheidemann humphd thomas-jakemeyn

repo: filerjs/filer


text:
Move operation errors into operation center

What feature or improvement do you think would benefit Files?
Currently there's an app blocking popup when there's an issue which is annoying when doing many operations at once or wanting to retry one later.
Requirements

Remove model for error
Add a retry and cancel button to operation center errors
Show what the issue with the operation is (Currently only an X in use error message)
Add a flyout/tooltip to say when operation need the users attention (Should be dismissed with an X button or when operation center is opened)

Files Version
2.4.48.0
Windows Version
10.0.22621.1265
Comments
No response

Same as #7060, #8239 and #7360?

I believe there asking for adding a skip all button. My request is to remove the model completely and have it show in the operations center instead.

I've had cases where I've had to wait to do the operation for a few minutes before it can be retried, and while I can cancel it to use Files I would have to re navigate and select the items again then click the delete button which can take time to do.

repo: files-community/Files


text:
Sort alphabetically

This was initially the reason i went looking for a new explorer, when iv unzipped a folder the extracted folder wont show directly underneath the og zip.This has bugged me for a while in windows, im happy to find this software because its beautiful, super impressed! If you can find a remedy for this that would be huge. so basicly make an option for all file types to be sorted alphabetically, just an extra tile option or something or menu selection something simple please.Brodie

Files already can soft alphabetically by clicking on the name option for A-z or z-A. You can sort folder alongside files in the settings > file and folders > list directory's along side files

awwhhhhh, nice.Thanks for letting me know that's so good.I didn't really go
through any documentation.
On Tue, Jul 6, 2021 at 12:50 AM Josh-65 @.***> wrote:

Files already can soft alphabetically by clicking on the name option for
A-z or z-A. You can sort folder alongside files in the settings > file and
folders > list directory's along side files
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/5373#issuecomment-874169561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALUZTVTO2URCHE4PDOHPEFLTWHBDRANCNFSM472R5VMA
.


text:
Still not getting Status column in some places...

Description
If I got to this level, the status shows. When iigot to next level, status stops showing.
C:\Users\bruce\OneDrive\Documents\Lakshmi\—shows status
C:\Users\bruce\OneDrive\Documents\Lakshmi\Chair Yoga—stops showing status.
Steps To Reproduce
go to C:\Users\bruce\OneDrive\Documents\Lakshmi\Chair Yoga
Expected behavior
Show status everywhere.
Files Version
2.0.44.0
Windows Version
21H2 (22000.376)
Relevant Assets/Logs
No logs to show

Still merging with #6227 :)


text:
Keyboard Navigation Between Files And Folders

What's the Problem?
Hi,
I work as a developer and when I tried to use the "files" App, I found that navigation with keyboard needs some enhancements.
e.g.
1- When opening a folder, the selection is not focus on the first file or subfolder into this folder.
2- I can't select a file or folder using a spacebar. this feature is very important for keyboard users.
Solution/Idea
Please make the selection focus on the first file in the opened folder.
Please add selecting files and folders using the spacebar.
Alternatives
Please try to navigate using  only the keyboard between files and folders and open a long sequence of folders to get my points.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
No response
Windows Version
No response
Comments
No response

@MohAbdelhamed what happens if you press the down arrow after opening a directory?

2- I can't select a file or folder using a spacebar. this feature is very important for keyboard users.

We're currently tracking this in #2310

@MohAbdelhamed what happens if you press the down arrow after opening a directory?

2- I can't select a file or folder using a spacebar. this feature is very important for keyboard users.

We're currently tracking this in #2310

When I press the down arrow it selects the folder directly. Now no issues with this.


text:
Randomly opens C://

Description
It randomly opens the C drive when opening a folder, without any out of the ordinary actions.
Steps To Reproduce
No response
Expected behavior
Open the folder that's being opened.
Files Version
2.1.15.0
Windows Version
Edition	Windows 10 Pro Version	21H2 19044.1566
Relevant Assets/Logs
debug.log
debug_fulltrust.log

@DevanshR1123 can you upload a screen recording?


text:
[Post 2.3] Ink gestures for manipulation items

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #5143

Details of Changes
Add details of changes here.

currently prototype implementation. Circle to select, scribble to delete.

Validation
How did you test these changes?

[x] Built and ran the app
[x] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

@winston-de can this applied be applied to the other layouts?

authors: winston-de yaichenbaum


text:
Improve documentation on SBT dependencies

I had to spent >= 30min to figure out that I needed the following dependencies to run what the docs currently claim to only need finch-circe and 2 imports:
libraryDependencies ++= Seq(
  "com.github.finagle" %% "finchx-core" % "0.31.0",
  "com.github.finagle" %% "finchx-circe" % "0.31.0",
  "io.circe" %% "circe-generic" % "0.12.3"
)

I found the above dependencies in the finch/finch.g8 repo, however a) I had to look in a build.sbt in some sub^n-directory and b) it did not contain versions, so I had to look them up manually on Maven central.
Apparently, #1022 had a very similar issue. There it reads that "Finch is very unfriendly with first time users". Unfortunately, it seems it still is to some extent. Let's improve that :smile:

Well, it's been just over three months and this is still the case. Not only that, but the dependencies that @ComFreek do not work anymore.

authors: ComFreek baughmann

repo: finagle/finch


text:
Bug with body reader/Buf.Utf8 in finch 0.9.2

This is a bug that hit us in a unit test when upgrading to finch 0.9.2. It though it may not have an impact on real usage:
When setting the com.twitter.finagle.http.Request body to a com.twitter.io.Buf.Utf8 the body request reader adds an extra byte at the end of the byte array. This only appears to be the case with certain string, though JSON seems to be affected. The problem looks to be an off-by-one error and is not present when using  com.twitter.io.Buf.ByteArray.
I added a simple project with an example of the bug here:
https://github.com/matteobanerjee/finch-buffer-bug
I might try to resolve this in PR myself if I have time this week.

Thanks @matteobanerjee! This is indeed a good bug report. There was a recent change for body readers, although I'm not sure how it my cause this.

It turns out to be a Finagle bug:
scala> import com.twitter.io.{Charsets, Buf}; import com.twitter.finagle.netty3.ChannelBufferBuf
import com.twitter.io.{Charsets, Buf}
import com.twitter.finagle.netty3.ChannelBufferBuf

scala> val foo = "{\"foos\": [1, 2]}"
foo: String = {"foos": [1, 2]}

scala> val buf1 = Buf.Utf8(foo)
buf1: com.twitter.io.Buf = ByteBuffer(16)

scala> val buf2 = Buf.ByteArray.Owned(foo.getBytes(Charsets.Utf8))
buf2: com.twitter.io.Buf = ByteArray(16)

scala> val cb = ChannelBufferBuf.Owned.extract(buf1)
cb: org.jboss.netty.buffer.ChannelBuffer = TruncatedChannelBuffer(ridx=0, widx=16, cap=16)

scala> val ba = Buf.ByteArray.Shared.extract(buf1)
ba: Array[Byte] = Array(123, 34, 102, 111, 111, 115, 34, 58, 32, 91, 49, 44, 32, 50, 93, 125)

scala> cb.array()
res0: Array[Byte] = Array(123, 34, 102, 111, 111, 115, 34, 58, 32, 91, 49, 44, 32, 50, 93, 125, 0)

I'm going to file an internal issue so we could fix it. Although this doesn't mean we shouldn't apply a workaround in Finch until the next version of Finagle is released.

I'm wondering if we could do something like w/o allocating much. Let me run some benchamrks.
buffer.slice(0, n).array()

Great, thanks!

So I put together a fix and I'd say that this bug is completely Finch's fault given that ButeBuffer.array() doesn't guarantee to be the exact version user sees from different API. So, the fix I proposed fixes that.

Fixed by #485. Thanks @matteobanerjee for reporting! You can grab this fix as part of 0.9.3-SNASPSHOT.

authors: matteobanerjee vkostyukov


text:
Library fails to deploy to an org that doesn't have Communities enabled

I tried to deploy apex-mdapi to a Developer Edition org for testing today and got the following error. This was using the little "Deploy to Salesforce" button / tool on the main repository page.

Deployment Started
Status: Queued
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: InProgress
Status: Completed
Deployment Complete
Failures:
classes/MetadataDataController.cls(40,4):Dependent class is invalid and needs recompilation:
MetadataServiceExamples: line 1457, column 17: Variable does not exist: Account.IsPartner
classes/MetadataServiceExamples.cls(1457,17):Variable does not exist: Account.IsPartner
pages/metadatadata.page(metadatadata):Apex class 'MetadataDataController' does not exist

Recognizing the error as something I've seen before with Communities, I checked to see if Communities had been enabled on this org (it had not). After enabling Communities on the org, I was able to deploy again successfully.
The root problem here is the dependence on the existence of Account.IsPartner, which doesn't exist before Communities are enabled.

Thanks, i've removed this reference so others should not get this problem in the future.

authors: afawcett grekker

repo: financialforcedev/apex-mdapi


text:
Alleviates unit-test exception when Org's email service is limited.

The following unit-test caused exception occurs when the org's email deliverability's 'Access Level' setting is not 'All Email'.
System.EmailException: SendEmail failed. First exception on row 0; first error: NO_MASS_MAIL_PERMISSION, Single email is not enabled for your organization or profile.: []
This fix uses mock, send-email class, which verifies DoWork method was called, presuming the platform's Messaging feature functions, as intended and used in the default SendEmailWork class.
Attempted to use the FFLIB Apex Mocks functionality to mock the new IEmailWork interface, but Test.createStub method generated an exception pertaining inner classes not being supported.

@stohn777 very cool fix, nice use of the UOW extensibility thats been added since this test. Also i am working with the Apex team to get inner class support in as soon as possible. Meanwhile @stephenwillcock @agarciaodeian this looks good to me!

inner class support for apexmocks will be so great!

authors: afawcett cropredyHelix stohn777

repo: financialforcedev/fflib-apex-common


text:
Home Connect in Composer connecting timed out

Driver cannot connec twith the homebridge plugin homebridge-control4-home-connect.
--> see logs

Logs:
So 20 Okt 2024 14:50:46 CEST [INFO ]: Getting setup code...
So 20 Okt 2024 14:50:46 CEST [INFO ]: Setup code: 3609-8979
So 20 Okt 2024 14:50:46 CEST [INFO ]: Connecting to Homebridge bridge 15:4C:3B:EF:C7:6F WebSocket...
So 20 Okt 2024 14:50:51 CEST [WARN ]: Connection timed out
So 20 Okt 2024 14:51:01 CEST [INFO ]: Checking Homebridge configuration, server is not fully connected
So 20 Okt 2024 14:51:01 CEST [INFO ]: Logging into server...
So 20 Okt 2024 14:51:01 CEST [INFO ]: Successfully logged in
So 20 Okt 2024 14:51:01 CEST [INFO ]: Verifying homebridge-control4-home-connect plugin installation...
So 20 Okt 2024 14:51:01 CEST [INFO ]: homebridge-control4-home-connect plugin is installed to version: latest
So 20 Okt 2024 14:51:01 CEST [INFO ]: Verifying plugin config...
So 20 Okt 2024 14:51:01 CEST [INFO ]: Plugin config verified
So 20 Okt 2024 14:51:01 CEST [INFO ]: Getting setup code...
So 20 Okt 2024 14:51:01 CEST [INFO ]: Setup code: 3609-8979
So 20 Okt 2024 14:51:01 CEST [INFO ]: Connecting to Homebridge bridge 15:4C:3B:EF:C7:6F WebSocket...
So 20 Okt 2024 14:52:21 CEST [WARN ]: Connection timed out
Show the Homebridge logs here, remove any sensitive information.
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found
[10/20/2024, 2:50:07 PM] [Homebridge UI] Failed login attempt
[10/20/2024, 2:50:07 PM] [Homebridge UI] If you've forgotten your password you can reset to the default of admin/admin by deleting the "auth.json" file (/volume1/homebridge/auth.json) and then restarting Homebridge.
[10/20/2024, 2:55:05 PM] [Homebridge UI] Starting terminal session
[10/20/2024, 2:55:07 PM] [Homebridge UI] Failed login attempt
[10/20/2024, 2:55:07 PM] [Homebridge UI] If you've forgotten your password you can reset to the default of admin/admin by deleting the "auth.json" file (/volume1/homebridge/auth.json) and then restarting Homebridge.
[10/20/2024, 2:55:24 PM] [Homebridge UI] Terminal session ended.
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.
{
    "bridge": {
        "name": "Homebridge A949",
        "username": "0E:B2:F5:CB:A9:49",
        "port": 51816,
        "pin": "360-98-979",
        "advertiser": "avahi",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "lightingMode": "auto",
            "tempUnits": "c",
            "lang": "de",
            "sudo": true,
            "platform": "config"
        },
        {
            "name": "Control4 Home Connect A8FC",
            "port": 55903,
            "ssl": true,
            "auth": {
                "username": "--"
                "password": "--"
            },
            "_bridge": {
                "username": "--"
            },
            "platform": "Control4HomeConnect"
        }
    ]
}

--> Home-connect:
{
    "name": "Control4 Home Connect A8FC",
    "port": 55903,
    "ssl": true,
    "auth": {
        "username": "---",
        "password": "---"
    },
    "_bridge": {
        "username": "--"
    },
    "platform": "Control4HomeConnect"

**Screenshots:**

<!-- If applicable, add screenshots to help explain your problem. -->
![image](https://github.com/user-attachments/assets/8c464210-f060-4802-bbf4-d6a858b75af1)

**Environment:**

- **Plugin Version**: V1.4.1
- **Homebridge Version**: <!-- homebridge -V -->
- **Node.js Version**: <!-- node -v --> v20.9.0
- **NPM Version**: <!-- npm -v -->
- **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service --> Synology DSM

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

Hi DerekI am running Homebridge on my synology nas and I turned off the firewallGesendet von Outlook für AndroidVon: Derek Miller @.>Gesendet: Sonntag, Oktober 20, 2024 3:08:39 PMAn: finitelabs/homebridge-control4-home-connect @.>Cc: timohunziker @.>; Author @.>Betreff: Re: [finitelabs/homebridge-control4-home-connect] Home Connect in Composer connecting timed out (Issue #34)
Are you running homebridge in Docker? If so, are you running the container in network host mode? Any VLANs or firewalls that would be blocking the connection?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ok I will try this tomorrow.ThanksGesendet von Outlook für AndroidVon: Derek Miller @.>Gesendet: Sonntag, Oktober 20, 2024 4:17:59 PMAn: finitelabs/homebridge-control4-home-connect @.>Cc: timohunziker @.>; Author @.>Betreff: Re: [finitelabs/homebridge-control4-home-connect] Home Connect in Composer connecting timed out (Issue #34)
Try restarting the control4 controller and the synology nas.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Hi Derek
I restarted my controller and my nas. Now id works.
Thank you very much.
Best regards
Timo
Von: Derek Miller @.>
Gesendet: Sonntag, 20. Oktober 2024 16:18
An: finitelabs/homebridge-control4-home-connect @.>
Cc: timohunziker @.>; Author @.>
Betreff: Re: [finitelabs/homebridge-control4-home-connect] Home Connect in Composer connecting timed out (Issue #34)
Try restarting the control4 controller and the synology nas.
—
Reply to this email directly, view it on GitHub https://github.com/finitelabs/homebridge-control4-home-connect/issues/34#issuecomment-2424999880 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BMIWSTQD6C6CAVZCJALY42TZ4O3RNAVCNFSM6AAAAABQIP74MOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUHE4TSOBYGA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/BMIWSTUO7LI3EP5QLAGKSILZ4O3RNA5CNFSM6AAAAABQIP74MOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUQRKH4Q.gif Message ID: @.*** @.***> >


text:
[REQUEST] Document how Theme Builder can be used to improve the accessibility of the FINOS TraderX as the simple use case of BYOD

Suggestion/Concern
The FINOS Tech Sprint is an opportunity to work with others in the FINOS community to expand awareness and capability of FINOS projects.
We would like to use this opportunity to use Theme Builder to improve the accessibility of the FINOS TraderX app, which has a very simple 'front end' that is a good 'hello world' level use case for accessible design best practices.
Proposed Solution
Notes are in the TraderX Discussion related to this use case:
https://github.com/finos/traderX/discussions/193
Steps could include:

Initial assessment of the existing app and CSS
Create wireframes using PenPot as a best practice and store them in the TraderX App
Use Theme Builder to design a palette and components
Generate CSS that can be dropped in to TraderX to enable some level of WCAG compliance, light/dark mode etc

@PaulaPaul I would like to help you with this issue. Let's collaborate.

authors: PaulaPaul kris-reed


text:
angular new router + three way data binding

It seems like in the new angular router we cannot access the $scope object, thus we cannot use the  $bindTo method because it throws an error while trying to hook on the $destroy phase of the controller using scope.$on.
Any suggestions on how to achieve three way bindings now? Maybe hook to the controller's deactivate method?

We don't support the new router yet. We'll investigate soon. Until then, please use supported versions.
Most likely, $bindTo will not be compatible if there is no $scope available, although I'm not really sure what role the router has in determining this or why it would be modifying dependency injection to prevent it.

@katowulf probably is because in 2.x they eliminated the concept of $scope in favour of zones. But I am unsure why they did it this way.

@rolandjitsu are you trying to use the new router in in angular 1.4 or angular 2.0. I haven't tried it yet, but I'm sure angularFire is completely broken in angular 2.0. Assuming you are using the new router in angular 1.4, then you absolutely have access to $scope in the new router (but you did NOT in the old router).
Take a look at the (wizard example)[https://github.com/angular/router/blob/master/examples/angular-1/wizard/app.js] and add an injection for $scope:
    controller('AppController', ['$router', '$scope', AppController]).
    factory('answers', answersFactory);

function AppController($router, $scope) {
  console.log($scope);

With the old router you needed to specify your routes in the config stage where you would not have access to $scope at all.

@jamestalmage I am using the new router with 1.4 of angular. The issue is when the component controller asks for the $scope. In that case, the controller cannot ask for $scope, at least this is what I experience.

Ahh, I see. You are correct $scope is not available in the component constructor. You can get around it by specifying an activate method on your component:
angular.module("myModule").
    controller('AppController', ['$router', AppController]).
    controller('EditMessageController', ['$routeParams', EditMessageController]);

function AppController($router, $scope) {
  console.log($scope);
  $router.config([
    { path: '/message/:messageId',  component: 'editMessage', as:'editor' }
  ]);
};

function EditMessageController($routeParams){
  this.messageId = $routeParams.messageId;
};

EditMessageController.prototype.activate = function($scope, $firebaseObject) {
  var ref = new Firebase("https://myApp.firebaseio.com/messages/" + this.messageId);
  this.sync = $firebaseObject(ref);
  this.sync.$bindTo($scope, 'editor.message');
  // firebase object will now be bound to this.message
};

EditMessageController.prototype.deactivate = function() {
  this.sync.$destroy();
};

@jamestalmage that is exactly what I have suggested :) I think I have tried to use it that way, but for some reason I could not get $scope to work. I cannot remember for sure, I've tried it two weeks ago. If you try it and it works, please let me know :)

No - your original post suggested deactivate which will not work. You just edited your original post to say activate.
You don't just need $scope.$on('$destroy', ...), you also need $scope.$watch(). Basically, you still need $scope, and you can't wait until the deactivate phase to get it.
The above code works just fine.

@jamestalmage I know, that was a mistake I only saw after you suggested it again :) It would make no sense to have it in the deactivate.

I don't plan to support changes for the new router at this time. It seems the only benefit is being able to use $bindTo() and avoid calling $save(), and at the cost of complexity and bandwidth.

authors: jamestalmage katowulf rolandjitsu

repo: firebase/angularfire


text:
Firebase Database, Crashlytics debug logs don't respect -FIRDebugEnabled flag.

Firebase Database debug logs are not enabled by -FIRDebugEnabled. Reproducible in Firebase Database 6.1.4.
Uncovered in #4916.

This seems to also be an inssue in Crashlytics as well.

This has worked in Crashlytics for a while now - did this break with the most recent version?

@jostster, can you share what version of Crashlytics you're using?

4.0.0-beta.4 I built from the master branch instead of installing from a pre built pod.

Thanks for clarifying! If this behavior regresses, please file it as a separate issue since this issue tracking two SDK behaviors will otherwise start to get messy.

authors: jostster maksymmalyhin morganchen12 samedson

repo: firebase/firebase-ios-sdk


text:
Could not find or use auto-linked framework 'FBLPromises'

[###](url

)

Xcode version: 11.7
Firebase SDK version:6.33.0
Firebase Component:  Firestore
Component version: 6.33.0
Installation method:  Manual

As photo show. after linking Firestore to my framework it can't compile even when all frameworks has the same target.
to reproduce, create a framework drag frameworks from analytics and firestore .

It looks like the C++ standard library is missing.

Right ! Thanks for quick response .


text:
Firestore db.runTransaction() async causes nil unwrapping fatal error if no data is returned

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.2.1
Firebase SDK version: 8.10.0
Installation method: Swift Package Manager
Firebase Component: Firestore
Target platform(s): iOS 15.2

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:

Start a transaction using the following async declaration of db.runTransaction():

func runTransaction(_ updateBlock: @escaping (Transaction, NSErrorPointer) -> Any?) async throws -> Any

Successfully perform the transaction, without encountering or returning an error (i.e., leave error?.pointee unset).
return nil at the end of the transaction update block, as demonstrated in the basic transaction example in the documentation.

Expected result: the transaction is completed with a nil return value.
Actual result: the error Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value is encountered in functional line 1885.
Partial stack trace:
Thread 1 Queue : com.apple.main-thread (serial)
#0	0x0000000185918d7c in _swift_runtime_on_report ()
#1	0x0000000185998e54 in _swift_stdlib_reportFatalErrorInFile ()
#2	0x00000001855ce1a8 in closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) ()
#3	0x00000001855cdf48 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) ()
#4	0x00000001855cd83c in _assertionFailure(_:_:file:line:flags:) ()
#5	0x00000001855ce254 in _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:) ()
#6	0x0000000104866e3c in @objc completion handler block implementation for @escaping @callee_unowned @convention(block) (@unowned Swift.AnyObject?, @unowned NSError?) -> () with result type Any ()
#7	0x0000000104ca95e8 in std::__1::__function::__value_func<void (firebase::firestore::util::Status)>::operator()(firebase::firestore::util::Status&&) const [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:1885
#8	0x0000000104ca95d0 in std::__1::function<void (firebase::firestore::util::Status)>::operator()(firebase::firestore::util::Status) const [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:2560
#9	0x0000000104ca95d0 in firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()::operator()() const [inlined] at /Users/ionothanus/Library/Developer/Xcode/DerivedData/Detour_On_Route-agyrglamqsjpfrcxugnkspranqcq/SourcePackages/checkouts/firebase-ios-sdk/Firestore/core/src/core/firestore_client.cc:502
#10	0x0000000104ca95b8 in decltype(std::__1::forward<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()&>(fp)()) std::__1::__invoke<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()&>(firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()&) [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/type_traits:3694
#11	0x0000000104ca95b8 in void std::__1::__invoke_void_return_wrapper<void, true>::__call<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()&>(firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()&) [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/__functional_base:348
#12	0x0000000104ca95b8 in std::__1::__function::__alloc_func<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'(), std::__1::allocator<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()>, void ()>::operator()() [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:1558
#13	0x0000000104ca95b8 in std::__1::__function::__func<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'(), std::__1::allocator<firebase::firestore::core::FirestoreClient::Transaction(int, std::__1::function<void (std::__1::shared_ptr<firebase::firestore::core::Transaction>, std::__1::function<void (firebase::firestore::util::Status)>)>, std::__1::function<void (firebase::firestore::util::Status)>)::$_1::operator()(firebase::firestore::util::Status) const::'lambda'()>, void ()>::operator()() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:1732
#14	0x0000000104d6b644 in std::__1::__function::__value_func<void ()>::operator()() const [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:1885
#15	0x0000000104d6b630 in std::__1::function<void ()>::operator()() const [inlined] at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/c++/v1/functional:2560
#16	0x0000000104d6b630 in firebase::firestore::util::Task::ExecuteAndRelease() at /Users/ionothanus/Library/Developer/Xcode/DerivedData/Detour_On_Route-agyrglamqsjpfrcxugnkspranqcq/SourcePackages/checkouts/firebase-ios-sdk/Firestore/core/src/util/task.cc:102
#17	0x00000001061ca3b4 in _dispatch_client_callout ()
#18	0x00000001061da898 in _dispatch_main_queue_callback_4CF ()
#19	0x0000000180b95d84 in __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ ()
#20	0x0000000180b4ff5c in __CFRunLoopRun ()
#21	0x0000000180b63468 in CFRunLoopRunSpecific ()
#22	0x000000019c70738c in GSEventRunModal ()
#23	0x00000001835065d0 in -[UIApplication _run] ()
#24	0x0000000183284f74 in UIApplicationMain ()
#25	0x0000000188822314 in closure #1 in KitRendererCommon(_:) ()
#26	0x0000000188751508 in runApp<τ_0_0>(_:) ()
#27	0x0000000188732cb8 in static App.main() ()

Relevant Code:
    struct SomeCodableObject: Codable, Identifiable {
        // your fields here...
        @DocumentID var id: String?
    }

    // authenticate with Firebase, initialize the app, etc., etc.

    func updateSubscription(subscription: SomeCodableObject) async throws {
        let docRef = db.collection('someCollection').document('someDocument')
        let _ = try await db.runTransaction({ transaction, error in
            do {
                try transaction.setData(from: subscription, forDocument: docRef)
            } catch let setError as NSError {
                error?.pointee = setError

                // In my testing, returning nil here does not seem to be an issue.
                return nil
            }

            // Returning nil here causes the error.
            return nil
            // Returning a value does not cause the error.
            // return subscription
        })
    }

Workarounds I've found so far:

return a non-nil value at the end of the successful transaction.
don't use the async declaration. If you want async, wrap the continuation yourself with a withCheckedThrowingContinuation() wrapper.

Thanks for reporting @ionothanus. This crash occurs because of the way Swift imports async Objective-C methods that return an error. In the case of runTransaction(block:completion:), the value you return from the update block is simply passed through to the completion closure and can be nil for values you'd like to ignore. However, Swift imports the success value in the resulting async method as a nonnull type, which causes a crash if you return nil.
There's a couple ways we could fix this, but they would all be breaking changes:

Check if the updateBlock's return value is nil and return NSNull instead. This would break implementations that depend on the return value being nil in Objective-C, or Swift implementations with the same behavior that do not use the async method.
Remove the async method from the API.
Disallow returning nil in the update block.

I'll figure out which path we want to pursue and then update this thread.

Hi @ionothanus, sorry for the slow update. I've found a workaround that may not require a breaking change. Can you test the changes in #9502?

No problem, it's not blocking me. #9502 doesn't appear to have resolved the issue for me, I can still reproduce the issue with the method demonstrated above. (FWIW, it's my first time trying to include a branch rather than a released version for this project, but I pointed my XCode/SwiftPM dependency at your branch, and as far as I can tell it's using the right commit.)

Ok, looks like this will have to be a breaking change. Thanks for testing!


text:
Implement a CMake build for FirebaseAuthInterop

This looks huge but it's basically just a merge of master and #1531 plus just this commit:
710867b890e94742a4676fcb6a185be940a1ffa5.

Now that #1531 has landed, this change is no longer dependent on uncommitted code. Once this lands you can just merge master into #1525.

It looks like changing the target branch doesn't trigger travis.
And it looks like  cmake files should be added to if_changed.sh


text:
[Go] [JS] add support for ollama embeddings

Currently ollama plugin only supports chat/generate models, however ollama supports embeddings models as well: https://ollama.com/blog/embedding-models

related/dupe: https://github.com/firebase/genkit/issues/670

See
https://github.com/firebase/genkit/pull/751
https://github.com/firebase/genkit/pull/807

See https://github.com/firebase/genkit/pull/841

Looks like the embeddings support was rolled back (due to merge issue) by not reapplied?
@cabljac could you please make sure it's done in both main and next branches? Thanks.

authors: cabljac huangjeff5 pavelgj

repo: firebase/genkit


text:
SVGs are displayed pixelated

When an SVG image is added and scaled, it is displayed pixelated. As it is a vector format, it should be displayed as such allowing to be Pixel Perfect. :-)
Tested with Firefox 39.0a1 + Pixel Perfect 2.0b1 on Win8.1.
Sebastian

Should be fixed now, thanks for the report.
Honza

Yes, works great now. Thanks for the fast fix, Honza!
Sebastian

authors: SebastianZ janodvarko

repo: firebug/pixel-perfect


text:
Suport multiple AWB-uri in CreateAwb()

Salut,
Se poate adauga suport in \Fancourier\Request\CreateAwb() sa se poata crea mai multe Awb-uri in acelasi timp?
Acest lucru ar salva foarte multe request-uri cand sunt create multe awb-uri in acelasi timp.
Cum este implementat in acest moment, ar trebui 2 request-uri pentru fiecare awb creat (unul pentru a genera awb-ul si inca un request pentru a citi html-ul sau pdf-ul awb-ului.
Mersi

Salut,
Interesant ca nu m-a notificat GitHub-ul cand ai deschis tichetul...
M-am uitat in documentatie, api-ul suporta aceasta functie, ar trebui adaptat codul. Voi analiza ce presupune dpdv cod, iar daca se poate relativ usor, o voi implementa.
Dar ca idee, tot iti vor ramane n+1 requesturi de facut, pentru ca printul (html/pdf) nu merge batch, ci unul cate unul.

Salut,
Nu-i problema. Pana la urma am facut o copie a repo-ului si am reusit sa adaug optiunea, si desi crearea de awb-uri in bulk a iesit relativ ok in cod, raspunsul e mai mult hackjob.
Poti sa vezi aici cum am implementat eu CreateAwbBulk: https://github.com/shusaura85/fancourier-api
Am adaugat si functiile lipsa pentru refund (e de fapt restitution) - se foloseste de exemplu cand trimiti un colet cu aviz de semnare (si trebuie sa scrii pe awb ca trebuie returnat avizul semnat si stampilat).
E adevarat ca la descarcare trebuiesc trase individual, dar tot e mai bine sa faci doar 91 requesturi in loc de 180. Asta daca nu dai sa le printezi direct din selfawb (nu e mereu nevoie de html/pdf).

Am implementat si eu functionalitatea, inclusiv restitution-ul (multam de hint).
Abordarea e putin difrita, dar ideea de baza e cam aceeasi cred.

repo: firewizard/fancourier-api


text:
Blank screen when trying to access by IP (Docker)

After accepting the self-signed cetificate error just a white screen, no login page.
Terminal outpuit from install script, .env and docker-compose.yml below
https://url.privatepastebin.com/17w
Caddy log
https://url.privatepastebin.com/17x

@HenrysCat #1102 should have fixed this. Thanks for the report!

Just confirming this now works, Thanks for all your hard work

authors: HenrysCat jamilbk

repo: firezone/firezone


text:
Snowflake query tag

resolves #1030

Description
Add the ability to set snowflake query tags upon creation of a connection or at the start of a materialization. For query tags used during materialization the session parameter that controls query tags will be returned to whatever value it was before the materialization began
Not sure what/how to test for this addition.

Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

It would also be great if you could add tests, though if tests aren't really reasonable here I understand that. Does snowflake have an API or something we could query that shows this stuff?

Snowflakes query tags are session level parameters. They can be viewed by running the sql SHOW PARAMETERS [ LIKE '<pattern>' ][ IN { SESSION | ACCOUNT | ... }]. The query_tag parameter does not appear to be accessible by introspecting the snowflake connection object and I am not aware of any way to find session parameters for arbitrary open sessions. So any kind of testing would require running the SQL in the get_current_query_tag macro from inside the session at appropriate times or looking at the snowflake query_history view, which has some obnoxious lag. I think given the mentioned complications testing for this feature might be too difficult.

One thing I would like to bring up: On errors, it seems to me that this will result in the query tag getting "stuck", because the unset_query_tag never runs, right? Is that a big problem? If it is, I think we could add a dbt feature to make cleanup more feasible (some sort of adapter-level pre/post model hooks, or a finally equivalent in jinja, or something similar).

In my view query_tags are primarily a tacking and observability tool, not a functional part of the transformation process. To my knowledge they cannot impact the running of SQL against snowflake. So "getting stuck" with an incorrect query_tag will not stop dbt from running properly.
Also I am not familiar enough with how dbt handles SQL failures in the middle of runs with multiple materializations. Will connections/sessions be reused for subsequent models if one model fails?

The stakes here feel pretty low. I haven't used query tags in Snowflake, but I could imagine them being most compelling as a mechanism for longitudinal analysis of models across production runs where builds are almost always successful, e.g. to measure performance timing. If I needed to debug a run with failed models from within Snowflake's query history, I'd more likely look to the query-comment or raw SQL as a starting point.
That said, I agree that we should have a construct for end-of-materialization cleanup steps that aren't precluded by model SQL errors.

Cool, let's just add this as-is then. We can add support for proper cleanups at a later date. I'm going to test it out locally manually before I kick off tests - I will try to get to this today, but it may be next week.

This looks ready to go to me! I've merged the changelog updates and once the tests pass I'll merge this in for 0.18.0. Thanks for your contribution, @DrMcTaco!

authors: DrMcTaco beckjake jtcohen6

repo: fishtown-analytics/dbt


text:
How to scroll with hash? Example is empty

I'm trying to learn how to push the target to the url when I click an element, so the webpage can also scroll to the right element when the hash is in the url... I think I can achieve this by using the hash, but the example is showing up with a blank sandbox...
https://codesandbox.io/s/y0zzrk1v1j
Any ideas on how to achieve this?
I'm using Gatsby

Any update on this? Would be useful... It's probably not very hard to code myself, but there should be a way to do it with this package, no?

Hi,
There is an example section in the repo.
https://github.com/fisshy/react-scroll/tree/master/examples/with-hash

Any chance to get a codesandbox.io link for this? Considering the one in the documentation is dead...

I tried it out in the "basic example" sandbox.io page because that seems to contain an anchor link as well and it doesn't work. My expectation is that when I open the page with a hash URL parameter (i.e. web.site/subpage#anchor), the page is scrolled to the section with the ID anchor. That doesn't work for me.

https://codesandbox.io/s/basic-forked-8jje2?file=/src/index.js
I created one simple here for you.

I see, thanks. The important part is giving the ID to a standard <div> instead of an <Element>, then it works.

authors: fisshy luke-m tr1s

repo: fisshy/react-scroll


text:
Great introduction in the README, but I want to see more!

I'm a big fan of Fission codes, great work!
When looking at this GitHub repo's root page (README) I'd love to see a quick simple example of using the library to implement FISSION codes, so I can see how easy it is and get an idea of how it all works (a simple JS example and Solidity example) to show the ease and power of FISSION.

Great improvements! 👍

Hooray! Thank you!

authors: Jwomers expede

repo: fission-suite/fission-codes


text:
Ports might be undefined

In this case, don't do anything. The reason for this is that Elm does dead code elimination, so if the port is not used yet, it will be undefined. Additionally, it might be the user doesn't need the wnfs stuff, so they could skip that port definition and just do the webnative one.

In this case, don't do anything

Do print a warning. If the user intended to use the port but made a typo it'd otherwise fail silently.

In this case, don't do anything

Do print a warning. If the user intended to use the port but made a typo it'd otherwise fail silently.

Fixed in v2

Fixed in v2

repo: fission-suite/webnative-elm


text:
Added Aliases to get_ad_stats_columns macro

Due to the lack of the alias tag and the column name not matching the source column, the AD_ID and AD_GROUP fields were casting as null in the stg_google_ads__ad_stats model when it tried to use the  fivetran_utils.fill_staging_columns macro. This fixes that issue and addresses Bug #31 in the Ad_Reporting package.
Are you a current Fivetran customer?
Chris Soule, Data Architect InterWorks
What change(s) does this PR introduce?
Adds aliases to the ad_group and ad_id fields as these fields were previously being casted as null through the use of the fivetran_utils.fill_staging_columns macro being used in the stg_google_ads__ad_stats model.
Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[x] No  Corrects a bug in the code that also affects the ad_reporting package (Bug #31)

Is this PR in response to a previously created Issue

[x] Yes, Issue [https://github.com/fivetran/dbt_ad_reporting/issues/31]
[ ] No

How did you test the PR changes?

[ ] CircleCi
[x] Other live test in Dev environment through dbt Cloud.

Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[x] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

As discussed with @csoule-shaker this is no longer necessary once the correct API is configured within the package.

authors: csoule-shaker fivetran-joemarkiewicz


text:
BeanMPX on Arduino Nano 33 BLE

Hi,
i wanted to run your BeanMPX on a Nano 33 BLE with a M4. After adding the Library to my project I get several errors.
Do you plan to adapt the Library to be compatible with the more powerfull Nano 33 or other Boards like the Adafruit M0 Boards?

no plans to port this project to other microcontrollers at this time

authors: SMP-DarkSonic fiztech-code

repo: fiztech-code/BeanMPX


text:
Using sum types in Model

I'm trying to make a text-based game using monomer, but I'm struggling a bit with making different views. For example, when the app is launched, I want the user to be in the main menu view. From there they can click on a button to move into the game view or the options view. The way I would implement this is to define the app model as a sum type like this:
data AppModel
  = MainMenuView MainMenuModel
  | GameView GameModel
  | OptionsView OptionsModel

Now when I want to add fields to the options view, the most convenient way to do this would be to use lenses, but since AppModel is a sum type, I only have access to a prism, which is not accepted by, say, numericField.
I also considered adding a data kind parameter to the app model so that I can keep track which view I'm in on the type level, but then I get stuck whenever I need to switch from one view to another, because the EventHandler can only switch to a new model if it has the exact same type.
So my question is, what's the monomer way to make apps with multiple views?

Ahh, I wasn't aware of singular, I'll try it out.

@Soupstraw I'll close the issue for now. Please re-open if needed or create a new one. Thanks!

authors: Soupstraw fjvallarino

repo: fjvallarino/monomer


text:
[flame_rive] null exception when no artboard with specified name is exists

Current bug behaviour
Throws Null Exception [Null Checks used on null value]
Expected behaviour
Return null or throw new Exceptions?
Steps to reproduce
In Rive Component's Example Code, change
final skillsArtboard = await loadArtboard(RiveFile.asset('assets/skills.riv')); to
final skillsArtboard = await loadArtboard(RiveFile.asset('assets/skills.riv'), artboardName: 'Not Exist');
More information
Do you have any other useful information about this bug report?
This cause because of https://github.com/rive-app/rive-flutter/blob/6d229dcdd990ca20450c160f5877566e3b7095a0/lib/src/rive_file.dart#L298-#L302
Are you interested in working on a PR for this?
yep, but Not sure how to fix it. There are three soln I came up with,

Make loadArtboard() return nullable Artboard which will be breaking.
Throw Some Type of Exception when Artboard with that name does not exist (Drawback is: User can only know when there run the App)
Return mainArtboard when Artboard with that name does not exist

I think Image.asset for example throws an exception when there is a non existent asset, we should do the same, if we aren't already doing that?

I think if the user passes a name for an artboard, they expect that artboard to exist. So, we should signal an error if it doesn't.
In this case I'd recommend to use a simple assert() that artboardByName() returned a non-null result. Thus, the only difference from the current behavior would be that the error message would be nicer and tell the user what exactly went wrong.

Agree that an asserr would be best here, to make it non-breaking.

authors: Anas35 spydon st-pasha

repo: flame-engine/flame


text:
Extract translation from FlagList.js

Extracts one translation used in Flags dropdown.
Changes in English language pack to follow.
Please check syntax before merging!

Resolves: flarum/core#931

So close! Syntax should be:
                        {app.translator.trans('flarum-flags.forum.flagged_posts.item_text', {username: username(post.user()), em: <em/>, post: post.discussion().title()})}

(only one set of curly braces)

Also should the post argument be named discussion? {username} in <em>{discussion}</em>

I also took care of this one.
Thanks again, @dcsjapan !

@tobscure @franzliedke Thanks for the corrections! I had a feeling I'd got the brackets wrong.

authors: dcsjapan franzliedke tobscure

repo: flarum/flarum-ext-flags


text:
Bugfix on unmask for IE7 and IE8 compatibility

I just change loop (for) on unmask function, because it wasn't work on old IE.

Hey @caio-ribeiro-pereira, Thanks a lot man.
Im adding a lot of pull requests together, so I will close this one, but merge in another.
Thanks!

authors: caio-ribeiro-pereira flaviosilveira

repo: flaviosilveira/Jquery-Price-Format


text:
Compilation of generated code without some replacement of input parameters

/go/src/sample/rules.go:794:176: syntax error: unexpected customerid at end of statement
GENERATED CODE:
output["hide"] = "[map[screenId:transferscreen _condition:contains(group:showTransfersScreen,input:customerid) _conditionCode:contains(group:showTransfersScreen,ctx.Input["customerid"].(string))] map[screenId:accountscreen _condition:before('2020-04-30T23:32:21+00:00') _conditionCode:before("2020-04-30T23:32:21+00:00")] map[_condition:contains(group:specialCustomers,input:customerid) and randomPerc(10, input:customerid) _conditionCode:contains(group:specialCustomers,ctx.Input["customerid"].(string)) && randomPerc(10,ctx.Input["customerid"].(string),1234) screenId:specialcustomersscreen]]"

When making some adjustments to the screens.json, the ruller-dsl-feature-flag executed without error.
The adjustments were:
// wrong
{
 "redirect": [
        {
            "fromId":"paymentscreen",
            "targetId":"/tela/funcionalidade-indisponivel",
            "_condition": "input:_ip_city=='Brasília'"
        },
        {
            "fromId":"minhasfinancashome",
            "targetId":"minhasfinancashomeB",
            "_condition": "randomPerc(50, input:customerid)"
        },
        {
            "screenId":"minhasfinancashome",
            "targetId":"/tela/minhas-financas",
            "_condition": "versionCheck(input:app_version, '<=4.3')"
        }
    ],
"hide": [
        {
            "screenId":"transferscreen",
            "_condition": "contains(group:showTransfersScreen,input:customerid)"
        },
        {
            "screenId":"accountscreen",
            "_condition": "before('2020-04-30T23:32:21+00:00')"
        },
        {
            "screenId":"specialcustomersscreen",
            "_condition": "contains(group:specialCustomers,input:customerid) and randomPerc(10, input:customerid)"
        }
    ]
}

//right

 "_items": [
        {
            "label": "redirect",
            "_items": [
                {
                    "fromId":"paymentscreen",
                    "targetId":"/tela/funcionalidade-indisponivel",
                    "_condition": "input:_ip_city=='Brasília'"
                },
                {
                    "fromId":"minhasfinancashome",
                    "targetId":"minhasfinancashomeB",
                    "_condition": "randomPerc(50, input:customerid)"
                },
                {
                    "screenId":"minhasfinancashome",
                    "targetId":"/tela/minhas-financas",
                    "_condition": "versionCheck(input:app_version, '<=4.3')"
                }
            ]
        },
        {
            "label": "hide",
            "_items": [
                {
                    "screenId":"transferscreen",
                    "_condition": "contains(group:showtransfersscreen,input:customerid)"
                },
                {
                    "screenId":"accountscreen",
                    "_condition": "before('2020-04-30T23:32:21+00:00')"
                },
                {
                    "screenId":"specialcustomersscreen",
                    "_condition": "randomPerc(10,input:customerid) and contains(group:specialcustomers,input:customerid)"
                }
            ]
        }
    ]

From what I understand, the entrypoint for ruller-dsl-feature-flag  to understand and execute the rules correctly is the keyword _items. Is that true @flaviostutz ?
I noticed a problem: keys from _groups must be a lowercase string, if not ruller-dsl-feature-flag  can't find the content, this could be an issue. Had you noticed that, @flaviostutz ?
The result was (POST http://localhost:3000/screens):

{
    "_items": [
        {
            "_items": [
                {
                    "label": "redirect"
                },
                {
                    "_items": [
                        {
                            "_condition_debug": "before('2020-04-30T23:32:21+00:00')",
                            "screenId": "accountscreen"
                        }
                    ],
                    "label": "hide"
                }
            ],
            "label": "my root label"
        }
    ]
}

Is this an expected answer for the type of application you want to use?

Yes. You gotta an error!
I haven't noticed that yet. Maybe this is an error.
That's right!

If not asking too much, please change the erroneous screen.json and send it in a PR.
Thanks!

@flaviostutz, I sent the PR.
Thanks

authors: MichaelRSilva flaviostutz

repo: flaviostutz/ruller-dsl-feature-flag


text:
blog post about taking youtube notes in Obsidian in 30 Seconds

Right now, taking notes from youtube to Obsidian sucks. To take YT notes, I need to manually copy the timestamp of the video, annotate the video with the correct timestamp, and put all of this in Obsidian. If I don't keep track of the timestamp, coming back to the video requires me to sift through the video to find where my note is referencing. I don't like this manual work so I decided to add a better way in Fleeting Notes.
When taking YT notes in FN, the YT timestamp is automatically added to the source URL. This way timestamps are located within the links themselves. And thanks to youtube's timestamp feature, videos play at the exact time specified within the link. Additionally, I can turn on a setting that automatically fills the source URL when I add a note. Which further simplifies this process.
When combined with the automatic Obsidian sync, I don't need to worry about capturing the timestamp, URL or integrating the note to my knowledge base. I can finally focus on the one thing that matters--writing notes.

https://fleetingnotes.app/posts/best-way-to-take-youtube-notes-for-obsidian/

https://fleetingnotes.app/posts/best-way-to-take-youtube-notes-for-obsidian/

repo: fleetingnotes/fleeting-notes-quartz


text:
python runs fine on android, but i don't know how can i add 3rd party libraries

python runs fine on android, but i don't know how can i add 3rd party libraries

What libraries specifically you'd like to add?

python runs fine on android, but i don't know how can i add 3rd party libraries

@du9ngtdh Try updating the requirements.txt file in src

Những thư viện cụ thể bạn muốn thêm?

i want to add the libraries numpy, opencv, ...
chaquopy does provide a repository of libraries, but most of them are only for python3.8, I'd be grateful if you could provide more options serious_python python3.8

Hi, i am struggeling with the same problem.
For example adding 'plyer' to requirement.txt and using it in main.py works fine but adding 'numpy==1.24.2' leads to a SocketError (No such file or directory).

Hi, i am struggeling with the same problem.
For example adding 'plyer' to requirement.txt and using it in main.py works fine but adding 'numpy==1.24.2' leads to a SocketError (No such file or directory) while running the app.

on android you can use C extensions package like numpy, cv2, tflite, pandas, tensoflow, pytouch... the thing to do is use python3.8.  The picture above is an example

It's a pity that flet_embed (for mobile) doesn't work directly with chaquopy.  I can integrate chaquopy's python3.8 into Serious_python.  and it is compatible with flet.  First we need to modify the Py_Initialized() function, we will initialize python3.8 with setenv to set the PYTHONPATH with Flutter ffi.  DynamicLibrary.open files.so supports Numpy's library.  also build .py files using python3.8 on chaquopy.  There's so much to do that it's hard to give complete instructions

It's a pity that flet_embed (for mobile) doesn't work directly with chaquopy. I can integrate chaquopy's python3.8 into Serious_python. and it is compatible with flet. First we need to modify the Py_Initialized() function, we will initialize python3.8 with setenv to set the PYTHONPATH with Flutter ffi. DynamicLibrary.open files.so supports Numpy's library. also build .py files using python3.8 on chaquopy. There's so much to do that it's hard to give complete instructions

I also believe that the way the Python application is loaded is not ideal. Attaching the app.zip to the APK makes it very heavy, depending on the dependencies we intend to use. Perhaps enabling the loading of applications from cache or another directory could bring more flexibility. This would significantly reduce the size of the APK. Now, it's also necessary to address the issue of the extraction time of app.zip when it's very large; this could take minutes.

Olá, estou lutando com o mesmo problema.
Por exemplo, adicionar 'plyer' a require.txt e usá-lo em main.py funciona bem, mas adicionar 'numpy==1.24.2' leva a um SocketError (nenhum arquivo ou diretório) durante a execução do aplicativo.

no Android você pode usar pacotes de extensões C como numpy, cv2, tflite, pandas, tensoflow, pytouch ... o que você precisa fazer é usar python3.8. A imagem acima é um exemplo

What do I need to do to change the Python version?

Here is how you can add 3rd-party libraries to your app with serious_python: https://github.com/flet-dev/serious-python/tree/main/src/serious_python#adding-custom-python-libraries

repo: flet-dev/serious-python


text:
SQL type defaults

Default unknown SQL types to varstring.

It works.

authors: lehenbauer resuna

repo: flightaware/speedtables


text:
打包报错，ERROR: Syntax error，而且不是100%报错，10次有9次报错，什么原因？

兄弟，这样我也很难看出来是包的问题还是其他的问题呀。
能不能提供一个最小实例Demo？

我知道是什么问题了，config.ts里加上lastUpdated: true就会报错，去掉就好了

加上lastUpdated: true，编译的时候好像对md失效了

但是加上lastUpdated: true，同时在md中去掉preview组件，也可以成功，貌似preview组件和lastUpdated: true这个参数冲突一样

这样昂，抽时间看下。谢谢啦

兄弟能提供一个仓库吗？我想复现下你提的这个问题

https://github.com/cavellpotter/vitepress-demo-preview-test.git

终于解决了，另外2.2.0版本有个css报错。
 justify-content: end

终于解决了，另外2.2.0版本有个css报错。
 justify-content: end

兄弟怎么解决的呢?

终于解决了，另外2.2.0版本有个css报错。
 justify-content: end

额，我没有发现关于CSS上的报错。
既然知道哪里有报错了，有没有兴趣来提个PR呢。

我也没发现css报错!!😊

https://github.com/cavellpotter/vitepress-demo-preview-test.git

看看这个和更新时间冲突打包报错的问题呢?亲!!

https://github.com/cavellpotter/vitepress-demo-preview-test.git

看看这个和更新时间冲突打包报错的问题呢?亲!!

这个问题我测试过了，我在仓库的example项目上没有出现过一次这种问题。但是用上面这个兄弟仓库的也试过确实出现打错错误的情况，但是也有打包成功过。
这种情况我真不知道从哪里下手，哭死。

https://github.com/cavellpotter/vitepress-demo-preview-test.git

看看这个和更新时间冲突打包报错的问题呢?亲!!

这个问题我测试过了，我在仓库的example项目上没有出现过一次这种问题。但是用上面这个兄弟仓库的也试过确实出现打错错误的情况，但是也有打包成功过。
这种情况我真不知道从哪里下手，哭死。

还有一个情况我测试过,如果docs:build": "vitepress build"打包就不会出错.docs:build": "vitepress build docs"这样就出错.总的来说.关闭更新时间就OK的.😊😊😊😊😊

@supbose @zy823957866 @cavellpotter Hello，有空帮忙测试下，@vitepress-demo-preview/plugin 安装到 v1.1.9 然后再试试打包看看会不会出现这种问题。感谢啦！

authors: cavellpotter flingyp supbose zy823957866

repo: flingyp/vitepress-demo-preview


text:
Add feature flag to disable case class arity usage

Solves #121

Thanks for the feature flag! Seems to do the trick in our use case.
Any idea when is this going to be released?

@IgnasD Yes, this should help to restore the old logic to de/serialize case classes.
I can release it today.

No rush. But sometime next week would be perfect. Thanks!

authors: IgnasD novakov-alexey

repo: flink-extended/flink-scala-api


text:
added ripple drawable support with backport support for pre lollipop …

…devices

@rupamgho123 Awesome dude 😎

repo: flipkart-incubator/proteus


text:
@floating-ui/dom is broken with typescript 4.7 node16 module resolution

When enabling "moduleResolution": "node16" in tsconfig.json, tsc now uses the exports field of package.json to look up imports.
So when i do:
import { arrow, autoUpdate, computePosition, flip, offset, shift, size } from '@floating-ui/dom';

If successfully finds it:
======== Module name '@floating-ui/dom' was successfully resolved to '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/index.d.ts' with Package ID '@floating-ui/dom/index.d.ts@0.5.1'. ========

But then it fails when @floating-ui/dom wants to import @floating-ui/core/src/detectOverflow (see https://github.com/floating-ui/floating-ui/blob/master/packages/dom/src/types.ts#L14):
======== Resolving module '@floating-ui/core/src/detectOverflow' from '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/src/types.d.ts'. ========
Explicitly specified module resolution kind: 'Node16'.
'baseUrl' option is set to '/Users/jzwartepoorte/Projects/dna', using this value to resolve non-relative module name '@floating-ui/core/src/detectOverflow'.
Resolving module name '@floating-ui/core/src/detectOverflow' relative to base url '/Users/jzwartepoorte/Projects/dna' - '/Users/jzwartepoorte/Projects/dna/@floating-ui/core/src/detectOverflow'.
Loading module as file / folder, candidate module location '/Users/jzwartepoorte/Projects/dna/@floating-ui/core/src/detectOverflow', target file type 'TypeScript'.
File '/users/jzwartepoorte/projects/dna/node_modules/@floating-ui/dom/src/package.json' does not exist according to earlier cached lookups.
File '/users/jzwartepoorte/projects/dna/node_modules/@floating-ui/dom/package.json' exists according to earlier cached lookups.
Loading module '@floating-ui/core/src/detectOverflow' from 'node_modules' folder, target file type 'TypeScript'.
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/src/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
File '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/core/package.json' exists according to earlier cached lookups.
Export specifier './src/detectOverflow' does not exist in package.json scope at path '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/core'.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/Users/jzwartepoorte/Projects/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/Users/jzwartepoorte/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/Users/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
Directory '/node_modules' does not exist, skipping all lookups in it.
Scoped package detected, looking in 'floating-ui__core/src/detectOverflow'
'baseUrl' option is set to '/Users/jzwartepoorte/Projects/dna', using this value to resolve non-relative module name '@floating-ui/core/src/detectOverflow'.
Resolving module name '@floating-ui/core/src/detectOverflow' relative to base url '/Users/jzwartepoorte/Projects/dna' - '/Users/jzwartepoorte/Projects/dna/@floating-ui/core/src/detectOverflow'.
Loading module as file / folder, candidate module location '/Users/jzwartepoorte/Projects/dna/@floating-ui/core/src/detectOverflow', target file type 'JavaScript'.
File '/users/jzwartepoorte/projects/dna/node_modules/@floating-ui/dom/src/package.json' does not exist according to earlier cached lookups.
File '/users/jzwartepoorte/projects/dna/node_modules/@floating-ui/dom/package.json' exists according to earlier cached lookups.
Loading module '@floating-ui/core/src/detectOverflow' from 'node_modules' folder, target file type 'JavaScript'.
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/src/node_modules' does not exist, skipping all lookups in it.
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/dom/node_modules' does not exist, skipping all lookups in it.
Directory '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/node_modules' does not exist, skipping all lookups in it.
File '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/core/package.json' exists according to earlier cached lookups.
Export specifier './src/detectOverflow' does not exist in package.json scope at path '/Users/jzwartepoorte/Projects/dna/node_modules/@floating-ui/core'.
Directory '/Users/jzwartepoorte/Projects/node_modules' does not exist, skipping all lookups in it.
Directory '/Users/jzwartepoorte/node_modules' does not exist, skipping all lookups in it.
Directory '/Users/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
======== Module name '@floating-ui/core/src/detectOverflow' was not resolved. ========

Thanks 🙏  I assume this is not an issue in any of the React packages?

No, I've searched the codebase for any other @floating-ui/core/src/.... imports, but there were none in any react packages.

Thanks! Any chance of a new release? :) (kind of a showstopper for me atm)

I want to merge #1723 and #1724 first hopefully within the next day. patch-package will help you in the meantime

Thanks, I'll look into patch-package.

authors: atomiks jpzwarte

repo: floating-ui/floating-ui


text:
Need help reward video does not work

This is my code based on sample. I want to test using admob test id.
//Prepare your AdMob Ad Unit Id for your banner and interstitial
    var admobid = {};
    admobid = { // this is sample test id
        banner: 'ca-app-pub-6869992474017983/9375997553',
        interstitial: 'ca-app-pub-6869992474017983/1657046752'
    };

// prepare reward video
    function admobRewardVideoAd(){
        if(AdMob) AdMob.prepareRewardVideoAd({
            adId: admobid.reward,
            isTesting: true,
            autoShow: true
        });
    }

//1. try call after device ready
document.addEventListener("deviceready", admobRewardVideoAd, false);

//2. try call the reward video
AdMob.showRewardVideoAd();

//3. try call the reward video
admobRewardVideoAd();

I try 3 ways, all of them still not show the reward video. Any hints?
Thank you

AdMob has no much video sources, you need add some mediation to some other Ad networks, like vungle, adcolony, etc.
I am working on a new plugin cordova-plugin-vungle, and will add a mediation adapter cordova-plugin-admob-vungle but not finished yet.
You can try downloading the mediation adapters from admob website then add it manually, or wait my vungle plugin done.

See #511, same issue, let's follow up in that tracker.

authors: cyclonmaster floatinghotpot

repo: floatinghotpot/cordova-admob-pro


text:
Aspect ration seems broken if changed.

Everything is working fine, but the aspect ratio seems to be 9:16 (vertical video) which is odd.
Doing a basic $ ./deepseg -d -d -c /dev/video0 -v /dev/video2 works but leaves me with a vertical aspect ratio.. > image
Changing the video in any shape or form $ ./deepseg -d -c /dev/video0 -v /dev/video2 -w 720 -h 480 gives an unusable video output, turns the person into a black/dark blob and OBS loops the last 2 frames rapidly (wierd artifacts). > image
Debug:
$ ./deepseg -c /dev/video0 -v /dev/video2
deepseg v0.2.0
(c) 2021 by floe@butterbrot.org
https://github.com/floe/deepbacksub
debug:  0
ccam:   /dev/video0
vcam:   /dev/video2
width:  640
height: 480
flip_h: no
flip_v: no
threads:2
back:   (none)
model:  models/segm_full_v679.tflite

Startup: 28871574ns

Thanks for the hard work you put into this

The segm_full_v679.tflite model is designed for portrait input, so we can either scale down the input image or make a portrait cutout. But the newer "selfie" model (models/selfiesegmentation...tflite) is more accurate and has a square input shape, I suggest to try that one instead.

authors: MKrabs floe

repo: floe/deepbacksub


text:
Support of escape characters

We have to support escape characters like \n, \t or \r.
Right now they don't get parsed. I don't know if it is possible to let swift handle this for all strings by default...

Sure if swift can handle these that would be nice. This feature too is nice to have but not strictly necessary and we should focus first on making the language correct first with our core features.

But if we implement this it would also be lovley if we could have string interpolation like swift 😍

Yes, but it is quite difficult to built a solid cli program without\n haha (for the showcase demo example)

true yeah we should handle that, also it would be nice to have a print without the newline.

yes, probably just differ between println and print is the easiest way

implemented

repo: flofriday/Moose


text:
(Documentation) sapp/iOS requires linking with Foundation framework

Can we make an addition to the Sokol App docs for iOS?
https://github.com/floooh/sokol/blob/64a6f2e2fac607ddcd4ccc5bd8bcd25946293550/sokol_app.h#L79
The Foundation framework defines a handful of ObjC-related symbols used by sapp/iOS, like NSStringFromClass.
Cheers! ☺

Ok fixed, I didn't notice this so far because I have Foundation hardwired in fips. Not a great idea in hindsight. Strange that macOS doesn't seem to require Foundation though (e.g. in https://github.com/floooh/cimgui-sokol-starterkit I'm using a vanilla CMakeLists.txt file without fips and it works).

authors: bryantdrewjones floooh

repo: floooh/sokol

license: Zlib


text:
Invalid 'Authorization' header

We have configured search guard with AD authentication. It works, but for users with colon symbol auth doesn't work with the following WARN:
[WARN ][com.floragunn.searchguard.authentication.http.basic.HTTPBasicAuthenticator] Invalid 'Authorization' header, send 401 and 'WWW-Authenticate Basic'

The problem is in this part of https://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/authentication/http/basic/HTTPBasicAuthenticator.java:
if (decodedBasicHeaderParts.length != 2 || decodedBasicHeaderParts[1] == null)
When password contains colon (":"), decoded phrase include more than 2 parts and auth attempt throws an exception.

confirmed as a bug. can you provide a pull request/patch to fix it?

We need also check properly for a blank password

Fixed for Search Guard 2. Pls. do not longer report issues for Search Guard 1 (for elasticsearch 1.x). We sincerely apologize for the inconvenience this may have caused. Thanks for contributing!

authors: floragunncom surewecan

repo: floragunncom/search-guard


text:
Object of class Exchanger\ExchangeRate could not be converted to string

{!! Swap::latest('EUR/USD') !!}
Object of class Exchanger\ExchangeRate could not be converted to string (View: C:\xampp\htdocs......
what is the problem?

`{!! Swap::latest('EUR/USD')->getValue() !!}

authors: bhdrnzl florianv

repo: florianv/laravel-swap


text:
[npm] 1.9.1 is tagged as latest instead of 2.2.1

When I ran npm outdated on a project of mine, I saw that gulp-sourcemaps version 1.9.1 is tagged as latest instead of version 2.2.1. Is this intentional?

1.9.1 is the latest for the 1.X branch, and 2.2.1 is the latest for 2.X . They are the same code base with different dependencies. Where 2.X requires node >  4.X

authors: AgentME nmccready

repo: floridoo/gulp-sourcemaps

license: isc


text:
Fixed credentials typo

Signed-off-by: Stephen Coetzee stephen@jemstep.com

Fixed Typos


text:
Set up project and create basic script to start a Fluo cluster on EC2

Everything does not need to 100% automated.  However, instructions should result in a Fluo cluster running on EC2.

See fluo-io/fluo#356


text:
subscribe presence

SIP js has subscribe where one UA can subscribe the presence of others. Is it possible to do it with this UA?
https://sipjs.com/api/0.5.0/subscription/

I think it needs to be developed for this.

Not without actual feature development. Have a go and submit a PR?

authors: aunghtain cloudwebrtc ghenry

repo: flutter-webrtc/dart-sip-ua


text:
Call hangup instantly

When trying to make a call :
E/flutter (13148): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Call initialize before setting the stream
The app registers fine.

seems like the request is made wrong :
(note that i replace all sensitive information with "----")
I/flutter (25834): [2022-04-29 10:28:27.979] Level.debug rtc_session.dart:1684 ::: emit "sdp"
I/flutter (25834): [2022-04-29 10:28:27.984] Level.debug rtc_session.dart:2292 ::: emit "sending" [request]
I/flutter (25834): [2022-04-29 10:28:27.995] Level.debug transport.dart:167 ::: send()
I/flutter (25834): [2022-04-29 10:28:27.999] Level.debug sip_message.dart:275 ::: Outgoing Message: v=0
I/flutter (25834): o=- 4506927224027681378 2 IN IP4 127.0.0.1
I/flutter (25834): s=-
I/flutter (25834): t=0 0
I/flutter (25834): a=group:BUNDLE 0
I/flutter (25834): a=extmap-allow-mixed
I/flutter (25834): a=msid-semantic: WMS 557214c7-1d6a-4e84-bd3a-ed0da452c126
I/flutter (25834): m=audio 38666 UDP/TLS/RTP/SAVPF 111 63 103 104 9 102 0 8 106 105 13 110 112 113 126
I/flutter (25834): c=IN IP4 77.205.143.233
I/flutter (25834): a=rtcp:9 IN IP4 0.0.0.0
I/flutter (25834): a=candidate:180044992 1 udp 2122260223 192.168.43.111 38666 typ host generation 0 network-id 3 network-cost 10
I/flutter (25834): a=candidate:559267639 1 udp 2122202367 ::1 56181 typ host generation 0 network-id 2
I/flutter (25834): a=candidate:1510613869 1 udp 2122129151 127.0.0.1 37110 typ host generation 0 network-id 1
I/flutter (25834): a=candidate:842163049 1 udp 1686052607 77.205.143.233 38666 typ srflx raddr 192.168.43.111 rport 38666 generation 0 network-id 3 network-cost 10
I/flutter (25834): a=candidate:1876313031 1 tcp 1518222591 ::1 60703 typ host tcptype passive generation 0 network-id 2
I/flutter (25834): a=candidate:344579997 1 tcp 1518149375 127.0.0.1 59068 typ host tcptype passive generation 0 network-id 1
I/flutter (25834): a=i
I/flutter (25834): [2022-04-29 10:28:28.3] Level.debug websocket_interface.dart:130 ::: send()
I/flutter (25834): [2022-04-29 10:28:28.10] Level.debug websocket_dart_impl.dart:49 ::: send:
I/flutter (25834):
I/flutter (25834): INVITE sip:----@---- SIP/2.0
I/flutter (25834): Via: SIP/2.0/WSS ymadfpsnyljk.invalid;branch=z9hG4bK1193479090000000
I/flutter (25834): Max-Forwards: 69
I/flutter (25834): To: sip:----@----
I/flutter (25834): From: "getuser" sip:----@----;tag=311f4go2ic
I/flutter (25834): Call-ID: 8l31571793058e65k420
I/flutter (25834): CSeq: 2975 INVITE
I/flutter (25834): Contact: sip:----@ymadfpsnyljk.invalid;transport=wss;ob
I/flutter (25834): Content-Type: application/sdp
I/flutter (25834): Session-Expires: 120
I/flutter (25834): Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
I/flutter (25834): Supported: timer,ice,replaces,outbound
I/flutter (25834): User-Agent: Dart SIP Client v1.0.0
I/flutter (25834): Content-Length: 2295
I/flutter (25834):
I/flutter (25834): v=0
I/flutter (25834): o=- 4506927224027681378 2 IN IP4 127.0.0.1
I/flutter (25834): s=-
I/flutter (25834): t=0 0
I/flutter (25834): a=group:BUNDLE 0
I/flutter (25834): a=extmap-allow-mixed
I/flutter (25834): a=msid-semantic: WMS 557214c7-1d6a-4e84-bd3a-ed0da452c126
I/flutter (25834): m=audio 38666 UDP/TLS/RTP/SAVPF 111 63 103 104 9 102 0 8 106 105 13 110 112 113 126
I/flutter (25834): c=IN IP4 77.205.143.233
I/flutter (25834): a=rtcp:9 IN IP4 0.0.0.0
I/flutter (25834): a=candidate:180044992 1 udp 2122260223 192.168.43.111 38666 typ host generation 0 network-id 3
tested on sip_ua 0.5.0 and in 0.5.1 (Android 8 Huawei EMUI 8 and Android 10), it happens on those 2 versions

Okay found out what was my problem

Okay found out what was my problem

Hie @treirouxel88. Thanks for your update on this. I am having the same issue. How did you solve this ?

i forgor


text:
Flutter PopupMenu - How to detect whether PopupMenu is opened or not

I need to toggle the icon image of the popup menu when its opened n closed.
I think we can get the closed state in onSelect and onDismiss method.
But how to catch when popup menu is visible??

@subinsuresh
Your question is better suited for support channels like StackOverflow, so please ask the same there.
Closing from here as this is more of a code assistance question rather than a bug or feature request.

authors: darshankawar subinsuresh

repo: flutter/flutter