text:
Add all the config options, test should fail

Fixes firezone/product#418

Pull Request Test Coverage Report for Build 265e61c6d773840825641a265f41dc027fd8c0c0-PR-909

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.521%

Totals

Change from base Build be565a6897611875f99f38fa009ad0ec0f8e8cad:
0.0%

Covered Lines:
1054

Relevant Lines:
1561

💛  - Coveralls

Oh and also the name of the setting. I'm sure you have just many regrets and internal struggles, so I'm going to pretend nothing bothered me.

Oh and also the name of the setting. I'm sure you have just many as regrets and internal struggles, so I'm going to pretend nothing bothered me. 😉

Yeah. Not thrilled with the name. I think this eventually belongs in an RBAC implementation consisting of roles, actions and resources so we can ask things like
can_{action}?(user, resource)
from RBAC policy config stored in the DB.

authors: coveralls jamilbk princemaple


text:
[FEAT] Add fish shell configuration

https://fishshell.com

Added 1da5fc0663dcb9f7b5fe48c29cbca1688eb0eebd

source: gharchive/issue

repo: fisenkodv/dotfiles

license: MIT

license_type: permissive

license_source: github-api


text:
Not working?

Hello! I am super new to home assistant and I don't know if I am doing something wrong. I pasted the code into configuration.YAML then pasted the folder into the custom components folder. Restarted home assistant. But can't get it working. I changed the login to be my login on the tapo app. and I went into my router and took the IP from the Tapo smart plug and pasted that into the IP address box. If something is wrong here Please let me know. I want it to be able to be seen as an entity.

Is there any errors in your log?

No. Super weird.

Same issue...
Copied folder, restarted HA, added switch with my ip, user & password. Restarted HA. Got errors in log. Restarted HA - no errors in log.
Using 2021.6.2.

@Clairyfy try wrapping your email and password in " " in config.yaml (eg "e@mail.com" "supersecretpassword"), that fixed it for me.

Ok ty!

authors: Clairyfy IanAdd eyelykaynal fishbigger


text:
Use ios/android clients as dependency

Description
Update native code configuration to use dependencies from JitPack/Cocoapods with latest native libraries
Motivation and Context
We are no longer maintain previously used membrane-webrtc-android/membrane-webrtc-ios. So we should depend on new ios-client-sdk and android-client-sdk

we need to update obsolete Jellyfish references in this or another PR

Yes, but let's do it in another PR. This PR meant to only update dependencies. Not namespaces.

source: gharchive/pull-request

repo: fishjam-dev/react-native-client-sdk


text:
Union Relation Macros Fails for Tables With Array Fields in BigQuery

In BigQuery, if you have repeated fields (e.g ARRAY), the union_relations macro fails as it tries to cast the array as a type.
https://github.com/fishtown-analytics/dbt-utils/blob/master/macros/sql/union.sql

Hi @sokser, can you add a snippet of some offending code?
(I should definitely add this as an issue template...)
It's really helpful for us if you add the following info to a bug report:
Steps to reproduce
Expected results
Actual results

authors: clrcrl sokser

repo: fishtown-analytics/dbt-utils


text:
DBT Archive Failing in BiqQuery

Issue
Currently the DBT archive feature uses temporary archive features in bigquery. When tables are "large enough" then this fails due to Maximum response size.
If we can write to a table in BQ instead of a temporary table, then delete it this may solve the issue, as The maximum response size is unlimited when writing large query results to a destination table.
Issue description
>> dbt archive --target prod
Running with dbt=0.13.0
WARNING: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
Found 61 models, 844 tests, 1 archives, 0 analyses, 111 macros, 0 operations, 10 seed files, 0 sources

13:56:09 | Concurrency: 8 threads (target='prod')
13:56:09 |
13:56:09 | 1 of 1 START archive project_name.dataset_source_name.table_name --> project_name.dataset_archive_name.table_name [RUN]
13:57:07 | 1 of 1 ERROR archiving dataset_source_name.table_name --> dataset_archive_name.table_name [ERROR in 57.37s]
13:57:07 |
13:57:07 | Finished running 1 archives in 59.96s.

Completed with 1 errors:

Database Error in archive table_name (dbt_project.yml)
  Response too large to return. Consider setting allowLargeResults to true in your job configuration. For more information, see https://cloud.google.com/bigquery/troubleshooting-errors

Done. PASS=0 ERROR=1 SKIP=0 TOTAL=1

Results
System information
The output of dbt --version:
installed version: 0.13.0
   latest version: 0.13.0

Up to date!

The operating system you're running on: Mac OS X 10.14.4
The python version you're using (probably the output of python --version): Python 3.7.1
Steps to reproduce
DBT archive on a table > ~280 gigs within BigQuery.
Feature
Feature description
DBT archives could also benefit from Partitioning / Clustering in BiqQuery. This will improve cost for querying and archiving in the future.
Who will this benefit?
DBT archive adoption for bigquery users.

Thanks for the report @jonah-juul! You're definitely right, there's something funky happening in the create_temporary_table implementation that causes BigQuery to think we're trying to fetch hundreds of gigs of data through their API.
I don't think that setting allowLargeResults is the good solution here, as we definitely don't want BQ to try to transfer this data back to us at all! Let's see if there's an option we can provide to client.query that tells BQ that we don't want to retrieve this data, we just want a temporary table to be created.
In the worse case, we can hack a temporary table by building a permanent table (with a random suffix) and set the expiration to something like 24 hours.

authors: drewbanin jonah-juul

repo: fishtown-analytics/dbt

license_source: bigquery


text:
Add dbt_utils. yml-schema

dbt_utils is one of the most used packages and it would benefit everyone to have its functions suggested in the context of yml files. Primarily, for tests. This package is quite stable and its schema does not change much.
Another candidate would be great_expectations (nut I have not used it yet).
PS: I searched for schemas / equivalent on the internet to no avail

Hello,
Currently we don't work on this repository. I can recommend you to look at similar one that dbt Labs actively work on: https://github.com/dbt-labs/dbt-jsonschema.


text:
SetFocusOnKey misbehaving with textArea

