[ / / / / / / / / / / / / / ] [ dir / animu / arepa / asmr / chaos / fascist / fast / tacos / vg ]

/prog/ - Programming

Programming board

Catalog   Archive

Winner of the 45rd Attention-Hungry Games
/s/ - Make 3D Great Again

Name
Email
Subject
Comment *
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options


152758 No.5134[Reply]

Discuss and share C++ related talks here. All early and later standards are welcome.

16 posts omitted. Click reply to view.

6d1bbc No.5181

>>5180

>Why does the "greatest language in history" have pointers _and_ references?

You can't reassign a reference.

>C array, std::array, _and_ std::vector?

C array for C compatibility. std::array is stored on the stack.

>No algebraic data types?

There are. It depends which ones you want. You have std::variant in c++17 for sum types, but pattern matching admittedly still sucks, depending on operator overloading. If you want something better in this field, Rust or D are better choices.

>No GC?

Bit every language needs GC. We still have a need for non-GC languages and C++ is a part of that set for a reason.

>A compilation model from the 1970's which to this day limits the way you structure your code, and required header guards?

This does suck. It's that way because of history. Modules will make it better, whenever the fuck they finally land.

>A context-sensitive, undecidable grammar which makes it impossible to write a compiler that is not slow as molasses?

History. C++ parsing sucks because of decades of old shit that isn't needed anymore and a template language that's a convoluted mess.

>Incomprehensible template errors when you miss something as trivial as a semicolon?

Clang does better than g++ here.

>No standard networking library?

On the way eventually.

>The very concept of rvalue references, perfect forwarding, and RVO which no other language has to worry about?

Historical shit.

>Two separate attempts at implementing smart pointers which arPost too long. Click here to view the full text.




92ebfa No.5133[Reply]

Discuss and share C related talks here. K&R, Ansi/ISO, C99, C11, embedded are all welcome.

8 posts omitted. Click reply to view.

03dc46 No.5176




57c9b4 No.5138[Reply]

Discuss and share Python related talks here.

This includes all versions just be explicit about it.



406df8 No.5137[Reply]

Discuss and share Fortran related talks here.

This includes all variations (for now), but specify which one you're referring to.



bca91f No.5136[Reply]

Discuss and share Pascal related talks here.

This includes all variations (for now), but specify which one you're referring to.



dc5b95 No.5135[Reply]

Discuss and share HolyC related talks here.

Important: Stay only on the subject of HolyC only. Terry is wonderful but nobody seems to ever focus on his work. This will try to fill that gap.

Some documentation: https://web.archive.org/web/20170531043554/http://www.templeos.org:80/Wb/Doc/HolyC.html

Post last edited at


fafeb9 No.5129[Reply]

New settings for this board will slowly be implemented. More changes to come.

* imgs will not be allowed.

* Languages will have their designated areas and are only used by people who are already familiar with the language to some degree. "New to programming" users refer to the solid foundation sticky or elsewhere on the internet/8ch.

* Asking "how do I start or what language should I learn?" Is not allowed and will be removed/ignored. Do some research and google those questions yourself because we cannot afford to answer the most redundant questions on the internet here anymore. More people ask those questions alone on the internet than the number of people who die from cancer- good god! I can understand you just want to maybe talk to someone or just needing some attention- that is a path you must walk alone chosen one.

Once you have become more familiarized with language (or are already) point your question to the appropriate language/thread sticky.

Other threads will be for personal projects or challenges you may want to bring up?.. And try to keep it original :) Other purposes will be added here later.

Finally I don't want to hear any complaints about other users or programmers in general or "my language is better"/other smug-cringy comments. This just gets conversations off the tracks and brings up emotions unchained. We don't need any more sissies here.

Sharing resources on good materials will be ideally posted in dedicated thread- but not required. If worthy enough it will be included in the respective language's first post.

Teach yourselves some self-restraint and try to be respectful to each other (not required but always appreciated)

Post last edited at


File: 1439697368517.jpg (179.29 KB, 480x710, 48:71, 9780262019347_0.jpg)

c71b16 No.3034[Reply]

This guide assumes you forgot everything from highschool. No you don't have to learn any of this in order to program you can just start hacking around every .c file in your kernel.org git source clone and see what happens. Why would you want to learn math? Because it will change your thinking. You won't be easily fooled by bullshit, you will have tools to sort through obvious logical fallacies. You will be able to optimize programs and create your own algorithms. You will be able to estimate. Above all, you will be able to solve problems using computation which is what computer science is all about. And least of all, you will get paid more than anybody else without this knowledge so if your goal is shekels then read on. Note: DO THE EXERCISES. You won't learn otherwise. Books instead of video lectures were chosen because they've lasted 30+ years some of them in relevancy in the field, also lectures disappear all the time like when MIT nuked all one prof's Physics OCW lectures because he tried to pickup a student, setting a precedent that at anytime this information can disappear. Read a book nigga.

