[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: 321
Thread images: 37

What are you working on, /g/?

Old thread: >>58770625
>>
File: 1481599340454.jpg (83KB, 600x338px) Image search: [Google]
1481599340454.jpg
83KB, 600x338px
Please stop making these threads early and re-using the same image every time.
Thank you.
>>
oh shit guys I'm about to be included on a large asp.net or something project.
What do I do to revise and prepare
>>
File: BHP_cover_final[1].png (529KB, 474x627px) Image search: [Google]
BHP_cover_final[1].png
529KB, 474x627px
I've been doing python programming/scripting on ubuntu mainly, and I figured I would give windows a try, I figured it would be crappy, but I've been reading up on
>pic related

and I am actually surprised how well python programming is on windows, I am assuming all python is doing calling windows native API. But none the less, pretty neat.

>just made my own toolkit from chapter 2
>command shell only worked on the side the person was connecting from
>reversed it so I had access on the listening side instead of the connecting side.
I think the author did that on purpose so people can modify the code and have command shell on their end
>>
What language can help me write my time travel proofs?
>>
File: 2831736593218373452.png (509KB, 530x706px) Image search: [Google]
2831736593218373452.png
509KB, 530x706px
>OOP is truly obsolete
>A language as crippled as Go can never be fast to develop in.
>Rust is never going to replace C
>Racket before Rust
>Rewrite this
>currently in Go
>Python is bad for also reasons
>>
Redpill me on clojure and Go
>>
>>58775772
They're both shit and not worth looking into.
>>
>>58775685
Stop being autistic
>>
>>58775772
Clojure is Java Lisp and Go is for gays.
>>
>>58775772
Why would I want to share my redpills with you?
>>
>>58775772
go is simple light concurrent and triggers /dpt/ weenies
>>
>>58775423
here, I got it

#lang sicp
(define (curt a) (cuberoot-iter 1.0 a))
(define (cuberoot-iter guess a)
(if (good-enough? guess a)
guess
(cuberoot-iter (improve guess a) a)))
(define (improve guess a)
(/ (+ (/ a (square guess)) (* 2 guess)) 3))
(define (square a) (* a a))
(define (good-enough? guess a)
(< (abs (- (cube guess) a)) 0.001))
(define (cube a) (* a a a))



removed that extra square.
>>
Ok, I've been working on getting a threadpool implementation working on Windows for a while, but I'm getting enough of it after hours of debugging.

So basically, I have a thread pool implemented with pthreads on Linux and it works fine. I have been trying to translate it to work in Windows (in C), but for some reason I do not understand, it just won't stay stable.

The code is here: https://hastebin.com/dojaqixedo.php

So each of the threads of the pool runs the doThreadPoolWork function where they wait on a condition variable until there's work to do. Then they pick the first job from a linked list of jobs, buffer up the job's function pointer and the arguments it uses, then forwards the queue to point to the next job in line.

My program keeps on crashing after a few completed jobs on one of the threads of the pool, where apparently the pointer to the first job in line is sometimes invalid. At least that's what Visual Studio told me once, after that all it has been saying is that "this thread crashed" and that "Frame not in module". I'm not terribly familiar with Windows debugging tools.

Any ideas what could be causing the crash would be appreciated. The exact same code works on Linux with the Windows-specific calls replaced by pthread functions.
>>
>>58775854
You should read the Bunn run instead of the Niceza run, that is better.

Also, if anyone says Ryan is a better choice than literally anyone else, KILL THAT PERSON.
>>
>>58775787
>Go is for gays.
More like goys amirite?
>>
>write the functions 'runs'. runs takes a list of int as input and returns a list of maximal long ascending ordered subsequences, e.g. runs [5,4,6,3,8,9,1] = [[5], [4,6], [3,8,9], [1]]

My solution:
runs :: [Int] -> [[Int]]
runs = foldl (flip partition) []

partition :: Int -> [[Int]] -> [[Int]]
partition x [] = [[x]]
partition x acc = init acc ++ if last (last acc) < x then [last acc ++ [x]] else [last acc, [x]]


Any way to improve?
>>
runs
more like
runts
>>
data OP = Faggot
>>
quick! post the answer!

"1" + "1" - "1"
>>
>>58776047
10
>>
File: 1482533455969.jpg (125KB, 800x720px) Image search: [Google]
1482533455969.jpg
125KB, 800x720px
>>58776047
doesn't compile
>>
>>58776084
she's cute
is that cirno?
>>
>>58776047
invalid operands to binary + (have ‘char *’ and ‘char *’)
>>
>>58776084
is probably autist level good at c++
>>
>>58775946
runs [] = []
runs (x:xs) = (x:(takeWhile (>x) xs)):(runs(dropWhile (>x) xs))
>>
>>58776047
You can't subtract a character.
>>
Working on finding patterns in text in Python
>>
>>58776134
you can in javascript
most popular/loved language according to stackoverflow :^)
>>
hn > /tech/ >>>>>>>>>/g/>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>stackoverflow
>>
>>58775678
Im writing a program to parse JSON into a python object. I know it has probably been done before, but I wanted to do it my way partly on principle, and partly to free myself from some of JSON's limitations.

I plan on making a new language of sorts in the long run.

I wrote about 300 lines of code, and so far it looks like I only have 1 logic error.
>1 part luck
>1 part skill
>10 parts hesitation and rereading code before ever trying to execute it once.

>>58775750
Pictured book is actually a really good read. I used to hate python for some odd reason, but it has really grown on me lately. Great language
>>
>>58776166
where is msdn?
>>
>Hackernews
More like
Microsoft shill news
>>
>>58776172
In the streets.
>>
>Clojure is what happens when Java has a loo inside the house and chooses to use it
>>
I'm semi new to VS. Is there a good way for testing the contents of dll files in the same way that you would build/debug a program?

Do I have to write code in a different project and then rewrite the reformed version in the dll project? I'm working on making a couple of libraries specific to code that I want to reuse in multiple projects but my workflow tends to involve writing a couple of lines and then testing it, and then writing a couple and testing it, and then formatting something a different way and then testing it. I tend to abuse dumping test methods in the start of the application quite a bit. When looking at starting my own dll I don't see an entry point or anything like that in which to test code. Do I have to constantly build new versions and reference them in a separate project to test it?

