[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: 328
Thread images: 35

File: poo-in-loo.jpg (327KB, 2000x1000px) Image search: [Google]
poo-in-loo.jpg
327KB, 2000x1000px
Super Poo in Loo edition

Previous thread: >>56598460

What are you working on?
>>
>>56604862
First for D
>>
Second for C++ is trash.
>>
Still waiting on that guy to tell me what his preferred language is.
>>
>>56604862
Trying to get a simple demo app working on the Apple watch... Apparently it's more common with Apple for stuff to not "just work"
>>
I just want non-static variables in interfaces in Java. Is that too much to ask?
>>
Finally found a paper that relates internal parametricity with univalence. Brilliant.
>>
File: hereyougo.gif (88KB, 10000x10000px) Image search: [Google]
hereyougo.gif
88KB, 10000x10000px
What should my bot on http://akaribbs.mooo.com/board.cgi do? It has like 4 commands but they don't do much, what would some useful or interesting things it should do?
>>
>>56604922
>I just want non-static variables in interfaces in Java. Is that too much to ask?
abstract classes exists you fucking autist.
>>
>>56604922
While that is conceptually perfectly fine, Java interfaces are a leaky abstraction over vtables. Too bad!
>>
>>56604901
English
>>
File: halp.png (26KB, 1232x382px) Image search: [Google]
halp.png
26KB, 1232x382px
>>56604862
What am I doing wrong? trying to multiply stock value to commissionRate1 but my main problem is that I get the result of that as a scientific number... which is wrong.
>>
>>56604940
But multiple inheritance
>>
>>56604968
anon pls.. beg of you, if anyone can answer the question to me, I finish up. ;_;
>>
What's a good IDE for Mac similar to Visual Studio? I know next to nothing on IDEs but back in high school I learned a good bit of VB.net. I liked being able to draw a program, drag and drop radio buttons and all that and coding each piece. Is that an exclusive thing or am I just retarded
>>
>>56605103
Visual Studio Code.
>>
>>56604968
where is postSale_Commission defined? You're doing all your math to get original_Commission, but then printing postSale_Commission.
>>
>>56604968
Stream formatting. Include iomanip. Read about it.
>>
>>56605153
Goddamn it.
>>
>>56604992
Make an abstract class that implements multiple interfaces.
>>
>>56605168
>iomanip
What an absolute joke. C++ iostreams are pants-on-head retarded.
>>
Does this look like a nice layout for code tags?

>>56604936
Do you have input validation fixed yet?
>>
>>56605227
breddy gud :DDDD
>>
File: Screenshot_20160830_132903.png (207KB, 1366x768px) Image search: [Google]
Screenshot_20160830_132903.png
207KB, 1366x768px
>>56605227
Somewhat, it is kind of a crude fix but I am working on it right now. And what kind of commands do you want? I can do something like "!uptime" that can show you the how long that site has been up or something. Anything for you based Akiramod. Also, why not make the font black, the gray doesn't look all that appealing.
>>
File: 1434104515136.jpg (19KB, 500x500px) Image search: [Google]
1434104515136.jpg
19KB, 500x500px
Playing around with an extremely simple binding in JavaScript.

Starts off with HTML that has some data attributes:

<h1 data-binding="title innerHTML">hello</h1>
<p data-binding="tags innerHTML">tag1, tag2, tag3</p>


View model just needs to call generateDocumentBindings() and wrap the results in properties. Implementation of generateDocumentBindings() about 10 lines right now. You could also just use the results of generateDocumentBindings() directly if all of your properties are trivial.

class ViewModel {

constructor() {
this._view = generateDocumentBindings();
}

// Trivial property.
get title() {
return this._view.title;
}
set title(x) {
this._view.title = x;
}

// Non-trivial property.
get tags() {
return this._view.tags.split(", ");
}
set tags(x) {
this._view.tags = x.join(", ");
}
}


Update the model with whatever:

let model = new ViewModel();
model.title = "goodbye";
model.tags = ["a", "b"];


HTML would end up being transformed to the following:

<h1 data-binding="title innerHTML">goodbye</h1>
<p data-binding="tags innerHTML">a, b</p>
>>
>>56604894
why are people in /dpt/ so adamant about this? it's not hugely used in industry anymore; you're beating dead a horse.
>>
>>56605103
emacs and lots of add ons
>>
>>56605292
There have been a lot of Sepplesfags on here lately.
>>
>>56605308
C++ is good for perforamnce
>>
>>56605322
C++ does a whole bunch of shit that is terrible for performance.
>vtables
>exceptions
>object code bloat
etc.

inb4 "my subset of C++" argument.
>>
My editor for creating mediawiki tables is coming along nicely.

The last few days have just been focused on getting keyboard controls working. I got shift+arrow keys for highlighting cells working yesterday. It took me several tries to get the behavior right.

Today I added a little status bar at the bottom to tell you if you've successfully exported your table's markup to your clipboard.

I also made it show you a little helpful editing tip every few seconds while idle, but I'll probably take it out because it's distracting seeing the message change out of the corner of your eye.
>>
>>56604888
You're always first for D
>>
>>56605335
How would you accomplish what vtables do more efficiently?
Exceptions are zero-cost unless thrown, and they shouldn't be thrown under normal conditions (obviously).
"Code bloat" is only an issue on the most minimal embedded platforms.
>>
>>56605335
>muh uncommon subset of C++ is terrible for performance
>inb4 "muh subset of C++" argument
>>
File: 1463833624382.jpg (1003KB, 4500x4334px) Image search: [Google]
1463833624382.jpg
1003KB, 4500x4334px
>>56605168
>turned io from simple and clean format strings into nasty OOP state machines
bjarneeeeeeeeeeeeeeeee
>>
>>56605352
huge binaries are bad for performance too
>>
>>56604862
>just realized my VM doesn't have a way to store doubles
My data segment is just one large int array. I could add another array for doubles, but I'd rather avoid that. Would there be any kind of alternative?
>>
>>56605388
https://en.wikipedia.org/wiki/Single-precision_floating-point_format
>>
>>56605366
When discussing languages, it only makes sense to discuss the language as a whole.

>"Code bloat" is only an issue on the most minimal embedded platforms.
>What is an instruction cache?

Another thing that C++ does that is terrible for performance is
>Not having restrict pointers.
>>
>>56605335
>vtables
So don't use virtual functions

>exceptions
So avoid exceptions unless you really need them, in which case your shit is breaking and performance no longer matters

>object code bloat
Elaborate pls
>>
>>56605409
I forgot my other (You): >>56605352
>>
>>56605388
why couldn't you jsut store the double in the int array
>>
>>56605409
>what is i-cache prefetch
The i-cache gets thrashed by branch misprediction, not lots of straight-line code. Not to mention you get the exact same thing in C if you use macros to simulate templates for generic programming.
>>
>>56605409
>when discussing languages, it only makes sense to talk about the least common and most expensive features

You're an idiot. I said C++ is good for performance.
Which language did you have in mind? C? Assembly? FORTRAN?
>>
File: 1374574508775.jpg (29KB, 499x500px) Image search: [Google]
1374574508775.jpg
29KB, 499x500px
>>56605416
And there is the "my subset of C++" argument.
>Elaborate pls
C++ templates cause shitloads of object code to be generated. All of this object code fucks over your instruction cache.
>>
>>56605409
>not having restrict pointers
Every relevant C++ compiler has a restrict extension
>>
Is D better than C++? Does anybody use D? I mostly want to use it to make penis jokes, but it would be nice if it was a good language too.
>>
>>56605292
>>56605308
>>56605335
Do what you need to get the job done.

Also every OS is written in C, C++
Python on occasion in linux.
>>
>>56605278
>!uptime
How would that work?

Also, I made the font slightly darker.
>>
>>56605444
>not doing expensive things when they're not needed doesn't count as using C++
???
>>
>>56605444
>And there is the "my subset of C++" argument.
Not him, but we were discussing the performance of C++.
We aren't discussing that every fucking feature in C++ is on the same performance terms, and it's ridiculous that you ONLY want to talk about virtuals and exceptions, the latter being VERY uncommon, and the former being used in limited circumstances.

and EVEN WITH exceptions/virtuals, it's faster than most other languages.

>>56605453
Nicer to write in than D
>>
>>56605479
*than C++
>>
In my directory i have 1000 images:
1.png
2.png
3.png
....
1000.png


how do i remove the images from 250 to 750 with a script?

pls help
>>
>>56604862
Just wrote a vanilla wow fishing bot in Clojure as my first post-fizzbuzz program, because clearly I am the kind of person who would use a bot on a wow private server which already allows you to vote for gold. Then again, it's really satisfying to watch while it's working.

It activates the fishing rod by pressing the correct key, checks screen pixels to find the bobber by looking for unusually red areas, moves the cursor to the bobber, and shift-right-clicks when it detects a large change in alpha. Rinse and repeat.

I was positively surprised by how easy it was desu. Using Java libraries was super-straightforward. Being able to use Java libraries like java.awt.robot in a language that isn't a horrible clunky monstrosity was really neat.
>>
>>56605509
>a language that isn't a horrible clunky monstrosity
>Java
>>
>>56605444
So your argument is that C++ is bad for performance because some of its features do not perform optimally. If you're correct, this means one of two things

>C++'s implementation of said features is shit
or
>C++ programmers do not understand the performance implications and tend to use features that slow things down

Which one is it?
>>
>>56605509
>I'm totally not paid by oracle
3 beans have been added to your account
>>
>>56605509
>>56605513
disregard that i suck cocks
>>
>>56605453
It's a nice language, tons of great features, cleaner syntax than C++, (almost) optional GC.
>>
>>56605111
>>56605305
Unless I'm missing something VS code doesn't have the drag and drop application stuff, are there add ons for that?
>>
>>56605526
Learn to read faggot. He's talking about a JVM language, not Java itself. He even called java a horrible clunky monstrosity
>>
>>56605566
>i totally hate java too guys! but those libraries, i'd pay for those
>>
>>56605507
BUMP

BUMP
>>
>>56605587

But there are lots of good libraries :^)
>>
>>56605507
[250..750] `forM_` ((\x ->removeFile (show x ++ ".png"))
>>
File: 1472481178028.png (135KB, 421x248px) Image search: [Google]
1472481178028.png
135KB, 421x248px
>>56605507
>>56605623
We won't do your homework today pajeet, sorry
>>
>>56605587
Hey, I'm less likely to be sued by oracle than google.

Either way, I'm making a Tinder auto-swiper next (which actually swipes instead of clicking). Reusing code from the fishing bot should be straightforward.
>>
>>56605641
is that haskell?

i dont have that installed

could you do it in python or perl ?
>>
>>56605470
Idk, most likely just take the first day it started, subtract it by the day that the command is called
>>
>>56605691
No.
>>
thoughts on sourcemaking.com?
>>
>>56605714
Never heard of it before but it's shit and you shouldn't use it
>>
File: 1455583175374.jpg (43KB, 319x310px) Image search: [Google]
1455583175374.jpg
43KB, 319x310px
for n in range(1, 101):
if n % 15 == 0:
print "FizzBuzz"
elif n % 3 == 0:
print "Fizz"
elif n % 5 == 0:
print "Buzz"
else:
print n
raw_input()

Am I good enough to get a job now?
>>
>>56605752
Rewrite this to use the writer monad
>>
File: Screenshot_20160830_195454.png (124KB, 1366x768px) Image search: [Google]
Screenshot_20160830_195454.png
124KB, 1366x768px
>>56605752
>still uses python 2
>stuck in the past
>"Don't call us, we'll call you"
>>
File: spain-fs8.png (582B, 402x402px) Image search: [Google]
spain-fs8.png
582B, 402x402px
>>56605752
>Am I good enough to get a job now?

No. write a program that can detect infinite loops in a program
>>
>>56605783
>>"Don't call us, we'll call you"
('quote Who's quote are you quoting?)
>>
File: pqnrIYC.jpg (330KB, 1366x768px) Image search: [Google]
pqnrIYC.jpg
330KB, 1366x768px
>>56605798
The interviewer
>>
File: 1426215292974.jpg (90KB, 640x610px) Image search: [Google]
1426215292974.jpg
90KB, 640x610px
>>56605792
This

it's a common interview question, if you can't do it you may as well not apply
>>
File: 1463604832914.png (238KB, 517x855px) Image search: [Google]
1463604832914.png
238KB, 517x855px
>>56605792
>>56605783
>>56605769
I'm only here to share big laffs m8s
pls no bully
Would you like to see another of my scripts? It's sure to give you a big laff of your own.
>>
>>56605845
s4s write programs as well as they tell jokes

not very well
>>
In python, is there a way to me to extract values from a string using a left and right boundary?

value = find(string='how would one find this',
left_bound='how',
right_bound='one')
// value = ' would '
>>
So I'm moving into management my dudes.

I was ready to fucking kill myself if I had not been promoted.

So there's one more programming position open out there in the American economy for you younger guys.
>>
>>56605893
>In python, is there a way to me to extract values from a string using a left and right boundary?

yes. just a write a function that does that
>>
File: 1461021755770.png (164KB, 286x621px) Image search: [Google]
1461021755770.png
164KB, 286x621px
>>56605867
exactly
usernumber = raw_input("enter a number and I'll tell you if it is a prime number or not. Use only integers.")
number = int(usernumber)
def isPrime(num):
if num == 2 or num == 3 or num == 5:
print str(num) + " is a prime number."
elif num % 5 == 0:
print str(num) + " is not a prime number."
elif num % 3 == 0:
print str(num) + " is not a prime number."
elif num % 2 == 0:
print str(num) + " is not a prime number."
else:
print str(num) + " is a prime number"

isPrime(number)
raw_input()

feast your eyes on my monstrosity
>>
>>56605444
Runtime perf is the only perf that matters and templates are zero overhead when it comes to runtime.

>fucks over your instruction cache
This says nothing, doesn't even make sense, I'll fuck over your mother.
>>
>>56605953
49
>>
trying to do this on arduino. how do I make it so I press a momentary button and each time it cycles through an array of functions, where the functions are driving my motors? Pretty much presets for motors
>>
>>56605953
ebin :DDDDD
>>
>>56605995
you just fucking program it it's not that hard
>>
File: 1468736955415.png (33KB, 167x265px) Image search: [Google]
1468736955415.png
33KB, 167x265px
>>56605984
fixed :^)
usernumber = raw_input("enter a number and I'll tell you if it is a prime number or not. Use only integers.")
number = int(usernumber)
def isPrime(num):
if num == 2 or num == 3 or num == 5:
print str(num) + " is a prime number."
elif num % 7 == 0:
print str(num) + " is not a prime number"
elif num % 5 == 0:
print str(num) + " is not a prime number."
elif num % 3 == 0:
print str(num) + " is not a prime number."
elif num % 2 == 0:
print str(num) + " is not a prime number."
else:
print str(num) + " is a prime number"