Hey. First of all, thanks for monomer!
I think SetFocusOnKey is not handled as it's supposed to with textArea. The widget seems to be focused, but the text is not editable until after I press the tab key.
To illustrate this I've come up with a minimal example (code below). It consists of a textField and a textArea both modifying the same text. When you switch between them with tab, the text is editable immediately. If you use C-p to select the textArea, said issue occurs. Selecting textField with C-o works properly, so I guess the issue lays in textArea's way of handling SetFocusOnKey. See the video below:
https://user-images.githubusercontent.com/11031002/153779427-a333aa4f-f020-4f4d-a294-36b5aab7c4d8.mp4
Code to reproduce (note you'll need a font file called Regular.ttf in the same folder):
#!/usr/bin/env stack
{- stack
    script
    --resolver lts-18.25
    --package monomer
    --package nanovg
    --package lens
    --package text
    --ghc-options=-threaded
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}

module Main where

import Data.Text
import Control.Lens
import Monomer

newtype AppModel = AppModel { _stateText :: Text }
  deriving (Eq, Show)

data AppEvent
  = FocusTextField
  | FocusTextArea
  deriving (Eq, Show)

makeLenses 'AppModel

buildUI wenv model = widgetTree
 where
  widgetTree =
    keystroke [("C-o", FocusTextField), ("C-p", FocusTextArea)] $
      hstack
        [ textField stateText `nodeKey` "textfield"
        , textArea stateText `nodeKey` "textarea"
        ]

handleEvent wenv node model evt = case evt of
  FocusTextField -> [SetFocusOnKey "textfield"]
  FocusTextArea -> [SetFocusOnKey "textarea"]

main = do
  startApp model handleEvent buildUI config
 where
  config =
    [ appFontDef "Regular" "Regular.ttf"
    , appTheme darkTheme
    ]
  model = AppModel "changing focus with tab"

Save the code above as file and simply run with stack
stack ./Textarea.hs

I'm on Linux, if that's of any relevance.

Hi @klausweiss! I'm not currently at my computer, but the issue sounds
similar to this one:
https://github.com/fjvallarino/monomer/issues/80. Maybe the same fix
applies in this case too?
On Mon, 14 Feb 2022 at 00:19 klausweiss @.***> wrote:

Hey. First of all, thanks for monomer!
I think SetFocusOnKey is not handled as it's supposed to with textArea.
The widget seems to be focused, but the text is not editable until after I
press the tab key.
To illustrate this I've come up with a minimal example (code below). It
consists of a textField and a textArea both modifying the same text. When
you switch between them with tab, the text is editable immediately. If you
use C-p to select the textArea, said issue occurs. Selecting textField
with C-o works properly, so I guess the issue lays in textArea's way of
handling SetFocusOnKey. See the video below:
https://user-images.githubusercontent.com/11031002/153779427-a333aa4f-f020-4f4d-a294-36b5aab7c4d8.mp4
Code to reproduce (note you'll need a font file called Regular.ttf in the
same folder):
#!/usr/bin/env stack{- stack     script     --resolver lts-18.25     --package monomer    --package nanovg    --package lens    --package text    --ghc-options=-threaded-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Data.Textimport Control.Lensimport Monomer
newtype AppModel = AppModel { _stateText :: Text }
deriving (Eq, Show)
data AppEvent
= FocusTextField
| FocusTextArea
deriving (Eq, Show)
makeLenses 'AppModel
buildUI wenv model = widgetTree
where
widgetTree =
keystroke [("C-o", FocusTextField), ("C-p", FocusTextArea)] $
hstack
[ textField stateText nodeKey "textfield"
, textArea stateText nodeKey "textarea"
]
handleEvent wenv node model evt = case evt of
FocusTextField -> [SetFocusOnKey "textfield"]
FocusTextArea -> [SetFocusOnKey "textarea"]
main = do
startApp model handleEvent buildUI config
where
config =
[ appFontDef "Regular" "Regular.ttf"
, appTheme darkTheme
]
model = AppModel "changing focus with tab"
Save the code above as file and simply run with stack
stack ./Textarea.hs
I'm on Linux, if that's of any relevance.
—
Reply to this email directly, view it on GitHub
https://github.com/fjvallarino/monomer/issues/82, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSC46KFPKVN6NUX3VQXNNTU3A37DANCNFSM5OJ3QKXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Oh, I looked for textArea in issues before posting, but somehow didn't find the one you mentioned. Yup, that solved the issue. Thanks for prompt response!

authors: fjvallarino klausweiss

repo: fjvallarino/monomer


text:
#187 support compatible strings as an argument in basic_node ctors

Currently, constructing a string scalar node requires exactly the same type as basic_node::string_type as an argument type.
This restriction had been forcing users to create a lot of boilerplate codes before this PR.
To resolve the issue, this PR have supported compatible strings, e.g., character arrays or std::string_view (only with C++17 or later), as an argument of the basic_node constructor.

coverage: 100.0%. remained the same when pulling 080136fd34ced72db97fb3119434329d6a6bde19 on feature/187_support_compatible_strings_in_node_ctor into 1cb0699f51c7f0350fb8c3331553d786eae48c94 on develop.

authors: coveralls fktn-k

repo: fktn-k/fkYAML


text:
chore: Release flame_audio 1.3.4

Description
It bumps audioplayers to 1.2.0
Checklist

[x] I have followed the Contributor Guide when preparing my PR.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[x] No, this PR is not a breaking change.

Related Issues

Ooops, have to remove the other lingering commits

repo: flame-engine/flame


text:
Hook watcher failure when using hook-succeeded hook delete policy

"helm.sh/hook-delete-policy": hook-succeeded
"dapp/watch-logs": "true"

Not actual.

repo: flant/werf


text:
feat: Add Real-time task report function

增加了任务根据心跳间隔实时上报日志功能

Thank you @NeganZhao

repo: flashcatcloud/categraf


text:
.github: Use lts-info

We can use lts-info to optionally update mantle container in old LTS branch too.

Do we cherry-pick the workflow changes to maintenance branches too?

That's only needed for PR workflows

authors: krnowak pothos

repo: flatcar/scripts


text:
404 Error on Corese-Command Application Page in French Language Setting

Hello,
While browsing the Flathub website with the French language setting, I encountered a 404 error when trying to access the "Corese-Command" application page via the search functionality. Below are the detailed steps to reproduce the issue:

Set the Flathub website language to French.
Use the search function to find "Corese-Command." You can use this link to get to the French search results directly.
Click on the "Corese-Command" application from the search results.

Following these steps leads to a 404 error page. Interestingly, this issue doesn't occur when accessing the application page directly through this specific URL, suggesting the problem might be with the internal linking on the Flathub website.
Browser/OS: I tested this issue on Fedora 38 and Windows 11 using browsers: Firefox, Chrome, and GNOME Web. The result was the same across all platforms and browsers.
Further observations:

This issue seems to be isolated to the "Corese-Command" application when using the French language setting, as I have tested other applications and language settings without encountering this problem.
Directly accessing the page through its specific URL is a current workaround.

I hope this information helps resolve the issue. Thank you for your attention to this matter.
Best regards

I can reproduce it too.
Further observation: Disabling brotili compression makes the bug go away.

Open Firefox about:config
Change the value of network.http.accept-encoding.secure from gzip, deflate, br to gzip, deflate
Follow the steps reported by @remiceres

Seems to be back working for now

#1931 tracks a permanent fix

authors: hokonch razzeee remiceres

repo: flathub/website


text:
Changing only time does not trigger onChange event

Hi,
I noticed that when opening the picker, changing only the time of day, and closing it, no onChange event is generated. The input value and actual date are updated, but my event handler is not called. Did I miss something? (e.g. time-specific onChange event)
Thanks a lot for the project. Very useful.
Cheers!

did you tried oninput event?

@sijad oninput is not triggered when setting value via code.
@chmln Thanks! Works like a charm.

@on-input or @oninput not firing when only changing time. This is still an issue.

authors: Nanobrainiac mponton sijad

repo: flatpickr/flatpickr


text:
month list not changed

installed. set minx,max date
after load change minx-max date -> month list not changed
https://github.com/ankurk91/vue-flatpickr-component/issues/174
https://jsfiddle.net/7km0q92t/
Your Environment

flatpickr version used: 4.6.3
Browser name and version: chrom
OS and version:

Just adding on another example of this issue with a modified version of the above fiddle which has two date fields. Hopefully more example will be helpful.
Fiddle Here: https://jsfiddle.net/1htugw04/5/
Steps to Reproduce Issue:

Click the Start Date field, select any date in the future. Ex: January 6th 2020.
Click on the End Date field, you'll notice that the month dropdown is blank and shows "December" as the only option in the select box for months. The calendar itself is correct, its just the Month dropdown that isn't updating.

Example Image:

Same issue here. It happens to me when I set minDate to the date of next year. E.g. it'll be okay if I do
instance.set({
    minDate: '2019-12-31'
})

But if I'll go for
instance.set({
    minDate: '2020-01-01'
})

then month selection <select> goes missing. instance.redraw() not helping.
@chmln @viorelsfetea this is urgent, could you guys look into this ASAP? Many thanks.

@mihakot & @JamesJGoodwin Not sure if it'll be helpful, but I was able to address my issue using the redraw() function from the Flatpickr docs.
It's pretty ugly but here's an updated fiddle based on my original one above in case it might be helpful to either of you or anyone else experiencing the same issue.
It gets the job done for what I need since I don't think the actual issue is going to be addressed anytime soon.

Hello,
this might help in some occasions where maxDate is set...
Instead of:
fp.set('maxDate', dateStr);
try following:
fp.set('maxDate', dateStr);
fp.changeMonth(-12);
fp.changeMonth(12);

following @ristarr11
import { getYear } from 'date-fns';

fp.setDate(date)
if(fp.config.maxDate && getYear(fp.config.maxDate) === fp.currentYear) {
    fp.changeMonth(-12);
    fp.changeMonth(+12);
} else if(fp.config.minDate && getYear(fp.config.minDate) === fp.currentYear) {
    fp.changeMonth(+12);
    fp.changeMonth(-12);
}

If you're still looking for an workaround, I had tackled this problem by using destroy() and then initialize configuration again. Here's the updated JSFiddle:
https://jsfiddle.net/Gourav_Kajal/2vn6tg7x/4/

A better hack that I found is to expose buildMonthSwitch method and call it after setting min/max date
https://github.com/flatpickr/flatpickr/blob/ca12e25c7a10c87cc0e7347f9ff9c628db11a7b7/src/index.ts#L910
I am still analyzing and will hopefully open a PR with proper solution

If you not need months to be presented as dropdown, you can instantiate flatpickr with 'static' month selector type:
const fp = flatpickr('.selector', {     dateFormat: 'Y-m-d',     minDate: '2020-02-01' ,     monthSelectorType: 'static', });
Then when you set min date from previous month it's not problem to switch to that month:
fp.set('minDate', '2020-01-01');

I compared redraw method in dev branch with release 4.6.3 and found that 4.6.3 version doesn't have buildMonthSwitch call.
dev: https://github.com/flatpickr/flatpickr/blob/ca12e25c7a10c87cc0e7347f9ff9c628db11a7b7/src/index.ts#L2248
4.6.3: https://github.com/flatpickr/flatpickr/blob/bf14f361e424b501e9c07458d2bb9d2c15d28e19/src/index.ts#L2201
Issue resolves automatically if we update redraw method to dev branch (without doing any external call/hack).
I will prepare demo with dev branch to check whether this bug is already fixed or not.

@chmln  This issue has already been fixed in master :tada:
Proof: https://codesandbox.io/s/flatpickrflatpickrissues2049-fix-verification-uwde2
This sandbox is using canary flatpickr package @armujahid/flatpickr created from ca12e25. I created this package to quickly check issues against latest flatpickr code :)