Sorry if this is a full retard basic bitch question.
>>
File: god_of_evil_of_clustering_hell.png (684KB, 1139x742px) Image search: [Google]
god_of_evil_of_clustering_hell.png
684KB, 1139x742px
>>58776230
Make a "unit-test" like solution where you test, modify all of your dlls/classes.

Well, this is the way I do it.
>>
>>58776117
Well, I feel stupid now.
>>
File: searchingforgod.png (24KB, 1212x416px) Image search: [Google]
searchingforgod.png
24KB, 1212x416px
I am currently working on my text-based user interface for windows(I am aware of ncurses) and now I am doing the torturing part, finding characters to draw different styles of controls.

Why is there no upwards facing relation symbol on the top index?
>>
>>58775772
don't listen to advice of /g/ for any serious thing. Go is the language of future, just read about ken thompson.
>>
>>58776310
>randomly skips spaces between parameters
what are you doing
>>
>>58776340
he's not one of us
I bet he doesn't put opening braces on the same line as if statements
>>
>>58776274
Alright I'll look it up thank you.
>>
>>58775946

This type of stuff is kinda twiddly in Java, but here goes. Hopefully it's easy to read.

import java.util.LinkedList;
import java.util.List;

public class Runs {

public static void main(String[] args) {
List<List<Integer>> result = runs(5,4,6,3,8,9,1, 20, 547);

System.out.println(result);
}

public static List<List<Integer>> runs(int... integers) {
if(integers.length == 0) {
return new LinkedList<>();
}

List<List<Integer>> out = new LinkedList<>();
List<Integer> run = new LinkedList<>();

run.add(integers[0]);
for(int i = 1; i < integers.length; ++i) {
int prev = integers[i-1];
int current = integers[i];
if(current >= prev) {
out.add(run);
run = new LinkedList<>();
}
run.add(current);
}
out.add(run);

return out;
}
}
>>
File: szebbjövőt.png (119KB, 1662x759px) Image search: [Google]
szebbjövőt.png
119KB, 1662x759px
>>58776340
Blame the IDE :)
>>
>>58775946
>Java
I asked "any way to improve?"
>>
>>58776422
Yes, now it's written in a real language.
>>
>>58776443
but you posted Java, not a language
>>
>>58776478
You can't say Java is not a language just because you can't program in it.
>>
>>58776495
it is by definition not a language. me supposedly not being able to program in it doesn't change that in the slightest.
>>
>>58776060
t. Javascript
>>
>>58776396
Dude what why in java?
>>
what's a good place to learn scapy?
>>
>>58776761
your computer
>>
Writing postable shell scripts is pure horror, should I just switch to something like perl?
>>
>>58776824
s/post/port/
>>
I've got a question:

If I want to build a program with a GUI using either FLTK or Qt and I want to debug it visually, like you do in VS with CLI, what do I use? Im pretty sure VS only allows CLI visual debugging right?
>>
>>58776824
Just don't write portable shell scripts? Use bash and stop giving fucks.
>>
>>58776824
>portable shell scripts
You're doing it wrong.
>>
>>58776824
python is the new sane perl
>>
>>58776906
>from memes import dankpost
>dankpost()
>>
 

if (btn[n, k].BackColor == Color.LightSeaGreen)
{
//do things
}



how do I compare a buttons backColor to a color in C#? This doesnt seem to be working
>>
>>58776278
Don't I probably would've written it the same way. Just gotta practice writing things compacter with built in functions.
>>
File: output.webm (968KB, 1500x300px) Image search: [Google]
output.webm
968KB, 1500x300px
working on some shit asymmetrical convolution autoencoder
>>
>>58776117
>>58776278
>>58776976
import Data.List (partition)

runs [] = []
runs (x:xs) = x : front : runs back
where (front, back) = partition (>x) xs
>>
>>58776988
actually that (x :) might be redundant
>>
>>58776968
nvm got it working
>>
>>58776824
Try it, you'll learn downsides on yourself
>>
>>58775854
Anyone? I've been trying win32 semaphores and what not but every time I try adding multiple jobs right after each other to the queue, the damn thing crashes pretty soon after program startup.
>>
>>58776824

Pretty much, yes.
Python or Perl, pick your poison and stick with it.
>>
What are dome special snowflake text editors for coding?

I want a "personal" application at home for the hily grail that is my computer, that I would probably not see anywhere else.
>>
>>58777231
TECO
>>
>>58777231
cat > somefile.ext << EOF
# Write some shit
EOF

is the best obscure text editor.
>>
>>58777231
emacs
>>
Say you have some user inputed string. How would you remove the numbers from it, convert chars in the string (A-Z=>1-26), add the numbers back in the correct places, print it out, then convert the string again to chars (without the numbers) and print it out with the numbers (original value).
Hard mode: no advanced programming (only for, while loops, and if statements)
>>
>>58777415
>no advanced programming (only for, while loops, and if statements)
wut
>>
>>58777468
No vars, enums, self made classes or methods, you know what I mean
>>
>>58777476
Also no arrays.
>>
>>58777497
>no arrays
That's completely retarded, considering a string is just an array of chars.
>>
>>58777497
also you can't look at the screen or keyboard and must be balancing on a unicycle
>>
>>58777497
>Also no arrays.

>let me just put a couple of rules here without thinking

how about no
>>
>>58777511
Yes, but I meant no arrays as in actual arrays, for A-Z or 1-26
>>
>>58777519
>>58777511
>>58777497
>>58777476
>>58777468
>>58777415
>>58777526

Install gentoo first eksdee
>>
File: 1234.png (2KB, 256x256px) Image search: [Google]
1234.png
2KB, 256x256px
Someone asked me how to figure out what quarter of the screen an object is positioned in a single line of code returning 1, 2, 3 or 4 like in this picture. I'm actually clueless as to how it's done. Can anyone here do it? sorry for poorly done pic
>>
>>58777526
Also don't use floats (doubles are ok), no 8 bit types (including booleans), no static variables and definitely don't use the preincrement function.
>>
>>58777526
anon a=new anon(faggot);
a.shitposter=true;
>>
Ok, fine, here's what you can use.
For, while, do while, if, string, int.
That's all.
>>
>>58777533
collision

