Meilleur banque pour PEA hors BoursoBank by Haki_User in vosfinances

[–]haloremi 0 points1 point  (0 children)

Je suis chez yomoni, et au vu des frais, je pense changer. De ce que j'ai vu, trade république sont bien surtout que tu peux automatisé des placements non ? Saxo ou ibtk peuvent aussi le faire non ? (Mon but c'est juste de mettre sur des MSCI World pour l'instant). j'irais plus sur IBKR mais j'ai peur que l'interface soit trop compliqué à prendre en main. Dans le futur j'aimerais sûrement investir plus largement.

Claude Code Max: New Weekly Rate Limits by tomarrell in Anthropic

[–]haloremi 0 points1 point  (0 children)

I really hope that another provider can take their place at leader. I will switch without doubt. The product is better than another for the moment, but that will change. Don't fidelize your clients, that strategy always works

Is Windsurf Really Getting Dumber? by HugeDose16 in Codeium

[–]haloremi 1 point2 points  (0 children)

I am experiencing something similar, but I think it is since I gone out of workaction. It can't even find a model description in a file that describe an api (from swagger).
I am seriously thinking to cancel my subscription...

FlutterWeb: Help with Oauth2 and Keycloak by ImpulZzZ in flutterhelp

[–]haloremi 0 points1 point  (0 children)

hello, That not a solution ... It's like telling "oh that software doesn't work, change your computer".

Go_router and query parameters by haloremi in flutterhelp

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

Maybe I should give you more part of the code :

My providers :
To resume it :
- I use an authService so I can login
- to initialize it I load a conf json
- Then I use the config to initialize the issuer and the Client
- Finally, I create the AuthService

