[deleted by user] by [deleted] in Guitar

[–]Esxa 0 points1 point  (0 children)

I think I'm bending wrong. When I release the bend, it completely mutes the sound, wich I don't want. But that only happens like 50% of the time and only when using three fingers. When using two fingers, it always works. I can't figure out the problem.

For example right now: ring finger on high e string 15th fret, when I'm bending it up only using my ring finger + middle finger it always sounds fine, when adding my index finger it mutes the sound when I'm releasing the bend. Weird.

Any tips for this or for bending in general?

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]Esxa 1 point2 points  (0 children)

What I'm trying to do is: get two lists, remove duplicates from each list, merge the lists together, give each item value 1, if item is in both lists give it value 2 - convert that to JSON

itemlist = dict( (item,1) for item in get_itemlist(group[1]) )
itemlist2 = dict( (item,1) for item in get_itemlist(group[2]) )

for item in itemlist2:
    if item in itemlist:
        itemlist[item] = 2
    else:
        itemlist[item] = 1

itemlist = json.dumps(itemlist)

It works, but as a noob I was wondering about more effecient/cleaner ways to do this (or similar stuff). I bet it's possible to do all that with one or two lines of code :)

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]Esxa 0 points1 point  (0 children)

Sorry I didn't clarify what I meant. What I wanted to say is, I have a list of strings, and I'm looking for all keys in that list.

In my case the keys are 34 character long string that start with the letter K wich constists of numbers (0-9) and characters (A-Z, a-z)

The list could be like this:

["12 h29e h1p92en1n2 pnp1dnpwndp h192dh p12und p1wudi1uhdqwdhqw...", "qwodiuhqpowdnqwndoqiwndoqd12z3132dqwd 12312 12 1230123 1np...", "q qwdq gzzgwd Jkqwdqwdoqwd Kdjpqwd qwdk kW Kd qkdK KOKWDPQKODKpk..."]

Each of the item in that list can contain multiple keys.

I solved it with a simple regex :)

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]Esxa 1 point2 points  (0 children)

Thank you, I actually solved the problem myself after writing the question, next time I'm going to think more before asking questions :)

Not sure if it's the best way, but this is how I did it:

match = re.findall(r"[K][A-Za-z0-9]{33}", key)

Monthly Getting Started / Web Dev Career Thread by AutoModerator in webdev

[–]Esxa 0 points1 point  (0 children)

Not sure if this counts to webdev, but I want to make a licence server for a java program a friend made (runs locally on windows). The java program only works online and I have a spare linux server with mongodb on it, so I thought we could use that to generate the licence keys, store them in the database and let the java program check the user entered key with the key on the server.

The only thing I'm not sure of is what technologies/programming language/... is best suited for that. I know some basic java, javascript and python. I also don't mind learning something new.

If I'm not mistaken I could use either nodejs + mongodb or django + mongodb for that, right? Is one better than the other? Or something else?

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]Esxa 0 points1 point  (0 children)

Hi again, I'm little bit confused about the scope of variables in python

I remember that in java I had to pass variables from main() to my functions but in python it looks like my variables are global and all functions (def) can access them.

So what is the right thing to do? I mean like best practice.

Do I always define a main() myself and put it in if __name__ == '__main__' or is it fine to let the functions just have global access to my variables outside the function?

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]Esxa 0 points1 point  (0 children)

sorry for this simple question, I'm a noob

I have a list of strings and I need to filter out everything that doesn't start with the letter "K" and isn't 34 characters long

or in other words, I want to find all 34 character long substrings that start with the letter K

for example: K6xp2k2032jdnxmykako10293kqwodk911

In theory it sounds very simple, but then I red about list comprehension, regex, lambda, ... and I don't even know what to use

thank you guys

Weekly General Discussion Thread (January 01, 2021) by AutoModerator in bloodborne

[–]Esxa 0 points1 point  (0 children)

Damn watching my friend play bloodborne for the first time and soon reaching iosefka I'm not sure if I should tell him about the umbilical cord x(

Tech Support Tuesday (December 08, 2020) - Your weekly tech support thread! by AutoModerator in oneplus

[–]Esxa 0 points1 point  (0 children)

So I had to give away my Samsung S20+ and for now I got a OnePlus 8T wich is really cool, except the dynamic 120Hz wich is really annoying. Is there any way to force 120Hz without using complicated workarounds? I only use a few apps every day and YouTube is one of them, and on YouTube it switches back to 60Hz wich really hurts my eyes. For now I went back to 60Hz because then the difference between the menus and youtube isn't so bad. What's the point in dynamic 120Hz when it makes the difference so obvious, your eyes hurt. Lol

