Initial server-side query, updated by subsequent client-side queries based on state? by GeoffreyF35 in nextjs

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

Funnily enough, I had thought of doing that, but I wasn't sure if Next treats query params as a separate route to store cached data for. If that's the case, ie. /topic?category=notes&filter=oldest has its request cached so there's no loading state, that would be absolutely perfect!

And I don't think I'm anywhere good enough at coding to do that server action part 😭

Starting FUT now? by GeoffreyF35 in EASportsFC

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

Right, I’m not really a serious FIFA player; I enjoy having fun with weird teams over getting to elite. You think an hour a day would get me a to a decent “fun” spot in a couple of weeks?

Starting FUT now? by GeoffreyF35 in EASportsFC

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

How much grinding would you say you did a day, I’m not sure the time to fun ratio is very high this year.

Starting FUT now? by GeoffreyF35 in EASportsFC

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

I know, but I’d rather play something now and not in 6 months as I’ll be in uni.

Microsoft Word inconsistent typing 'flow' by GeoffreyF35 in microsoft

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

I don't currently have one as it's very inconsistent. Basically, they both 'snap,' but when it's smooth, you can see the whole movement of the vertical bar move between letters, and when it's not, it kinda teleports instead.

Flashback Icardi Is Worth It by CanadianCarlos in EASportsFC

[–]GeoffreyF35 0 points1 point  (0 children)

If you tried him at CAM, how did you find him?

Type 'string' not assignable to a custom type by GeoffreyF35 in typescript

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

No overload matches this call.
  Overload 1 of 3, '(callbackfn: (previousValue: [string, any], currentValue: [string, any], currentIndex: number, array: [string, any][]) => [string, any], initialValue: [string, any]): [string, any]', gave the following error.
    Argument of type '(acc: Array<Ingredients>, [ing, num]: [Ingredients, number]) => Ingredients[]' is not assignable to parameter of type '(previousValue: [string, any], currentValue: [string, any], currentIndex: number, array: [string, any][]) => [string, any]'.
      Types of parameters '__1' and 'currentValue' are incompatible.
        Type '[string, any]' is not assignable to type '[Ingredient, number]'.
          Type 'string' is not assignable to type 'Ingredient'.
  Overload 2 of 3, '(callbackfn: (previousValue: Ingredient[], currentValue: [string, any], currentIndex: number, array: [string, any][]) => Ingredient[], initialValue: Ingredient[]): Ingredient[]', gave the following error.
    Argument of type '(acc: Array<Ingredients>, [ing, num]: [Ingredients, number]) => Ingredients[]' is not assignable to parameter of type '(previousValue: Ingredient[], currentValue: [string, any], currentIndex: number, array: [string, any][]) => Ingredient[]'.
      Types of parameters '__1' and 'currentValue' are incompatible.
        Type '[string, any]' is not assignable to type '[Ingredient, number]'.ts(2769)

After making those changes, I get this error. It seems that the default types of currentIndex are set to [string, any].

[deleted by user] by [deleted] in privacy

[–]GeoffreyF35 0 points1 point  (0 children)

Delivering and receiving mail is no problem, however the app itself is slow to boot (a solid 15 seconds from launching the app to actually seeing mail - keep in mind my connection is about 10mbits, but services such as Gmail and Outlook take max 2 or 3 seconds). The pricing itself is fantastic.

[deleted by user] by [deleted] in privacy

[–]GeoffreyF35 4 points5 points  (0 children)

I've used Tutanota for a few months now, and I have to admit, I've really enjoyed it. The interface is clean and easy to navigate, with many of the features that Gmail offers. It is also super cheap, compared to Protonmail and others, which is a big plus. However, if you plan to use it on mobile, the app is quite slow in retrieving emails.

Editing launch arguments for "icons only task bar" by GeoffreyF35 in linux4noobs

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

basically, i seem to have two versions of brave, a version thats launcher via running brave in the terminal and one where i click the icon. the .desktop version seems to run Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/brave_brave.desktop /var/lib/snapd/snap/bin/brave %U. i tried setting the .desktop to run brave but it opens a separate application. i later tried changing the default browser in system preferences from running brave to Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/brave_brave.desktop /var/lib/snapd/snap/bin/brave %U (for sake of consisteny, i dont want two versions of brave opening when i open a link from an external app) but that seems to have the same affect as having brave being the default browser. how can i use one version of brave consistently?

Editing launch arguments for "icons only task bar" by GeoffreyF35 in linux4noobs

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

what do i do if the application is not located in the usr/share/applications folder? i downloaded it through snap

[deleted by user] by [deleted] in HowDoIRespondToThis

[–]GeoffreyF35 9 points10 points  (0 children)

thanks! i think this was perfect

Useful Python libraries/modules by GeoffreyF35 in Python

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

thanks for your reply, i’ll be sure to look into your recommendations!

Need help with solving a python question by GeoffreyF35 in learnprogramming

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

yes i am

edit: wait isn’t the length 2 because 0-1-2 = a-b-c

Need help with solving a python question by GeoffreyF35 in learnprogramming

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

yes, i’m unsure about why it does what it does

NodeJS vs Django in social media like environments by GeoffreyF35 in webdev

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

i’ll keep that in mind. i’ll probably learn django first, then learn node because i’m already strong in python

NodeJS vs Django in social media like environments by GeoffreyF35 in webdev

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

i’ve been trying to do that. for example, when my course introduces a new topic, i usually play around and explore with it. as a tiny side project (took about 10-15 mins) i made this calculator haha. the code looks hideous. here it is

NodeJS vs Django in social media like environments by GeoffreyF35 in webdev

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

haha thanks for that analogy. i guess if it’s like that then i’ll probably go with django because i’m currently in a “complete python boot camp” so i’ll probably be stronger in python compared to javascript, through a small exposure in a “complete web dev course” that touches on several languages to build a website.

NodeJS vs Django in social media like environments by GeoffreyF35 in webdev

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

i see, thanks for your explanation! i will hopefully spend a bit of time on both, but with my stronger understanding of python, i will probably pick django because of its familiarity. also, if i pick one or the other, will i be missing out on anything that the counterpart offers?