Fix verified using v4.6.6 https://codesandbox.io/s/flatpickrflatpickrissues2049-fix-verification-forked-f44b7

authors: JamesJGoodwin amirbehmaram armujahid gouravkajal lukepolo mihakot ristarr11 wayphorier


text:
'records per page'  selectbox

hi,
thanks for this great plugin. what i want to do is have a select box with values like 5, 10, 15, 20 - for how many records to show in the table.
Can anyone suggest ways/hints to do that?
thanks for help in advance..

I came to the issues page to ask the very same question.
I have struggled to find another control with this feature so implementing it helps this project stand out!

hi,
I tried some jquery, and it is working now. please check at your end as well..
add a select box with proper option text and values (e.g. #select1)
I added the same function on document.ready as well as on change of selectbox.  and it is pretty much working as expected. This function has been given on this site (http://www.bilalakil.me/simplepagination/comment-page-1/).
so the code is like this:
$('#select1').change(function(){
var selectValue = parseInt(document.getElementById("select1").value);
// Grab whatever we need to paginate
var pageParts = $(".paginate");
// How many parts do we have?
var numPages = pageParts.length;
// How many parts do we want per page?
var perPage = selectValue;
var start = 0;
var end = perPage;
pageParts.hide()
         .slice(start, end).show();

// Apply simplePagination to our placeholder
$("#page-nav").pagination({
    items: numPages,
    itemsOnPage: perPage,
    cssTheme: "light-theme",
    // We implement the actual pagination
    //   in this next function. It runs on
    //   the event that a user changes page
    onPageClick: function(pageNum) {
        // Which page parts do we show?
        var start = perPage * (pageNum - 1);
		var end = start + perPage;
		// First hide all page parts
        // Then show those just for our page
        pageParts.hide()
                 .slice(start, end).show();
    }
});

});
});

hi,
I tried some jquery, and it is working now. please check at your end as well..
add a select box with proper option text and values (e.g. #select1)
I added the same function on document.ready as well as on change of selectbox. and it is pretty much working as expected. This function has been given on this site (http://www.bilalakil.me/simplepagination/comment-page-1/).
so the code is like this:
$('#select1').change(function(){
var selectValue = parseInt(document.getElementById("select1").value);
// Grab whatever we need to paginate
var pageParts = $(".paginate");
// How many parts do we have?
var numPages = pageParts.length;
// How many parts do we want per page?
var perPage = selectValue;
var start = 0;
var end = perPage;
pageParts.hide()
.slice(start, end).show();
// Apply simplePagination to our placeholder
$("#page-nav").pagination({
items: numPages,
itemsOnPage: perPage,
cssTheme: "light-theme",
// We implement the actual pagination
//   in this next function. It runs on
//   the event that a user changes page
onPageClick: function(pageNum) {
// Which page parts do we show?
var start = perPage * (pageNum - 1);
var end = start + perPage;
// First hide all page parts
// Then show those just for our page
pageParts.hide()
.slice(start, end).show();
}
});
});
});