Math Preliminary

Basic Mathematics by Serge Lang

Buy/Pirate this book (he's dead). It's highschool math, from the perspective of a Mathematician. You will learn up Pre-Calculus and be prepared for rigorous proofs later.

An Introduction to Mathematical Reasoning" by Peter J Eccels

This changes you from rote drilling and being a human calculator in highschool to learning what math actually is, and what proofs do. Excellent, excellent book.

How to Solve It by G. Polya

How to do proofs, written in 1940s and still for sale in every Chapters/B&N bookstore to this day because it's the best proof helper that exists.

Welcome to Proofs

Calculus" by Spivak

Actually, you are learning ANALYSIS, in addition to calculus. Torrent the 3rd edition w/the answer book. This is a fucking hard assed book, you may be bePost too long. Click here to view the full text.

240 posts and 19 image replies omitted. Click reply to view.

9a7338 No.5089

>>5087

Hey! I am more and more convinced that there is no such thing as a shit idea, because execution is what really matters. Lots of successful products, lots of famous apps came from ideas that were already implemented, but badly - or not good enough.

Personally, I liked your post on 4/sci/ and I think your idea has got potential. The only major drawback is that people are lazy, they don't follow through their plans, not many are really committed to their goals, and thus a study related app that really works can only be aimed at that niche of people that are already trying to do something.

Maybe we can really do something about it.

But in the meantime, what are you trying to study (except Spivak, I guess) and would you like to finally start attacking some book together?




File: 1411372549161.jpg (64.52 KB, 447x553, 447:553, 23456456789.jpg)

706e1e No.60[Reply]

Does /prog/ need images?

http://strawpoll.me/2622392

Also you can suggest changes (rules, dashboard).
72 posts and 4 image replies omitted. Click reply to view.

2cf9ec No.4767

more textbrowser-friendly sites will go a long way toward reducing internet cancer levels




6d99f8 No.1351[Reply]

RULES

No advertising.

Stay on-topic.

No questions like "can someone do my homework?".

Use code tags for code and $$ for math.

No shitposting.

Don't do anything that requires to add more rules.


http://8ch.net/prog/rules.html
1 post omitted. Click reply to view.
Post last edited at

6d99f8 No.1359

>>1351
If you want to contact the admin of this board you can send a mail to prog@8chan.co



c84583 No.5183[Reply]

>>4640

I noticed you've been updating the website over the past few days. I've only been studying this material for a short while, but I have to say thank you - you're a legend for doing this for us lowly anons :')

570c17 No.5185

>>5183

Thanks, I post here infrequently, and some other chans but rarely. I spend most of my time these days wandering the sweet streets of Holland and listening to cringey working class music while I pursue grad studies in optimization https://youtu.be/Pfs9A-THWoU (tip: Europe will let you bypass the BSc requirement for gradschool)

I also apologize for my persistent clobbering of commits but there's reasons for it: DMCA takedown notices and shit, tons of errors in material with no errata and I rage delete, or they got paywalled. I once had full access to all CMU lectures (don't ask how), and I did the entire 15-122 class and their compiler class, which was absolutely excellent as the guy teaching both was Rob Simmons (currently on sabbatical) and is great, and the lectures covered far more than the pdfs/slides but unfortunately I sperg'd and spread these too early and my access got cut off before I archived. These days I archive each course, do it to make sure it's worth doing, then post it on my shitty meme list. Remember the MIT prof who had all his OCW lectures deleted because he turned out to be a pervert or something so if you're doing these, get all the material first on your local storage then start doing it if you can.

I honestly thought about contacting Stallman and perhaps coming up with some kind of GNUniversity. A totally free, very theory based curriculum that anybody can access with a phone and a piece of paper but so far CMU has covered that but at anytime all these lectures and notes/labs could get paywalled so get them before they are gone.

The main updates were I jacked all the labs for 15-150 and 15-210 which I had done before but lost because again I foolishly didn't archive shit. I also added Convex Optimization, Stats Theory, and a crash course in analysis and Linear Algebra for grad students. Optimization is pretty easy, it's heavily used in 'operations research' which is this crazy PhD track where they hire you to solve traffic problems in major cities. Tip: write algorithms that optimize, offer them for rent on Algorithmia marketplace, cPost too long. Click here to view the full text.


570c17 No.5186

>>5185

Also, from my old thread, somebody complained I nuked Sussman's books which still are the greatest books I've done besides TAOCP and Robert Harper's books, but they're primarily Physics books so if anybody is interested

http://aurellem.org/thoughts/html/sussman-reading-list.html

