[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: 320
Thread images: 32

File: 1480590811928.png (389KB, 934x1000px) Image search: [Google]
1480590811928.png
389KB, 934x1000px
What are you working in, /g/?

Old thread: >>59464779
>>
First for you can't make android applications without having java layer.
>>
>>59469028
just quoting my old problem for the new thread here. It has to do with how you turn a vector into a vector of vectors efficiently in C++

Also
I already will implement multithreading
Won't use UB
>>
>>59469295
It's kinda sensible actual. The sheer amount of malicious code on the play store should be enough to understand that.
>>
File: 1489873623964.jpg (67KB, 1000x1000px) Image search: [Google]
1489873623964.jpg
67KB, 1000x1000px
Can you guys give me some simple to hard gui and event handling exercises pls ??just write first thing in your mind. I need to learn this.
>>
why gtk3 doesn't provide windows binaries
>>
>>59469339
>implying security can't be accomplished without java
>installing applications you don't trust
>>
>>59469317
>Won't use UB
Why? It's more efficient.
>>
>>59469380
>installing applications you don't trust
Most people don't even consider trust.
>it can be done without java
Yes. But wouldn't it piss you off if you needed to use their api to do practically everything and use their data types. Using java as a wrapper is an easier solution.
It's a shame it hurts performance but for general app development it is a big plus.
>>
File: 1486001038517.jpg (159KB, 462x465px) Image search: [Google]
1486001038517.jpg
159KB, 462x465px
I'm a huge fucking loser and can't for the life of me remember anything I learn from any programming book. I can barely even do simple stuff like reversing strings without having to google, yet still I wanted to make a videogame, I've been doing the same thing for fucking 4 years now.

Please someone shout at me because I really need this fucking shit in my head.
I need to decide on ONE fucking programming language that's not complete garbage yet still easy to learn and gives instant results.
>>
>>59469243
First for Python.
>>
>>59469243
>For example, on a machine on which an int is represented as a two’s complement 16-bit integer, 0xffff is the negative decimal number −1. Had more bits been used to represent an integer, it would have been the positive decimal number 65535.
This is C++ Bjarne's book.
Lets say we had more bits.
0000 0000 0000 0000(0 is singed bit) 1111 1111 1111 1111
Should not this be 65536
2^16 = 65536.
Why did he mean 65535.
>>
>>59469439
You can never go wrong with C++.
>>
>>59469424
What did you mean by this? You should never write UB if you want good results. There's plenty of examples where some UB will simply render your code dead code.
>>59469439
C is very easy to learn and the results are quick. But I suspect you're the kind of person that worries about development overhead. So go with something that has better library interfacing. Any relatively modern language really. Even java (which is quite old now).
>>
>>59469430
>you needed to use their api to do practically everything and use their data types
If you do your app in java you still have to use their api to do practically anything...
>>
>>59469488
>>59469493
Nice troll attempt there.
>>
>>59469439
Hey! I wanna make a cool video game like Black Ops too!
>>
>>59469471
2^16 is 65536, correct. You can represent that many values.
Naturally one of these will be 0. So your range is 0-65535.
>>
>>59469362

make a console like most IDEs have

you enter text into one box underneath a box that prints messages and accepts commands.
>>
>>59469439
Go C++.
Read Design patterns.
Learn to libraries.
Make more libraries.
Make them generic.
When you have enough of them.
Make a single main.cpp and use all the api you
included in libraries.
Continue with more complex libraries to include
graphics, transformation, audio, gui.
How fucking old are u?
>>
>>59469496
If you do your app in java yes. But from within the NDK you're given a more familiar C environment.
>>59469500
Wow anon that's just insidious. He just wants to learn and you're here to sow FUD.
>>
>>59469439
Lisp gives instant results through the REPL.
>>
>>59469471
>1111 1111 1111 1111
>Should not this be 65536
convert it to decimal and see for yourself.

>2^16 = 65536.
3 digits can represent
10^3 = 1000 different values
but the actual max value for 3 digits is 999.
>>
>>59469521
My bad.
Understood.
Which book do you use for C++?
>>
>>59469439

you're a pathetic fuck

I've met more than one person who wants to "make gaymes". One was a weeb who just kind of fucked off. The other was a literal cuck who majored in psychology.

The truth is if you want to mayke a gayme then you're not going to get instant results. Gayme making is like the NFL of programming
>>
File: 1475407543423.png (5KB, 351x207px) Image search: [Google]
1475407543423.png
5KB, 351x207px
>>59469488
>>59469493
>>59469535

I do go wrong with C(++) very often. The one thing that constantly gets me stuck is the include/library part. I've looked thousands of miles on the internet but nobody is willing to truly explain what the hell "-lsdl2" is supposed to mean. how would the compiler even know what sdl2 is without a path? and if you include it in your search path and fucking #include it anyway, why does the whole thing matter?
These things frustrate me so.
I'm 18 and can't figure out how fucking computers work. I haven't had any advanced mathemathics either so graphics is probably out of the window already.

>>59469520
I'd already be happy if I got to control a 2d image sliding along a window screen.
>>59469538
Lisp is just too weird for me, sorry. I'm already having trouble.
>>
>>59469548
I didn't learn C++ from a book. And I wouldn't say I've learned C++. (by any decent C++ programmers standard)
I'm employed as a C programmer.

The only book I've read about C++ as a language was way old. We were using borland c++, and it was oriented around that compiler, so no a particularly good book.
>>
>>59469439
How much anime do you watch per day? Not even kidding, serious question here.
>>
>>59469565
No worries, Lisp isn't for everyone. I was about your age when I first used it, and I thought it was pretty strange too. Do try it when you get the chance and feel up to it.
>>
I write python mostly because that's what my org uses. Sometimes Angular. I occasionally pick up java projects for the lucene and flume applications we have. I have not had an opportunity to do C professionally but I would love to.
>>
>>59469471

No

In binary you have a "ones place" at one end of your binary number (depending on endianness)

When there is a one in the ones place (called parity bit) it is an odd number.

so a power of 2 (even number) will have a zero in the ones place

> inb4 2s complement niggatry semantics
>>
>>59469565
-lsdl2 tells the linker to link the code with the SDL2 library.

-l is a command line argument to the linker that should be followed by a library name.

SDL2 is a graphics library. The compiler typically searches some default paths for libraries and headers.
>>
>>59469565
Yeah linking can be very confusing because the errors won't be particularly helpful ever.
http://www.lurklurk.org/linkers/linkers.html
This is a good explanation.
I think it's better you read that over having me explain it poorly.

But note that it's a very small part of programming. A requirement, but it's nothing that determines how good a programmer you are.
>>
>>59469439
Haskell.
>>
>>59469493
C is easy to learn?
Nope.
Tell me what type is this?
->char** (*(char* (*x)())[])(char* [])
>>
>>59469565
>what the hell "-lsdl2" is supposed to mean. how would the compiler even know what sdl2 is without a path?
It doesn't.
It will search in the paths it knows about for "libsdl2.so" or "libsdl2.a" (it prepends the prefix 'lib' by convention and .so or .a suffix depending on static or dynamic linking)
>and if you include it in your search path and fucking #include it anyway, why does the whole thing matter?
If you don't add the path where the actual libsdl2 object file resides it wont find it and you'll get a linker error.
Same with include files for the compiler.
>>
>>59469565

You're not gonna make a game with SDL2.

Why don't you do an experiment. Turn every pixel white then turn every pixel black 50 times while timing how long it takes. Calculate FPS
>>
>>59469642
>C is easy to learn? Nope
>proceeds to write out a type that will never be seen in real code
>>
>>59469565

It really isn't important what it means

Obviously it is telling the compiler "I need SDL2."
>>
>>59469667
>real code
As opposed to fake code? So non-C code?
>>
>>59469653
>Calculate FPS
Calculate SPF instead.
SPF is more useful, and makes more sense to everyone than FPS.
>>
>>59469653
>You're not gonna make a game with SDL2.
I just did.
>>
>>59469642

an error
>>
>>59469688
Just because jaksgnbaejkgbhaeurhsbjvaknfbwaukfjawbjh is a word, doesn't mean anyone is going to use it.
>>
>>59469642
It has no type because it's an invalid expression.
>>
>>59469642
->char
It's a syntax error.
>with some leniency
Doesn't really matter because you never have such complicated types in actual programming.
>>
File: fact.jpg (55KB, 680x484px) Image search: [Google]
fact.jpg
55KB, 680x484px
>>59469642
0/10 troll. Doesn't even compile.
Let me guess, you're one of those buttblasted Rust fag?
>>
>>59469692

it's probably shit
>>
File: 1475374163422.gif (83KB, 720x670px) Image search: [Google]
1475374163422.gif
83KB, 720x670px
>>59469588
I don't really watch anime everyday, Maybe like one anime per two months, currently waiting for every saturday for a new episode of a certain anime to come out. Youjo Senki

>>59469619
>>59469630
>>59469645
This is really helpful, thank you! This is the kind of stuff I wish i'd seen written in a book, just simple english.
>>59469673
My brain wants to know more than just "just fucking do it you faggot" else i'd be copy pasting everything.
>>59469653
and you propose?
>>
>>59469565
If you #include a header file for a library, you can access to the function prototypes exposed by that library. However, you typically do not get the implementation of these functions included- To make the program work you have to either provide the implementation for the functions yourself (which misses the point of libraries), or link in the library from outside. So you actually need to do both, both #include to expose your program to the functions you want to use, and link your program to the library that holds the implementations of these functions.
>>
File: 4321.jpg (138KB, 1280x720px) Image search: [Google]
4321.jpg
138KB, 1280x720px
>>59469538
>Lisp for game dev
>>
>>59469723
So?
>>
>>59469690
what the fuck ever, it's the same thing to the power of -1 just calculate any and convert it if you really need it
>>
>>59469778

So it's shit
>>
>>59469642
>*(char* (*x)
Not legal you retard.
>>
>>59469243
Can someone give me an in-place file sort program in Java? Need to plagiarize my way to the end of this course. Already did it with an array, but the instructor says that's wrong because he's a faggot who didn't specify in-place the first time. Fuck him.
>>
>>59469769
Go for it.
>>
>>59469792
It's still a game made with SDL2.
>>
>>59469780
Since fps is the inverse of the actual time it doesn't intuitively scale the same way.
Increasing your fps from 20 -> 30 is a really good performance gain whereas 90 -> 100 is not so impressive.
>>
>>59469732

> the retarded faggot who wants to make a game also happens to watch anime

every. fucking. time.
>>
>>59469780
1. Name any situation where fps is useful to have (rather than spf)
2. Calculating spf is easier to calculate. 1 - time it took for the frame vs 1 / (1 - time it took for the frame)
>>
>>59469814
(sort x '<)
>>
>>59469849
excuse me for roaming on a website made for discussing anime.
>>
>>59469705
It's not a word though, retard.
>>
>>59469840

you can make a game out of laying on your upper back and trying to piss into your own mouth as well
>>
>>59469866

you have no excuse
>>
>>59469889
t. lost the argument
>>
File: 1365353293801.jpg (92KB, 1280x720px) Image search: [Google]
1365353293801.jpg
92KB, 1280x720px
WHY are you NOT programming an AI for your 2D waifu instead of wasting your time shitposting here???(!)
>>
>>59469732
>I don't really watch anime everyday,
Yes, I can tell. You need to watch more of it. It's a good way to acquire something similar to autism (which is a good thing for programming). It helped me a lot so it should probably help you too.

>>59469849
Fuck off back to your subreddit, your kind simply isn't welcome here.
>>
>>59469849
Seriously I don't understand why would anyone watch any anime except Dragon balls.
Is episode 82 out yet?
>>
>>59469887
It's not a word in english. It is a word though.
>>
>>59469849
>>59469915
18+ please
>>
>>59469908
I don't have access to the same resources that hitler's clone had.
>>
>>59469922
In what language? And why are you claiming it won't be used?
>>
>>59469915
Wow. So this is the average /dpt/ user
Bye guys.
>>
>>59469914

get real nigga

Most weeaboos have a game idea they never make
>>
>>59469849
>plebbit spacing
>spaces after '>'
>anti-anime plebbitor

>every. fucking. time.
>>
>>59469942
I need a formal proof before I can believe you, I don't trust you and your ilk.
>>
>>59469948
>>spaces after '>'
/polecat kebabs/
>>
>>59469948

Lol. Stick to your artwork you low test disappointment
>>
>>59469965

The proof is trivial
>>
>>59469976
Wow, this girl has serious self-esteem issues.
>>
>>59454758

Thank you, it seems to work now
>>
>>59469642
>>59469667
>>59469701
>>59469706
>>59469714
>>59469796


>char** (*(char* (*x)())[])(char* [])

I MEANT TO GREEN TEXT
>>
>>59469983
sounds like you have an IQ problem, sorry
>>
>>59470005
Trash.
>>
>>59469997
>>59469976
Two pussies fighting is a good lesbian sight.
Post pics
>>
>>59470005
Still not legal.
>>
>>59470004

And it turns out the whole thing was because I stupidly entered the wrong variable name in one place. God I hate things like that.
>>
>>59469439
>I need to decide on ONE fucking programming language that's not complete garbage yet still easy to learn and gives instant results.
you literally want C#

Everything is possible with C#, it's easy to learn, and it's the second most popular programming language without being a shitfest that is Java.
>>
I spend too much time trying to come up with ideas to program but I'm never successful at actually finding anything that interests me. Does/did anyone else have this problem?
>>
>>59470138
I don't.
I just shitpost there.
>>
>>59470138
I don't.
I just shitpost there.
>>
>>59469439

lol video games are hard to make good luck with that famalamadingdong
>>
Where can I read about embedded works in Java?
>>
>>59470165
>lol
>video games
>famalamadingdong
>>>/r/gaming
>>>/r/ibbit
>>
>>59469243
Please do not post an anime image next time. Thanks.
>>
>>59470200
I have considered your request, but I'm sorry... I have to say "No". The reason is simple. I'm from this site and this site alone.
>>
File: ha.jpg (70KB, 640x460px) Image search: [Google]
ha.jpg
70KB, 640x460px
>>59470198
>>
>>59470253
...
>>
>>59470253
time
>>
>>59469439
>I want to do the hardest thing possible in programming and get instant results
AHAHAHAHAHAHAHAHAHAHAHAHAHAAH
H
AH
H
>>
>>59470138
Nah, personally I got too many projects on my table and keep losing track of them. But advice on how to start projects I say ignore the people and the part of your brain that tell you to keep it simple. No one wants to use simple things so why would you get excited making some dinky little script. Think of something you actually want to use/make and then get started. Even if you fail, that's a learning experience.
>>
>>59470253
It's just a parameter. Let t be any real.
>>
>>59470253
Ahahah I am fucking retarded please disregard me I suck cocks
>>
File: 1489882866473.png (16KB, 728x431px) Image search: [Google]
1489882866473.png
16KB, 728x431px
>>
>>59470267
Video game development is only as complex as you make it.
>>
>>59470306
Video game development, if you're actually trying to do it well, is simulation of something / many things (physics, light, primarily. Even mario has this) in real time. It is not easy. Even incredibly simple games like early NES games rely on data structures well beyond the reach of a newbie programmer unless you're just going to have literally all of the heavy lifting done for you by an engine.
>>
Will there be a noticeable speed increase from using number compares vs str compares?
>>
>>59470267
>Game dev
>Hardest thing possible
HAHAHAHA retard.
Try OS development.
>>
>>59470353
yyyes?
What are you comparing?
>>
>>59470350
That's not even considering everything else, like the actual game itself.
>>
>>59470285
V is the vector representing the direction that P_0 is being cast. Presumably it's normalized, but not necessarily. And the formula represents how to determine t, the constant which V needs to be multiplied by such that P_0 + t*V is intersecting the plane. What's the question?
>>
>>59470377
I asked the question, missing the definition of T because I am super retardo
>>
>>59470365
Just asking in general for optimization purposes if doing something like will speed up a program a lot
>>
>>59469889
That would still be a greater accomplishment than anything you've ever done.
>>
>>59470382
t is just a variable. It can be whatever you want.
>>
>>59470412
So even a negative natural?
>>
>>59470389
It depends on how many you're doing per second, really. A str compare takes many times longer than an int compare (probably something like N times longer where N is the length of the string, but for exacts, do benchmarks). But it's not like either of them take any real amount of time. So if you're just indexing a couple ten thousand things it doesn't really matter. But if your entire program logic is working on strings, well then that'd the difference between an interpreted language and a compiled language, isn't it?
>>
>>59470412
Well, no. If you want to find the actual point where the ray intersects the plane, you have to use the definition on the slide.
>>
>>59470432
Natural numbers aren't negative.
>>
>>59470432
If V is pointed away from the plane, then yes, t will be negative.
>>
>>59470350
I made a simple game in a couple of hours to learn a new programming language. Granted, all it was was a square moving around a screen collecting more squares, but that still counts.

The fact that I didn't write the input and graphics layer doesn't really matter. If my needs outgrow the tools I'm using, then I can look into a custom solution, until then, it's fine to have the heavy lifting done by someone else.
>>
>>59470461
But you said any number?
>>59470488
Even if it's a natural?
>>
list gud libs
>>
>>59470509
It won't be a natural number if it is negative.
>>
>>59470445
I don't know, I'm just trying to be a better code monkey and avoid common pitfalls of slow code
>>
I hope you can compile your project from scratch into a binary bundle with a single command.
>>
>>59469538
>>59469769

Not as weird as it sounds:
http://www.naughtydog.com/docs/Naughty-Dog-GDC08-Adventures-In-Data-Compilation.pdf
http://www.naughtydog.com/docs/Naughty-Dog-GDC08-UNCHARTED-Tech.pdf
http://www.slideshare.net/naughty_dog/statebased-scripting-in-uncharted-2-among-thieves
https://en.wikipedia.org/wiki/Game_Oriented_Assembly_Lisp

Someone even wrote a thesis on it:

https://www.theseus.fi/bitstream/handle/10024/122840/Kaisanlahti_Aki.pdf
>>
>>59470509
Even if WHAT's a Natural number? P_0, V, N, d could all have natural components and t could still be negative.
>>
>>59470528
Why not though?
>>59470557
Any number.
>>
File: file.png (19KB, 732x433px) Image search: [Google]
file.png
19KB, 732x433px
>>59470285
Not the original poster but I have a real question

What's d?
>>
>>59470533
If probably isn't coming from using strings for indexing. I mean obviously I wouldn't use strings to index huge areas of sequential data, but real slowdowns are caused by bad logic, bad algorithm growth, and unnecessary calling of slow internal functionality, not by a tiny bit of overhead caused by questionably data choices.
>>
>>59470559
Natural numbers are by definition nonnegative.
>>
>>59470592
ax + by + cz + d = 0
That's an equation of a plane. The d from the picture is the d from that equation.
>>
>>59470613
wew laddy my math teachers must have fucking failed at teaching me geometry because I was never taught that form
>>
>>59470604
But could I still make one?
>>
>>59469439
start small.
Python is what basic was supposed to be: A good learning language that stays useful later on.
Learn it by reading books and doing tiny projects.
I did a small scripts that calculates the md5 hashes of all my ebooks and deletes the duplicates. I have over 30k pdfs and some are the same with different filename, so it was really useful for me.

If you make games as starting point which you should not: Use Game Maker studio, its free on steam. Or Unity which is a bit more advanced. Do not chose C++. It is a great languages but not a beginners langueage at all (not even an intermediate one)
>>
>>59470652
If it's a nonnegative number.
>>
>>59470603
>bad logic, bad algorithm growth
Can you give some examples of these, the only bad logic one I know of is using recursive for a fib function instead of iteration
>>
>>59470592
d is basically a constant which represents the offset from the origin. That combined with the Normal vector N gives you the equation of a plane.

Similar to how a line can be written a*x + b*y = c, a plane can be written a*x + b*y + c*z = d, simplified as P*N = d, or WLOG, P*N + d = 0. N is analogous to the slope and d is analogous to the x-intercept.
>>
>>59470592
>>59470285

Guys this is literally just basic linear algebra, I really dont see what the problem is supposed to be.
Its jsut a line-plane intersection problem. Thats treated in the 12th grade of highschool. Just dig up your old books and worbooks from that time.
>>
>>59470674
But what if it's negative?
>>
>>59470726
Then it isn't a natural.
>>
>>59470692
You're not going to learn all the pitfalls just by cataloging them, but I'll try and give you an example:

An example of bad algorithm growth is the brute force approach to Problem 18 of Project Euler:
https://projecteuler.net/problem=18

If you took the naive approach and brute-forced a recursion then that is O(2^N). While possible to brute-force at that small size, as it gets larger than a few dozen N's it'll take insanely long to compute. A smarter process would be to use a Dynamic Programming approach: basically working backwards and computing the largest total for each branch and then on the next level, you will only need to check the solutions of the branch bellow it instead of re-computing things over and over. A proper algorithm coded this way would be O(N^2) growth and could handle pretty huge N's with ease.
>>
>>59470666
>beginners
>intermediate
Please define these terms.
>>
>>59470804
beginners: People who know little to nothing about programming
intermediates: People who know little to something about programming.

You are not the sharpest tool in the shed, are you?
>>
>>59470827
>little to nothing
>little to something
Define these. Be more precise.
>You are not the sharpest tool in the shed, are you?
Apparently not.
>>
What's the time complexity of printing all elements of n*n matrix?
>>
>>59470922
O(karen^karen)
>>
File: 5430905.png (15KB, 200x200px) Image search: [Google]
5430905.png
15KB, 200x200px
Working on a Risk of Rain clone written in Rust lang.
>>
>>59470922
Let n = m*m, where m is the rank of the matrix. Then the time complexity is O(n).
>>
>>59470907
beginners would be 90% of this board.
If they have any clue at all, they obsess over the wrong details, like the fps of their newest fizzbuzz implementation.
Or if Java could beat C++ (yes it can but it does not matter).
They wonder how they could program games, ignoring the steps necessary to become able to program games such as knowledge of data structures and algorithms.

>intermediate
They know a language to some degree, may have heard of or even read the introduction to cormen. Will probably be able to implement a fizzbuzz reasonably quick and know that it is just a basic yay or nay test. Will probably have written a few scripts either for school or for themselves. Not yet knowledgeable enough to get much done in the real world but definitely the potential to do so.
>>
>>59470907
"little" is a word that refers to a quantity/quality which is less than normal reasonable expectations about the object/concept in question. In particular, the idiom "little to x" means that one anticipates finding a quantity/quality diminutive of normal expectations, though there is a possibility that they are surprised insomuch as "x."

In the case of "little to something", "something" is an unqualified descriptor, which allows for a wide range for which the author of the idiom is not willing to stake a concrete bounds.

The phrase "little to nothing", however, is even more idiomatic, because isn't "nothing" (i.e. the quality/quantity of absence) less than little? This is an intentional corruption of the idiom and, though the phrase "nothing to little" might be more formally correct, the contradiction in the used phrase is an intentional deception which is used to emphasize the smallness of the anticipated quality/quantity.
>>
>>59470922
O(n)
>>
>>59470966
>like the fps of their newest fizzbuzz implementation
When you phrase it like this you really sound like you don't have a clue anon. Say performance. A fizzbuzz doesn't render frames, it relies on the terminal for rendering.
>>
here we go again
>>
>>59469439
You aren't pushing yourself. You need to actually code, not copy.

This is 99% of modern Software Engineers and CS students graduating suck ass. They all copy and paste and when it comes to actually thinking for themselves they can't.
>>
>>59470397

you don't know that
>>
>>59471053
[ ] I understand sarcasm and deliberate irony
[x] I am an autistic fuckwit

Thank you for pointing out the obvious, yes the fizzbuzz has no fps, which is why I mentioned it as a sign of someone not having a clue.
You must eihter be a troll or the goddamn CEO of the international board of autists.
>>
>>59470794
Should I worry if I couldn't figure out to make tiny triangles starting from the bottom? My math skills aren't the greatest
>>
>>59469243
Post your fizzbuzz. Here's mine:
#.(loop for i from 1 to 100 do
(format t "~:[~:[~a~;Buzz~]~;Fizz~:[~;Buzz~]~]~%~@*" (zerop (mod i 3)) (zerop (mod i 5)) i))
>>
>>59471078
He does, though.
>>
>>59471184
wrote mine in C++.
Code is unfortunately a bit too long to post here:

http://pastebin.com/X4jzhmfK
>>
>>59471103
It is really not that obvious anon. Perhaps you shouldn't consider yourself such a master at communicating clearly.
>>
>>59471230
>all that work
>satisfying payoff
int main() {
std::cout << fizzbuzz::fizzbuzz<>{} << '\n';
}

Beautiful use of abstractions anon.
>>
>>59471243
come man, fps for a purely console based entry-level programming test???
Thats so common sense to think that it was oviously a joke.
>>
>>59471272
You don't seem to understand.
You're asking me to assume you're not stupid when calling others stupid.

Sure, if you're among friends that might be doable.
>>
>>59471230
>using fizzbuzz = transform< transform< separate< arithmetic_progression< max - min + 1, min, 1 >, LITERAL2LIST( ", " ) >, fizzbuzz_replacer::functor >, int2str >;
10/10
>>
File: 1488460547456.png (203KB, 474x307px) Image search: [Google]
1488460547456.png
203KB, 474x307px
>>59471230
well done son
>>
>>59470177
in a book
>>
>hard to track down bug due to compiler/platform specific behavior
Annoying.
>>
>>59471506
Why are you making stuff up?
>>
>>59471594
Not making up anything. Why do you say that?
>>
File: 2017-03-18 22-21-15.820.jpg (1MB, 1920x1080px) Image search: [Google]
2017-03-18 22-21-15.820.jpg
1MB, 1920x1080px
I recently bought a Sun Type 5c keyboard in-box, with all the stuff that came with it. Anybody interested with what is on this cd?
>>
>tfw writing a resume and cover letter is harder than coding
>>
Because my 5key doesn't work, I made this:
#!/bin/sh

ruby -e "print 37.chr" | xclip -selection c
>>
>>59472061
>running the entire slowpoke ruby VM every time you press a key
>>
>>59472051
write in LaTeX, use modernCV as base class
>>
>>59470944
>written in Rust
You haven't written any code at all. Ever.
>>
>>59472095

Err... no. It's just to copy the character into my clipboard. And it runs pretty instantaneously, so I won't complain.
>>
>>59470922
Linear in respect to the number of elements.
Quadratic in respect to the matrix's order.
>>
>>59469439

I've been so spoiled by a lot of Python's built-ins that I had to just double-check that I could complete such a simple tasks such as:

>reversing strings without having to google

Normally I would use
.reverse()
or [::-1], but those are conveniences. It took me about 5 minutes (a bit slow), but I came up with this:

s = 'abcdef'
new_s = ''.join([s[len(s)-1-i] for i in xrange(len(s))])
>>
>>59472210
Hint: use a stack.
>>
I have a c++ problem if anyone can help.

I am stuck on this bit of code I wrote for a homework assignment about the length and width of a carpet, can't seem to get it to work properly though.

return float ((lengthfeet * 12 + lengthinch)/12) *((widthfeet * 12+widthinch)/12);

It's at the end of one of my functions, basically I want it to give me the proper square feet after converting the length and width to inches and then back to feet.
If anyone had another way of getting my userinput variables for the lengths and widths and having it properly multiply I'd be elated.

Any help would be much appreciated. Thank you
>>
>>59472337
return (float) etc. etc
>>
>>59472210
In haskell this is just
foldl (flip (:)) []
>>
>>59472337
>I have a c++ problem if anyone can help.
I already know what your problem is from this alone.
>>
>>59472413
Statically typed trash.
>>
>>59472337
Just make lots of variables until your problems is more clear (don't smush the math into one long expression)
>>
>>59472430
In Racket this is just
(curry foldl cons '())
>>
>>59472458
Dynamically typed trash.
>>
>>59472473
Computer Science trash
>>
alright, so I am pretty much stuck with windows at the moment, but I still want to program

what is a good editor for windows that has vi functionality?
>>
>>59472479
A Lisp REPL.
>>
>>59472479
Most of them have vim plugins, e.g. VS Code, Sublime, Atom
>>
>>59472430
>>59472473
These.
>>
>>59472476
Computer science is founded on theories, so it isn't real.
>>
>>59472378
>>59472420
>>59472448
Thanks for the answers, I used float point division instead of integer division and it's closer to my intended answer.
>>
what's the difference between vs community and vs professional?
>>
File: bullet.png (150KB, 1281x1412px) Image search: [Google]
bullet.png
150KB, 1281x1412px
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
>>
>>59472505
CS fags btfo
Engineers are the most powerful race
>>
What is the Rust equivalent for webdev?
>>
>>59472600
Nothing. Webdev must disappear.
>>
been reimplementing some basic tools (sh, etc.) for C practice. I noticed that there's a lot of contention over using functions like alloca() or VLAs, mostly because there's no (apparent) safe way to do so.

so ive been wondering, why not use a signal handler to catch a SIGSEV in the event either of those things fail? I get there're some practicalities - the program enters an "undefined" state after catching SIGSEV, you probably widen the chance of getting owned - but in the interest of safety (if you know what youre doing i guess) it seems like a fair check.
>>
>>59472652
I feel like using malloc() is a lot easier than setting up SIGSEV handlers just to catch VLA's going wrong
>>
>>59472652
>in the interest of safety
This is not a real problem. Don't solve fake problems. Just write code.
>>
>>59472652
And what do you expect to do when inside the SIGSEGV handler?
You have no information about what happened, or where it happened, no way of fixing it. and the program is in an inconsistent state.

>mostly because there's no (apparent) safe way to do so
They can be used safely, but you need to be mindful of your inputs. For VLAs, make sure they're of a reasonable size.
Anyway, you should ALWAYS be mindful of your inputs. Basically every exploitable bug comes down to insufficiently verified user input.
If you verify that they will always be small, don't use them.
>>
>>59472682
>C programmers
>>
>>59471786
sure

let's see it
>>
>>59472652

My problem with VLAs is this: if you know an upper bound on how much memory you need, then there is no need for a VLA. Just create a huge stack buffer, even if it is more than you'll need for the general case. If you cannot place an upper bound, then clearly the memory is better placed on the heap, where it can be resized as necessary. Using signal handlers as you are suggesting could only lead to a greater clusterfuck of code, when it is clear that you just need to malloc.
>>
Investing in Ethereum, enjoying my day off watching Hulu and writing up ideas. Went super hard at work this week so I'm enjoying some golden rum and 7-Up.

/g/entoomen, I have returned to put you on Semax. Look into it as a supreme nootropic for the purpose of engineering.
>>
I'm trying to learn bit operations in C. I was looking at https://stackoverflow.com/questions/14528233/bit-masking-in-c-how-to-get-first-bit-of-a-byte
but something seems off.

For example, I have the number 15 (1111). Simply doing 15 & (1 << 2) gives me 4 (0100). Do I have to also do a right shift by two positions to get it in either 0 or 1, and if yes, why wasn't this mentioned in that answer? I feel like something is really wrong with the result I'm getting.
>>
>>59472753
Well, if you think that you only need X bytes of memory for a buffer right now, but later you end up needing more, it's better to let the VLA crash and burn than to have a stack overflow because of unchecked buffer length. And I'm going to say that it's pretty common to need a pretty small throwaway buffer (=> VLA) that probably isn't going to explode.
>>
>>59472769
Yes, you'd have to shift it back to the right to get it into the first (least significant) position.
However a lot of times you don't care where the bit ends up, you only care if it is set or not.
In this case, if it is unset then the result of the entire equation will be zero (0000), if it is set then there will be a 1 somewhere (e.g. 0100), in which case it will be treated as "true" by C, because any non-zero value is treated as "true" in C.
>>
>>59472769
>>59472834
It's odd, the SO answer acts like the result of the equation is going to be "1", which it definitely is not (it will just be some nonzero integer with a single bit set). You are right about it being off, don't always trust pajeets on SO
>>
>>59472788

>but later you end up needing more
If there is even a possibility that the amount of memory needed will increase, then there is no upper bound, and you should use malloc + realloc (or in C++, a vector or string object)
>>
A long time ago I remember reading something about how in OpenGL it's better to execute all the gl calls at once rather than scattered throughout your code as you progress through one frame.

Is there any merit to buffering the gl calls all together to execute at the end of the frame before moving to the next?
>>
File: 2017-03-19 00-07-48.700.jpg (898KB, 1920x1080px) Image search: [Google]
2017-03-19 00-07-48.700.jpg
898KB, 1920x1080px
>>59472745
>>
>>59472834
Right, that makes sense. I was worried that I'd have to do a right shift and ended up not realizing that any value other than zero means that the bit is set, so I could just verify that instead. Thanks.

>>59472846
Thanks for clarifying it up. It's a shame, that SO answer wouldn't be so misleading if it said it returned "true" instead of 1.
>>
Post your resumes you fake developers. I need ideas.
>>
>>59472979
No, you're just competition.
>>
File: lick really big.png (4MB, 4240x3824px) Image search: [Google]
lick really big.png
4MB, 4240x3824px
>*develops working solution to data integration problem*
heh, good thing I was using C#
>>
>>59473143
Trash.
>>
File: sweating.png (119KB, 300x300px) Image search: [Google]
sweating.png
119KB, 300x300px
>Haskell exam Tuesday
>professor says he won't test us on monads
Dodged a fucking bullet there
>>
>>59473155
>Trash
:^)
>>
>>59473209
what problems are you having with monads?
>>
>>59473209
>Haskell
>exam

wrong
>>
>>59473240
Still trying to understand functors
>>59473254
Gonna be learning Erlang right after the exam too
>>
>>59473261
A functor maps objects and morphisms

In Haskell, this means they map values (and hence must map types, because types describe permissible values)
>>
File: functor.jpg (20KB, 300x263px) Image search: [Google]
functor.jpg
20KB, 300x263px
>>59473407
>>
>>59473143
Um... What's that in her mouth?
>>
File: javadeath.jpg (73KB, 500x333px) Image search: [Google]
javadeath.jpg
73KB, 500x333px

public class Application {
private String name, packageName, processName;
public Application(String name, String packageName, String processName) {
this.name = name;
this.packageName = packageName;
this.processName = processName;
}

public String getName() {
return name;
}

public String getPackageName() {
return packageName;
}

public String getProcessName() {
return processName;
}
}




private void populateBlockApps() {
blockApps = new ArrayList<String>();
Database db = new Database(getApplicationContext(), null, null, 0, null);
Cursor data = db.getBlockedApps();
data = db.getBlockedApps();

while (data.moveToNext()) {
Application app = new Application(data.getString(1), data.getString(2), data.getString(3));
blockApps.add(data.getString(3));
}
data.close();
db.close();
blockApps.remove(TAG); // remove our own app if possible
}



 application can not be applied to: Expected: Actual Parameters: Arguements 
>>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(void)
{
char* fN;
fN = (char*) malloc(sizeof(char) * 100);

if(fN == NULL)
{
printf("No memory allcoated, aborting!\n");
return 1;
}

printf("Enter First name: ");

scanf("%s", &fN);

printf("here it is Character by character: ");

for(int i = 0; i != '\0'; i++)
{
printf("%c\n", fN[i]);
}
printf("\n");

free(fN);

return 0;
}


I have already tried searching up and tried solving it myself, but I do not know much of pointers and wanted to learn more, can someone help me find out where I am going wrong ?
>>
>>59473576
Either saliva or semen
>>
>>59473684
But how did it get there?
>>
>>59473710
We may never know
>>
Redbull me on math and programming. How much is it necessary to know on top of the high school stuff?
>>
Are you statically verified, here?
generic
Max_Size : in Positive;
type Element_Type is private;
Nothing : in Element_Type;

package Stack is

subtype Index_Range is Natural range 0 .. Max_Size;
type Data_Array is array (1 .. Index_Range'Last) of Element_Type;

type Stack_Type is record
I : Index_Range := 0;
Data : Data_Array := (others => Nothing);
end record;

function Is_Empty (Object : in Stack_Type) return Boolean with
Post => (Is_Empty'Result = (Size(Object) = 0));

function Is_Full (Object : in Stack_Type) return Boolean with
Post => (Is_Full'Result = (Size(Object) = Index_Range'Last));

function Size (Object : in Stack_Type) return Index_Range with
Post => (Size'Result = Object.I);

procedure Clear (Object : in out Stack_Type) with
Post => (Size(Object) = 0);

procedure Push (Object : in out Stack_Type; Item : in Element_Type) with
Pre => (not Is_Full(Object));

procedure Pop (Object : in out Stack_Type; Item : out Element_Type) with
Pre => (not Is_Empty(Object));

end Stack;


package body Stack is

function Is_Empty (Object : in Stack_Type) return Boolean is
begin
return Size(Object) = 0;
end Is_Empty;

function Is_Full (Object : in Stack_Type) return Boolean is
begin
return Size(Object) = Index_Range'Last;
end Is_Full;

function Size (Object : in Stack_Type) return Index_Range is
begin
return Object.I;
end Size;

procedure Clear (Object : in out Stack_Type) is
begin
Object.I := 0;
end Clear;

procedure Push (Object : in out Stack_Type; Item : in Element_Type) is
begin
Object.I := Object.I + 1;
Object.Data(Object.I) := Item;
end Push;

procedure Pop (Object : in out Stack_Type; Item : out Element_Type) is
begin
Item := Object.Data(Object.I);
Object.I := Object.I - 1;
end Pop;

end Stack;
>>
>>59473782
How well do you want to be paid?

>>59473783
Doesn't Ada not verify most stuff, and just leave it to runtime?
>>
>>59473783
This is incredibly ugly, not to mention it has a shit ton of repetition.
>>
>>59473808
It has repetition cause it's two files.
>>
>>59473804
>How well do you want to be paid?
As much as possible I guess. I read web dev was where the most money was to be had, but it doesn't sound very math-heavy.
>>
Is there a single good dynamically typed language?
>>
>>59473816
It's still disgusting. Ada can't look at the module interface so you don't have to rewrite the types? And the postconditions of some of those functions just being the definition (which, again, is repeated), what a joke.
>>
File: IMG_0736.jpg (351KB, 1242x1827px) Image search: [Google]
IMG_0736.jpg
351KB, 1242x1827px
>>
>>59473823
Just the Lisps. Nothing else.
>>
>>59473823
>good dynamically typed language
PHP.
>>
>>59473829
>this man will have your job some day
>that day is tomorrow
>>
File: IMG_0735.jpg (231KB, 1242x1237px) Image search: [Google]
IMG_0735.jpg
231KB, 1242x1237px
>>59473844
>>
>>59473829
Well, he's learning. I remember writing my first program. But why do they feel like posting these things on social media?
>>
>>59473853
>you will never get this many likes and comments
>>
File: IMG_0737.jpg (328KB, 1242x1510px) Image search: [Google]
IMG_0737.jpg
328KB, 1242x1510px
>>59473858
There's a difference between "oh this is cool I want to share it" and delusions of grandeur
>>
>>59472149
>le codez :D
>>
>>59473804
It does if you run spark

>>59473824
I didn't rewrite any types. What are you taking about? Also, sometimes the person writing the spec isn't the person to write the body.
>>
File: mio-newspaper.jpg (77KB, 450x253px) Image search: [Google]
mio-newspaper.jpg
77KB, 450x253px
>Pros and Cons of [Language]
>Pros:
>Dynamically Typed
>>
>>59473823
I like Ruby and Scheme. Erlang seems pretty good too
>>59473884
anywhere with web devs they will say this dumb shit
>>
>>59473876
function Is_Empty (Object : in Stack_Type) return Boolean with
Post => (Is_Empty'Result = (Size(Object) = 0));

function Is_Empty (Object : in Stack_Type) return Boolean is
begin
return Size(Object) = 0;
end Is_Empty;

This is basically the same thing written twice.
>>
>>59473868
maybe he was considered an idiot, hence the grandeur
>>
>>59473895
I didn't have to put that twice, but redundancy isn't a bad thing in static analysis.
>>
>>59473908
>redundancy isn't a bad thing in static analysis
Why? Redundancy is bad in general because it's a maintenance nightmare, how does being used for static analysis change anything? Dependently typed languages don't need you to write the function twice to use the definition in a proof.
>>
File: 1489461328707.png (740KB, 1834x1200px) Image search: [Google]
1489461328707.png
740KB, 1834x1200px
>>59469642
C is a beginner friendly small language made for retards that can't read a book larger than 400 pages
>>
>>59473937
which languages is pic comparing
>>
>>59473954
CL
>>
>>59473954
C++20
>>
>>59473965
I was worried it was talking about Haskell
>>
>>59473920
so that someone doesn't change the function definition and forget to change the function. It's just "annoying" looking cause it's a one line function. Anyway, the user only sees the spec file, so you have the option of "saying" your function does what it does in a comment, or you can "prove" the function does what you want to the user.
>>
>>59473822
webdev is garbage money unless youre super pro-active and make super good connections and email people to find work etc etc. if you work for a company you get paid dick all
>>
>>59473984
In a better designed language you would just be able to choose whether to put the definition in the interface file or in the implementation file. If it's in the interface file, you can use the definition to write new proofs, if not, you can only use what proofs the interface mentions. You would also only write the type signature once.
>>
>>59474016
The definition of what?
>>
>>59474040
Of the function, obviously.
>>
>>59474041
If you want to hide functions from the user, there is a private section in the spec.
>>
>>59474061
But if you don't want to hide the implementation for verification purposes then you have to duplicate it in a postcondition?
>>
>>59474069
No, I just like the idea of safety in redundancy. Also it classifies to the user what the function does.
>>
>>59473829
>censor name in post
>not in the code
>>
File: 17311183.jpg (119KB, 2038x1505px) Image search: [Google]
17311183.jpg
119KB, 2038x1505px
>>59474379
What else do you expect from a dumb phone poster?
>>
>>59474379
He probably misspelled it so it's ok
>>
Why do sqrt functions exist when to power of 0.5 is equivalent and faster?
>>
>>59474463
readability
>>
>>59474463
what language?
>>
>>59469814
Please stop calling me gay.
>>
In Javascript, how do I run make a for loop that does something to every image with the class "book"?
>>
Jesus christ Rust is bigger than C++ I swear
>>
>>59474463
sqrt
CL-USER> (time (loop for x from 1 to 10000000000 do (sqrt x)))
Evaluation took:
8.698 seconds of real time
8.696666 seconds of total run time (8.696666 user, 0.000000 system)
99.99% CPU
20,821,914,202 processor cycles
272 bytes consed

power of 1/2
CL-USER> (time (loop for x from 1 to 10000000000 do (expt x 1/2)))
Evaluation took:
8.674 seconds of real time
8.676666 seconds of total run time (8.676666 user, 0.000000 system)
100.03% CPU
20,764,189,202 processor cycles
28,928 bytes consed
>>
File: git-gud.gif (381KB, 540x398px) Image search: [Google]
git-gud.gif
381KB, 540x398px
>>59469243
>What are you working in

I'm on page 9 and I understand what's going on!

#include<stdio.h>
/* print Farenheit-Celcius table
for fahr = 0, 20, ..., 300 */
/*this is a comment*/
/*I like to eat waffles.*/
main()
{
int fahr, celsius;
int lower, upper, step; /*I can move these comments anywhere*/

lower = 0; /*lower limit of the temperature scale*/
upper = 300; /*upper limit*/
step = 20; /*step size*/

fahr = lower; /*sets the variable fahr equal to the variable lower*/
while (fahr <= upper) { /*starts a loop*/
celsius = 5 * (fahr-32) / 9; /*calculates the variable celsius*/
printf("%d\t%d\n", fahr, celsius); /*prints fahr and celsius on a line*/
fahr = fahr + step; /*prepares for the next loop by increaseing fahr by step*/
} /*ends the while loop*/
}


>look ma! I'm doin a computer!
>>
>>59474597
>can't figure out the easiest language of all time
>>
>>59474616
I C really easy?

The guys who have taken C (C for engineers) at my community college say that it was insanely hard.
>>
>>59470702
>WLOG

Holy fuck I love this place. I came here to laugh, and got a lesson in linear algebra and affine spaces.
>>
>>59474597
>print Farenheit-Celcius table, with an interval of 20
import std.stdio;

void main()
{
for(int i = 0; i < 300; i+=20)
{
writefln("%s\t%s", i, 5*(i-32)/9.0);
}
}


Just fuck that autistic shit book
>>
File: 1489530656576.jpg (49KB, 600x381px) Image search: [Google]
1489530656576.jpg
49KB, 600x381px
>>59474642
Dude, C is literally the smallest and easiest language. If you call C is hard to learn you literally are going to suffer hell
>>
>>59474531
Plz
I tried, and the iterator works super weirdly, I've never seen anything like it.
>>
>>59474802
Should have used jquery for that.
>>
>>59470794
>https://projecteuler.net/problem=18

I think you could do this as a shortest path problem, actually just make the values negative or use the log of the multiplicative inverse. Then it's definitely O(n^2), where n is the number of elements in the triangle.

I've seen dijkstra shoehorned into a DP framework, but admittedly don't know much about DP.
>>
>>59474807
Why are so many questions answered with "use jquery"?
I'm surprised that it doesn't attract an instant ban on StackOverflow, it pollutes the answers so much.
>>
>>59474702
If you took the space to declare each variable and used a while loop like the book did to teach about variables, comments, and loops, it would've taken just as much space.

Fuck you.
>>
>>59474835
>declare each variable and used a while loop
Just why?
>>
wew lad, I think I just made myself something useful for the first time. It's just a shitty bash script that creates thumbnails for cbz files, but still.
>>
Why should I learn a Lisp? What makes it special compared to any other language?
>>
>>59474918
C makes you a better programmer
Lisp makes you an advanced programmer
>>
>>59474642
You have to understand computers a little bit. Other more abstract languages allow you to hold an inaccurate model of what's going on in your head and be fine usually.
>>
Learning Neural Networks, going completely off of logic - no documentation on how NeuralNetworks work.

Wish me luck! [spoiler]ill need it[/spoiler]
>>
>find this
https://github.com/InsomniacGames/ig-cachesim
YESSS
>>
>>59474965
C is an abstriction. You should write ASM to know truly what's going on in your hardware
>>
>2017
>Not writing LLVM IR
>>
>>59474982
Why are you telling me this. In C you can't be completely lost, many other languages let you not have a clue. I made it perfectly clear when I said that _MORE_ abstract languages allow you...
Why even do programming when you can't read?
>>
>>59474918
> Why should I learn a Lisp?
You shouldn't.
> What makes it special compared to any other language?
Homoiconicity, but most people realized it was a bad idea a long time ago.
>>
In C.
struct {
shared fields;
union {
subclass0 fields;
subclass1 fields;
};
};

or
struct shared {
shared fields;
};
struct subclass0 {
struct shared parent;
own fields;
};
>>
>>59475086
they represent different things

it is easy to add a new subclass to #2 but hard to add a new member
vice versa for the former
>>
>>59475086
Might as well use C++ instead if you're thinking like that.
>>
>>59475086
2 because you're probably adding fields more often than classes.

But I question if whatever you're doing is a good idea, based on those names.
>>
>>59475112
What's the alternative then?
>>
>>59475012
>Homoiconicity, but most people realized it was a bad idea a long time ago.
Why?
>>
Are humans Turing complete?
>>
File: hackerman.png (101KB, 822x333px) Image search: [Google]
hackerman.png
101KB, 822x333px
                                                                                                                                                                                                                         :^)
>>
>>59475140
Turing himself was incomplete
>>
>>59475130
Because it makes code hard to read, it focuses too much on a single quite inefficient data structure, and the benefits are not that great - basically, the only benefit is relatively powerful macro system. Lipers claim you can "expand the language itself" with it, and it's true, but in most cases they do it to emulate something other languages already have.
>>
>>59475156
Was he human though?
>>
>>59475194
No, he was dancer
>>
>>59475150
>no float values
Stay C toddler
>>
New thread:

>>59475371
>>59475371
>>59475371
Thread posts: 320
Thread images: 32


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