[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 341
Thread images: 22

What are you working on, /g/?
Old thread: >>58504863
>>
>>58510588
First for D
>>
Second for D is garbage.
>>
How do import statements work vs. #includes?
>>
>>58510588
oop = poop
>>
File: abc.png (57KB, 666x666px) Image search: [Google]
abc.png
57KB, 666x666px
>>
File: ....jpg (56KB, 355x340px) Image search: [Google]
....jpg
56KB, 355x340px
>>58510588
>>58510601
>>58510673
>>58510681
>>58510695
>>58510700

U S E E M A C S

A L L O F Y O U
>>
>>58510718
I do
>>
>>58510700
50%
>>
>>58510700
17327/137771
>>
File: 1.jpg (77KB, 500x707px) Image search: [Google]
1.jpg
77KB, 500x707px
>>58510723
Proud of you anon
>>
>>58510681
#include is just textual insertion of some file by the pre-processor

languages that use "import" usually have some kind of module system, or they work more like a namespace or new context for external functions.
>>
What techniques/etiquette do commercial grade coders use that amateurs may not be aware of? Like for instance, using recursion wherever possible for its low cpu requirements? Or maybe mandating the use of only one/two types of sorting algorithms for optimization?

Does /g/ have any examples of such code?
>>
>>58510700
1/3?
>>
>>58510700

3/4 chance.
>>
So I want to make small apps for Android that let me automate some common tasks, but I don't want to use Android Studio.
Apart from a text editor (nano), the Android SDK and adb, what do I need? I don't give a shit about cross device compatibility so an emulator is superfluous.
.
>>
>>58510834
They shit in the street on the way to work to maximize the time they can spend coding.
>>
>>58510834

>Like for instance, using recursion wherever possible for its low cpu requirements?

I think it's the exact opposite. If you're programming in a resource constrained environment you want to almost always avoid recursion, hell, you never even want to be more than a handful of function calls deep at any point in time.

t. embedded systems programmer
>>
>>58510725
+1
>>
>>58510700
Let G1 be: "the first ball you take is a gold one".
Let G2 be: "the second ball you take is a gold one".
The probability we're looking for is P(G2|G1), the probabilty of G2 under the condition of G1, expressed as this:
P(G2|G1) = P(G1 ∩ G2) / P(G1)

There are 4 gold balls over 9, so P(G1) = 4/9.
Now, let's find out P(G1 ∩ G2). It is the probability of taking a gold ball first, then another gold ball secondly, which means picking a box with at least two gold balls. There is 1 box over 3 which contains the two gold balls, hence P(G1 ∩ G2) = 1/3.

Thus, P(G2|G1) = (1/3) / (4/9) = 9/12 = 3/4.
>>
>>58510887

Got it. Presumably would make sudden-exiting the program also more complicated.

Bust some more myths bruv.
>>
>>58510932

Yeah but you have already taken the gold ball to begin with. The question wasn't 'what is the probability you pick a gold ball and then another one'. The question was 'what is the probability you will pick a gold ball after you have already picked a gold ball'
>>
>>58510887
You could program with recursion smartly and still be embedded systems-friendly. All it takes is programming such that calls are tail-recursive and that the compiler is smart enough to make tail-call optimizations. But even then, the resulting code would still be iterative.
>>
>>58510942

Well, I can't think of anything off the top of my head, but if you post more incorrect stuff I'll correct you ;)
>>
>>58510932
Nah mate, P(G1) is irrelevant since we have already taken out o gold ball
>>
>>58510962
>>58510983
>The question was 'what is the probability you will pick a gold ball after you have already picked a gold ball'
That's what P(G2|G1) means. As a conditional probability, you have to consider both the probability of picking a gold ball as first pick, and the probability of picking two gold balls consecutively.
>>
>>58511007
The probability of the first pick being gold is irrelevant because it is stated to be gold.
>>
>>58511065

Do you know nothing about conditional probability? When you have a statement "Probability of A given B", you are stating, "the probability of A happening given that we already know B is happening." This probability is given by Bayes' Theorem, which is P(A|B) = P(B|A) * P(A) / P(B).
>>
>>58511065
If it is irrelevant for you, then you're placing yourself in a completely different experiment where there are only two boxes: one with two gold balls and the other one with two silver balls. I bet you think the answer to the question is 1/2. You may be right, too, because the wording of the question is ambiguous. Still, I'm not wrong.
>>
>>58510973

Oh u!

I'm drawing a blank here. Could you point me at some code that you think would cut it in commercial environment? Perhaps a serious open source project on github?

Also, this is a vast subject but, C/C++ still relevant? Or take a hit and just load a Java environment?
>>
Are there any good resources for learning Racket?
>>
>>58511159
there was pasta from /fpt/ but it seems to be lost with /fpt/ threads
>>
>>58511206
If only there was some sort of archiving site for 4chan threads. Someone should work on that
>>
>>58511215
Fuck, I'm retarded. Here's the op in case anyone else is interested

Previous /fpt/: >>58212017
Daily programming thread: >>58244274