I tried that in Plunker http://plnkr.co/edit/Bilj8O?p=preview but it didn't look right.
The select box isn't updating the data and it doesn't look themed right.
I'd rather it was implemented as part of the library itself.

hi,
here is a plunk with working pagination. The issue with adding it as a part of library is sometimes, we can not detach it from it. for e.g. I want to change the position of selectbox somewhere else, I can do easily this way when it is not a part of the library..
http://plnkr.co/edit/VCjIxJ?p=preview

authors: opticyclic ssjogus

license: mit


text:
implement a retry mechanism

Current behaviour: the plugin initiates a connection to the remote server on the south service start call. But if the connection is lot, the plugin won't retry to connect to the remote server.
Expected behaviour: the plugin should permanently test that the connection is alive and initiate retries on a fixed period (value should be specified in the configuration with default value = 30s) if connection is lost.

This issue has been resolved :
The current behavior is now that when the connection is lost, the plugin sets itself in a state of waiting for new connection. It doesn't have to initiate retries since it uses the event handler to check if there is a new connection, it is thus passive and triggered by the connection request.

authors: Slayce aklira


text:
e.data vs. e.control.data

https://github.com/flet-dev/website/blob/2eed1d3f9bcec3019b17133af84c3fa6b0fe1cf2/docs/tutorials/python-calculator.md?plain=1#L217
e.data is always an empty string. e.control.data gives you the expected value.

That's true! Will you like to make a PR with the correct code?

Looks like this is the only occurrences of e.data that should be e.control.data.

authors: ndonkoHenri rusty-snake

repo: flet-dev/website


text:
uPlot tooltip not removed when plot gets redrawn

It is common for the tooltip to remain when the plot is redrawn. Becomes very obvious when redrawing at a rapid pace.
See https://discourse.nodered.org/t/flexdash-alpha-release-a-dashboard-for-node-red/65861/66?u=tve

fixed in 4231afe6dbb771e7cc33f47371d7cc6a82bef95a

repo: flexdash/flexdash


text:
Pagination

Pagination should be added for admin panel and site

Implemented for BLOG

repo: flextype/flextype


text:
Support passing just an API key to the REST service