try SAT
>>
>>58777551
thanks will look into it.
>>
>>58777415
>>58777550
Your "challenge" is nowhere near as hard as you think it is.
#include <stdio.h>
#include <ctype.h>
#include <string.h>

int main(int argc, char *argv[])
{
if (argc != 2)
return 1;

size_t len = strlen(argv[1]);

// Worst case size, each input character maps to two characters
char buf[len * 2 + 1];

for (char *src = argv[1], *dest = buf; *src; ++src) {
if (isalpha(*src))
dest += sprintf(dest, "%d", tolower(*src) - 'a' + 1);
else
*dest++ = *src;
}

printf("%s\n", buf);
printf("%s\n", argv[1]);
}

And this is in C, a language known for being annoying to do string processing in.
>>
>>58777597
What if I add a 0 before each 1 and 2 in encoding? 1 and 2 here mean converted A and B
>>
>>58777597
>strlen
>isalpha
>tolower
>>
>>58777551
I don't understand how SAT could be used in a single line of code here though?
>>
>>58777628
What?
It would be pretty easy to reimplement that shit, but it's just extra pointless code.

>>58777627
I don't even get what the hell you're saying. Your question is worded extremely poorly and is incredibly vague without an example, so I did my best to interpret your shit.
>>
>>58777627
How the fuck would you decide if that belongs to the number before it or after?
>>
>>58777648
A is converted to 01, B is converted to 02, C is converted to 3, ..., Z is convrerted to 26
>>
>>58777648
>I don't even get what the hell you're saying. Your question is worded extremely poorly and is incredibly vague without an example, so I did my best to interpret your shit.
He wants you to do his homework. He posted this yesterday as well too.
>>
>>58777662
>C is converted to 3
Talk about fucking inconstant. I assume you mean 03.
Implementing that would literally require 2 additional characters in my code.
>>
>>58777647
You said that he said object, you didn't give any more detail than that.
>>
>>58777681
>inconstant
inconsistent*
I picked the wrong correction word.
>>
>>58777681
>I assume you mean 03.
He doesn't. He means convert a to 01 and to 02 and the rest to 3, 4, 5, ..., 9, 10, 11, ..., 19, 20, 21, ..., 26
>>
>>58777597
>And this is in C, a language known for being annoying to do string processing in.
Well of course it's easy when you use the string library you fucking weenie.
>>
>>58777684
I mean a position in 2D a vector 2 within a resolution of 512x512.
That's all that was given. My bad I should have explained better.
>>
>>58777681
No, I mean 3, D is 4.

>>58777665
Because the professor is unreasonable. You can only use the stuff I outlined above. I feel like I'm retarded, but I have no idea how or why you would want to write code this way, if it can be done easier with other stuff.
>>
File: crying-bear.gif (54KB, 361x365px) Image search: [Google]
crying-bear.gif
54KB, 361x365px
>mfw learning Elixir
>mfw this is literally microservices on a per-application scale and it's beautiful
>>
>>58777714
1 + (x < 256) + 2*(y < 256)
>>
>>58777597
You forgot
return 0;

at the end.
>>
>>58777752
Surely you mean
return EXIT_SUCCESS;
and include stdlib.h for that.
>>
>>58777799
return 0

would be consistent with the
return 1

at the beginning of his code.
>>
>>58777814
Surely you mean
return EXIT_FAILURE;
.
>>
>>58777799
Do you not know anything about C?
>>
>>58777752
>>58777799
>>58777752
Surely you both mean
exit(0);
>>
>>58777713
>use the string library
It's part of the standard library, so why wouldn't it be fair game?
Even then, all I used was strlen.
All of the interesting work happens with sprintf and <ctype.h>

>>58777752
There is an implicit return 0 at the end of main in C99/C11.

Here is an "improved" version with a bunch of unnecessary repetitive shit.
It ONLY relies on puts, so I can actually print shit, and UCHAR_MAX which is just a simple limits macro.
Now the code even isn't reliant on the ASCII character set any more.
#include <stdio.h> // puts()
#include <limits.h> // UCHAR_MAX

#define LUT_DEF(lower, upper, val) [(lower)] = (val), [(upper)] = (val),

static const char *lut[UCHAR_MAX] = {
LUT_DEF('a', 'A', "01")
LUT_DEF('b', 'B', "02")
LUT_DEF('c', 'C', "3")
LUT_DEF('d', 'D', "4")
LUT_DEF('e', 'E', "5")
LUT_DEF('f', 'F', "6")
LUT_DEF('g', 'G', "7")
LUT_DEF('h', 'H', "8")
LUT_DEF('i', 'I', "9")
LUT_DEF('j', 'J', "10")
LUT_DEF('k', 'K', "11")
LUT_DEF('l', 'L', "12")
LUT_DEF('m', 'M', "13")
LUT_DEF('n', 'N', "14")
LUT_DEF('o', 'O', "15")
LUT_DEF('p', 'P', "16")
LUT_DEF('q', 'Q', "17")
LUT_DEF('r', 'R', "18")
LUT_DEF('s', 'S', "19")
LUT_DEF('t', 'T', "20")
LUT_DEF('u', 'U', "21")
LUT_DEF('v', 'V', "22")
LUT_DEF('w', 'W', "23")
LUT_DEF('x', 'X', "24")
LUT_DEF('y', 'Y', "25")
LUT_DEF('z', 'Z', "26")
};

void str_cpy(char *dest, const char *src)
{
while ((*dest++ = *src++));
}

size_t str_len(const char *str)
{
size_t len = 0;

while (*str++)
++len;

return len;
}

