• OK, it's on.
  • Please note that many, many Email Addresses used for spam, are not accepted at registration. Select a respectable Free email.
  • Done now. Domine miserere nobis.

Recent content by Adamastor

  1. Adamastor

    Your favourite coding fonts?

    Inconsolata, worked pretty well for me. BTW I find it weird a thread about fonts / setup in general without pictures! Pics or fake!
  2. Adamastor

    Preferred window manager?

    For tilling I tried awesome, dwm and i3. i3 hits the spot for me, good defaults, intuitive, readable code, everything I wanted
  3. Adamastor

    No Thought and Social Atrophy

    Well, I can somewhat relate with your situation (at least as my younger self). Allow me to share how problematic is the above quote of your answer in my humble point of view: So, doing nothing implies you have to do something and in your case that implies doing something you are not "good at"...
  4. Adamastor

    how did you study in school

    I didn't and I guess I would be pretty happy if I did. When I think about why, it was because: (1) I did not have a suitable environment for studying (I discovered this when I started living alone and made one) (2) I felt more challenged playing online games (3) Didn't have clear...
  5. Adamastor

    Anyone a professional musician?

    As the title says: Are you a professional musician? And if so can you make a decent living? Just curious
  6. Adamastor

    Favorite Programming Language

    If you are into challenges, do a project, something that you want or need, less useful but good nonetheless: copy something. Some ideas: If you are into movies: - A movie suggestion engine: Get data from IMDB, then input your favorite movies and movies you watched, fetch related movies...
  7. Adamastor

    Favorite Programming Language

    Suggest learning and why? Here's my biased view, about some common programming languages. Different languages that will teach you different things. It's a really really long journey: 1. Python/Ruby 2. Java / C# 3. Clojure / Haskell / OCaml 4. C 5. Assembly Easiest to be useful and...
  8. Adamastor

    Project Euler

    As a tool python is quite flexible. Depends on your goal. If you wanna learn syntax I recommend doing a simple web-project or some programming challenges to get comfortable with its types and built-in libraries. For problem solving: I recommend CodeForces and CS academy you'll learn to use...
  9. Adamastor

    Project Euler

    If I understood the problem correctly, it's quite disappointing since the pictures are pretty much irrelevant. (I wanted something visual / geometric!) Simplest solution is: brute-force all 10! (less than 4m) permutations. Which is easy for a modern computer (not surprising since the problem...
  10. Adamastor

    Successful INTP's, what career has made you happy?

    I choose computer programming instead of medicine, so I could be free (got money fast enough to leave comfortably by myself). Dropped out of college tho, courses were mostly interesting but not really my thing going to class and working at the same time. Been working professionally for about...
  11. Adamastor

    Project Euler

    Problem 459 - https://projecteuler.net/problem=459 Looks really interesting too, since it's about "perfect playing" a game with simple rules. I like this type of problem.
  12. Adamastor

    Project Euler

    I thought about problem 67: https://projecteuler.net/problem=67. I lost a lot of time thinking (like 2 hours or so) I had to do something smart (dunno like a magic matrix multiplication or some closed-formula solution), but it was as simple as starting from bottom to top. My first solution...
  13. Adamastor

    Project Euler

    Hmm, save the file and execute it, there's no problem (I am using Python 3). And the output answer is correct. ___ The "i" is "moving ahead" and there's no need use a range or a for-loop or anything like that. because path_sum is a recursive function. The "i" is one of the function...
  14. Adamastor

    Project Euler

    It's no bother, but explain in detail what? The used python built-ins? How to read input? Or the whole solution? If it's about the solution, you can forget about reading input. And hard-code the input values:
  15. Adamastor

    Project Euler

    Oh, I guess the input reading was quite weird. I apologize for that from sys import stdin tokens = map(int, stdin.read().split()) last_row = next(tokens) numbers = list(tokens) The above code reads from STDIN until end-of-file, it also ignores newline characters and...
Top Bottom