isPrime(number)
raw_input()
>>
File: 1454958486752.png (132KB, 399x287px) Image search: [Google]
1454958486752.png
132KB, 399x287px
>>56604862

Are there any books, videos, or sites (even blogs) out there that look into good code and break down - line by line or portion by portion - what is being done and why it's being done the way it is?

I'm looking for great examples of code that also teach you the why behind it. Language doesn't matter.
>>
>>56606108
wow
this passes all the unit tests
>>
>>56606108
121
>>
>>56606149
>Unit tests
>Not formally proving your programs to be totally correct
>>
>>56606208
that sounds too much like academics and not enough like Enterpriseâ„¢
>>
>>56606222
Enjoy your incorrect programs.
>>
File: 1452245969877.gif (953KB, 330x300px) Image search: [Google]
1452245969877.gif
953KB, 330x300px
>>56606168
Now your just making me sad
perhaps its time I gave up
>>
File: 1443385509661.png (568KB, 929x700px) Image search: [Google]
1443385509661.png
568KB, 929x700px
https://docs.oracle.com/javase/8/docs/api/index.html?overview-summary.html

>four thousand two hundred and forty (4240) classes
>>
File: unit testing framework.jpg (52KB, 600x373px) Image search: [Google]
unit testing framework.jpg
52KB, 600x373px
>>56606240
usernumber = raw_input("enter a number and I'll tell you if it is a prime number or not. Use only integers.")
number = int(usernumber)
def isPrime(num):
if num == 2 or num == 3 or num == 5 or num == 7 or num == 11 or num == 13 or num == 17 or num == 19 or num == 23 or num == 29 or num == 31:
print str(num) + " is a prime number."
elif num % 31 == 0:
print str(num) + " is not a prime number"
elif num % 29 == 0:
print str(num) + " is not a prime number"
elif num % 23 == 0:
print str(num) + " is not a prime number"
elif num % 19 == 0:
print str(num) + " is not a prime number"
elif num % 17 == 0:
print str(num) + " is not a prime number"
elif num % 13 == 0:
print str(num) + " is not a prime number"
elif num % 11 == 0:
print str(num) + " is not a prime number"
elif num % 7 == 0:
print str(num) + " is not a prime number"
elif num % 5 == 0:
print str(num) + " is not a prime number."
elif num % 3 == 0:
print str(num) + " is not a prime number."
elif num % 2 == 0:
print str(num) + " is not a prime number."
else:
print str(num) + " is a prime number"

