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


Non-Updating Window

View Thread Reply
- Wed, 02 Sep 2020 19:02:48 EST Xs/GYNFy No.38956
File: 1599087768626.jpg -(1648034B / 1.57MB, 1600x1607) Thumbnail displayed, click image for full size. Non-Updating Window
I need to create this, but I'm not sure where I need to start, which is what I'm looking for. I'll be able to do it with the knowledge I have, I think, but I need to know what I'm trying to do (or Not Do, I guess.)

You know how when a window freezes in Windows, stops visually refreshing and just maintains whatever is placed over it? That's it. I just want a window that doesn't update, I think, and does that by design. I've noticed this occur in some SDL applications, like certain roguelikes, where the window will only update visually on a keypress, but I'm not sure if that's related in any way to that library.

This feels like it ought to be simple enough, so I'm hoping someone will be kind enough to point me in the right direction while I'm bumbling around trying to figure this out myself.
2 posts omitted. Click View Thread to read.
>>
Isabella Barddock - Mon, 07 Sep 2020 20:02:30 EST UPgP6ijC No.38967 Reply
>>38956
If you want to do it in a more "proper" way, you could make your window take a screenshot of the desktop, then set your windows image to the section of the screenshot that it's at.
>>
Priscilla Hizzlechun - Sat, 10 Oct 2020 21:44:56 EST QgeC+Cj1 No.39009 Reply
>>38956
Check Windows 10 Ameliorated. There is a script you can run in Linux to create what you are looking for.

Constant of chain

View Thread Reply
- Thu, 10 Sep 2020 21:50:38 EST fELRSK9p No.38972
File: 1599789038065.png -(11357B / 11.09KB, 997x375) Thumbnail displayed, click image for full size. Constant of chain
Where is the chain that isn't complete?
3 posts omitted. Click View Thread to read.
>>
Fuck Chedgegold - Mon, 14 Sep 2020 21:59:58 EST tGM99VUd No.38980 Reply
Well don't keep us in suspense. Tell us what's wrong with your shitty Visual Basic code.

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.
2 posts omitted. Click View Thread to read.
>>
BrU - Mon, 03 Aug 2020 22:32:27 EST 8L0F/N3I No.38879 Reply
>>38878
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
>>38879
Btw I wrote the app many years ago when the 420chan API first came out.
>>
Shitting Droshspear - Sun, 23 Aug 2020 09:24:59 EST 9poX9sii No.38948 Reply
>>38823
I just spent half an hour reading up on the jq tool and writing this, thank me later OP.

The script needs the board name (e.g. "prog", NOT "/prog/") and thread_number (e.g. "38823") as the first and second arguments.

https://pastebin.com/LJmvSViC

I'll paste it here as well, in case the pastebin dies for whatever reason:

#!/bin/bash
# Dependencies:
# - curl
# - jq (for JSON object processing)

if [[ "$1" == "" || "$2" == "" ]] ; then
echo usage: $0 board_name thread_number
exit 1
fi

board_name=$1
thread_no=$2
thread_url="https://api.420chan.org/$board_name/res/$thread_no.json"

echo "Downloading thread page at $thread_url"

image_names=$(curl $thread_url \
| jq '.posts|map(.filename + .ext)' \
| jq 'map(select(. != null))' \
| jq -r 'join("\n")')

image_fmt="https://boards.420chan.org/%s/src/%s"

download_folder="420chan_thread_$thread_no"

test -d $download_folder || mkdir $download_folder

for image_name in $image_names; do
image_url="$(printf $image_fmt $board_name $image_name)"
echo "Downloading $image_url..."
Comment too long. Click here to view the full text.

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?
8 posts omitted. Click View Thread to read.
>>
Ebenezer Sanningnun - Sat, 15 Aug 2020 20:42:16 EST Kp6JJW/x No.38931 Reply
>>38923
That's pretty cool man. I am an electronics technician right now but am probably going to be changing jobs soon and or go to school for electrical engineering. I'm about to start making Arduino projects and am learning python.

I'd really like to make a portfolio of sorts to showcase the abilities I have considering I have no professional experience in the production/engineering field just technician work. Would you have any recommendations or directions for me?
>>
Lydia Penningford - Tue, 18 Aug 2020 17:25:41 EST wvnnNh5T No.38935 Reply
>>38931
If you're interested in learning embedded programming, knowing C is invaluable. Probably worth learning a simple assembly language too (6502 or PDP-11 are examples of old CPUs that have simple enough assembly languages that you can understand without studying for months).

As for what kind of project? Something you find interesting and easy to explain. I saw someone make some LEDs for his fishtank that look like lightning or sunshine or overcast or whatever the weather is outside. Maybe you want to make a robot that can sweep your floors. Or home automation. But it should be something that takes your fancy and which you can learn something from
>>
Martha Buzzwill - Thu, 20 Aug 2020 18:53:02 EST Kp6JJW/x No.38938 Reply
>>38935
Thanks I'll look into C. I was planning on working with python and an EMG for reading nerve signals. Ideally he goal is to work on subvocalization to text but I would be happy with gestures translated into some script.

https://www.youtube.com/watch?v=RuUSc53Xpeg

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
>>38889
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
<script>

var out="dlrow olleh";

var rev="";

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

rev+=out;

alert(rev);

}

alert(rev);

</script>
>>
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.

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
>>38109
Check out chuck
https://chuck.cs.princeton.edu/

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)
https://tonejs.github.io/

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
User is currently banned from all boards 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
User is currently banned from all boards
>>
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>
User is currently banned from all boards
>>
Charles Pittville - Wed, 29 Jul 2020 06:45:28 EST d+bxZkSr No.38854 Reply
>>38731
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)
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.
611 posts and 40 images omitted. Click View Thread to read.
>>
Biggus Dickus - Sun, 29 Nov 2020 13:13:01 EST q7Paruo2 No.39116 Reply
>>38997
There is a discord created by random anons. You can come there
>>
Walter Haddlefoot - Fri, 25 Jun 2021 20:48:53 EST IhpqrXQm No.39620 Reply
>>39117
bump, I stopped following this cirriculum but I'm getting back into it. awesome thread

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
>>38770
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
>>38763
>>38763
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
>>38764
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
>>38765
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
>>38023
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
>>37484
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
>>38504

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

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