text:
Capitalize log in link on logged-out page

https://github.com/fetlife/fetlife-web/pull/13420#issuecomment-676447582

Of the 900 translations in this file there are quite a few that are lowercase. Without knowing the context they're used in I'd hesitate to update them all.

@seanlinsley oh, sorry. I meant capitalization for just that one link for log_in.

But you are right, maybe it's not that simple and someone speaking the language should check if it makes sense. We can revisit later on, as Rene suggested https://github.com/fetlife/fetlife-web/pull/13420#discussion_r472424266.
All good. Thanks for doing this!

authors: nenadjelovac seanlinsley

repo: fetlife/translations


text:
Fixing multiple fastds

every fastd process should have its own unique key. This PR addresses this issue but needs to tested since I do not have a test gw atm.

tested on a temporary test gw - should work in real world, too

source: gharchive/pull-request

repo: ffbsee/ffbsee-ansible

license: MIT

license_type: permissive

license_source: github-api


text:
Logo

Logo
Adiciona logo ao projeto e atualizações.
Tipo da mudança

[ ] Mudança na documentação
[x] Novo arquivo (funcionabilidade nova)
[x] Edição de arquivo (alteração de funcionalidade)
[ ] Correção de bug (sem alterações de funcionalidade)
[ ] Adição de nova fucionalidade.
[ ] Não se aplica.

Descrição da mudança

Foi feita e adicionado a logo vetorizada e suas variantes singles, pretas e brancas. As mesmas foram adicionadas a pagina de documentação. Exclusão da logo provisória.
Atualização na pagina de documentação com alterações na capa, menu lateral e pagina inicial.
Issue relacionada

FIX #34 #17
Screenshots

Checklist

[x] Você verificou se não há outras Solicitações de Pull para a mesma atualização/alteração que você está trabalhando?
[x] As mudanças seguem as políticas de commit e branch?
[x] Os membros da equipe estão de acordo com a atualização?
[x] O pull request possui nome significativo.
[x] O pull request possui descrição significativa.
[x] O pull request possui a marcação correspondente ao tipo da mudança.
[x] O pull request possui screenshots quando necessário.
[x] O pull request possui labels.

Quem contribuiu?

@pabloheika

Pull request da logo revisado e aprovado,  sem conflitos e com a logo muito bem feita


text:
Update NuGet package

Hi,
Can you share spin.js on nuget with the LATEST VERSION. The last update is 2013-05-05 on github: http://www.nuget.org/packages/Spin.js/
If you do not add, I can add it. But it would be better to update existing nuget package, instead of a new one.
Thanks.

Unfortunately the nuget package is published by an unknown third party (@itmeze I believe). I'll contact him about this issue, and let's see what we can do.

Closing since the NuGet package is published by a third party and is not officially supported.

source: gharchive/issue

authors: TimothyGu hikalkan theodorejb

license: mit

license_source: bigquery


text:
Add firewall destroy for Civo

When destroying Civo, add a step to delete the firewall.

It was a network issue, it's fixed.

license: Unlicense


text:
Bootstrap existing model?

If, instead of creating a new model with the gem, I modify an existing one, I am likely to end up with empty uuid attributes. They will likely need a uuid generated (this is not overly difficult, since you are just using SecureRandom.uuid).
I will probably want to be able to generate a creation event for these pre-existing objects. How can I do this?

I'm not sure if there's a standard way of handling this problem, but in the past I've used a different kind of event, such as legacy_conversion. This reflects the fact that the projection existed before event sourcing was being used, and serves a useful marker that, even though we've made our best effort at preserving history, some of that history may have already been lost.
I find this is a useful distinction to make from a standard creation, which implies that you're looking at a record that has only lived under an event sourcing system and thus you should be able to be much more confident about the projection you're dealing with.
For uuid assignment, I'd probably try creating it manually on the model before making the event, for example:
subscription.update_attribute(:uuid, SecureRandom.uuid)
subscription.events.legacy_conversion.create!(
  bottles_per_shipment: subscription.bottles_per_shipment
)

Want to give that a try and let me know how that works out?

I'm going to close this out for now, please feel free to re-open if you feel that's appropriate.

authors: Trevoke fhwang


text:
🛑 MetalurgicaMiele is down

In 4d91a0d, MetalurgicaMiele (https://www.metalurgicamiele.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MetalurgicaMiele is back up in 2f97731.

repo: fideo/statusSites


text:
Error: Cannot call a class as a function

See https://github.com/fielded/nav-integrated-national-dashboard/issues/101
Was fixed by https://github.com/fielded/angular-nav-data/pull/22
Have to figure out how to stop including external dependencies without getting this error.

https://github.com/ex-machine/ng-classified via @jjal

The last build that seemed to work was the one for version 4.0.0.
After that any uglified build produces the error. May be related to a new version of some of the libraries used in the build process.

authors: patriciagarcia tlvince

repo: fielded/angular-nav-data


text:
Client Allocation Request for: Guazi Dynamic

Client Allocation Questions
Core Information

Name: Guazi Dynamic
Website / Social Media: guazi.io
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f3qaipvxrz2gxexc7mcvjsxifmscfiw7c7zfhrmq76j5ee4hcbvg3gbtpea7wgz72kkjcjmwzhm5uo2onxyocq
Notary Requested: ozhtdong

Hello, @ozhtdong, application information could be found at here. Additionally, we will be storing open datasets from here. Thank you!

We are still discussing whether to accept the miners' request or not. And I will get back to you if any decision.

Hello, @ozhtdong, we see updates in last governance call that the application process has been restarted? Have you guys reached decisions yet? Thank you!

@ozhtdong bump

@ozhtdong hello~

@ozhtdong ～

@ozhtdong bump~

@Fatman13 - @ozhtdong is currently out of DataCap to allocate. Would recommend you reach out to another notary that still has DataCap available or wait 2-3 weeks till the next round of notary elections is completed. Thank you!

authors: Fatman13 dkkapur ozhtdong


text:
possibility to change list view by icon

Hello, good afternoon, I'm new using filegator. I would like to know if there is a way to change the list view by icon.

Hi,
I'm not sure what do you mean here, to change what exactly?

view attachments or documents in icons like this

Ok, I see, you want to toggle between different layouts and you want to be able to preview file contents.
This is not supported but let's leave this here as a feature request.
Thanks

refs #98 #92

authors: alcalbg kainpro

repo: filegator/filegator


text:
Feature: Append app name to title

What feature or improvement do you think would benefit Files?
Unlike UWP, setting the window title in WinUI 3 doesn't append the app name. This makes it harder to distinguish a folder window opened in Files from one opened in File Explorer.
Requirements
When setting title, set it as folder name - Files.
Files Version
2.4.0.0
Windows Version
10.0.22000.1335
Comments
No response

@JaiganeshKumaran do you want to open a PR?

@JaiganeshKumaran do you want to open a PR?

Sure.

repo: files-community/Files


text:
Startup Setting Ignored if Files Not Closed Before PC Shutdown

Description
Continue where you left off startup setting is ignored if Files is not closed before shutting down the PC.
On reboot, Files will open to the 'Home' page.
The startup setting works fine if Files is closed before shutting down the PC.
Steps To Reproduce

Set startup setting to Continue where you left off
Leave Files running
Shut down PC

Requirements
Files should remember the startup setting on PC reboot. It should make no difference whether Files is running or closed before  shutting down the PC.
Files Version
2.5.0.0
Windows Version
Windows 11 (22H2): 22621
Log File
debug.log

This also can be reproduce if the user signs out or with certain crashes. (No notification for these crashes, the window will just close.)

This is currently the way the feature is intended to work, can you please open a feature request so we can track support for detecting shutdown?


text:
Please, leave a keyboard shortcut for creating a new item!!

What feature or improvement do you think would benefit Files?
One reason I like your Files app is that Ctrl+Shift+N shortcut can not only create a folder, but also different types of files, which is much better than Explorer. Creating an item without touching mouse is superb!
However, the latest V3 update changed the function of this, and the process of creating an item via Ctrl+Shift+N doesn't work, it just creates a folder. To create an item without a mouse, now we have to use Ctrl+Shift+P and search the prompt.(p.s. Command Palette is a great improvement indeed)
As always, I'd love to use Files, but I don't think that replacing the old one is a good idea.
Requirements
Restore the Ctrl+Shift+N menu to its original functionality.
Alternatively, create a separate shortcut key for the "Create new item" menu.
Files Version
3.0.2.0
Windows Version
10.0.22621.2506
Comments
No response

Thank you for your feedback, the next update will use the ctrl + shift + i shortcut for creating new items.

Thanks, you're making great things happen!


text:
Drives blue sidebar missing on Files Startup

Explain the bug
Simply, other then main drive of windows which is C, other drives blue sidebar is missing while opening the app for the first time.
To reproduce

Open Files
As shown, the blue sidebar is missing
But when you click on Home button, its fixed.

Expected behavior
Suppose to show the blue sidebar for every single drive while opening.
Logfiles
debug.txt
debug_fulltrust.txt
Screenshots
https://youtu.be/lOocSO-nNRQ
System Information

OS Version: Windows 10 20H2 19042.870
App version: v1.5.2

Additional comment
Does this problem happen again after restarting the app?
Yes. This problem constantly keeps happening to me

Thanks for this report. Merging with #3701


text:
Taking 15 seconds to open menu when rightclicking a file or folder

Explain the bug
When right-clicking a file or folder to get the menu, where you can delete and rename, its taking about 15 seconds to open, sometimes the app will freeze and then I need to reopen it in order to use it again.
My app is in the latest version from the Microsoft Store so the latest update didnt fixed it.
To reproduce
Right click filr ot folder
Expected behavior
It should just open the menu immidiately like the normal file explorer
Logfile
debug.txt
debug_fulltrust.txt
System Information

OS Version: Windows 10 21H1 19043.985
App version: v1.5.0.0

Additional comment
The entire app is very laggy and almost unusable because of it, my pc is very strong (Ryzen 9 5900x nvme and all of the good stuff) so its not the problem

Perhaps you installed many apps that add their entries to the contextual bar?

Google Drive, WinRar and eset. thats it.
but it also freezing so I think thats a different problem

@TheSpringBoy could you post a screenshot of the context menu that appears in Files (if/when it appears)?

@gave92 That doesn't seem like a bad idea. It can be under the experimental settings page.

This is fixed on main.

authors: Skaldebane TheSpringBoy gave92 yaichenbaum


text:
Drag and drop mailfunction

Description
It is hard to use drag and drop for some applications.
For example - I want to import some graphics to an opened CorelDRAW I drag the file from a folder opened in Files and try to drop it to an opened CorelDRAW document, but it simply doesn't allow me to do this.
The same happens with Adobe Photoshop and some other applications, but everything works fine in a common windows explorer, which I have to use in such cases.
This is the only annoying thing, which stops me from using files as a default file browsing application.
This happened in Win10. The same issue with Win 11.

Steps To Reproduce
1 - Open CorelDRAW file.
2 - Open a folder in Files containing any Jpeg file
3 - Try to drag and drop file from a folder to a CorelDRAW document
Expected behavior
I expect a Jpeg file to be imported to a CorelDRAW document just like it happens, when using Windows Explorer instead of Files.
Files Version
v1.5
Windows Version
Windows 11  21H2 Windows Feature Experience Pack 421.18901.0.3
Relevant Assets
No response

This issue should be resolved with #5650.

authors: Zemlen yaichenbaum


text:
i cant rollback to windows default file explorer after uninstalling files

What's the Problem?
If files is set to default insted of windows file explorer then after unistalling files windows wont roll back to its original file explorer and gives error of app not found.
Solution/Idea
Please fix this so after uninstalling files, everything returns to the state what it was before. People who are not into computers won't be able to fix it on their own, just like me.:(
Alternatives
..
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
2.1.0.0
Windows Version
No response
Comments
No response

You can revert to explorer by running this script (make sure to save it as a ".reg" file):
https://raw.githubusercontent.com/files-community/Files/main/src/Files.Launcher/Assets/FilesOpenDialog/UnsetFilesAsDefault.reg

thank you ,it worked :)

