[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: 314
Thread images: 48

File: K&R hime linked list copy.jpg (551KB, 1280x1440px) Image search: [Google]
K&R hime linked list copy.jpg
551KB, 1280x1440px
old thread: >>55632242

What are you working on, /g/?
>>
>>55638331
Inherited a bunch of Excel spreadsheets scattered around various folders on a network drive, which pull data from some Access dbs elsewhere in the network drive. Using uncommented (of course) VBA. With half the variable and function names in Polish.

Fun.
>>
I've been mulling over an algorithm for a "Binding of Isaac-like" dungeon generation algorithm. Since Binding of Isaac had a grid-like dungeon, most algorithms implemented in other roguelike games may not be as applicable. For generating the shape of the dungeon, my idea goes like this:

Draw a "line of rooms" of a random length
While we have less than the desired quantity of rooms
Find a pivot room
Make another line of rooms on that pivot
End While
>>
>>55638331
while(1) {
printf("Please don't use an anime image next time!\n Thank you!");
}
>>
File: maze.jpg (7KB, 201x216px) Image search: [Google]
maze.jpg
7KB, 201x216px
>>55638431
what's so special about a grid-like maze

did randomized depth first search

i havent played binding of isaac
>>
>>55638431
It's senpai, you dumb brony faggot.
>>
I like functional programming in python.

What other language should I learn if I like functional programming?
>>
>>55638561
too bad python can't into proper recursion

haskell and lisp
>>
>>55638511
>SyntaxError
>>
>>55638561
>python
>functional
kek
>>
>>55638511
tst.c:1:1: error: expected identifier or ‘(’ before ‘while’
while(1) {
^
>>
>>55638591
Why kek?
>>
>>55638107
You can post anything on github. If you're too ashamed you can just remove it later.
Also considering what I said >>55638077 making projects that are ambitious is good on github.

A simple RPG game isn't too hard.

>>55638177
A game is a good idea. It's not that hard really and as you mention you can easily scope it up. I recommend reading resources on how to make RPG games in general. Don't bother with python specifics and just try to learn to make it in python. Ask people for help though.
>>55638103
Is the goal here to learn how to use ascii graphics or do you prefer to just make your game?
>>55638511
>complains regardless of if there's an anime image or not
>>
http://boostorg.github.io/hana

This is like learning C++ anew.
>>
>>55638537

Actually, in Japanese, when the ん character precedes a 'b', 'm', or 'p' sound, it may be pronounced as 'm' instead of 'n'.

>>55638528

It's not a maze; it's a dungeon. We start out with a grid of non-rooms, and then each line initializes cells to become rooms.
>>
>>55638431
Post how they look maybe? To my understanding binding of Isacc just looks like randomly placed rooms where you eliminate unconnected rooms.
You rarely get long runs.

Room types is more important in that game.
>>
is doing a big database change pretty much for semantic purposes worth it? my boss is telling me to make it so 'user' doesn't directly references a 'company' table, but make it reference a 'job' table which references 'company'. i think that's dumb at this point, because it's too much work and we could use some workarounds so it seems like that's what the software does anyway. this is some major refactoring and i think it isn't worth it. i'm going to do it anyway because fuck it i'm getting paid the same and i don't care. but i'm wondering whether i'm wrong
>>
>>55638681
In hepburn romanization it's still written senpai.
In latin alphabets you don't modify spelling in order to match regional accents.
>>
>>55638700
just user and company table: an user can only be at one company (or a company can only have one user which is certainly not what you want)

user, company and job tables: each job "links" 1 user to 1 company, allowing an user to have multiple jobs at the same company

this is the only realistic difference
>>
>>55638681
like chimpo?
>>
>>55638758
users aren't going to have multiple jobs at the same company. its going to be pretty much the same. he smokes (or smoked) a lot of pot i think that has something to do with it. this is better than fixing idiotic, hard-to-track bugs anyway
>>
File: 1461591130272.jpg (86KB, 759x811px) Image search: [Google]
1461591130272.jpg
86KB, 759x811px
Completely braindead
No nothing about programming
Want to learn Python, but I need to know what's the best first time guide


Also, been off /g/ for some time, what happened to those cancerous Desktop Threads?

I didn't like them, but those autists helped me get a new font working in loonix

also I can't seem to connect to installgentoo.com
>>
File: Screen_Shot.jpg (493KB, 648x694px) Image search: [Google]
Screen_Shot.jpg
493KB, 648x694px
>>55638331
can't
figure
it
out
:(
>>
>>55639099
macs are big endian
>>
>>55639099
What font is that, Anon? It looks almost like Consolas.
>>
>>55639168

PowerPC Macs are Big Endian
Intel Macs are Little Endian
>>
>>55639168
>>55639230
I'm running the code on Intel x86_64 arch.
>>55639217
It's the default Xcode font, it's called Menlo, i think.
>>
File: Screen_Shot_2.jpg (133KB, 673x232px) Image search: [Google]
Screen_Shot_2.jpg
133KB, 673x232px
>>55639099
hex_to_bin and bin_to_hex seems to be working fine. any ideas?

pic related is the memory footprint before and after the hash.
>>
How do people modify SQL databases in C?
>>
>>55639987
by using the library?
>>
File: pair programming.png (803KB, 853x952px) Image search: [Google]
pair programming.png
803KB, 853x952px
I'm going to write a decompiler/compiler for a game's ~20 instruction bytecode.

Well, try at least.
>>
File: 1462665702455.png (54KB, 311x311px) Image search: [Google]
1462665702455.png
54KB, 311x311px
>go to report post
>error: this post does not exist
>mfw it's already deleted

MODS = GODS
>>
HAHAHAHAHAHAHAHHAHAHAHA
>>
thank you mods
>>
>>55640149
TIS-100?
>>
Why even bother?

It's no like that burgers will ever talk about something of value.
>>
>>55638331
How can I get into web development?

I have a great idea and want to create a local website but I can't find a worthwhile programmer where I live (third world country) to work with, so I have to learn it myself.

I don't want to become some god programmer, at least not for now. With what should I start to create a not so complex website (think classifieds)?
>>
is java botnet
>>
>>55640387
A programming language can't be a botnet. It is a lame language however made for foolish individuals so you could say that it tries to shit up the world as much as it can, but it is not a botnet with the technical meaning of the world.
>>
>>55640387

depends on which OS you're using. on windows they try to bundle crapware. if you're using linux this isn't a problem as you just grab from repos. it's stable and mature, maybe boring. it's fine, there are worse choices.
>>
>>55640292
>I can't find a worthwhile programmer where I live (third world country)
Is this a thing?
Anyway there's >>>/g/wdg
Who supposedly knows this stuff.
>>55640422
I think he means the Java VM or JRE. Or anything surrounding java really.
>>
>>55640443
>I think he means the Java VM or JRE
There are many VM and JREs (OpenJDK and the oracle ones of example). Moreover you do not need a VM to run Java (there are many projects that allow you to skip that, such as GCJ)
>>
>>55640292
try http://www.theodinproject.com/
>>
>>55640443
>Java VM or JRE
exactly i read somewhere that the vm does some online computing to make things faster or whatever

is this correct
>>
>>55640461
All versions of OpenJDK (including any alternative JVMs such as zero, dcevm and jamvm) are 100% free software and included in all GNU/Linux distros that I know of. The possibility of botnet existing in it is almost 0.
>>
>>55640443
Yes that's a thing, I have talked to a lot of people and proposed up to 20% cut for them if they create the website and I finance everything, they just don't have the skills to create what I need- They're plebs just like me. So I decided to
>>
Finally got sick of windows enough to switch the main pc over to a linux distro.

Setting up the system now. Going to install a windows vm with passthrough for my games and the normal vim + gdb dev environment.
>>
I'm brand new here,
Wanting to get into android game development

What language should I learn and software should I use?

I've read Java and Eclipse are best
>>
>>55640609
>Going to install a windows vm with passthrough for my games

It sucks. You may as well just dualboot.
>>
>>55640609
>>55640659

>finally got sick of windows
>going to install a windows vm
>>
>>55640659

Last time I used this setup it was perfectly fine. Had a very minimal performance loss.
>>
I picked up C# 8 months ago.

I remembered a time when I struggled to pick something from the big list of challenges because it all looked too complicated.

Now I don't see the point touching them because they all seem like shit I've done a million times now.

Who /progress/ here?

Considering I've only been dicking about and haven't produced anything of value in all this time I'm surprised I've come so far.
>>
Has anyone ever learned anything from codecademy?
I've tried several of their tutorials in the past and I came out without learning anything at all, not even for piss basic shit like SQL.

Instead of showing you the primitive syntax and then asking you to write a solution, they ask you to copy paste the answer directly and then at the bottom, they write "can you explain what INNER JOIN does??".
The best part is that their answer "validator" is just a strcmp, your answer has to match theirs so there's no way to IGNORE the handholding.
And if you type the answer wrong ONCE, it offers to fill in the answer for you, and then also that you should start paying for codecadmy pro.

What a pile of shit.
>>
>>55640696
>Had a very minimal performance loss.

I guess I'm a framerate autist, but it didn't fare as well for me. Frametimes were also jacked up, which was much more jarring.
>>
>>55640717
>SQL
>piss basic shit

SQL is one of the most "novel"/unique mainstream languages, as well being one of the ones that require the most acquaintance with their theoretic side.
>>
>>55640707

Here's an expert level challenge that doesn't appear on the list: take an arbitrary program, and arbitrary input, and tell the user whether or not it will run completely.
>>
File: 214562431241142.gif (1MB, 480x270px) Image search: [Google]
214562431241142.gif
1MB, 480x270px
>>55640755
>Solve the halting problem

Oh OSGTP, you never fail to amuse me.
>>
File: should have been a weebm.gif (3MB, 240x239px) Image search: [Google]
should have been a weebm.gif
3MB, 240x239px
>>55640783

I'm pretty much only good for amusement. Here's a cat getting its pixels sorted.
>>
>>55640748
What?
>>
>>55640755
It is possible.
>>
>>55640817
Huh, now that seems like a novel idea.

I might have a go at that one, seems like a slightly more interesting way to dick around with sorting algorithms.
>>
>>55640852
not if it's an impossible metaprogram
>>
>>55640878
What do you mean?
>>
Are Haskell programmers TOO smart to be employed?
>>
>>55640902
kek
>>
>>55640868

Not really novel, but boredom-induced for sure.

>>55640902

Too autistic, maybe.
>>
>>55640902
Yes, why get a job when you can get paid for reinventing 50-year-old algorithms?
>>
>>55640902
https://hackage.haskell.org/package/neet
>>
>>55640819
What did you not understand?

SQL is not "piss basic shit".
>>
>>55640929
>neet: A NEAT library for Haskell
is this supposed to be funny?
>>
>>55640945
there was already a library called neat
>>
>>55640935
>SQL is not "piss basic shit".
yes it is
>>
I'm working on a GPU implementation of Conways GoL. The sim is working, but I'm getting screen flickering. Using opengl, I load and bind the texture(initial state), then copy the texture data and run through the GPU again, still cant figure out why its flickering
>>
>>55640935
i'm not sure what the point you're trying to make is
the codecademy tutorial on SQL doesn't even begin to explain how SQL is one of the most "novel"/unique mainstream languages, as well being one of the ones that require the most acquaintance with their theoretic side.
>>
>>55638331
nothing at the moment
ill start relearning everything when school starts up again in a few months
>>
>>55640963
Reminder that you could have used comonadic actions on a 2d cell zipper
>>
guys i taught myself to program, all of my programs are just functions that call eachother, and i never use proper oop or classes, what can i read to fix my shit?
>>
>>55641009
>i never use proper oop or classes

Congrats, you invented procedural programming.
>>
>>55641028
I look at other peoples code with their nice containers for things and I feel inadequate.
>>
File: 1287823451907.jpg (7KB, 208x251px) Image search: [Google]
1287823451907.jpg
7KB, 208x251px
>>55640962
Said a man who's never worked with SQL on anything used by more than 3 people.

That's why database engineer positions are poorly paid, stress-free part time positions right?
>>
>>55638331
Solving problems on project euler
>>
>>55640977
all I'm trying to say is that you're mistaken in saying SQL is "piss basic shit". Of course you're not going to learn it properly from some stupid website
>>
>>55641159
What are you trying to say?
>>
File: sketchbook07031.jpg (12KB, 320x182px) Image search: [Google]
sketchbook07031.jpg
12KB, 320x182px
>>55641155
Nice. What problem are you on now?
>>
>>55641193
I actually haven't been doing for very long so I'm only at problem 3.

What about you?
>>
>>55641040
OOP is easy.

The less your code knows about other bits of code the better.

Does a shopping cart need to know about the objects inside of it? Of course not, the cart just carries them it doesn't care.

Does a knife need to know about what it's cutting? Nope it just cuts, it doesn't make a decision on whether or not to cut.

OOP is basically just that.
>>
>>55640654
Android Studio or Intellij with the Android plugin, Kotlin, and libgdx
>>
I am using visual studio 2015. I am dumb. How can I make my classes separate from my main.cpp?
>>
>>55640755
result = subprocess.run(program,args)
if result:
print("halted")
else:
print("it didn't run completely")


ez
>>
File: 1322530786125.jpg (6KB, 159x235px) Image search: [Google]
1322530786125.jpg
6KB, 159x235px
>>55641309
>C++
>Being this basic

Good luck.
>>
>>55641212
I'm actually not doing any of it. I'm interested but I probably should put my mathematical efforts into being a TQFT grad student.
>>
I've been looking for open source projects to contribute to, it seems like it would be easy to find something since there is so much out there, but that just makes it harder.
>>
File: 1468173962981.gif (721KB, 455x252px) Image search: [Google]
1468173962981.gif
721KB, 455x252px
>>55641328
>>
dumb animeNEETs
>>
>>55640654
For the love of god, don't do game development with the tools Android gives you. Android is complete dog shit.

Just learn Unity if you want to make games. Then you can make apps for Android, iOS, PC, etc all at once and you are only focused on game programming and game design instead of the disgusting mess that is Android.
>>
>>55641309
make a header file (ending in .h or .hpp or whatever) and define your type.
then you need to have at least one .cpp file (usually the same name as your hpp file) that defines it
>>
>>55641155
Go for it anon, you learn plenty of algorithms with Euler. Extra points if you use light languages.
>>
File: 1246515554507.gif (1MB, 640x480px) Image search: [Google]
1246515554507.gif
1MB, 640x480px
>SELECT ALL IMAGES WITH A STORE FRONT
>SELECT ALL IMAGES WITH A STORE FRONT
>SELECT ALL IMAGES WITH A STORE FRONT
>SELECT ALL IMAGES WITH A STORE FRONT
>>
It’s time to get angry at software development, the best time of day. Every fucking day. I write code, I get depressed. Even though it works. And then I try to refactor century old modules and I lose hope in humanity. That’s my life. Every day. I fail some tests and I lose hope in myself, and then I see other people’s failed branches get pushed and I lose hope in everyone else. And at the end of the day I have no friends. That’s life.
>>
>>55641387
>not using legacy
Its your fault
>>
>>55641309
What are header files
>>
File: spongebobhouse.png (315KB, 414x449px) Image search: [Google]
spongebobhouse.png
315KB, 414x449px
>>55641309
Please don't teach yourself C++ a la carte. Read Programming: Principles and Practice Using C++ (2nd Edition) by our lord and savior, Bjarne Stroustrup.
>>
>>55641378
What are light languages? I'm using Python
>>
File: duh.png (218KB, 1448x948px) Image search: [Google]
duh.png
218KB, 1448x948px
>>55641387
>>
File: kinshii.png (306KB, 693x578px) Image search: [Google]
kinshii.png
306KB, 693x578px
>>55641404
>What are header files
Hit the books jackass
>>
>>55641416
Why?
>>
>>55641426
Lua is very light
>>
>>55641441
That was sarcasm. Ya dingus
>>
>>55641448
C++ is a pretty complicated language and learning it by googling random shit and banging pieces of code into your IDE until things compile is a bad idea.

Spending the time to learn it formally with a book will help you out a lot and lift a lot of the confusion you will encounter if you just learn it in bits and pieces (I speak from experience)
>>
File: test.webm (839KB, 515x276px) Image search: [Google]
test.webm
839KB, 515x276px
>>55640817
hey I remade that
>>
>>55641598

Congration you done it.

Lemme guess -- your first run had the issue of swapping pixels from the already-sorted area?
>>
>>55640817
>>55641598
can you do it with mergesort and/or heapsort
>>
>>55641138
that just means sql is a bad abstraction (^:
>>
>>55640963
>>55640990

meh, I managed to fix it
>>
>>55638666
>>
File: 1457517738440.png (496KB, 5000x5000px) Image search: [Google]
1457517738440.png
496KB, 5000x5000px
>>55638331
I really like bash but I want to make simple GUI programs for myself (Format and mkfs USB/Multiple Copy manager/Update manager etc).

Does Bash have anything like PyQt or PyGTK? I'm a complete programming newbie btw
>>
File: Screen_Shot_3.jpg (71KB, 544x157px) Image search: [Google]
Screen_Shot_3.jpg
71KB, 544x157px
>>55639099
>>55639697

finally figured it out!
pic related was the problem.

friendly reminder to always terminate your strings guys!
>>
>>55641695
zenity
>>
File: out.webm (715KB, 578x508px) Image search: [Google]
out.webm
715KB, 578x508px
>>55641618
Yeah, lmao. I want to post the code but it's too long for 4chan(3k chars because of blah blah good code) but also too short for a whole github repo. Should I just put it in a repo and forget about it?

>>55641627
It's not an actual animation of the sorting algorithm, that would look more interesting. This is just going through sorted pixels and replacing <current pixel when going y -> height and x -> height> with <ordered pixels[index of current pixel]>. A bit complicated when you realize that you might have to replace with pixels that are behind the current pixel, but that's easily solved when you "follow" the pixel trail.

Also, I'm noticing that the luminance algo I used is a bit wacky. "Bandy" results.
>>
>>55641752
Thanks anon
>>
Hello! I'm learning C and am wondering if there's a site that indexes useful libraries? Just like in python
>>
>>55641755
i have 20 line scripts on github, you shouldn't worry about it
>>
>>55641755
>Yeah, lmao.

I knew it, because I did, too. The result was pretty fucked.

>Should I just put it in a repo and forget about it?

You could, if you wanted. Wouldn't hurt.
>>
>>55638331
Say you followed this guide https://www.devwalks.com/lets-build-instagram-with-rails-part-4-presenting-pretty-profiles/ but with tweaks to create user avatars in .erb instead of .haml, and you got them to work. How would you go about allowing users to edit their avatars from their own profile by hovering their mouse over their avatar (at which point an "Edit your avatar" text overlay would appear) and clicking it to open a file upload form? One example of a site with this feature is facebook.
>>
>>55641827
The only library you should be using is the standard library.
C isn't a "do-all" language where everything is already written for you and neatly packaged for you to glue together other people functions.

You have some basic sorting algos, memory manipulation, OS interaction, memory allocation and string libraries to work with, and that's it.
>>
>>55641940
>C isn't a "do-all" language where everything is already written for you and neatly packaged for you to glue together other people functions
C is the language of choice when it comes to writing libraries. Pretty much every library anyone should give a shit about is written in C or has a C FFI interface. I understand your point however; C isn't a
import solution_to_problem
solution_to_problem.run()

language.

>>55641827
Not really. At best, you can use your system's package manger.
>>
>>55640292
>>55641891 here. Use a combination of this https://www.railstutorial.org/book/beginning , figuring it out on your own, and looking on google/stackoverflow/small blogs you found through google to tweak your site to be the way you want it to be. If you have absolutely no idea what to do after you've tried those other options first, consider asking /g/, if you have no programmer friends.
>>
>>55638331
I'm practicing. Last night I coded up babby's first heap: https://github.com/tmerr/datastructures/tree/master/heap. Tonight I'm going to learn some Scala
>>
File: PepeDiskMark for GNU_088.png (48KB, 756x354px) Image search: [Google]
PepeDiskMark for GNU_088.png
48KB, 756x354px
>>55638331
>What are you working on, /g/?
>>
>>55642085
Where's the "Use by Normies is a violation of Federal Law"
>>
let's say I'm gonna have a function in C that returns a string

- I allocate the memory in the function myself, return a char* and let the caller free it

- I get a char** and int* as a parameter already allocated by the caller that I modify/fill or reallocate

what's the better approach to do this?
>>
>>55642096
The best thing is to let your user pass in a buffer.
That way they can chose to allocate it on the stack or the heap.
>>
>>55642091
Only appears at the start so far
>>
>>55642096
It depends on the nature of the function.
If your function is going to return a string of somewhat predictable size, pass in a buffer as an argument like >>55642110 says.
If your function is going to return a string of wildly varying size, and the user has no way to know how big their buffer needs to be, either of the ways you listed would be fine, although I personally would go with the second one. For example, the getline function passes in a char ** and int * as arguments, because you really can't predict how long a line is going to be on stdin. It could be 2 characters long, it could be 10000 characters long.
>>
>>55642188
Usually the best thing to do is to create a "context" that is just a struct container holding a pointer to the data and the size of the data.
The user can put the context on the stack or on the heap and no matter how big or small the data will be, it will always be dynamically allocated.
>>
Alright, so. I'm writing an IRC client in Python.

What do you think is the best way to store text buffers?
>>
>>55642217
There is really no advantage to creating a struct here. All that would do is make a user have to unnecessarily worry about some other data type and what it does. We're only talking about 2 arguments here. Maybe if you had 5 or more arguments, a struct might be justified.

For this situation, all the context you need is the pointer and the length.
>>
Who /cs50/ here?

Got drunk and added a shitload of commented pseudo code to the last problem in Week 3's pset that makes very little sense now, and since I've alloted myself one week for each pset I only have three days to fix it.
>>
>>55641940
>>55642017

That's not what I'm mean. I'm only interested in networking. Does have its own library for handling sockets or do I have to write it myself?
>>
>>55638331
>What are you working on, /g/?
I'm trying to devise a way to not kill myself tonight. Failing miserably,.
>>
I'm wondering WHY THE FUCK IM GETTING DIFFERENT RESPONES WHEN DOING A HTTP REQUEST IN MY PC AND IN C9 >:c
>>
>>55642291
Your OS handles sockets tho.
Your OS should provide libraries for interfacing with your network stack.
>>
>>55641859
>>55641852
https://github.com/hexafluoride/PixelSort
no bully
>>
>>55642096
>>55642188
As a casual bystander that was sitting here trying to figure out why the heck you would use a char** and int* instead of a char* and int. It makes sense though... then if the buffer is too small the callee can realloc and update the size. I learned something.
>>
>>55642337
Is byteflood dead? I vaguely remember you trying to recruit people to work on it a few years ago.
>>
>>55642417
Yeah, it's mostly dead. I have some local unpushed changes towards a complete core/UI rewrite but I've lost the motivation to work on it anymore. Also, I don't remember trying to recruit anyone. diantahoc came by and started contributing on his own(and thank god, he has helped so much), but I'd much rather have a smaller developer group. Too many cooks spoil the broth in my opinion.
>>
>>55642337

Looks damn near the same as mine. Gud work.
>>
>>55642481
Maybe it was a different bittorrent client project, but i was pretty sure it was byteflood. I don't think it was like heavy recruiting, I just remember it being posted about.
>>
>>55642505
Thanks anon, I tried to keep the code as clean as possible, but looking back, it is pretty spaghetti without comments. I probably won't even touch it from this point on though, I just like having these code exercises every now and then.

>>55642518
I did post many threads about it back then. Maybe you're remembering gTorrent, but as far as I remember, they didn't try to recruit people either.
>>
>>55642337
static void SwapPixels(Bitmap bmp, Point first, Point second)
{

Color temp = bmp.GetPixel(first.X, first.Y);
bmp.SetPixel(first.X, first.Y, bmp.GetPixel(second.X, second.Y));
bmp.SetPixel(second.X, second.Y, temp);
}


why not use XOR swap?
>>
>>55641485
Would I be find skipping the first three chapters it stuff I am familiar with.
>>
>>55642558
Good job deleting the comment.
static void SwapPixels(Bitmap bmp, Point first, Point second)
{
// no XOR autism here
Color temp = bmp.GetPixel(first.X, first.Y);
bmp.SetPixel(first.X, first.Y, bmp.GetPixel(second.X, second.Y));
bmp.SetPixel(second.X, second.Y, temp);
}


I think it's pretty self-explanatory.
>>
>>55642556
I totally forgot about gtorrent, but I remember being more interested in byteflood because I was just getting into C#.
>>
>>55642556
>I probably won't even touch it from this point on though, I just like having these code exercises every now and then.

That's what happens to me. I'll think of something, do it, and then forget about it.

My VS directory has about 1 trillion """"projects"""" in it.
>>
XOR swap may or may not speed up your program but it will undoubtedly obscure your intentions to both other programmers and the compiler. I'd never use it unless I benchmarked it made a difference.
>>
>>55642590
I think it was a pretty successful project after all, but dear god the code is like tumor spaghetti. Anyone who wants to learn C#, please don't look at byteflood's code. That was pretty much my first WPF project, including hello world babby tier shit. I learned not to treat WPF like WinForms with byteflood.
>>
>>55642634
Seems like you have worked with MVVM, can you recommend resources to learn that pattern?
>>
>>55642634
I kind of want to try building my own bittorrent client just for fun. Sounds like an interesting learning experience.
>>
>>55642730
Not him but get idea -> make program.
I recommend writing the stuff yourself first before using a framework.
>>
>>55642730
I've worked with MVVM(some small private projects after byteflood), but I haven't found any definitive resources. Try starting out with an abstract concept and then go on to creating very simple database-type applications. In my opinion, though, MVVM isn't always the best choice(it nearly always isn't), and it will force you through hair-thin gaps if you want a full MVVM architecture.

>>55642749
It's definitely a fun experience. Try to not use libtorrent-rasterbar though, that's babby tier stuff. I would go with writing my own library for a start, read up on BEncoding and Kademlia.
>>
C++ is a strange beast huh
>>
In C, am I supposed to keep .sql scripts in a folder somewhere, open them, copy them into a char array and then run them through sqlite_exec()?

Or what's the proper way interact with a database?
>>
>>55642820
>It's definitely a fun experience. Try to not use libtorrent-rasterbar though, that's babby tier stuff. I would go with writing my own library for a start, read up on BEncoding and Kademlia.

I feel up to the challenge, I'll give it a go
>>
is there any way to learn cpp without going through a 1000 page book?
>>
>>55642835
The way I do it is hardcode the SQL statements in appropriately named strings, then on initialization I prepare the statements into sqlite3_stmt objects once and keep it around.
Then every time I use it I just reset it after so I'm not recompiling the same statements over and over again each time they're executed.
>>
>>55642873
I'm intrigued, post the repo link as soon as you get one up
>>
What is this typing mode that deletes as you type and why does it seem to exist solely to get turned on by accident and irritate the shit out of you?
>>
>>55642938
It's called insertion mode and you can toggle it with the insert key on your keyboard.
>>
>>55642835
I typically write a function for each different query that the program will execute and define the query within the function
the function has to know how to extend the query anyway most of the time to allow for any number of parameters (when inserting, for example)
>>
>>55642955
Thank you sir
>>
>>55642955
No it's not insertion mode you fucking idiot.
>>
>>55642921
It might be a day or two before I get anything up.
>>
>>55642959
So basically you're composing an SQL statement in a char array with sprintf and then freeing it after use?
>>
I'm digging this vimfx plugin.

Making progress on setting up the Linux dev environment got most the general tools (compilers, vim (no vimrc / plugins yet), gdb, etc)

It's hilarious using about 500 MB ram on a system that has 32 GB available.
>>
>>55642975
That's okay, I'm watching these /dpt/s. Just post a link someday anon
>>
File: Clrs3.jpg (50KB, 420x475px) Image search: [Google]
Clrs3.jpg
50KB, 420x475px
moved from its own thread due to recommendation

Puzzle.
Write a quine: a program that outputs its own source code. This generally means you must use a print statement.

-No file IO
-No blank/only-whitespace files
-stdout must match exactly the source, including all quotation marks.

Starter code
print 'print'
>>
>>55642626
Modern compilers know what

int f(int a) {
int c = 0;
while(a != 0) {
c++;
a &= a-1;
}
return c;
}

is but you think xorswap is going to confuse it?
>>
>>55642981
well I'm using c++ strings and the compiler probably optimizes it into a static, so nothing is actually freed
but yeah
>>
>>55643067
i thought writing a quine would be simple

fuck i feel stupid now
>>
>>55643083
Aigh fuck if I know. You're really just furthering my point, if the optimization is worth doing the compiler's going to do it anyway. In the case that it misses it you can try doing it yourself, but but benchmark dammit.
>>
File: snow spiral smooth.webm (892KB, 960x640px) Image search: [Google]
snow spiral smooth.webm
892KB, 960x640px
>>55642337
>>55641755
have you seen this
https://wunkolo.itch.io/pixsort
>>
File: image.jpg (58KB, 640x640px) Image search: [Google]
image.jpg
58KB, 640x640px
r8 my programming laptop
>>
>>55643190
>/dev/null-DB
>php
>>
File: hianon.jpg (969KB, 4781x2689px) Image search: [Google]
hianon.jpg
969KB, 4781x2689px
>>55643067
nice book desu
>>
>>55643190

Web dev detected.
>>
>>55643221

I need to buy a real copy of CLRS. PDFs just aren't the same.
>>
>>55643154
:)
for me, getting the quotation marks right was the hardest part (hmm...)
>>
>>55643262
Yeah I realized it's just a dumb parlor trick where you print a string at specific parts of a string and then you print the first part, the whole thing, with quotes and commas, and then the end part.
>>
ayyy /dpt/ give me something do to for some dude who never wrote a line of code
>>
>>55643353
write a fart app
>>
>>55643353
Stick to handle end of a toilet cleaner brush up your ass.
>>
>>55643010
Will do, mostly just reading about everything right now.
>>
File: question.jpg (84KB, 803x790px) Image search: [Google]
question.jpg
84KB, 803x790px
What is a good book to learn opengl computer graphics? Are any of these good?
>OpenGL: A Primer
>Computer Graphics with Open GL
>>
>>55643353

Program a virtual machine + compiled statically typed lisp dialect to run on it. Make sure it has jit.
>>
>>55643181
Seems very feature rich. Would be pretty good if it was open source desu. Are you the author?
>>
>>55643657
no but he talks about his algorithm a bit here
https://www.reddit.com/r/pixelsorting/comments/4t5sjz/after_effects_pixel_sorting_plugin/d5g678y
>>
>>55643467
They're all bad to varying degrees.
The only way to properly learn opengl is to read bits from different books and learn linear algebra.
And then write a shitty tutorial when you think you're good at opengl even though you're shit at opengl and nobody else will know the difference.
>>
>>55643181

That's actually what got me to fuck around with pixel sorting the cat yesterday.
>>
>>55641891
For reference, here's how avatars are defined in application_helper.rb:

  def av(user)
if user.avatar.exists?
return image_tag user.avatar.url(:medium),
id: 'image-preview',
class: 'img-responsive profile-image'
else
image_tag 'default-avatar.png', id: 'image-preview',
class: 'img-responsive profile-image'
end
end


Avatars are displayed under show.html.erb using <%= av(@user) %>

And under edit.html.erb, here's the current form to update a user's avatar:

<%= f.label :avatar %>
<%= av(@user) %>
<%= f.file_field :avatar, onChange: 'loadFile(event)', accept: 'image/jpeg,image/gif,image/png',
id: "av2" %>


It looks like an ordinary "Choose File" button.
>>
the includes im using for a basic programming exercise atm
#include <iostream>
#include <vector>
#include <fstream>
#include <ctime> //for randomizer
#include <string>
#include <algorithm>
#include <iterator>//copy(wordlist.begin(), wordlist.end(), ostream_iterator<string>(cout, " "));
#include <sstream>//typecast conversion from char to string
//#include <cmath>


JUST
fuck my shit up, yo
>>
>>55644102

Seems like some pretty standard C++ headers to me. What's wrong?
>>
>>55644102

If you're not using anything else out of ctime it'd be better to use <random>
>>
>>55644102
Can you not import specific modules from the libraries instead of the whole thing?
>>
>>55644258

Anon, do you not know how the C++ preprocessor works?
>>
>>55644283
Nope. I'm only experienced in Java and Python.
>>
>>55644307
>>55644258
Basically you include entire files that contain declarations for functions, thus your C++ code can now use functions, classes, structs etc. declared within those files.
Generally including those files takes no time at all, and if you don't use a portion of it it's fine.
>>
>>55644307

Includes are basically packages from java.
>>
>>55644398

Except you only get access to all the members. You can't choose specific parts.

I should specify that.. I think it's bed time.
>>
>>55644398
Yeah but in java you can specify the modules. My post >>55644258 was just misunderstanding of why the anon is saying JUST.
>>
>>55644421

I beat you to correcting it :p .

True story in the insistences I'm forced into using java (I hate very few languages more..) I end up importing whole packages all the time. I'm too used to c / c++.
>>
>>55644452
>importing packages yourself
Do you even IDE?
>>
>>55644465

Not really most of my dev work is done with vim. I rarely work with java in the first place and I open up eclipse even less.

http://eclim.org/
Helps quite a bit though :P
>>
>>55644307

In C and C++, statements that begin with a # are called preprocessor directives, and are run before anything else is compiled. The #include directive copies an entire file in the place of the directive. That file, called a header file, contains type definitions, function signatures (note: this is not a function definition, but rather, a declaration that there is a function with that name and type signature), preprocessor macros, templates, and other shit.

You can't partial include a file in C++, although you can conditionally include files, and conditionally make definitions.

>>55644398

No, not even close.
>>
>>55644258
Modules when. ;_;
>>
>>55644115
I'm probably overbloating the exe of a very simple programming challenge. Doing a simple task in a very hard, complicated way due to being an inexperienced nub

>>55644159
I'm using it to randomly rearrange a list of words from a textfile within a vector that contains them. Based on what I saw at a glance, I didn't see how <random> would work for me, at least, not as simply as the one-line <ctime> statement I'm using (with a randomization seed).
>>
>>55644653
Sounds like something that could be done within 10 lines with STL.
>>
>>55644614

You're being pedantic. As far as a Java programmer is concerned standard library includes serve the same function as packages without the ability to grab just pieces of it. Talking about the c++ preprocessor and just how it does things is just unnecessary information for the situation.
>>
File: shutterstock_116946490[1].jpg (239KB, 575x407px) Image search: [Google]
shutterstock_116946490[1].jpg
239KB, 575x407px
>tfw you master C++ templates and metacoding
>>
>>55644674
I really should buckle down and learn how to build templates. Thanks for the pointer.
>>
>>55644701
I only yesterday realized that you can templatize variables in C++14.
>>
File: 652_Mystical_sound[1].jpg (42KB, 652x486px) Image search: [Google]
652_Mystical_sound[1].jpg
42KB, 652x486px
>>55644727
>not posting that fw
>>
File: astral-projection-travel[1].jpg (90KB, 1200x839px) Image search: [Google]
astral-projection-travel[1].jpg
90KB, 1200x839px
>when you implement simd(sse,mmx,avx,etc) speedups
>>
>>55638331
I'm trying to figure out what should I study so I can research and develop sex robots with the japs which will bring us even closer to the extinction of the white race.
Any ideas?
>>
>>55644709
Just look up std::shuffle.
>>
>>55644701
I felt close to that when I realized you could implement trees and lists as enums in Swift.
>>
>>55644760
Probably machine learning
>>
>>55644748
Which one of the SIMD extensions offers the greatest boost in performance?
I really didn't want to use SIMD because I wanted my program to run fine on every platform.
>>
>>55644812
>>program a crude, but semi-self-aware sexbot
>>"learns" that the user sucks
>>bad things happen
>>
>>55644760

The kabbalah.

Artificial intelligence algorithms / current research papers detailing "blleeding edge" concepts. Facial / image / Human language recognition research. Would all help you also.
>>
>>55644699

I have seen countless people getting build failures because they are dumb enough to think that just because they include the header file, that automatically tells their program everything it needs to know about that library, and so they neglect to actually tell the compiler to also link against that library. It is absolutely essential that C and C++ programmers know how the hell the build process works.
>>
>>55644841
sse/mmx is everywhere. use it.

avx is astral projection tier
>512 bit register
>>
>>55644894

You're completely right. But, in this case it is a random java / python programmer is just passing by and asking about a small piece of C++ on a image board out of curiosity. They're not looking to learn C / C++ and don't really need anything more than a relation to concepts they are familiar with.
>>
>>55644945
Nigger I understand their response.
>>
>>55644102
i usually stick all my stl includes into a main project header so i dont have to type this shit out every time
>>
>>55644928

Something wrong with 512 bit registers?

>>55644945

Aye, but we don't want any noobie C programmers lurking the thread to get the wrong idea.
>>
File: Untitled.webm (2MB, 720x480px) Image search: [Google]
Untitled.webm
2MB, 720x480px
I need a better way to convert a series of frames into a weebm.
>>
File: 1420500175412.jpg (438KB, 900x2134px) Image search: [Google]
1420500175412.jpg
438KB, 900x2134px
>>55643067
>>55643221
how much math do i need to know to understand
introduction to algorithms or any other of the pic related god tier books?

i am up to calc 2
>>
File: Capture.jpg (279KB, 1840x913px) Image search: [Google]
Capture.jpg
279KB, 1840x913px
>>55645224
>>
>>55645123
ffmpeg script
>>
>>55643467
learnopengl com
>>
>>55645224
ignore all of those books. programming isn't about reading. sometimes, you come across a topic you do want to learn everything about (such as algorithms), then you can read a book.

For CLRS you don't need any calculus. You will need to be strong at proofs, which I'm guessing you haven't done since high school geometry. With proofs also comes mathematical maturity, which you will need.

Are you in high school or in college? If you're in college, does your school offer a Discrete Math course? You can take it or read the textbook. That should set up you for CLRS.
>>
>>55645277
>>55645290
thanks, i am in college but most likely self study first
>>
>>55638625
Not the same anon, but Python's functional constructs are a goddamn pain in the ass to use mostly due to awkward syntax. Try Haskell and see how shit Python is in comparison for functional programming
>>
>>55645224
I can't speak for the other books there, but for the Intro to Algorithms book that's on my desk, you don't need much math at all. The basic stuff that comes in handy are proof techniques (can you perform a proof by induction?), literacy for set notation, and some occasional calculus (what does this infinite series converge to?). Even if you're not up to par with some of that, you can skim over whatever part is too hard, and come out with a good enough understanding. It's pretty approachable as far as texts go so I wouldn't hesitate to download a pdf and take a look.

Btw the Pragmatic Programmer does not deserve to be god tier. It's the same hand wavy common sense advice that you hear people say all the time. If you're new to the field and haven't had certain things drilled into you then it might seem more insightful I guess.
>>
>>55641416
Books are all well and good but Bjarne Stroustrup is a shit author t b h f a m
>>
i need to solve the last problem at the bottom of this page , http://cdn.cs50.net/2016/x/psets/2/hacker2/hacker2.html


any ideas? i have never done anything like it
>>
>>55645379
clearly you should make your c code execve jtr
>>
>>55645290
>ignore all of those books. programming isn't about reading
You make me want to reach through my monitor and punch you in the balls. Anything substantial I've learned about programming -- type theory and compilers and algorithms -- have all been through books. You can only rely on google and stack overflow for the most shallow regurgitated information. If you look at any of the top posters there who are feeding everyone else knowledge, you can bet that they have a list of favorite programming books. Read motherfucker.
>>
>>55645411
>You make me want to reach through my monitor and punch you in the balls

So use your book knowledge to punch me in the balls in O(n*log(n)) time, faggot :^)
>>
how 2 improve at problem solving? mainly for studying algos and data structures
>>
Alright guys, recent graduate in CE and pretty much my entire education has been based of C/C++/Java but primarily C. Going into firmware/embedded systems but I've been looking for a month with no hits.

I want to pick up Python, where do I get started?
>>
File: dc6BMpxc9.gif (1KB, 235x219px) Image search: [Google]
dc6BMpxc9.gif
1KB, 235x219px
>>55645503
Introduction to Algorithms you fucking nigger
>>
>>55645474
Not an argument.
>>
>>55645474
come to my apartment and I'll heapsort your balls

>>55645503
practice

>>55645593
if you know java and c, well, the concepts are pretty straightforward. install it and fiddle around with the interpreter, maybe learnpython.org can help.
>>
>>55645618
I did some weed and realized that heaps are a reified sort
>>
>>55645277
Say I were to self teach a lot of this math, would I be able to do anything with it since I wouldn't have college credit?
>>
>>55645726
I only see it as an addition to programming, I doubt you'll be able to get a math-oriented job saying you taught yourself some math by reading a bunch of books
>>
File: 66577.jpg (35KB, 400x400px) Image search: [Google]
66577.jpg
35KB, 400x400px
I've started learning Android about two months ago and I really want to give this guy a nice blow job for all the shit he's made to make everyone else's life easier.
>>
>>55645618
Yeah not used to this scripting thing. I tried my hand at Python awhile back and couldn't get into it because there was just so much going on underneath the covers I felt like I was just using someone elses library.
>>
>>55645807
>implying that's a bad thing
>>
>>55645807
>import essay
>>
how come visual studio code isn't more popular?
its like a marriage between emacs and VS, i fucking love it
>>
>>55645958
it is popular.
we had a poll last thread. its pretty industry standard at this point for a windows C++ environment
>>
>>55643657
>>55643812

Author here. Whats up.

Got a plugin idea?

I could use some help adding in some cool vector shapes like dipoles and turbulence and stuff
>>
>>55641891
>>55644008
Anyone..?
>>
How to make a llvm::GlobalVariable accessible in multiple ExecutionEngines ?

http://lpaste.net/170539
>>
>>55638561
I love functional programming, definately Haskell! Like suggested you van also try Lisp, but that's not strictly functional, it's just a pattern. Scheme with the Chez compiler is good at functional code but even though I love Schemr I cannot deny Haskell is the best for purely functional programming.
>>
This right here is what I'm working on. https://github.com/Wysaard/fucked-up
>>
do dictionary attacks on password combine words ?
for example i have a dictionary with 2 words , apple and orange , will a dictionary attack try first apple then orange and terminate or will it thy appleorange and orangeapple ?
>>
do dictionary attacks on password combine words ?
for example i have a dictionary with 2 words , apple and orange , will a dictionary attack try first apple then orange and terminate or will it thy appleorange and orangeapple ?
>>
>>55646505
Obviously they can but the probability of them guessing right goes way down as soon as more than one word is used.
>>
>>55646531
two dictionary words would be about as strong as 5 alphanumeric characters
>>
>>55646114
what font and editor?
>>
>>55647027
visual studio

proggy fonts
>>
>>55641696
>>55639099
Your problem seems to be using swift buddy.
>>
>>55646089
That anon is talking about Visual Studio Code, not Visual Studio.

Code is the lightweight cross-platform text editor.

https://code.visualstudio.com/
>>
anyone who can recommend me a decent task automation library?
i've already looked into grunt/gulp, but the dependencies are just waaay too many (including dependency on the nodejs runtime which doesn't come preinstalled on most systems)
>>
>>55648217
You should go OS-specific for task automation.
>>
So I've been left with the task of developing a relatively simple software tool we will need quite a bit soon, and as it's a solo effort I have the freedom to implement it however I like so long as it works.

Should I develop it:

a) in Python, since the other two coders at the lab know Python well and will be able to tweak the tool later
b) in C, since I'm the only one at the lab who knows C and it will make me indispensable
>>
>>55648416
Python, without a doubt.

