11 ms·
Project Euler Returns
- deleted 12y ago[deleted]
- jonahx 12y ago> The decision to no longer store any private/personal information in no way reflects a lack in confidence of the steps we have taken to make the new website secure, but if history teaches us one thing it is that for every "unsinkable" Titanic built there will always be icebergs. I love PE and I don't intend this question snarkily at all, but am genuinely curious why securing a database of emails for a site as simple as PE would be such a perilous problem? I know security in general is always more difficult that it appears, but in this case I would have thought we were dealing with a solved problem. I'd love to hear about why my assumptions are wrong.
- michaelmior 12y agoUnfortunately security is never a solved problem as there are always new attack vectors beings discovered. I think the statement just reflects their desire to take zero risk. The only way to do so is to avoid storing this information entirely.
- Kenji 12y agoSecurity is never a 'solved problem'. There is always a trade-off between usability, performance and security. Think of it this way: You run a server on hardware that no single human understands fully. On top of that, you have some devices for which pretty much the same applies. On top of that you have an operating system consisting of millions of lines of code, and again, nobody can fully grasp everything. On top of that, you have your webstack which adds even more complexity. You are hooked up 24/7 to a network filled with criminals. Security is not just intrusion prevention, it's also detection and recovery. PE chose to reduce the negative effects of a successful intrusion.
- Igglyboo 12y agoI'd have to agree, PE isn't a huge website and it isn't really storing sensitive data. I don't see why they're acting like it's impossible to secure their data.
- parennoob 12y agoThe problem is clearly not simple enough that you can, say, show us a CLI two-liner which will deploy a database and frontend that are unbreakable. Ergo, I find it quite plausible that people who are doing this in their spare time chose to avoid this task.
- rmc 12y agoKeep It Simple. Not storing personal information now removes a whole class of work you have to do. While you store personal information, you need to spend time keeping on top of security patches and issues. It means you need to worry about legal obligations. If you just don't store it, you don't have to worry about that. You need to spend less time per month maintaining the project. If you're a volunteer project, you might not have the time available to keep on top of it.
- Bootvis 12y agoI have been curious for a while: What is in the opinion of the HN community a good score on Project Euler? For which scores do you tip your figurative hat?
- sejje 12y agoI did the first 50 problems, and then cherry picked another 15 or so. At some point the math was beyond my knowledge, and I didn't find much fun in researching it. I'm a fairly normal web developer, in my own estimation.
- Igglyboo 12y agoI'd say 100 solved problems is pretty impressive. I have about 75-ish done with no math background (other than a few classes for my CS degree). The first 50 should be doable for most people in my opinion. After that you need to start being really clever or actually going and researching the problem at hand.
- prezjordan 12y agoIt's really tough to say. Some people have awesome math degrees, some people only do it casually, some don't do it at all. Keep doing the problems until you get stuck. Then learn, then solve a few more. Repeat as long as you're happy with your progress. I wouldn't put a number on it. In fact, do some easy ones in a completely new language!
- neutronicus 12y agoNot scores so much as specific problems. If I work on it for a week, get frustrated, google for solutions, and can't find any, and you solved it, you're a beast. Also if you solve 328 tell me how. And no, dynamic programming is not efficient enough.
- philbarr 12y agoAs far as I'm aware, Project Euler doesn't make any actual money, so you have to give the team behind it a lot of kudos for actually taking the time to get it back up and running. Must have been really tempting to just sack it off as a bad job. Congrats to the team!
- n8m 12y agoAgreed! Well done guys!
- kbar13 12y agoit would be great if PE was open source :)
- arikrak 12y agoAnyone interested in creating an open source version? It could have more features - such as running the code online, and more topics - such as non-math challenges.
- burkaman 12y agoIt's not open source, but https://www.hackerrank.com/ https://www.hackerrank.com/ sounds exactly like what you're describing, in case you've been looking for something like that.
- dragonwriter 12y agoThere's a number of sites that are not open source that use coding tasks like this and tie them with leaderboards and tie-ins to recruiters. As well as hacckerrank, there is codeeval, and there are some others whose names escape me at the moment. But that doesn't really address a question about putting together an open-source one. There's also at least one similar-to-Euler one -- rosalind.info (like Euler, but bioinformatics focus) -- which might be closer to responsive, since even though its not open source, their FAQ says they intend to open-source it...
- arikrak 12y agoRight, actually I created one as well.
- kbar13 12y agoI think that would be an interesting problem itself. Does PE export its problems & solutions in some kind of easily consumable way?
- arikrak 12y agoI created http://www.learneroo.com http://www.learneroo.com which lets people solve programming challenges (and other challenges) online. It's not currently open-source, though if there was interest I would consider open-sourcing it. (I would first need to clean up some code that I didn't think anyone would see!)
- hyperpape 12y agoI should preface this by saying that I love Project Euler--I spent a ton of time there while learning to program. I also am impressed by anyone who volunteers to create something for the community, and invests effort in maintaining it. However, not storing emails, and thereby giving up account recovery with the explanation that it's about security is a shit sandwich. My email is <myfirstname>.<mylastname>@gmail.com, a pattern I share with millions of people. This is public information. I could spray paint my email address on local bridges without in any way making my email less secure (cops might complain, though). I understand that some people have reasons to have private email addresses that they don't want released (they'll give them to family, but not the general public). They should never sign up for anything with those email addresses, because the moment you sign up for things, you will almost certainly be entered in a database somewhere, and eventually be spammed or subjected to whatever other bad consequences you're concerned about. Account recovery is a basic feature of a website (except those that contain data too sensitive to have account recovery), and they're giving it up for phantom security.
- ntpl 12y agoIt's one thing to decide not to store emails (sure, why not?) but account recovery shouldn't even require one to store email addresses. Check the the email provided by user via the recovery form against a hash of the email saved during registration, if it matches send the reset link. This way when data is breached, figuring out what the original email should be hard (if not impossibly hard, depending on how they hash it). Am I missing something here?
- vog 12y agoYou should not simply use a hash, but at least a salted hash, or even harder stuff like bcrypt. In other words, treat emails like passwords. Apart from that, I don't see any issues with that approach. Not sure why project euler doesn't use that approach.
- seanp2k2 12y agoThe irony here is that it's a site largely about computational complexity.
- ZacharyPitts 12y agoWell, I'm glad I have a git repo of all my solutions, so I can get back up to my original 102 problems solved. And then go back to not doing it again because it is too hard now.
- mathattack 12y agoGlad to see them back!
- hardwaresofton 12y agoIf Project Euler is trying to make itself less interesting to hackers/less vulnerable by storing less information(email), why don't they consider OAuth for login? I know OAuth has it's own warts, but isn't part of the point to offload the burden of authentication to someone else? Also, feel free to replace OAuth with Mozilla Persona or OpenID. [edit] - s/storing less password/storing less information\(email\)/
- hardwaresofton 12y agoAlso, I've been thinking of this for a while, but Project Euler needs to be open-sourced. I think this would help people who don't necessarily want to contribute money. I thought rather than just making suggestions, I could make a pull request for implementing OAuth/Persona/OpenID login -- then I realized it wasn't open source... I've been keeping this idea close to the chest, mostly because it's something I want to do, but Project Euler could easily become a great training tool, an easy-to-install packaged django application(I mention django for it's nice out-of-the-box admin interfaces, doesn't matter what it is as long as it's easy to manage for admins and users)
- curiousfab 12y agoWho returns, Project Euler? Neither the news page, nor the "about" page, nor the front page of "Project Euler" care to explain what this website is all about. Of course, I can guess that it has to do with mathematical problems of some sort. It is sad if you have to turn to Wikipedia to find out the basic details about a website. A sentence or two of introduction would have made everything better :-)
- ohitsdom 12y agoAgreed, I had never heard of it and the about page was no help at all.
- gknoy 12y agoOn the off chance that other comments here haven't made it clear what it's about, or that you haven't already looked it up, they apparently have a Wikipedia article about them: http://en.wikipedia.org/wiki/Project_Euler http://en.wikipedia.org/wiki/Project_Euler """ Project Euler (named after Leonhard Euler) is a website dedicated to a series of computational problems intended to be solved with computer programs.... Problems are of varying difficulty but each is solvable in less than a minute using an efficient algorithm on a modestly powered computer. A forum specific to each question may be viewed after the user has correctly answered the given question. """ There are also several Github repos out there that have both the problems and hashes of the answers. (Some have the actual answers, as well, or used to in the git history, but presumably anyone interested in solving the problems is more interested in the process than the score.)
- doodpants 12y agoThe site used to have a front page that clearly explained what it was all about. I assume that it will be restored along with the rest of the functionality on Saturday.
- deleted 12y ago[deleted]
- asgard1024 12y agoI wonder if the people behind Project Euler have names or it has all been done by this prolific guy Bourbaki?
- Xophmeister 12y agoBourbaki was a French collective of mathematicians, working/publishing together pseudonymously. I would therefore guess that the same kind of structure is in place at Project Euler: It's not one guy, but a joint effort operating under one name. EDIT: https://en.wikipedia.org/wiki/Nicolas_Bourbaki https://en.wikipedia.org/wiki/Nicolas_Bourbaki
- zerr 12y agoBtw, anyone has a list of subset tasks on this Project Euler more related to pure CS/Algorithms rather than Math? Preferably mentioned the level of experience. So far, as I can see, it is aimed for very beginners, right?
- rqebmm 12y agoWhat is project euler? The "about" page has lots of helpful information about submissions and scoring, but nothing ABOUT what it is!
- scott_karana 12y agoThey're programming/math quizzes (puzzles?), which you submit for automated testing.
- jleader 12y agoIt's a site full of problems, which generally require some mixture of math and programming skills to solve. You can trade off between the two. If your math is good enough, some problems can be solved with pencil and paper. If your programming is decent, some can be solved by brute force search. There's no time limit, you don't show anyone your code, you just type a brief answer into a text field, so the only constraint on the efficiency of your code is how long you're willing to leave it running. It's a lot of fun; the math involved can get pretty advanced on some of the problems.
- rikkus 12y agoI created an account but couldn't log in. As I've had the same happen before, I tried using only the first 32 characters of my password when logging in. That worked. Remember kids: Most software development isn't about puzzle solving and algorithms, it's about making stuff like forms work properly. Of course the puzzles and algorithms are fun, which is why I'm signing up for PE again!
- deleted 12y ago[deleted]