int main(int argc, char *argv[])
{
if (argc != 2)
return 1;

size_t len = str_len(argv[1]);

// Worst case size, each input character maps to two characters
char buf[len * 2 + 1];

for (char *src = argv[1], *dest = buf; *src; ++src) {
const char *str = lut[(unsigned char)*src];

if (str) {
str_cpy(dest, str);
dest += str_len(str);
} else {
*dest++ = *src;
}
}

puts(buf);
puts(argv[1]);
}
>>
>database has manual migration system
>patches are designed to be run multiple times so that portions can be run before the query is finished
>database has optional parts of the schema depending on what the client payed for
>dbas blame people who have access to the database for manually corrupting the database when their patches introduce bad data on multiple systems
>no automated setup of the database at all
>other projects that use the same database are on a different release schedule and ignore our requests for information

>project breaks when we switch databases
>devs and qa get blamed
>>
>>58777817
I know very much about C, thank you very much. You can come back when you've coded for platforms where
CHAR_BITS != 8
holds true.

Portability is king. Everything else is irrelevant. It starts with little things like this.
>>
The return value for main should indicate how the program exited. Normal exit is generally represented by a 0 return value from main. Abnormal termination is usually signalled by a non-zero return but there is no standard for how non-zero codes are interpreted.

Jesus Christ, it is like amateur hour in here.
>>
>>58777830
another fun thing that this company did
>one group of automated tests break
>they don't want to put the time into fixing it
>instead of disabling one group they quit running all their automated tests forever and do twice the amount of manual testing
>>
>>58777882
DataRobot?
>>
>>58777895
Nope. I can't believe multiple companies would do that.
>>
>>58776146
>loved
You are wrong. It is not even on the top 10 for "most loved".

The only two languages that are on the most popular and most loved lists are Python and C#.
>>
Man, convincing GHC that my definition of Comma category was not easy at all. In fact, I think I've actually tricked into making it believe that I'm not using recursive stuff with type families. It may be a bug after all...

http://lpaste.net/352047

In fact, it says that some patterns are redundant:
cats-implicit.hs:318:5: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘id’: id = ...

cats-implicit.hs:319:13: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘subsObDefn’: subsObDefn = ...

cats-implicit.hs:320:13: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘openMorEqty’: openMorEqty = ...

cats-implicit.hs:321:13: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘abAreObjects’: abAreObjects = ...

cats-implicit.hs:334:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘definitionOb’: definitionOb = ...

cats-implicit.hs:337:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘mkRefl’: mkRefl Dict = ...

cats-implicit.hs:343:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In an equation for ‘mkCommSquare’:
mkCommSquare Eqty.Refl Dict = ...


They clearly aren't! Have any of you faced this before?
>>
File: mfw57.jpg (21KB, 244x237px) Image search: [Google]
mfw57.jpg
21KB, 244x237px
>old Android camera API
>a few lines of code to take a picture
>camera2 API
>few hundred lines of code to take a picture
>>
File: Screenshot_258.png (18KB, 1130x323px) Image search: [Google]
Screenshot_258.png
18KB, 1130x323px
Started learning Java after some people here told me it's the "most requested" language in Japan. This programing stuff is kinda fun.
>>
>>58777974
Welcome to the joyous world 2.0, where in order to make anything done, you have to invoke the framework demons and sell your soul to them.
>>
>>58777834
>Portability is king. Everything else is irrelevant. It starts with little things like this.
Portability is meme.
>>
why is Stack still using 8.0.1? Haskell platform already has 8.0.2
>>
>>58778115
>haskell 8.0.1
LITERALLY OBSELETE
>>
>>58777974
Just make a little framework that sets up all these things and rely on it. That way you have a bridge between you and Android's API.
>>
>>58778115
https://www.stackage.org/nightly-2017-02-03
>>
File: recklessly making roms.png (309KB, 1920x1080px) Image search: [Google]
recklessly making roms.png
309KB, 1920x1080px
Which is better?
ld byte r0,r1
ld r0,r1,1

ld word r0,r1
ld r0,r1,2

ld special r0,r1
ld r0,r1,3

ld dword r0,r1
ld r0,r1,4
>>
File: ughh.jpg (227KB, 633x854px) Image search: [Google]
ughh.jpg
227KB, 633x854px
>tfw you will never learn to use anything more complicated than if and elif in any language
>>
>>58778151
>stable by ghc
>nightly for stack
really makes you question reality

no why is the default stack template ghc 7
>>
>>58778174
Stackage provides you with GHC *and* a set of package that have been tested and checked to work well together. These things take time, but nobody stops you from using nightlies. In fact, I simply install GHC from my distribution package manager and tell stack to use the system GHC.
>>
>>58777231
Spacemacs
>>
File: sheldonbubinga_zpse0057a96.jpg (48KB, 1024x610px) Image search: [Google]
sheldonbubinga_zpse0057a96.jpg
48KB, 1024x610px
>>58773224
SBCL lets you get down to ASM if you need to.
>>
>>58775750
Book download link pls?
>>
What's the newest, coolest feature of C++?

I want to get some inspiration to learn, don't disappoint me, /biz/!
>>
>>58778434
>/biz/
>sepples
>>
File: 1363733367118.jpg (91KB, 680x544px) Image search: [Google]
1363733367118.jpg
91KB, 680x544px
>>58778434
>What's the newest, coolest feature of C++?
You can declare variables in C++!(!!)
>>
>>58778434
Functional features, like having a function take a lambda, or being able to use member functions in callbacks using std::bind.
>>
>>58778461
people write apps in sepples but Java is probably better
>>
>>58778488
new since 2011

wow
>>
Does anyone have a list of pre-requisites for functional programming? Mathematics-wise. I never learned the basics of calculus, to set a standard of my ignorance
>>
what's the best scripting language to implement in a map editor in java?
I read lua is more like for c. should I go with jruby or jpython? or even groovy?
basically I want to be able to write scripts and basically ai in the editor.
>>
>>58778599
There is literally no math required beyond a basic understand of algebra and set theory.
>>
>>58778613
I guess I'll have to look up some set theory stuff, then. Unless I'm misunderstanding what set theory actually is...
>>
>>58778599
As >>58778613 said, it's not that you need to know stuff, it's rather the way of thinking. The basics of set theory may help. It may be interesting to learn about (very basic) abstract algebra like the definition of group or monoid and basic results (unicity of the identity element and inverses and homomorphisms). Again, you don't need any of these, but it helps.

