u/i_am_triggered - 11 Archived Voat Posts in v/programming
u/i_am_triggered
  • home
  • search

u/i_am_triggered

0 posts · 11 comments · 11 total

Active in: v/programming (11)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Learning the ultimate basics of Python, need help with one problem

Shorter:

if (a, b, c, d) == (1, 9, 3, 8)

0 23 Oct 2019 22:32 u/i_am_triggered in v/programming
Comment on: Why can't programmers... Program?

it's almost ok, Biggest problem is that it doesn't do what it should, it only prints 1-99 not 1-100.

To fix that change from range(1, 100) to range(1, 101)

Second (not so big) problem is that it makes 0 sense to have this nums variable, the same result you will get from:

for i in range(1, 101):
    print(fizzbuzzer(i))

I probably wouldn't hire you as a Python programmer :P

3 25 May 2016 08:39 u/i_am_triggered in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

If you would use generator expression instead of list comprehension and next() instead of [0] it would stop on first match instead of going through whole string. Only difference would be IterationStop exception instead of IndexError when no match.

I didn't test it, but I'm pretty sure I'm right :)

2 15 Apr 2016 23:23 u/i_am_triggered in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

This is not Python code, this is C code written in Python :P

5 15 Apr 2016 23:20 u/i_am_triggered in v/programming
Comment on: On pushing back against the SJW encroachment on the F# community

You're right, but when project changes names of variables from "slave" and "master" because it's offensive, I really don't feel like participate in this circus.

12 29 Feb 2016 23:07 u/i_am_triggered in v/programming
Comment on: On pushing back against the SJW encroachment on the F# community

Wow, I really appreciate your efforts.

I just stopped contributing to open source altogether. I feel like it's lost case, I admire your spirit.

7 29 Feb 2016 22:36 u/i_am_triggered in v/programming
Comment on: HOW TO: Move from github to BitBucket. I just moved 4 private repositories and it took me 10 minutes.

Gitlab itself is using that infamous "code of conduct" that will get you removed from project for being not PC in outside world.

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#code-of-conduct

3 25 Feb 2016 09:30 u/i_am_triggered in v/programming
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct

Look up higher in this thread, there is a link to project called opal where they were trying to get core contributor kicked out of project because he tweeted something they didn't like. Adopting this CoC means removing people for project unrelated private opinions, it's explicitly there in the CoC.

1 24 Jan 2016 10:48 u/i_am_triggered in v/programming
Comment on: Learn to Code. It's a LOT Harder Than You Think

So everyone should just omit HTML from the list of their coding skills?

I think it makes sense, since html is not coding.

1 20 Jan 2016 19:49 u/i_am_triggered in v/programming
Comment on: Learn to Code. It's a LOT Harder Than You Think

I know few guys who do C++ professionally and they are very afraid to say that they know C++, always some disclaimers, it's just a very difficult language.

Having HTML in the same sentence as Java, C++ or Python makes me believe that you may overestimate your coding abilities.

Do you code professionally (for money)?

I'm not attacking you personally, I just think that C++ is not something you can teach 12 year olds as you seem to be suggesting.

0 20 Jan 2016 18:19 u/i_am_triggered in v/programming
Comment on: What kinds of problems is /v/programming solving these days?

I took three weeks off to chill (right before christmas to just after new year). My beloved team (and it's only 4 people) already managed to pollute our main code base with such nonsense that it's hard to believe (invented their own http method to name one). FML.

1 24 Dec 2015 16:34 u/i_am_triggered in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.