>Erlang
http://learnyousomeerlang.com/content
>Elixir
http://chimera.labs.oreilly.com/books/1234000001642/index.html
http://elixir-lang.org/learning.html
>F#
http://fsharp.org/learn
>Haskell
https://en.wikibooks.org/wiki/Haskell
https://0x0.st/pbp.pdf
>Common Lisp
http://gigamonkeys.com/book
http://www.cs.cmu.edu/~dst/LispBook/book.pdf
Common Lisp Recipes
Land of Lisp
An Introduction to Functional Programming Through Lambda Calculus
>Clojure
http://www.braveclojure.com/foreword/
The joy of Clojure
>Scheme
SICP
Essentials of Programming Languages
How to Design Programs:
http://www.ccs.neu.edu/home/matthias/HtDP2e/
Art of the Propagator
Little Schemer
The Seasoned Schemer
The Scheme Programming Language by Kent Dybvig
Realm of Racket
Lisp in Small Pieces
>OCaml
https://realworldocaml.org/
http://ocaml.org/learn/tutorials/
>Scala
Functional Programming in Scala (Chiusano and Bjarnason)
Atomic Scala (Eckel and Marsh)
Programming Scala (Wampler and Payne)
Programming in Scala (Odersky, Spoon and Venners)
>Elm
https://guide.elm-lang.org/
>PureScript
http://www.purescript.org/learn/
>>
>>58510700
EVERYONE'S WRONG
https://en.m.wikipedia.org/wiki/Bertrand's_box_paradox
>>
>>58511264
>mobile posters
>>
File: callingAllAutists.png (31KB, 640x480px) Image search: [Google]
callingAllAutists.png
31KB, 640x480px
>>58510700
Lets fuckin go
>>
File: 1421165201452.jpg (82KB, 740x720px) Image search: [Google]
1421165201452.jpg
82KB, 740x720px
Why does dressing up like an Anime girl make one a better programmer?
>>
Is SQL /wdg/ or /dpt/?
>>
>>58511373
/dpt/
>>
>>58511373
either is fine but wdg may be more helpful with more webdev related sql stuff
>>
>>58511349
just say you want male sexual attention anon, no need to beat around the bush ;)
>>
I learn Perl and don't know what fun stuff I should write. Advices?
>>
>>58510700
What we want to know is
p(B_1|G), that is to say, we have box_1 given that we have a gold ball.
according to bayes theorem
p(B_1|G) = P(G|B_1) * P(B_1) / P(G)
that is the probability of drawing a gold ball given box1, the (a-priori) probability of box-1 and the probability of a gold ball
P(G) = sum(P(Box_i)*P(G|Box_i) for i = 1... 3)
so 1/3 * (0 + 1/3 + 1) = 4/9
P(G|Box_1) = 1
P(Box_1) = 1/3
so P(Box_1|G) = 1 * 1/3 / (4/9) = 9/12 = 3/4

if you want to check for box_2
P(Box_2|G) = 1/3 * 1/3 / (4/9) = 1/4.
>>
>>58511290
(n/(n+k)) + ((k-1)/(n-1)) * (k/(n+k))
>>
Anyone got that image of Lerdorf saying his stupid shit about PHP?
>>
File: 1463425742180.jpg (57KB, 637x685px) Image search: [Google]
1463425742180.jpg
57KB, 637x685px
What anime should I watch in between of my coding sessions?
>>
Must read beginner compsci books ?
>>
>>58511999
Subete ga F ni naru, where integer overflow was an actual plotpoint. Its enjoyable as long as you can overlook the first years philosophy course.
>>
>>58511999
Steins Gate
>>
>>58512022
It's not limited to programming related anime but i'll check it out.
>>58512053
already reading that
>>
>>58511999

naruto filler episodes
>>
>>58511999
you should """code""" in between your """coding""" sessions
>>
>>58512022
Pretentious pseudo-deep garbage

>>58512053
Reddit-tier garbage

>>58511999
I don't usually give suggestions about things when there is absolutely no context about what I person's preferences are.
Also, this is not the place to discuss such a thing.
Posting is slow at the moment though, so Shirobako is a nice series, I guess.
>>
>>58511999

Shin Sekai Yori.
>>
>>58512092
why would it be ""in"" ""between"" then? that doesn't make a whole lot of sense
>>58512094
>Also, this is not the place to discuss such a thing.
Why not? This is literally an anime thread and you could certainly make a case for /g/ being an anime board.
Thanks for the suggestion though
>>
Obligatory polls post
http://www.strawpoll.me/12023125
http://www.strawpoll.me/12097496
>>
Sepples really is the worst and has hold the world back more than Christianity.
>>
>>58512354
I agree. It really a horrible and poorly designed language.
Anyone who thinks that it's good, or even passable, clearly has a metal problem.
>>
>>58512354
*tips fedora*
>>
Reminder that the "C++ is not suitable for kernels" meme is getting out of hand.
>>
>>58512348
>coffee and tea are separate
really? why not just make one caffeine option? shit poll.
>>
>>58512348
what if I drink yerba mate?
>>
>>58512354
this! islam is white and based though
>>
>>58512369
yeah... it's pretty retarded.
"not suitable for anything" would be more accurate.
>>
File: 1362620050_5dcb63ccfb_o.jpg (4MB, 3872x2592px) Image search: [Google]
1362620050_5dcb63ccfb_o.jpg
4MB, 3872x2592px
>>58510588
learning django; where can I get a good tutorial on making a simple web app? I've got django/pip/venv etc. installed already
>>
>>58512354
b-b-but
m-m-muh OOP in the OOL!
m-muh RAII!
muh borked C compatibility!
>>
uint32_t arr[0x80];
typedef uint32_t arrType[0x80];
void fun(arrType& a){
cout << sizeof(a);
}


Could you guys explain to me why passing that by reference returns the size of entire array (512) while passing by value (no &) treats it as a pointer to int and gives a compile error??

I'm more dedicated to understand the entire array size check thou.
>>
>>58512460
In other words. I know that arr name is a pointer to its first element, but i dont get why typedef and reference trick allows me to check entire array size.
>>
File: 1452403462016.png (79KB, 307x400px) Image search: [Google]
1452403462016.png
79KB, 307x400px
>>58512460
>C++
>>
>>58512460
>>58512469
>but i dont get why typedef and reference trick allows me to check entire array size.
Because sizeof reference is actually size of the type, and not the reference.

void foo(short short_val)
{
cout << sizeof(short_val); // 2
}

void bar(short& short_ref)
{
cout << sizeof(short_ref); // also 2
}

void bas(short* short_ptr)
{
cout << sizeof(short_ptr); // sizeof( any pointer )
}


>treats it as a pointer to int and gives a compile error??
Passing fixed-sized arrays is legal in C but not in C++

void foo(int arr[0x80]) // legal C but illegal C++
{
}


Passing a reference to an array is legal.
>>
>>58512514
but isn't parameter a in the function, while executing it's first line, just a plain pointer? just passed by reference isntead of making a copy of it.
>>
>>58512537
>but isn't parameter a in the function, while executing it's first line, just a plain pointer?
Arrays are not pointers.

void foo()
{
int arr[2];
int* ptr = arr; // (or &arr[0]);

ptr += 1; // legal
arr += 1; // compiler error
}
>>
>>58512354

It should be noted that a number of great scientists, such as Isaac Newton, did their work to try and understand what they believed to be the creation of God. All in all, taking into account the great works vs the great tragedies produced by Christianity, I'd say it has been worth it.

>>58512460