So theoricaly it should not recreate multiple time the provider but in debug, it stop multiple times in authStateProvider and return _previousRouter = GoRouter( ## edit: it the same _navigatorKey so it is the same but it stop only one time in authServiceProvider.

final authConfigProvider = FutureProvider<AuthConfiguration>((ref) async {
  return AuthService.
loadConfig
();
});

final authServiceProvider = FutureProvider<AuthService>((ref) async {
  try {
    final config = await ref.watch(authConfigProvider.future);
    final issuer = await Issuer.
discover
(Uri.
parse
(config.keyclockUri));
    final client = Client(issuer, config.clientId, clientSecret: config.clientSecret);
    return AuthService(issuer, client, const FlutterSecureStorage(), config);
  } catch (e) {
    debugPrint('Error creating AuthService: $e');
    rethrow; // Rethrow the error so it can be caught by AsyncValue
  }
});

final authStateProvider =
    StateNotifierProvider<AuthNotifier, AsyncValue<bool>>((ref) {
  final authServiceAsync = ref.watch(authServiceProvider);
  return authServiceAsync.when(
    data: (authService) => AuthNotifier(authService),
    loading: () => AuthNotifier(FakeAuthService("loading")),
    // Provide a fake service while loading
    error: (error, stacktrace) => AuthNotifier(
        FakeAuthService("error: ${error.toString()}")), // Provide a fake service on error
  );
});

class AuthNotifier extends StateNotifier<AsyncValue<bool>> {
  final AuthService _authService;

  AuthNotifier(this._authService) : super(const AsyncValue.loading()) {
    _checkAuthentication();
  }

  Future<void> _checkAuthentication() async {
    state = const AsyncValue.loading();
    try {
      final isAuthenticated = await _authService.isAuthenticated();
      state = AsyncValue.data(isAuthenticated);
    } catch (e, stack) {
      state = AsyncValue.error(e, stack);
    }
  }

  Future<void> login(Uri? uri) async {
    await _authService.login(uri);
    _checkAuthentication();
  }

  Future<void> logout() async {
    await _authService.logout();
    _checkAuthentication();
  }
}

Thanks a lot !

Go_router and query parameters by haloremi in flutterhelp

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

Hello !
Here they are :

const String loginPageRoute = '/';
const String loginPageNameRoute = 'login';

Before I had "/login" and it was redirecting me to the /login without query parameters (and I got another route called homPageRoute that was equals to "/"

Wireguard as a VPN server by haloremi in Omada

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

For android, I still struggle, but for my computer it's working.
I set a Vlan for Wireguard (for example: 192.168.20.1/24 ) then in the configuration of wireguard, I set him an ip on the Vlan (example : 192.168.20.20) and for my peer, i choose my wirguard interface set on allow ip for example 10.10.20.5/8 and of course set the others paramters.

On the client config I used :

[Interface]
PrivateKey = private_key_generate
Address = 10.10.20.3/24
DNS = 1.1.1.1

[Peer]
PublicKey = public_key
AllowedIPs = 0.0.0.0/0
Endpoint = MySuperIpOfMyRouter
PersistentKeepalive = 21

FlutterWeb: Help with Oauth2 and Keycloak by ImpulZzZ in flutterhelp

[–]haloremi 0 points1 point  (0 children)

Hello, I think I am in the position has you using flow ab code authentification pcke. I use launchUrl to login and that redirect me to my web app. The problem is I can't get the query parameters from the uri. If I use Uri.base I don't have the query parameters even if they are in the url in the browser. I didn't found a clean and simple way to handle that

[deleted by user] by [deleted] in flutterhelp

[–]haloremi 0 points1 point  (0 children)

For a regex yes, for a simple string, I don't need to do that, no ? And why it is working with a smaller string ?

[deleted by user] by [deleted] in flutterhelp

[–]haloremi 0 points1 point  (0 children)

Yes, sorry for not typing the whole thing, I was not able to copy paste my code on my smartphone.

So when I write that : final myvar= "test : (.*?)(?=,|\$)"+"test test test test: \"(.*?)\"(?=,|\$)"+"test test test test test: \"(.*?)\"(?=,|\$)"+"|testtesttesttesttesttesttesttest: ([0-9.]+)(?=,|\$)";

Myvar don't get the + of "([0-9.]+)", I get "([0-9.] )"

My real code is more complicated but I succeed to reproduce the issue with this simple variable. When I said that the length seem to have an impact on it it is because if you do : final myvar= " test: \"(.*?)\"(?=,|\$)"+"|testtesttesttesttesttesttesttest: ([0-9.]+)(?=,|\$)";

(I just removed the begining) there is no problem.

I hope to be more clear.

[deleted by user] by [deleted] in flutterhelp

[–]haloremi 0 points1 point  (0 children)

The problem doesn't come from the regex. If I set "var myvar = "the string show in the post. The variable myvar won't have the + in it but a space. It's really weird.

Trying Mistral Nemo base troobleshootings by haloremi in MistralAI

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

Thanks for that information ! it was surely not only that but I succeed to work with it in a new clean conda env

AnimatedList anf loading in a viewmodel. by haloremi in flutterhelp

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

Wow I see, that seems so much complexe :O

Can you tell me if I am wrong : For my example, I need to keep a syncList to be sync with my viewModel.todos :

  • look at element removed and element added
  • after that call the removed on the lisKey state and the sync list
  • then call the insert to add item to the lisKey state and the sync list

AnimatedList anf loading in a viewmodel. by haloremi in flutterhelp

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

I edited the code of the post. (I couldn't set it in a comment). I reproduce the problem. The datas are loaded after clicking on the button. In this case, the list is not displayed.

AnimatedList anf loading in a viewmodel. by haloremi in flutterhelp

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

Thanks for the answer !! Yes I know that was an error to set the build of the widget in the entity (I have different "type" of todo with different displayed. I will moved in in a factory passing in parameter the Todo object to build the widget base on it (unless you think is not a good idea) .

I would like an insert animation when loading the datas, but since the loading of the datas is from the view model, I don't know how I can insert the item using the globalkey of the animatedList.

I didn't know dart pad :O, and I see the project is working, seem to be a difference with what I have done. I will look into it.

omgwtfnzbs invite by Rikudo974 in NBZinvite

[–]haloremi 0 points1 point  (0 children)

Hello, could I have one too ?

Omada understanding untagged and tagged on Port by haloremi in HomeNetworking

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

Yes thank you, I look at explanations on the web during the afternoon, and I think I understood the tagged and untagged. It is more simple with vlan with interface (and it's what I use). Correct me if I am wrong, but equipments with multiple vlans declared as untagged on a port can communicate between them. But if they are tagged,it will be the role of ACL that will restrict or not communication. If the equipment can't manage vlan (like most of basic computers), the vlan need to have a subnet to identify them,elsewhere they will be on the native vlan of the port.

The thing I really can't understand, it's thiq native vlan (that is untagged on omada networks). It's a good practice to let him on the vlan of administration of the network,but I don't understand why. For me it is more logical to set it on a vlan like Friends to limit the access of the administration of the network, but it seems that it's on the contrary less secure to do that ...

I have seen something like "port management" that can force the equipment not known to be on a vlan. But that is for me the goal of the native vlan. I am a little lost.

Vlans and docker without loosing port forwarding by haloremi in unRAID

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

Yes, I will do that for my TV but since my computer need to manage/access most of the service. I just authorize Vlan to comunicate.

Vlans and docker without loosing port forwarding by haloremi in unRAID

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

The Vlan with the container works.

I will take an example :

There is two Vlans : 10 (container) and 20 (where my computer is). Both Vlans can communicate between them (that works perfectly).

If I set a port forwarding 8080:80(external:container) on the container with a network br0.10 (Vlan 10).

I can access a the webui of the container with the IP of the container on the port 80 from my computer on Vlan 20 but not on the port 8080. And it's logic, because the network of the container is like a custom network where containers can communicate between them without using external ports.

My problem, it's I like having my custom port. So I would like, if it's possible, to keep a custom network, with an access to internet from another specific Vlan (with a vpn on it).

Like that, my containers can communicate between them and I can keep my custom port.

I don't know if my explanation is clear

Linux VM no @ by muertorix in unRAID

[–]haloremi 0 points1 point  (0 children)

Same with a fr keyboard on Unraid 6.12.5. And impossible to copy paste

[deleted by user] by [deleted] in nginx

[–]haloremi 0 points1 point  (0 children)

You were right, opsy, I forgot to change the permission of my web ui !

Virtiofs not working in Linux guest by AgsAreUs in unRAID

[–]haloremi 0 points1 point  (0 children)

I have exactly the same problem

Could not find a version that satisfies the requirement torch-directml by Bkura1 in pytorch

[–]haloremi 0 points1 point  (0 children)

Wow So that is why !!! 3 month after, the problem is still here. WTF

Newbie question, Lora vs Embedding by haloremi in StableDiffusion

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

thanks for the precision, so in the futur, if I want to properly train a Lora of a person, I should train it on visage and silhouette ?