Thanks. This worked for me too. But I wouldn't call this "closed". There should be an option in the menu of Files settings.
I tried it today for a little while, noticed it's much slower for opening folder, wanted to go back (after I tried setting it as default) and I couldn't have without searching and finding this issue.

@SonGokussj4 glad the script it worked. I assume you tried to disable the feature from the toggle switch in Files settings but it didn't work?

Yeah. When I switched it on, UAC showed for registry edit. A few minutes later, when I switched it off, nothing happened and I started searching for a solution.
I installed it through Microsoft Store.

Tracking in #7626


text:
Code Quality: Removed NOTICE.md link from Files.App.csproj

Resolved / Related Issues
We can expect appx. 38kB reduction in size.
Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Open Files app
Settings > About > Third party libraries expander

Thank you


text:
Simplify types and API

Remove SelfAccepting type, using single F-bounded Self type
Make RequestSyntax a dependent type of the Client
Remove RequestBuilder from RequestSyntax, tracking all URL params in the URL itself and building request just in time
Remove map and flatMap from RequestSyntax (in preparation for Free implementation)
Remove ClientBackend and related strangeness in Client

@jeremyrsmith, any chance it's possible to post a short comparison here in the thread on how user-facing API is changed?

Good point @vkostyukov:
The only major change to the user-facing API is that flatMap and map are removed.  These methods don't obey the convention of map and flatMap in that they return a different type constructor than the type that they were called on.  Instead. users should explicitly send[T] the request, specifying explicitly the type of the expected Future.
Internally, the type signatures of RequestSyntax are vastly simplified.
Also, RequestSyntax has become a dependent type of the Client.  To me, this makes sense, as a request created through a client instance can only ever be sent using that client.  This doesn't affect the user facing API.

authors: jeremyrsmith vkostyukov

repo: finagle/featherbed


text:
🛑 perzukunft web Portal is down