Don't be that guy.
>>
File: seal.jpg (97KB, 800x532px) Image search: [Google]
seal.jpg
97KB, 800x532px
>>55648425
But it's good to be that guy.
>>
File: varables.png (27KB, 804x445px) Image search: [Google]
varables.png
27KB, 804x445px
>>55648443
That's why I just write unmaintainable code.
>>
i havent ever done anything with graphics before, but i'm using opengl to just draw textured quads for a 2d platformer game.

runs fine but it looks like arse, does anyone have any recommended reading material for making 2d games that look nice?
>>
>>55648484
>making 2d games that look nice
Dump what you're doing and move to Unity.

You'll never spend enough time rolling your own decent-looking effects without raping performance.
>>
>>55648465
>
new List<ListBox>() // List of lists from the LeaderboardFactory 

>lying in comments
devilish!
>>
>>55648499
>unity
the reason i'm doing it myself is so that i can learn how it all works. i don't want to just copy paste shit.
>>
>>55638331
Got myself a new rig and gonna start coding a sick app with based electron!
>>
File: win77.png (271KB, 1920x1200px) Image search: [Google]
win77.png
271KB, 1920x1200px
seccomp-bpf for windows

kill me now.
>>
Is there any reason to use anything else than Go for developing new applications?
>>
I dont like programming anymore.
Should i continue or kill myself right now?
>>
With Docker, how do I update an existing container?