You don't need calculus at all, really
>>
>>58778488
std::bind? don't you mean capturing?
>>
>sitting directly across from coworker, no divider between us
>he messages me on slack instead of just talking to me

is this normal ??
>>
>>58778689
Yes, it's him trying to be polite and not interrupt you.

I hate it when people walk over to my desk and tap me on my shoulder, I'm wearing my noise cancelling headset for a fucking reason.
>>
>>58778689
I'd presume among ""techies"" (excuse the cringey word, but I've got no other way to call it), it's faster to just type something out than work verbal gymnastics for communication.

Sure, there's a lot you lose in text medium of communication, but it allows you to be a little more abstract, and yet maintain a strict sense of topic. One may struggle with phrasing certain abstract terms into speech patterns, which can only be easily carried along to the other person in a non verbal manner.

There's also the granted opportunity to share links to online documents and graphics, and the such.

I know I can type a lot faster, and more concise than I speak, so there's that anecdotal.
>>
>>58778724
okay fair. it just feels awkward to me.

if i want to respond, do i respond with voice? or do we just have a lengthy conversation via computers while trying not to look at each other?
>>
What's good library (and language) to draw graphics?
I need to draw some map and I don't know how to work with vector graphic editors.
>>
>>58778752
Not that anon, but my coworker and I do both. If one of us realizes that it'll be better said out loud, one of us will just start the vocal convo. Otherwise, we can continue on whatever IM thing we're using. It's all very contextual; if the problem is big enough, we stop and talk.
>>
>>58778687
you can use std::bind to pass the "this" as a parameter to the function.
>>
>>58778163
help please god help
>>
File: assembly.jpg (24KB, 232x195px) Image search: [Google]
assembly.jpg
24KB, 232x195px
>>58778793
>>
>>58778806
or you can do this
[this](){this->callback();}
which captures the pointer
>>
So is there a way to learn good C++ practices/mindset for people coming from C?

I feel like I'm spending so much time fighting with the compiler about casting types and enums and shit, and I have no idea why every keyword has like 2 or 3+ variations on it. I have no idea what all of these casts, types, pointer things are for.

Any good learning resources?
>>
>>58778830
too platform dependent
>>
>>58778837
intredasting
>>
>>58778840
There's a small book by Stroustrup. I've heard good things about it, but I haven't read it myself: http://www.stroustrup.com/programming.html
>>
File: 1416572648395.gif (151KB, 500x327px) Image search: [Google]
1416572648395.gif
151KB, 500x327px
Where's that $300k Haskell job you promised me, /g/?
>>
>>58778869
Sorry, I think I meant this one: https://www.amazon.com/Tour-C--Depth/dp/0321958314/ref=la_B000AQ349S_1_3?s=books&ie=UTF8&qid=1424042855&sr=1-3
>>
>>58777533
Couldn't you just x % width + y % height?
>>
>>58775946
This is the only correct solution posted so far.

Some properties of your example code that are not described in your problem spec are:
1) the subsequences must be consecutive
2) the subsequences must not overlap

[5,4,6,3,9,8,1]
is a better example input: note that the 9 and 8 are swapped.

>>58776117
Throws an exception with this new input.
>>58776988
Will not compile (infinite type).
>>58776999
Produces incorrect output with this new input.
>>
>>58776824
Absolutely yes to the sentiment, but in terms of the specifics, Python is a better choice.
>>
File: 817378011.jpg (62KB, 640x430px) Image search: [Google]
817378011.jpg
62KB, 640x430px
Does /g/ listens to music while programming?
>>
>>58779199
I prefer idle noise, usually some twitch vod.
>>
File: 1343928907020.jpg (185KB, 800x571px) Image search: [Google]
1343928907020.jpg
185KB, 800x571px
>objective-c
>>
>>58778724
>I know I can type a lot faster, and more concise than I speak, so there's that anecdotal.
You must speak very, very slowly.
>>
File: why go.jpg (25KB, 655x349px) Image search: [Google]
why go.jpg
25KB, 655x349px
>>
>>58778793
pls halp
>>
>>58779315
https://www.youtube.com/watch?v=BN1WwnEDWAM
>>
>>58779199
yes, i switch up classical music with anime music
>>
>>58779199
https://www.youtube.com/watch?v=XvMxJkTaE4I
>>
>>58779320
>>58778793
Depends on what you wanna do exactly.
>>
>>58778397
learn to use libgen

here's a mirror http://gen.lib.rus.ec
>>
File: programming considered harmful.png (87KB, 853x621px) Image search: [Google]
programming considered harmful.png
87KB, 853x621px
>>58779315
Because...
>>
>>58779199
https://www.youtube.com/watch?v=aHk42kDwesM
>>
>>58779338
You mean?
What are criteria?
>>
>>58779454
Is speed a concern?
Are you willing to learn a library as complex as opengl?
Do you use windows?
Does your application need buttons and other UI shit?
>>
What small piece of code are you most proud of?
>>
>>58779552
That time when I invented the Z combinator.
>>
>>58778793
Qt Graphics View Framework
http://doc.qt.io/qt-5/graphicsview.html