isPrime(number)
raw_input()


foolproof
>>
>>56606264
String literals are not modifiable.
Change
char *file = "nigger.txt";

to
char file[] = "nigger.txt";
>>
>>56606258
>>56606108
I'm actually kinda curious how someone would write this the correct way
>>
>>56606291

Was just about to post this, but he deleted his post, so I guess he figured it out himself.
>>
>>56606302
nubBy (\x y -> (gcd x y) > 1) [1..]
>>
>>56606291
>>56606311
whoops

import Data.List (nubBy)
primes = nubBy (\x y -> (gcd x y) > 1) [2..]

main = print (take 100 primes)
>>
>>56606291
>>56606303
is it better if I malloc a new string?
>>
>>56606343
No. Stack-allocated is fine, unless your string is really fucking long.
>>
>>56606358
im talking about if the getfn func should return a malloct
>>
>>56606378

No?
>>
whats the benefit of making all bytes 0 with calloc?
>>
>>56605507
for i in list(range(250,750)):
removeFile(str(i) + ".png")

def removeFile(filename):
# code to remove filename
>>
>>56606445
Makes all bytes equal by reducing them to the lowest denominator
>>
>>56606445
If you somehow leak the data in the buffer to the user it will be zero'd instead of potentially containing sensitive data.
>>
god danm it, I love man
>>
>>56606513
I mean the manpages
every c standard function is there
>>
>>56606445
If you need the data to be all 0's as a precondition.
>>
Programming is being destroyed as a profession because anybody can join regardless of ability.