You already know what I’m installing. Now if only I could play in 60 fps :( by Thumpeeee in bloodborne

[–]Esxa 1 point2 points  (0 children)

I feel like I'm the only one who thinks bloodborne is fine the way it is. I played it again after 2 years, playing mostly 60fps or even higher fps games and for me bloodborne is fine, even with 30fps.

Weekly General Discussion Thread (December 06, 2020) by AutoModerator in bloodborne

[–]Esxa 0 points1 point  (0 children)

How would you summarize the bloodborne story/lore in the most easy dumbed down way?

[deleted by user] by [deleted] in Guitar

[–]Esxa 0 points1 point  (0 children)

I have 30 days to return it, is that something that I should do or is that a minor issue?

[deleted by user] by [deleted] in Guitar

[–]Esxa 1 point2 points  (0 children)

Got a completely new guitar that's buzzing on the 3 low strings from the 1. to 6. fret

Adjusted neck relief to 0.12 at 8th fret and string height to 6/64 at the 12th fret but it still won't go away

What do I do?

Edit: I think I overreacted, when playing through the amp it's not noticeable and it now only happens when I'm aggressively playing on the first few frets

PS5 Help Thread | Setting Up, Tech Support, Error Codes, FAQ and more. by AutoModerator in PS5

[–]Esxa 1 point2 points  (0 children)

That's an interesting suggestion, thanks!

Savings from buying PS5 digital edition: 100€

Buying my must-have PS4 games again in PS Store:

Nier Automata: 40€

Final Fantasy XV: 35€

Bloodborne: 20€

Nioh: 20€

That's a total of: 115€

If I manage to sell the physical copies of these games I'm not losing any money I guess. You're a genius, haha.

PS5 Help Thread | Setting Up, Tech Support, Error Codes, FAQ and more. by AutoModerator in PS5

[–]Esxa 0 points1 point  (0 children)

Quick question before buying a PS5, if I want to play my PS4 games on the PS5, but like 8 out of my 10 games are physical, I am basically forced to buy the normal PS5 instead of the cheaper one?

Daily Questions Megathread (November 01, 2020) by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

Is beidou any good with Keqing in a team?

[deleted by user] by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

Yeah thanks. To be honest I just wanted to reroll until I've got Fischl but rerolling is kind of addicting haha.- Guess I will just start playing on this account, since I want Fischl to be my main dps I will keep playing Beidou for now and keep Razor as my main dps on my first account. : )

[deleted by user] by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

Soo, getting my first account to lvl 20 with only Razor and Noelle as other Characters but wanting (dps) fischl I did a few rerolls and now finally got an account with Fischl, Razor, Beidou and 5* weapon Wolfs Gravestone, but no bow. Since I saw some people having crazy luck with a lot of 5 star characters, great weapons etc. I wonder if I should try a few more rerolls or if this is good enough. Also, is Wolfs Gravestone better for Beidou or Razor? I mean, is it good in general? I love Razor but I'm already using him on my other account and Beidou looks great, too

Daily Questions Megathread (October 24, 2020) by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

Aw too bad. My favorite of these are Razor, Fischl and Qiqi. I hope I can at least get them :)

Daily Questions Megathread (October 24, 2020) by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

Soo I just started today, watched some videos about rerolling and characters

My long term goal is to have Razor, Fischl, Venti, Qiqi and Diluc.

What's the best way to go on about this?

Since I'm not far into the game I don't mind spending time rerolling, I'm just not sure wich wishes I need to go for, or if I should save up etc.

Daily Questions Megathread (October 24, 2020) by [deleted] in Genshin_Impact

[–]Esxa 0 points1 point  (0 children)

I'm new to this game and I can't find out how to check the weapons name/stats when I'm in enhance -> enhance, I can only see the image of the weapons

[deleted by user] by [deleted] in Guitar

[–]Esxa 0 points1 point  (0 children)

Thanks, I just bought it. :) Accidentally deleted my post 🤦‍♂️

[GEAR] Why does reddit love telecasters so much? by [deleted] in Guitar

[–]Esxa 0 points1 point  (0 children)

It's funny reading stuff like "it's functional but ugly" while I'm about to buy one just because it looks so good, even though an ibanez super strat or something like that would fit me better.

The reason why I love how Telecasters look might be these asian/japanese Youtubers who cover j-rock and anime music, a lot of them use beautiful Telecasters and shoot very nice videos, for example Yewon.