Hardware-accelerated 2D vector graphics
>>
>>58779385
cracks me up every time
>>
>>58776047
"1".
>>
>>58779552
string IsLeapYear(int year)                                     {
goto step1 ;
step1: if (year % 4 == 0) goto step2; else goto step5;
step2: if (year % 100 == 0) goto step3; else goto step4;
step3: if (year % 400 == 0) goto step4; else goto step5;
step4: return $"{year} is a leap year. It has 366 days.";
step5: return $"{year} is not a leap year. It has 365 days.";
}
>>
>>58775854
Honestly, still don't have this figured out. Any ideas?
>>
>>58779646
>mickeymouse.jpg
>>
>>58778163
fucking answer me
>>
>>58779552
2 lines of C but I can't post it here because it would dox me.
>>
>>58779680
The third one, clearly.
>>
>>58779680
>sepples
stopped reading right there, "breh"
>>
File: 1400380655998.png (127KB, 257x250px) Image search: [Google]
1400380655998.png
127KB, 257x250px
>enumerating multiple things such as video modes or graphics cards is done in Windows by repeatedly calling the function to get a single one with a larger index until it returns an error code
>>
>>58779760
Would you rather have to free the array yourself?
>>
>>58779781
I'd rather an API where you can first query the number of things so I can allocate a buffer and then get them all.
>>
>>58779787
>abstract this to function that does this for you
>forget about it forevermore because your needs are met
>????
>PROFIT
>>
File: 1485660629556.jpg (50KB, 433x469px) Image search: [Google]
1485660629556.jpg
50KB, 433x469px
Will reading those computer science tomes that anime girls always hold up help improve my programming or is it just a meme? Serious question, I'm studying to be a software engineer but I'm confused by the difference between programming and the whole science part with algorithms and stuff
>>
>>58779811
>or is it just a meme
if you use "meme" in this retarded way you are beyond saving. just do whatever you want.
>>
>>58779809
The inefficiency remains.
It's lipstick on a pig.
>>
>>58779811
Don't bother with that, just kode python.
>>
>>58779811
SICP and K&R are memes.

Nearly everyone would be better served studying how to use a language geared towards their goals.

You should have an idea of what you wan to do with programming, rather than just "I want to program.".

This is the basis for your foundational knowledge.
>>
File: cute anime pic 0167.jpg (46KB, 640x480px) Image search: [Google]
cute anime pic 0167.jpg
46KB, 640x480px
>have an idea
>someone already did it better
>>
>>58779845
>You should
According to you. And why would anyone trust a """""person""""" who uses "meme" like a literal plebbitor?
>>
>>58779829
>>58779872
why are you so triggered by the improper use of the word "meme"? how else would you encapsulate how 4chan and the internet trivialize certain topics?
>>
>>58779489
>Is speed a concern?
No.
>Are you willing to learn a library as complex as opengl?
No, I need only 2D drawing.
>Do you use windows?
I can, if that matters.
>Does your application need buttons and other UI shit?
I don't program application, I just want to draw a map, like, for example, subway map.
>>
>>58779891
i'm "triggered" by your improper use of "triggered" as well.
>how else would you encapsulate how 4chan and the internet trivialize certain topics?
if you think that's what he did then you have some serious mental issues. that plebbitor used it as a synonym for "trash". which is just blatantly wrong and stupid.
>>
File: 2.jpg (1MB, 3825x2292px) Image search: [Google]
2.jpg
1MB, 3825x2292px
>>
>>58779947
>2.jpg
didn't even look at it.
>>
File: 1486091134662.png (2MB, 4553x4662px) Image search: [Google]
1486091134662.png
2MB, 4553x4662px
>>58779970
Lying is a sin Anon
>>
>>58779947
>>>/g/wdg
>>
>>58779947
>there's no place like 127.0.0.1
>there's no place like localhost
Jesus Christ.
>>
>>58779936
lol why do I have mental issues for just misinterpreting what he said? I think if anything someone as cynical and snobby as you is the one with mental issues
>>
>>58779988
>lol
Stopped reading right there.
Fuck off back to your subreddit.
>>
>>58779811
>>58779845
SICP and K&R are great books if you're already an established programmer/computer scientist, or very very smart. Their reputation isn't reflective of their pedagogic value for the average beginner.
>>
File: 1486088418274.jpg (388KB, 1438x1357px) Image search: [Google]
1486088418274.jpg
388KB, 1438x1357px
Scala is the best
>>
>>58779984
I don't have the slightest idea of what's on that image. that's as good as "didn't look" as far as I am concerned.
>>
>>58779997
>you're already an established programmer/computer scientist
nah
>or very very smart
yeah, this
>>
>>58779987
remember ThinkGeek? It still exists
>>
File: mzgvrpWYYL1qdqllqo1500.gif (747KB, 500x217px) Image search: [Google]
mzgvrpWYYL1qdqllqo1500.gif
747KB, 500x217px
So yeasterday I asked for help with homework, I finally corrected my program, it ran and this is what the final code looks like

#include <stdio.h>

main(){
int a, b, x, y, fOperation, jOperation, Result;
a=5;
b=1;
x=10;
y=5;
fOperation = a - b;
jOperation = x - y;
Result = fOperation + jOperation;

printf("\nThe vale of A minus B is %d the value of X minus Y is %d Together they make %d", fOperation, jOperation, Result);
}


What do you guys think? What am i doing rght or wrong?
>>
>>58780010
How smart exactly?
>>
>>58779845
Literally the opposite of this dribble, imo.
These "meme" books teach you how to think about programming so that when you encounter a problem and ask yourself "how do I achieve/do this?", you have the knowledge to do it. Of course you only get out of it what you put in. Sure you can have a goal of what you want to do in mind, but if you don't learn the fundamentals of programming you're basically just flailing your arms about without actually having an idea of how to solve the problems you face.

>>58779997
>>58780010
SICP is really not as hard as the people here want you to believe. I read it back when I had only a basic understanding of Java and C and I got through it. If you got through high school maths then you should have no problem with it. Same applies for K&R, which anyone can read really, programmer or not.
>>
File: brain blast.jpg (80KB, 1280x720px) Image search: [Google]
brain blast.jpg
80KB, 1280x720px
>tfw to intelligence too read sicp
>>
File: 1376519405639.jpg (53KB, 421x834px) Image search: [Google]
1376519405639.jpg
53KB, 421x834px
>>58780062
Is this a troll?
>>
>>58780062
Looks beginner as fuck, you need to be more clever is your implementation
>>
>>58780107
>>58780095
I started 3 weeks ago
>>
>>58780135
>3 weeks
you might be legitimately retarded, not even kidding.
>>
>>58780095
>>58780107
>falling for the bait
>>
File: n30kvvbIjo1qzpxx1o1_1280.jpg (266KB, 632x842px) Image search: [Google]
n30kvvbIjo1qzpxx1o1_1280.jpg
266KB, 632x842px
>>58780135
Good job anon.
>>
>>58780135
Do me something with an array, a loop and some functions, you should be farther along than you are
>>
>>58776401
>Blame the IDE :)
No. Blame the user.
Ctrl+E,D
Use it every now and then and your code stays clean.
>>
guys im having trouble diving my project into classes could someone just point me in the right direction?