REST API methods that don't require user authentication can be called with just the ?api_key query string param. This is just a bit of sugar to allow passing just your API key instead of a plugin function.
Basically, instead of this:
var flickr = new Flickr(req => req.query({
  api_key: process.env.FLICKR_API_KEY
});

You can just do this:
var flickr = new Flickr(process.env.FLICKR_API_KEY);

:+1:

Looks great!

authors: alex-seville jeremyruppel pdokas

repo: flickr/flickr-sdk


text:
Allow TTL specification for values in a Redis backend

Currently job keys are stored in Redis backend without a TTL. Changes in this PR will allow an optional parameter that can specify a TTL for Redis entries.

LGTM 👍

authors: bentheax iamliamnorton

repo: flippa/allora


text:
Can I translate for portuguese?

I would like to translate the component into other languages, such as Brazilian Portuguese .

You could, all you have to do is translate a few strings for the months and weekdays, set the date-fns option object to the language you want.
Or, you could install this more complete module:
react-bootstrap-daterangepicker
and then follow these instructions:
configuring language in Bootstrap Date Range Picker

repo: flippingbitss/react-daterange-picker


text:
Can't Use Super Stream

Steps to reproduce
i got to use it and dose not work then when I configure it for some reason it wants me to sign in why is this??
Expected behavior
just to use and be done not want a sign in??
Actual behavior
...
Crash logs (or stack trace)
...
App version
Latest
Android version
14
Device
Sam s23 fe
Other details

Acknowledgements

[X] I am fully confident that this issue is related solely to the app and not to any provider.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to the pre-release version.

Apologies. Will be closing this one as it does not concern the app anymore

authors: MarshMeadow rhenwinch

repo: flixclusiveorg/Flixclusive


text:
question about statefulness

Apologies - it seems like the NTM just needs to be trained on more epochs than some of the other models I was using. This is no longer an issue.
I did have another question about the "stateful=True" for the controller though -- is this necessary? And could you explain your comment that "Stateful models do not work anymore"? Thank you!

by googling about your question we can understand that:
@All the RNN or LSTM models are stateful in theory. These models are meant to remember the entire sequence for prediction or classification tasks. However, in practice, you need to create a batch to train a model with backprogation algorithm, and the gradient can't backpropagate between batches. This means that if you have a long time series which does not fit into a single batch, you need to divide the time series into multiple sub-time series and each sub time series goes to separate batch. Then LSTM only remember what happened within a batch. At the initial time point of every batch, states are initialized and set to 0. No previous information. This is very unfortunate because RNN or LSTM are introduced to remember all the past history to predict the next time point. Nope, it only remembers what happened within the batch time series length!@ ref: link
and also:

stateful is useful if you wish to save the state of the neurons for the next training session instead of resetting it
In stateless mode, long term memory does not mean that the LSTM will remember the content of the previous batches
stateful=True means that you keep the final state for every batch and pass it as initial state for the next batch


text:
Example of using via JS.

I understand the examples are written in C++ and entirely compiled to JS, but it would be cool if someone could come up with some examples of using Oryol from JS to draw shapes or create some basic animations, even though all of the graphics implementations are done inside of the Emscripten compiled C++ implementation.
Oryol might be a great option for web graphics, if this is doable.

That's not currently possible since an API shim for JS is missing (basically, a C-like interface would need to be exposed to JS, similar to how a scripting language would interface with a native Oryol version). Other frameworks already cover that quite well (e.g. three.js, babylon.js, or PlayCanvas), so I probably don't want to put work into it (unless it would come out as a cheap 'side effect' at some later time when implementing a scripting layer).

authors: floooh jordwalke

repo: floooh/oryol


text:
sokol_app.h: fix macos with glcore33 to update dimensions / dpi on startup

macOS with GLCORE33 doesn't call _sapp_macos_update_dimensions on startup like with METAL does, which keeps DPI at default value until a resize event comes in.
Not sure if it's the best place to put this function tho I'm not familiar with sokol_app.h codebase

oh I'm sorry didn't see this is already fixed in the master branch, nvm

Hi, yes sorry, this change slipped in as part of the big code cleanup merge I did yesterday. Also, I haven't looked at your other PRs yet, but I'll try to work through them in the next few days.
Cheers!

Thanks for the reply! Love the new updates and fixes! It also fixes metal not being able to startup on my macOS device.

It also fixes metal not being able to startup on my macOS device.

Oh... interesting. Do you know what sort of error you got before?

@floooh Sorry I failed to reproduce, there might be a problem with my setup the time I tried.

authors: floooh slmjkdbtl

repo: floooh/sokol

license: Zlib


text:
Profiling & optimization

Currently the key data part is implemented using numpy structured arrays.
An alternative approach I tried used pandas multi-index DataFrames (#4 ).
This issue is to explore/discuss different implementations and their performance.

I tried several implementations including Numpy (multiple variants), Pandas, Polars, Numba (multiple variants).
Numpy structured array
Pro:

Fast slicing
Allows storing different datatypes.
Cons:
Requires several more complex utils functions.
Currently really slow when it comes to stacking more layers --> join data step is a serious bottleneck!

Pandas multi-index DataFrames (#4 )
Pro:

Fast addition of additional data (joins/merges)
Rather accessible implementation under the hood (when compared to the structured arrays)
Allows storing different datatypes.
Cons:
Slow when it comes to slicing. Since this is a very common action I would consider this to be critical.

Polars DataFrames
Pro:

Very fast addition of additional data (joins/merges)
Rather accessible implementation under the hood (when compared to the structured arrays)
Allows storing different datatypes.
Cons:
Notably slower than Numpy when it comes to slicing. Since this is a very common action I would consider this to be critical.

Numba
Pro:

Can be used together with Numpy Arrays hence keeping the fast slicing part
Avoids additional dependencies (Pandas or Polars)
Cons:
I did not get merging to be as fast as with Polars!

Here results from a profiling script I made:

repo: florian-huber/sparsestack


text:
Update README

removed Service called "Array". I think its a forgotten placeholder?
In addition i also fixed the broken anchor link for #sponsors

@Klizzy The array service actually exists: https://github.com/florianv/exchanger/blob/master/src/Service/PhpArray.php

authors: Klizzy florianv

repo: florianv/swap


text:
feat: add watch for copy patterns

Hi @floydspace
This PR adds support for watch and update the files matched by package.patterns. Great project btw, thank you!
https://github.com/floydspace/serverless-esbuild/issues/277

LGTM

repo: floydspace/serverless-esbuild


text:
Permission Denied: "IOError: [Errno 13] Permission denied: u'/dev/hidraw0'"

Hi there!
Recently purchased a Rival 100 and it has been great! I have used your software to configure my mouse and it worked flawlessly. Also finding this software specifically made for this mouse made me super happy as I only use Linux.
One day, I wanted to change the DPI of the mouse and the colour unfortunately none of these worked. I got the following error in the screenshot.

No matter what I do, it won't work! This problem persists in Arch Linux 4.8.13 as well as my current OS; Ubuntu MATE 16.04 with 4.4 LTS kernel.
Do you have a solution to this issue? I really want to use your software but it won't work :(
Kind Regards

Hello,
Does the file /etc/udev/rules.d/99-steelseries-rival.rules exists?
If not, create it and put this content into it (original file here):
# SteelSeries Rival 100
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1702", MODE="0666"

then run the following command:
udevadm trigger

Hello,
Does the file /etc/udev/rules.d/99-steelseries-rival.rules exists?
If not, create it and put this content into it (original file here):
# SteelSeries Rival 100
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1702", MODE="0666"

then run the following command:
udevadm trigger

Hello, I am novice on Ubuntu, thus I do not know much. I had the problem "IOError: [Errno 13] Permission denied: u '/dev/hidraw0" and thus I fell on this tutorial. Having to try during more than one hour how to create the missing file, I have wanted to execute the order udevadm trigger ". Unfortunately nothing occurs and when I try to change my sensibility the problem is always the same.
What do I have to make or I badly did something?
Thank you in advance for your answer.
P.S.: I am French and I used an automatic translator, thus I apologize for susceptible present problems of translation.

Version Française en fin de message ↓↓

English version
Hello,
First you have to download the [99-steelseries-rival.rules][https://github.com/flozz/rivalcfg/blob/master/rivalcfg/data/99-steelseries-rival.rules] file and to put it in the /etc/udev/rules.d/ folder. This can be done with the following command:
sudo wget -O /etc/udev/rules.d/99-steelseries-rival.rules https://raw.githubusercontent.com/flozz/rivalcfg/master/rivalcfg/data/99-steelseries-rival.rules

Then you have to execute the following command to tell udev to update its rules:
udevadm trigger

French version
Bonjour,
Vous devez d'abord commencer par télécharger le fichier [99-steelseries-rival.rules][https://github.com/flozz/rivalcfg/blob/master/rivalcfg/data/99-steelseries-rival.rules] puis le placer dans le dossier /etc/udev/rules.d/. Ceci peut être fait avec la commande suivante :
sudo wget -O /etc/udev/rules.d/99-steelseries-rival.rules https://raw.githubusercontent.com/flozz/rivalcfg/master/rivalcfg/data/99-steelseries-rival.rules

Une fois ceci fait, il faut exécuter la commande suivante pour indiquer à udev de mettre à jours ses règles :
udevadm trigger

Merci beaucoup pour votre aide. C'est bon, mon problème est résolu ! Et encore merci d'avoir développé ce logiciel, il remplace parfaitement Steel Series Engine 3 sur Windows.

authors: FriXion65 berkiyo flozz

repo: flozz/rivalcfg

license: WTFPL


text:
Question: is it possible to revert to the "default" theme after applying a theme?

without restarting the application?

It should be possible. I’ll try to implement it tomorrow.
FLTK creates the colormap on initialization and exposes it as a global. fltk-theme could store the default colormap, and provide a reload_theme function which restores it.

I have added:
fltk_theme::reset_color_map();

in version 0.7.3

Thank you very much! I'll try it out asap.

Thanks again, problem solved!

authors: MoAlyousef dheijl

repo: fltk-rs/fltk-theme


text:
Output stream closed/finished before error

When using an output stream, the finish and close events are fired before the ffmpeg error.  This makes it impossible to catch the error before acting on the completion of that output stream.
let fs = require('fs');
let ffmpeg = require('fluent-ffmpeg');

console.log('writing fake mp3 file');
fs.writeFileSync('/tmp/input.mp3', 'this-is-not-really-an-mp3');

let outStream = fs.createWriteStream('/tmp/output.mp3');
outStream.on('finish', () => console.log('output finished', outStream.writable));
outStream.on('close', () => console.log('output closed', outStream.writable));

console.log('running ffmpeg', outStream.writable);
ffmpeg('/tmp/input.mp3')
  .on('error', err => console.log('ffmpeg error', outStream.writable))
  .pipe(outStream);

Output:
writing fake mp3 file
running ffmpeg true
output finished true
output closed false
ffmpeg error false

You should not use streams for both input and output. You will have weird timing issues due to the way nodejs event loop handles it wrt external processes.

Ah, okay.  Is that in the docs?
Updated the example to use a string filename for the input.  It produces the exact same output, with the stream error firing after closed and finished.

@njoyard, would you mind going into a bit more detail about the issues? We're using stream input in production and there's been a recurring issue with transcodes randomly silently failing when multiple Ffmpeg processes with stream inputs are run in parallel on the same box. I've never been able to track down the actual bug, but I'm wondering if it's related.
Thanks

Basically there are deadlocks in the event loop because you end up having a chain of things waiting for each other. I don't know very much about the issue, just that nodejs docs discourage from doing so.

@njoyard Do you have a source regarding the input and output streams issue?

That's super interesting. I'm trying to make a streaming system designed specifically for movies with multiple active clients at any time to run on low-power hardware, so streaming would be ideal, but since this is discouraged, does that mean memory usage will be impacted?

authors: J-Cake cavis lawlmart njoyard steebchen

repo: fluent-ffmpeg/node-fluent-ffmpeg


text:
package: add command to download artifacts from GitHub

Closes: #585
Specify HEAD branch and HEAD SHA explicitly.
$ ./manage-fluent-repositories.sh download-artifacts Release-5.0.2 ec2a5d37523aaf3c7b5b2f187b7dc94a53012783
You can confirm HEAD SHA in PR.
NOTE: You must set GITHUB_ACCESS_TOKEN in advance. See Fine-grained personal access tokens via
https://github.com/settings/tokens?type=beta

still in WIP, it may be a bit complicated.

I will see this next week.

@kenhys DCO is missing!

Fixed it.

I have modified the description of PR a little bit.

authors: daipom kenhys

repo: fluent/fluent-package-builder


text:
v1.14.0

Which issue(s) this PR fixes:
Fixes N/A
What this PR does / why we need it:
prepare v1.14.0 changelog
Docs Changes:
N/A
Release Note:
N/A

FYI: We've released 1.14.0.rc: https://rubygems.org/gems/fluentd/versions/1.14.0.rc

Add #3481 entry.

changelog and documentation status

Added enable_input_metrics, enable_size_metrics system configuration parameter
--enable-input-metrics,--enable-size-metrics command line
[x] Added reserved word @ROOT for getting root router.

https://github.com/fluent/fluentd-docs-gitbook/pull/356

[x] in_syslog: Added send_keepalive_packet option

https://github.com/fluent/fluentd-docs-gitbook/pull/354/

[x] in_http: Added cors_allow_credentials option.

https://github.com/fluent/fluentd-docs-gitbook/pull/355

[x] Added metrics plugin mechanism

https://github.com/fluent/fluentd-docs-gitbook/pull/347/

Now ready to ship it!

:tada:

@kenhys @ashie Can we release fluentd x86-mingw32 and x64-mingw32 version?
They are not released and it causes CI error on https://github.com/calyptia/fluent-plugin-metrics-cmetrics/runs/3457273532#step:5:1

Done!

Thanks!

authors: ashie cosmo0920 kenhys

repo: fluent/fluentd


text:
support pod scheduled to dataset cache nodes

Signed-off-by: xliuqq xlzq1992@gmail.com

Ⅰ. Describe what this PR does
Support pod scheduled to dataset cache nodes
Ⅱ. Does this pull request fix one issue?

FIX #1961
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

require_nodes_with_cache_test.go
plugins_test.go

Ⅳ. Describe how to verify it
check the node affinity part of the pod yaml.
Ⅴ. Special notes for reviews

I'm also wondering if  prefer_nodes_with_cache.go will also inject preferred scheduling info into the pod with dataset and required scheduling label.

I'm also wondering if  prefer_nodes_with_cache.go will also inject preferred scheduling info into the pod with dataset and required scheduling label.

I'm also wondering if prefer_nodes_with_cache.go will also inject preferred scheduling info into the pod with dataset and required scheduling label.

Yes, the pod will have same NodeSelectorTerm with RequiredDuringSchedulingIgnoredDuringExecution and PreferredDuringSchedulingIgnoredDuringExecution.
Can we merge prefer_nodes_with_cache.go and require_nodes_with_cache.go into  single file nodes_with_cache.go ？

authors: cheyang xliuqq

repo: fluid-cloudnative/fluid


text:
Update package dependencies

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

fixes https://github.com/fluid-cloudnative/fluid/issues/2655
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm
/approve

authors: cheyang fengshunli


text:
Make ExportQueue and CollisionFreeMap data human-readable by "fluo scan" command

When users decide to use an the ExportQueue or CollisionFreeMap recipe, the underlying data is stored in a Fluo table in serialized form.  This makes it hard for users to view this data when scanning their Fluo table.  It would be nice if these recipes provide plugins that made this data human-readable when scanning the Fluo table.

Opened fluo-io/fluo#568.  This will make it possible to see the raw data more easily.  I am still thinking of doing something at a higher level in fluo recipes that makes it possible to see the de-serialized data.
I was thinking of having a Printer registry where recipes could register a range and a class to print keys in that range.   This would be stored in config.  Then utility code could use this registry to scan the table calling specialized code to print different ranges of the table.  This would be similar to the TransientRegistry

With the new fluo exec command, could probably provide a command line utility that would print data in a collision free map.

authors: keith-turner mikewalch

repo: fluo-io/fluo-recipes


text:
Crash -[FlurryAdManager registerAd:adSpaceName:] and +[FlurryAdManager isGuidActive:]

Using Flurry iOS SDK v7.8.0
-[FlurryAdManager registerAd:adSpaceName:]
# Date: 2016-10-29T04:42:57Z
# OS Version: 10.1.0 (14B72c)
# Device: iPhone 7 Plus
# RAM Free: 3.5%
# Disk Free: 86.1%

#6. Crashed: com.flurry.FlurryAdManager.serialQueue
0  libobjc.A.dylib                0x1878b6f30 objc_msgSend + 16
1  CoreFoundation                 0x188d4d718 -[__NSDictionaryM objectForKey:] + 148
2  MyAppName                        0x1001b829c -[FlurryAdManager registerAd:adSpaceName:] + 4297048732
3  MyAppName                        0x100241050 -[FlurryAd loadNativeAdFrame:error:] + 4297609296
4  MyAppName                        0x100240d20 -[FlurryAd prepareAdForDisplay:] + 4297608480
5  MyAppName                        0x1001b4b54 -[FlurryAdManager block_prepareAdForSpace:viewType:viewContainer:viewController:notification:] + 4297034580
6  MyAppName                        0x1001b9b84 -[FlurryAdManager block_adsAvailableForSpace:viewType:viewContainer:viewController:timeout:] + 4297055108
7  MyAppName                        0x1001b8884 __50-[FlurryAdManager adsAvailableForSpaceWithParams:]_block_invoke + 4297050244
8  MyAppName                        0x1001dfdc4 __40+[FlurryDispatchUtil dispatchOnQ:async:]_block_invoke + 4297211332
9  libdispatch.dylib              0x187cf5200 _dispatch_call_block_and_release + 24
10 libdispatch.dylib              0x187cf51c0 _dispatch_client_callout + 16
11 libdispatch.dylib              0x187d03444 _dispatch_queue_serial_drain + 928
12 libdispatch.dylib              0x187cf89a8 _dispatch_queue_invoke + 652
13 libdispatch.dylib              0x187d0538c _dispatch_root_queue_drain + 572
14 libdispatch.dylib              0x187d050ec _dispatch_worker_thread3 + 124
15 libsystem_pthread.dylib        0x187efe2b8 _pthread_wqthread + 1288
16 libsystem_pthread.dylib        0x187efdda4 start_wqthread + 4

+[FlurryAdManager isGuidActive:]
#0. Crashed: com.twitter.crashlytics.ios.exception
0  MyAppName                        0x1007a24a0 CLSProcessRecordAllThreads + 144608
1  MyAppName                        0x1007a24a0 CLSProcessRecordAllThreads + 144608
2  MyAppName                        0x1007a235c CLSProcessRecordAllThreads + 144284
3  MyAppName                        0x100792b1c CLSHandler + 80732
4  MyAppName                        0x1007a0574 __CLSExceptionRecord_block_invoke + 136628
5  libdispatch.dylib              0x180fad47c _dispatch_client_callout + 16
6  libdispatch.dylib              0x180fb8728 _dispatch_barrier_sync_f_invoke + 100
7  MyAppName                        0x1007a0018 CLSExceptionRecord + 135256
8  MyAppName                        0x10079fe4c CLSExceptionRecordNSException + 134796
9  MyAppName                        0x10079fa6c CLSTerminateHandler() + 133804
10 libc++abi.dylib                0x180bbaf44 std::__terminate(void (*)()) + 16
11 libc++abi.dylib                0x180bba85c __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 134
12 libobjc.A.dylib                0x180bc8094 _objc_exception_destructor(void*) + 330
13 CoreFoundation                 0x181569c4c __methodDescriptionForSelector + 210
14 CoreFoundation                 0x181566bec ___forwarding___ + 872
15 CoreFoundation                 0x181464c5c _CF_forwarding_prep_0 + 92
16 MyAppName                        0x10020a1c4 +[FlurryAdManager isGuidActive:] + 4297073092
17 MyAppName                        0x100273564 -[FlurryAdLog isComplete] + 4297504100
18 MyAppName                        0x1002b4054 -[AdLogManager performRemoveAdLogsWithTransferIdentifier:] + 4297769044
19 libdispatch.dylib              0x180fad4bc _dispatch_call_block_and_release + 24
20 libdispatch.dylib              0x180fad47c _dispatch_client_callout + 16
21 libdispatch.dylib              0x180fb2b84 _dispatch_main_queue_callback_4CF + 1844
22 CoreFoundation                 0x181518d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
23 CoreFoundation                 0x181516bb8 __CFRunLoopRun + 1628
24 CoreFoundation                 0x181440c50 CFRunLoopRunSpecific + 384
25 GraphicsServices               0x182d28088 GSEventRunModal + 180
26 UIKit                          0x18672e088 UIApplicationMain + 204
27 MyAppName                        0x1000c9290 main (main.m:7)
28 libdispatch.dylib              0x180fde8b8 (Missing)

Will these crashes be fixed? It's crashing a lot..
Thank you!

+1

Thanks folks.  We are looking into it.  There is another thread on this one, too.

+1

Same here. See the stack.

@rollinsio Is there stable version that wont crash so that we can revert back before the fix it out?
Or any estimated time for the fix?
Thanks!

Hey folks, we are actively invested in fixing this right now.  I would hate to see anyone downgrade as there are other crashes around this class that then begin to crop up.  Going way, way back is also not all that tenable.
You should expect a new release, with this fixed, in the very near future.  We're not going to let this last long.

Hey folks, can anyone share detailed crash reports with me? From the stacks that we are seeing these may be related to memory pressure. To make that assessment and find a resolution having a broader set of crashes to look at would be very very helpful. You can post it here or send it to my email: mikerollins {at} yahoo-inc com

@rollinsio I've sent an email to you. Please check your mailbox.

@rollinsio Any updates?

Thank you @JohnnyTseng and the rest that sent in crashes.  We have a fix that is making its way through testing right now.  It should be released this week.  Let me know if any of you have any questions.  I'll live this issue live until the release.

This is fixed in 7.8.2.

authors: JohnnyTseng Lunglung costariccardo luohui8891 rollinsio

repo: flurry/flurry-ios-sdk


text:
Flutter Material Icon - Question_mark

The question mark icon, which is the material icon, cannot be displayed on the application or appears as a different icon.
Column(
              mainAxisAlignment: MainAxisAlignment.spaceEvenly,
              crossAxisAlignment: CrossAxisAlignment.center,
              children: [
                Row(children: const <Widget>[
                  Expanded(
                    flex: 1,
                    child: Icon(
                      Icons.question_mark_rounded,
                      color: Colors.blueAccent,
                    ),
                  ),
                  Expanded(
                    flex: 5,
                    // name
                    child: Text(
                        "Lorem ipsum dolor sit amet, consectetur adipiscing elit."),
                  ), // name
                ]),
              ],
            );

Hi @abdullah017, please provide the output of flutter doctor -v.
Thank you

`[✓] Flutter (Channel stable, 2.10.1, on macOS 12.3 21E230 darwin-arm, locale
en-TR)
• Flutter version 2.10.1 at /Users/piton/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db747aa133 (5 weeks ago), 2022-02-09 13:57:35 -0600
• Engine revision ab46186b24
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
• Android SDK at /Users/piton/Library/Android/sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.65.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.36.0
[✓] Connected device (2 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12
(API 32) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google
Chrome 99.0.4844.74
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!`

Hi @abdullah017, this has been fixed in flutter 2.10.3. Kindly upgrade to the latest version of flutter and let me know whether or not you still experience this issue.
Thank you

repo: flutter/flutter


text:
M2 Mac - flutter doctor multiple Android Studios

Setting up an M2 MacBook Air per https://docs.flutter.dev/get-started/install/macos#update-your-path
After installing and opening Android Studio for the first time, flutter doctor is unhappy.
It lists

❌  Android toolchain

running the recommended command path/to/sdkmanager --install "cmdline-tools;latest" did not work

✅  Android Studio

successfully found at /Applications/Android Studio.app/Contents

🟨  Android Studio

tried to find at /Applications/Android/Contents
I don't know why it is looking here, I even tried the recommended command from the guide to set it to the passing location: flutter config --android-studio-dir <directory>

katelovett@kates-air ~ % flutter doctor -v
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-arm, locale en-US)
    • Flutter version 3.0.5 at /Users/katelovett/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✗] Android toolchain - develop for Android devices
    • Android SDK at /Users/katelovett/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.70.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.5 21G72 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

🙃

I tried nuking Android Studio & flutter and reinstalling, but no dice.
I tried flutter config --clear-features to make sure I was using the default, still no luck.
I then ran
flutter config --android-sdk ''
flutter config --android-studio-dir ''

and made progress! :)
I had already installed the command line tools for Android directly in Android Studio, so after setting the Android configs to empty strings, flutter doctor said I only needed to accept android licenses, which I did, and now an all green flutter doctor. 🎉

I tried nuking Android Studio & flutter and reinstalling, but no dice.
I tried flutter config --clear-features to make sure I was using the default, still no luck.
I then ran
flutter config --android-sdk ''
flutter config --android-studio-dir ''

and made progress! :)
I had already installed the command line tools for Android directly in Android Studio, so after setting the Android configs to empty strings, flutter doctor said I only needed to accept android licenses, which I did, and now an all green flutter doctor. tada