We need to form a guild.
>>
so, is the goal in memory management to make it so that a chunk isn't freed when it is between other allocated chunks?
>>
>>56606575
Fuck off you fucking unionist
>>
>>56606258
def is_prime(n):
if n <= 1:
return False
elif n <= 3:
return True
elif n % 2 == 0 or n % 3 == 0:
return False
i = 5
while i*i <= n:
if n % i == 0 or n % (i + 2) == 0:
return False
i = i + 6
return True

>>
>>56606595
Fuck off capitalist pig.
>>
>>56606604

Socialism -- not even once.
>>
File: capture.png (8KB, 692x146px) Image search: [Google]
capture.png
8KB, 692x146px
>need to add functionality to my data collection clusterfuck frankenprogram
>just tack it on at the bottom like all the other things they wanted me to add
Why does being pajeet feel so good?
>>
>>56606604
>>56606635
don't derail thread pls
>>
Hey I'm just starting to learn C++ and get a fundamental knowledge of programming before learning a couple more languages.

I started with C#. There are probably more errors than just what I'm going to ask but.

How do I make a string array in c++? I just read in my book that I can use the < and > operators to compare strings alphabetically so I wanted to try bubble sorting a string array.

http://pastebin.com/HWhxi75B

Just fuck my shit up senpai
>>
>>56606768
Don't use C++ as your first language.
>>
>>56606768
#include <vector>

std::vector<std::string> v;
>>
>>56606768
vector<string>
array<string,amt>
string[]
string[amt]
>>
>>56606784
I'm going to keep at it, switching languages contantly is stopping me from learning. I need to stick with a language so I can learn patterns and stuff. I also need to know a language well enough to just be able to practice.
>>
Not sure if this qualifies for programming but are there any good guides/resources for Windows Powershell and writing batch files?
>>
>>56606861
it is programming
>>
>>56606859
>patterns
Snake oil
>>
>>56606575
Programmer is to the 21st century as Factory Worker was to 1960s baby boomers and Farm Laborer was to 3000 B.C. cavemen.

It's just the default job that every John and Suzie Q will do. The mouse and keyboard are our hammer & sickle.

It'll just be normal and implied that everyone graduating school knows how to write a for-loop just like it's implied that everyone graduation high school knows their multiplication tables. Technological literacy will be required right alongside English literacy because literally every job and everything you do in life will require interfacing with technology.

That's why it's inevitable for internet to become a public utility; you need a damn internet connection and email to even apply for a job. The Social Security Administration was going to move towards forcing people to log in with multifactor authentication via text message but changed their mind probably because old people don't know how to read text messages. Soon it'll be a de facto requirement that you have a smartphone to accomplish normal tasks like banking and shopping.

When all the other jobs are eliminated, it'll be pretty much the only job left, but then it'll be okay because literally business will need people who know how to read code so 80+% of humanity will be employed at some job that involves coding in some way.
>>
REACT MADE PROGRAMMING FUN AGAIN
>>
>>56606980
No it didn't, JS is shit.
>>
>>56606922
I just want to be able to make video games and not be the cuck of some engine without vaguely understanding whats going on. I don't want to enginedev myself, well maybe I might engine dev for a 2d engine or something, but I'm not someone who wants to rebuild the wheel from the ground up.

I just want to be a semi competent programmer so I understand when somethings not working right and I can try to fix it. I also want to be a good enough programmer that I can turn gameplay ideas into not shit code.

From what I've learned gameplay programming seems to be some basic bitch shit that you can design using only stuff in a standard library. Input, output, file management, and networking seem to be the gay hard stuff.
>>
>>56606989
It did for me.
>>
>>56606533
>every c standard function is there
A few of the C11 ones aren't there, but there are only a few (non-annex K) ones, so it's not a big deal.
>>
If I made a bot for /g/ that responds to replies that start with an exclamation point, what commands would you want it to have?
>>
>>56607327
Bots are against the rules.
But !loli
>>
>>56607343
I know, this is completely hypothetical, and what would !loli do?
>>
>>56607364
!loli was an command for some bot on Rizon #news. It gave the person a random number of lolis (or maybe took some away) and could be done once a day. You could see some people with the thousands of lolis they had collected. It requires persistent usernames to work though.
Maybe you could make it post a picture of a cute anime grill.
>>
>>56607327
https://wiki.haskell.org/Lambdabot
>>
>>56606513
>>56606533
$ man strrev
No manual entry for strrev


>>56606635
ky anarcho-statist-militarist-christian-liberal-conservative-libertardian-neoliberal-racist-mart sharter
>>
>>56607405
lol thats fucking amazing. I wanna do something like that.
>>
>>56607095

You can just download a static archive of cppreference which includes C and C++ off for manpages.

http://en.cppreference.com/w/Cppreference:Archives
>>
File: Zed_chroma_bundle_1[1].jpg (9KB, 190x190px) Image search: [Google]
Zed_chroma_bundle_1[1].jpg
9KB, 190x190px
Is there any reason to use anything except nodejs? Chill with the memes for a second.

I only make simple scripts that move files or change the wallpaper every so often and i'm never going to learn more.
>>
Is there any modulo trick i could do to change the seed of
srand(time(NULL))
to a new value every 30 seconds instead of every second?
>>
>>56605507
rm -rf `seq -s '.png ' 250 750`
>>
>>56607816

Why can't you change the rate of your query from every second to every 30 seconds? Barring that, just store a value of srand(time(NULL)) and then refresh that value every 30 seconds.

Also, you better not be using srand for anything other than toy applications that aren't put into any practical use.
>>
Bill Bless
>>
>>56605509
>Shift-right click
Why don't you have auto loot enabled?
>>
>>56608126
How's your mom's basement?
>>
Guys I installed visual studio 15 community and selected everything because I didn't know what I needed and now it takes 20 mins to open.

How do I fix this?