Do I have to keep re-creating the container and just removing the old one or can I just somehow "update" the existing one?

Also, how do I give a shared storage space to multiple containers, which is also available from the host OS? E.g. the database transaction log or the database's "hard file" or whatever so I can check it when the container fails.
>>
File: 1361923531101.jpg (56KB, 300x300px) Image search: [Google]
1361923531101.jpg
56KB, 300x300px
>look up example code for using iocp
>"this code does what you need"

while(TRUE) { /*stuff*/ return 1; } /*more stuff*/


>mfw it doesnt do anything at all
why do people do this?
>>
File: gamedev.png (959KB, 707x2530px) Image search: [Google]
gamedev.png
959KB, 707x2530px
>>55648691
Yes, writing code is the only form of escapism which at least theoretically makes you not-a-complete-waste-of-air.

That is, if the code has at least vague chance of being useful to anybody - mere autistic masturbations don't count.

>>55648647
It's a fine replacement for java/.net, especially for server stuff. For lower level systems programming, not by a long shot.

>>55638528
This looks like a really well obscured swastika. You sure that maze is random?
>>
>>55648769
>(with real game code graphics)
L M A O
M
A
O
>>
>>55648769
>lower level systems programming
just say device drivers
>>
>>55648592
what's the issue? Sounds pretty cool
>>
>>55648691
Suicide bomb this thread and leave no survivors.
>>
>>55648860
my guess is the "windows" part
>>
>>55648707
There is no hot update with docker you need to delete the old one and recreate it. If with "update" you mean apt-get upgrade, this can be done by entering the container with docker exec and doing it by hand. Not recommended though.
>>
>>55648707
delete system32 to solve all your docker voes
>>
>>55648993
But my emoji's displayed correctly as you could see in the screenshot so I'm obviously on a Mac.
>>
>>55648905
Thanks dude that's quite the torture.