Sussman and Spivak really hate math notation, and I understand why because I also hate it. It's ambiguous, shitty, and created by people with zero expertise in abstract syntax. Doing equations in Scheme is awesome, almost like magic when you see it working in your interpreter window in Emacs. Speaking of Physics my main motivation for writing the meme list was this classic site: http://www.staff.science.uu.nl/~gadda001/goodtheorist/index.html where he grew tiresome of brainlets sending him 'papers' that were ridiculous, because they didn't bother doing the required background. I wanted a sort of 'Theoretical Minimum' http://theoreticalminimum.com/courses for CS theory as every single meme list was just some pile of bullshit about imperative software development and not interesting things like doing algebra with types and taking derivatives of a data structure polynomial to access any element at constant time.




000000 No.5184[Reply]

Buenos días mediante la presente busco una persona que pueda ayudarme con un script que permita mediante el regedit mas específicamente "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run" me permita añadir un nuevo registro a un ejecutable .exe ("ACLARO PARA WINDOWS 10" ya que para estos se necesitan unos permisos especiales para el script y los he programdo pero no funcionan ya verifiqué ruta y código), estoy desarrollando algo y me falta esa funcionalidad, otra cosa que deseo es información sobre algún hosting que recomienden para phising pueden comunicarsen al siguiente correo:

frenlich@torbox3uiot6wchz.onion

Deseo aprender y si es posible compartir conocimiento ya que estoy perfeccionando en programación si existe algún grupo sería mejor, agradezco de antemano la atención prestada.



b5bb81 No.5182[Reply]

A new server has been made due to the influx of spam in the previous one. We will be sharing with mathmo's. Feel free to join (back):

https://discord.gg/G6Ubj2h



000000 No.5178[Reply]

https://archive.fo/l1Fo2

>The Khronos™ Group, an open consortium of leading hardware and software companies creating advanced acceleration standards, today announces the ratification and public release of the finalized SYCL™ 1.2.1 specification.

>SYCL for OpenCL™ enables code for heterogeneous processors to be written in a “single-source” style using completely standard modern C++.

>The multi-vendor SYCL 1.2.1 standard is available royalty-free for industry use, and the full specification together with details about the SYCL open-sourced conformance test suite and Adopters Program can be found at www.khronos.org/sycl.

Simply put, SYCL is nicer, higher-level way to write GPGPU/compute device code targeting OpenCL devices. Ease-of-use has always been a large advantage of CUDA (at least from what I've heard).

Check out the example on wikipedia:

https://en.wikipedia.org/wiki/SYCL

I for one am excited. Being able to leverage the compute of an OpenCL device without falling to the level of OpenCL (or being forced into vendor lock-in with nvidia) sounds like a big win for me. If nothing else, it should add a little competition to a market where there is none.



38b94d No.5165[Reply]

>>3034

Jesus, I wrote this in 2015. Hah, it lives, throughout the ages. Anyway, I have a much more refined method now as I now have a ton of experience. Ignore the fuck out my own advice here from 2015. About me: I'm a non political (just in it for the memes) skinhead who listens to cringe worthy euro class music https://www.youtube.com/watch?v=Pfs9A-THWoU as I retained my primary labor job, because AI will replace every developer (look up Algorithmia, AI to replace devops) and I want those EU pension gibs, but I moonlight every weekend designing and optimizing parallel algorithms for a university research lab despite my long criminal history and drop out status. It pays shit, but I learned more in a few months working with PhDs than I ever did trying to work in the so-called industry for long hours at better pay.

>If you know fuck all about elementary math

The first thing you should do, if you don't understand highschool math, is get any undergrade calculus single variable text. Forget Spivak, I now realize it's mainly for highly motivated highschool students who have a solid grasp on the fundamentals and are on their way to ivy league and want something to hack through the summer break. What you want is either Apostol's Calculus, or Stewart's Calculus 'Early Transcendentals' or w/e it's called. Anything you don't get while doing the exercises, go research it in Axler's Precalc book or just search youtube for answers, or Wikipedia. This is the absolutely best way to learn, punch above your weight intellectually and just make it up with background research as you plod through each exercise. Apostol's Calculus is fantastic for this, you'll do so many exercises you'll never make a silly algebra manipulation mistake or forget a trig identity ever again. Apostol defers to endless calculating in the exercises if he has nothing else to say about the chapter material, this is great, great deliberate practice. You should also try reading 'The Seasoned Schemer' book, as it's entirely about higher-order functions. Calculus is filled with HOF on the real line. Functions dropped in as parameters and returned as new functions wilPost too long. Click here to view the full text.

69423f No.5169

>>5165

Thanks.

What about functionalcs.github.io/curriculum ?

Is it mostly the same?


3d731f No.5173

>what is a sticky anon?

OP is a faggot. Check the catalog.




Delete Post [ ]
[]
Previous [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]
| Catalog | Nerve Center | Cancer
[ / / / / / / / / / / / / / ] [ dir / animu / arepa / asmr / chaos / fascist / fast / tacos / vg ]