In e63bacb, perzukunft web Portal (https://www.perzukunft.de/) was down:

HTTP code: 500
Response time: 171 ms

Resolved: perzukunft web Portal is back up in 556faf7.

repo: finexsoftware/uptime


text:
feat: add eventbridge provider

[x] unit tests
[x] add AWS EventBridge provider

LGTM! 🎉

authors: finkef rodrigomafrarios

repo: finkef/model-ts


text:
Integration of SwapLegWithResetting into SwapLeg v2

What is this PR for?

Replace SwapLegWithResetting with SwapLeg in CalibratedCurves and remove class SwapLegWithResetting
Integrated resetting Feature into SwapLeg: Added member discountCurveForNotionalResetName in SwapLeg (if set to discountCurveName then there is no notional reset)

What type of PR is it?
Refactoring

This is the same as the previous PR "Integration of SwapLegWithResetting into SwapLeg" but without the erroneous usage of firstPeriodStartDate in the calculation of the resetting notional.
Note that the resetting notional is still slightly wrong as it does not take the FxSpotDelay into account. This is something I will fix in the future

Nice.

authors: NiklasRodi cfries

repo: finmath/finmath-lib


text:
doc(#1266): put trades demo under examples

Description
Create trade list profiles under examples folder that can use for demos
Add a demo 'script' to use when demoing, including possible arguments to use for both the profiler and helix data generator. Add it to README file
Changes
new examples/demo-trades folder
Issue
Related to #1266

It should be docs... not doc...

repo: finos/datahelix


text:
Implement ConfigParserParameterSet

Imported from Bitbucket issue 19,  created by apdavison on 06-26-2010 at 21:23, last modified: 06-30-2010 at 08:18

Done in r126:915eea9f4e12
Trac comment by apdavison on 06-30-2010 at 08:18

repo: fipymigrate/sumatra


text:
SnapshotParser Documentation and Performance

Hi Firebase,
I'm using the SnapshotParser to allow my onBindViewHolder to decide what model to map data to.
It took me awhile to figure out how to do this, as I wanted to use generics with various different models in a single recycler view (Harnessing the power of firebaseUI 🤘).
I found this answer from last year from @puf . But it looks like SnapshotParser is the new way to do this?
SnapshotParser<DataSnapshot> dataSnapshotSnapshotParser = new SnapshotParser<DataSnapshot>() {
    @Override
    public DataSnapshot parseSnapshot(DataSnapshot snapshot) {
        return snapshot;
    }
};

FirebaseRecyclerOptions<DataSnapshot> options =
        new FirebaseRecyclerOptions.Builder<DataSnapshot>()
                .setQuery(myReference, dataSnapshotSnapshotParser)
                .build();

mAdapter = new FirebaseRecyclerAdapter<DataSnapshot, MyHolder>(options) {
 //etc....

Two things:

It would be nice to see some documentation on this, and any recommendations/guidelines on working with multiple class parsing with firebase ui. (We've gotten it working, but I'm sure we could do something fancier/simpler)
Does individually parsing snapshots like this cause any performance issues versus using .setQuery(myReference, MyModel.class)? Are we losing out on any caching etc by using the SnapshotParser?

Thank you!

@ahaverty thanks for the suggestion, we should improve the docs on SnapshotParser to make this clearer.
The caching behavior is in BaseCachingSnapshotParser:
https://github.com/firebase/FirebaseUI-Android/blob/master/common/src/main/java/com/firebase/ui/common/BaseCachingSnapshotParser.java
It caches the result of the operation that turns a DataSnapshot into your custom model class.  However it has a single generic type parameter for the model class, <T>, so you have to be careful.
I think if you extended BaseCachingSnapshotParser<Object> with custom parsing code you would be able to get the behavior you want without much of a performance hit.

Thanks for the suggestion @samtstern
Am I wrong in saying I'm restricted by the BaseSnapshotParser interface requiring a single type?
Am I digging a hole if I try go further than that?
It turns out the performance without the caching snapshot parser is poor.
We're now thinking of something like a big Everything.class, passing that to the snapshot parser and mapping to our subclasses from our bind view. It sounds like it's going to get messy, so I'd appreciate any more ideas 🙏

I think you could use Object as your type parameter and then use a bunch of casting but yes you're right it will get pretty messy.

That makes way more sense.. Thanks @samtstern I'll give it a shot.

@ahaverty are all your models representing completely different data? If not, you can use a base class that contains the common fields and pass that around. Then use some sort of ModelType enum so you can figure out what type of model it is and also store it in the database.

Thanks @SUPERCILEX We've structured it like that alright:
[ {
  "type" : "merchant",
  "value" : {
    "availability" : {
      "title" : "Open",
      "type" : "open"
    },
    "chips" : [ {
      "colour" : "#68A225",
      "title" : "Favourite"
    } ],
    "imageUrl" : "testimage",
    "name" : "test store"
  }
}, {
  "type" : "advertisement",
  "value" : {
    "advertSpecificProperty1" : "test",
    "advertSpecificProperty2" : "test2"
  }
}

I was hoping there'd be no problem just checking the type and casting using generics. It worked, but it seems to have slowed down the recyclerview massively, especially with glide/images involved.
I tried parsing the object, but i'm having issues parsing from a hashmap to my object.
@SUPERCILEX I'm not familiar with kotlin, is the same possible with Java? (If not, is it possible to mix in that kotlin with my existing stuff?) Thanks for the fast help 😃

It should totally work in Java, but it might be a little longer and uglier. 😄 Looking at your data, I would create a base model with a type and value field of type T. The advertisement should be easy and just require a subclass to clarify its type (it would extend the base model with a type of Map<String, String>). The merchant one looks more complicated so I think your subclass would include another class like MerchantData or something. It would have fields imageUrl: String, name: String, availability: Availability, and chips: Map<String, String>. Then it would be up to your parser function to build those model objects from the DataSnapshot. Anything else I can clarify?

Thanks @SUPERCILEX I actually have my generics working nicely, using the SnapshotParser<DataSnapshot> trick in my original question. We're looking to move a lot of our logic out of the client, and onto functions + firebaseUI lists in the clients. So out actual production models are more complex than my example there, and more will be needed as we go . I think my only remaining issue is the performance of scrolling in a recycler view with images.
I can't prove 100% yet, but scrolling appears to be silky smooth when using FirebaseUI options with a single class + your nice caching SnapshotParser's versus using a custom SnapshotParser without the caching. Making an educated guess, I'm thinking the two Datasnapshot.getValue(myGeneric) being called in every onBindViewHolder is causing the lag. (It looks like your example doesn't cache, right?)
The single model generic seems to go all the way to the core of FirebaseUI, so I'm thinking of possibly taking @samtstern 's advice about implementing caching for multiple classes, but maybe doing it in my activity/onBindViewHolder for now. I've got datasnapshot.getKey(), so I can probably just create a new LruCache for each new model class.
Would love to hear any ideas, thanks for the help!

@ahaverty as long as you do the intensive processing in a SnapshotParser, it will be cached. Otherwise, using your own cache would work just fine too.

@SUPERCILEX & @samtstern Got it working beautifully with your simple SnapshotParser !
I wasn't thinking properly about my Base Models and inheritance, and kept rereading your comments until I got it Alex & Sam!
Thanks for sticking with me ❤
(Medium post to follow once we get FirebaseFunctions + FirebaseUI working in production 😉)
SnapshotParser<HomeFeedCell> snapshotParser = snapshot -> {
            GenericTypeIndicator<HashMap<String, Object>> rawIndicator =
                    new GenericTypeIndicator<HashMap<String, Object>>() {
                    };

            HashMap<String, Object> rawHashMap = snapshot.getValue(rawIndicator);
            String type = (String) rawHashMap.get("type");
            HomeFeedCell homeFeedCell = null;

            switch (type) {
                case "merchantOrdinary": {
                    GenericTypeIndicator<HomeFeedCell<MerchantCellValue, MerchantCellInteraction>> genericTypeIndicator =
                            new GenericTypeIndicator<HomeFeedCell<MerchantCellValue, MerchantCellInteraction>>() {
                            };
                    homeFeedCell = snapshot.getValue(genericTypeIndicator);
                    break;
                }
                case "advert": {
                    GenericTypeIndicator<HomeFeedCell<AdvertCellValue, AdvertCellInteraction>> genericTypeIndicator =
                            new GenericTypeIndicator<HomeFeedCell<AdvertCellValue, AdvertCellInteraction>>() {
                            };
                    homeFeedCell = snapshot.getValue(genericTypeIndicator);
                    break;
                }
            }

            return homeFeedCell;
        };

        FirebaseRecyclerOptions<HomeFeedCell> options =
                new FirebaseRecyclerOptions.Builder<HomeFeedCell>()
                        .setQuery(homeViewCellsReference, snapshotParser)
                        .build();

Sorry @samtstern , I prematurely closed this out of happiness. I forgot about the docs, I'll reopen, but consider my part ii) solved. Thanks again!

authors: SUPERCILEX ahaverty samtstern

repo: firebase/FirebaseUI-Android


text:
feat(storage-resize-images): put failed resizes in a separate directory

fixes: #563

Note
If the extension is configured to generate multiple sizes, the image will be copied to the failed folder even if only one size fails

closing in favour of https://github.com/firebase/extensions/pull/1374

authors: cabljac yamankatby

repo: firebase/extensions


text:
Malformed Error Messages from GetUser APIs

This is an error message I received from a GetUserByEmail() call:
cannot find user from params: {0 [foo@bar.com]  [] [] [] []}

The SDK should do a better job at producing well-formed, developer-friendly error messages.

Fixed in #113

repo: firebase/firebase-admin-go


text:
Update environment checks

Fixes #5048.

Please update the GoogleUtilities changelog

cc @mikehaney24

repo: firebase/firebase-ios-sdk


text:
Cleanup logging and error handling for initial auth persistence implementation

Remove NSLog statements from AuthPersistence
Add error pointers to all calls into AuthPersistence
Add logging to calling methods based on errors bubbled up but do not bubble errors up to the user
Add TODO's for adding in the FIRLogger

Testing

Running locally e2e - will post screen grab

API Changes

N/A

I've added these comments to b/154110693 and will follow up in a subsequent PR to add unittests and clean up some of the completion blocks.


text:
🐛 [firebase_core] No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core

Bug report
Description
The app won't work when building for Windows, it works fine for Android and the Web
Steps to reproduce

Create a new Flutter app
Add Firebase to the app following the Firebase guid for Flutter ( Choose Android, Web and Windows )
Initialize Firebase on the app entry point before calling runApp
Now build for Web and Android to test if it is working
If step 4 is working fine build for Windows, you will get the problem on your console and the app will be just a white screen

Expected behavior
Well the app should just build haha
Sample project
I think its faster to just use the VS Code extension to create a new project

Additional context

I have used VS Code to create the Flutter project
I have used the fluterfire cli to add firebase to the app

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.22621.1], locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.0)
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.67.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.0
Flutter SDK 3.0.0
odin 1.0.0+1

dependencies:
- cupertino_icons 1.0.4
- firebase_auth 3.3.18 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.16.0
- fake_async 1.3.0 [clock collection]
- firebase_auth_platform_interface 6.2.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.15 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.4.0 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- path 1.8.1
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- vector_math 2.1.2

Hi! Windows isn't supported here, you need to add firebase_core_desktop first to get it supported. Please check this blog for more details on how to add it.

@pr-Mais but are there plans for Windows to be supported? I mean, the firebase cli now includes Windows in the initialize list

Officially no, but Invertase is sponsoring the FlutterFire Desktop project which add Windows and Linux support using the same platform interface of FlutterFire, this is the Roadmap, check this discussion.

authors: Kirchesch pr-Mais

repo: firebase/flutterfire


text:
🐛 [firebase_database] Cannot cast DataSnapshot value to Map<String, dynamic> on android

Bug report
Describe the bug
On android cannot cast DataSnapshot.value to Map<String, dynamic>? even when data is in Map/Json format.
Works perfectly fine on web but not on android.
Steps to reproduce
Steps to reproduce the behavior:

Go to package repo
Clone the project
Create a firebase demo project and set realtime database rules to all true
Add firebase project credentials in the main function inside example\lib\main.dart
Run the app in browser and click button RealtimeDB Pagination Example
Add some messages and then go back
Again open the RealtimeDB Pagination Example and scrolling up
See everything works fine.
Now repeat all steps on android and see error thrown

Expected behavior
DataSnapshot.value should be type casted into Map<String, dynamic> on android just like in web.
Sample project
https://github.com/OutdatedGuy/firebase_pagination
RealtimeDB Example App Code: example\lib\realtimedb_pagination_example.dart
RealtimeDB Pagination Plugin Code: lib\src\realtime_db_pagination.dart

Additional context
Error Message:

Error Log:
W/PersistentConnection(14972): pc_0 - Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding '".indexOn": "createdAt"' at messages to your security and Firebase Database rules for better performance
E/flutter (14972): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type '_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>?' in type cast
E/flutter (14972): #0      _RealtimeDBPaginationState._loadData
package:firebase_pagination/src/realtime_db_pagination.dart:209
E/flutter (14972): #1      _RealtimeDBPaginationState._loadData.<anonymous closure>
package:firebase_pagination/src/realtime_db_pagination.dart:234
E/flutter (14972): <asynchronous suspension>
E/flutter (14972):

RealtimeDB data structure:

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.22622.601], locale en-IN)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.71.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.18.1
Flutter SDK 3.3.2
firebase_pagination 1.1.3

dependencies:
- cloud_firestore 3.4.7 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- firebase_database 9.1.4 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- very_good_analysis 3.0.2

transitive dependencies:
- async 2.9.0 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.1
- clock 1.1.1
- cloud_firestore_platform_interface 5.7.4 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.8.7 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.16.0
- fake_async 1.3.1 [clock collection]
- firebase_core 1.22.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_database_platform_interface 0.2.2+4 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.1+6 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- js 0.6.4
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- path 1.8.2
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.9.0 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.1 [source_span]
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- vector_math 2.1.2

@OutdatedGuy
It's a bit hard to go through the entire project you shared in order to spot the code that throws the error.
Can you extract and provide the related code snippet here that will help us to analyze the issue better ?

I also suggest to take a look at existing questions asked on support channels for the error: Unhandled Exception: type '_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>?' in type cast and see if it helps.

Can you provide the link?

It's a bit hard to go through the entire project you shared in order to spot the code that throws the error.
Can you extract and provide the related code snippet here that will help us to analyze the issue better ?

The main problem code is here: lib\src\realtime_db_pagination.dart:209:9 (open this location in repo)
The function logic is this: lib\src\realtime_db_pagination.dart199:3
Code Snippet:
final List<DataSnapshot> _data = [];

final docsLimit = _data.length + (getMore ? widget.limit : 0);
    var docsQuery = widget.query.limitToFirst(docsLimit);
    if (_data.isNotEmpty) {
      docsQuery = docsQuery.startAt(
        (_data.first.value as Map<String, dynamic>?)?[widget.orderBy],
      );
    }

The error line:
(_data.first.value as Map<String, dynamic>?)?[widget.orderBy],

@OutdatedGuy
Usually the cast need to be done by dev themselves as the plugin doesn't explicitly does it.
The error you are getting is:
_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>?'
Since the value is coming through as _InternalLinkedHashMap <Object?, Object?> which is nothing but Map <Object?, Object?>
If you wish to cast it to the Map of your choice, you can do this:
final value = Map<String, dynamic>.from(event.snapshot.value! as Map<Object?, Object?>);

