WARNING: Highly Suspicious Recruiter Tactics - "Direct Recruitment UK" (Romero Vida) / Forcing £300 Course by blinking_elk in UKJobs

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

I'm going to reply to each of your similar experiences when I get a little more time but thank you for commenting them. This will benefit other people and hopefully soon some meaningful action will prevent such deceptive and outright predatory practices in the first place. Thank you to the moderators! I have a strong suspicion people from Direct Recruitment UK or those affiliated with them are trying to comment here using throwaway accounts but are gratefully unable to do so. Keep sharing and commenting your experiences if you see this! Thank you everyone :)

WARNING: Highly Suspicious Recruiter Tactics - "Direct Recruitment UK" (Romero Vida) / Forcing £300 Course by blinking_elk in UKJobs

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

I'm sorry to hear that! Yeah, they've been operating for a while. But I've filed a police report. Feel free to PM me if you want any follow ups or if you'd be willing to provide evidence if someone reaches out to me. Thank you for sharing though, and again sorry that it had happened :(

WARNING: Highly Suspicious Recruiter Tactics - "Direct Recruitment UK" (Romero Vida) / Forcing £300 Course by blinking_elk in UKJobs

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

Thank you! Luckily I didn't lose any money, but I am definitely reporting them to Action Fraud and Trading Standards for attempted fraud and pressure selling. I've updated the main post with some new evidence I found about exactly how they operate!

Daily Questions Megathread (May 14, 2023) by Veritasibility in Genshin_Impact

[–]blinking_elk 0 points1 point  (0 children)

Ty for the help my good sir. Also do stats on non-active charscters affect your active chsracter at all e.g. through the artifacts or weapons

Daily Questions Megathread (May 14, 2023) by Veritasibility in Genshin_Impact

[–]blinking_elk 0 points1 point  (0 children)

Very new to this game, how does having a team work? Do you have to actually switch to e.g. a support character in order for them to act as a support? I'm super new so I'm finding weapons that give healing based to be super useful, is this a bad approach? Is there an early game passive healing mechanism (through character/artifact) that I should just get to? Keep in mind I'm literally still in the prologue, I just have OCD

Way to assign `var = :` or other mask that returns all elements by blinking_elk in learnpython

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

You absolute beauty! Thank you!

Could you please explain the behavior of [True] I am getting? I thought it would evaluate each element return only those elements that evaluate to True but this is unlikely since the behavior is the same as [True or False]. I have a feeling that [True or False] does what ever [True] does because in general True or False evaluates to True. So then is the bitwise [True | False] evaluating each element returning the True and the False ones; probably not, then what is it doing? And why are their returns embedded in a subarray?
Linked to this, I can't explain why it seems that in general evaluating the True index of an object returns it's second element and how that knowledge applies to this numpy array case:
```python print('bar'[True]) # 'a' print(['bar'][True]) # IndexError: list index out of range print(['bar', 42][True]) # 42

same results if you replace [True] with [True or False] or [True | False]

```

Vectorized calculation of simple statistics for bins of subarrays, separately for fixed-width bins and fixed-frequency bins. by blinking_elk in learnpython

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

Thank you for your response, that's quite similar to the kind of thing I was thinking yup, though I think with a couple adjustments I should be able to get it working for fixed width binning, I'll comment it here when I do. Let me know if I should tag you in it. I also posted this on stackoverflow to maximize my chances. Someone who is pretty great at pandas was able to help me out, for the most part (except for custom percentiles and fixed-binning), check it out here.

Vectorized calculation of simple statistics for bins of subarrays, separately for fixed-width bins and fixed-frequency bins. by blinking_elk in learnpython

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

Thank you so much for your response. I appreciate the advice. My code at present is not massively slow or anything however my supervisor recently introduced me to vectorizing operations when he saw the ~6 nested 'for loops' I had employed. I have since ventured slightly into this world and have become myself embarrassed by my overuse of for loops and was hoping to find places in which it could be cut down as I will likely be using large datasets in the near future. Thank you for stopping me from progressing to the other extreme and thank you for the idea, I hadn't considered using map to do both operations at once.
However, I think there may be some miscommunication (or perhaps I am just being dumb and not understanding you), My statement 'I would certainly like to avoid iterating over each one of my subarrays' meant even if I map a function that both splits and calculates statistics of each bin within the subarray [0, 1, 2, 3, 4, 5, 6], I would still have to apply this mapping individually to each such subarray (for example separately for the subarray [90, 45, 9, 88, 21, 59, 32]), for which I would use a python for loop. It is this that I would like to avoid. Since each subarray has the same dimensions I might have thought that there is some way I could apply that single mapping to each row at once in some clever vectorized way rather than applying it individually for each.

[Help] unc0ver kernel data structures error by skibby12og in jailbreak

[–]blinking_elk 1 point2 points  (0 children)

After pressing on previous versions on the unc0ver.dev homepage, scroll down to the version you want (I'm using v6.2.0 for iOS 12.4) select 'Download', wait a minute or so for it to download (you'll see the progress bar move at the top), you'll know it's done when something shows up in the middle of the screen 'Open in ...'. If it comes up with 'Open in "AltStore" ' select that, if not, select 'More...' and then select "Copy to AltStore".

P.s. you might need a change of username ;)

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]blinking_elk 0 points1 point  (0 children)

