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


Prospect of coding.

View Thread Reply
- Thu, 02 Aug 2018 04:56:46 EST QToMTCvG No.37611
File: 1533200206974.gif -(12890B / 12.59KB, 240x256) Thumbnail displayed, click image for full size. Prospect of coding.
I am from an animation and design background. I have a long-term app project in mind but I'm almost a total beginner. I am literate enough to read Java the best.

I am currently reading a C# book which claims to teach good general programming but the format of the book is very slow. This might sound precocious but I am eager to jump into writing a functional app ASAP. I'm essentially trying to create my own day planner with task setting, tracking and completion.

I'm not looking for pointers towards this straight away, but which language is best to start in, and which exercises are most beneficial? Sorry if my neophyte garble annoyed anyone.
Clara Shakewater - Sat, 04 Aug 2018 04:16:29 EST ree/G05p No.37618 Reply
1533370589393.jpg -(12051B / 11.77KB, 234x216) Thumbnail displayed, click image for full size.
learn the logic, everything else comes in time.

search up logic books and pseudocode stuff. this is more important than syntax of each language, everything works based on the flowcharts and pseudocode anyways.
Nigel Memmerpat - Sat, 04 Aug 2018 18:20:54 EST QToMTCvG No.37619 Reply
thx, this sounds like the common theme of learning code, regardless of language preferred.

Need a Custom Program/Plug-in/whatever

View Thread Reply
!cyBOrG7t12 - Thu, 26 Jul 2018 19:44:08 EST h2ta1JXJ No.37597
File: 1532648648448.jpg -(208095B / 203.22KB, 944x921) Thumbnail displayed, click image for full size. Need a Custom Program/Plug-in/whatever
I've been using an electronic drum kit to my drums in Ableton Live, but Ableton's default drum rack, while still being the best for what I need, doesn't do everything I need it to. But all the other drum VSTs I can find are even farther away from what I need. The task seems to be bigger than the one friend I have who can program things so I'm wondering who I should ask. Where (IRL or online) and how would I go about finding a professional who could make a custom VST? And how much should I expect to have to pay? I can share more details on what I need if there's anyone who can answer this for me, or on the off chance that someone here would be interested in the task.
Jenny Brablingdock - Thu, 26 Jul 2018 21:45:49 EST Xm/W+3lL No.37601 Reply
I am not an audio expert, so I can't really speak to the audio-specifics of your request. But from my brief research it looks like you need a VST plugin to be authored (probably a VST 2.0 plugin, since they are more compatible with more software than VST 1.0 or VST 3.0 plugins). Steinberg released the VST plugin specification so that people can author their own VST plugins, and also so that various sound and music tools can integrate VST plugins. Typically these plugins are authored in C++ (as on Windows they are basically just DLL files).

I think that if you want to find someone who can make your electronic drum kit do all the things you want it to do, that you'll probably have to talk with an audio engineer (who knows C++) and find out from them what they think it'll take. This will probably depend heavily upon what features you want it to have that you don't already have access to. I don't know what the going "rate" is for purchasing plugins generally, so I cannot assess a price.
Therm0ptic !cyBOrG7t12 - Fri, 27 Jul 2018 11:59:40 EST szx3VRSt No.37607 Reply
That's actually helpful, now I at least know where to start. Thanks.

Getting glew to work on windows in codeblocks

View Thread Reply
- Thu, 26 Jul 2018 20:44:01 EST u5b/OYZE No.37598
File: 1532652241078.gif -(633689B / 618.84KB, 474x266) Thumbnail displayed, click image for full size. Getting glew to work on windows in codeblocks
I have a question about something not working in my coding. Normally in these situations this calls for throwing out some easy answers with a healthy dose of derision and scorn.

One: What must i do to convince you that i have tried my best to solve this before coming to you?

Two: I request someone to walk me through the solution to this problem like a parent dragging a young child through a busy city street. I have worked at this for so long, that i am starting to lose confidence i ever knew anything at all, and i consider it fully possible that i am missing something on the level of "Is the cord plugged in?"

