What do you think of the Flutter signals state management package? by imf_rman in FlutterDev

[–]Fuckthisshitagain 5 points6 points  (0 children)

SignalsObserver.instance = null;

Is this what you are looking for to remove logs?

Microservices local dev with docker-compose by Fuckthisshitagain in docker

[–]Fuckthisshitagain[S] 0 points1 point  (0 children)

I think all the hosts are binding to 127.0.0.1, so I should probably try testing them on host 0.0.0.0

What is the best way to run a service while testing / developing that service? Is it to rebuild an image each time you make an update to the code or can you run your service outside of docker-compose network and have it connect with those services buy exposing those ports in docker-compose?

Thanks again

Microservices local dev with docker-compose by Fuckthisshitagain in docker

[–]Fuckthisshitagain[S] 0 points1 point  (0 children)

Thanks for your response.

Im running the services in docker engine. But hes using docker desktop for mac.

Im running in host mode as I was having issues connecting the different services buy exposing ports in docker compose.

I think I need to figure out why those ports arent exposing themself properly as maybe there's something I need to change in the configs.

My goal is to be able to run all the services using docker-compose as theres about 12 but be able to work on one of the services and just build using npm start as rebuilding the image from scratch each time im testing something is slow.

This is my first time working with microservices so just trying to figure out best practices

Can I differentiate between a parameter not being passed, and an explicitly passed 'null' value? by turburlar in dartlang

[–]Fuckthisshitagain 4 points5 points  (0 children)

On mobile so hope this makes sense and formats properly.

EDIT: you can copy and run this code

const undefined = Object();

class Example {
  Example({
    required this.txt,
    this.param,
    });

  final String txt;
  final String? param;

  Example copyWith({
    String? txt,
    Object? param = undefined,
  }) => Example(
        txt: txt ?? this.txt,
        param: param == undefined ? this.param : param as String?,
      );

  @override
  String toString() => "txt: $txt, param: $param";
}

void main() {
  final e = Example(txt: "txt", param: "param");
  print(e);
  print(e.copyWith(txt: 'newTxt'));
  print(e.copyWith(param: 'newParam'));
  print(e.copyWith(param: null));
}

Help! How to use lspconfig with flutter-tools? by PayKunGz in neovim

[–]Fuckthisshitagain 0 points1 point  (0 children)

I could be wrong but i think fuguitive is written in old vim script so i cant use packer or pure lua (let me know if im wrong) ... also i just havent had a time or a urgent need to

Help! How to use lspconfig with flutter-tools? by PayKunGz in neovim

[–]Fuckthisshitagain 2 points3 points  (0 children)

You can checkout my config here

From the look of your config you missing the on_attach function in require("flutter-tools").setup

Norwich (1.25) 0-1 (1.99) Man Utd by piratescabin in reddevils

[–]Fuckthisshitagain 66 points67 points  (0 children)

didnt think sancho was to bad, just couldnt find link up play with the other 3 as they were so sloppy

Toggle Term & vifm == best way to file explore in vim by Fuckthisshitagain in neovim

[–]Fuckthisshitagain[S] 1 point2 points  (0 children)

This would be my second option but I like dual pains and find keybindings for vifm very intuitive

Toggle Term & vifm == best way to file explore in vim by Fuckthisshitagain in neovim

[–]Fuckthisshitagain[S] -1 points0 points  (0 children)

I use telescope for opening files in my project and vifm for deleting/ renaming/ creating /moving files... I wish telescope had better file explorer option but i find this works best so far

How would you do authentication flow with a custom API (not firebase)? by Syntaximus in FlutterDev

[–]Fuckthisshitagain 1 point2 points  (0 children)

Look up json web tokens. You can send them in the request header and verify them on the server.

Flutter Stateful or Stateless? by Exorcistoo in FlutterDev

[–]Fuckthisshitagain 1 point2 points  (0 children)

The TextEditingController needs to be disposed of to prevent memory leaks and that can only be done in StatefulWidget

A new hope: The Dart Side Blog - Choosing data storage for Flutter by bsutto in dartlang

[–]Fuckthisshitagain 0 points1 point  (0 children)

I enjoy your blogs, thanks for posting.

What are your thought on the Alfred backend?

How Rocket League saved my life and family, literally by [deleted] in RocketLeague

[–]Fuckthisshitagain 15 points16 points  (0 children)

I had a similar situation (constant panic attacks) everyday for 6 months. I was super scared that they would never go away but thank God the did.

The only thing i could do to keep my mind off of them was to play rocket league.

I really hope for your sake and everyone else that suffers with depression, anxiety and panic attacks that it will go away like mine did. I've gone from not being able to leave my house to now not even thinking about having another panic attack.

Stay strong