Do you keep vs on a solid state drive?
>>
How are you supposed to install YouCompleteMe on vim?
>>
>>56608197
No, i'm pretty sure a complete VS install will eviscerate your write cycles on an SSD.
Just install linux like everyone else, dummy.
>>
File: 1473729336924.jpg (4KB, 267x93px) Image search: [Google]
1473729336924.jpg
4KB, 267x93px
>https://commons.wikimedia.org/wiki/File:Point_in_polygon_problem.svg
// http://stackoverflow.com/questions/3437404/min-and-max-in-c
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define MIN(x, y) (((x) < (y)) ? (x) : (y))


>needing stackoverflow to figure out min and max
>>
>>56608326
You gotta start somewhere.
Also, at least he's trying to understand how to do it instead of going their entire career relying on hundreds of one-line libraries because you don't trust yourself enough to write a goddamn leftpad function.
>>
>>56606861

ss64.com for both of them. I recommend not ever writing a batch script if you can avoid it, however. Powershell should cover ALL of your Windows scripting needs, if you are not using a third party scripting language like Ruby or Python, or even Bash.
>>
>>56608170
Yeah it's alright I think I prefer your mum's moist and loose arsehole though really feels great wrapped around my 4'' stick of meat
>>
>>56608539
I used VBScript at work >:)
>>
>>56604922
You realize the whole reason interfaces exists, right? Multiple inheritance is much worse
>>
>>56608718
Inheritance is itself a poor model for software.
>>
>>56608727
OOP is itself a poor model for software.
>>
>>56608732
why?
>>
OK let's do some thinking /g/

You have an array with five arrays inside it

In those arrays you have a set of thirty documents randomly named

Your job is to read the files and determine their name (which is in their xml somewhere), sort each array, and then append them into one big unbroken array by their alphabetic name, one array at a time

Which means that you must somehow store the true name of each file in a manner associated with them, then sort that array alphabetically and match it back to its original name.

What if we, after determining their name, added them as a tuple to the buffer array, sorted, then have their names that way? That would work!

thanks for your help /g/
>>
>>56608727
Not necessarily.

OOP is a poor way to design software, but there is nothing inherently wrong with inheritance, encapsulation, objects or polymorphism.

Sometimes these features are exactly what you need. It's the way software is designed that's wrong.
>>
Hi guys can you give me some mobile app ideas?
>>
>>56608769
It encourages shared state and leads to over-engineered designs that don't fit the problem and are hard to change later.
>>
>>56608732
I really like the original Smalltalk era concept of OO. Common Lisp's OO is brilliant too. The way C++ took Simula and mutated it into a mess and then Java cribbed it though...
>>
>>56608794
>hard to change later
the whole point of design patterns is so that you can literally throw out a module if the internals need to be redesigned.
If you seriously think that OOP or Java influences your ability to do this, you need to re-evaluate your career choices.
>>
>>56608670

At least it's not Batch. Although there are certainly better choices of scripting languages on Windows.
>>
>>56608817
In truth, it's a fair amount of legacy stuff and VBScript even today can be deployed and run pretty much with no permissions fiddling. I've considered supplanting them with PowerShell scripts, but PowerShell has some weird eccentricities which really turned me off it. Love the actual PowerShell itself though, piping around typed objects is pretty cool.
>>
>>56608813
Actually, the whole point of design patterns is to describe reoccurring patterns in software that overuses OOP. Typically, these design patterns are just trivial constructs not worth mention when you add features like first class functions.
>>
Why is object-oriented C++ so based?
>>
>>56608813
>the whole point of design patterns is so that you can literally throw out a module if the internals need to be redesigned.
Now your entire program is heavily reliant on the abstraction itself. If the abstraction itself is crappy (which most are), it becomes very hard to change it.
You end up building this tower of abstractions and objects which become incredibly difficult to change.
>>
>>56608773
maybe you are thinking too hard?
result = ary_of_arrays.flatten.map.sort { |f| name_from_xml(f) }

or i am not thinking hard enough
>>
>>56608844
nice meme
>>
>>56608842
I think you should see a therapist.
>>
>>56608773
While you could add them as a tuple, that would not necessarily be the best decision memory-wise.
How about you create a predicate function that compares against the hashed fully qualified name of both documents? The one that returns the more lexicographically significant value will be higher on a binary tree of documents.

For elements of equal size, you wouldn't have much choice but to retrieve and compare their filenames. But if you don't fuck up your hash function, you basically never have to do this.

>inb4 school assignment
Fucking sucks.
>>
>>56608853
(You)
>>
>>56608848
OOP is the meme here, mate.
It's practically the definition of a meme.
>>
>>56608855
>for elements of equal size
For elements with equal hash value.
>>
>>56608861
fascinating
>>
>>56608788
platform to connect programmers with idea people
>>
>>56608855
it's a small tree, only like 100 files so memory isn't really an issue

>>56608845
I wanted something a bit more tailored but yeah that's sortof what I got

for elem in categories[0]:
import xml.etree.ElementTree as ET
tree = ET.parse('index_data/'+elem)
root = tree.getroot()
ans=root[1][0][0][0].text
if ans[:4] == 'The ':
_buffer.append((root[1][0][0][0].text[4:]+'replaceme',elem))
else:
print(ans[:4])
_buffer.append((root[1][0][0][0].text,elem))

_buffer.sort()
>>
>be me
>4 years software development
>hired some guy with less than 3 years experience
>earns higher
>saw him everyday playing Clash Royale
>playing top music on spotify full blast in the office
>complains he's tired, sleepy and some shit
>doing other projects
I wanna punch this guy
and I'm a pussy
>>
who /c89 only/ here?
>>
>>56608796

>I really like the original Smalltalk era concept of OO
You would like either Ruby or Objective-C.

>>56608833

>weird eccentricities
Such as?
>>
>>56608905
and I can see I messed up the import here ofc
>>
>>56608908
Why would you limit yourself like that?
C99 and C11 (especially C99) adds a lot of very useful features.

Are you one of those fags who uses GNU89 and claims that they are using C89?
>>
>>56605461
Linux does *not* use C++ nor Python.
>>
>>56608948
No, he's the guy who still uses Visual Studio pre 2015's C
>>
File: 1333684005040.jpg (130KB, 475x355px) Image search: [Google]
1333684005040.jpg
130KB, 475x355px
>tfw you want to program something but all your ideas involve porn of some sort so its impossible to publicly show your work