Ahh, that's weird that you can use flutter config to set a path there. We should probably surface in the validator that you explicitly set a path and there was no longer anything there.

I have the same issue on my M2 but I think it is related to the usage of Jetbrains Toolbox.
Because it keeps a reference in the Toolbox for previouse installed versions so you can downgrade easily and copies the version into the Application Support folder.
Now it shows me at the end 3 versions.
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2022.3)
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)

Would be nice if it only shows up the latest version.

authors: Piinks christopherfujino md-weber


text:
ListView.builder with items in the bottom of the scolled area doesn't work

I need a ListView.builder with messages at the bottom.

I found two solution to do it:
Solution # 1 with SingleChildScrollView
class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('AppBar'),
        ),
        body: LayoutBuilder(builder: (context, constraints) {
          return SingleChildScrollView(
              child: ConstrainedBox(
                  constraints: BoxConstraints(minWidth: constraints.maxWidth, minHeight: constraints.maxHeight),
                  child: IntrinsicHeight(
                    child: Column(
                        mainAxisSize: MainAxisSize.max,
                        children: [
                          Text('header'),
                          Expanded(
                            child: Container(
                              color: Colors.green,
                              child: Text('body'),
                            ),
                          ),
                          Text('footer'),
                           // MY CODE STARTS
                           ListView.builder(
                             itemCount: 2,
                             itemBuilder: (context, index) {
                               return Text("Message " + index.toString());
                             }
                           )
                           // MY CODE ENDS
                        ]
                    ),
                  )
              )
          );
        })
    );
  }
}

