[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]

Programming Challenges Thread

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: 28
Thread images: 6

File: progchal.png (305KB, 1920x1080px) Image search: [Google]
progchal.png
305KB, 1920x1080px
>>
>>58088858
i can do this from a fucking terminal
pandoc -f markdown -t html input.md
>>
>>58088930
write a program that does that, not use one
>>
>>58089366
what if i write a program that calls the function?
>>
>>58089687
no, you have to make the function
>>
File: 1482083502461.gif (277KB, 500x300px) Image search: [Google]
1482083502461.gif
277KB, 500x300px
http://skullcode.com/

Is this a meme or is it a legit puzzle?
>>
>>58091694
probably a meme, if it's a puzzle, it's clearly not a realistic one
>>
Rellll
>>
I just added "VisualBoyAdvance in Go" to my project list, fuck your stupid game. I REJECT MY ROLL.
>>
>>58092194
How do you figure?
>>
>>58087319
let's see it
>>
Rollinggg
>>
Here're a few other versions
>>
>>58087319
will do if not trival
>>
>>58096802
<body>
<input id="amount" type="number" /><select id="from"><option value="C">C</option><option value="F">F</option><option value="K">K</option></select> to <select id="to"><option value="C">C</option><option value="F">F</option><option value="K">K</option></select><button id="convert">Submit</button>
<div id="result"></div>
<script>
(function(){
function l(id){
return document.getElementById(id);
}

l('convert').addEventListener('click', convert);

function convert(){
let val = l('amount').value;

let funcs = {
'FC': (f) => (f - 32) * 5/9,
'FK': (f) => (f - 32) * 5/9 + 273.15,
'CF': (c) => (c * 9/5) + 32,
'CK': (c) => c + 273.15,
'KF': (k) => (k - 273.15) * 9/5 + 32,
'KC': (k) => (k- 273.15)
}

let funcName = l('from').value + l('to').value;
l('result').innerHTML = funcs[funcName] ? funcs[funcName](val) : val;
}
})();
</script>
</body>
>>
File: 1474140098052.png (2MB, 3840x2160px) Image search: [Google]
1474140098052.png
2MB, 3840x2160px
>>58087319
>making a programming challenge thread
>not using v4.0
>>
>>58087319
Roll
>>
fuck it why not
>>
>>58099012
oh joy, something i know nothing about. this will take a while
>>
>>58087319
rolling
>>
rolling for my very own reasons
>>
>>58087319
Rolling
>>
>>58087319
loli
>>
>>58099879
>geek code generator
wtf is this shit?

>http://www.joereiss.net/geek/geek.html
wow fuck that i'm not doing all that work
>>
I've made a script to download videos from a Tumblr page that contains lewd things that move in function of time. It's not finished though.

import resquests, bs4

res = requests.get('http://videos-do-wpp.tumblr.com/archive')
res.raise_for_status()
wpp = bs4.BeautifulSoup(res.text)
print('Getting links from ' + wpp.title.string)
for a in wpp.find_all("a", "hover", href=True):
print("https://www.tumblr.com/video/videos-do-wpp/" + str(re.findall("\d+", a["href"])[0]) + "/500/")
>>
>>58097514
doing this shit, post number mod 145 for the clueless
>>
>>58087319
rolley polley
>>
>>58102433
what in the name of christ does that even mean
Thread posts: 28
Thread images: 6


[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.