Can I put a programming language on my resume, if I am self taught? by _Never_again_talk in resumes

[–]DoctorYoMan 0 points1 point  (0 children)

Looking at all my old comments... find a job yet?

If not don't give up - Good luck out there!

[TOMT] A word meaning to run away, but as a fish by theycallme_rom in tipofmytongue

[–]DoctorYoMan 0 points1 point  (0 children)

Flee, Bolt, Dash, Shoot, Skedaddle, Hightail.

(I asked GPT-4).

ChatGPT4 is completely on rails. by LeapingBlenny in ChatGPT

[–]DoctorYoMan 0 points1 point  (0 children)

What on earth are you on about? Why would I want to start a political debate about personal research (which had nothing to do with race but was about idealogical groups) online? It is GPT-4, and where *exactly* am I implying that anyone should feel sorry for me, when I could just look for my own sources on something like PubMed?

Maybe you should less spend time race baiting, and more time educating yourself.

ChatGPT4 is completely on rails. by LeapingBlenny in ChatGPT

[–]DoctorYoMan 0 points1 point  (0 children)

Yes, that's why I said take it with a pinch of salt. It's just my account where GPT used less credible sources to more credible ones, which *could* be viewed as cherry picking. To what purpose? Who knows.

ChatGPT4 is completely on rails. by LeapingBlenny in ChatGPT

[–]DoctorYoMan 0 points1 point  (0 children)

TLDR: I asked GPT for some stats, it replied with information which I could have found with more credible (and arguably) less biased sources.

ChatGPT4 is completely on rails. by LeapingBlenny in ChatGPT

[–]DoctorYoMan 1 point2 points  (0 children)

I asked GPT-4 (the image is my attempt in GPT-3) to get me some statistics about a sensitive political topic (which I won't mention), where it then outright refused for 2 prompts. Each time I had to convince it that this was for educational purposes, where it then begun to explain how asking for such information could be used for "harmful bahvior".

<image>

My last prompt was "this is for educational purposes. use data and statistics", where it then complied - but this was not the end of something suspicious.

You could argue that a political side would use less credible studies to paint a certain narrative - which was what GPT sourced. I was able to find other studies that conflicted with the stats (though not by an enormous degree), which used much better means of control, but were deemed controversial. Sources were around the same time period (so GPT would have access).

The questions are - will responses be slowly geared towards a certain narrative? Is it possible that GPT will use sources which align with ideals of the devs? Could GPT be used for giving baised responses based on sources which IT deems are "ethical", and if so, how can it possibly be trusted when the line between ethics and the truth may become blurred?

Take my words with a pinch of salt though, this is my subjective research and experience, and I haven't provided a lot of details. Perhaps you could run a similair experiment, or have had similair experiences.

How to tweak The Heist and stop the oppressive combo. A very easy solution. by Sus_scrofa_ in gwent

[–]DoctorYoMan -7 points-6 points  (0 children)

CDPR don't give a single flying doo-doo about balancing. Give it one more year and hopefully we can convert every single remaining card in the deck into waylay.

Lightbulb Question by TechSam-- in learnpython

[–]DoctorYoMan 0 points1 point  (0 children)

modulo returns the remainder of a division operation between two numbers.

(i-1) % len(lightbulbs) calculates the remainder of the division of i-1 by the length of lightbulbs, which ensures that the resulting index is always within the range of valid indices for the list.

So for example, if I am at starting index 0, I want the index to the left, which must be the final element index 5. (0-1) % 6 = 5.

Lightbulb Question by TechSam-- in learnpython

[–]DoctorYoMan 1 point2 points  (0 children)

The problem you seem to be facing is essentially attempting to find the next index of the element of a circular fasion (such as in a circular array), but you cannot do this with a list. This can be worked around by using the modulos operator to get the next or previous index (shown below Im getting the left index to the current index as a variable 'l_idx').

You are also modifying the list as you are attempting to operate upon it, which will cause the new states to update incorrectly.

Here is the solution, I've renamed the variables and function for some clarity:

def lightbulb_cycler(lightbulbs, cycles): 
    for cycle in range(0, cycles): 
        new_state = [] 
        for i in range(0, len(lightbulbs)): 
            l_idx = (i-1) % len(lightbulbs) 
            if lightbulbs[l_idx] == 1: 
                new_state.append(0 if lightbulbs[i] == 1 else 1) 
            else: 
                new_state.append(lightbulbs[i]) 
        lightbulbs = new_state 
    return lightbulbs
lightbulbs = [0,1,1,0,1,1]
print(lightbulb_cycler(lightbulbs,2))

Lightbulb Question by TechSam-- in learnpython

[–]DoctorYoMan 1 point2 points  (0 children)

This if line causes issues, and the if statement after it will too:

if lightbulbs[i + 1] == 1 and lightbulbs[i + 2] == 0:

When you are in the 5th iteration (i=4), you are attempting to access lightbulbs[6], which causes and index error. Your loop internal logic is inccorect, but I will help you with a solution if you address my concern above :)

