[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Hey guys, I'm learning programming by myself, so I have

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 2

File: Programming challenges.png (125KB, 1920x1080px) Image search: [Google]
Programming challenges.png
125KB, 1920x1080px
Hey guys, I'm learning programming by myself, so I have no scheme to follow. What projects would you suggest me? I know it's about what I want to be able to do, and I'd like to know more about browsers, networking and OS. I'd like to learn for curiosity, I don't think I'll ever get to sell anything. Still, can you point me in a direction? Pic related, already doing those.
>>
>>62147218
Oh, btw I have a pretty good knowledge of Java (yeah, meme, botnet, whatever is your new buzzword to make everyone hate something), enough to make C# programs, basics of HTML and am learning C++
>tfw captcha contains ZION
>>
you have pretty old version, check g's challenges v4 and up
>>
File: 1481836940757.png (2MB, 3840x2160px) Image search: [Google]
1481836940757.png
2MB, 3840x2160px
>>62147454
Like this? Still, can you give me some pointers about language, projects and so on?
>>
>>62147557
Right, i would suggest you start with easy and medium ones. Most of them could be done in any general purpose lang. But just pick up the C for simpler ones and C++ for more complex. Note most of these contain like shit that you would do in college. And fuck you and difficult ones are really g's level shit. Writing bootloaders doing ASM.
>>
>>62147557
those are shit. rolling anyways
>>
eoll
>>
>>62147616
Thanks
>>
Start with a cmd line chat client using node.js http. Implement react webapp. Profit
>>
>>62147616
>implying people on g do anything but argue over consumer shit
>>
>>62147218
Fuck me, roll.
At work and bored shitless
>>
>>62148135
Worst. Code. Ever.

#!/usr/bin/env python3
from forex_python.converter import CurrencyRates
from forex_python.bitcoin import BtcConverter
import argparse
from decimal import *


if __name__ == "__main__":
currencies = ['AUD', 'BGN', 'BRL', 'BTC', 'CAD', 'CHF', 'CNY', 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'HRK', 'HUF', 'IDR', 'ILS', 'INR', 'JPY', 'KRW', 'MXN', 'MYR', 'NOK', 'NZD', 'PHP', 'PLN', 'RON', 'RUB', 'SEK', 'SGD', 'THB', 'TRY', 'USD', 'ZAR']
parser = argparse.ArgumentParser("Convert currencies")
parser.add_argument("amount", type=float)
parser.add_argument("from_currency", choices=currencies, help="i.e BTC or EUR")
parser.add_argument("to_currency", choices=currencies, default='USD', help="Defaults to USD")
args = parser.parse_args()

c = CurrencyRates()
b = BtcConverter()

src = args.from_currency.upper()
dest = args.to_currency.upper()
amount = args.amount

places = 2

if src == "BTC":
rate = b.get_latest_price(dest)
elif dest == "BTC":
rate = Decimal(1)/Decimal(b.get_latest_price(src))
places = 9
else:
rate = c.get_rate(src, dest)

result = round(Decimal(amount)*Decimal(rate), places)
print(result)
Thread posts: 12
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.