I need more hobbies.
>>
>>56609044
this
I want to learn machine learning so that I can filter imagefap's picture set and have only the pics in which the grills are spreading their assholes
>>
why

int nigga(){
cout << nigga << endl;
}

when you can

int nigga()
{cout << nigga << endl;}
>>
>>56609082
Consistency.
>cout << << endl
Disgusting. How can anyone consider that acceptable?
>>
>>56609096
sorry\n
>>
>>56609044

So make a porn game and post the source on github. What's wrong with that?
>>
>>56609108
I don'<<t care >> about endl or << whatever<<.
iostreams>> are << ' ' << just fucking << stupid >>.
>>
>>56609044
>>56609116
just remember to zip up your data

I do that for my copyright-breaking projects, github doesn't give afuck
>>
>>56605335
>vtables
no better alternative. Don't want them? Don't use them.
>exceptions
-fno-exceptions
>object code bloat
I assume you mean the RTTI feature, -fno-rtti

Done, if you get rid of the STL you basically have C + classes and that's what we mostly use at my place of work (embedded).
>>
>>56609118
Any better or more hipster alternatives
>>
>>56609136
Practically every other language uses format strings.
>>
File: BtjZedW.jpg (43KB, 720x511px) Image search: [Google]
BtjZedW.jpg
43KB, 720x511px
>>56609082
>>
>>56609116

why? I can keep it closed source, promise users the world and ask for donations while doing nothing.
>>
>>56609142
What is that
>>
>>56609116
*senpai
>>
File: IMG_20160826_150959.jpg (72KB, 1334x750px) Image search: [Google]
IMG_20160826_150959.jpg
72KB, 1334x750px
>>56609123
This guy knows.
>>
>>56609161
printf
>>
Where do I start with programing?
>>
>>56609161
C
printf("Today is the %d%s of %s, %d\n", day, ordinal_indicator, month, year);

Python
"Today is the {}{} of {}, {}".format(day, ordinal_indicator, month, year)

etc.
>>
>>56609191
you don't
>>
>>56609191
you must start by believing in yourself
>>
>>56609191
https://docs.oracle.com/javase/tutorial/

don't let the memes get to you
>>
>>56609207
>don't let the memes get to you
>Posts the memeiest meme of all memes
>>
>>56609194
>>56609203
>>56609207
Which is harder, learning Japanese or programing?
>>
>>56609226
it's really easy to get basic programming knowledge just follow the java tutorial and you'll make simple programs within hours
>>
>>56609226
Japanese.
You can learn how to program in 2 weeks or less.
>>
Is Haskell a meme?
>>
>>56609226
Japanese though they're not really as synonymous
>>
When am I gonna start to see and imagine how a program works when I use one
>>
File: try this wat do.png (20KB, 773x246px) Image search: [Google]
try this wat do.png
20KB, 773x246px
Jesus christ I have spent an hour on this and am still fucking it up. Yes I know I should quit learning programming and kill myself.

This exercise wants me to print the letters a - z, print a tab between each letter, and print the corresponding number of that letter from the ASCII table after the tab. So I should have a column of letters beside a column of their corresponding ASCII numbers with a tab in between the columns.

I am really just not getting the hint in pic related, I don't know how I can start with 'b' so I wrote:

char i ('a');
while (i<='z') {
cout<<i<<'\t'<<i+1<<'\n';
++i;
}


Obviously this doesn't work because instead of printing the correct numbers, it prints that number +1. What is he hinting at in the pic? I feel like the answer is extremely obvious but I have suddenly developed Down Syndrome.
>>
>>56609241
If you have to ask...

>>56609237
Java tutorials are great for inaugurating the next generation of pajeets
>>
>>56609273
lelll welcome to C
>>
Do you really need to learn Java first instead of a more sophisticated language
>>
>>56609241
yes it's only trash tier 4chan weebs and reddit trannies that use it unironically
>>
>>56609286
>welcome to C
That is clearly C++.
>>
>>56609273
you arent using char in your loop

why
>>
>>56609292
that's what I said
>>
>>56608984
Yeah, the kernel obviously doesn't.
>>
>>56609298
(You)
>>
>>56609290
other languages aren't more "sophisticated" except for C++ but it's more like it's more complex, java is like a simplified version of C++ so it's "sophisticated" in that it's in a more distilled form

whatever language you start with, stay the hell away from python, haskell and any language below the top 3-4 here:

http://www.tiobe.com/tiobe-index/
>>
>>56609303
thanks I'll deposit that one in the (You) bank
>>
>>56609122
If you're going to break copyright while doing it, use gitgud instead. The owner gives no fucks about copyright.

>>56609160
Because that's what a cunt would do. A real programmer would strive to make the most content-filled porn game ever (not a very high bar, actually), and would respond to C&Ds from copyright owners by faxing them a picture of his hairy ass with the words "fair use" written on it with a sharpie.

>>56609170
It's a phoentic thing. You write it like senpai, but it's pronounced like sempai.
>>
>tfw my dad is teaching me Fortran and then COBOL
What am I in for?
>>
>>56609295
example?
>>
>>56609226
I spent a few years studying Japanese before I was actually able to speak it naturally. Programming is easier to pick up
>>
>>56609273
#include <stdio.h>

int main () {
for (int i=0; i<='z'-'a'; i++)
printf("%3d %2c\n", 97+i, 'a'+i);
return 0;
}
>>
C# or Python as first language?
>>
>>56609327

Some pretty ugly code... and a six figure salary.
>>
>>56609336
char([stuff in here])

>>56609348
a beginner wouldn't understand that
>>
>>56609352
c, and then python
im serious
>>
>>56609336
nvm i am shit at c
>>
>>56609369
im a beginner though
>>
>>56609320
That only counts for english words not japanese words like senpai

It can only be senpai because there is no vowelless 'm' kana aswell
>>
>>56609123
>no better alternative. Don't want them? Don't use them.
Your own sets of function pointers can be much more flexible (can do things like swap out sets of behaviors at runtime) and they can be more efficient because you can control object layout, sort them for efficient icache usage, etc.
C++'s vtables are pretty much the worst possible implementation of 'dynamic dispatch'.
>>
>>56609273
store the char value in an int variable
>>
>>56609369
>char([stuff in here])

