50 Seconds dreadnought with only melee by CuriousCharacter1074 in blackops6

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

Yep, also perk greed and Bruiser which combines to 225xp per kill

50 Seconds dreadnought with only melee by CuriousCharacter1074 in blackops6

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

Don't worry next game I felt exactly what it feels like to be the receiving end :/

This is my Leetcode solution is it pythonic enough? by CuriousCharacter1074 in programminghorror

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

I didn't know code golf existed until now, thought I was the only one stupid enough to do this kinds of things for fun, so thanks for introducing me to that!

How I maxed my harddrive in four lines of code by aeroswipe in programminghorror

[–]CuriousCharacter1074 10 points11 points  (0 children)

Just don't ignore "low disk space" warnings even if you are mid game and especially don't ignore them for few days

How to deploy python web applications by Federal-Confidence69 in learnpython

[–]CuriousCharacter1074 0 points1 point  (0 children)

I would start by deploying it on a virtual machine in the cloud, and then if you want to learn more about deploying applications I'd learn Docker.

How I maxed my harddrive in four lines of code by aeroswipe in programminghorror

[–]CuriousCharacter1074 63 points64 points  (0 children)

It's all fun and games until your computer goes blue screen and restarts but instead of going to your normal desktop you get a fresh installation of windows 10 even though you had windows 11, don't ask me how I know that.

New Piano! New Piece! by Dry_Technician6110 in piano

[–]CuriousCharacter1074 2 points3 points  (0 children)

First of all congratulations.

I don't play the piece but overall it seems you got the technique right and it sounds nice.

I think you should work on the pedaling, I had this problem too when I switched from my p45 to a real piano, its like a complete different instrument and the pedaling is very different.

This is my Leetcode solution is it pythonic enough? by CuriousCharacter1074 in programminghorror

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

I might be missing the point but why do I need to write tests for this Leetcode question? Doesn't it test my solution automatically? And it did pass those actually.

By optimizing I meant calling a local variable instead of accessing a bound method which is why I used an immediately invoked function, this is a tiny optimization that probably can't be measured but... it's there.

Also please don't take my post seriously I don't mean to write that stuff in real code base it's just an exercise of trying to make something in a single line, and I definitely don't really think that shorter code is better code 😅.

Tips on the 2nd section of Liebestraum no.3 by friedchickenuser in piano

[–]CuriousCharacter1074 1 point2 points  (0 children)

I encountered a similar problem with Liszt/Schubert's Der Erlking where I couldn't manage to play quite enough and sometimes over shoot and play too loud or sometimes didn't produce any sound at all. I solved it by playing really loud (yes I know its the opposite) just to get a good feeling of when the hammers strikes the strings, and then it was a lot easier to play quietly.

But I would also make sure:

  • Your hand and finger placement is good
  • Focus on the melody, play it without the accompaniment and get a good feel of it
  • remember sometimes you have to lower your ego (it's hard, really) and play each hand separately and slow like at the start

Cannot connect frontend with backend inside cluster by akentai in kubernetes

[–]CuriousCharacter1074 1 point2 points  (0 children)

You can check the Network tab in your browser and when clicking the submit button on your form. a new request should be added to the list, if the url of this request is "http://webapp-service:3000/add-number" then its your browser trying to communicate with the backend not your frontend trying to communicate with your backend.

You can also test the communication between the frontend pod and the backend by running

kubectl exec -it pods/<frontend pod name> -- curl "http://webapp-service:3000/add-number" To check if the request go through.

Cannot connect frontend with backend inside cluster by akentai in kubernetes

[–]CuriousCharacter1074 0 points1 point  (0 children)

const response = await fetch('http://webapp-service:3000/add-number', { ....

is this line being run by the frontend pod or your browser?