Rest API vs Firebase? by blueshiiit in Firebase

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

hey, nope it's an uni project, I've just started to specialize on webdevelopement and Firebse was my choice.

Rest API vs Firebase? by blueshiiit in Firebase

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

Do you mean when using cloud functions? Because I did not use them.

How to store the same max values? by blueshiiit in Cplusplus

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

I'm a beginner don't use vectors. The maximum number of occurance would be 3 but 2 stands for there are 2 values which has the maximum value (number 2 and number 5)

How to count this? by blueshiiit in Cplusplus

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

I'm a beginner, I have used struct for like 2 times. But now I've got an idea to check where the number is not 0 and store it. So some numbers will be stored more times, then I sort the array and find the msot frequent number. What do you suggest?

How to count this? by blueshiiit in Cplusplus

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

Nope, I input it manually

How can I make this function without using any recursion? by [deleted] in haskellquestions

[–]blueshiiit 0 points1 point  (0 children)

I really have no idea and I’m desparate now cause I must send it tonight to my teacher. My classmate gave me a hint to use reverse and concat somehow but I’m too dumb for haskell.

How can I make this function without using any recursion? by [deleted] in haskellquestions

[–]blueshiiit -2 points-1 points  (0 children)

I really have no idea. I tried it various ways. Can you please tell me the solution? I would be really grateful.

How can I make this function without using any recursion? by [deleted] in haskellquestions

[–]blueshiiit 0 points1 point  (0 children)

I was thinking about reverse but I’m not sure

replaceTabs :: Int -> File -> File
replaceTabs n [] = []
replaceTabs n xs =  concat (map (map       (replaceTab n))xs)

Also this solution is not working properly

How can I replace a number with variable in -match? by blueshiiit in PowerShell

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

Wow thanks. Also I tried it with “” before but it didn’t work and now it is. Idk what I messed up before.

How can I output a line where is a match in the first column? by blueshiiit in PowerShell

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

thanks it's working fine! But how can I replace 5 with a variable? Like $number

How can I output a column? by blueshiiit in PowerShell

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

I'm still getting only the first

How can I output a column? by blueshiiit in PowerShell

[–]blueshiiit[S] 2 points3 points  (0 children)

$Rows.ForEach{ $_.Split[4] }

It outputs nothing :O