This the result I get:
The following assertion was thrown during performLayout():
RenderViewport does not support returning intrinsic dimensions.

Calculating the intrinsic dimensions would require instantiating every child of the viewport, which defeats the point of viewports being lazy.

If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that effect without implementing the intrinsic dimension API.

Solution # 2 with CustomScrollView
class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('AppBar'),
        ),
        body: SafeArea(
        child: CustomScrollView(
          slivers: <Widget>[
            SliverFillRemaining(
              hasScrollBody: false,
              // fillOverscroll: true, // Set true to change overscroll behavior. Purely preference.
              child: Align(
                alignment: Alignment.bottomCenter,
                 // MY CODE STARTS
                child:  ListView.builder(
                    itemCount: 2,
                    itemBuilder: (context, index) {
                      return Text("Message " + index.toString());
                    }
                ),
               // MY CODE ENDS
              ),
            )
          ],
        ),
      )
    );
  }
}

And this is the result:
The following assertion was thrown during performLayout():
RenderViewport does not support returning intrinsic dimensions.

Calculating the intrinsic dimensions would require instantiating every child of the viewport, which defeats the point of viewports being lazy.

If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that effect without implementing the intrinsic dimension API.

I think this is a bug, because both solutions work when instead of ListView.builder I use Text widget . So, there mustn't be a problem if instead of one Text I have multiple same Text inside list.