Im doing a game in c# and all the GUI elements have to be created with code so I cant use the toolbox. I have a class which creates the game board. An 8x8 array of buttons where some buttons have a background image that is a checker piece. Im about to write the rules for moving pieces but I cant help but feel that writing this in the board class is poor structure.
>>
>>58780060
I don't, but I Googled it. Jesus Christ.
>>
>>58780060
I thought shops like that would have closed down after people stopped buying Bawls
>>
>>58778070
This.
>>
>>58780238
If you don't know ThinkGeek you're a fucking faggot that was obviously born 1995+.
>>
>>58780238
>>58780277
I still have the dope Perl camel shirt I bought from there in the early "oughts".
>>
>>58780303
Actually '89, so I'm probably too old for it.
>>
>>58780303
'91 here.

Never heard of it.
>>
>>58780345
It was really well known in the mid-00s, it's height was probably during the WoW boom
>>
>>58779908
If you're (on windows and) using C# you can use System.Drawing (or CoreCompat.System.Drawing).
If HTML+JavaScript is enough for you, try Raphaël, I used it at work to draw a live map to track some work related stuff and it was easy to use and worked great, plus it effectively generates a SVG, so it can be saved as that
>>
i have to put two data-wise different objects into a list

Should i join them by having both extend and empty abstract class or by having both implement an empty interface?
>>
>>58780373
Prefer interfaces to abstract classes. Also, really, you shouldn't be using an empty interface just to downcast. You should design the interface properly.
>>
>>58780402
but they're not related, so there's nothing to "design"
>>
>>58780422
If they're not related then they really shouldn't be going in a list together. Why not have two lists?
>>
>>58780373
why?
>>
It was so simple all along. How could I have been so stupid!?
>>
In Parsec, how do I filter this to exclude one particular character?
many anyChar
>>
>>58780373
Use the store 2 different classes to same class with flip design pattern.
class BeanAbstractPenisFactoryClassFactoryBeanDesignPatternExample {
Obj0 first;
Obj1 second;
boolean flip;
}

Rest is left for reader to implement.
>>
>>58780499
satisfy apparently

https://www.stackage.org/nightly-2017-02-03/hoogle?q=(a+-%3E+Bool)+-%3E+Parser+a
>>
>>58780373
I dont know why you'd ever want to do that but cast to Object
>>
>>58780370
Very nice, thanks!
>>
>>58780355
>WoW boom
Yeah, I didn't pay attention to that either.
>>
/g/ can't even average 2 ints in C
>>
>>58780598 (You)
>>
>>58780598
#include <GL/gl3.h>
#include <glew.h>
#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include <string.h>
/*
author: pajeet pooinloo
function description: compute the average of two integers
parameters: x and y
TODO: extend the number of test cases
*/
float compute_the_average_of_two_integers_up_to_3(int x, int y) {
if(x == 0) {
if(y == 0)
return 0;
if(y == 1)
return 0.5
if(y == 2)
return 1;
if(y == 3)
return 1.5;
}
if(x == 1) {
if(y == 0)
return 0.5;
if(y == 1)
return 1;
if(y == 2)
return 1.5;
if(y == 3)
return 2;
}
if(x == 2) {
if(y == 0)
return 1;
if(y == 1)
return 1.5
if(y == 2)
return 2;
if(y == 3)
return 2.5;
}
if(x == 3) {
if(y == 0)
return 1.5;
if(y == 1)
return 2;
if(y == 2)
return 2.5;
if(y == 3)
return 3;
}
return EXIT_FAILURE;
}
>>
>>58780598
I want to ask other sites and see if they can do it
>>
>>58780598
printf("%f\n", avg(-5, 2)); // avg is closed source
>>
>>58780598
X=A>>1 + B>>1;
>>
>>58780842
Your average of (1,1) = 0
LOL.
>>
>>58780842
+ has higher precedence than >>
>>
float averge(int x, int y) {
z = (x + y)>>1;
if(!((x + y) % 2))
return z
else
return z + 0.5
}
>>
>>58780934
>float
>>
WHICH ONE DO I USE?
ld byte r0,r1
ld r0,r1,1
>>
>>58780960
mov bl, al
>>
Hey guys, I just started reading "The C Programming Language 2nd Edition" and i'm just past HelloWorld and it gives me a confusing as fuck farenheit to celsius conversion and it doesn't really explain a lot to me...I'm struggling. Does it get more indepth on why things work later on? Does it expect me to be able to do tables like that right after?
>>
>>58780951
ops my bad
long double average(int x, y)
>>
>>58780972
You're not expected to do everything right the first time. You have to do self research and debugging. Welcome to programing.
>>
>>58780972
K&R isn't really for beginners, check out C Programming: A Modern Approach or C Primer Plus

(I really wish we at least had OP links for recommended books)
>>
>>58780972
See >>58780987

