Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Subject
Comment
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


420chan is Getting Overhauled - Changelog/Bug Report/Request Thread (Updated July 26)

JS Canvas Laser Light 3D FX

View Thread Reply
- Fri, 05 Jan 2018 16:22:23 EST E0anbCqO No.37255
File: 1515187343914.png -(58209B / 56.84KB, 1000x1000) Thumbnail displayed, click image for full size. JS Canvas Laser Light 3D FX
<html>
<body onload="setInterval(doit,101);" bgcolor="black">

<canvas id="myCanvas" width="1000" height="1000" style="border:1px solid #black;">
Your browser does not support the HTML5 canvas tag.</canvas>

<script>
function doit(){
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");

var gradient = ctx.createLinearGradient(Math.random()*5000,Math.random()*4000, Math.random()*235, Math.random()*235);
gradient.addColorStop("10", "black");
gradient.addColorStop("0.5", "red");
gradient.addColorStop("1.0", "black");

ctx.fillStyle = gradient;
ctx.lineWidth = 10;
ctx.fillRect(100, 1000, 500,250);
}
</script>
</body>
</html>
<center>
<body bgcolor="black" onmousemove="setInterval('doit()',0.3);" onmousedown="drawe" onchange="drawe" ondoubkeclick="drawe;">
<video id="video" autoplay>

<canvas id="canvas" onchange="doit;" onchange="doit;" width="500" height="500" style="opacity:1.0;fillColor:none;">
<script>
var ii=1;
Comment too long. Click here to view the full text.
267 posts and 6 images omitted. Click View Thread to read.
>>
JS Webcam DNA Sequence SRC - Tue, 15 Oct 2019 23:54:28 EST 0vUsREHQ No.38167 Reply
<style>
#gum {

filter:contrast(200%);
background: #c00;
color: #fff;
padding: 10px;
}

#source {
filter:brightness(100%);
display: block;
margin: 20px 0;
max-width: 100%;
}

.supported #source { -webkit-transform: rotateY(180deg) rotate3d(1, 0, 0, 0deg);
-o-transform: rotateY(180deg) rotate3d(1, 0, 0, 0deg);
-moz-transform: rotateY(180deg) rotate3d(1, 0, 0, 0deg);
-ms-transform: rotateY(180deg) rotate3d(1, 0, 0, 0deg);
transform: rotateY(180deg) rotate3d(1, 0, 0, 0deg);
}

input { width: 360px; }
</style>
<body bgcolor="#000000">
<article>
<center>
<label for="hue">Set Color:<p><input type="range" min="0" max="360" value="0" id="hue"></label> <output id="target"></output>
<video id="main" muted loop autoplay>
Comment too long. Click here to view the full text.
>>
JS Webcam Raw RF Freq Data Viewer - Tue, 15 Oct 2019 23:56:12 EST 0vUsREHQ No.38168 Reply
<style>
canvas{
filter:brightness(408%);
filter:invert(180%);
border-radius:500px;
}
</style>

<center>
<article>
<label for="hue">Set Color:<p><input type="range" min="0" max="360" value="0" id="hue"></label><p> <output id="target"></output>
<video id="main" muted loop autoplay>
</video>
<canvas id="source"></canvas>

<script>
var video = document.querySelector('video');

function gumSuccess(stream) {
window.stream = stream;
if ('mozSrcObject' in video) {
video.mozSrcObject = stream;
} else if (window.webkitURL) {
video.src = window.webkitURL.createObjectURL(stream);
} else {
video.src = stream;
}
video.play();
}
Comment too long. Click here to view the full text.

A ridiculous sequence of courses

View Thread Reply
- Sun, 04 Jun 2017 02:38:16 EST HC1vVHLz No.37033
File: 1496558296564.jpg -(18091B / 17.67KB, 480x360) Thumbnail displayed, click image for full size. A ridiculous sequence of courses
Hello, I made and actually did all this (including the 'grad level' research electives, except for the coding theory book)
https://functionalcs.github.io/curriculum/

It's easier than it looks, it took me 3 years to do that. I did it about 3-4 hrs a day at first but then everything kind of snowballed and I finished it with only 1hr a day after the first year. These days I'm finishing The Art of Computer Programming series, I'm done up to book 4A and doing 4B draft at the same time. I just do it 20-30mins a day.

I cannot shill TAOCP enough, it totally changed me from amateur to professional computer scientist by just doing hundreds and hundreds of exercises. 20mins a day, for one year, it's all you need for the first book. Anyway, pick and choose what you want from this list and enjoy