Any tips on the shared storage thing?
>>
File: ss (2016-07-19 at 03.42.37).png (70KB, 865x680px) Image search: [Google]
ss (2016-07-19 at 03.42.37).png
70KB, 865x680px
Remember to stay hydrated and check your privilege daily

http://geekfeminism.wikia.com/wiki/Male_Programmer_Privilege_Checklist
>>
>>55649361
No way in hell am I going to check all those privileges.
>>
>>55649332
You use a volume that is mounted on both containers.
>>
>>55640149
Please tell me the sauce of that image, google iqdb tineye and saucenao give me nothing.
>>
>>55647780
I can't stand visual studio code, the tab layout and way you switch between files is completely fucked.
>>
>>55640149
runescript?
>>
>>55649361
>"hi, guys -- and girls, I guess, too, if you want to get really technical about it!"
>"you the MAN! err... you the woMAN!"
>Never having someone of a different gender consistently interrupt you throughout your presentation

This whole list is "Things That Never Happened" or "Things That May Have Happened Once or Twice And Now All Men Are Blamed For The Actions of One Single Shitbag"

#NotAllMen

Holy shit these people are delusional.
>>
>>55649759
I've always used "guys" in a plural form to mean everyone, I don't even think of it as a gendered word, I think the shitbag is the person who gets upset over that.
>>
310 get
>>
>>55650129
Technically, that was the 311th post.
>>
>>55649361
I kek'd, thanks
>>
auto buf    = reinterpret_cast<uint8_t const *>(AXELF);
auto sample = reinterpret_cast<PackedSampleInfo const *>(&buf[20]);
printf("Name: %s" "\n"
"Length %zu" "\n"
"Finetune: %+d" "\n"
"Volume: %02u" "\n"
"Repeat point: %zu" "\n"
"Repeat length: %zu" "\n",
sample->getName(), sample->getLength(), sample->getFinetune(), sample->getVolume(),
sample->getRepeatPoint(), sample->getRepeatLength());


huh im starting to like c++
Thread posts: 314
Thread images: 48


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