Live data from Hacker News

Project Euler

projecteuler.net

111–120 of 142 posts

Re: Project Euler

#111
During my university time, I used to do a lot of different programming puzzles and algo. I think it an invaluable training that every serious engineer should try without relaying on AI.

Skills are trained by practice and thinking. Skilled people will never be subsidized by AI. Unskilled juniors, who don't train properly will go into tranches (as it's already happening).

Re: Project Euler

#112

Whelp, the opening “problem zero” stuffed me up. > A number is a perfect square, or a square number, if it is the square of a positive integer. For example, is a square number because ; it is also an odd square. The first 5 square numbers are: , and the sum of the odd squares is . Among the first 881 thousand square numbers, what is the sum of all the odd squares? I wanted to use Uiua, and hence: /+ⁿ2+1⍜÷⇡ 2 881000 B…

How did you get to problem 0? When I look at the list of problems it starts at 1: https://projecteuler.net/archives

Re: Project Euler

#113

Whelp, the opening “problem zero” stuffed me up. > A number is a perfect square, or a square number, if it is the square of a positive integer. For example, is a square number because ; it is also an odd square. The first 5 square numbers are: , and the sum of the odd squares is . Among the first 881 thousand square numbers, what is the sum of all the odd squares? I wanted to use Uiua, and hence: /+ⁿ2+1⍜÷⇡ 2 881000 B…

This will become a practice of implementing bignums in your language of choice, which is a valuable exercise itself.

Re: Project Euler

#114
post #9
post #4

Earlier quoted context omitted.

I've personally found the opposite. In order to advance you need to know the specific techniques or mathematics and there are no hints or information on how to approach the problem. So it boils down to how much of that mathematics you know. If you don't then the brute force approaches take a long time to find the solution.

I disagree. Often the techniques that you need for a harder problem, are discussed in a forum for an easier problem. Even more often the techniques that you need for a given problem are possible to work out from scratch. And the more you work out, the easier they get. This can be very frustrating for people who are used to being spoon fed techniques, then given problems which use what they have just been taught. But…

Wait, the math is discussed only in the forums? I thought one is supposed to gain mathematical insight from solving alone. As far as I have read here, forums are only accessible when having an account, which I don't. That would mean to solve later puzzles, I would need an account most likely.

Re: Project Euler

#115

12 years ago I was a failed computer science student, wasting my time on drugs. Having failed so many classes I did not see any future at all, and I was considering killing myself to get out of the anxiety and stress. My confidence regarding programming etc was 0. I decided to apply for a junior developer job. I got an interview and to prepare for an interview I found this site, Project Euler. I did ten or so tasks.…

Good for you! Inspiring stories like yours are positive externalities that will no longer be extant in the same way when everyone’s minds are just thin clients on top of LLMs!

Re: Project Euler

#116

12 years ago I was a failed computer science student, wasting my time on drugs. Having failed so many classes I did not see any future at all, and I was considering killing myself to get out of the anxiety and stress. My confidence regarding programming etc was 0. I decided to apply for a junior developer job. I got an interview and to prepare for an interview I found this site, Project Euler. I did ten or so tasks.…

Great story. Are you willing to share more about your SaaS?

Re: Project Euler

#117

Whelp, the opening “problem zero” stuffed me up. > A number is a perfect square, or a square number, if it is the square of a positive integer. For example, is a square number because ; it is also an odd square. The first 5 square numbers are: , and the sum of the odd squares is . Among the first 881 thousand square numbers, what is the sum of all the odd squares? I wanted to use Uiua, and hence: /+ⁿ2+1⍜÷⇡ 2 881000 B…

How did you get to problem 0? When I look at the list of problems it starts at 1: https://projecteuler.net/archives

It’s the “sign up” challenge

Re: Project Euler

#118

I think a hat-tip is due to freeCodeCamp for introducing Project Euler (along with Rosetta Code) to a new generation of programmers: https://www.freecodecamp.org/learn/project-euler/#project-eu...

i think its a decent environment to do the programs - ok restrictive to js but lets you focus on the problems

Re: Project Euler

#119

12 years ago I was a failed computer science student, wasting my time on drugs. Having failed so many classes I did not see any future at all, and I was considering killing myself to get out of the anxiety and stress. My confidence regarding programming etc was 0. I decided to apply for a junior developer job. I got an interview and to prepare for an interview I found this site, Project Euler. I did ten or so tasks.…

sometimes you just need a lucky strike !

Re: Project Euler

#120
I thank project Euler because whenever I face some coding challenge that has any mathematical inclination, I will(!) impress interviewers. I spent a lot of time on it, and learned a considerable amount of theory and hacks. What a privilege to be able to do this, instead of digging the fields and other manual labor. Thanks culture!
Post reply on HN