Live data from Hacker News

A list of practical projects that anyone can solve in any programming language

github.com

21–30 of 59 posts

Re: A list of practical projects that anyone can solve in any programming language

#22
post #9

My go-to for this sort of thing has always been Project Euler ( https://projecteuler.net/ ).

I've posted this several times, but...

https://github.com/seaneshbaugh/rosetta-euler

It's an ongoing thing I work on when I'm not working on anything in particular.

Re: A list of practical projects that anyone can solve in any programming language

#23
post #9

My go-to for this sort of thing has always been Project Euler ( https://projecteuler.net/ ).

I've posted this several times, but... https://github.com/seaneshbaugh/rosetta-euler It's an ongoing thing I work on when I'm not working on anything in particular.

Sweet, I've been working on one of those too: https://github.com/lunixbochs/project-euler

Dare you to add an HDL.

Re: A list of practical projects that anyone can solve in any programming language

#24
>SQL Query Analyzer - A utility application which a user can enter a query and have it run against a local database and look for ways to make it more efficient.

Non-trivial if "look for ways to make it more efficient" means non-trivial suggestions (ie. not "add moar indexes").

Re: A list of practical projects that anyone can solve in any programming language

#25
post #18

Earlier quoted context omitted.

Coq's not really a programming language, is it? It's a proof language. So, you could prove the correctness, or perhaps possibility, of a bandwidth monitor in Coq, given certain assumptions, but it would be up to some other poor schmuck to actually write it.

Well, what constitutes a programming language then? It sounds like there is a clear definition :-) Coq is certainly a programming language, as you can build programs. But you can't interact with the subsystem, you can only build pure functions (Therefore it is quite hard to build a performance monitor). In my opinion English could also go as a programming language. Especially given the rise in NLP products. You can a…

"Well, what constitutes a programming language then? It sounds like there is a clear definition :-)"

Some bloke called Turing had a few ideas on a definition. (I'll whisper "whoosh" here - for my own note)

Given that any programming language can be defined in English (or any other human language, with a few contortions as required, if any) then of course English can be used to create a Turing Machine (TM). It doesn't take much NLP to define a full TM via speech.

Re: A list of practical projects that anyone can solve in any programming language

#26
I've actually been working on this while trying to help a friend learn programming.

I've been looking for some meatier projects that still have good feedback loops, without requiring too much domain knowledge.

For example, I've been working through a project with the friend that involves scraping prices off of a website and trying to build a thing to automatically order things off of the websites.

Multiple distinct parts, each with their own, very visible, success state. But at the same time, not too many challenging domain specific issues (main issue was just explaining CSS selectors and form POSTs).

Re: A list of practical projects that anyone can solve in any programming language

#27
post #16
post #12

Earlier quoted context omitted.

True, and when talking about "numbers" one would generally include 3/7 and maybe e , negative numbers and perhaps complex numbers... or at the very least negative integers...

all of which have prime factors ;) besides, you may as well consider 1 a prime factor. the task is just a silly programming toy problem. 1 not being prime is pure definition, including 1 in the primes would not materially change the definition of primes. just make a lot of advanced math tedious to write down.

If you changed the definition of "prime numbers" so that it included 4, but was otherwise the same, you could also change other statements and definitions to account for this.

It would be entirely unreasonable to say that 4 might as well be considered a prime number because of this.

Re: A list of practical projects that anyone can solve in any programming language

#28
post #9

My go-to for this sort of thing has always been Project Euler ( https://projecteuler.net/ ).

Project Euler has good problems, but they are heavy on the math and that does require some domain knowledge.

I'd be more happy with a book that has 50 fairly simple apps to build in a simple language like Python where the apps aren't a whole lot longer than tic-tac-toe (~1/2 page).

Re: A list of practical projects that anyone can solve in any programming language

#29

Earlier quoted context omitted.

I've posted this several times, but... https://github.com/seaneshbaugh/rosetta-euler It's an ongoing thing I work on when I'm not working on anything in particular.

Sweet, I've been working on one of those too: https://github.com/lunixbochs/project-euler Dare you to add an HDL.

You're missing an array language like APL, J, or K.

Re: A list of practical projects that anyone can solve in any programming language

#30
post #2

Great list for inspiration! Though, it is not true that all the problems can be solved in any programming language: try to make a "Bandwidth Monitor" in Coq.

I think that looks like a framework for proving things about the bandwidth usage of other programs, no?
Post reply on HN