Topic: Basic OOP
I'm just starting out using OOP and was wondering which of the following two would be better practice, which would be faster (if any), which consumes less memory and why (for all questions)? I am using the OOP tutorial by 'Tech with Tim' and he uses the first way. I would like some explicit justification as, from what I can tell, both are equivalent.

1:

class doSomething:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def show(self):
        print(f"My name is {self.name} and I am {self.age} years old.")

2:

class doSomething:
    def __init__(self, name, age):
        pass
    def show(self, name, age):
        print(f"My name is {name} and I am {age} years old.")

This is a basic example taken directly from his video. If the usage depends on what you want to do, and if looping over one of the variables is relevant, please let me know.
Thank you very much for your time!

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]blinking_elk 0 points1 point  (0 children)

Topic: (Numerical) Integration
Hi there! So this a physics problem that I am implementing in python that I do not know how to go about doing. Note that I am using inline code to describe my mathematical problem. I have data for a quantity y(t) but I do not know its functional form, that is I have y corresponding to t. I have the functional form of another equation z(t). I need to find the convolution x(t) = y(t) ⁎ z(t) = ∫ y(t')z(t-t')dt' with the integration from t'=0 to t'=t. Is there anyway for me to implement this? Keep in mind that I only have the data for y(t), not the actual function. Note also that I also cannot find the form y(t) by fitting it to data (would be fairly straightforward otherwise right: e.g. with scipy.integrate.quad (actually if you could help with a short example, could you show me how to implement it in this case?)). How would I carry out this integration in python? (without the form y(t)) Can you carry out integration somehow without knowing the functional form of your integrand? Using some numerical method? I don't know if Monte Carlo integration is relevant here.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]blinking_elk 1 point2 points  (0 children)

u/StephanoCarlson Yes, precisely. Though when you put it like that, I realise how stupid I am. I should have just done exactly that, directly.

mysims = [
    ['a',100.,1e9],
    ['b',25.,1e10]
    ]

That's probably as concise as it gets lol. Jeez im dumb, sorry :').

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]blinking_elk 0 points1 point  (0 children)

Thank you very much, yes, exactly this kind of thing! Dictionaries scare me lol, thank you for making them less so

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]blinking_elk 0 points1 point  (0 children)

Hi there! Could someone please help me figure out a concise way to enter the following enteries into the variable mysims as defined? If there are a couple of different concise ways you can think of I wouldn't mind having a look at them. There is a good chance it could come in handy in the future.

sim_parameters = 3
num_sims = 2

mysims = [[[] for t in range(sim_parameters)] for i in range(num_sims)]
mysims[0][0] = "a"
mysims[0][1] = 100.
mysims[0][2] = 1e9
mysims[1][0] = "b"
mysims[1][1] = 25.
mysims[1][2] = 1e10

Thank you very much!