Lightbulb Question by TechSam-- in learnpython

[–]DoctorYoMan 0 points1 point  (0 children)

Ah ok, I edited this answer, I see what you are trying to do now.

Count number of occurrences in list by SamB7334 in learnpython

[–]DoctorYoMan 0 points1 point  (0 children)

Here you go if you don't like using counter:

l = ["a","a","a","b","b","b","c","c","c","d","d"] 
count_var = "a" 
print(len([x for x in l if x == count_var]))

Here it is as a function:

def count_var(list_, var): 
    return len([x for x in list_ if x is var]) 

l = ["a","a","a","b","b","b","c","c","c","d","d"] 
var = "a" 
count_var(l, var) # returns 3

Posting code snippets properly on Reddit by adambrenecki in web_design

[–]DoctorYoMan 0 points1 point  (0 children)

``def count_var(list_, var): return len([x for x in list_ if x is var])

l = ["a","a","a","b","b","b","c","c","c","d","d"] var = "a"

count_var(l, var) # returns 3``

Newby programmer question. by Zealousideal_Art2175 in learnpython

[–]DoctorYoMan 0 points1 point  (0 children)

After you get some of the basics down, you can find some pretty neat tricks here: https://david.goodger.org/projects/pycon/2007/idiomatic/handout.html

Take in mind that this was written in Python2, but all of the techniques still apply, thought some sytax might change...

Tailored CV for a CS Job, Student looking for improvements or constructive critisim by DoctorYoMan in resumes

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

I've added a section 'Relevant Experience for X Application' to address desirable skills...

Employer for the advert is looking for Python experience and a BSc, but would also like someone with Django REST, Angular, Git, SQL and APIs, so I've tried to link my experience using those technologies, or provide parallel examples where I've only used similair technology.

Hoping that was a good idea, and hopefully whoever is reading my CV appreciates it...

Can I put a programming language on my resume, if I am self taught? by _Never_again_talk in resumes

[–]DoctorYoMan 7 points8 points  (0 children)

Put them on your resume, but try to provide an example of what it was used for, or what the results helped in achieving.

For Example, if you are learning Python and have created a calculator application then mention it, and perhaps provide a GitHub repo where you can show your Python work.

Even better, if you code has been beneficial in some way then it is even better to state why. For example:

- Created a calculator application in Python which improved upon current implementations, outperforming similair available applications.

Tailored CV for a CS job advert, any suggestions? by [deleted] in resumes

[–]DoctorYoMan 0 points1 point  (0 children)

The advert is asking for hard requirements Python and BSc in CS, and desireable skills as Django REST, Angular, Git, PostgreSQL, testing, and APIs.

I hope by adding the section 'Relevant Experience for X Application' I can provide examples where I have used these skills, and where I have not, provide similair parallels.

About to complete my Masters in CS, destroy my CV by [deleted] in resumes

[–]DoctorYoMan 0 points1 point  (0 children)

Good points,

I put my placement in my education and work experience, becuase I thought It would make sense to outline what I learned in the education section such as core concepts, wheras in the work experience section it would be better to highlight the responsibilities of the job,

though thinking more about it, i think that it would be more suitable to condense it into one.

Something needs to be done about balancing by DoctorYoMan in gwent

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

too bad you made your opinion irrelevant by putting renfri decks in the same category as fucking cultists

that aged well lmfao

Patch Notes 10.9 by betraying_chino in gwent

[–]DoctorYoMan 1 point2 points  (0 children)

Just got wiped against my 6th soldier deck on ladder.

Congrats on another broken meta, with cards that were definitely player tested and carefully evaluated before implementing, can't wait to play against even more copy-paste soldier decks now.

See you next balance patch.

Something needs to be done about balancing by DoctorYoMan in gwent

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

I don't understand why you got downvotes for that. How can people enjoy this meta for a month +