I make money from cloning shopify apps, and I work P/T on https://turtle.ai/ though much more infrequently these days. I started out shilling myself on elance (now "upwork") as a jr developer and literally taking jobs from 3rd world countries for less than I would spend on lunch. I also work 2 days a week at my local university doing "ML" (statistics) for a cancer research lab making peanuts but it's research, and fun to do, and I don't need the money. The book in that above link, "Parallel and Sequential Algorithms" was directly responsible for the lab hiring me. Anyway anons I'm here to tell you to try this have a good day.
212 posts and 9 images omitted. Click View Thread to read.
>>
Matilda Bluvingbury - Fri, 11 Oct 2019 22:16:36 EST x6K3CZQk No.38147 Reply
>>38132
The Cornell CS3110 course has a few notes on Coq, it's actually a great way to learn proofs, same with the CMU 15-150 course and esp the Thomas VanDrunen Discrete Math w/Functional Programming book. If you get stuck on something ask Stack Exchange I did once and one of the Coq maintainers replied with a ridiculously detailed response. Keep in mind Coq is way overkill for some software and is perfect for what you're doing but formally verifying everyday software would be a nightmare to do. For that there's Alloy or TLA+ esp Alloy which converts to SAT and checks your model in seconds.

>>38136
PAPL the book will cover a lot of this, I learned from Andrew Appel's ML compiler book but there's a course in OCaml w/recorded lectures in the meme list if you're interested but you'll likely need to complete CS3110 by cornell first, which honestly isn't that hard, OCaml once you figure out 2 major things: 1) all functions really only take 1 input (a tuple) and the let... in syntax, and you're good. When you take the 'advanced data structures' like red black trees part of that course you'll be shocked how easy it was to implement everything yourself. OCaml also has surprisingly magical optimization, you basically are writing common table expressions like you would in SQL where you give everything at once and just let the it optimize everything for you and it just works out.
>>
George Werrychire - Sat, 12 Oct 2019 11:58:30 EST 0zgeA32X No.38151 Reply
Hey OP. I've been messing around on Codeforces to practice algorithms and it's pretty fun and I've learned a lot. Of course I'm doing side projects as well since just competitive programming isn't too practical unless you become a finalist in ICPC or something like that. Of course I'm doing all of it in C++, following the competitive programmer handbook, and the book you mentioned previously http://iips.icci.edu.iq/images/exam/DataStructuresAndAlgorithmAnalysisInCpp_2014.pdf
My question is, what do you think about OCaml, or some other functional language for competitive programming? I don't suppose you have much experience with that specifically, but I'm sure you've written hundreds of algorithms in OCaml, so I think you're qualified to answer. Also you mentioned doing some C++ resources, how would you compare them?
>>
Shit Cribbleman - Tue, 15 Oct 2019 08:35:50 EST Jwq7K7iM No.38166 Reply
1571142950099.jpg -(20981B / 20.49KB, 480x352) Thumbnail displayed, click image for full size.
Really enjoying PAPL, but damn it must be stressful to take it at Brown. 3-5 days to do these tough assignments on top of taking other courses.

vulkan

View Thread Reply
- Mon, 01 Apr 2019 15:00:11 EST QdPKZn3P No.37737
File: 1554145211448.png -(1979820B / 1.89MB, 640x8316) Thumbnail displayed, click image for full size. vulkan
fuckiing lol, this feels like some cruel joke. all this for a triangle, why even bother
3 posts omitted. Click View Thread to read.
>>
George Cribberchure - Fri, 13 Sep 2019 14:46:43 EST SoU4F8Rl No.38019 Reply
>>37737
too bad opengl went to shit and vulkan is just absolute fucking overkill, i would say its easier to just use opencl and write your own parallel rendering pipeline but its not, it really is not
>>
Jack Brookgold - Thu, 03 Oct 2019 10:56:45 EST WcLVFQ2r No.38104 Reply
Bruh that's fucked up
>>
Matilda Bebberhutch - Mon, 14 Oct 2019 21:39:41 EST jxqOU+Mu No.38165 Reply
>>38019
this is so fucking accurate it hurts, ive been coding game engines for 20 years and why is this spot on


Porn scraper

View Thread Reply
- Sun, 01 Oct 2017 05:52:25 EST +UW/1Srw No.37203
File: 12.jpg -(80085B / 78.21KB, 666x69) Thumbnail displayed, click image for full size. Porn scraper
I have a login to nubilefilms.com and am considering writing a quick scraper.

There is somewhere in the ballpark of 500GB of 1080p content plus loads of images.