in what context tho

I understand that "char('a'+1)" would print b for example, but where does that fit into my loop?

the trouble I'm having is getting the second column to be numbers without just adding an integer to the char to convert it into a printed number. I'm guessing he doesn't want me to do that and that he wants i = 'b' in some capacity, but I don't understand how
>>
>>56609387
You can still do that in C++, except that 99% of the time that's overkill and a vtable is good enough and much faster to implement.
>>
Is it possible to learn Machine Code or is that basically Autistic Savant tier?
>>
>>56609438
Machine code is basically assembly converted to assembly with some extra bits added. Only point in learning machine code is for pedagogical purposes than practical.
>>
>>56609438
Assembly is pretty much a 1 to 1 to machine code.
>>
>>56609438
https://www.youtube.com/watch?v=RZUDEaLa5Nw

That's what machine code is. Nothing autistic really, just time-consuming
>>
>>56609352
both are TRASH but out of those, C# for sure, python is max trash
>>
>>56609445
>>56609459
I just want to be pretentious about it.
>You know PHP? Hah, dumb pleb. I know MACHINE CODE like a true programmer :^)
>>
>>56609489
assembly is enough and won't make you look like a complete idiot or like you're just joking
>>
>>56609384

I'm not spelling it like it should be romanized. I am spelling it like it is pronounced. Yes, ã‚“ is traditionally romaniced as 'n', but it is pronounced as 'm' when followed by an 'm', 'p', or 'b' sound.
>>
File: mission accomplished.png (9KB, 966x486px) Image search: [Google]
mission accomplished.png
9KB, 966x486px
>>56609416
>>56609369
>>56609381

wait a second,
>>56609273 here

I solved it by doing this:

char i ('a');
while (i<='z') {
cout<<char(i)<<'\t'<<int(i)<<'\n';
++i;
}


So thanks to the guy who said to use char() in the body. Pic related, it Just Werks. But it seems to me he clearly was not intending for me to do it this way, so what was the actual purpose of the exercise? Is this a bad idea?
>>
>>56609373
Learning C first would make it much easier to understand whats going on with python, wouldn't it? I read that the python interpreter was written in C

>>56609487
How come? I thought c# was used quite a bit.
>>
does anyone else use microsoft word as an ide? I find the spell-check function and spacing options especially convenient
>>
>>56609518
wtf, is there no printf in sepples?
>>
>>56609489
>I just want to spend years of my life getting good at something so that I can be smug

strong priorities
>>
>>56609554
yes but the book I'm using is telling me to use cout for now, he hasn't even mentioned printf yet and I only know it from googling

it's Bjarne Stroustrup's Principles and Practice Using C++, day 1 programming intro book
>>
>>56609554
of course there is
>>
>>56609489
But machine code is just hexadecimal numbers like 0x45A9 or something. While in assembly that might be like ADD or JMP or whatever.

Anyone working with machine code (reverse engineering) will use something that displays the assembly instruction next to the machine instruction.
Remembering machine code instructions is as autistic as remembering PI to a 1000 decimal places.
>>
File: Satisfied whore.png (276KB, 726x610px) Image search: [Google]
Satisfied whore.png
276KB, 726x610px
>>56609555
Is there literally any greater purpose in life than being smug?

>>56609578
>as autistic as remembering PI to 1000 decimal places
Perfect.
>>
>>56609523
I'd say Python -> C -> Python revisited. The "extra" python in the beginning is very relevant to not get fed to the wolves in C and python after C allows you to understand just how comfortable it is
>>
>>56609518
>>56609569
also one reason I think my solution to the exercise might be a bad idea is because he spent half the third chapter on USE TYPE SAFETY WHENEVER YOU CAN IT'S POOR PRACTICE TO JUST CONVERT TYPES WILLY NILLY ALTHOUGH ACTUALLY MANY INTERESTING USES FOR PROGRAMMING WILL REQUIRE YOU TO DO THIS TO BE HONEST

so I think he might not want me to convert that char to an int for type safety reasons but I don't know why
>>
>>56609600
wait I just realized I'm not technically converting anything (am I?) because I'm not actually changing the value of the variable

what is going on here then
>>
>>56609592
python is fucking cancer you'll hardly learn anything with it, start with C# or java for sure, you'll learn much faster
>>
Coming from C... what exactly is the point of virtual functions/dynamic dispatch? I'm not really seeing the advantages. I've written a shit ton of code without them.

It seems like they're useful to "override" functions, but surely if your data structures are similar enough you shouldn't have to override anything (just cast) and if they're really different then chances are that function shouldn't be overridden in the first place?
>>
>>56609554
yes, but only for backwards compatibility.
It's considered bad practice for c++ for lots of people.
>>
>>56609578
>autistic
not to mention niche. Machine opcodes vary from processor to processor... they are sort of assembly independent, though Im sure if you knew the opcodes for the ATT assembly syntax on a fairly common chip, it would suffice for the largest number of processors (whatever percent that works out to be [less than 10%, I would wager])
>>
How do you do unit tests in C or C++?
Are they separate executables that link with your main code? do they have separate makefiles or makefile recipes?
>>
>>56609675
>unit tests
stick to your poo in loo lang pajeet
>>
MIPS is the most pleasant ISA to program for, but its popularity is waning, and I don't think Imgtec has the ability to bring it back from the dead. Feels bad man.
>>
>>56609699
How am I supposed to test my code than huh faggot?
>hur dur we'll just fix it when it arises in production XDDDDDDDDD
>>
>>56609715
you write the code well and run the application retard
>>
>>56609699
>Linux is poo-in-loo
>>
Back in my day when we had a code error we had to go over the entirety of our code to find it ourselves, nowadays you spoiled kids have it pointed out to you by your console. Bah.
>>
>>56609645
Using virtual functions is a hell of a lot cleaner, extensible, and less likely to result in bugs, than having half a dozen dynamic casts with the corresponding if/else or try/catch statements.
>>
>>56609724
>linux dev
>muh open source
>he does it for free
https://www.google.com/search?q=linus+torvalds+net+worth
>>
>>56609715
>than
>>
>>56609728
Please fuck off, luddite.
>>
I wish I could do
function(int a[b][c], n);