Okay, here's the problem. I am learning openGL. I am using this website to do it: https://learnopengl.com/, i am currently walking through their 2D game tutorial shown here: https://learnopengl.com/In-Practice/2D-Game/Setting-up and i cannot, for the life of me, get glew to work.
I am on windows. I am using codeblocks. When i do everything i know should work, i get a shit load of undefined reference errors.


That says to me that i am somehow linking to the glew library wrong. But i have been trying fookin' EVERYTHING. Literal days. Possibly months, because this isn't the first time i've tried to tackle this - i think i gave up on codeblocks last time and just used visual studio, because for some reason that works easier - but i don't know why and that's terrible for learning.

When i DONT use glew, i can make openGL programs just fine. Hell, given how much time i've invested in this, and how it's likely that there is NO solution known to god or man, i'm probably better off just figuring out what the tutorial is trying to do and figure out how to translate it OUT of glew than get glew to work. But the fact that it SHOULD work and i can't get it to is making my brains leak out of my HEAD.

So if you believe me that i wouldn't be asking you if i could find a (WORKING)solution anywhere on google, or glew's support pages, or shit like that. Please please please tell me how to fucking do this.
4 posts omitted. Click View Thread to read.
Angus Diblingson - Thu, 26 Jul 2018 23:56:35 EST +i3Wkb0r No.37604 Reply
>It basically seems that EVERYTHING IN THE WEEERLD is designed with the notion in mind that codeblocks is only for non-windows systems, and windows systems should only be using visual studio.

I have no idea how to build things on Windows except with MSYS2, which Google says you can use to build GLEW.
Oliver Shittingstone - Fri, 27 Jul 2018 00:17:18 EST u5b/OYZE No.37605 Reply

Okay, but will that create lib files, or files intended to be used on windows systems, or will it create a files, or files intended to be used on unix systems?
Jenny Brablingdock - Fri, 27 Jul 2018 03:30:47 EST Xm/W+3lL No.37606 Reply
You could try using the mingw compiler directly from the command-line to compile and link your code. Alternatively, you could try using Clang from the command-line to compile and link your code.

Both of these should work on Windows (provided you make sure to download the version of Clang that builds on Windows for Windows, as opposed to the version of Clang that builds on Windows for Linux).

C++ Templates beyound trivial stuff

View Thread Reply
- Sat, 02 Dec 2017 15:40:10 EST 9QSfnS0r No.37248
File: 1512247210926.jpg -(155896B / 152.24KB, 977x1488) Thumbnail displayed, click image for full size. C++ Templates beyound trivial stuff
What's the deal with C++ templates?
I'm looking for explanatory videos on it that is reasonably well produced
(not some enthusiastic dude rambling to a screen recording)

Doesn't have to be a video though if it's well written. All explanations I've found so far don't give me any reason of why to use them at all (instead for instance method overloading)

Some time I'd need to for instance loads of static data that I could define by hand but still would like to take advantage of encapsulating things that resemble state machines in classes.
I use C++ for microcontrollers, never on a PC and some times access to hardware can't be done inside a class the straight forward way, like storing pointers to a hardware pin, timer register, etc... inside anything non-static.
3 posts omitted. Click View Thread to read.
Graham Gublingwidge - Wed, 21 Mar 2018 05:04:05 EST 22oSMVrj No.37481 Reply
You can do a lot more with templates than just generic types like some noobs would say. There is a famous book on templates called C++ Templates: The Complete Guide. You can find the first edition easily and I have also found the second edition online for free but it seems to have been taken down by now.
Basil Smallwell - Thu, 26 Jul 2018 02:13:08 EST Xm/W+3lL No.37596 Reply
I think you might be in the wrong forum?

AI Satan?

View Thread Reply
!!g+bfTRCd - Wed, 11 Jul 2018 16:05:36 EST kvfz84tr No.37573
File: 1531339536884.png -(463819B / 452.95KB, 750x1334) Thumbnail displayed, click image for full size. AI Satan?
What is your theory on unsupervised machine learning and the Satan of the book of Revelation?