Any interest?
14 posts omitted. Click View Thread to read.
>>
Phoebe Sondlenere - Thu, 10 Oct 2019 02:25:00 EST +0RE6QcI No.38144 Reply
Selenium is good when you are working with things like Javascript which won't load if you use bs4 (assuming you are doing this in Python). Selenium will get pretty much everything unless an element is hidden (if someone knows how to scrape hidden elements I'd love to know). Assuming they have cloudflare security (anti-bot protection) you can use cloudscraper to get around it, but than again you won't be loading any Javascript. I'd start with bs4 with requests just because it's setup is fast.
>>
Phoebe Sondlenere - Thu, 10 Oct 2019 02:29:39 EST +0RE6QcI No.38145 Reply
>>37794
Id be more concerned with them tracking account history. No amount of cookie clearing or proxies would hide it. If anything showing up in multiple locations on multiple ip's is more suspicious. I'd just rip a reasonable amount at a time something which is technically possible for a legit user.
>>
Martin Denderstick - Fri, 11 Oct 2019 17:21:01 EST a9BpE8FS No.38146 Reply
>>38145
lol that you basically necroed the thread and I actually saw the post.
Yeah you're right of course that would be a concern, but at this point I would have already got all the content.
Any way I ended up paying for stuff I actually wanted like an adult at a discounted price. I also ended up not using it like one too.

music project

View Thread Reply
- Fri, 04 Oct 2019 15:07:24 EST CO8MDNTv No.38109
File: 1570216044114.jpg -(17697B / 17.28KB, 400x400) Thumbnail displayed, click image for full size. music project
hi 420chan. i want to be able to assign sound files (musical notes played on an instrument which i will have recorded) in whatever order i want and at assigned intervals. i want to "compile" and output to the speakers or to a larger sound file. the only experience coding I have is client side (web design) :/ javascript always seemed too hard. any tips where to start? C? could i even do it with javascript do you think? windows and linux both run programs written in C, right?

i just feel like i'll have the MOST authorship power (aka creative control) if I can make the program that orders the music at its most basic level, instead of relying on commercial software that I had no hand in creating and thus may never quite fully understand. call me enthusiastic possibly, but i don't want to spend time trying to understand the DAWs.

feel free to ignore this post if you think I should be searching the search engines and studying on the programming languages on my own to find my answer. honestly, this post is as much a reminder to myself to find the information myself as it is a cry for help.


pic is the ammoon panda
>>
Betsy Cranderwine - Fri, 04 Oct 2019 17:04:14 EST Fs8QcJ3a No.38110 Reply
It sounds like you're looking for a music tracker. There are hundreds.
>>
Edward Shittinghood - Sun, 06 Oct 2019 10:13:43 EST CO8MDNTv No.38121 Reply
>>38110
but I don't understand the music tracker. :( it seems like only the creators must know how they work. and the ones who made the tutorials were their sexslave students or something. i understamp gimp/photoshop, but not blender. i'm mystified by the music software!

i have simple ideas like "play my recorded note sounds in a certain order"
arent there websites with big directories of commands i may utilize to write a simple program to achieve this
which language should i investigate?
what is python used for?
am i shitposting
>>
Shitting Bardstock - Sun, 06 Oct 2019 13:06:43 EST x6K3CZQk No.38123 Reply
>>38121
What you want is exactly what Nyquist does https://functionalcs.github.io/curriculum/#orge5b0887 and the same authors of Nyquist also made Audacity. You can do things like programatically select sound notes, give them variable names, and select any order of playback, repeat them in loops, anything you want. You can get both books the course uses on libgen.is though it's a weird Lisp syntax, the first half the second book on Algorithmic Composition covers intro to programming w/Nyquist. They take this to the extreme Sprockets level, by using probability/Markov chains to write their own noise but you of course don't have to do this just use it for grabbing and splitting up sound files into data you want to manipulate. MIT has a bunch of courses on sound design and algorithmic music using programming languages as well https://ocw.mit.edu/courses/music-and-theater-arts/

Resume/portfolio project ideas?

View Thread Reply
- Tue, 30 Jul 2019 16:20:32 EST R9gxgrMh No.37940
File: 1564518032365.jpg -(36331B / 35.48KB, 700x700) Thumbnail displayed, click image for full size. Resume/portfolio project ideas?
I just got my CS bachelors, and I'd like to get some personal projects under my belt before I apply to places.

What are some good ideas for software projects for a new graduate?
7 posts omitted. Click View Thread to read.
>>
Edward Hollerwell - Thu, 15 Aug 2019 09:19:58 EST 0u7XtIRD No.37970 Reply
>>37940
Really, I just found some problems or ceoncepts that interested me and started from there.