Because that's just how reference semantics were designed to work. C++ likes stronger type safety, but has to give in where compatibility with C takes precedence.
>>
>>58512560
>Arrays are not pointers.
I get that I was talking about array identifier used as func parameter and explicitily about using it with sizeof operator.
>>
>>58512576
Isaac Newton would have increased their understanding of the universe no matter if he believed in a deity or not.

His belief in God is more of an hindrance, rather than a benefit. If the discovery of Galilei, namely foreign heavenly bodies orbiting other heavenly bodies, wasn't suppressed and declared blasphemy by the church, there could have been another Newton explaining these orbits several decades before Newton did.
>>
>>58512585
>I get that I was talking about array identifier used as func parameter and explicitily about using it with sizeof operator.
That's what I'm trying to tell you.

Keep in mind that this is C (not sepples)
void foo(int ptr[]) // this is syntactic sugar for a pointer (because no size is specified)
{
printf("%zu\n", arr); // sizeof(int*)
}

void bar(int arr[2]) // this is an array of size 2
{
printf("%zu\n", arr); // sizeof(int) * 2
}
>>
>>58512619
Ignoring the wrong identifier and missing sizeofs, that is wrong. Specifying an array length makes to difference to anything.
It's really quite misleading, so that's why everyone typically just uses the *.
What actually makes a difference is when you specify a pointer to an array type:
void foo(int arr[2])
{
printf("%zu\n", sizeof arr); // sizeof(int*)
}

void bar(int (*arr)[4])
{
printf("%zu\n", sizeof *arr); // sizeof(int[4])
}
>>
>>58512619
Oh.
So explicitily stating the size of an array in function parameter (typedef in my example) is what makes the difference?

Shouldn't you pass it by the reference in bar example?
If i pass int arr[2] by value I get the same compile message as with int ptr[]
>>
>>58510700
3/4
>>
>>58511290
n / (n + k)
>>
>>58512682
pass it by reference (in C++) or by pointer (in C/C++)
>>
>>58512670
>>58512619
I think I'm slooowly getting the idea as it's treated as completely different type
void fun(arrType& a){
cout << typeid(a).name(); // type: A128_j
}

void fun2(arrType a){
cout << endl << typeid(a).name(); // type: Pj
}


Then is there any overhead by passing an array like that in fun(arrType& a) if the type specifies it as 128 elements long array? Or it's just type deduction and just the adress is passed?
>>
File: 1468267771535.jpg (808KB, 1280x720px) Image search: [Google]
1468267771535.jpg
808KB, 1280x720px
>That feel when implementing new, delete, and unique_ptr in your C++ kernel after you've gotten kmalloc and kfree working.
>>
>>58512811
I imagine it would be a very disgusting feeling.
>>
>>58512825
It's a great feeling that Cfags will never know.
>>
>>58512729
You're wrong and >>58511748 is right, but it's not clear enough.

Let's label the three boxes respectively B1, B2 and B3 and the respective events:
- BN: "box N is picked"
- G1: "first ball picked is gold"
- G2: "second ball picked is gold"

Using Bayes' theorem again: P(G2|G1) = P(G1 ∩ G2) / P(G1)