K&R is not 'programming for beginners', it's 'C for people who already know how to program'.
>>
>>58776840
like printing somethign when you press a button?
>>
>>58780972
https://en.wikipedia.org/wiki/Printf_format_string
\t is an escape code for horizontal tab, as it is unprintable.
>>
File: sdm solutions.png (10KB, 1920x186px) Image search: [Google]
sdm solutions.png
10KB, 1920x186px
I'm working on a website. It's going well...
>>
>>58780987
http://publications.gbdirect.co.uk/c_book/
This is my favourite book for learning C. It's simple and lucid, but never devolves in to dull hand holding.
>>
>>58780987
>>58780994
Holy shit. How stupid are you people? K&R isn't rocket science. If you're too stupid for C stick to python and shut the fuck up.
>>
>>58781078
People learn differently. You can become an excellent programmer while still struggling with prose written in the way of K&R.
Personally, I learn much better through more declarative than describing texts.
>>
File: hurrr.jpg (199KB, 594x818px) Image search: [Google]
hurrr.jpg
199KB, 594x818px
I'm sorry, if this is too complicated for you, then it is not a problem with the book. The problem is you.
>>
It took me hours to get a simple bash script working. Am I a lost cause?
>>
>>58781157
see
>>58780984
>>
>>58781140
What are you compensating for? Fear of never being loved? Your face? Or are you just miserable and shit on people to make your sad, empty life feel brighter just for a fleeting moment?
>>
>>58781078
>>58781140
It's not a matter of learning C, we're talking about using K&R as a way to start learning programming. It's just not friendly for beginners
>>
>>58781157
No, shell scripting is notoriously awkward and there is basically not reason to do it, you should consider using more appropriate modern tools like Python instead.
>>
>>58781157
>>58781218
This, absolutely use python. Learn the minimal, required basics of bash and not a single thing more.
>>
>>58781157
bash is such a pain in the ass
>>
Can anyone provide any decent resources on COM and DCOM? Preferably, some sort of thorough description of what these technologies are actually doing without being loaded down with Microsoft buzzwords, and also, a complete specification for the binary standard. I've been googling around and not finding the best of resources.
>>
does C have double, so that it can represent numbers with two decimal places?
>>
>>58781281
Hello girl from my lecture.
>>
>>58781281
>does C have double, so that it can represent numbers with two decimal places?
What the fuck? Do you know what a double is?
>>
>>58781281
Well, yes
Double doesn't mean what you think it means though
>>
>>58781157
The syntax is extremely discovered and fragile. Bash scripts can go fuck themselves.
>>
>>58781281
Typical asshole who is too stupid for K&R and then comes on /g/ to bitch about how ""hard"" it is.
>>
>>58781281
Literally yes. (Most stupid programming questions actually lead to very enlightening results.)
>>
So I have been at my current and first job for a bit over 2 years now, doing custom development on a number of SaaS web applications. About a year ago I was tasked with creating a tool that could be used by one of our backend teams to do bulk file extractions from our products for customers. One of the requirements was that it should be able to be aborted more or less immediately with a key press. A year later, I'm now beginning to wonder if I implemented this feature in the best possible way.

The tool is a .NET console app, and what I've done is, have a main thread and a worker thread.

Program.cs
                var workerThread = new Thread(RunArchive);
workerThread.Start();

// Cancel program if user presses Ctrl+C
autoResetEvent = new AutoResetEvent(false);
Console.CancelKeyPress += (sender, eventArgs) =>
{
Log("User cancelled program.");
eventArgs.Cancel = true;
autoResetEvent.Set();
};

autoResetEvent.WaitOne();
cancelled = true;


Worker.cs
public void RunArchive()
{
while (!Program.cancelled && DateTime.UtcNow < Program.endDateTimeUtc)
{
// Archive files one at a time ...
}
}


The main thread gets spawned when the program begins, and it spawns one worker thread which does the actual file extraction once the main thread has read some config files. The only reason I'm spawning a thread is so that I can have the main thread listen for a keypress while the worker is doing its thing. I couldn't come up with a way of doing this without having two threads, but was wondering if anybody had any ideas of better ways of doing this.
>>
>>58781289
>>58781291
>>58781302
>>58781312
Cool, so I can accurate represent 0.33 with it?
>>
>>58781281
If you want to decimal precision, use fixed point.
>>
>>58781329
Why don't you try it and figure it out
>>
>>58781277
Are you too much of an idiot for google?
>>
>>58781329
Sure, by some accuracy.
>>
>>58781339
not accurately though
>>
>>58781157
bash is a mess of a beast. it's one thing that you can only truly learn through excessive practice.
>>
public void foo(byte index){
}

foo(0b00000000);


why do I still have to cast to byte? isnt it pretty obvious that it is in fact a byte?
>>
>>58781376
lazy compiler developers
>>
>>58781376
What lang
>>
>>58781376
>>58781386
and bureaucracy
>>
>>58781329
Your computer uses binary system there will be some error in representing something like 0.33, but it will be very small.

Double doesn't have anything to do with it though. You could easily use a float too.
Most C implementations use IEEE754 to represent floating point numbers.
https://en.wikipedia.org/wiki/IEEE_floating_point

Float and double correspond to single and double precision in IEEE754 aka how long is your number and how many parts you have for various parts. It's not about decimal digits in the way you think it is.

>inb4 falling for the bait
>>
>>58781281
yes
btw floats are called float because you don't have to initialize them, you can leave them floating
>>
>>58781338

No, I'm saying that the resources I'm finding on Google are piss poor.
>>
>>58781319
https://msdn.microsoft.com/en-us/library/system.console.cancelkeypress.aspx
>>
>>58781412
> how many parts you have for various parts. It's not
> how many bits you have for various parts. It's not
>>
@58781418
You should try your home website aka plebbit
>>
>>58781398
java
>>
>>58781376
It's not a byte though, it's an int, every integer literal is an int unless explicitly marked otherwise.
>>
File: 1485434212312.jpg (10KB, 158x156px) Image search: [Google]
1485434212312.jpg
10KB, 158x156px
>>58781402
Im an anarcho-coder. so there is none of that
>>
>>58781277
>>58781418
The ReactOS people are probably the experts in that field, I'd dig around their source code/mailing list/IRC.
>>
>>58781423
As you can see in my code, I'm already using it... I just don't know if there's a way of using it without spawning a separate thread and still leave the UI responsive to that Ctrl+C when it's in the middle of a task like copying a file.
>>
>>58781418
Try an actual library with real paper books in it, because I don't think a single book about COM was published in the last 20 years.
>>
New thread:

>>58781539
>>58781539
>>58781539
>>
>>58781078
I didn't say I couldn't read it, I said he couldn't read it.
>>
>>58779811
don't bother with that, just install gentoo
>>
>>58779936
it's a meme to use the word "meme" as a synonym for trash you cancer giving newfag
Thread posts: 321
Thread images: 37


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