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)

strive

View Thread Reply
- Fri, 12 Oct 2018 15:27:04 EST SucWrrPP No.37661
File: 1539372424993.jpg -(240850B / 235.21KB, 1200x1600) Thumbnail displayed, click image for full size. strive
I've been getting caught up in other shit letting a lot of my programs fall apart. Last thing I worked on actually won me a Hackathon but its like my programming urge died after I won that hackathon. Actually had a mini breakdown on my way back from the East Coast. Anyways, here's a motivational phrase that got me back into programming though I think i'm going to sign up for a programming class regardless instead of working and learning alone

Ad altiora tendo ad abitrium

It means I Strive Towards Higher Things, At will, At Pleasure

Good luck with your programs everyone,
>>
Archie Foggleham - Fri, 12 Oct 2018 15:29:59 EST SucWrrPP No.37662 Reply
And if you ever start feeling down
Think Habromania
It's about having g a happiness so pure that you could be sent to an insane asylum for being happy. Helps me when working on those programs that are hundreds of lines long but one apostrophe somewhere in it is breaking the whole damn code.
>>
Edward Dengerhood - Fri, 02 Nov 2018 21:36:55 EST piJX9PN/ No.37673 Reply
>>37662
I find negative reinforcement can help too in a pinch to get you through a project you really don't want to do. Count your blessings and try and remember why you are there, for me it's the fact 60% of my tuition is covered for me and I have good ass job so I'm not broke like many of peers who are struggling worse than me (some of these mother fuckers have kids) It kind of guilts you into getting your shit together and busting it out.

/STEM/

View Thread Reply
- Thu, 01 Nov 2018 23:22:58 EST ngnnEvwk No.37671
File: 1541128978819.jpg -(13485B / 13.17KB, 236x295) Thumbnail displayed, click image for full size. /STEM/
Slow board, maybe we should have /stem/
>>>/420/247062
>>
Edwin Smallford - Fri, 02 Nov 2018 18:36:28 EST rob0KirY No.37672 Reply
You would realize the folly of your ways the first time you saw the name Stemlion.

Floating Point Numbers

View Thread Reply
- Tue, 31 Jul 2018 18:41:40 EST JrM6mJRf No.37608
File: 1533076900708.jpg -(6453B / 6.30KB, 188x250) Thumbnail displayed, click image for full size. Floating Point Numbers
can someone explain wtf Floating Point Numbers are?
1 posts omitted. Click View Thread to read.
>>
Jenny Dartdock - Thu, 02 Aug 2018 01:58:27 EST Xm/W+3lL No.37610 Reply
>>37609
Well...kinda.

The IEEE754 floating-point standard that pretty much everyone uses was created with the goal of being able to re-use many per-existing hardware pieces, and you'll find that some of the integer hardware still works on it (equality, sign bits, zero, and addition, subtraction, less-than, and greater-than are all mostly compatible), however new hardware was required for it (such as hardware that handles floating point exceptions, denormal numbers, infinities and NaNs).