// or if you know the value of the Map properties are `String`:
final value = Map<String, String>.from(event.snapshot.value! as Map<Object?, Object?>);

Closing this for now based on above explaintation and should resolve the error you are getting. If you disagree, write in comments and I'll reopen it.

authors: OutdatedGuy darshankawar


text:
[JS] 0.9 .prompt file issues

Running into a number of issues using .prompt files in 0.9 when used as agent tool. Documenting list here.

[x] Can't use a named .prompt as a tool without loading it elsewhere first.
[x] Even when using it, seems to be incorrectly namespaced under dotprompt/{name}
[x] Even when working around those issues, @state is not available to a delegated prompt
[x] The description of prompts is not loaded when used as a tool

Another issue: Model googleai/gemini-1.5-pro-latest not found

Another issue: Model googleai/gemini-1.5-pro-latest not found

Try googleai/gemini-1.5-pro

authors: mbleigh odbol pavelgj

repo: firebase/genkit


text:
Refreshing or Re-logging in will delete bound data

So, I tried searching the internet for an answer, but the only thing I came up with which was anything similar was this (https://github.com/firebase/angularfire/issues/14).
I have a similar problem.
Whenever I refresh or close & re-login, a very specific subset of data in the database gets deleted.  I've searched my entire project for any references that might be stray, but got nothing. I even locked-down my firebase-document as a child within template dom-if set to false, but it still occurs.
I can close the window and be looking at the database in firebase console and see the data. But, as soon as I reopen the window and re-login or refresh the page, the specific set of data gets deleted.
I don't know what's happening. I don't know how to make a reduced test case.
If there is a way to debug this by sharing the project, I can do that.

Can anyone help me with this? I'm still having the same issue.
I essentially have data setup like this:
{
    Logs: {
        $uid: {
            $logID:{
                logMetaData
            }
        }
    },

    Users: {
        $uid:{
            userMetaData: {
                Logs: {
                    $logID
                }
            }
        }
    },

    Groups: {
         admin: {
            members: {
                $uid
            }
        },
        users: {
            members: {
                $uid
            }
        }
    }
}

I'm using firebase-document to submit the full log into the Logs: {$uid: {$logID:{logMetaData and also to put a reference to the logID in the Users: {$uid:{userMetaData:{Logs:{$logID
Whenever I refresh the page, the Logs:{$logID gets deleted from the Users: {$uid:{userMetaData:{Logs:{$logID for the user that is logged in.  However, the $logID:{logMetaData in the Logs: {$uid: {$logID:{logMetaData does not get deleted.
Could some please explain what is going on?
I have a feeling it has something to do with whatever firebase-document does when it initializes and synchronizes. For example, when the page is refreshed, the data-bound properties have no value, and for some reason firebase-document is saying, ok, delete whatever is in the database.

Most likely, the data is not actually written to the database. It's certainly not deleted from the database while your app is offline, unless you've set up onDisconnect handlers or a server-side process.
Minimal repro, version info, errors in JS console, code showing that you're capturing cancel callbacks and errors in reads/writes, and steps to see and reproduce the problem will likely be necessary to get very far here.

Also, setting up debug logging may help:
JS:  firebase.database().enableLogging(true);
iOS:  [FIRDatabase setLoggingEnabled:YES];
Android:  FirebaseDatabase.getInstance().setLogLevel(Logger.Level.DEBUG);

@katowulf If I can see the data in the https://console.firebase.google.com/ in a separate window, doesn't that mean that the data is written to the database?

Also, I'm using polymerfire, so I don't know how to do the logging stuff that you mentioned.  The only option that I know of is writing
    <firebase-document
      id="addLogtoLogs"
      app-name="NML"
      path="/Logs/[[user.uid]]/[[logid]]"
      data="[[newLog]]"
      log>
    </firebase-document>

@katowulf did you get my messages?

Hi @esd100. All polymerfire elements create a global firebase variable. To enable logging, in your polymer javascript that has a firebase-app element already created and attached, you can simply run
firebase.database.enableLogging(true)

    <firebase-document
      id="addLogtoLogs"
      app-name="NML"
      path="/Logs/[[user.uid]]/[[logid]]"
      data="[[newLog]]"
      log>
    </firebase-document>

This is problematic right here -- you have data="[[newLog]]" which is a one-way (down) binding. That means that this will only ever write, and never read. Try data="{{newLog}}" and see if you get a different result. Otherwise I'll need to see more of your code to know how to help.

Thanks @e111077 @mbleigh. Now that I figured out how to enable logging, I think I know what the problem is.
I think that the data is being overwritten, and in the process the data is being deleted.
In my login element, I have user metadata written to the Users:{$uid:{metadata.  In my form element, I have log reference info written to Users:{$uid:{Logs:{$logid. So, when I refresh the page, the login element essentially overwrites the entire Users:{$uid:{... data tree, disregarding the presence of the Logs:{$logid information, resulting in the deletion.
I'm not sure how to fix it, but I think I will implement some query logic in my login element to see if user metadata already exists, and then writing or not writing depending on whether info is present.
Does that sound like a good hypothesis? I'm  I  You

Argh...polymerfire is driving me crazy.
In trying to implement some logic, as described above, now, I'm getting the error:
Cannot create property '$key' on string

After using the branch mb-leaf-query (https://github.com/firebase/polymerfire/pull/96), that fixed the issue above Cannot create property '$key' on string.
Then, I was able to implement some logic in my login-element to check and see if there was data already present and, if present, to use template is="dom-if" with the bound conditional property set to false, so the firebase-document elements nested within don't get fired.
This solved my problem.
Thanks for your help folks!

repo: firebase/polymerfire


text:
Use hardware serial for Android FIREZONE_ID

There will be lots of duplicate models out there, so it would be a good idea to use a device serial (or some other differentiator) + device name as the device name on Android.
The problem this solves is making it easier to tell clients apart at-a-glance in the portal.

Options to try in order of priority:

Firezone installation ID (test on real device vs emulator)
hardware serial
MAC address of cell / wifi interface

Ah wait a minute, we are generating our own device ID and persisting that to device storage on first run, which is the right approach here.
I think the issue here is that we're using Build.MODEL as the device name, which is showing as dupes in the portal UI.
The fix here is to use the hardware serial for deviceName instead. deviceId is fine as-is.

repo: firezone/firezone


text:
[Feature Request]: Change Brightness of LCD

The feature
Can you provide a way change the brightness of the LCD screen.   That way I can use a PIR sensor to make the screen bright when I'm near & dim when I'm not around.
Additional information
N/A

Working on it.

The only control available is the LED brightness, I am not sure if this will control an LCD brightness.


text:
Fuzzy-matching of latest major version numbers is not supported

Please add support for fuzzy-matching of latest major version numbers such as latest-v6.x as seen here: https://nodejs.org/dist/. Another idea would be to automatically select the latest version if minor or patch version numbers are omitted, such that running fin latest 6 would match to latest-v6.x.

Done.

[ x ] latest-vMAJOR.x or latestMAJOR.x or latestMAJOR
[ x ] MAJOR → MAJOR.latest_minor.latest_patch
[ x ] MAJOR.minor → MAJOR.minor.latest_patch
[ x ] MAJOR.minor.patch → exact match

For example
fin 4 # 4.4.4

fin 4.3 # v4.3.2

fin 6 # v6.1.0

fin latest0.12 # v0.12.13

etc.

authors: bucaran derekcecillewis

repo: fisherman/fin


text:
Is there any way to hide themes in plugin search?

I think plugins and themes should be separate in search results. Otherwise I have to sift through 300 themes to sift through 30 plugins.

@corysimmons This goes often unknown, but Fisherman's search command is quite powerful.
fisher s --tag!=prompt

Thanks

authors: bucaran corysimmons

repo: fisherman/fisherman


text:
compressed video not getting saved to destination

on success is called immediately after on start but when i go to the destination folder, i dont see any compressed videos saved, it was working fine couple of days back. Recently only this started happening

It may related with Android 11 permissions...

authors: AsynctaskCoffee harshakuk

repo: fishwjy/VideoCompressor


text:
React.StrictMode warning when using react-scroll

When using <Scroll.Element /> inside of <React.StrictMode /> (in React 16.6), the following warning is logged:
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: Element

I am wondering if there are some alternative libraries that would be actually maintained :)

@fisshy Can you please comment if you are actually planning on updating lib toward the future? Possibly rewrite to hooks to generally cleanup code base if you like.

@FredyC I'm more then happy to recieve some PR's. But currently not planing any rewrite for Hooks. Might contribute if someone helps me.

As the error message indicates, it's not necessary to update to hooks in order to fix this.

@pelotom I haven't said rewrite is necessary, but it might be a good opportunity to simplify a codebase. Fix alone should be fairly simple for sure. Currently, it's not that painful problem yet to be concerned by it, but I expect by the end of the year it might become relevant.

I haven't said rewrite is necessary, but it might be a good opportunity to simplify a codebase.

Sure, but who's going to do this?

authors: FredyC fisshy pelotom

repo: fisshy/react-scroll


text:
Make "name" property of host object optional

I find that the command itself is all I need to identify it, so all my "hosts" entries have the same "name" and "cmd". I think it would be a good idea to make the "name" default to the "cmd" if "name" is not set.
P.S. I am finding this useful for conveniently running other frequently used commands, besides ssh.

This is something that I'll consider.
Thanks! I'm happy you are finding it useful. :smile:

authors: ledlamp thshdw

repo: fitztrev/shuttle


text:
Feature/linkedin api updates 2023

❗ ❗
We are currently waiting for data to verify the updates before merging and releasing the changes in this PR. If you are currently using our Linkedin Package and would like to test out this version of the Package, we would love to hear about your experience. Please feel free to comment below and let us know what your experience is!
For those interested, you can test out this version by adding the below in your packages.yml and temporarily comment out your current version of dbt_linkedin.
packages:
  - git: https://github.com/fivetran/dbt_linkedin.git
    revision: feature/linkedin-api-updates-2023
    warn-unpinned: false

❗ ❗
Are you a current Fivetran customer?

Fivetran employee 💃
What change(s) does this PR introduce?

🚨 Breaking Changes 🚨
Due to Linkedin Ads API change in January 2023, there have been updates in the Linkedin Ads Fivetran Connector and therefore, updates to this Linkedin package.
The following fields have been completely deprecated in the stg_linkedin_ads__creative_history model:

type
call_to_action_label_type
version_tag

Updates

linkedin_ads__creative_report now includes campaign.type as campaign_type as a proxy for the previously used creative.type field.
linkedin_ads__creative_report no longer includes the fields creative.version_tag, creative.type and creative.call_to_action_label_type.
linkedin_ads__creative_report now leverages report.creative_id instead of creative.creative_id.
linkedin_ads__campaign_report now leverages report.campaign_id instead of campaign.campaign_id.
linkedin_ads__url_report no longer includes the field creative.version_tag and now leverages report.creative_id instead of creative.creative_id.

Under the hood

integration_tests/seed/linkedin_creative_history_data has been updated to reflect new fields and deprecated fields updates
Legacy fields have been updated respectively in the connector and dbt_linkedin_source v0.7.0 includes modifications that could affect the below fields within the linkedin_ads__creative_history model:

last_modified_at
created_at
status
For more information, please refer to dbt_linkedin_source PR #48.

Did you update the CHANGELOG?

[x] Yes

Does this PR introduce a breaking change?

[x] Yes (please provide breaking change details below.)
[ ] No  (please provide an explanation as to how the change is non-breaking below.)

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[x] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[x] No

How did you test the PR changes?

[x] Buildkite
[x] Local (please provide additional testing details below)

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

[x] BigQuery
[x] Redshift
[x] Snowflake
[x] Postgres
[x] 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.

To-do:

[ ] Docs to be generated before merge & release!


text:
[Bug] CreatedBy Salesforce function is not dealt with properly

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
I have a formula on opportunity table  like :
IF(
AND(
    CreatedBy.Id <>  OwnerId,
IF(
    NOT(CONTAINS(Owner.UserRole.Name,"some_string")),
    ),
IF(
    NOT(CONTAINS(Owner.UserRole.Name,"some_other_string")),
    )
    ),True,False)

(It is more complicated in reality but anyway this is the problematic part)
So we should have 3 joins :

1 for the CreatedBy.id  which should be : left join user on user.id = opportunity.created_by_id
2 to catch user_role :

 left join user on user.id = opportunity.owner_id
 left join user_role on user.user_role_id = user_role.id

The first one is not rendered by the tool and CreatedBy.Id  is translated to user__alias.id  so opportunity.created_by_id because of the join, which is giving 0 lines in return because of the CreatedBy.Id <>  OwnerId  line.
It seems that the tool is not really understanding the CreatedBy.Idpart or I am missing something.
Relevant error log or model output
Content of fivetran_formula :
table : opportunity
SF formula:

IF(
AND(
    CreatedBy.Id <>  OwnerId,
IF(
    NOT(CONTAINS(Owner.UserRole.Name,"some-string")),
    ),
IF(
    NOT(CONTAINS(Owner.UserRole.Name,"some-string2")),
    )
    ),True,False)

view_sql:
select
main__table.id,
(
CASE
  user__alias.id <> main__table.owner_id
  AND
  CASE
    WHEN NOT REGEXP_INSTR( user_role__alias.name, 'some-string' ) > 0
    ELSE  NOT REGEXP_INSTR( main__table.closer_role_c, 'some-string' ) > 0
    END
  AND
  CASE
    WHEN  NOT REGEXP_INSTR( user_role__alias.name, 'some-string2' ) > 0
    ELSE  NOT REGEXP_INSTR( main__table.closer_role_c, 'some-string2' ) > 0
    END
WHEN true THEN True ELSE False END )
as value_we_want
from opportunity as main__table
left join user as user__alias on main__table.owner_id = user__alias.id
left join user_role as user_role__alias on user__alias.user_role_id = user_role__alias.id

Expected behavior
we should have :
view_sql:
select
main__table.id,
(
CASE
  user__alias_NEW.id <> main__table.owner_id
  AND
  CASE
    WHEN NOT REGEXP_INSTR( user_role__alias.name, 'some-string' ) > 0
    ELSE  NOT REGEXP_INSTR( main__table.closer_role_c, 'some-string' ) > 0
    END
  AND
  CASE
    WHEN  NOT REGEXP_INSTR( user_role__alias.name, 'some-string2' ) > 0
    ELSE  NOT REGEXP_INSTR( main__table.closer_role_c, 'some-string2' ) > 0
    END
WHEN true THEN True ELSE False END )
as value_we_want
from opportunity as main__table
**left join user as user__alias_NEW on main__table.created_by_id = user__alias_NEW.id**
left join user as user__alias on main__table.owner_id = user__alias.id
left join user_role as user_role__alias on user__alias.user_role_id = user_role__alias.id

dbt Project configurations
--
Package versions
0.6.4
What database are you using dbt with?
snowflake
dbt Version
--
Additional Context
No response
Are you willing to open a PR to help address this issue?

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

Hi @moreaupascal56 thanks so much for opening this issue!
Unfortunately, this is one that will need to be addressed within the connector itself (which my team does not have much insight into). I would recommend opening a Support Ticket so one of our engineers may look at this deeper and be able to address the bug within the connector.

Hey 👋  Ok yes I understand, so everything that is already in the Formula table is done by the connector that's logical.
Thanks for your answer and have a great day 🌞


text:
Add docstrings to Flowmap

In retrospect I should've practiced more documentation-driven development for the more public facing classes. Flowmap is one that would benefit from this.

OK to go ahead with this. Please follow our common style guidelines.

authors: cmutel fjuniorr

repo: fjuniorr/flowmapper


text:
Design thoughts

SCAN ABAP-SOURCE should be the main source of information on the source code to be formatted
The API is not very intuitive so it should be wrapped inside of an object oriented API -> DONE, package PPR_SCANNER
PPR_SCANNER result objects should be immutable
-> To change things in regards to formatting there need to be separate mutable objects, that fit the semantic requirement -> PPR_SOURCE_PARTS

ZCL_PPR_CONTEXT <-> ZCL_PPR_SCAN_STRUCTURE
ZCL_PPR_STATEMENT <-> ZCL_PPR_SCAN_STATEMENT
??? <-> ZCL_PPR_SCAN_TOKEN

needed?

These can be subclassed to provide specific functionality

The source code can be ordered in a hierarchy of contexts and statements. There is always one top level context (i. e. report, class-pool etc.). If there is none because only part of a compilation unit is formatted a dummy top level context is needed.
A context can have subcontexts or / and (!) statements as children.
ZCL_PPR_CONTEXT and ZCL_PPR_STATEMENT internally reference ZCL_PPR_SCAN_STRUCTURE and ZCL_PPR_SCAN_STATEMENT and expose specific parts of these without direct references.
ZCL_PPR_CONTEXT and ZCL_PPR_STATEMENT should not provide direct methods to apply formatting. Formatting rules should be defined separately -> package PPR_RULES, interface ZIF_PPR_FORMATTING_RULE
A rule can have configurable settings -> TODO
A rule defines its relevance towards all or only specific statements and contexts
Rules need to be able to format a statement or a whole context. There might be some crossover where information about the context is needed when formatting a statement. -> ?
If no rules are applied to the source code the output should be the same as the input.
When a rule is applied to a context or a statement the object is possibly in an invalid state afterwards. The PPR_SCANNER result objects ZCL_PPR_SCAN_STATEMENT and ZCL_PPR_SCAN_STRUCTURE describe and older state of the relevant source code at this point and need to be refreshed. Can they be refreshed? The applied formatting rule might change things up quite a bit so that a structure does not exist anymore at all. A full rebuild of the whole hierarchy might be needed after applying a rule depending on its behavior. If a rebuild is done then the rule should not be applied again, maybe? Or it won't do anything since it was applied before.

Statements and contexts should not expose the scanner result objects directly to the formatting rules so that object invalidation/refresh can be handled.
Maybe the scanner result object should only be used for object initialization and afterwards the whole state is handled by the object itself without using the scanner result.

Chained statements might be really difficult to handle.
Performance should not be a factor at all at first. Things need to be understandable and testable, optimization can come at a later point.
SCAN ABAP-SOURCE will assign statements to multiple structures in a hierarchy. Only the deepest assignment should be evaluated.

Empty lines need to be preserved

Statements need to know in which line they start. They should not work with the exact line though as they could be reordered. A statement should know at which line it starts within its parent context. ?

Dummy ZCL_PPR_CONTEXTs might be needed that have no ZCL_PPR_SCAN_STRUCTURE representation. The section statements inside a class definition do not seem to get their own structure.
Empty lines around structures/statements seem to be ignored by the scanner api. They can therefore only be accounted for by looking at the start line number of the previous and next statement block. To address this it might be a good idea to introduce a dummy context for empty lines.
Rules might need to be applied in a certain order / priority. Also it might make sense to apply rules starting at the most nested element and going outwards from there?

So apparently a non chained statement can still contain multiple statements because pragmas and in-statement-comments are classified as statements themselves according to the API.

-> Tokens need to used to find out which part of the source code belongs to which statement. This should also enable multiple statements per line to be supported. There needs to be a wrapper statement object that contains these  multiple parts. In a worst case scenario this might lead to the following hierarchy:

Chained statement

Multipart statement

Comment statement
Method definition statement
Pragma statement

Method definition statement

Also ABAP Doc comments can be either "Comment" or "Comment in statement" depending on if it is inside of a chained statement. In theory there is SCAN_STMNT_TYPE-ABAP_DOC (@), but I have yet to see it returned by the scanner. A comment next to the constant says it is only for downport support.

repo: flaiker/prettier-printer


text:
Add support for on complete animation for Flame lottie

Problem to solve
Currently there is no way to check if a LottieComponent has finished their animation to trigger something.
Proposal
Would be good to have that, so we can be able to chain things related to animations. One use for that is to use more lottie animations for games since their are lightweight.
More information
I know how to do that in flutter using a completer and a listener for the animation, but it seens to vsync not work for flame components
Other

[ ] Are you interested in working on a PR for this?

@spydon Man, can you help with that ? or is better to use rive instead to have the state machine ?

I would say in general I would choose Rive over Lottie, but if you want to do a PR with a callback or completer you can have a look at how it is done for the SpriteAnimationComponent for example.

I just had a look, and you can already do this.
Since you can pass in an EffectController you can add an onMax callback to that one which will be called when the animation is done. :)

authors: CristovoXDGM spydon

repo: flame-engine/flame


text:
FlameSky Alarms

Alarms, which will help the websurfer stay organized, and not too distracted in browsing away.

It is an idea, not an issue.

repo: flameskyofficial/FlameSky


text:
DataSourceError: Duplicate Values

Hey, I got the following Error after connecting an enterprise agreement.
Data source error:	Column 'totalCostWithReservedInstances' in Table 'RI recommendations (single)' contains a duplicate value '17.4407854623408' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table. Table: RI recommendations (single).
Is there anything I can adjust on my side?

This looks like there's a relationship setup on that column.
Go to Modeling > Manage relationships and make sure totalCostWithReservedInstances is not selected:

For good measure, go ahead and delete that relationship. (It was probably auto-detected.) I've also removed it from the report. Let me know if that fixes it for you!
(And sorry for the delayed response! I've been hyper-focused on FinOps X for the past few weeks.)

@flanakin Works, thank you!

authors: flanakin lkshck

repo: flanakin/cost-management-powerbi


text:
[Unbelievaboat] robing and wallets

People are robbing, then emptying their wallets so they can not be robbed.   Is there a way to combat this ?  for the time being I set a deposit cooldown to 3 days.

I can set a cooldown that can be changed similar to the ones on the work, crime and rob commands to combat this. Would this be helpful?

Added optional cooldown to withdraw and deposit, defaults to 1 seconds:
5915b81aeb152462abae941360cd85e9ea5bfcde

that works, thanks!

There is no .rob command

there is no .slut command

there is no .slut command

This is intentional.

authors: dannymichel flaree lakai

repo: flaree/flare-cogs


text:
bugfix:Adjust batch_max_contentsize to batch_max_content_size, defaul…

bugfix:Adjust batch_max_contentsize to batch_max_content_size, default is 1000000

Thank you @luoyuLianga

repo: flashcatcloud/categraf


text:
Browers support

Chrome: The messages side bar is lagging on scroll, and only scroll until the next sticky element.
Mozilla: Charts missing + layout broken on the right sidebar...
Same for you ?

I will try to correct these

thanks for comments @bsitruk !
feel free to provide adjustments in PR

Messages sidebar performance issue resolved by downgrading angular #7

I did a fork, so you can look at my changes and take what you want.
I'm currently just working on the layout.

authors: bsitruk micrum

repo: flatlogic/angular-material-dashboard


text:
Using altInput and altFormat causes date/time to be lost.

https://jsfiddle.net/ueadsgcr/
Please note that since my error is related to saving to and from a database, the error is not reproducible on js fiddle. I did however insert working code that shows the method I used to instantiate the component.
Machine and Browser Environment

flatpickr version used: https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css
Browser name and version: Chrome is up to date - Version 80.0.3987.149 (Official Build) (64-bit)
OS and version: Windows 10 Pro

Programming Environment

Laravel 6.x application
Running on PHP version 7.2.18
MySQL version 5.7.26
Apache 2.4.39

I am able to reproduce it at will in the video below.
Video documenting the issue
https://www.screencast.com/t/ByO79HMdK
I came here looking for a support channel of some type. Anyone know how to reach the developer? I need an answer this weekend, not some future date after he/she has dealt with the 316 issues ahead of me. (No offense, just on a time crunch)
If there are users of the component here that could review the video to have another developer's set of eyes.. am I doing something wrong?
Thanks in advance for any help.
Cenay'
PS: Screen grab of the initial error:

Also seem to have the same issue, removing altInput from the options fixes this issue but obviously, removes the localised format.

authors: AdamSHAE Cenay

repo: flatpickr/flatpickr


text:
feat: dynamic epoch+committee

Why
Our Consensus is designed to work within epochs. After a set amount of time an epoch should end, a new committee should be decided on randomly from all the nodes in the network and restart itself with the new epoch parameters and committee members. Before we were just running a fixed version of narwhal from the config.
This PR adds a wrapper around our Narwhal(consensus.rs). This wrapper will pull epoch/committee information from application layer before starting narwhal and start narwhal with the right committee and parameters. This wrapper will also send a request when the epoch end time has passed to signal the node is ready to move epochs.
The epoch change works like this: Every node in the committee keeps a timer to epoch end, when that timer passes it sends a certificate to be ordered that says it is ready to change but stays in the current epoch. When 2/3rds of the nodes in the committee have sent a certificate saying they are ready to move epochs, that last certificate will trigger the epoch change for all nodes. This way we ensure all nodes move to the next epoch at the same exact point.
Fixes # (issue) - No issue was created for this but I will be better with this going forward
What

Renamed service.rs to narwhal.rs. Added a wrapper around it in consensus.rs that is in charge of starting the entire consensus service.
If a node is not on the committee it will no longer run narwhal at all.
We no longer need a committee.json for narwhal. Everything should be in the genesis.toml in ursa-application.
Some utils like like load_json where moved to ursa_utils crate from consensus
Introduced a forge solidity repo into the mono repo in the contracts folder. Has the contracts we are loading in the genesis.toml.
Since epoch starts based on the params of the genesis file i made a simple genesis script that will update epoch 0 to start at the time the script was ran, the script also takes an optional parameter of epoch length in milliseconds(defaults to 5 minutes) cargo run --bin genesis 600000 would update the genesis to start now with an epoch time of 10 min. This script also sets genesis committee to the nodes from https://github.com/qti3e/ursa-nodes for easy local testing and running of the committee.

Demo

Notes

Checklist

[x] I have made corresponding changes to the tests
[x] I have made corresponding changes to the documentation
[x] I have run the app using my feature and ensured that no functionality is broken

The code doesn't look bad on a line-by-line base; most of the lines are doing what is intended to do.
---- Side note:
However, for history-keeping reasons, I also have to say here, probably one last time, that the idea of having EVM as our application layer stinks; we do not run arbitrary ad-hoc logic, which would require redeploying smart contracts (we can always upgrade the node), and even if the choice of a VM would make sense due to deploy on-demand benefit over pure Rust, EVM would still not be the best option to go.
The code already has introduced a ton of inefficiency and reduction in the performance of the reads from the EVM (and its blocking nature), is not fit for a highly available product such as a CDN, and would demand us to have a secondary lock-free in-memory cache of the entire balance map (just an example) in the code base, introducing yet another layer of indirection to the architecture.
The idea that we have to go through a local connection to ourselves to get to the data that is already supposed to be in our memory is just... for lack of a better word bad design.
But apart from the general talk about the entire idea, which I only mentioned, there is a record of me somewhere that I have said it; the implementation of the idea is good, and kudos to @daltoncoder.
P.S The other reason I chose this PR to put up is that this is the first PR trying to merge Solidity source code into the main. However, I do not expect any changes here because, as far as i am concerned, this is not my place to make this decision. And this has been discussed before I was part of the team anyway. I do not expect any changes. I just wanted to have a publicly available note about my opinion about this

Thanks for the review and using my PR to state your sidepoints. I wont get into what i agree or disagree with here, its not really the place. We have multiple calls a week to discuss protocol design, which is how we ended up with these decisions.

repo: fleek-network/ursa


text:
linea  amarilla en la pagina

se  obserba una linea  amarilla en mi html al usar el plugin.Buenoo resolví quitando en el codigo
// borderTop: '1px dotted' + o.activeOverlay,
es solo una  observacion  ya que  al usar varios plugin me tira  esa  linea

Eso no es del plugin, no se se donde saldra


text:
POL-719 Better 'Account Number' Parameter Description for AWS Policies

Description
Updating description of Account Number parameter to make it clear that it's for meta policies and users should leave it blank.

@XOmniverse - Might want to double-check we have picked up the new Meta Policy templates now that POL-941 (https://github.com/flexera-public/policy_templates/pull/1534) has been merged


text:
Release 0.37 renative docs

blocked by https://github.com/flexn-io/renative/issues/1075

Deployed manually to unblock https://github.com/flexn-io/board-flexn/issues/1168

fixed action as well

repo: flexn-io/renative


text:
NO-ISSUE: Add Enrollment config endpoint

After creating and approving CSR, you can use this new command to generate an enrollment config
Run flightctl enrollmentconfig --private-key myeckey.pem --csr mycsr to get the enrollment-config file

Thank you @rawagner
I think this may need to grow a /{name} field so that the user can get it for a specific device - like we have for the CSRs - since this will basically be a "last step" on top of the CSR steps. So it would match https://github.com/flightctl/flightctl/blob/main/api/v1alpha1/openapi.yaml#L1468 . Though this may imply some shared namespace  or naming convention between this API and the CSR API.

Also would change NO-ISSUE to MGMT-18170

This version is working as expected for me with the CLI command. :rocket:

thanks @lkatalin . I've updated the code as you suggested. The EnrollmentConfig endpoint now expects a name of approved CSR.

authors: lkatalin rawagner

repo: flightctl/flightctl


text:
Add inverse error function wrappers

Add methods erfinv and erfcinv to arb

Looks good. Thanks!

authors: oscarbenjamin roos-j

repo: flintlib/python-flint


text:
run.py gives me the following  errors

import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360. from: too many arguments from: too many arguments from: too many arguments from: too many arguments ./run.py: line 9: syntax error near unexpected token ('
./run.py: line 9: `def main(argv):'

Please make sure that the first line in run.py is something like #!/usr/bin/python or #!/usr/bin/env python. Without this line run.py is executed using /bin/sh or /bin/bash, giving you the "import" tool from imagemagick.

authors: harridu snufas

repo: flipkart-incubator/watchdog


text:
Clinic worker: appointment CRUD

User story
As a clinic worker
I want to create appointments.
So that I can add doctor's note about the appointment
Tasks

[ ] #13
[ ] #14
[ ] #15
[ ] #16
[ ] #18
[ ] #17
[ ] #19

@flipppp Create "Edit Visit" form - šādai opcijai arī vajadzētu būt.

authors: JanisKalnejs flipppp

repo: flipppp/devops-recepies


text:
fix concurrency bugs

Fix concurrency bugs in LinkDiscoveryManager Module. In which, multiple removals on a global queue can incur exception raised and termination of the thread.

@xuraylei thanks!

authors: rizard xuraylei

repo: floodlight/floodlight


text:
stop and end animation

Hi
1- I want to stop it in the middle of the animation In the same state , But how?
2- I want to finish the animation faster than the time it finishes , But how?
tanks

What do I do for these two problems?
please help me

Why is no one accountable?


text:
Page: Book a demo - Review

Improve book a demo page layout
### Tasks
- [ ] #878

With @zackwasli I discussed getting a few more details at the time of booking. We should better understand what the use case is for the demo, so we can adapt preemptively

That would mean adding a field to the form, right? Or did you have something else in mind?

Yes a "Notes" field would be great. @ZJvandeWeg should we just have a Notes field, or should we title it with something like: "How can we help you?"

out "is there anything in particular you'd like to see or learn about?" - given that it will be a text area, rather than single line entry, have the space for a more verbose placeholder

The notes part is added, but we should review the flow of the page. The form feels cramped filling it out, and I hope there's a iteration to fix this?

authors: Yndira-FlowForge ZJvandeWeg joepavitt zackwasli

repo: flowforge/website


text:
when ffmpeg Event use 'end' cannot be monitor rtsp URL，only the fs local video file end stream event？

const ffmpegCommand = ffmpeg(url)
.addInputOption("-rtsp_transport", "tcp")
.addInputOption("-analyzeduration", "50000", "-max_delay", "500000")
.addInputOption("-fflags", "nobuffer")
.addInputOption("-flags", "low_delay")
.on("start", () => {
console.log("Stream started.");
logger.info("Stream started.");
})
.on("codecData", (data) => {
console.log("Stream codecData:", data);
logger.info(Stream codecData: ${JSON.stringify(data)});
})
.on("stderr", (stderrLine) => {
console.error("FFmpeg stderr:", stderrLine);
logger.error(FFmpeg stderr: ${stderrLine});
// setTimeout(()=>{
//   stream.end();
// },33000)
})
.on("error", (err) => {
console.error("An error occurred:", err.message);
logger.error(An error occurred: ${err.message});
stream.end();
})
.on("end", (stdout, stderr) => {
console.log("Stream ended.",stdout);
logger.info("Stream ended.");
stream.end();
})
.outputFormat("flv")
.videoCodec("copy") // 这里使用 copy 以支持原始编码（H264 或 H265）
.noAudio()
// .withDuration(33)
.pipe(stream, { end: true })
When I want to transcode an rtsp playback stream address, I cannot listen for the end event, only the fs local video file end stream event

ffmpeg(url)  url is rtsp://xxxxxx./?starttime=20241216T103616Z&endtime=20241216T103646Z is not listen on 'end' stream,only listen  the fs local video file?

repo: fluent-ffmpeg/node-fluent-ffmpeg


text:
Fluent-bit: Add log_to_metrics filter plugin

Is your feature request related to a problem? Please describe.
Really useful plugin to extract metrics from logs:
https://docs.fluentbit.io/manual/pipeline/filters/log_to_metrics
Describe the solution you'd like
It could be used with RemoteWrite plugin or other output plugins.
Thanks
Additional context
No response

@jcdauchy-moodys https://github.com/fluent/fluent-operator/blob/0f632a794feb743b890ba1cde13145ccb1781dd3/docs/best-practice/custom-plugin.md this might be helpful for your case
@cosmo0920 will it be useful to add the interface for this plugin?

To use fluent bit plugins, we might need to create a map (or interface?) to use actual parameters for plugins.
For log_to_metrics filter plugin, we defined the config map: https://github.com/fluent/fluent-bit/blob/master/plugins/filter_log_to_metrics/log_to_metrics.c#L965-L1052
For adding to build metrics type of pipelines, this plugin would be useful because it's only one plugin to bypass/translate logs type of pipelines into metrics type of pipelines.

Oh ok
Then i will go ahead and work on this then

repo: fluent/fluent-operator


text:
429 Too Many Requests /_bulk

Issue
Initially, Fluentd is working file for some days,
but after some time facing this issue and Fluentd doesn't send logs to OpenSearch
when I switched from fluent-plugin-opensearch to fluent-plugin-aws-elasticsearch-service and buffer type as memory I didn't faced this issue.
    <buffer>
      @type "file"
      path "/var/log/fluentd-buffers/kubernetes-jb-event-txn.system.buffer"
      flush_mode interval
      flush_interval 1s
      flush_thread_count 4
      chunk_full_threshold 0.9
    </buffer>

    <buffer>
      @type memory
    </buffer>

Issue log
2022-02-21 15:43:50 +0000 [debug]: #0 taking back chunk for errors. chunk="5d88918bc47758f16ab54ea9a55a8407"
2022-02-21 15:43:50 +0000 [warn]: #0 failed to flush the buffer. retry_times=0 next_retry_time=2022-02-21 15:43:53 +0000 chunk="5d88918bc47758f16ab54ea9a55a8407" error_class=Fluent::Plugin::OpenSearchOutput::RecoverableRequestFailure error="could not push logs to OpenSearch cluster ({:host=>\"vpc-east-1.es.amazonaws.com\", :port=>443, :scheme=>\"https\", :user=>\"admin\", :password=>\"obfuscated\"}): [429] 429 Too Many Requests /_bulk"
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluent-plugin-opensearch-1.0.1/lib/fluent/plugin/out_opensearch.rb:1101:in `rescue in send_bulk'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluent-plugin-opensearch-1.0.1/lib/fluent/plugin/out_opensearch.rb:1063:in `send_bulk'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluent-plugin-opensearch-1.0.1/lib/fluent/plugin/out_opensearch.rb:878:in `block in write'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluent-plugin-opensearch-1.0.1/lib/fluent/plugin/out_opensearch.rb:877:in `each'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluent-plugin-opensearch-1.0.1/lib/fluent/plugin/out_opensearch.rb:877:in `write'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.14.3/lib/fluent/plugin/output.rb:1179:in `try_flush'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.14.3/lib/fluent/plugin/output.rb:1491:in `flush_thread_run'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.14.3/lib/fluent/plugin/output.rb:499:in `block (2 levels) in start'
  2022-02-21 15:43:50 +0000 [warn]: #0 /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.14.3/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2022-02-21 15:43:52 +0000 [warn]: #0 retry succeeded. chunk_id="5d88918bc47758f16ab54ea9a55a8407"
2022-02-21 15:43:58 +0000 [debug]: #0 Created new chunk chunk_id="5d88919cf1b1dbf266ce66e8c93f6df4" metadata=#<struct Fluent::Plugin::Buffer::Metadata timekey=nil, tag="jb-audit-user", variables=nil, seq=0>
2022-02-21 15:44:16 +0000 [debug]: #0 Created new chunk chunk_id="5d8891ae20521b741c6002d1f72f4f2d" metadata=#<struct Fluent::Plugin::Buffer::Metadata timekey=nil, tag="jb-audit-user", variables=nil, seq=0>

Steps to replicate
Config file used to connect to AWS OpenSearch
2022-02-23 02:32:29 +0000 [info]: using configuration file: <ROOT>
  <source>
    @type tail
    read_from_head true
    tag "kubernetes"
    path "/var/log/containers/*java*container*.log"
    path_key "path"
    pos_file "/var/log/fluentd-containers.log.pos"
    exclude_path ["/var/log/containers/fluent*"]
    <parse>
      @type "json"
      json_parser json
      time_key "time"
      time_format "%iso8601"
      unmatched_lines
      time_type string
    </parse>
  </source>
  <source>
    @type kafka_group
    brokers "b-1.amazonaws.com:9092,b-2.amazonaws.com:9092"
    consumer_group "amazon.broker-2"
    topics "jb-audit-user"
    format "json"
  </source>
  <source>
    @type kafka_group
    brokers "b-1.amazonaws.com:9092,b-2.amazonaws.com:9092"
    consumer_group "amazon.broker-2"
    topics "jb-audit-sys"
    format "json"
  </source>
  <source>
    @type kafka_group
    brokers "b-1.amazonaws.com:9092,b-2.amazonaws.com:9092"
    consumer_group "amazon.broker-2"
    topics "MT-Incoming-payments"
    format "json"
  </source>
  <filter kubernetes>
    @type parser
    key_name "log"
    reserve_time true
    reserve_data true
    remove_key_name_field true
    replace_invalid_sequence true
    emit_invalid_record_to_error true
    <parse>
      @type "multi_format"
      <pattern>
        format json
      </pattern>
      <pattern>
        format none
      </pattern>
    </parse>
  </filter>
  <match kubernetes>
    @type opensearch
    ssl_verify false
    @log_level "debug"
    logstash_format true
    logstash_prefix "jb-app-log-java"
    logstash_prefix_separator "-"
    logstash_dateformat "%Y.%m"
    user "admin"
    password xxxxxx
    <endpoint>
      url https://vpc.amazonaws.com:443
      region "us-east-1"
    </endpoint>
    <buffer>
      @type "file"
      path "/var/log/fluentd-buffers/kubernetes.system.buffer"
      flush_mode interval
      flush_interval 10s
      flush_thread_count 8
      flush_at_shutdown true
      chunk_full_threshold 0.9
      retry_forever true
      retry_type exponential_backoff
      retry_wait 2s
    </buffer>
  </match>
  <match jb-audit-user>
    @type opensearch
    ssl_verify false
    @log_level "debug"
    logstash_format true
    logstash_prefix "jb-audit-user"
    logstash_prefix_separator "-"
    logstash_dateformat "%Y.%m"
    user "admin"
    password xxxxxx
    <endpoint>
      url https://vpc.amazonaws.com:443
      region "us-east-1"
    </endpoint>
    <buffer>
      @type "file"
      path "/var/log/fluentd-buffers/kubernetes-jb-audit-user.system.buffer"
      flush_mode interval
      flush_interval 10s
      flush_thread_count 8
      flush_at_shutdown true
      chunk_full_threshold 0.9
      retry_forever true
      retry_type exponential_backoff
      retry_wait 2s
    </buffer>
  </match>
  <match jb-audit-sys>
    @type opensearch
    ssl_verify false
    @log_level "debug"
    logstash_format true
    logstash_prefix "jb-audit-sys"
    logstash_prefix_separator "-"
    logstash_dateformat "%Y.%m"
    user "admin"
    password xxxxxx
    <endpoint>
      url https://vpc.amazonaws.com:443
      region "us-east-1"
    </endpoint>
    <buffer>
      @type "file"
      path "/var/log/fluentd-buffers/kubernetes-jb-audit-sys.system.buffer"
      flush_mode interval
      flush_interval 10s
      flush_thread_count 8
      flush_at_shutdown true
      chunk_full_threshold 0.9
      retry_forever true
      retry_type exponential_backoff
      retry_wait 2s
    </buffer>
  </match>
  <match MT-Incoming-payments>
    @type opensearch
    ssl_verify false
    @log_level "debug"
    logstash_format true
    logstash_prefix "jb-event-txn"
    logstash_prefix_separator "-"
    logstash_dateformat "%Y.%m"
    user "admin"
    password xxxxxx
    <endpoint>
      url https://vpc.amazonaws.com:443
      region "us-east-1"
    </endpoint>
    <buffer>
      @type "memory"
    </buffer>
  </match>
</ROOT>

Expected Behavior or What you need to ask
how to overcome this issue and keep retrying forever if this issue is from OpenSearch
...
Using Fluentd and OpenSearch plugin versions
Using Fluentd and OpenSearch plugin versions
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-avro' version '1.1.1'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-concat' version '2.5.0'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-detect-exceptions' version '0.0.14'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-grok-parser' version '2.6.2'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-json-in-json-2' version '1.0.2'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-kafka' version '0.17.3'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '2.9.2'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-multi-format-parser' version '1.0.0'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-opensearch' version '1.0.1'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-parser-avro' version '0.3.1'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-parser-cri' version '0.1.1'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-prometheus' version '2.0.2'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-record-modifier' version '2.1.0'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.4.0'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-stdout-pp' version '0.2.0'
2022-02-23 02:32:28 +0000 [info]: gem 'fluent-plugin-systemd' version '1.0.5'
2022-02-23 02:32:28 +0000 [info]: gem 'fluentd' version '1.14.3'
2022-02-21 13:50:38 +0000 [info]: starting fluentd-1.14.3 pid=7 ruby="2.6.9"

Did you try a memory buffer with the opensearch plugin?

sorry for the delayed response
@agup006 Yes I have tried using a memory buffer
    <buffer>
      @type memory
    </buffer>

but still facing the above issue

This worked for me. I read somewhere (internet lore) that the sum of the two + a measly ~100 Kb should be less than the max payload accepted by opensearch (which is ~10Mb afaik). So the magic sauce is:
<match>
  bulk_message_request_threshold 3MB
  buffer_type memory
  buffer_chunk_limit 4MB
  <endpoint>
    url <your_opensearch_address>
  </endpoint>
</match>

no need for inner  section, the above are equivalent according to the documentation for this plugin.
Please also try with 5Mb + 5Mb and let us know the outcome (sorry, don't recall if the bumped-up figures worked for me).

repo: fluent/fluent-plugin-opensearch


text:
CI: Enable bundler cache

Which issue(s) this PR fixes:
N/A
What this PR does / why we need it:
ref: https://github.com/ruby/setup-ruby#caching-bundle-install-automatically
Docs Changes:
N/A
Release Note:
N/A

It seems that some tests always fail on Ruby 2.7 on Linux & macOS.
They doesn't occur when we install gems by ourself.

It seems that some tests always fail on Ruby 2.7 on Linux & macOS.

===============================================================================
Failure: test: invalid values are set to RUBYOPT(TestFluentdCommand::configured to run 2 workers):
  log doesn't match.
  <"bundler: failed to load command: /home/runner/work/fluentd/fluentd/bin/fluentd (/home/runner/work/fluentd/fluentd/bin/fluentd)\n" +
  "/opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated bundler 2.1.4, but your Gemfile requires bundler 2.4.13. Since bundler is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports bundler as a default gem. (Gem::LoadError)\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:25:in `block in setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/spec_set.rb:165:in `each'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/spec_set.rb:165:in `each'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:24:in `map'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:24:in `setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler.rb:162:in `setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/setup.rb:23:in `block in <top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/ui/shell.rb:159:in `with_level'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/ui/shell.rb:111:in `silence'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/setup.rb:23:in `<top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:56:in `require_relative'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:56:in `kernel_load'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:46:in `block in <top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:34:in `<top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `load'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `<main>'\n">
  was expected to include:
  <["Invalid option is passed to RUBYOPT"]>
/home/runner/work/fluentd/fluentd/test/command/test_fluentd.rb:209:in `assert_log_matches'
/home/runner/work/fluentd/fluentd/test/command/test_fluentd.rb:994:in `block (2 levels) in <class:TestFluentdCommand>'
     991: </match>
     992: CONF
     993:       conf_path = create_conf_file('rubyopt_invalid_test.conf', conf)
  => 994:       assert_log_matches(
     995:         create_cmdline(conf_path),
     996:         'Invalid option is passed to RUBYOPT',
     997:         env: { 'RUBYOPT' => 'a' },
===============================================================================
.........F
===============================================================================
Failure: test: without RUBYOPT(TestFluentdCommand::configured to run 2 workers):
  log doesn't match.
  <"bundler: failed to load command: /home/runner/work/fluentd/fluentd/bin/fluentd (/home/runner/work/fluentd/fluentd/bin/fluentd)\n" +
  "/opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated bundler 2.1.4, but your Gemfile requires bundler 2.4.13. Since bundler is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports bundler as a default gem. (Gem::LoadError)\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:25:in `block in setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/spec_set.rb:165:in `each'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/spec_set.rb:165:in `each'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:24:in `map'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:24:in `setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler.rb:162:in `setup'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/setup.rb:23:in `block in <top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/ui/shell.rb:159:in `with_level'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/ui/shell.rb:111:in `silence'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/setup.rb:23:in `<top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:56:in `require_relative'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:56:in `kernel_load'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:46:in `block in <top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:34:in `<top (required)>'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `load'\n" +
  "\tfrom /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `<main>'\n">
  was expected to include:
  <["-Eascii-8bit:ascii-8bit"]>
/home/runner/work/fluentd/fluentd/test/command/test_fluentd.rb:209:in `assert_log_matches'
/home/runner/work/fluentd/fluentd/test/command/test_fluentd.rb:977:in `block (2 levels) in <class:TestFluentdCommand>'
     974: </match>
     975: CONF
     976:       conf_path = create_conf_file('rubyopt_test.conf', conf)
  => 977:       assert_log_matches(create_cmdline(conf_path), '-Eascii-8bit:ascii-8bit')
     978:     ensure
     979:       ENV["RUBYOPT"] = saved_ruby_opt
     980:     end
===============================================================================

It seems that some tests always fail on Ruby 2.7 on Linux & macOS.

This is because the tests override RUBYOPTS.
(Although there are some succeeded tests that override RUBYOPTS, they aren't tested correctly because they expect patterns_not_match)
Although we can resolve it by adding work around, I don't think there is any merit to introduce this with such complexity.

repo: fluent/fluentd


text:
socket_util: Add missing require

Otherwise, I get NameError: uninitialized constant Fluent::Input error when I execute bundle exec ruby test/plugin/test_out_forward.rb.

Thanks!


text:
Documentation links are broken

Hi,
I am working on processing data in realtime and when I saw your project I thought this could be a solution(Node-red, Spark streaming other solutions).
Basically, I need to take data as input in realtime and process it and send triggers if there is any condition matched.
But when I tried to access the document it is not reachable. Can you add your document to this project or give me a link to access the documentation.
With regards,
Nithin B.

Hi Nithin,
Unfortunately Kurunt is depreciated and I'm not actively developing it anymore. I am working on a new project that improves on what Kurunt did not offer, like persistence, replication, transaction and crypto. It is not ready for release yet,
In the meantime if you're working in Node.js may I suggest Axon if you want to build something low level, or Kafka for a more feature-full solution.
Hope that helps,
Mark.

repo: fluidecho/kurunt


text:
Add html5 mode for routes

https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-configure-your-server-to-work-with-html5mode

https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-configure-your-server-to-work-with-html5mode

Need to figure out if this is possible with Hapi or will require an Apache proxy.

repo: fluky/generator-oldschool