Leave these fields empty (spam trap):
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
[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


Edabit Challenges Will HELP everyone!!

View Thread Reply
- Tue, 04 Aug 2020 13:39:20 EST gCG4yvFE No.38889
File: 1596562760472.png -(78742B / 76.90KB, 1366x768) Thumbnail displayed, click image for full size. Edabit Challenges Will HELP everyone!!
Iggy the post that were auto formatted incorrectly by 420chan.
Just goto rhe w3schools link or study the screen shot I took for the working code.

BTW I did it the hard way.

Hope this is helps you in class my friend.

I prefer JS over Python for many reasons not only because it is the web standard because there are so many ways to do the same thing. Also I haven't coded much in Py.

My 3 fav right now have to be JS/PHP/C#, in that order. After that I would say VB because of the .NET framework like C# and C++ for .NET aka Managed C++ is not bad. Java because of its syntax is much like C# is good and It is good for Android projects.

Just pick a language that is widely used and master it. or else you will know alot of diff ones but master none. Go with C# for desktop/Mobile and JS for the Web and master those. I would say spend 2-3 years using just those languages. - BrU
BrU - Tue, 04 Aug 2020 13:43:02 EST gCG4yvFE No.38890 Reply
Ment to relply to the below post srry took about 50mg Oxy, k-pins a Soma and a little H and about two Xanax bars who knows what i'm coding/posting ATM.

Help me as I ask questions

View Thread Reply
- Wed, 23 Aug 2017 18:12:33 EST FzfAQ7sK No.37162
File: 1503526353355.gif -(2193920B / 2.09MB, 125x125) Thumbnail displayed, click image for full size. Help me as I ask questions
>1. Goal = define a function that takes input and then returns it in reverse
>2. result https://pastebin.com/BqUXJMxP
>3. Question = I somehow got it to work, but I dont even know how. I intended for this to just print the last part of an input, but it actually did it and I dont understand how

for i in text:
new_string = i+new_string

someone explain the code logic for why this returns the input in reverse for me, thanks
7 posts and 1 images omitted. Click View Thread to read.
BrU (Fixed F those comments !!WvAZa2Cl - Tue, 04 Aug 2020 13:00:10 EST gCG4yvFE No.38886 Reply

var out="dlrow olleh";

var rev="";

for(var i=out.length-1;i>=0;i--){





BrU (Fixed F those comments !!WvAZa2Cl - Tue, 04 Aug 2020 13:02:58 EST gCG4yvFE No.38887 Reply
1596560578926.png -(153347B / 149.75KB, 1366x768) Thumbnail displayed, click image for full size.
errr here is a screen shot it works grrrr...pretty well lol.

image downloader script

View Thread Reply
- Tue, 21 Jul 2020 05:39:16 EST EAbyRGHS No.38823
File: 1595324356013.jpg -(1604134B / 1.53MB, 2592x1944) Thumbnail displayed, click image for full size. image downloader script
is there a script to download images from a thread? tried using wget, but somehow it managed to get icons too and duplicated them. ik there is one for 4chan, but 420chan doesnt.
1 posts omitted. Click View Thread to read.
BrU - Mon, 03 Aug 2020 22:25:34 EST 8L0F/N3I No.38878 Reply
My website compulsivecoding.com contains an app that does this I am
pretty sure it is available in the source section also. It is written in C#. - BrU
BrU - Mon, 03 Aug 2020 22:32:27 EST 8L0F/N3I No.38879 Reply
It is not in the source section but the app worked last time I used Windows. It is a Windows application if that is a prob I have the source somewhere.
BrU - Mon, 03 Aug 2020 22:33:59 EST 8L0F/N3I No.38880 Reply
Btw I wrote the app many years ago when the 420chan API first came out.

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
3 posts omitted. Click View Thread to read.
Eliza Finderchog - Wed, 29 Jul 2020 16:14:08 EST /rq5nvb0 No.38858 Reply
Check out chuck

It's suited for most "music and programming" tasks. You can open sound files no problem, there is pitch shift, time stretch and so on. Realtime & sound file output is available as well.
You can even use midi & osc in a pinch (midi kind of sucks cuz you have to use the raw data, but it's there)

If you want something more modern and don't want to learn a new language there is something that works in JS (haven't used it)

mess up thread with html

View Thread Reply
- Wed, 06 May 2020 19:44:02 EST h5j/dk9X No.38720
File: 1588808642934.jpg -(158588B / 154.87KB, 1280x720) Thumbnail displayed, click image for full size. mess up thread with html
let's say there's a website that allows you to post html or scripts in the threads.. what is something I could post to potentially ruin the page, like placing words outside the borders or breaking the page

Or like what could i type into a website like this that could wreak havoc like a script that was unstable or maybe cause problems with the page
3 posts omitted. Click View Thread to read.
mayatemple - Sat, 09 May 2020 15:09:58 EST h5j/dk9X No.38732 Reply
What about something like this?

<marquee direction=up scrollamount=532 scrolldelay=584><marquee direction=down scrollamount=435 scrolldelay=754><marquee direction=right>haxxed</marquee></marquee><marquee scrollamount=832 scrolldelay=509>haxxed</marquee><marquee direction=up scrollamount=23>haxxed<marquee><marquee direction=right scrollamount=346><marquee direction=up scrollamount=774>haxxed</marquee></marquee></marquee>

But doing it to the whole page
mayatemple - Thu, 28 May 2020 02:06:53 EST h5j/dk9X No.38754 Reply
<marquee direction=right scrollamount=443><marquee direction=right scrollamount=443><font size=34>test</font></marquee><marquee direction=down><marquee direction=left>test</marquee><marquee direction=right><marquee scroll amount=324 scrolldelay=7><font size=87>TEST</font></marquee><marquee direction=down><marquee direction=right>test</marquee><marquee direction=up>test</marquee></marquee>
Charles Pittville - Wed, 29 Jul 2020 06:45:28 EST d+bxZkSr No.38854 Reply
How in the fuck did you get cloud out of your fucking party holy christ?

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)

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.
541 posts and 34 images omitted. Click View Thread to read.
Sidney Blatherwell - Fri, 07 Aug 2020 02:41:56 EST Z5kX4ukj No.38904 Reply

On this note, How risky is making money off of games, like steam games or MMO markets like that anon mentioned. Say you get paid in BTC, it should be easy to find brokers who can theoretically get you cash for that shit right?
Sidney Blatherwell - Fri, 07 Aug 2020 03:05:13 EST Z5kX4ukj No.38905 Reply
in the AI curriculum, are you going to finish cs019 because there is a jump, also what caused your change in direction to focus on more competitive problems like putnam or cp? I think because we need it as a base to build other skills on. You madman. I got another question regarding cs019, how do you know when to attempt the assignments? In the guide you go through 6 chapters and 2 lectures before attempting assignment 1. Docdiff, but how do you know exactly when to attempt each one, is it stated somehwere or prof K says directly when to do it or are you just backfilling and deciding when its best? ty man, you might birth a god as a result of this you know.
Oliver Mollydeck - Fri, 07 Aug 2020 03:39:47 EST SEDxuR6B No.38906 Reply
>but how do you know exactly when to attempt each one, is it
Just check the assignment dates of the 2018 course version and compare with the lecture dates.

Programming for Retards 101: Explaining to You As If You're a Child

View Thread Reply
- Fri, 19 Apr 2019 00:39:57 EST fGSblL+b No.37762
File: 1555648797142.png -(12311B / 12.02KB, 485x303) Thumbnail displayed, click image for full size. Programming for Retards 101: Explaining to You As If You're a Child
I think I might be too retarded to be a programmer. When I am given an assignment for my course work at community college I always have a hard time figuring out what needs to be done. I don't think I am that much of a failure at simple logic, but I'm not a genius so I can't figure out just what it is that I need to do. I am alright with structured programs and sometimes feel as if I excel at that but when it comes to making a bug move position in Java I am lost at the start. I cannot even form an algorithm to save my fucking life. Is there any hope that I would ever grasp everything in programming? I can't even figure out how passing methods/functions in any given language actually works. This is enough to make me contemplate suicide since this means it's one more thing that I would never excel at or one more thing that I would only excel at with the bare minimum. Who else feels this way?
56 posts and 3 images omitted. Click View Thread to read.
Eliza Senningtodge - Thu, 23 Jul 2020 19:50:31 EST sg3M8qaM No.38827 Reply
I feel like I have high functioning enthusiasm or mild Asperger syndrome and when I was younger used to love to learn to script and program stuff now as I get older in my late 20s I feel a lack of sense and wonder and overloaded with so many choices.

I do gravitate towards easier programming languages like Python and C#.

I feel that drive died for me because everything has been done except I do have ideas to make video games but realize I suck at 3D Modeling. and 3D Level design. I know UNITY and C# is a perfect match however when it comes to coding something it's a pain in ass because I have to have my ideas written down and to apply them I need to figure out how to make my own graphics. I suck at graphics design so double whammy. let's assume I can create some 2d graphics and 3d graphics. Let's assume I can design a level. than I have to implement code and figure away to make proper AI.

Knowing myself and how garbage I am at advance mathematics because of my mild learning disabilities due to my ADHD and possible mild aspergers I feel like a complete retard.
Barnaby Nupperfuck - Sat, 25 Jul 2020 13:17:21 EST x6K3CZQk No.38829 Reply
>advanced math
Nah, it's not that advanced to apply the math just looks complicated on first view. Start with a 2D game for a mobile device, then as you gain interest back in writing games you move into 3D
For example this course: http://www.cs.cornell.edu/courses/cs3152/2020sp/lectures/index.php uses Java but I don't see why you couldn't substitute Kotlin for writing Android games or whatever the pref iOS language is, or whatever language you want to use they all have similar libraries or way to interface with the same library used in that course.

Note the lecture 'Graphics: Sprites' with a link to 'affine transformations', the link there is to a guy who watched Wildberger's Linear Algebra lectures and wrote a java program to move a fish around a screen https://code.tutsplus.com/tutorials/understanding-affine-transformations-with-matrix-mathematics--active-10884

We are doing the exact same lectures in the learnaifromscratch.github.io shitty workshop thing, you can skip everything there and just start with linear algebra, because the further the lectures go on Wildberger teaches polynomials, differential calculus (curves) etc. Cornell even has a few slides about projective geometry and perspectives, with additional articles that link to how to write perspectives in 2D to make your graphics look better... and this is also all in Wildberger's lectures too https://medium.com/retronator-magazine/game-developers-guide-to-graphical-projections-with-video-game-examples-part-1-introduction-aa3d051c137d

The Cornell player behavior slides show that it's just rule based AI, using a decision tree, they set this up with FSM diagrams which are similar to the DFA lecture in the AI workshop we did where no math is needed. When character comes across rule, follow this path. This explodes in complexity so they take the FSM diagram and model it as a decision tree using model-view-controller .. all explained in the software workshop in a single lecture. Libraries already exist for this with methods built-in, you aren't constructing them from scratch.

Finally in 15-462 CMU's 3D computer graphics course you'll see things like cubic B-Splines and linear transformations in animations such as this: https://www.youtube.com/watch?v=XVTw68iHef0 and note this is lecture 25 in Wildberger's linalg series, so you would start in the Wildberger world of simple complexity free algebraic math and then progress into the abstract world of kinetics in those graphics classes to write your own 3D characters but you will already know how it all works, so it's just a matter of figuring out the notation to use the existing libraries. Research and development in 3D optimization you may even be interested in, or more advanced character AI, to me this is how I build enthusiasm, understand it at the basic level, progress to find out there are hard unsolved specific problems in that space, wonder how I can solve the problem so then motivated to research this area instead of not having a direction and feeling overloaded with choices.
Barnaby Nupperfuck - Sat, 25 Jul 2020 13:50:11 EST x6K3CZQk No.38830 Reply
*java oops meant actionscript, which is extinct but the concepts are the same.

Another simple example, Brown's 'topics in 2D engines' course shows how to use JavaFX's affine to keep track of transforms for drawing as you move around screens, this is all covered in Wildberger lectures too and easy to do. http://cs.brown.edu/courses/csci1971/lectures.shtml and if you google around Cornell has an 'advanced game design' course which is entirely mobile games, like how to create yet another tree that handles all the events going on, the best places to put event handlers for touch and release player movement, how to avoid problems with the accelerator on most devices, even more affine geometry projections.

How reliable is code.org

View Thread Reply
- Sat, 28 Dec 2019 03:50:04 EST Wc5lXrBR No.38327
File: 1577523004019.jpg -(113641B / 110.98KB, 618x907) Thumbnail displayed, click image for full size. How reliable is code.org
Hello I'm new to programming and I just wanted to ask how reliable is code.org?
Also are the website in this image good?
User is currently banned from all boards 10 posts omitted. Click View Thread to read.
Clara Tillingspear - Tue, 16 Jun 2020 14:25:22 EST D2itF4pH No.38776 Reply
Fdroid is a fork of Aptoide. Aptoide offers what fdroid does and more.
Basil Pockfuck - Tue, 16 Jun 2020 15:59:33 EST Tw1M4Zku No.38777 Reply
The client was forked. Aptoide's other offerings include a shit load of malware.
John Blashhood - Thu, 09 Jul 2020 10:07:32 EST MoXveVV3 No.38798 Reply
Implying you're not sick of jolly african-american shit yet?

Present his work to a client.

View Thread Reply
- Wed, 10 Jun 2020 20:47:14 EST AB6euoXN No.38770
File: 1591836434992.png -(139260B / 136.00KB, 500x649) Thumbnail displayed, click image for full size. Present his work to a client.
Hello, I'm new to programming and I have a few questions to ask you to get started in the professional world.
I got in touch with a client who wanted a showcase site for his blog, he sent me his models, how to show him what I did without him being able to retrieve my code.
Do I have to send him screenshots or are there ways to upload it without revealing the code?
I'm careful because he hasn't paid me yet.
Ernest Nuzzleway - Thu, 11 Jun 2020 16:40:16 EST 21Mtqpwz No.38771 Reply
if it's HTML then screenshot it
if it's Javascript you're shit out of luck, best copyright it and release the source code with a non-permissive license
if it's serverside code just give him a link you tard
Riker - Tue, 30 Jun 2020 01:41:52 EST /1arT2QE No.38788 Reply
1593495712951.jpg -(6608B / 6.45KB, 480x360) Thumbnail displayed, click image for full size.
Couldn't you just record what you're doing with VLC then maybe write some pseudo JS to explain what it is you're doing?

C Newbie

View Thread Reply
- Sat, 06 Jun 2020 21:13:58 EST NygEZFtl No.38763
File: 1591492438364.png -(76257B / 74.47KB, 1200x1276) Thumbnail displayed, click image for full size. C Newbie
I learned the basics of C and I really want to get my hands dirty. However, I try to look at GitHub repositories and they look nothing like what I learned. Any good way to learn more than basic newbie syntax? Thanks, anon
Fucking Goodville - Sun, 07 Jun 2020 05:58:27 EST gdSxk96e No.38764 Reply
C is just systems language. Download minimal OS for educational purposes https://github.com/mit-pdos/xv6-public try to add new functionalities. You can also call C from other language like python for things that need speed. I am making algotrading bot in python, i model on metatrader and chartsyone, so it should at least have GUI, and maybe own DSL. If you want you can help me with writing GUI or whatever
Jarvis Crangerstone - Sun, 07 Jun 2020 16:59:03 EST MmoLooUZ No.38765 Reply
Why do you need a GUI? Unless you're making a SaaS bot for normies, isn't it easier to keep it in the terminal?
Sophie Drirrylure - Fri, 12 Jun 2020 06:08:26 EST gdSxk96e No.38775 Reply
i want to write metatrader but for cryptocurrencies. For now i think i will go for tkinter+matplotlib, and llvm for writing embedded DSL

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
4 posts omitted. Click View Thread to read.
Simon Soblingman - Sat, 14 Sep 2019 13:37:37 EST tIjRESAS No.38024 Reply
Yeah, he should keep the field but change the greyed-out-text to "don't actually use this though"
Ernest Nuzzleway - Thu, 11 Jun 2020 16:41:25 EST 21Mtqpwz No.38772 Reply
Not too bad, just needs some style.
How is it moderated?
Any plans to add CAPTCHA?

Script-Oriented Game Design Patterns?

View Thread Reply
- Fri, 21 Feb 2020 15:01:57 EST T/9YlMHx No.38504
File: 1582315317098.jpg -(32683B / 31.92KB, 400x400) Thumbnail displayed, click image for full size. Script-Oriented Game Design Patterns?
I'm having trouble finding any good resources for how to design my game around scripts.

It's not hard to parse an XML file and get data from it. It's even easier to use Java's ScriptEngine on a JavaScript String... Heck, you can even use Java as it's own scripting language with runtime compilation/reflections.
Actually creating script files / reading the data isn't the problem I face.

Thanks to Unity's massive popularity: when I try to look up design conventions for using scripts (in games), all I get is Unity tutorials.
I'm sure there's an obscure video with 2 views on it which answer's my question, I'm skeptical YouTube's algorithm will ever deem me worthy of seeing it, however.

My question is how should I use scripts properly? How do I design my code around scripts?

My goal is to write as much of my game as possible with Scripts instead of code. I intend the actual executable to be more of an engine/interface as a go-between between my scripts and Java / the various frameworks I'm using. I am aware of the extra processing overhead scripts add, but I'll just deal with that in loading screens. Being able to add new scripts at runtime is cool but not mission-critical.

Right now it feels like I could do ANYTHING I want with scripts, and I mean... functionally speaking, yes. But that's exactly the problem. It's exactly how I felt when I first discovered a Singleton. Needless to say, if someone feels like they can do "literally anything" they want, it's a sure sign they're about to do something stupid.

Is there a set of conventions / best practices/design patterns specifically concerning an application that revolves around scripts? I have no idea where to begin.

Any reading/resources concerning Script-Oriented software design would be greatly appreciated, thanks!
6 posts and 1 images omitted. Click View Thread to read.
Cornelius Gullystone - Wed, 01 Apr 2020 15:45:41 EST S0dGIlDe No.38545 Reply

Jesus christ, I can't stop laughing at that cat.

Thanks, OP.
Ian Duckdale - Thu, 02 Apr 2020 20:36:05 EST 5B13wTGc No.38548 Reply
Scripts are still code. Maybe you meant data vs. code? Like a game which mainly consists of data and only a small amount of code?
Priscilla Pisslebid - Wed, 03 Jun 2020 13:44:57 EST Jfj/g2sp No.38762 Reply
what you're doing in java is configuration which is a component of making a scriptable engine. Java is actually an amazing language for configuration files, but that's only half of what you need for a scripting engine and java kind of sucks at the other half.

c/c++/c# tend to have very well supported set ups for being wrapped by scripting languages in such a way where the scripting language can sort of wrap the code sort of becoming the executor within its interpreter; while java has that too with jni, it's kind of ass in comparison.

Video killed the radiostar

View Thread Reply
- Sat, 30 May 2020 06:40:29 EST G9D/G2wm No.38756
File: 1590835229345.gif -(717929B / 701.10KB, 3600x1900) Thumbnail displayed, click image for full size. Video killed the radiostar
Animated gif first
Hugh Gossleford - Sat, 30 May 2020 16:00:32 EST CbByaK3u No.38757 Reply
Oh hey it's Firefox 4. Haven't seen that in a while.

Embedded systems

View Thread Reply
- Fri, 05 Jul 2019 20:13:00 EST FnW9ut/o No.37903
File: 1562371980698.jpg -(46689B / 45.59KB, 445x473) Thumbnail displayed, click image for full size. Embedded systems
Whats it like to work in embedded systems? Is it based?
Eugene Drummerfet - Fri, 05 Jul 2019 23:11:55 EST XgOrKnmP No.37908 Reply
It's the sort of thing that you either love or hate.
Edwin Wullywon - Tue, 19 May 2020 14:48:26 EST tIRCGZlj No.38744 Reply
Embedded linux dev reporting in.
Can based, but it highly depends on the company you are working for
Nigel Pengerway - Thu, 21 May 2020 01:41:20 EST SdHMybRl No.38748 Reply

Based on what?

I work on embedded a lot. I like it. Back when I did .Net and VBA I had the strong feeling that I was working on top of a leaning tower of bullshit (the C# compiler is crap, VS2018 or whatever is slow and awkward) . Now, everything that's between me and my problem is a decent editor (I like vim), a decent compiler (Clang or GCC), and you can build the project by typing make on the command line, like God intended.

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