Even before I started my CS, I had written a small program that read out hardware information from the computer in C# with a sprinkle of x86 assembly... basically a CPU-Z clone with a few extra features. I've considered updating that one a bit with a few new things i've learned since.

Something that interacts with external hardware or homemade electronics. This can be anything from a small Arduino project to something entirely homemade that interacts in some way with the PC or another type of computer, like a smartphone.

Making a few small, simple games are also an option. It can be an excellent way to learn how to manipulate graphics quickly and manage system resources. Demonstrating simple AI algorithms like pathfinding can be well packaged in a game.

Anything that can parse and manipulate vast amounts of data quickly. Many businesses out there have huge databases of finances and statistics that need to be boiled down and shown in a simple manner. Again, certain hardware, like GPUs can be harnessed to accelerate this.

Something that automates a task in your home...

A simple AI that can recognize text or image components.

Taking an existing solution, like an API or server component and improving upon the workflow somehow... it can also be a simple, but useful UI for said API.

A simple robot project like a smartphone-controlled RC car or drone.

Really, the possibilities are endless... the hard part is always figuring out where to start :)

Getting Work Online

View Thread Reply
- Fri, 26 Jul 2019 11:07:09 EST /XSWK9U7 No.37931
File: 1564153629628.jpg -(37464B / 36.59KB, 810x425) Thumbnail displayed, click image for full size. Getting Work Online
Any suggestions for getting freelance type work over the Internet? Elance used to be good, but now it's Upwork and a complete cesspit. Freelancer.com is even worse.
5 posts omitted. Click View Thread to read.
>>
George Cribberchure - Fri, 13 Sep 2019 14:43:24 EST SoU4F8Rl No.38018 Reply
>>37952
yea but have you seen their code holy shit
>>
Frederick Tootham - Tue, 01 Oct 2019 06:27:39 EST 6x4VgI80 No.38088 Reply
you can find a lot of freelance work
>>
Frederick Tootham - Tue, 01 Oct 2019 08:16:09 EST 6x4VgI80 No.38089 Reply
You can create own site or app for smarphones. You can try to use some free site apps like wix or wordpress. But firstly you need to know about type of your site or apps. If you have plan to start online business I want to suggest you to check information about mvp app here https://spdload.com/blog/guide-to-launch-an-mvp/


Coding etiquette for real Wizards

View Thread Reply
- Thu, 26 Sep 2019 11:36:50 EST HQE5KDuB No.38044
File: 1569512210878.jpg -(31114B / 30.38KB, 508x412) Thumbnail displayed, click image for full size. Coding etiquette for real Wizards
Ok time to settle some things... I'll start.

Which is better, opening a bracket on the same line as your function declaration, or opening it on the line below? Same question for conditionals.

if(1) {
}

versus

if(1)
{
}

Next one for parameters, do you put multiple function arguments on the same line, or on multiple lines?

void myfun(int arg1, float arg2, bool arg3);

void function myfun(int arg1,
float arg2,
bool arg3);

Also regarding arguments, is it better to use multiple arguments, or to lump your arguments into an object and send them all at once? (Like C style versus Asynch/Json)

myfun(arg1, arg2, arg3);
myfun([arg1,arg2,arg3]);
myfun({var1:arg1,var2:arg2,var3:arg3});

How do you prefer to declare arrays, all on one line, multiple lines, or multiple lines with the declaration also on its own line?

var myarr = [1,2,3];
Comment too long. Click here to view the full text.
3 posts and 2 images omitted. Click View Thread to read.
>>
Priscilla Simblepack - Thu, 26 Sep 2019 21:09:42 EST Fs8QcJ3a No.38049 Reply
The word you're looking for is style. For Javascript, I use ESLint with Airbnb's style guide rules:

https://github.com/airbnb/javascript

The only hard and fast style rules that apply universally are:

  1. Follow the existing code style if it exists.
  2. Be consistent with your choices.
>>
Augustus Worthingshit - Fri, 27 Sep 2019 01:26:57 EST Spg4Zj63 No.38050 Reply
the answer is "depends on who you're working with". most of the time from what i've seen the curly brace sits on the same line as the declaration.

about consistency: most IDEs will process all this for you so you don't have to worry about formatting at all. IDEs that don't actively enforce this by default are either crap or notepad.exe. so use the right IDE or die.

Building a Android App