However, as it turns out different pieces of hardware handle floating point numbers differently. GPUs, for instance, get to follow most of the rules of the spec while ignoring some other rules that allow them to accelerate their hardware greatly while still remaining mostly compatible:
https://docs.microsoft.com/en-us/windows/desktop/direct3d10/d3d10-graphics-programming-guide-resources-float-rules
>>
Jenny Fuckingcocke - Thu, 01 Nov 2018 03:05:45 EST E/AtBUMC No.37667 Reply
A floating point number is of course bits in memory.
The first bit is the sign bit. 0 means the number is negative, 1 means the number is positive. Note that this is the opposite from how negative integers are usually represented in binary (two's complement).

Next after the sign comes the exponent. it's either 8 or 11 bits long depending on if the floating point is a float or a double (32 or 64 bits in total).
This exponent is biased, which means there is an implicit value that is subtracted from the unsigned binary integer value the exponent has. For 32 bit floats the bias is IIRC -127, so an exponent of 00000001 (binary) is
-126, 10000000 binary is 1 etc. the exponent shouldn't have an exponent value of all 0s or 1s, those are for denoting special cases such as NaN, infinities and other stuff.

The last part is the significand. This is somewhat like your normal integer value: Each bit on the left means double the value of the bit on the right. The difference is that the leftmost bit means value 0.5, the next is 0.25 etc.
Also an implicit 1 is added (another bias if you will). Knowing some math you know that the significand value is always between 1 (included) and 2 (excluded).

Finally the value of the floating point number is
(-1)^sign * 2^exponent * significand.

The sign part is just mathematical notation "if sign is 1, then negative, otherwise positive". Remember the biases in exponent and significand.

So a

0 10000010 11010000000000000000000 would be

sign: positive
exponent: 128+2 -127 = 3
significand: 0.5 + 0.25 + 0.0625 = 0.8125

and the final value: 2^3 * 0.8125 = 6.5

want to build program/not a programmer help plz

View Thread Reply
- Mon, 10 Sep 2018 00:02:56 EST 8n5k8z4E No.37636
File: 1536552176083.jpg -(662910B / 647.37KB, 2560x1600) Thumbnail displayed, click image for full size. want to build program/not a programmer help plz
I am not a programmer so sorry for sounding like an idiot but


I want to build a thing that constantly searches the web for articles or information using keywords and I want to be able to keep it running and have it save the links or data to a file, I want to be able to tweak it too, so I can fix it over time and hone in on what I really want



What language/s would I need to do this? I think its a good first project anyway
thanks prog/ u real
>>
Doris Drummerbare - Mon, 10 Sep 2018 01:20:12 EST Xm/W+3lL No.37637 Reply
Start by taking a look at the Bing or Google REST query APIs, then figure out how to do a single search using one of them and save the results.
>>
Eliza Henkinmad - Tue, 02 Oct 2018 04:52:54 EST hT1UzTKo No.37657 Reply
>>37636

What you think you want and what you actually want are two different things.

What you actually want is to set up Google Alerts. No programming required. As it should be.

Don’t fall for the trap thinking that you need to write code when you don’t.

Suggest me the best learning path for being a god tier programmer

View Thread Reply
- Mon, 06 Aug 2018 16:47:01 EST klbnD+vf No.37620
File: 1533588421392.gif -(549026B / 536.16KB, 800x792) Thumbnail displayed, click image for full size. Suggest me the best learning path for being a god tier programmer
Help me out /prog/ros. I just finished high school and want to start learning programming. I want to be a good tier programmer. What learning path and resources would you anons suggest me to follow? I am thinking about taking harvard cs50 course on edx for now. What would you suggest??
>inb4 learn lisp first
No, i want to learn something useful
1 posts omitted. Click View Thread to read.
>>
Hugh Dongerstock - Tue, 07 Aug 2018 02:37:35 EST Xm/W+3lL No.37623 Reply
>>37621
Agreed. You should learn by doing.

Fair warning: This is a path forged in tears and blood, and there will be many more failures than successes. It never ends. The only way to proceed forwards is to develop the willpower to keep learning and improving yourself and trying new things.
>>
Matilda Wonkinstock - Thu, 09 Aug 2018 16:37:00 EST vKYETtkX No.37625 Reply
1533847020836.jpg -(21505B / 21.00KB, 206x300) Thumbnail displayed, click image for full size.
>>37620
Read the sicp. Use DrRacket in legacy mode (plt-r5rs) to run the exercises. You'll start off doing basic arithmetic and eventually write a virtual machine in scheme (which is basically diet lisp). At that point you will know more about programming than most CS undergrads.

And the book won't just teach you scheme. You'll learn most of the basic patterns for building complex programs and how to create analogous structures in any language.
>>
Fuck Mizzlelutch - Sat, 11 Aug 2018 03:22:23 EST Xm/W+3lL No.37626 Reply
>>37623
I find that "useful" is subjective and so is "interesting", but I think if you can find some projects that combine what you think is useful and what you think is interesting that you'll know you have some good projects to work on.

customizable imageboard software

View Thread Reply
- Thu, 02 Aug 2018 19:03:53 EST MI6z0bXg No.37612
File: 1533251033126.jpg -(64952B / 63.43KB, 796x610) Thumbnail displayed, click image for full size. customizable imageboard software
Hi, I was hoping you could point me to some reliable repos for imageboard templates.

I'm looking to experiment with the sourcecode of something like the future or stormfront. Ideally I would like to be able to add in a couple UX elements, tweak the identity management, add sections to the website, and eventually alter the backend infrastructure.

Any help is greatly appreciated.

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
>>37618
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
>>37601
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.

http://prntscr.com/kbj3zs

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
>>37604

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
>>37603
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
>>37248
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
>>37595
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?

https://en.m.wikipedia.org/wiki/Generative_adversarial_network
>>
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
>>37593
I feel like people who are *really* worried about AI don't have a complete-enough understanding of the current state of AI research.

Hax

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!

-࿙≬⚜࿇࿆៵ᩝᩦ᩼P᪷᭳ᮥeᮬ᮫᮫᮫᮫᮫᮫᮫ᮭᯭȑᰱc᪳᭳їν᪳᭳ᯭaᮬᮭl᪷᭳ᮥ៵ᩝᩦ᩼࿇࿆⚜≬࿚
1 posts omitted. Click View Thread to read.
>>
Clara Dartlock - Tue, 24 Apr 2018 15:09:52 EST e23ty+oc No.37517 Reply
>>37489
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

http://www.ci.eau-claire.wi.us/departments/police-department

http://www.co.eau-claire.wi.us/

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

javascript

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

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

http://thedoomthatcametopuppet.tumblr.com/?

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.

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