Priscilla Baffingway - Thu, 12 Jul 2018 13:29:33 EST 9QSfnS0r No.37574 Reply
The crux of the matter is if you want to get the interesting stuff you basically have to break into some system to get training data. (Or risk your job and get it from your employer.)
Of course it might turn out that your employer is into it...
Never think google didn't use all our phone conversations to train their personal assistant / hair salon calling bot.
Ernest Dremmleridge - Mon, 23 Jul 2018 21:34:09 EST NSMifvri No.37593 Reply
But what about the unsupervised AI? Singularity anyone? Bad move.
Ernest Climmerfoot - Tue, 24 Jul 2018 03:13:56 EST Xm/W+3lL No.37594 Reply
I feel like people who are *really* worried about AI don't have a complete-enough understanding of the current state of AI research.


View Thread Reply
- Sat, 31 Mar 2018 16:15:54 EST W1v5J6Mb No.37489
File: 1522527354600.png -(135420B / 132.25KB, 720x1280) Thumbnail displayed, click image for full size. Hax
Hello, we are a grey and blackhat hacking group called Go7nSec (Guardians Of 7he Net security) we are an equality hacktivist group we also have an interest in anti-government, we also strongly enforce the idea "take from the rich give to the poor" and we are currently recruiting for people who are professional in hacking, programing, cryptography, and stegnography. We operate on kik for new memmbers (#404blacklist ). Send a list of your skills, why you want to join, any other serious hacking groups/people your associated with in the group above. we will reveiw your submission. If you do not get a reply in 1 week you have not been accepted. We look forward to seeing you during our operations!

1 posts omitted. Click View Thread to read.
Clara Dartlock - Tue, 24 Apr 2018 15:09:52 EST e23ty+oc No.37517 Reply
than go ahead and proof it first
nobody will take you serious acting like that
one ho cares - Thu, 05 Jul 2018 18:34:34 EST UGnxEU7A No.37572 Reply
HELO Go7nSec i am a nameless subject i was part of the i one project i am in need of sum help

the eau clair police depart meant is raping people like the old police of long a go

hear is the web site of the police depart mint i am in need of help with my project



i have fowned i am a anotimas and hope to to put any blackhat hacking group called Go7nSec

will not care ples help cuz they rape in thare box's ware thay pun people they all so

pinch with out warrants which is a legal and thy now beater then that all ready i am calling

anomas to remember the feats long a go this police men har rapist will not bet us all

i am ril anomos part of the i on project this is a new misson starting hear pleas help bet

this raper take to the fare corners of the earth we must raly ase one to bet this

pinch er as legann we are meany thanks


View Thread Reply
- Sat, 12 May 2018 20:10:25 EST r5si74OP No.37533
File: 1526170225292.png -(863168B / 842.94KB, 1452x2208) Thumbnail displayed, click image for full size. javascript
just sharing this enjoyable picture image with a text post
5 posts and 2 images omitted. Click View Thread to read.
Hannah Ballyspear - Sat, 02 Jun 2018 10:09:46 EST 9QSfnS0r No.37555 Reply
That said I don't use the equality operator in most cases.

Where type coercion is useful are (sadly neeccesary santiy checks like)

if (thing && otherthing && thing[otherthing] && thing[otherthing].value ) {
// use thing[otherthing].value
Angus Clommermud - Tue, 26 Jun 2018 16:05:30 EST lP7MCiRB No.37570 Reply
Just sharing this enjoyable link of a Markov chain trained on the Puppet documentation and the assorted works of H. P. Lovecraft.

“At length they emerged on a muddy road to find the server, how to authenticate to it, and more.”


I love u 420

View Thread Reply
- Tue, 19 Jun 2018 15:25:31 EST 8n5k8z4E No.37563
File: 1529436331824.png -(3114040B / 2.97MB, 1300x1370) Thumbnail displayed, click image for full size. I love u 420
Soi don't know much about programming
I've been using computers since I was basically born and remember rainbow logo macINTOSH computers when're that was a thing
I've decided I'd like a career change

I want to eventually deal with AI or Cybersecurity
And by AI I am pretty certain I mean a type of machine learning where you build a "neural net"
I think thats like the predominant thing in that field right now
Im really interested in for lack of a better term "future tech" like bioengineering and anything that has to do with the human body and tech kinda "merging" in any sort of way
I've always really been so interested in the way networks and computers interact which is why cybersecurity is another thing Im really starting to look into, I think computer forensics falls into that category tooI guess that involves "hacking" to an extent to understand how to attack/infiltrate a system?

I'd like to learn on my own and slowly build a kinda portfolio and eventually when I think I'm good enough try and contribute to any ongoing projects or something, to gain "clout'
(really more like rub shoulders with people who can help me later haha.)

But before all that I'd really like help figuring out the best avenues of action from you guys hence this post and all that.

Im in-between cyber security or AI
I also have a buddy thats die hard for blockchain tech and while I'm not a bitcoin radical, I do know a lot of money is pouring into the blockchain engineer space
so that is also something that might be interesting.

I'd appreciate some well thought answers, I always ask 420chan for advice like this, I just love you so much you know?
Sorry guys, Im all on drugs and introspective and wish I had a dad but ANYWAY like I was saying, those all sound interesting for me and my question is what languages would help me the most to do those right now assuming I know nothing?

I think over time its important to learn a lot of languages for different reasons so its really hard to have a definitive "BEST porgramming language to know EVER" but what would you think are the best
languages for a novice to learn are? For cybersec or ai?
Oliver Mazzleman - Tue, 19 Jun 2018 22:22:15 EST 2qXrTEql No.37564 Reply
Python is both the lingua franca of AI and frequently recommended to infosec people. It's not without its problems, but unless you have very specific constraints you have to worry about it's generally a good choice for any project.

Hello WordPad

View Thread Reply
- Sat, 16 Jun 2018 12:27:34 EST lP7MCiRB No.37558
File: 1529166454438.png -(48735B / 47.59KB, 960x1039) Thumbnail displayed, click image for full size. Hello WordPad
I'm learning to code but any ideas I come up with are too big / complex for my current skill level.
If you could order me to make a small shitpost toy program I'd be very happy.
Make me code, daddy
1 posts omitted. Click View Thread to read.
Phyllis Brushcocke - Sat, 16 Jun 2018 16:53:25 EST Xm/W+3lL No.37560 Reply
Why don't you try to make a small text-editor program, like Notepad or Wordpad?
Hamilton Cucklestone - Sat, 16 Jun 2018 20:57:02 EST lP7MCiRB No.37561 Reply
I appreciate it!
Might actually combine, my editor of choice [Textadept] is purposefully small sourced at 6k LOC total, maybe I'll try to remake it in Common Lisp. Still kinda a larger project than I was going for, but since I have something to work from it might work. Kinda like a pixie emacs in CL instead of eLisp without all of those features.

And then integrate a text adventure right into the editor, cause emacs
Telvanni Bug Musk - Tue, 19 Jun 2018 11:15:33 EST lP7MCiRB No.37562 Reply
Clarifying, by combining I meant that then I actually have a reason to read through some real source, I've known that I should but I never get around to read just for readings sake. Doing it for a reason (rewriting) gives cause.

Going in I realized I have no idea where to even begin. There's loads of source files and I've no idea which one to start reading in. I'm pushing on though.

Fuck learning all this shit

View Thread Reply
- Sun, 07 Jan 2018 23:01:24 EST EOzYeBa9 No.37259
File: 1515384084027.jpg -(24595B / 24.02KB, 340x451) Thumbnail displayed, click image for full size. Fuck learning all this shit
I wish I could know how to code without having to learn it.
7 posts omitted. Click View Thread to read.
Henry Nendersot - Tue, 27 Feb 2018 01:00:25 EST BW3MomrQ No.37455 Reply
Maybe programming isn't for you then. It sounds like you have a penchant for maths though, so that's good.
David Dartham - Tue, 27 Feb 2018 14:03:31 EST 1j8iF08r No.37456 Reply
Programming is a craft. If all you've ever done is toy CS programming then of course you can't make anything. Try a software engineering course or apply for Google Summer of Code or just look at some small open source applications. Also a lot of CS people can't write software to save their lives, so don't sweat that.
Shit Fanfield - Fri, 01 Jun 2018 20:07:15 EST +t8dQYkO No.37551 Reply
Me recuerda a la película hete

C++ Design: Too Many Arguments!!

View Thread Reply
- Sat, 12 May 2018 13:28:25 EST ooXJl0td No.37530
File: 1526146105683.jpg -(970836B / 948.08KB, 3048x2432) Thumbnail displayed, click image for full size. C++ Design: Too Many Arguments!!
Hi guys and gals,
My C++ program (a roguelike game with lots of lists) is becoming pretty large. As I try to clean things up, I’m noticing I’m creating huge ass functions with many arguments (since I’m passing so much data sets around).

I think I’m pretty meticulous about keeping track of everything, so it’s not that I’m running out of computer memory, it’s just the code is impossibly long and ugly. Is it normal to have functions with 10+ pointers to different datasets, etc.?? Or am I dokng somethig wrong - any idea how to fix it?

Id love to hear your ideas!!
9 posts omitted. Click View Thread to read.
Esther Pullerforth - Mon, 21 May 2018 02:44:25 EST Xm/W+3lL No.37545 Reply
I personally find lambda function usage in C++ more complicated than standard explicit named function usage most of the time.
Hedda Turveywater - Mon, 21 May 2018 15:20:05 EST +joVuqaF No.37546 Reply
The lambda expression comes in handy for partial application because you can't nest standard functions in C++. Plus, if the lambda is only meant to be a helper for one particular function, you wouldn't want it to pollute the global name space anyway.
Phyllis Dunnerbudging - Wed, 23 May 2018 11:09:54 EST De9RwqWL No.37547 Reply
Yes, roguelike games have many pointers to different datasets like: character attributes, monsters, spells, potions, locations.
And the routines can be very very long, especially the case statements covering all possibilities.

In contrast to what others say, generally do not split routines into smaller functions if there is only one caller. Otherwise you will be scrolling all over the place and making a bigger out-of-context mess than you can imagine.

What you should do is avoid global variables. Collect them all into a larger struct and pass that along as a pointer to a 'global dataset'.

Look into nethack and ularn for comparison.

Mini multiplayer server instance

View Thread Reply
- Tue, 08 May 2018 12:02:54 EST S/rykYgn No.37528
File: 1525795374104.gif -(562047B / 548.87KB, 200x200) Thumbnail displayed, click image for full size. Mini multiplayer server instance
This is a hard question to explain because English is not my first language.

I have a game coded with socket.io that uses a persistent world. When a player clicks play, he enters the world and can manipulate it like singleplayer Minecraft. However, many other users can access the server at the same time and modify the world so that the first player sees modification, but none of the players can see each other. All enemies, bullets, etc are only for each individual player. Players only can see world modifications of other players.

I want to make it so groups of 2 players can player simultaneously. So these 2 players can see each other as well as world modifications of all other players. Would I just have to have multiple servers? I want to just use the 1 server to let groups of 2 players to play the game like how solo players play the game now. I can't afford to host many small servers.
Sidney Surringwock - Fri, 11 May 2018 01:19:59 EST Xm/W+3lL No.37529 Reply
Since your game is like Minecraft, you could simply have one very large procedurally generated world that was so big that it's highly unlikely that any group of 2 players would ever run into one of their neighboring groups of players.


View Thread Reply
- Mon, 09 Apr 2018 09:00:46 EST 9B4LusOJ No.37498
File: 1523278846948.jpg -(24430B / 23.86KB, 576x768) Thumbnail displayed, click image for full size. C++
I'm looking for something a bit like std::map, except that I don't care about a <key, value> pair; I just want to be able to say to the thing, "here, keep this integer". And "hey, have you got that integer, yes or no?"

Something tells me a hashmap isn't the right tool for the job, but I can't seem to figure out what is. Any ideas?
2 posts omitted. Click View Thread to read.
Shitting Gumbleman - Sun, 06 May 2018 03:33:29 EST Xm/W+3lL No.37527 Reply
If all you care about is "could this item potentially be in this set?", then you might want to look into using a Bloom filter datastructure (not the kind used in graphics, but the other kind used in general computer science).

C++ from Java

View Thread Reply
- Mon, 30 Apr 2018 11:44:50 EST uuXCv622 No.37523
File: 1525103090443.jpg -(131910B / 128.82KB, 900x750) Thumbnail displayed, click image for full size. C++ from Java
Alright boys, I just finished my first year of Applied Computer Science, we were taught Java extensively and had one class on VB in the second semester (god I hope I never have to work with that) Anyways, apparently next year we continue on the programming concepts we learned expanding into things like multi-threading which we haven't learnt yet, except we switch to C++. The thing is, we don't actually get taught C++, we're just taught IN C++. The advice from the second years I got was teach yourself C++ over the summer and that will be the easiest class you take next year, otherwise it will be the hardest. So, what resources could you recommend to make that transition? What are specific Java-to-C++ quirks I might need to know?
Fucking Wublingbanks - Mon, 30 Apr 2018 18:38:08 EST jPnU+Gop No.37524 Reply
Download and spend a weekend on A Tour of C++. Then make a toy project to feel out your compiler and workflow. You'll be way ahead of the curve.
Phyllis Gingerway - Wed, 02 May 2018 02:36:17 EST Xm/W+3lL No.37525 Reply
Learning C++ without learning C might be the largest part of the hurdle for you. Otherwise, many of the object-oriented paradigms of Java carry over into C++. For a very high-level view, read Wikipedia's entry on the differences and similarities between C++ and Java:

Also the sooner you download Visual Studio (it's free now, so there's no excuses!) and learn how to use an interactive debugger, the better off your entire life will be.

There are some large differences that you'll have to learn between the languages. Most of them fall under the category of "things Java does for you that C++ makes you do manually". Things like this include:
  • Memory management. Garbage collection is *not* a thing in C or C++, so you have to manage the creation and deletion of your objects manually (using new/delete or malloc/free or placing the objects on the stack as automatic variables).
  • Pointers, references, and by-value passing of variables. This is pretty important in C and C++ (C doesn't support references). Pointers are a new concept of a variable that can "point" to arbitrary locations in memory (or to "null"). References are really just pointers with a nicer syntax that can only point to one thing. So much stuff in C/C++ is pointers and this is a really important language concept, so make sure to try to learn it well!
  • Strings are not really a built-in type. You can use std::string for ease of use, but you really should get comfortable with C-strings (character arrays or char*).
  • Operator overloading is possible in C++. This is not necessarily a required feature, but the ability to redefine operators is useful for various purposes.
  • "const" is a special keyword in C and C++ and it marks a variable as being non-modifiable after the first time it is written. This is a lot like Java's "final" keyword for variables.
  • The built-in types are mostly the same: short, int, float, and double all mean the same things between the two languages. Also both languages have a type for boolean logic ("bool" in C/C++ and "boolean" in Java). C/C++ also support "unsigned" versions of the integer types, namely "unsigned short", "unsigned int" (which is the same thing as just "unsigned"), and "unsigned long". These unsigned variables let you re-use the sign-bit as another data bit, thus doubling the possible range of values (but not allowing you to represent values less than 0).

Helpful tips:
  • Try to compile with the highest warning level your compiler will let you use. This will help you find all of the problem areas in your code before you even run it.
  • Ask people for help early and often if you get stuck. C/C++ is pretty complicated and nuanced and often hearing an alternate explanation will help you get a fresh perspective on why and how things work.

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