View Thread Reply
- Sat, 14 Sep 2019 14:34:16 EST HQE5KDuB No.38025
File: 1568486056321.jpg -(66284B / 64.73KB, 712x534) Thumbnail displayed, click image for full size. Building a Android App
So I know very little java but I'm trying to build and Android app that's basically a life simulator. I know enough coding to do zork in java basically. Any suggestions on how to learn Android Studio or online websites with information.
>>
Nigel Brettingwater - Mon, 23 Sep 2019 11:27:10 EST tIjRESAS No.38034 Reply
Like a game or just like, a normal app interface?
Maybe use Godot / Unity?
AFAIK they sort out the android-specifics for you automatically.
Writing a whole engine from scratch sounds like taking on more than necessary.

Made a new text board

View Thread Reply
- Fri, 30 Mar 2018 08:47:43 EST UVRoze3r No.37484
File: 1522414063536.png -(91555B / 89.41KB, 1280x1024) Thumbnail displayed, click image for full size. Made a new text board
Made a new text board tell me what do you guys think. I am a beginner coder
2 posts omitted. Click View Thread to read.
>>
Polly Lightway - Fri, 13 Sep 2019 15:35:05 EST Fs8QcJ3a No.38021 Reply
>>38020
Why did you stop bumping old threads? Quitters never win.
>>
Samuel Chemmlenerk - Fri, 13 Sep 2019 22:57:34 EST x6K3CZQk No.38023 Reply
>>37484
This is perfect except for the tripcode field.
>>
Simon Soblingman - Sat, 14 Sep 2019 13:37:37 EST tIjRESAS No.38024 Reply
>>38023
Yeah, he should keep the field but change the greyed-out-text to "don't actually use this though"

i wanna do something

View Thread Reply
- Sat, 31 Aug 2019 08:55:46 EST X2dvP4yn No.38003
File: 1567256146299.jpg -(97345B / 95.06KB, 499x499) Thumbnail displayed, click image for full size. i wanna do something
hey anons
give me some of your retarded app/project ideas and i'll try to make them real
1 posts and 1 images omitted. Click View Thread to read.
>>
Thomas Clundlebury - Tue, 03 Sep 2019 10:08:01 EST tIjRESAS No.38007 Reply
Make an app that simulates neural drug ports and can tell if a combination of medicines/drugs could be dangerous or symbiotic, by a database plugin of active chemicals and which receptors they interact with
>>
Wesley Clanderfitch - Tue, 03 Sep 2019 21:54:54 EST iQqSwgvw No.38009 Reply
Make an app that ACTUALLY gives you privacy online
>>
Jenny Blezzlefoot - Tue, 10 Sep 2019 23:31:54 EST tIjRESAS No.38012 Reply
Make an app where you take a picture of your butthole and it tells you which pornstars butthole it's most similar to.
Or, JunkSwap, like FaceApp or whatever it's called, but it switches your dick/ass/vagina. Either just the ones in view (for lewd selfies with your partner, swap your genitals, or swap for pornstars that have licenced off their junks.

newb

View Thread Reply
- Sun, 28 Apr 2019 15:33:21 EST lW62FiRg No.37793
File: 1556480001076.jpg -(47228B / 46.12KB, 495x638) Thumbnail displayed, click image for full size. newb
total newbie in programming

i want to start to learn how to program. what are all the languages and which one should I start with from easiest to hardest?

goal is to work from home and make income
4 posts omitted. Click View Thread to read.
>>
Matilda Shittingspear - Mon, 08 Jul 2019 16:43:11 EST tIjRESAS No.37909 Reply
>what are all the languages
No programmer ever knows them all.
As in, even heard their names. There just are so many. People make new ones all the time. Most never gain that much traction.
>which one should I start with from easiest to hardest
I'd recommend to use the resource https://www.htdp.org/2019-02-24/ to start with (but skip the "Prologue" section, it's actually a ruse to make you feel lost intentionally, simulating how other books teach programming). It uses a custom language for beginners made to teach better rather than be good for big projects / companies. My first attempts at programming never went anywhere because I never felt like I was actually learning to solve problems, rather like I was learning a load of curiosa without being shown the proper ways to use it. Because I was trying to learn C++ because that's what the big boys use.

Then after you've learned the basics, you would pick up a real world language based on what you actually want to do. The reason there are so many languages are that they are fit for different purposes. Working from home is probably more common with web development afaik.

But also seconding >>37811 , why programming?
It probably isn't the most straightforward or most sure way to reach your goal.
Also learning programming takes a lot of time and effort. Will you actually sit down and crunch or will you just switch tabs to some youtube vid as soon as things get challenging?

Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.