aka, make new arrays within the func application
>>
>>56608915
Ruby pretty decent
Objective-C is a shitshow, an aboslute shitshow
>>
Anyone got any experience with this site called Sololearn

Is it worth using, especially for a beginner
>>
>>56609771
never heard of it but it's most likely trash
>>
>>56609650
i still use s/printf and family over c++ fluff.

so much c++ stuff just annoys the hell out me compared to c.
>>
>>56609592
I think automatic memory management is bad for teaching as it abstracts to much away from what programming really is: manipulating data. Most people who've never used c/c++ don't know what the stack and heap are. They don't think about their data or how it is layed out in memory at all. Which is concerning since one if the biggest performance bottlenecks today is cache misses and bandwidth.

It isn't only the language's fault. Since teaching these days is much more focused on patterns than it is on algorithms. New programmers end up thinking to much about which objects to make and which fancy patterns to use than thinking about their data and algorithms.

But while c and to some extend c++ help with those problems, they're horrible when it comes to other stuff. I think what we really need is a cleaned up modernized version of C. Maybe something like unsafe Rust with raw pointers.
>>
>>56609782
it's called java

>inb4 dank memes
>>
>>56609645
OOP-tards will claim that virtual methods are mandatory to wrangle with inheritance. In my professional opinion, any solution that uses inheritance is garbage. Virtual methods are barely useful when you use composition (which is the only not completely retarded way to implement OOP)
>>
>>56609754
I miss compiling my code five different times until it finally just werks.
>>
>>56609793
>Java
>No automatic memory management
>No pajeet tier programming patterns.
No.
>>
I'm going to learn ARM.
>>
>>56609817
good for you
>>
>>56609776
It's pretty good actually

Now with your pessimistic mind you have to check it out now to confirm if your superstitions were correct or if you really do look negative at things in life
>>
>>56609857
It's a good job market.
I'm a phone dev, dad. No not landline, cellphone.
>>
>>56609863
Fuck off shill
>>
>>56609879
Ain't a shill, unless getting paid by developer jobs with programming learnt from that site counts
>>
>>56609886
So you're denying it? That's what a real shill would do.
>>
>>56609895
I'm denying it and unless you can come up with something other than 'guilty until proven innocent', don't expect a reply
>>
>>56609863
i'm not a newfag, i don't need to be spoonfed basic shit from some arbitrary proprietary website
>>
>>56609912
It's always about you ain't it

Is it good for a newfag though, my insightless friend
>>
>>56609769

I'll actually agree. Just saying that a smalltalk fan would enjoy at least one of them.
>>
>>56609916
i strongly doubt that it's particularly good for a newfag

what sets it apart from other websites?
>>
Hi, I'm going through Project Euler and got stuck on question 31, coin sums.

https://projecteuler.net/problem=31

Been working on understanding DP and recursion and only wrote a fib thing. I managed to get this to get me a solution.

coins = [1, 2, 5, 10, 20, 50, 100, 200]

def solve(n, l, sub=None, main=None):
"""
Staircase Branch Method?
"""
if sub == None:
sub = [0]
main = []
if n == 0:
main.append(sub)
return sub

for i in l:
if i <= n and i >= sub[-1]:
solve(n-i, l, sub + [i], main)
return main


I am looking back at it and I realise that I don't really understand it in terms of scope. How does the recursion call, even though it is not assigned to anything (as opposed to my fib DP where the return has the recursion call) actually affect the 'main' list variable?
>>
>>56609940
It has built-in compiler, and it has a phone app which also has the compiler feature so you can test and practice code where ever you are

Though I haven't used that many alternatives
>>
int arr[a][b] == calloc(a, b*sizeof(int))

??
>>
File: Capture.png (19KB, 1153x142px) Image search: [Google]
Capture.png
19KB, 1153x142px
Is there any way I can do this without installed yet more libraries?
>>
if _Bool is one bit, then what does sizeof(_Bool) return?
>>
>>56609975
It's possible to load functions yourself. But loading a few hundred functions is an insane waste of time. I think glad is the one that lets you generate a single header and source file you can just drag and drop in your project.
>>
File: 1473823644555.jpg (59KB, 496x501px) Image search: [Google]
1473823644555.jpg
59KB, 496x501px
>>56606604
>>
>>56610005
it has one bit of data but the size is most likely 1 byte, maybe 2-4 bytes on some weird ass platforms
>>
>>56606575
This profession is lacking in millions of workers if global jobmarket stats are to be believed
>>
so, is it ok to initialize a pointer to equal a malloc or calloc?
>>
>>56606575
this: >>56610091 and most people are just too goddamn stupid to be anything more than a codemonkey or a store clerk etc
>>
I want to rename a bunch of files in a directory they all have the correct name and file ending except they have a "k" before the ending.

So for example kak.gif, I want that to turn into ka.gif and then so on. I know I can do this somehow via linux terminal but I don't know what to search to try and solve this...
>>
>>56610184
Don't know about the terminal or linux, but for windows there exists bulk rename programs. They might exist for Linux as well.
>>
>>56610221
Yeah I know, but you can use a default terminal program that is used for checking if somethings name contains a different word or such then you should be able to pipe that to renaming or something....
>>
>>56609969
No.
int (*arr)[a][b] = calloc(a, b*sizeof(int))

should work though.

>>56610005
char is the smallest type, so sizeof(_Bool) will be at least 1.

>>56610100
Sure.
>>
New thread:
>>56610274
>>56610274
>>56610274
>>
So, learncpp is the only alternative to 1200+ page books right?
>>
>>56610007
glfw org/docs/latest/group__context.html (scroll down to glfwGetProcAddress because 4chan thinks it's spam if I include the full URL)
It kind of sounds like it's just a single function.
"This function returns the address of the specified OpenGL or OpenGL ES core or extension function, if it is supported by the current context."
>>
>>56605507
rm {250..750}.png
>>
hey /g/

in java, will calling a method accepting a String, with a char[] argument implicitly instantiate a String object, like in C++? e.g.

void foo(std::string str){ /* stuff */ }

foo("bar");
>>
>>56609309
How about Agda? Technically it's not below the the top 3/4 in that ranking
Thread posts: 328
Thread images: 35


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