[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: 326
Thread images: 36

File: 1467387907257.png (1MB, 1000x1400px) Image search: [Google]
1467387907257.png
1MB, 1000x1400px
Old thread: >>55782766

What are you working on, /g/?
>>
>>55788498
first for python is a good beginner language
>>
>>55788498
First for D
>>
any matlab aficionados here? i'm trying to combinatorially multiply the elements of two arrays and i'm wondering if there's a nice syntax shortcut that'll do it without needing repmat bullshit.

a = [1 2 3];
b = [1 2 3 4 5]';

a = repmat(a,5,1);
b = repmat(b,1,3);

c = a .* b;
>>
File: free monad.png (39KB, 670x549px) Image search: [Google]
free monad.png
39KB, 670x549px
second for free monad
>>
>>55788498

int main( ) {

caut << """Hello India!" >> StD::EnDL;

return maybe;

}
>>
>>55788555
why it no compule?!!!
>>
>>55788555
Kindly do the needful and request question answer on Stack Overflow

Regards
>>
>(![]+[])[+[]+![]+!+[]+!+[]+!+[]];
>'s'

why is javascript so retarded?
>>
>>55788612
are you really asking why it's retarded, or are you asking why people tolerate its retardation?
>>
>>55788612
>he hasn't seen Haskell's nuke operator
([[]]++[])!!0++[]
>>
Which language gives me the biggest sugar high from its high amounts of syntactic sugar?
>>
>>55788647
GHC/Haskell with ALL language extensions
>>
What's the worst pajeet code you've come across, /dpt/?

public class XXXXX
{
// Some stuff from other people

public void tryThis( String s )
{
for ( int i = 0; i < numOfLetters; i++ ) // A loop to get the letters
{
if( s.equals( letters[i] )//Our letter must be equal to one of the letters
{
// I dont need to check if there are 2 of the same letter
// Because there simply arent

secretWord.length() = n;
int[] quantity = new int[n];

int a = 0;
if( a < n )// Using a loop and an array to count and store how many times a letter is used
{
quantity[a] = s;
a++;
}

updateKnownSoFar( s );

if( updateKnownSoFar(s) != true )
numOfIncorrectTries++;
}
}
}
}
>>
>>55788647
Oz
>>
>>55788659
>// Because there simply arent
>>
is the IRC still active?
>>
File: 1467925390381.jpg (184KB, 1207x1035px) Image search: [Google]
1467925390381.jpg
184KB, 1207x1035px
>>55788659
>camel casing
>>
>What are you working on, /g/?

Absolutely nothing.
>>
>>55788808
Why are you so non-productive?
Don't you want to contribute to society?
>>
>>55788821
dumb normie
>>
>>55788854
t. chorecuck
enjoy your $5 monthly allowance :^)
>>
>>55788723
CamelCasingIsBestCasing
as_opposed_to_this_unreadable_garbage

>Anti Pascal subhumans are so dumb that the only issue they had with that code was the CamelCase, not the unmatched braces.
>>
do i really have to give into the java/javascript/C# meme
>>
Do you guys ever think about the fact that programming is much more of a trade than it is a science? It has a lot more in common with, say, smithing and carpentry than it does chemistry research.

I think Computer Science majors are glorified trade apprentices.
>>
>>55788544
explane
>>
>>55788978
CuteSharp is not a meme tho.
>>
>>55789015
but it is

it's another member of the byte-code virtual machine no-simd garbage collected bullshit
>>
File: stack language pt2.png (49KB, 474x706px) Image search: [Google]
stack language pt2.png
49KB, 474x706px
>>55788993
what part
>>
>>55788986
Theoretical Computer Science is science / math.
Computer Science is closer to Engineering or Architecture.
Then there are various programming and web dev courses you can take at community college that are more of a trade than a science.

The entire field of computing is incredibly broad, there is certainly some "real" science in there, as well as some pajeet tier code carpentry.
>>
At what point can i start working on GUIs in C/C++? I've been working on all the basics in both languages, with pointer logic, functions, classes, structs, unions, linked lists, binary trees, arrays, variables and data types, file manipulation, etc.

I've basically been working on binary tree problems for the past little bit and I'm a little sick of them so I started looking at the windows.h thing and messing around with that. How long do you think before I can dive into bigger / better gui tools or even opengl/gl.h and graphics programming
>>
>>55789047
And why is that a bad thing?
>>
>>55789069
you should start off using a framework or library before you go into windows.h

try GLFW or SFML
both of them you can use with OpenGL
>>
>>55788964
That's not camelCase
>>
>>55789069
You can start now or even a while ago. Keep in mind that using the winapi for GUI is incredibly tedious. You should use a GUI framework instead. The same goes for graphics programming. Unless you really want to work with the bare bones for some reason.
>>
>>55789077
slow and unoptimal for anything more serious than "hello world"

every program has to have a dedicated "garbage collection" thread cleaning up a pre-allocated pool of memory rather than organizing itself and another just for the JIT compiler to switch from interpreting to running native code that only optimizes by the functions it runs the most

Seems like its a language that people use when they want to sandbox the user's environment(unity, ps vita, xna, etc)
>>
>>55789077
seems like every response to managed performance fallouts is "dont worry about it" and these very same people are making "apps"
>>
File: beethoven_was_right.webm (1MB, 1366x768px) Image search: [Google]
beethoven_was_right.webm
1MB, 1366x768px
Sup lads. First GUI application. In .00001 version right now Criticize.
>>
Does anyone do anything useful with switch statements?
char unit = 'a';
cin >> unit;
switch (unit)
{
case 'F':
cout << "F stands for faggot.";
break;
case 'a':
cout << "You didn't change anything did you..?";
break;
case 'c':
cout << "C I C ..";
break;
default:
cout << "You didn't enter a letter with a case.";
break;
}
>>
>>55789172
>muh bytecode performance
not everyone is writing vidya faggot
>>>/v/
>>
>>55789212
>how to upset an "app" programmer
>>
>>55789205
no, switch statements are almost always data as code (insteaf of data as values)
>>
>>55789224
>not denying being v cancer

>>55789205
switch (direction) {
case Up: return v2(0, 1);
case Right: return v2(1, 0);
case Down: return v2(0, -1);
case Left: return v2(-1, 0);
}
>>
>>55789194
>Criticize
we can't really say much if you don't post the code
>>
>>55789136
Perfect is the enemy of good.
Yeah maybe your CRUD webapp is going to generate responses in 0.002 seconds instead of 0.00002 seconds because you made it in node.js instead of assembly. Who cares?

What's the most complex program you have ever written and why would it have been too slow if it was written in C#?

>>55789172
Yes, it is a tradeoff. You trade a miniscule amount of performance for other benefits. Why do you have such a tough time accepting that?
>>
>>55789246
Code is too large to post and not cleaned up. Have to move a lot of code to other methods.

I mean in terms of form. Pretend you are using it.
>>
How does it feel knowing that this trainwreck will get hired over your self taught ass just because he will have a degree and you don't?

>>55788140
>>
>>55789314
I already have a job though
>>
>>55789314
but I have a degree, and I definitely didn't waste it on a throwaway major like CS
>>
>>55789314
He's in his first semester and by the time he finishes school he will most likely have put in more hours programming than the average self taught programmer in these threads. The fact that he wasn't even able to locate the /dpt/ is worrying though.
>>
>>55789358
I knew most of my C++ module for my first year in the first week of my first semester
>>
File: s.jpg (36KB, 475x335px) Image search: [Google]
s.jpg
36KB, 475x335px
>tfw you live in a poor european country
>tfw jobs here pay really, really low
>tfw jobs in USA pay more than 100K a year in your field

life is suffering
>>
>>55789314
He is going for logistics
>>
>>55788498
How long did it take for programming to "click" for you guys?
>>
>>55789404
like a month of working on something every day
>>
>>55789049
is that the entire code?
or u haven't finished
anyways
what is this monad about
im new to haskell btw
>>
>>55789377
I could have passed my final year exams while I was still in high school. But so what, graduating only means you met the bare minimum requirements.
>>
>>55789381
And you'll probably had much more expenses in the US. if you really want to be surrounded by amerifats, why don't you save money and buy a ticket?
>>
>>55789439
it's like a restricted form of State that provides a stack
>>
>>55789476
kek what you nerd
>>
>>55789543
The state monad allows you to encapsulate stateful computations.
A stack can only be modified by popping or pushing.

push x is modify (x:)
<- pop is
(head <$> get) >> (modify tail)
>>
>>55789469
he'd better hurry, the wall is coming this november
>>
>>55789235
all code is data

>>55789622
europe isn't in south america
>>

public class JavaIsBetterThanC++
{
public static void main(String[] args)
{
String beautiful = "java";
String wellDefened = "is";
String structured = "great";
}

}

>>
>>55789645
i was referring to the wall of superheated dust slowly encompassing the globe after trump sets off the entire US nuclear stockpile under yellowstone
>>
>>55788498
C is for fags.

#include <iostream>
#include <string>

typedef enum {
UsdToEur
, EurToUsd
} ConversionFactor;

int main(int argc, char** argv)
{
ConversionFactor eOpt;
float fFactor;
std::string sFrom, sTo;

std::cout << "USD->EUR" << std::endl;
std::cout << "EUR->USD" << std::endl;
std::cout << "Please select an option:";
std::cin >> *(int*)&eOpt;

//Check conversions
if (eOpt == ConversionFactor::UsdToEur)
{
std::cout << "Please insert the conversion factor (USD->EUR):";
sFrom = "USD";
sTo = "EUR";
}
else
{
std::cout << "Please insert the conversion factor (EUR->USD):";
sFrom = "EUR";
sTo = "USD";
}
std::cin >> fFactor;

std::cout << sFrom << " " << sTo << std::endl;
std::cout << "_______________________________________" << std::endl;
//Print Table
for (int i = 1; i<=10; ++i)
{
std::cout << (float)i << " " << (float)i * fFactor << std::endl;
}


return 0;
}
>>
>>55789695
>public class JavaIsBetterThanC++

I don't believe this is valid
>>
>>55789717
It is in Java everything is legal in Java as long it's all objects
>>
>>55789695
public void main(string[] args)
{
string fuck = "D";
string your = "is";
string face = "better";
}
>>
>>55789716
""

Use tags nerd
>>
>>55788964
MicrosoftCasing

javaCasing

fag_casing

__ONLY_FOR_THE_ELITE__
>>
If I have a let's say spinner in an Android activity, how do I tell a child fragment to do something when I change the currently selected item in the spinner? Sorry for asking probably a stupid and simple question, but I'm an idiot.
>>
File: Extra3.jpg (99KB, 773x893px) Image search: [Google]
Extra3.jpg
99KB, 773x893px
Any good resource that explains paging really well?
>>
asm/c/c++ programmer here

idk what to make in C#

that's what all the jobs are like now right?

C#.
fucking C# right?

what meme do i have to give into
>>
File: 0131429388.jpg (179KB, 501x648px) Image search: [Google]
0131429388.jpg
179KB, 501x648px
>>55789819
>>
File: 1448172157848.jpg (190KB, 984x604px) Image search: [Google]
1448172157848.jpg
190KB, 984x604px
>>55789819
I read it as
>Any good resource that explains pegging really well?
>>
>>55788498
What should I start learning if my goal for programming is to write various scrappers and bots? Python I guess, any guides on bot writing with python?
>>
>>55789858
Looks interesting, I'll give it a gander
Thanks anon
>>
>>55789918
python is probably easiest for a beginner

though my preference would probably be Go or scala to make use of their asynchronous libraries, probably the latter in terms of working with scraping sets of data and doing transformations over it
last I checked though typesafe had memed out with sbt and it looks like you need to read a book just to get up and running with scala in the first place
>>
File: 013359162X.jpg (149KB, 508x648px) Image search: [Google]
013359162X.jpg
149KB, 508x648px
>>55789858

Tanenbaum is the MANenbaum, even though he's a (((jew))).

I've got this one laying around somewhere.
>>
Dont know if this is the right place to post this, but
>>>>>>>>>+[<[-<]+>-[+>-]+]
It's a binary counter, if you watch the bits they act like a number being incremented by 1, but I had to use a bit on the far right end to be always 1, has anyone done this without using a "edge bit"?
>>
>>55789995
Practically everything you said would be completely meaningless to a beginners.

>>55789918
Python is a horrible language if you actually want to get into programming.
If all you're going to do is simple shit like scrapers, knock yourself out.
>>
>>55790024
I want to build business applications that make money. What programming language should I learn?
>>
>>55789995
I'm fine with reading a few book, my end goal is to create bots for instagram, facebook and the likes.

Will scala work well for this?
>>
>>55790035
Haskell
>>
>>55790024
you're right on the meaningless bit

>>55790038
I'm a scala fanboy so yes but on second thought desu I wouldn't recommend scala as a first language to anyone

just use python or java

>>55790035
java
>>
>>55790069
Okay which business applications in Java are most likely to make money?
>>
>>55790019
>(((jew)))
Back to >>>/pol/, you dirty racemixer.
Although I don't think anyone there likes you either.
>>
>>55790035
C# or Java if you want to work in an office environment and build desktop applications. Otherwise nodejs or something to make hipster webapps.

>>55790038
Python should be fine for that.
>>
>>55790078
web business applications
>>
>>55790087

It's bants, m8. I actually don't have a problem with jewish people.
>>
>>55789995
I'm fine with reading a few book, my end goal is to create bots for instagram, facebook and the likes.

Will scala work well for this?
>>
>>55790123
yea
>>
What's the JS equivalent of Python's dictionaries?
>>
>>55790162
Objects. Kind of.
>>
>>55790096
I would like to hear a few examples of the most likely web business apps that would make money

Any business app programmers here with good business insight? Lets discuss business web apps
>>
>>55790162
Arrays have (I think) roughly the same syntax as python dicts.
a = [];
a["hello"] = 5;
a["world"] = 10;
>>
>>55790200
Anything that has a 3 letter acronym like CRM or CMS. It's generally boring CRUD programs to track projects, clients, billing cycles, whatever.
>>
>>55790237
Those are so boring to program! No one wants to do them
>>
File: crw.jpg (182KB, 1024x1024px) Image search: [Google]
crw.jpg
182KB, 1024x1024px
I've noticed my lack of concentration has been getting worse after trying to solve code exercises.

Usually when I'm trying to solve the exercises I get so distracted because I don't quite understand it actually I should be trying to solve the exercise right know but I'm writing this.

I'll develop mental issues if I don't force myself to stay focus on this like seriously in the morning I couldn't remember if I already had used shampoo in the shower.
>>
>>55790279
I know this feel. You feel like you don't understand programming at all so you are looking for any excuses to escape the situation. The only way to get out of this and decent at programming is to look at algorithms and have them explained of the most major problems in computing (searching, sorting, processing info through loops and arrays) then only then will this stop. Read an Algorithms book
>>
Which solution do you like better?

>>55790189 or >>55790172
>>
>>55790366
Sorry mate needs to be in Java for me to look at it
>>
I just finished a small bit of code to run CC donations via a CC processor API. It was pretty interesting for my first real PHP project.

Next I have to wrap it into a Joomla extension, and contemplate killing myself through the entire ride.
>>
>>55790366
mine (Haskell) doesn't account for an invalid option choice btw, will fix this
>>
>>55788659
I chuckled. Sauce?
>>
>>55790279

From experience (no, this isn't from /fit/):

Increase protein intake.
Keep sugar intake moderate.
Avoid soy-anything.
If you are in the US, avoid locally-grown wheat (GMO wheat contains an opiate analogue that will fuck with your concentration).
Get a water filter: One that filters out meds that seeped into the groundwater from their trip into the sewer.
If you are on antidepressants, try reducing the dosage.
Get more sleep.
Read some related technical material for inspiration.
Look at shitty code for inspiration - say "I can do better".

Other than that, I'm out of ideas.
>>
>>55789740
>"D is better"
>writes program in C
>>
>>55790572
this is some top tier bait, keep up the good work anon
>>
Does anybody actually watch dev streams?
>>
>>55790572
epik /b/ro
>>
Where 2 find coding exercises?
>>
>>55790631
leetcode
hackerrank
codefights
project euler
>>
>>55790566
Not the person you're responding to, but I've been having similar issues. I'll take this advice too, thanks anon.
>>
>>55790609
>watching someone type into an editor
>he has a fucking scarecam on the side
>sips coffee
>talking about his code
>0 viewers

why do people do this shit?
>>
>>55790609
>>55790673
If I live streamed me coding an application for a few hours you guys would be so bored it's not fun to watch a guy google code things and read through coding documentation trying a bunch of different things
>>
>Haskell supports variadic functions
How does this make you feel?
>>
File: tatsumaki_by_vipesura-d9gav4f.jpg (302KB, 745x755px) Image search: [Google]
tatsumaki_by_vipesura-d9gav4f.jpg
302KB, 745x755px
>>55790699
I'd watch you, anon-kun
>>
File: afunc.png (46KB, 849x489px) Image search: [Google]
afunc.png
46KB, 849x489px
Anonymous function in C.
>inb4 <stdio.h>???
>>
>>55790722
OCaml has always supported variadic printf, which is literally the only variadic function you'll ever actually need.
>>
>>55790733
data execution prevention
>>
>>55790733
very nice

>>55790747
|PROT_EXEC but yeah
>>
File: 1426970119033.png (302KB, 1920x1080px) Image search: [Google]
1426970119033.png
302KB, 1920x1080px
>>55790631
Roll you faggot
>>
File: afunc2.png (70KB, 680x570px) Image search: [Google]
afunc2.png
70KB, 680x570px
>>55790747
>>55790758
This is not a bypass, only code to test concepts.

>code
https://dpaste.de/wkAC
>>
im looking for a nice C project to kill free time, any good sugestion???? i already have experience but is just doesnt come to my mind any fcking idea
>>
>>55790890
Extensible Fizz Buzz
Takes a list of (uint, const char*) pairs
>>
>>55790878
>>55790733
what is this?

sounds interesting
>>
>ywnb this dedicated
>>55791050
>>55791063
>>
>>55790673
Some people record it and put it on their website or resume or whatever thinking potential employees are actually going to sit through it and hire them.
>>
File: Untitled.jpg (737KB, 3840x1080px) Image search: [Google]
Untitled.jpg
737KB, 3840x1080px
Making the UI for my app.
>>
>>55791127
Is it just for headphones or a generic upc reader?
>>
>>55788523
I feel it's a fine language in general. I love using it for quick one and done projects.
>>
How do packets work? I have very limited programming experience and I want to make some sort of TX/RX Binary protocol for some microcontrollers. So say, ON=1 and OFF= 0, how do I make the receiving end know where the beginning or through this?

For example

Transmitting Microcontroller
"(packetstart)(data)(packetend)"
- is sent in pure binary

Receiving Transmitter
Waits for incoming packet
once (packetstart) is received , writes (data) to memory until (packetend) is received
>>
File: Seleção_NNN(013).png (442KB, 943x682px) Image search: [Google]
Seleção_NNN(013).png
442KB, 943x682px
>>55790957
I'm using memory mapped with permission to run , making cast pro right type of function, and entering the function using raw instructions , which in turn are contained in an unnamed array of characters ( compound literals c11 ).
>>
>>55791142
It's a client for UPCItemDB. I want to attach a barcode scanner to it, as well as a barcode generator (UPC-A) for the results. Their current site is a bit messy, so I want to make an app that doesn't have all that clutter in it, also I want to have a scannable UPC by default.
>>
>>55791184
just have a unique bit sequence to mark start, and one that marks end. There are standard ones you can use, just google for them.
>>
File: Clownpiece.full.1938633.jpg (539KB, 1000x1000px) Image search: [Google]
Clownpiece.full.1938633.jpg
539KB, 1000x1000px
>spent ages trying to compare different strings with the == operator instead of the .equals

Debugged and improved it in many ways but at the same time holy shit. So much debugging and the solution was trivial.
>>
teaching myself how to make websites, W3Schools is what I was reading but it seems people don't like it much. Is there something more reputable I should use as a learning reference for CSS/JS/HTML?
>>
File: 1469278523099.jpg (39KB, 600x462px) Image search: [Google]
1469278523099.jpg
39KB, 600x462px
Could someone spoon feed me on what's a good format to take notes in programming in?

Examples would be awesome

K, thanks bye.
>>
So I was thinking about working on a deck syncing for DevPro (that is syncing ydk files across different computers) for friends and I. I was thinking about using a server/client model. However I was trying to think of a way to make this as easy to use as possible. Having them have one machine be the server and then connecting to it over a client sitting at another machine. However then they'd have to remember their server's IP in order to connect.

Another approach was setting up a Pi I have laying around as a server. Also I was between either using Python or Go. What do.
>>
>>55791101
he could've used a transpiler
>>
>>55789819
What's your question about paging? I might be able to answer it.
>>
>>55791264
Word, anki.
>>
>>55791264
cornell method?
>>
>>55791255
Yeah, == is checking if the references to the objects are the same.
>>
File: Solaris Tor Warnings.png (414KB, 1024x768px) Image search: [Google]
Solaris Tor Warnings.png
414KB, 1024x768px
Are equivalent codes?

https://dpaste.de/VLOf & https://dpaste.de/BTp3
>>
>>55791335
is that a language-specific answer or do all languages treat == that way? I thought == just compared if two objects had the same value.
>>
>>55791226
So I can say that

Receiving Transmitter
1.reads for (start) until received
2.starts reading for (end) and writes (data) to memory until it receives (end) ?
>>
>>55791358
>>55791335
Sorry I left out "in Java". It's very much language specific. I believe Scala treats String as a primitive type and checks if the value of the Strings are equivalent.
>>
>>55791391
Okay, thanks for the clarification. I'm knee-deep in a bunch of new things and was worried that I had been taking crazy pills for the last several years.
>>
sup /g/, I was trying to learn Cocoa programming for OS X with ObjectiveC but all the new tutorials are for fucking Swift, and I'm like FUCK THAT I'M JUST DONE LEARNING OBJC.

Does anyone know of any stuff for Xcode 7? Xcode 6 and Xcode 7 feel like two different IDEs.
>>
File: free monad interpreter 2.png (52KB, 457x755px) Image search: [Google]
free monad interpreter 2.png
52KB, 457x755px
>>
>>55791384
Yeah, just have the listener listen for the start bit combination. Once it receives that, have it listen and write the data until the end combination is received.

It might be good to have packets be a set size though.
>>
File: distress.jpg (365KB, 800x1025px) Image search: [Google]
distress.jpg
365KB, 800x1025px
>doing binary tree on C for a few exercises on K&R
>everything is a spaghetti mess, but it works
>mfw printing was implemented incorrectly
Fuck, I wasted half an hour just that. Fuck.

Here's the mess:
>binary_tree.h
#ifndef BINARY_TREE_H
#define BINARY_TREE_H
typedef struct binary_tree{
struct bin_node *root;
int size;
} bin_tree;

typedef struct bin_node{
char *value;
int magic_num;
struct bin_node *right;
struct bin_node *left;
} bin_node;

bin_tree *new_bintree(void);
bin_node *new_binnode(char *value);
void add_binnode(bin_tree *tree, bin_node **leaf, char *value);
void free_tree(bin_tree *tree);
void free_nodes(bin_node **leaf);
void print_tree(bin_node **leaf);

#endif


>binary_tree.c(or at least some of it)
//missing
bin_node *new_binnode(char *value){
bin_node *node = (bin_node *)malloc(sizeof(bin_node));
node->magic_num = 1;
node->right = node->left = NULL;
node->value = (char *)malloc(sizeof(char) * (strlen(value) + 1));
strcpy(node->value, value);
return node;
}

void add_binnode(bin_tree *tree, bin_node **leaf, char *value){
int condition;
if(*leaf == NULL){
*leaf = new_binnode(value);
tree->size++;
}
else if((condition = strcmp((*leaf)->value, value)) == 0)
(*leaf)->magic_num++;
else if(condition < 0)
add_binnode(tree, &((*leaf)->right), value);
else if(condition > 0)
add_binnode(tree, &((*leaf)->left), value);
return;
}

void free_tree(bin_tree *tree){
free_nodes(&(tree->root));
free(tree);
return;
}

void free_nodes(bin_node **leaf){
if(*leaf != NULL){
free_nodes(&((*leaf)->left));
free_nodes(&((*leaf)->right));
free((*leaf)->value);
free(*leaf);
}
return;
}

void print_tree(bin_node **leaf){
if(*leaf != NULL){
print_tree(&((*leaf)->left));
printf("%s\n", (*leaf)->value);
print_tree(&((*leaf)->right));
}
return;
}

>>
>>55791260
anybody? maybe a book I should read?
>>
>tfw you have anxiety asking a question on IRC because people have been meanies
>>
File: trees.png (38KB, 640x549px) Image search: [Google]
trees.png
38KB, 640x549px
>>55791515
at least you used an anime image

why not switch to a non spaghatti language Haskell?
>>
>>55791515
>not one goto or continue
>spaghetti code
>>
>>55791699
what is your question I will help
>>
>>55789069
Download qt designer and start doing a project. You're already ready.
>>
>>55791712
What's the deal with those arrows → ⇒
>>
>>55791804
UnicodeSyntax
→ is ->
⇒ is =>
>>
>>55791804
the ::s are actually ∷s

Do you know Haskell & are asking why the symbols or do you not & are asking what they do in Haskell?
>>
>>55788659
*       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !!!!!!!IF YOU CHANGE TABS TO SPACES, YOU WILL BE KILLED!!!!!!!
* !!!!!!!!!!!!!!DOING SO FUCKS THE BUILD PROCESS!!!!!!!!!!!!!!!!
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
>>55789194
needs more classes and OOP
>>
>>55791731
I'm just learning x86 asm and this example problem in the book pushes a buffer of some characters on the stack, like so:

pushl $BUFFER_DATA
some stuff, and then in a function:
pushl 8(%ebp), %eax


Now, the buffer is 500 bytes, so obviously I wouldn't be able to reach it right if I go 8 bytes off the base pointer.

This means that what's been pushed to the stack is the address to the buffer, which makes complete sense. When you push a constant onto the stack, is it the memory address of it that's ALWAYS pushed? Otherwise, why isn't the data itself being pushed?
>>
File: 1459926416792.jpg (25KB, 263x263px) Image search: [Google]
1459926416792.jpg
25KB, 263x263px
>>55791832
>Whitespace-significant build processes
>>
>>55789205
switch statements are faster than a litany of if statements, I hear. But then, what isn't amirite
>>
>>55791854
What do you expect from Pajeet?
>>
>>
>>55791875
>:C
>>
>>55789381
the jobs here pay that much so you can afford the marrying of women you would otherwise bang more easily in whatever post-NATO war shithole you're in.
>>
>>55791875
how many of those are even valid use of C?
>>
>>55791899
all of them are valid
>>
>>55791936
But do you have a good excuse for doing shit like that?
>>
>>55791944
First one is used in almost every c program.
>>
Should I be using Entity Framework for database stuff in C#?
>>
Is China DDOSing github again?
>>
ive been using notepad++ for python for way too long

whats the best IDE for python? main thing im looking for is autocomplete + documentation tooltip for packages
>>
>>55792480
China DDOS'd github, why?
>>
>>55792483
vim
>>55792480
https://status.github.com/
>>
>>55792509
It was like a year or so ago, I think it was assumed to cause disruption to some companies or something?
>>
>>55792483
Pycharm
>>
>>55792560
oh cool githubs back btw
>>
>>55792256
that or NHibernate
>>
Can I write android apps in C without learning java?
>>
>>55792616
No, you have to use Java.

Alternatively you can use Xamarin to code using C#
>>
>>55792642
gross... dont do this op
>>
Pajeet here with pajeet('s) question. Why can I not use cool things like pointers in Java? Can I? Why can I only pass by value and how can I replace my urges to use designated reference streets?
>>
>>55789819
>>55789858
Also Operating System Concepts. You can easily find pdfs through google.
>>
>>55792642
How is Xamarin, been thinking about trying it out. I usually just do android programs in java, but I'm not a huge fan of Java.
>>
>>55792689

you can, here's something to get you started with


object heap[] = new object[HEAP_SIZE];

// allocate memory
public int malloc(int size_in_bytes) {
// implement this
}

// deallocate memory
public void free(int ptr) {
// implement this
}

// take a pointer to an object
public int ref(object obj) {
// object_size depends on type of object
// write a new version of this for each type you need a pointer to
int ptr = malloc(OBJECT_SIZE);
heap[ptr] = obj;
return ptr;
}

// derefence pointer
public object deref(int ptr) {
return heap[ptr];
}

public void set_deref(int ptr, object val) {
heap[ptr] = val;
}

then you're good to go
>>
>>55792786
Thank you kindly
>>
Has anyone here done the Think Python book? I need help with an exercise.
>>
>>55793096
Post the exercise you scrub.
>>
>>55793135

Stuck at Number 2. Not sure what the value is supposed to be and how to use it to call the function twice.

def do_twice(f):
f()
f()

def print_spam():
print("spam")

do_twice(print_spam)[/spoiler]
>>
The value is entirely up to you. They're after something like this.

def do_twice(f,p):
f(p)
f(p)

def print_spam(p):
print(p)

do_twice(print_spam,"test")
>>
>>55791832
This is from the NT kernel btw.
>>
(Lisp (completely (sucks. (Who (would (ever (use (it (for (something (serious. (It's (a (fucking (joke (with (the (most (atrocious (syntax (I've (ever used)))))))))))))))))))))
>>
>>55793519
You forgot a closing parenthesis.
>>
>>55790843
roll
>>
>>55793519
It's to keep faggots like you out. If you're so triggered by parentheses, god knows how you would handle format directives.
>>
>>55793519
here you go
(defmacro i-hate-parens (&rest things)
(when things
`(list ',(car things)
(i-hate-parens ,@(cdr things)))))

CL-USER> (i-hate-parens Lisp completely sucks Who would ever use it for something serious Its a fucking joke with the most atrocious syntax Ive ever used)
(LISP
(COMPLETELY
(SUCKS
(WHO
(WOULD
(EVER
(USE
(IT
(FOR
(SOMETHING
(SERIOUS
(ITS
(A
(FUCKING
(JOKE
(WITH
(THE
(MOST
(ATROCIOUS (SYNTAX (IVE (EVER (USED NIL)))))))))))))))))))))))
>>
This isn't from a quiz or anything, this is an actual legit question. Researching for a new gig I might have, where I'll work in a C#/.NET system..

Say you had to design a back-end for an ERP app in C#.

A class of 'Item' will exist to define items used/managed by the business.

A class of 'Vendor' will exist to define vendors. (Items belong to vendors).

The question: Should the property on Item that references the Vendor it belongs to be a Vendor ID, or hold an actual reference of type Vendor, to the chosen Vendor itself?

I'm assuming a SQL database. So in the case of using an ID as the reference, a table could be created e.g. items_vendors, that keeps UUIDs of the Items associated with UUIDs of the vendors. So I think that's the best track, but wondering any differing opinions.
>>
>>55793944
(defun i-hate-parens (&rest args)
(reduce #'list args :from-end T))
>>
>>55794011
The 'Vendor' class would be used as a "blueprint" for all the vendors, so yeah it should be an ID. Same for Items.
>>
>>55788659
I once was tasked with fixing a miserable pile of filth made in VBA on an access database... so you knew it wasn't going to go well...

I wish I'd saved the code, but some things I recall:

1) there were half-written lines of (active) code, as though the programmer fell over dead at his desk while typing

2) someone thought it was a good idea to read whole records out of database tables into temporary tables and then, upon "saving", delete the original record and insert the temp records back. This wound up breaking their auto-increment (key) field.

3) There were several functions with names like argh and ugh.
>>
Anyone have a screenshot of that weird old language that used all these math symbols? And what was the lang called?
>>
>>55794082
K
>>
what message should I use for my commit? "first commit"?
>>
>>55794082
APL?
>>
>>55794031
I concur. Some youtube tutorial screwed this up, started saving the references to the class instances themselves (some kind of OOP ideology I guess), rather than using IDs to keep things discrete.. idiots really set themselves up at the outset for inevitable trainwreck scenarios down the line by doing shit like this.

Correct me if I'm wrong: If the referenced instance 'blueprint' changes, you'll have to reinstantiate ALL the parent instances to update the references, in addition to of course changing the logic within the class.

Whereas, with the 'by ID method', the blueprint/class can change whenever you want, as long as the IDs stay consistent (much easier).

You are just going to do a lookup within the class any time you want to access that particular instance anyway, so that will automatically pick up changes to the blueprint/stored model.
>>
>>55794110
That could be it, thanks.
>>
>>55794013
yeah, i wrote that half drunk
your version evaluates it's arguments though, so you'd have to write

(i-hate-parens 'a 'b 'c ...)
>>
>>55794082
> weird old language
m8 you should learn APL so you don't poorly reimplement it some day
>>
>>55794082
LISP?
>>
>>55791854

Plain old Make is whitespace significant, and it's a pretty decent build system...
>>
File: image001.jpg (236KB, 1624x626px) Image search: [Google]
image001.jpg
236KB, 1624x626px
>>55794110
>>55794082
APL language and it's modern derivatives (K, q and J) are extremely fascinating

They turn everything you know on it's head. K is an interpreter that beats most compilers/VM in efficiency because it fully fits into L1 cache and because of the way it stores it's data.

They get away selling ~30Kb exe (which includes K language itself+web server+SQL 94) for 100 000$

I highly recommend looking into K at least as an exercise to broaden your horizons
>>
>>55794299
That looks more like a fucking input list from some button masher than code.
>>
>>55790843
lets go
>>
>>55794267
Lisp hasn't been written in all caps in decades, and uses few math symbols
>>
File: k language.jpg (46KB, 709x868px) Image search: [Google]
k language.jpg
46KB, 709x868px
>>55794331
these languages are extremely terse

they treat text more like a VM code for braindead interpreter but because all operation are also operations over vectors symantic value that each and every symbol carries is gigantic
>>
>>55794365
Well he did mention old.
>>
>>55791851
i havent done any asm in a long time and even then i just played with it for a short while, but...

an address and a constant are just numerical values. theres no distinction (ie. typing) between the two in asm. i cant say definitively without seeing the context in which BUFFER_DATA is declared and assigned its value, however, it looks like it stores the address of the buffer. so when you push the variable, youre pushing the address of the buffer. if you want the address of the variable BUFFER_DATA, which stores the address of the buffer, you'd use a "load effective address" instruction before pushing the result onto the stack.

this is roughly analogous to the address of a pointer (in c/c++)
>>
>>55794299
Another advantage it has is instruction granularity. Each instruction executed by a K, APL, or J interpreter typically does much more work than a single instruction in a stack or register vm, so there's much less interpreter overhead. It can't beat well-vectorized c/c++/fortran that uses the same data layout tricks, though you get a good chunk of the performance with a fraction of development time.
>>
>>55794365

What the hell was it with older code and being written in all caps?
>>
>>55794467
Probably something to do with a small character set saving disk space.
>>
>>55790843
roll
>>
>>55790843
rollan
>>
>>55794467
There used to only be uppercase letters on computers.
>>
>>55794634

Your character set is ASCII. It's 8 bits per character regardless of whether you use upper or lower case.

>>55795063

Lower case characters have been a part of ASCII since its inception.
>>
>>55794082
>>55794110
>>55794257
>>55794299
>>55794331
>>55794369


Here's something interesting to watch:

https://www.youtube.com/watch?v=a9xAKttWgP4

It's a step-by-step construction of Conway's Game of Life in APL. It's very interesting and shows how APL works.
>>
Why does fgetc() in a loop in C just print out \337?

It works if I do it any other way, but I don't understand why it's doing this.
>>
>>55795132
Oh wait, I'm actually retarded.

I think it's literally just printing the first tab character over and over.
>>
>>55795180
It prints what it reads from the input stream, if that's what your file, or whatever contains then that's what it'll print out.
>>
>>55795194
Turns out what was actually wrong was my function to get the file size, I forgot to put rewind() in it.

But the /337 is weird, I don't know what it means.
>>
In functional programming, how can I represent an operation that can only occur once? (e.g. initializing a piece of hardware)

I could obviously do this by rolling my own monad, but is there a built-in or common term for this?
>>
>>55793944

Rainbow Parenthesis plugins really can help if it is that troublesome.
>>
>>55795112
Lisp was invented before ASCII.
>>
>>55795122
What the fuck did I just watch.
>>
>>55795307
Here's a sudoku solver in APL: https://www.youtube.com/watch?v=DmT80OseAGs
>>
>>55788544
this code looks beautiful
t. i dont code.
>>
>>55789755
is pMicrosoftCasing still MicrosoftCasing considering hung notation is a MS thing?
>>
>>55790843
R
>>
>>55795335
Did that already. Reroll
>>
>>55790843

This list of challenges is so old.
>>
File: kdb.png (4KB, 1335x42px) Image search: [Google]
kdb.png
4KB, 1335x42px
>>55794299
>They get away selling ~30Kb exe (which includes K language itself+web server+SQL 94) for 100 000$
what the fuck man
>>
>>55788498
Someone last thread asked me why I would modify a GPL'd project.

Well, the answer is that it has a major flaw that breaks compatibility with some database designs, which is easily fixed.

I'd do a pull request, but the author is non-responsive.
>>
>>55795393
hey, allegedly entire Wall Street runs on kdb, so they DO something right

the way how Kdb queries data blew my mind back in the day

There is no scalar values or scalar operation, everything is done on vectors because everything is implicitly vectors.

it's like Linq from C# only without boilerplate lambda syntax

if there is a table with three fields: a, b, c

Kdb just literally creates three arrays ("vectors"): a, b, c

say you want to do

Select A where c>10

Kdb goes through c array and gives indices of elements in C that are >10

Then these indices are fed to a and you get result of your SQL query
>>
>>55792777
It's fantastic if you're already into C#.

Lets you actually get an app out the door in a reasonable amount of time. Bonus points for not having to use Java.

I doubt that it's worth learning C# only for Xamarin, though.
>>
>>55795489
>>55792777

Actual programmer here. C# is marginally better than Java, but it's totally not worth dealing with the headaches of Xamarin for the syntactic benefits.

There are two actual use-cases for Xamarin:
a) if you have large pre-existing .Net libraries you don't want to re-write.
b) You want to use F# on Android.

If you do it for (b), note that you'll need to be very well versed to handle the insanity that is Android APIs without losing your mind.
>>
File: Untitled.png (2KB, 319x72px) Image search: [Google]
Untitled.png
2KB, 319x72px
> learning f#
>>
>>55795525
To further the point about the syntax, you could just use Kotlin on Android for nearly identical benefits without the bullshit.

>>55795533
>>
>>55795464
If you're familiar with the industry, would you say most money is in enterprise/government contracts, and not per-user stuff?
>>
How do you guys learn a language? I usually just practice a bunch of ds/algo questions with them.
>>
>>55795525
>if you have large pre-existing .Net libraries you don't want to re-write
I agree with this.

I've written fucktons of .NET code, and it's fantastic to be able to just drop that in. Same goes for Unity.
>>
>>55795533
I'm very familiar with F#. Ask if you have any questions.

>>55795550
Well, aside from the compilation issues, dependent library version conflicts, PCL restrictions, mono quirks, etc.
>>
>>55788498

Learning Haskell. Wanted to try something outlandish.
>>
>>55789194
>Java

Get out.
>>
File: lf81RLn.png (2KB, 113x163px) Image search: [Google]
lf81RLn.png
2KB, 113x163px
>>55795558
>not writing your libraries in .NET Core and only swapping to 4.x.x if you need something Windows-specific

Memes aside, you raise good points.

I'm not going to bother with Kotlin, though. It seems okay, but I try to make myself more marketable with everything I learn.

If I went that route, I'd just bit the bullet and dust off my Java knowledge.
>>
>>55795597
Kotlin is basically Java with slightly less verbose Syntax. You can pick it up in 30 minutes. It's an incredibly boring language.

>.Net Core
>NoLibraries.jpg
>>
>>55795611
I usually rebuild a repository from GitHub and make the changes for something to be .NET Core compatible. This often ends with me pruning some functionality from the library that I wasn't using anyway, but does prevent a build.

Which makes me wonder, what's the best way to notify the author?

If I rebuild their library to be .NET Core compatible, obviously it wouldn't be a pull request, but I guess I could fork it and add a Core to the name?
>>
>>55795558
I'll have Advanced Programming course using F#, where ever I look I see that "Thinking in Functions" motto.

Using "Functional Programming Using F#" book now but it just gives bunch of examples with known concepts. I hope I wont fail to understand it since it will be most likely to be different than oop of imperative languages.
>>
File: night.png (8KB, 320x320px) Image search: [Google]
night.png
8KB, 320x320px
>haskell niggers will never kill themselves
>>
>>55795636
The fuck are you doing, son.

You're literally depriving yourself of support, patches, and new features.

More importantly, though, most projects would love .Net Core builds. It's really hard to find the time to do them, though.

The best approach would be to get in touch with the maintainers and seeing what they want from a PR for a .Net core build. First search for issues, then open one if you can't find it. Based on what gets discussed, work towards that.

I'd also strongly advise using NuGet (or preferably Paket) and proper dependency management rather than doing your own crazy thing with source-based builds. It's really critical for anything but trivially small projects.


>>55795639
If you want to work from a book, I'd advise starting with Programming F#. It's a brilliant introduction with exceptional clarity. I'd also suggest checking out https://fsharpforfunandprofit.com/
>>
Is it possible to use TCP for connecting to a server and then send data to that same server using UDP in C?
I'm writing a server and using TCP for sending data packets (happens several times in a second) seems like an overhead.
>>
>>55795706
Use TCP unless you have some explicit need not to. It's simpler overall.

if you must use UDP, then generally a handshake is performed over TCP first for critical data.
>>
>>55795686
>The site is already in my bookmarks and will take a look at that book too. Thankf for the advice.

What can one achieve using F#, what are the advantages and usage fields?
>>
>>55795686
I don't do this with large, widely-supported, often-updated libraries.

It's mostly <1,000 LoC libraries that abstract out a particular series of tasks for me.
>>
>>55795715
>handshake is performed over TCP first for critical data
So I have to open two sockets per user, one for UDP and one for TCP?
>>
>>55795533
>what font is this?
what font is this?
>what font is this?
what font is this?
>what font is this?
what font is this?
>what font is this?
what font is this?
>>
If I put a call to, say, char* x = malloc(10) inside a loop, will the computer allocate to x a different 10 bytes each iteration, meaning i will sooner or later run out of memory? Or will it always be the same 10 bytes?
Sorry noob question i'm just starting out.
>>
>>55795797
yes
>>
>>55795797
You'll run out of memory at some point.
>>
>>55795801
>>55795817
alright thanks. And if the loop ends before i run out of memory, will x point to the last 10 bytes that were allocated, or will there be a continuous 10*n sized chunk of memory with x pointing to the first byte?
>>
>>55795730
The major benefits are exceptional type safety and expressiveness.

Because programs are structured very differently to OO/imperative ones, you can lift an enormous number of checks and constraints into the compiler, which greatly reduces your propensity for runtime errors.

>>55795743
Those are exactly the kind of libraries that would really love your help.

>>55795760
If you really MUST use UDP, try this:

The server should always be listening on a TCP port known to the client. When the client connects, perform your handshake and send it the information it needs to communicate over UDP, where communication will continue. Continue listening on the TCP port for the next client.
>>
>>55795784
consolas
>>
>>55795832
x will point to the last 10 bytes. You have to use free(x) to deallocate the memory.
>>
>>55795832
The last chunk, you'll leak the rest of them.
>>
>>55795843
>>55795848
cool. Thanks a lot.
>>
>>55795840
thaks
>>
>>55795842
are you on linux? do you have the .ttf file?
>>
>>55795898
You can find it in google in about half a second.
>>
>>55795909
aight
>>
>>55788498
If i wanted to go for something like software engineering what language should i learn first?
>>
>>55795980
C++
>>
>>55795980
Assembly
>>
>>55795980
Any OO language.

I'd advise picking something without the manual memory management, such as SmallTalk/Java/C#.
>>
>>55789717
At least it's not undefined.
>>
>>55795980
Assembly or C

You'll never understand how to write Java until you learn the true meaning of coding
>>
>>55795980
Python
>>
>>55790279
You aren't motivated.

It's ok. Just find your motivation. Also remove distractions. eg, F11 your browser, and don't multitask.

I personally prefer to study on ink&paper books
>>
>tfw just used a C++ template for a vector extension
Holy shit this is powerful. How easy is it to go overboard with templates?
>>
>>55796023
kys
>>
>>55796040
Very. Better hope you're using CLANG if you have to debug templates...
>>
hello how i into priogram i donwload the linux ubuntu but i make a c prohrram abnd he said ont work sorry
>>
>>55796054
install gentoo
>>
>>55796050
I only have one class that utilizes a template at the moment, but generic programming just expanded my mind to a whole new level holy shit. But as long as they won't make my life easier I'll hold off on them.
>>
>>55790843
I probably won't do it
>>
>>55796076
Wait until you get to variadic templates.
>>
>>55796076
Generics and templates are different things.

Generic programming is good. Templates are okay. Template metaprogramming in C++ specifically is where things can get quite out of hand...
>>
>>55794036
>There were several functions with names like argh and ugh
kek
>>
>>55793519
>Only one single syntactic construct

Wow, if you can't appreciate the simplicity of it, I guess you're good with hating it.

Also, it gets really easy with editor support.
>>
>>55788523
the level of people here
>>
>>55796126
>what are special forms
>>
>>55789077
nobody here will be using anything that requires language processing speed, other than to bruteforce their lousy code
>>
>>55796158
(You)
>>
>>55791564
Read MDN whenever you have questions. That is how I learned.
>>
>>55789194
How slow is your PC?
>>
>>55796247
>Java.webm
>>
>>55796247
Probably not slow at all, it takes time to fetch the results from the page.
>>
>>55796257
Yeah but a simple program took like 5 seconds to boot, even if some of that was spent compiling to JVM it's still pretty slow.
>>
File: 1407453984971.png (121KB, 250x418px) Image search: [Google]
1407453984971.png
121KB, 250x418px
I've asked this before, but is it ok to scrape sites like 4chan with BeautifulSoup and urllib?
>>
>>55796294
Replace urllib with requests and you're good.
>>
>>55796294
Just use 4chan's API, Anon, it will be a lot easier.
>>
>>55796294
I'm doing something similar, just use the API and work with the JSON provided. Do what >>55796306 said (probably the same guy who helped me yesterday).

You want to use beautifulsoup/urllib for places you can't get JSON from, iirc.
>>
New thread:
>>55796316
>>55796316
>>55796316

"No drawings of girls labelled as boys" edition.
>>
>>55796320
Personally, I find libxml much better to work with than beautifulsoup.
>>
>>55796330
Couldn't tell you one way or the other, haven't used beautifulsoup a whole lot outside of some concept-understanding practice.
>>
File: 1390771726463.jpg (13KB, 374x446px) Image search: [Google]
1390771726463.jpg
13KB, 374x446px
>>55796306
>>55796311
>>55796320
Thanks a million, mates. Was there any legal issue to boot, though? I only knew Google-related sites and Facebook didn't fancy scraping.
>>
>>55796393
>scraping
You're just getting anonymous posts on an imageboard. Just follow the requests-per-second limit rule and you'll be fine.
>>
>>55796393
They can go fuck themselves, there's nothing illegal about scraping but you can get temporary (or permamently) shitlisted if their web server/firewalls detects your activity as "suspicious".
>>
>>55796418
So, about how many requests should be ok for a script? Or the 4chan API will take care of it?
>>
>>55796513
Read the fucking API spec, retard.

https://github.com/4chan/4chan-API
>>
File: 1398113421537.png (26KB, 382x497px) Image search: [Google]
1398113421537.png
26KB, 382x497px
>>55796521
Got it. Thanks a million, anon.
>>
>>55796588
nigger
Thread posts: 326
Thread images: 36


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