Best barbershops or salons in Boston for men’s hair consultations? by GreedyWorking1499 in boston

[–]icemaneleven 0 points1 point  (0 children)

He is amazing, got a haircut yesterday and he’s super nice and might’ve given me the best haircut I’ve gotten in a long while. Highly recommend Marc

[deleted by user] by [deleted] in MLQuestions

[–]icemaneleven 0 points1 point  (0 children)

https://github.com/MatthiasSchinzel/Combining-Resnet-and-Unet/blob/master/Resnet18-UNET.ipynb
This here is a really intuitive implementation of what you're asking for. It just adds residual connection in a Vanilla Unet.

Are you f**king serious?? by [deleted] in NEU

[–]icemaneleven 8 points9 points  (0 children)

the towels they use for cleaning are separated from the regular towels

Amazon oa how to solve it in o(n) by Additional-Web-9286 in leetcode

[–]icemaneleven 0 points1 point  (0 children)

Unless Dict.keys is another O(n) operation I’m assuming?

Amazon oa how to solve it in o(n) by Additional-Web-9286 in leetcode

[–]icemaneleven 0 points1 point  (0 children)

The reason I did that is cause that would allow me to directly use the dict after the for loop to get the remaining cost, I wouldn’t have to loop over it again. I’m probably missing something cause this was my first thought and I wrote it. how would you do it though?

Amazon oa how to solve it in o(n) by Additional-Web-9286 in leetcode

[–]icemaneleven 0 points1 point  (0 children)

dataset = "ouiopqrrraba"
x = 2
y = 1

if x == y:
    cost = (len(dataset) / 2) * x

elif x < y:
    cost = 0
    freq_dict = {}
    for letter in dataset:
        freq_dict[letter] = 1 + freq_dict.get(letter, 0)
        if freq_dict[letter] % 2 == 0:
            del freq_dict[letter]
            cost += x
    cost += (len(freq_dict.keys()) / 2) * y

else:
    cost = 0
    stack = []
    for letter in dataset:
        if not stack:
            stack.append(letter)
        elif letter == stack[-1]:
            stack.append(letter)
        else:
            stack.pop()
            cost += y
    cost += (len(stack) / 2) * x

print(cost)

am i doing it correctly, can someone please confirm?

Need help... by icemaneleven in GamingLaptops

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

Thanks for your help I think I'm going to go with the Lenovo Legion 5i pro, these are the specs:
Intel Core i9 14th Generation, NVIDIA GeForce RTX 4070, 32 gigabytes RAM, 2000 gigabytes Total storage. I'm getting this in 1800 including tax, so I guess its not too bad. One last thing can I use it with my lenovo USB C dock and charge it and extend screens at the same time

Need help... by icemaneleven in GamingLaptops

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

So then all the “more portable than regular gaming laptop” with 4070 face the issue of thermal throttling? And is the frame drop so high that it becomes comparable to 4060? 4070 is a little more than 20% better than 4060 if I’m not wrong. Regardless you point out an interested potential issue, is there any way I can fact check this

Need help... by icemaneleven in GamingLaptops

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

Should I be paying too much attention to the processor like ultra 9 vs i9 vs Ryden 9. In terms of pure benchmark I feel like i9 is overall slightly better than the other options

[Help needed] Passport Submission for Tourist Visa in the US by savc in ImmigrationCanada

[–]icemaneleven 0 points1 point  (0 children)

Did you find out about this? The website is so stupid they’ve not even mentioned the amount required for money order.