P(G1) is easy to determine, there are n+k gold balls over 3n balls, hence P(G1) = (n+k)/3n.
Now, P(G1 ∩ G2) is another story, you have to take into account both possibilities of getting G1 then G2:
- the first one by picking box 1 (probability 1/3)
- the second one by picking box 2 (prob. 1/3), then picking a gold ball (prob. k/n), then picking another gold ball (prob. (k-1)/(n-1))
So, P(G1 ∩ G2) = P(B1) + P(G2|G1|B2) = 1/3 + ((1/3)*(k/n)*((k-1)/(n-1)))
(feels like I'm writting Lisp there)

With some simplification magic, we get P(G2|G1) = (n/(n+k)) + (k*(k-1))/((n+k)*(n-1)), which pretty much the same thing as >>58511748.

Yeah, I may have autism.
>>
>>58512811
On the seventh day Linus had finished the work he had been doing; so on the seventh day he rested from all his work.

Meanwhile, Bjarne was still struggling with operator overloading.
>>
>>58512912
you're right, i went too fast and assumed k=1 like in the pics
>>
Why is PHP a thing?
It's literally more fucking work to set up than fucking Java Server Pages, the thing that Java developers didn't like because it was too boilerplate-y.

It has zero reasons to exist, except for hosting applications already written in it. Why do people insist on this language? Why won't it die?
>>
>>58512811
Is there any benefit to writing a kernel in C++?
>>
>>58513000

Because lazy webdevs and lazier web hosts.

On a semi-related note, I just finished a homework assignment to exploit a vulnerability in an insecure PHP server on a virtual machine. This language really lends itself to being easily compromised.
>>
>>58512811
Make sure to also make std::make_unique

>>58513002
RAII.
>>
>>58513031
>Because lazy webdevs and lazier web hosts.
this

the web host i'm planning on using only supports PHP and ASP.NET (the older one, not even ASP.NET Core) and some web hosts don't even offer ASP.NET

so even if a web dev wants to use something other than PHP, they have limited options unless they do a more expensive cloud server thing (i think i'll do a hybrid ASP.NET w/ C# + microsoft azure w/ C++ solution)
>>
>>58513031
How would you know?
It's PHP. It might be compromised, it might shut itself down, and it might hand you a root terminal that's logged into the neighbouring coffee brewer.

Depending on the three(!) configuration files, the massive changes between versions, how it does some things different depending on OS... The security holes aren't necessarily even portable. It's just PHP. It's fractally wrong.
>>
>>58513059
Buy a VPS, install and set up stuff.
Done.
>>
Hi /dpt/

I'm 23 and have 0 programming knowledge. Is it too late to make it as a programmer? I didn't study computer science so I know I'm already way behind. The only program I use occasionally is Matlab and did a little work in Java when I was a kid playing around with video games.

I want to pick it up as a hobby, which language is good for picking up fundamentals applicable across other languages and can be used to contribute to github and stuff. Recommend a good book too.
>>
>>58513054
I have no use for make_unique because I have exceptions disabled
>>
>>58513085
Van Gogh didn't start painting until he was 30. Believe in yourself, anon.
>>
>>58513085
It's never too late to pick something up, especially if it's just for a hobby but you probably have your learning skills off since you're most likely not in school anymore (unless you're studying still).

I'd recommend Python especially since you're dealing with Matlab you can later learn NumPy/SciPy but Python has its cons as well.
>>
>>58513059

>the web host i'm planning on using
Why are you planning on using their service? You should not support laziness with your money.
>>
>>58513085
it's not really too late, you'll do okay if you give it an honest try

imo learn java and/or C++. be skeptical of the advice you get on /g/ especially when they tell you to learn haskell, python or one the least popular languages

https://docs.oracle.com/javase/tutorial/
>>
>>58513059
You can get a "more expensive cloud server" for as low as $5/month which will be good enough to run multiple websites so it's not a big deal.
>>
>>58513085
C++, C#, and Java are all massively popular languages that are easy to get in to.

Python is really easy to learn, but is extremely different than the other popular language, due to its typing system and whitespace-matters syntax.

I'd recommend C#, just because I really like the language and I think it's one of the easiest languages to learn.

Free book with code samples:
http://www.robmiles.com/c-yellow-book/
>>
>>58513113
they're cheap, they include a lot of free bandwidth and they seem to be reliable. i just need a basic website and i can delegate any computing needs to microsoft azure

>>58513129
even with the bare minimum hardware, if you price it out with terabytes of monthly traffic (millions of users, megabytes of traffic per user) i think it'll cost more than that
>>
>>58513130
C++ is not easy to get into. Python and C# are both good recommendations for a first language.
>>
>>58513183
I thought modern C++ was supposed to be as easy to use as C# or Java, with smart pointers and whatnot.

Last time I started C++, it was many years ago and it was a miserable clusterfuck, but I was thinking it had gotten better these days.
>>
>>58513175
Yeah except your typical webdev won't be getting millions of users and you use a CDN for static assets so the bandwidth is not much of a concern either.
>>
>>58513195
C++ isn't that bad if you have the right teaching material but you'd be better off starting with java imo, java is almost like C++ but heavily simplified, if you're on the java hate bandwagon you could learn C++ or C#, C# is like java but with more C#-specific stuff added on it
>>
>>58513130
>>58513119
>>58513111
>>58513100

Thanks guys, so Java, C# or Python are the three recommendations. I think I'll go with Python as it seems to be the easier of the three, are there any courses or books that CompSci students refer to, or a syllabus at a college or something.

Also what are you learning processes, do you do exercises/studies like in art or what. Obviously I don't have the knowledge to just sit down and start programming a functioning kernel or complex program
>>
>>58513054
>RAII.
Makes sense. RAII is comfy af.
>>
>>58513119
What's wrong with Python? The Syntax is really simplified but other than that what makes it different
>>
>>58512811
I know that feel.
I also know the feel of wasting hours on a heinsenbug because static constructors don't magically run if you don't make them.
>>
whats a cool thang to progeram
>>
File: programming challenges4.png (2MB, 3840x2160px) Image search: [Google]
programming challenges4.png
2MB, 3840x2160px
>>58513325
>>
>>58512390
i guess you vape too
>>
>>58513341
Nah
>>
File: If-u-have-a-hacker-mind.jpg (58KB, 700x630px) Image search: [Google]
If-u-have-a-hacker-mind.jpg
58KB, 700x630px
Making this a web game with javascript and event.keys
>>
>>58513385
402?
>>
>>58513385

>Start with clue 4. Eliminate 7, 3, and 8 as valid numbers.
>From clue 5, note that 0 must be a valid number, and not in the last position.
>From clues 1 and 2, note that 6 must be invalid as it cannot be both wrongly and rightly placed.
>>This also implies that 2 must be in the last position.
>From clue 3 we note that 0 is wrongly placed in the middle, so given clue 5, it must be in the first position.
>Finally, we turn to clue 2 again, giving us that 4 is wrongly placed, since 6 is invalid and 1 occupies our valid spot.
>Result is a code of 042.

Q.E.D.
>>
>>58513501
Nah, should be 042.
>>
>>58513215
>Python
I give this recommendation to everyone:
Start with Automate the Boring Stuff with Python (Al Sweigart). Then pick up a CS intro book by either John Zelle or John Guttag. Once you're comfortable, pick up Mike Driscoll's Python 201.

Avoid the book "Learn Python the Hard Way" by Zed Shaw at all costs. It is a terrible book that says "durr make a bunch of print statements following syntax and you'll get it" which is the dumbest thing ever.

>easier of the three
I don't recommend this being your motivation to choose Python. Ease is a terrible idea to cling onto while starting out in programming and leads to people who make shitty template posts asking for help with their "simple app" or asking for "simple" examples and never moving on.

>do you do exercises/studies like in art or what
Yes, but it's more like in math; you do it enough and it starts to click because you understand the logical principles associated with programming, not any kind of artistic technique. Sweigart's book has some examples. I honestly wish you started off with Java or C# because there's a decent book called "Introduction to Java Programming" with a plethora of examples following each chapter that are actually substantial and not pajeet-tier shit you see on HackerRank. You can still get the book and just try to complete the questions in Python. There's a plebbit board called /r/dailyprogrammer that's alright for further practice examples; the questions are of varying quality and they don't always match up with the intended skill level.

Don't get bogged down by /g/ meme kiddos pissing themselves about things like "Object Oriented Programming" and "Functional Programming" since you're going to be learning about the former in Python.
>>
>>58513385
cool idea dude ill do it too
will put your postid in the source so i dont feel too jewish
>>
>>58513527
This is a really useful post, thanks a bunch.

I actually planned to learn Java right after Python, I'm actually drawn more towards it because the Syntax makes me nostalgic from back when I was a kid playing around with video game code. I only chose Python as I thought i could draw comparisons to Matlab, but if Java can do that then I'd happily switch to that and do Python on the side
>>
>>58513684
If you're set on Python, stick with it. Do NOT learn more than one language at a time when starting out. You'll know when you're ready to expand to other languages, it's actually a very obvious feeling once you sit with a language for a while.
>>
>>58511999
Maid Dragon. MC is cute programmer christmas cake.
>>
>>58513385
It's either 012 or 042

That was dumb
>>
>>58513509
Nothing indicates 1 isn't a possible number
>>
What is the official/best reference/documentation of the C standard library?

Google generally sends me to www.cplusplus.com and www.tutorialspoint.com
>>
>>58513899
`man $function_name`
>>
do you guys have some good vim plugins for Java and C++?
>>
>>58513990
YouCompleteMe works pretty well
>>
>>58513872
clue 2 does because it says it's wrongly placed
>>
>>58513997
>a Clang-based engine
this might be a retarde language but that doesn't mean I have to compile my shit with Clang, right?
>>
>>58514036
Can you faggots stop being tribalistic for a moment holy shit?

Clang is a fine compiler, and no you don't have to use it.
>>
>>58514036
>retarde language
holy shit I don't know what happened I meant retarded question
>>
>>58514036
no, it just uses clang as backend for the autocomplete but you can use gcc or what have you just fine
>>
>>58514047
I'm not talking shit about it I was just wondering
>>
Why does every programming language try to invent its own operating system?

They're pretty much all pseudo-multitasking virtual machines that replicate as much OS functionality as possible within the language itself.

The fucking implementations feature a scheduler. Why can't programs just become native code that gets mapped to OS threads? Everything is a value at the VM level. Why can't they export ELF symbols instead of requiring you to pass strings to some native API in order to call into code?

What the fuck happened to good old languages like C where there's no bullshit?
>>
>>58514216
really makes you go hmmm when [C]avemen speak
>>
>>58514216
Because abstractions make life easier and you can't write anything crossplatform and remain sane without these abstractions.

Try Rust in 1-2 years.
>>
is there a way to use the same GNU makefile with both gcc and clang, and use -Wno-maybe-uninitialized with gcc and -Wno-sometimes-uninitialized with clang, without just specifying both and bandaiding it with -Wno-unknown-warning-option? and without putting pragmas in the source files
>>
>>58514276
>this is literally something you cunts have to worry about instead of just getting the project done

kek
>>
>writing to the bottom right character in a curses window throws an error because it pushes the cursor out of bounds
Well that would have been useful to know sooner.
>>
>>58514288
>he didn't read the DOC
>>
Why do I only find Android projects for Java on Github?
>>
>>58514276
Just use CMake
>>
>>58514287
it's no big deal but it could be good to have a more robust build setup for bigger projects and more knowledge about setting up a build system
>>
>>58514276
I don't think you can do it easily, the best you can do is probably:
CLAGS = -O2 -pedantic

gcc:

gcc $(SRC) $(CFLAGS) -Wno-maybe-uninitialized $(BIN) $(LIBS)

clang:
clang $(SRC) $(CFLAGS) -Wno-sometimes-uninitialized $(BIN) $(LIBS)


Then use make gcc/make clang.
>>
File: 1480979051032.png (222KB, 800x800px) Image search: [Google]
1480979051032.png
222KB, 800x800px
Nth for C#, Microsoft SQL Server and ASP.NET MVC. Or as I've recently taken to calling them, the Golden Trio™.
>>
>>58514216
>The fucking implementations feature a scheduler. Why can't programs just become native code that gets mapped to OS threads?
Because most OSes don't have a native green/task thread scheduler.
Spinning up kernel threads for everything is often too heavyweight.
>>
As I ripen in to young adulthood I have newfound appreciation poetry and functional programming.
>>
>>58514351
And fedoras, trenchcoats, and quill pens
>>
is blue j shit?
>>
>>58514326
These are all unironically fantastic things.

SQL Server is in public preview for Linux machines now, too. (RHEL, Ubuntu, SUSE)
>>
In C++, if I put a class named "Meme" in a namespace named "Meme", would it cause any problems?
I'm having some weird undefined reference errors during linking, can't track them down.
>>
>>58514245
I'm not a fan of C, in fact I hate it and constantly work around its bullshit

>>58514261
These abstractions perform like shit and have made my life significantly harder since they're never good enough. There's always a catch, a hidden limitation that you only find out after you start using it only to realize the whole thing is crap.

Programming languages reinvent everything operating systems people have done, only worse and with horrible performance. It's impossible to directly interface with the operating system itself or even another VM process; they pretend that stuff doesn't exist.

No language does multitasking as well as starting up two programs. They all hace humongous opinionated abatractions on top of this and they all suck. No language has resolved the problems associated with async programming and its system calls, they're basically waiting for the systems programming people to do it for them.

Who the fuck still cares about portability? Only platforms that still matter are Linux and the BSDs. The shit you run on servers. Inexplicably, Windows actually has pretty good abstractions like IOCP that don't exist in Linux for now
>>
>>58514448
no, that's fine, you just access it via Meme::Meme
>>
>>58514465
Yep. It was fine. Changed one of the names, it didn't fix it.
I guess I'll begin typing out a long post asking for help, because I can't anymore.
>>
>>58514465
wouldn't that just access C++ itself?
>>
>>58512426
If RAII is so bad, why do they use it in the Linux kernel?

kref_get / kref_put
>>
>>58514570
you what
>>
how do i make fgets not take the '\n'
>>
>>58514461
>BSD
>still matters
ayyyy lmao
>>
Do you like my C haiku, /dpt/?

The hardest of tasks,
keeping track of memory.
Segmentation fault.
>>
>>58514461
>No language does multitasking as well as starting up two program
>No language has resolved the problems associated with async programming
m8, can you even goroutine?
>>
>>58514600
You kidding you fuck? You seriously not aware of just how many companies are making real money on top of it?

Besides it features kqueue, something Linux can't even begin to compete with even after all these years.
>>
>>58514293
>just be a retard
anon...
>>
>>58514614
no fuck you faggot
>>
>>58514651
Wow
Great argument
You sure convinced me
I bet you use GNU/Linux Make
>>
>>58514614
the first line wasn't very good
>>
>>58510969
Tail recursion can still be used with trampolining. If the language supports it you can make this trampolining just as efficient as iteration with an explicit stack.
>>
>>58514600
playstation 3 and 4
netflix
apache
juniper


??
>>
>>58514652
;_;

>>58514662
Thanks for the feedback
>>
>>58514635
>seriously not aware of just how many companies are cucking bsd?
>it features the shittier-IOCP-wanna-be kqueue
ftfy
>>
Nothing special. Wrote a small script to grab the frontpages of some newspapers and produce a single PDF from it:

#!/usr/bin/bash

newspapers="USAT WSJ NY_NYT DC_WP"
timestamp=$( date +%b-%d-%Y )

for newspaper in $newspapers; do
printf "Downloading $newspaper\n"
url="http://cdn.newseum.org/dfp/pdf$( date +%d )/$newspaper.pdf"
wget -q --show-progress $url
qpdf -password="" -decrypt "$newspaper.pdf" "decrypted-$newspaper.pdf"
done

pdftk decrypted*.pdf cat output "$timestamp.pdf"
printf "Created $timestamp.pdf!\n"
mv "$timestamp.pdf" ~


Let me know if you want the list of newspaper codes.
>>
>>58514659
>GNU/Linux Make
>see? I'm literally retarded
we can tell
>>
Should I take a c++ programming class? No transferable credit and at 7 am.
>>
>>58514726
If you want to learn C++, do it on your own.
>>
>>58514702
reading news is bad for you anon
>>
>>58514614
>it is $current_year
>still using C for anything
Garbage collection
>>
>>58510700
1/2
>>
>>58514726
yes
>>
>>58514276
>is there a way to portably suppress a warning about incorrect code?
>>
>>58514804
they're false positives

like something like

int foo;

if(bar) {
foo = 1;
}
else {
foo = 2;
}

fizz(foo); // foo is """"maybe"""" being used uninitialized
>>
>>58514698
Yeah using something is "cucking" now. Shitpost harder you piece of shit

>>58514618
You mean your thinly-veiled thread pool interface? Sucks as bad as many others.
>>
>>58514739
Why?
>>
>>58514592
int ln = strlen(input)-1;
if (input[ln] == '\n') input[ln] = '\0';
>>
>>58514829
>if _ then initialise else initialise
you'd think they could tell
>>
Why is pointer arithmetic so comfy?
>>
>>58514875
maths is comfy
>>
>>58514829

int foo = 2;
if (bar) {
foo = 1;
}

fizz(foo);


int foo = 0;
if (bar) {
foo = 1;
} else {
foo = 2;
}

fizz(foo);


?????
>>
>>58514894
what if the rhs isn't pure?
>>
>>58514874
actually that example might not trigger a false positive but like if you have more information about the possible state than the compiler does or if it's a more complex code flow which is harder to analyze, like it conditionally reads a variable from a variable which was conditionally initialized in a previous loop iteration

>>58514894
there is more code involved, it would be disgusting to restructure it like that, and see what i wrote above in this post
>>
>>58514829
>something like
there's no need to lie on the internet
>>58514874
they can, anon is full of shit
>>58514927
>actually that example might not trigger a false positive
backpedaling? on /g/? noooooo
>>
>>58514843
>I'm not a cuck, I just like being used
mkay
>>
>>58514977
>>58515004
oh look it's this autist again

it's a well-known fact that -Wmaybe-uninitialized and -Wsometimes-uninitialized can give false positives even though the code is correct

https://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
>>
Anyone know a way to make this python function work using only the dict comprehension?
def mimic_dict(filename):
"""Returns mimic dict mapping each word to list of words which follow it."""
file = open('small.txt', 'r')
f = file.read().split()
prev = ''
dic = {k: [] for k in set(f)}
for x in f:
dic[prev] = dic.get(prev, []) + [x]
prev = x
file.close()
return dic


here's the data for small.txt in case anyone needs/wants it:
We are not what we should be
We are not what we need to be
But at least we are not what we used to be
-- Football Coach
>>
What's a fast and light IDE for multiple languages?

I like and use VS daily, but if I want to open a separate solution to test some stuff, it's quite slow and fairly resource heavy when I just want to write a few lines of code outside of my current project.
>>
>>58515013
>well-known fact that I can't write code worth a shit
yeah, it is
>>
>>58515059
>bully posting
>>
File: 1437538680514.gif (621KB, 440x247px) Image search: [Google]
1437538680514.gif
621KB, 440x247px
/dpt/, save me. I need some top notch C++ tech support.

During linking I get this error:
undefined reference to `Shader::Shader_Base::loadMat4(unsigned int, glm::tmat4x4<float, (glm::precision)0> const&)' 

I can't track down the reason for it.

I have a Shader namespace, it has a Shader_Base class that implements a protected method
void loadMat4(GLuint location, const Mat4& matrix);
.
Then I have a Simple_Shader that is derived from Shader_Base.

One of the functions that throw this undefined reference error is this:
void Simple_Shader::setViewMatrix(const Mat4& matrix) {
loadMat4(m_locationViewMatrix, matrix);
}

(m_locationViewMatrix is indeed GLuint).

It's been hours, I can't figure out the error.
Any help?
>>
>>58515037
Geany.
>>
>>58515113
>I got told by the bad bully
>>
>>58515037
emacs, if you're willing to learn for a few months
Otherwise not
>>
File: 1482679351479.jpg (63KB, 572x497px) Image search: [Google]
1482679351479.jpg
63KB, 572x497px
>>58515131
>>
>>58515167
>respect muh mental illness
>>
>>58515115
are you sure the class definition (not just declaration) is inside of the namespace?

Shader.hpp:
namespace Shader {
class Simple_Shader {
void setViewMatrix(...);
};
}


Shader.cpp:
namespace Shader { <- also needed in definition
void Simple_Shader::setViewMatrix(...)
{
}
}
>>
>>58515059
lol enjoy your redundant variable-initializing instructions because you're so stupid that you have to rely on a clunky compiler instead of being able to prove the correctness of your program yourself
>>
>>58515195
Yep, everything is in the namespace.
>>
>>58514396
Yeah. Really shit.
>>
>>58515037
What language are you using?

There are tools that help you with this, like the C# Interactive window. It basically gives you an interpreted C# REPL console that has IntelliSense and everything.
>>
>>58515209
>prove the correctness
>muh-maybe-uninitialized
these webshits deliver every TIEM! top fucking kek
>>
>>58515029
Anybody??

I already solved the problem, I was just wondering if you could do it using only dict comprehension to make it more "pythonic"?
>>
>>58515258
it's literally impossible for the compiler to get it completely right because of the halting problem fucking retard kill yourself
>>
how do I add a libgdx properly on github?
libgdx projects are nested gradle projects:

1. root folder with all the gradle shit
2. in it different projects (desktop, android etc)

I need to have the root folder on git so everyone who want to use the project just can use gradle to build everything. but if I only share the root folder (which contains everything) no changes show up and no files to add to the index.
>>
>>58515267
>I'm doing my best to be retarded
anon, please
>>
Daily reminder that C isn't turning complete
>>
setting

int foo = 0;


implies that you will (at least sometimes) use the value of foo as it is, but if you're never using it without assigning a different value to it, it's better style to leave it uninitialized
>>
>>58515313
Should this bother me?
>>
Is C call-by-value or call-by-reference?
>>
>>58514461
>They all [have] humongous opinionated abatractions on top of this and they all suck
>There's always a catch
Just use Lisp and write the abstractions yourself, if you're so smart
>>
>>58515410
pass-by-value
>>
>>58515410
http://lmgtfy.com/?q=is+c+call+by+value
>>
>>58514614
nice
can you write haikus on other languages?
>>
Hello /dpt/, I'm making something in c++ and I have noticed that from time to time I do have a sequence of identical instrucions, the only theing that differs on how many variables they are applied.
Ex:
obj1.f1();
obj1.f2();
map.insert(obj1);
obj2.f1();
obj2.f2();
map.insert(obj2);

...
Sometimes only one object goes through that sequence, sometimes two, three or four. How can I make a function that can make a variable number of arguments? Put those in a vector? Make a function with default null values and check if anything was passed? Arguments list like in printf?
>>
>>58515466
template <typename ...Ts>
void func(Ts...)
{
}
>>
>>58515466
You CAN do variable arguments but it's ugly as all sin and you should probably just make a vector if you can. If you care deeply about performance then maybe use lists on the stack and iterators
>>
>>58515325
and setting an initial value to everything would just silence the compiler in the same way as -Wno-sometimes-uninitialized does, so you're not better off for it except that you make it look like the initial value has some kind of meaning
>>
Wew. The age of probabilistic programming is upon us.

https://arxiv.org/pdf/1701.03757v1.pdf
http://edwardlib.org/
>>
File: pleases.jpg (38KB, 436x719px) Image search: [Google]
pleases.jpg
38KB, 436x719px
>>58515115
fug.

loadMat4
definition didn't have
Shader_Base::
in front of it.
Wew, what a ride.
>>
>>58515508
Gotta love dat C++. Thank god my editor catches errors like
struct Foo {
int x;
int thing ();
};

// forgot Foo::
int thing () {
return x; // error!
}


How did you compile loadMat4() without being in the class? If it never accessed any class fields or methods, what's the point of it being in a class?
>>
>>58515466
Depends exactly what you want to do, but with fold expressions it's easy to handle arbitrary numbers of arguments.

#include <iostream>

using namespace std;

void foo(auto... a) {
cout << (a + ...) << endl;
}

int main() {
foo(2, 3, 4); // Prints 2+3+4 = 9
}
>>
File: 1308187325677.jpg (21KB, 211x294px) Image search: [Google]
1308187325677.jpg
21KB, 211x294px
Why does /g/ hate Scala?
>>
>>58515552
jayy veee emm
>>
>>58515536
>How did you compile loadMat4() without being in the class?
ask GCC.

>what's the point of it being in a class?
All this is tutorial code. I don't have time to think to ask questions until all the boilerplate is done.
>>
What colorscheme does /dpt/ use?
>>
>>58515557
Name a faster functional language environment than Scala/JVM
http://benchmarksgame.alioth.debian.org/u64q/haskell.html
>>
>>58515589
benchmarksgame is shit m8
>>
File: SCR_1484589256.png (133KB, 889x775px) Image search: [Google]
SCR_1484589256.png
133KB, 889x775px
>>58515584
base16-ocean dark

https://chriskempson.github.io/base16/#ocean
>>
>>58515496
how about not writing shit code?
>>
>>58515225
It's the one that we are using for my course what should I use instead
>>
>>58515589
C++
>>
>>58515607
eww those ugly colors with contrast like shit it's like you hate yourself or something you edgy fuck.
>>
>>58515646
>look mommy i wrote this beautiful fizzbuzz with no spurious compiler warnings
>>
>>58515607
nice contrast lmao
>>
>>58515674
:^)
>>
Can someone give a good example of code where it makes sense to leave a variable uninitialized in a place that GCC thinks is unsafe?
>>
>>58515589
ocaml
>>
>>58515697
   int x, f, y;
f = foo ();
if (f)
x = 1;
y = g ();
if (f)
y = x; /* 'x' may be used uninitialized */
return y;
>>
is python rather programming or scripting?
>>
>>58515759
Why would you write code like that?
Are you assuming that f always returns true? If so, then why check for it at all? If not, then this code is unsafe and GCC is correct in warning about it
>>
>>58515771
Who cares?
>>
>>58515771
It's good for scripting, some people make large programs with it and then spend their time debugging because there's no compiler to catch mistakes.
>>
>>58515771
scripting is programming
>>
>>58515783
you're an idiot
>>
>>58515783
I've seen php code like that in production. It's fun when the logs are full because somewhere some variable is used uninitialized and php allows it.
>>
>>58513385
042, also link?
>>
>>58515820
Reverse it, this pic is everywhere.
>>
>>58515806
there is no use in forcing variable initialization in cases where it doesn't make sense, with an incompetent developer it would still lead to bugs, C/C++ should allow the developer to shoot himself in the foot
>>
what's the licence that says "you can use this code for none-profit open source shit but for everything else you need a permission"?
>>
>>58515856
GPL
>>
>>58515856
GPLv3 comes close, but it still allows you to make a profit.
>>
>>58510700
50%, can we stop these shitposts?
>>
>>58515876
it's not 50% you fucktard
>>
>>58515856
Why are you considering a freedom-limiting license?
>>
>>58515870
That's wrong, GPL allows monetizing a project.
>>
>>58511999
I haven't watched the anime, but the one-punch man manga is good. It is funny an lighthearted, but still scratches that manime itch.
>>
>>58515896
because Im a fascist and dont like it when someone else earns money with my work, which is not a library or something similar midware (?).
>>
>>58515912
why do you want such a cancerous license anyway? it counteracts the point of open source, it prevents most people from making use of the code except for some pathetic amateur neckbeards
>>
>>58515935
I wasn't the person asking, I'm just saying that suggesting GPL doesn't fit the criteria because it allows for commercial use granted the source code modifications are provided.
>>
>>58515928
>my work
it's not your work if you've taken contributions from the open source community. you can't have your cake and eat it too.
>>
>>58515928
Disgusting.

In the interest in producing the most common good, you should allow anyone and everyone to reap the most possible benefit from your code, if you choose to share that code publicly.
>>
>>58515928
what about https://creativecommons.org/choose/
>>
>>58513331
rollerinoing before mods delet this
>>
>>58515959
fair enough, but so far its only me

>>58515973
common good? Im not a fucking gommie collectivist.
>>
>>58516017
>before mods delet this
>it's been 4 hours
>she doesn't know about http://better-dpt-roll.github.io/
>>
>>58516030
>She
Did you just assume xer gender?
>>
>>58516030
>she
>>
>>58516041
>xer
Did you just assume it's species?
>>
>No, there is no such license. And there cannot be. The ability to sell the software is a crucial part of the Open Source Definition. Any license that prohibits selling is by definition not Open Source.
why are fosstards so insufferable
>>
>>58516136
>its
Did you assume their singularity?
>>
>>58516136
>species
Did you just asummed it's protein based organism?
>>
tfw no good programmer bf to bully me and force me to wear knee socks and suck his cock
no homo though
>>
>>58516197
>Did you just asummed
Did you just assume you know english?
>>
how make doubly linked list in C
>>
>>58516267
>Do my homework for me
>>
>>58515856
Just take the MIT license and remove the sell part.
>>
>>58516285
I just dont understand what to do
>>
>>58516298
Then go do something you're good at instead of pretending and having other people do your work for you
>>
>>58516294
I went with the creative commons. that looks pretty ideal
>>
>>58516307

I'm just trying to learn man
>>
>>58516307
im good at wearing girly clothes
>>
>>58516329
a..are you me? want to hang out?
>>
>>58516307
Stop being mean
>>
>>58516360
cute
>>
File: Selection_027.png (10KB, 449x92px) Image search: [Google]
Selection_027.png
10KB, 449x92px
a script that randomizes one of my fetishes + one or two minor turn ons until that particular combination of tags have results on e621, and returns the url for the search
>>
>>58516394
too bad its just scat furry and ponies
>>
>>58516360
disgusting
>>
>>58516408
well, yes, those are my fetishes
>>
>>58516437
>>>/trash/
And stay out of my mulp
>>
>>58516267
Can anyone help
>>
>>58516593
yes, delete your windows folder. its been known to cause compiler bugs
>>
>>58516593
Wikipedia can help
>>
>>58516607
What is your problem
>>58516611
I didn't find anything
>>
>>58516593
google.com?q=learn+c
>>
>>58516593
https://www.google.com/search?q=linked+list+how
>>
>>58516629
what problem? i'm just trying to help breh
>>
>>58516635
>>58516630
Fine you guys are right I give up
I'll never fucking figure this out and I'll never stop being a neet
I just cant fucking wrap my head around this, its so unfair.
>>
>>58516267
what language?
>>58516658
yeah, you're probably ratarded
might as well just give up
>>
New thread:

>>58516662
>>58516662
>>58516662
>>
>>58516658
If you have people do your homework for you, even something as simple as a linked list, you'll sure as fuck never figure it out.

Read a book, nigger
>>
>>58516658
There's literally a page explaining our in excruciating detail for c at the bottom of the page. Please, get off the computer.
>>
>>58516687
It's not homework though
>>
>>58516701
Where?
>>
>>58516758
Doesn't change the fact that you need to take care of shit yourself for once in your life if you want to learn something
>>
>>58516775
Why are you making all these assumptions?
>>
>>58516758
its really fucking simple anon
you shouldnt even need help
try thinking it through once again
you can do it!
>>
>>58516774
I'm done helping a retard who can't click a link that was spoon-feed to him and bother to read all the 20 titles.
>>
>>58516701
>for C
What? It's all Ada
>>
>>58516786
Because you've shown that you can't complete the simplest of tasks.

You need your hand held through a google search and reading Wikipedia, and even that isn't enough apparently.
Wake up.
>>
>>58516797
In a better world, maybe.
>>
>>58516818
In a very verbose and needlessly descriptive imaginary world, perhaps. End message.
>>
>>58516826
> Needlessly descriptive
Can't agree with you about that
>>
>>58516895
Just look at the Ada hello world:

with Text_IO; 
use Text_IO;

procedure hello is
begin
put("Hello World");
end hello


That's 7 goddamn lines.
Even the Java hello world is only 5 lines, and that's one of the most verbose languages I know.
>>
>>58516774
https://www.cs.cmu.edu/~guna/15-123S11/Lectures/Lecture11.pdf
>>
>>58516758
if you don't need to know specifically how to implement a doubly linked list then maybe you should look for a different solution because usually it's better to use an array
>>
>>58517051
>Ananda Gunawardena
lmao
>>
>>58516968
#include <stdio.h>

int main()
{
puts("hello");
return 0;
}
>>
>>58517051
This is b8
>>
>>58517194
Except C doesn't need two statements to import a library, and the common style is to put the opening brace on the same line.

But if you want to play the silly coding conventions game we can do that:

extern void puts(); main(){ puts("hey");}
>>
>>58517250
i didn't read through it all but what could be so bad about it? it explains doubly linked lists, doesn't it?
>>
>>58517292
The use statement is equivalent to namespaces in c++, it's not to import, and that C code follows many people's standards. You bright up the line count argument.
>>
>>58517341
>ananda gunawardena
>>
>>58517435
how does it feel knowing that pajeet knows more than you about linked lists
>>
>>58517484
I dont even know what a linked list is on a fundamental level
what the FUCK is it
what the fuck is a node
what the fuck is a pointer
what the fuck how do I make one? can you make one?
>>
>>58517537
>what the FUCK is it
>what the fuck is a node
>what the fuck is a pointer
>what the fuck how do I make one? can you make one?

how do you expect to even compile such a program when you know so little?
>>
>>58516041
no, it's ok. I have a feminine penis.
>>
>>58517537
it's a data structure. like imagine a bunch of train carts that are linked together. you can put things in each train cart and you can traverse the train by going from one cart to another.
>>
File: assign.gif (20KB, 211x184px) Image search: [Google]
assign.gif
20KB, 211x184px
>>58517537
>what the fuck is a pointer
http://cslibrary.stanford.edu/104/
>>
>>58517889
Thanks for helping I really appreciate it
When I asked for help on this I wanted an explanation like this not for people to code for me
Thread posts: 341
Thread images: 22


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.