Hi @PashaTurok, Thanks for filing the issue. If I understand it right you want your list to start from bottom of the screen and turn into the scrollable list when it exceeds screen height is that correct?

@PashaTurok  The issue with your second code is you are passing scrollBody:false and passing a scrollable widget (ListView.builder), setting it to true (default) should fix the issue.
https://user-images.githubusercontent.com/31410839/186085314-2c165d37-1a8b-46da-825c-36829db4723c.mov

code sample
import "package:flutter/material.dart";

void main() {
  runApp(const MaterialApp(home: Scaffold(body: MyApp())));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  void addMessage() {
    list.add('message $counter');
    setState(() {});
  }

  List<String> list = [];

  int counter = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        floatingActionButton: FloatingActionButton(
          onPressed: addMessage,
          child: Icon(Icons.add),
        ),
        appBar: AppBar(
          title: Text('AppBar'),
        ),
        body: new CustomScrollView(
          slivers: <Widget>[
            SliverFillRemaining(
              child: Align(
                alignment: Alignment.bottomCenter,
                child: ListView.builder(
                    itemCount: list.length,
                    reverse: true,
                    itemBuilder: (context, index) {
                      return Text("Message " + index.toString());
                    }),
                // MY CODE ENDS
              ),
            )
          ],
        ));
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Closing as this is working as intended, In case you disagree feel free to write in the comments and we will reopen it.
Thank you.

@PashaTurok for your point

You could reverse your list too, it is completely dependent on your implementation, My example shared was mainly to show that you could implement a list that starts from the bottom of the screen.
Can you be more specific and share a code specifying the expected vs actual result?

Can you be more specific and share a code specifying the expected vs actual result?

I really have nothing to add. I described the problem in details.

@PashaTurok
I share @maheshmnj opinion, there aren't enough information to call it a bug (maybe it is, maybe it isn't)
opening a new issue
you are prompted to provide some information like
**Expected results:** <!-- what did you want to see? -->

**Actual results:** <!-- what did you see? -->

if you think that it's a bug and not just a problem with your implementation
I think the first part is quite important to be answered
(also this is not how it works)

I need to align my messages at the bottom of the scrollable area. As I found out it is not such a simple task in flutter.

I find it a very simple task if it was just that,
but it seams to me that what you are trying to achieve something different;
honestly I'm confused about what that would be:

In your solution #1 the ListView  is inside a SingleChildScrollView obviously won't even compile w/o set height
and if you provide a height the ListView will scroll independently from the SingleChildScrollView
(see code sample)

In your solution #2 all the and seems that you just need a list of widget that starts from the bottom,
if that's the case it's a very simple task (see code sample)
I would add a 3rd option where the you scroll the whole page and just add elements to the list below (see code sample)
Bottom line
I don't think this is an implementation issue or even a programming issue,
this seems to me a design problem or rather a design decision that still need to be made.
Definitely not a flutter issue

The only problem NO ONE OF YOUR SOLUTIONS DOES WHAT I NEED.
No need to answer. I just waste my time. No one even understands the problem.

Are you reporting a bug or you just need help with your app?
Flutter community is great, but if you are asking "how do I implement XYZ"
in a repo where usually developers report bugs
ain't gonna fly
if you need help to implement something take a look here
I recommend the discord channel!

authors: PashaTurok iapicca maheshmnj


text:
Flutter should show / instead of a black screen on iOS if you pop the last route

On Android, we quit the app if you pop the last route.  On iOS we show a black screen.
This came up in discussions with Posse this morning and @collinjackson suggested that maybe we should just show / instead of a black screen in the iOS case.  This happens because on iOS it's not possible to self-terminate an app.
Thoughts?  @Hixie

Dupe of https://github.com/flutter/flutter/issues/9577
On iOS it is a bug in the app if it is possible to pop the last route.

authors: Hixie eseidelGoogle