[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: 327
Thread images: 56

File: 1474161951521.jpg (38KB, 250x250px) Image search: [Google]
1474161951521.jpg
38KB, 250x250px
What are you working on, /g/?

Old thread: >>59351833
/dpt/ is the cleverest!
>>
So. Any of you actually have experience getting an entry level job in programming?
>>
File: 1467398868589.jpg (475KB, 852x973px) Image search: [Google]
1467398868589.jpg
475KB, 852x973px
What is your favourite programming paradigm?
>>
>>59354282
First for linear time.
>>
Neat codepen thing
>>59354280
>>
If your favourite language isn't a language you developed, you're a fucking cuck.
>>
>>59354314
OOP over functional programming
>>
I'll post it again for posterity:

https://arxiv.org/pdf/1309.3210.pdf

This is literally the most up-to-date source of Big O formality for multiple variables and shit
>>
>>59354334
What if I'm a member of the committee?
>>
File: fucking_kinshi.jpg (80KB, 441x343px) Image search: [Google]
fucking_kinshi.jpg
80KB, 441x343px
C--
C
Anaconda
>>
>>59354357
Even worse. It's like the language is your wife's son.
>>
>>59354282
I'm dead bored, give me something I can program in 3 hours.
>>
>>59354368
Perfect
>>
>>59354372
a portable int averaging library in C
>>
>>59354372
Compute the average/arithmetic mean of two ints in C and account for all edge cases
>>
File: 1488498134710.png (151KB, 339x288px) Image search: [Google]
1488498134710.png
151KB, 339x288px
>>59354312
Yes, show up, know your shit and depending on who's doing the interview be either full normie or mild autistic
>>
What are the best books for learning Python?
>>
File: a.jpg (5KB, 400x385px) Image search: [Google]
a.jpg
5KB, 400x385px
what's /g/ opinion on this?

https://blog.landing.jobs/blog/2017/03/08/why-we-should-embrace-diversity-in-tech/
>>
File: futaba_face.png (166KB, 429x461px) Image search: [Google]
futaba_face.png
166KB, 429x461px
>>59354417
>need a book for learning babby's first programming language
>>
I am working on a library of averaged numbers to use them in C.
Does someone have spare 67108864 TB?
>>
How many languages should I know very well?
>>
>>59354372
Implement all of Python's string functionality in a C library. You're not allowed to ask for the size of a string in any function, unless it's for something like removing the last x characters or something like that.
>>
>>59354432
I live in Norway and have a job as a developer (meaning that 100% of my colleagues are white). I couldn't give less of a fuck what you do over there
>>
>>59354417
Zed Shaw's Python the Hard Way is good, it's how I learnt it like 5 years ago.
>>
>>59354454
3.
>>
>>59354456
>unless it's for something like removing the last x characters or something like that.
Even then, you're not getting the size of the string, just the number of characters, words, etc.
>>
>>59354372
A program in C that calculates the average
>>
Which language would you suggest me for working with RESTful?
>>
>>59354432
Silly modern meme
>>
>>59354456
So basically the std::string class?
>>
>>59354466
No. Fuck this guy. That book is a piece of shit.
>>
>>59354485
>REST
http://sleep.dashnine.org/
>>
>>59354485
C++ and FastCGI
>>
>>59354456
That wouldn't work since C doesn't overload operators
>>
>>59354485
Perl and web assembly
>>
File: 1486296847325.jpg (44KB, 450x370px) Image search: [Google]
1486296847325.jpg
44KB, 450x370px
What language would you recommend as the first FP language?
>>
>>59354395
>>59354479
>Le averaging int meme
/**
* Averages an array of integers.
*
* Averages an array of integers, without overflow or conversion to a larger type.
* It is equivalent to the sum of the array, divided by the array's length (rounded towards zero).
*
* @param n Number of array elements. Must be greater than zero.
* @param arr A pointer to an array of n integers. Must be non-null.
* @return The mean of the array's elements.
*/
int iavg(int n, const int arr[static const n])
{
int avg = 0;

/* A buffer of values that are lost to integer truncation.
* It should always be in the closed interval (-n, n).
*/
int error = 0;

for (int i = 0; i < n; ++i) {
avg += arr[i] / n;

int loss = arr[i] % n;

// error + loss >= n
if (error > 0 && loss > 0 && error >= n - loss) {
// error = (error + loss) - n
error -= n - loss;
++avg;

// error + loss <= -n
} else if (error < 0 && loss < 0 && error <= -n - loss) {
// error = (error + loss) + n
error += n + loss;
--avg;

} else {
error += loss;
}
}

// Fix some overcompensation for error

if (avg < 0 && error > 0)
++avg;
else if (avg > 0 && error < 0)
--avg;

return avg;
}
>>
>>59354503
No, fuck you. It's free and it's pretty good.
>>
>>59354518
why are you such a faggot?
>>
>>59354510
You don't have to use operators. Functions are fine.
>>
>>59354454
According to Stroustrup-sama, at least 5.

>C++ as your main
>Python to automate boring shit
>Java to make gui when needed
>C# to get money from microsoft stack customers
>Haskell to be pretentious shitposter on /dpt/
>>
>>59354510
C preprocessor does
>>
>>59354520
Python
>>
File: 144754578r6756.jpg (40KB, 710x461px) Image search: [Google]
144754578r6756.jpg
40KB, 710x461px
CAN I SOMEHOW GET A BATCH FILE TO LET ME INPUT ARGV

AHHHHHHHHHHHHHHHHHHHHH
>>
File: 1488906206376.png (666KB, 666x666px) Image search: [Google]
1488906206376.png
666KB, 666x666px
>>59354534
delet uoarself
>>
>>59354502
Sure, but in strict C.
>>
>>59354522
Now do it in C90
>>
>>59354543
set arg1=%1
?
>>
>>59354523
It's good if you have the intelligence of a slightly below average dolphin.
>>
>>59354527
>C as your waifu
>Ruby to program in while crossdressing
>Java to impress your pajeet friends
>Idris to magnify your e-peen
>bash for ricing
fixed
>>
>>59354578
Exactly, so OP would have to be a retard not to learn it.
>>
>>59354530
If you do this I hate you
>>
>>59354559
Why?
C89/C90 has implementation defined modulo on negative numbers, while C99 doesn't.
I would have to use the div() function, but that brings the standard library into it.
>>
File: 1470632857331.jpg (13KB, 500x259px) Image search: [Google]
1470632857331.jpg
13KB, 500x259px
>>59354572
doesn't work
>>
How hard is it to write obfuscated code?
>>
>>59354622
Spend a year working in India and you'll just pick it up.
>>
>>59354620
post your shit
>>
So, do you guys comment your code? I hope you practice good commenting.
>>
>>59354649
What kind of retard doesn't?
>>
>>59354633
I meant deliberately
>>
>>59354454
Three.
One of C/C++ for when you need performance.

One of Java/C# for when you want to build something larger that just werks (large projects tend to turn to spaghetti in Python and the like).

One of Ruby/Python/Perl/etc. for duct taping other stuff together.
>>
>>59354510
The only operator you really need is '+', and really
catstring = concat(string1, string2, string3, ..., stringn);
works just as well.
>>
>>59354640
I don't have anything to post, I just want a batch file that will open the terminal and let me input argv
manually
>>
>>59354595
I don't even know how do I do this, anon a few threads ago said it's possible with macros and I want to learn how.
>>
File: 57747459_p0.png (493KB, 987x781px) Image search: [Google]
57747459_p0.png
493KB, 987x781px
>>59354649
I don't.
My thesis supervisor didn't either and it took me a month or two to figure out what his codes were doing. My future students are going through the same shit lmao.
>>
File: 1451043376667.gif (947KB, 500x335px) Image search: [Google]
1451043376667.gif
947KB, 500x335px
>>59354669
>for when you need performance.
Fortran
>>
File: file.png (393KB, 472x600px) Image search: [Google]
file.png
393KB, 472x600px
>>
File: 1450826579222.jpg (146KB, 589x900px) Image search: [Google]
1450826579222.jpg
146KB, 589x900px
>>59354675
> The only operator you really need is '+'
>using the same operator as addition
Disgusting.
>>
>>59354622
Compilers today are equipped with obfuscators anyway, why'd you want to learn that?
>>
>>59354692
>it took me a month or two to figure out what his codes were doing.
disdain for plebs
>>
>>59354716
nice meme
>>
>>59354688
The only way I could imagine doing it is grabbing every instance where you use the '+' operator, testing the type of all the arguments, and then changing it as necessary.
>>
>>59354314
Procedural, but ideally the language should also have first class functions and closures (from FP) and methods on structs (from OOP).
>>
>>59354730
because i copied the code from a mate and i don't want the professor to find out.

its a program where you have to print some fizzes and buzzes lmao
>>
>>59354728
I was saying that's really the only operator commonly used in other languages for strings, and that it's NOT necessary to even try to implement that functionality in C because using a function is just as easy.
>>
>>59354730
it's hardly obfuscated at all, it's the most optimized (simplified) code that does what it's supposed to do just that it has magic numbers n shit
>>
>>59354741
He used Fortran.
>>
>>59354772
so then learn fortran. shouldn't take months
>>
>>59354432
Don't live in NA or UK. Couldn't care less about the diversity meme.
>>
>>59354787
That's what I did after learning what his code did and went on to actually do productive work.
>>
>>59354411
But how do I even find a entry level job? Seems like the only job openings are senior or require +5 years of experience
>>
>logical programming with native matrix operations
How's the idea, /dpt/?
Prolog severly sucked in datatypes.
>>
>>59354765
You know, there's really nothing wrong with copying code, so long as you understand the gist of it, but whatever.
>>
File: Capture.jpg (28KB, 840x137px) Image search: [Google]
Capture.jpg
28KB, 840x137px
This turned out to be much bigger pain than what i thought it would be

help plox
>>
Why is the Nethack source code so horrific?
>>
>>59354840
You could try Haskell
It doesn't have matrices built in, but there are libraries, and you can overload operators
>>
>>59354852
language?
>>
>>59354870
learning c# on my own, but i'd appreciate any solution
>>
>>59354858
it's on purpose.

things hard to write, must be hard to understand
>>
Currently setting up to contribute to Firefox. Although I do have a genuine interest in it, I am motivated out of desperate need to pad my resume. Never worked on an open source project before.
>>
>>59354879
here is a solution

http://pastebin.com/WR5GT8Cw

try to understand it first

sometimes in harder problems you have to use known algorithms to solve it,
>>
>>59354864
What does Haskell have on logical programming?
>>
>>59354852
>prior to first detection: check, for each entry (i,j), the entries (i+1,j), (i,j+1) and (i+1,j+1) for the same string
>if a repeating string is detected: check only in the same direction(s) as the previous repeating string(s)
>if one is detected then add to a counter k(i,j) which counts the length of the sequence with repeating elements
>figure out the rest yourself
>>
>>59354543
like dis?

@echo off
cls
:main
echo Who's the best programmer in the world?
set /p var=
if "%var%"=="me" (
echo Of course it's you my man
)

if not "%var%"=="me" (
echo WRONG!!
echo.
echo Try again
goto main
)

pause
>>
>>59354951
To some extent you can use certain forms of monads for this (again, library), but it's certainly not as well supported as it would be otherwise

example using the list monad

result = do
x <- [1..10]
y <- [1..x]
guard (x * y + x < 37)
pure (x, y)
>>
>>59354840
Common Lisp arrays.
>>
>>59354852
You can do this in 4 functions.
a) that transforms the 2D array, so that all vertical rows become horizontal.
b) that makes diagonals align as rows.
c) that finds the longest match in the array by rows
The last one pipes these functions into each other and returns the longest match as follows:
->c
->a->c
->b->c
->a->b->c
>>
>>59354918
thanks, will try

I see that you implemented DFS, i am yet to learn about it, still a beginner
>>
File: Clrs3.jpg (50KB, 420x475px) Image search: [Google]
Clrs3.jpg
50KB, 420x475px
>>59355075
it's cool that you do exercises, but reading classic shit also helps
>>
>>59354741
>disdain for plebs
Some code needs comments. Only code by scrubs and weenies never needs that little bit of extra explanation.
>>
>devving like a madman
>close to solve a problem
>suddenly fart so bad I can barely see
>tfw need to leave the room
>tfw solution is out of my head
>>
>>59355121
kek'd
>>
>>59355100
I wish there were some good Algorithms book in C#, i know most are in pseudocode but i'm still a noob so that makes me spend more time translating it into c# than actually thinking about algorithm
>>
>>59355186
huh ? Algorithms especially in textbooks shouldn't be using any special language features or libraries. Should just be some trivial syntax to write on your part.
>>
Just reached Level 2 in ProjectEuler!
>>
File: 1387433504240.gif (499KB, 500x281px) Image search: [Google]
1387433504240.gif
499KB, 500x281px
I'm too stupid to learn programming. I've been trying almost every day for months now, hours every day and I don't know anything.
>>
>>59355520
What are you doing to learn?
>>
>>59355520
I am sure you know something. You are telling me you don't get primitive data types or if statements or while loops ?
>>
File: 1488016962894.jpg (31KB, 438x428px) Image search: [Google]
1488016962894.jpg
31KB, 438x428px
>>59355502
Congrats senpai!
>>
>>59355520
You can do it!

If you want to start off really, really simple, try http://www.transum.org/software/Logo/
>>
>>59355520
write fizzbuzz
>>
>>59355520
What book do you use?
>>
File: 1467131009215.png (162KB, 400x562px) Image search: [Google]
1467131009215.png
162KB, 400x562px
>>59355520
Write a small programm to print out even numbers. Then take a small leap and print out primes. That's how I learnt it
>>
>>59355652
deine programme sind scheisse
>>
File: solve (2).jpg (233KB, 1280x720px) Image search: [Google]
solve (2).jpg
233KB, 1280x720px
>>59355502
Good job anon-chan.
>>59355520
You should study something easier like pure math desu
>>
>>59355520
Same here.
Worst thing is I spent a semester at college learning it. I didn't learn anything and now I have a course about algorithms and I can't understand shit when we talk about code.
>>
File: 1428262744122.gif (403KB, 500x283px) Image search: [Google]
1428262744122.gif
403KB, 500x283px
>>59355563
>>59355572
>>59355589
>>59355609
>>59355627
>>59355652
>>59355684
I post every day on /dpt/ begging for help. I even tried Reddit in desperation asking for help and they told me to fuck off.

I know that if this continues I'm going to give up. I've been skipping days now. Today I didn't do anything. I'm not going to make it at this rate.
>>
>>59355792
http://www.transum.org/software/Logo/
is a pretty simple start
>>
>>59355729
I'm the person you're replying to. I'm learning algorithms too.
>>
>>59355792
give an example of your "begging for help"
>>
>>59355792
Read this book: https://en.wikipedia.org/wiki/How_to_Design_Programs You need some guidance, a book helps with that. If you skip theory and start with practice, you'll learn anti patterns that are really hard to unlearn.
>>
>>59355652
Sauce? Reverse image search gives nothing

please, trap doujins are the only thing I live for
>>
File: img_103.png (373KB, 566x524px) Image search: [Google]
img_103.png
373KB, 566x524px
>>59355652
>wig falling off
Holy fuck weeks of no fap is finally paying off
>>
>>59354432
Right wing death squad time
>>
>>59355885
>>59355872
Can you look at the exercises in this book? This is the book I'm using. I try and try to solve these exercises and I can't. I don't want anyone to solve them for me or help solving them.

I want someone to tell me if these exercises are easy or hard.

http://openbookproject.net/thinkcs/python/english3e/list_algorithms.html
>>
>>59355906
The further clues should be that it's KanColle and it has to be recent upload.
>>
Only Asians good at that. I hear instructor and it's like listening to Cantonese
>>
Not sure if this is quite programming but...

On a website, how do I handle caching shit that changes when a user is logged in (e.g. the 'login' button becomes a dropdown with profile/settings/logout)? Actual signed-in-only pages are easy, just cache-control: private and I'm laughing.
For public pages should I add "Vary: Cookie" to all responses and Cache-Control: private to any response where the user is logged in?
>>
File: pic+gif_emotion_happy.gif (1MB, 500x278px) Image search: [Google]
pic+gif_emotion_happy.gif
1MB, 500x278px
>>59354522
Beautiful.
>>
/dpt/ when should I be using unit testing?
Most of the time if I were to add unit testing to my projects they would be trivial stuff that would never fail.
>>
>>59355807
I can do turtles without that site.
>>
>>59356095
It has some exercises as well
What level of programming are you at?
Where are you having difficulty?
>>
>>59354282
I am working on this client website that utilizes QR Code scanning and generation, CSV importing/exporting, and ancestral genetic relationship tracking.

jQuery and Javascript on the frontend (have a teammate who is doing most of the frontend stuff) with Ruby on Rails 5 for the api.

It is a lot more work then I imagined as this is only my 5th or 6th client project. Hopefully it levels off soon as we gave the client a fixed price and might have screwed ourselves a bit.
>>
>>59355652
This was cute.
I will like the Asanagi one better though.
>>
>>59356113
>What level of programming are you at?
I don't know. I can't do anything.
>Where are you having difficulty?
All over.
>>
>>59356060
I have only ever done unit testing for course in college but its supposed to be trivial as far as I know. supposed to be easy to automate and show you easily where something went wrong when something goes wrong.
>>
>>59355815
And how is it for you? Because I get the idea, I get the maths, but I can't practice it because I can't code.
Also had another course where we learned a bit of assembly language. Lucky me it was only a small part of the course or I would have failed it
>>
>>59354813
Honestly apply to anything that is looking for anywhere from 0 to 3 years experience. I applied for a Software Engineering position, showed up, knew my shit because I prepared like mad, and got the job. Now making 95k. This is my first job as a professional progammer; before this I was a computer technician who coded because I liked doing it.

Seriously though, apply to fucking everything. Do a bunch of technical interviews, phonescreens, etc. The worst they can say is no, and sometimes even if you don't have the experience they'll bring you on if you can carry yourself.
>>
>>59356178
Have you tried the exercises in the web page I linked?
>>
>>59356194
I don't get the math or the code. I'm really struggling.
>>
File: c40d2e313d915312197ab910e5af5534.jpg (319KB, 696x1000px) Image search: [Google]
c40d2e313d915312197ab910e5af5534.jpg
319KB, 696x1000px
>>59355968
The average code monkey won't be able to solve those exercises within a short period of time. I know of some coworkers that won't be able to solve them, despite having a bachelors degree. However, it's basic stuff for academics. The fact that you've come this far by yourself is quite impressive. I suggest skipping this chapter and move on to the next. Look back upon the chapter once you've finished the book.
Try to ask your questions properly. Not "how do I solve X", but "I tried Y to solve X, but I get error Z".
Cheer up anon, your doing great ᕕ( ᐛ )ᕗ
>>
>>59356201
yeah but you at least had a job as a computer technician. the only actual job i ever had was minimum wage manual labor that has literally nothing even tangentially related to the job postings. Sure I have a bachelors in CS but since so many other people have it as well it near useless.
>>
>>59356253
I actually did skip the exercises in that chapter after giving up on them, and two other chapters before that one. And now I'm on the next chapter and I'm at the exercises on this chapter
http://openbookproject.net/thinkcs/python/english3e/classes_and_objects_I.html

I can't do these either. They're just getting harder. I thought I'd skip those exercises and try pushing ahead anyhow. And I get to the next chapter and same thing. Can't do the exercises.

The situation I'm in is not good. I'm losing my motivation to continue and it's making it even harder for me. I want to do something that will break me out of this cycle. Before it's too late and I give up. I've been trying really hard for the past about two weeks to force myself to even keep going. My mental energy is being drained just forcing myself to keep going.
>>
>>59356240
I'm considering buying books, they seem like the best way to improve.
I just need to find good books in my language, because I'm not sure I'll understand all the important terms in an english book
>>
File: img31.gif (6KB, 585x205px) Image search: [Google]
img31.gif
6KB, 585x205px
>he uses floating point
>>
>>59356384
That is some excellent font rendering.
What unit of measurement is 'scconds', though?
>>
>>59356444
Blame that on the idiots at UNC.
>>
>>59354520
Scheme or maybe OCaml (I'm biased)
>>59355000
checked
>>
>>59356327
I suggest using a book that mainly focused on actual programming, so without any math involved. It should focus on basic things like arrays, lists, sets, objects, I/O and generators. I suggest using a book that is more practical like 'automate the boring stuff'. That's also more fun than mutating lists.
Once you have a solid understanding of Python, you can try using it for comp sci and pick up your current book.
>>
How does the Kernel know where the page table for each process is? How can it find the right page table when given a virtual address?
>>
>>59356507
Try looking at the output of
>cat /proc/<pid>/maps
That will show you how the address space is mapped and show the mmaped files.
>>
Are things like latches, gates, state machines, that useful to know?
I'm taking a class on digital design, and given the syntax of Verilog, I don't really see why one would ever really need this stuff.
>>
>>59356504
Any other books you would recommend? I looked at Automate The Boring Stuff and I don't have Windows.
>>
>>59354520
Haskell
What language are you coming from?
>>
>>59356543
It won't help you design your website's UI, faggot.
>>
>>59356543
Tell that to the guys who designed your computer that makes all of your weeabo anime horseshit possible, you dense piece of fucking shit.
>>
>>59356544
>inb4 >>>/ribbit/
I'm phone posting right now, so It's really hard to find a good book. Maybe you can find one here that is similar to the book I mentioned: https://www.reddit.com/r/learnpython/wiki/index
>>
File: hqdefault (1).jpg (12KB, 480x360px) Image search: [Google]
hqdefault (1).jpg
12KB, 480x360px
>>59355968
I’d say they are of medium difficulty for a beginner. But if you are struggling it means either the book is bad or you weren't paying enough attention to the previous chapters.

>"linear meaning straight line"
>"6. Read Alice in Wonderland."

I've already told you, stuffing softdev practices like TDD, complexity theory basics in one bloody page and explaining stuff in a non-serious manner, in a book by literal whos supposedly about algorithms, are all major red flags.

The best advice here would be SICP, HtDP >>59355885, something like >>59355100 and keeping your programming language of choice reference resource around you to make yourself comfortable with a tool. There is another classic book by Aho about data structures but I forgot the name.

Also
>don't want anyone to solve them for me or help solving them
There is literally nothing wrong with getting some help once in a while. Discussing problems with people is essential to the learning process.
>>
Are there any memory management patterns in C? All these pointers are just too much for me. And if I free a pointer in one place, I have to NULL out all references to that pointer and sometimes I don't have access to that part of the program (as my program grows). Surely, there is an easier way?

Right now I'm considering beginning ALL my structs with a memory manager struct that has a reference count and then an array of pointers to all existing references and corresponding function pointers to functions that will set to pointers to NULL. So if I delete it in one place it will set all of the references to NULL. Is this a good solution?
>>
>>59354520
Lisp.
>>
>>59356788
Reference counting is a pretty common thing to do.
I don't think going around NULLing all your pointers in necessary, though.
If you "freed" (reduce reference count) a pointer, you really shouldn't be using it again, and in the rare case you are, just NULL it then and there.
>>
>>59356582
>>59356610
So where/when is it used?
>>
>>59356788
congrats
you invented smart pointers

are you absolutely sure that you need counting tho? Maybe it's easier to play around with the program flow
>>
>>59356709
Telling me to go read SICP and HtDP makes this task more daunting. I'm overwhelmed as it is.

I need a reset. But I don't know where to start. And I don't want to start by getting slogged down by studying theory for months.
>>
Why are there so many programming languages
Why can't it be one and done
>>
>>59357074
Are you retarded?
>>
>>59357036
Install Roswell (https://github.com/roswell/roswell) and run
ros install sbcl

Play around with Lisp instead of just reading books about it.
>>
>>59357036
>sicp
>studying theory for months
it's more about cool exercises
>>
>>59357074
Every programming language is just a Lisp in disguise.
>>
>>59356957
State machines are used in gamedev and compilersdev if Im not mistaken
>>
>>59357074
Webdev crowd couldn't into c and they started to shit out gazillion scripting languages. And here we are
>>
>>59357074
If there's one programming language it has to be machine level programming.
>>
/dpt/ I feel like an idiot. I want to send an array of small integers to an arduino via usb from a c++ console application. I found some tutorial that uses the .NET SerialPort class to send strings.

Since the integers are small I figured I could use the uint8_t type and send one byte at a time, but I'm having trouble.

One article I read said the .NET SerialPort class is garbage. Can someone point me to a good resource to understand c++ serial communication?
>>
>>59357307
Just use i2c?
>>
>>59357350
>i2c

What's that?
I'm assuming it's https://learn.sparkfun.com/tutorials/i2c this
>>
>>59354312
Do some summer internships when you're in college to get experience.
>>
>>59354454
Don't learn languages, learn principles.
>>
>>59357386
Ye, or SPI. It's pretty basic.
>>
>>59357459
Thanks.
My end goal is to have computer get positional data from a kinect and send basic motor controls to the arduino, I'm assuming either i2c or SPI is appropriate for the communication between computer and arduino? (I just want to make sure I'm understanding correctly)
>>
Does the average programmer get life insurance through
his company?
>>
>>59357609
No, it's not necessary because programmers don't have lives.
>>
Does the average programmer understand their own code?
>>
>>59357636
kek, but what about the waifu and codelets
>>
>>59357643
Yes, if you can't remember and understand completely every line of code you've ever written, you are a shitty programmer.
>>
>>59357587
The Kinect might use a different protocol, but the majority of devices use i2c or SPI and sometimes both.
>>
Is average programmer an alcoholic?
>>
>>59357663
..................................................................................................................................................................
>>
File: FnlmePA.png (819KB, 634x636px) Image search: [Google]
FnlmePA.png
819KB, 634x636px
Currently working on a kernel-mode driver.
>>
>>59357674
Yes.
>>
>>59357674
Nope. There's about an even spread between alcoholism, chain smoking, unhealthy doses of caffeine and combination of the above.
>>
File: standards.png (24KB, 500x283px) Image search: [Google]
standards.png
24KB, 500x283px
>>59357074
yes, i wonder why..
>>
>>59357712
>tfw chain smoking right now
shit
>>
>learn C, then C++
>learn C++, then C

What's the recommended way for a beginner? I've only done some MATLAB in the past.
>>
>>59357712
>used to be alcoholic
>unhealthy doses of caffeine now
It's true.
>>
>>59357769
learn C, dont learn C++
is the correct order
>>
>>59357769
>>learn C, then C++
This. The reverse is like learning to ride a motorbike, before you learning to ride a bike.
>>
>>59357769
Learn C, then don't learn C++.
>>
File: 1472514443452.jpg (79KB, 1024x768px) Image search: [Google]
1472514443452.jpg
79KB, 1024x768px
>haven't done any programming for a month or so
>have to automate something so write short program
>realize how fun it is again
>suddenly everything is easier and you're more confident despite having done nothing
Why does this happen?
>>
>anti-C shilling

>pro-C shilling
>>
File: n-no_homo48.png (2MB, 1280x1806px) Image search: [Google]
n-no_homo48.png
2MB, 1280x1806px
>>59357769
>I've only done some MATLAB in the past.
Start with Python
>>
>>59357884
ok, let's assume mozilla pays for anti-c shilling
but who on earth would pay for pro-C shilling?
>>
>>59357863
>>suddenly everything is easier and you're more confident despite having done nothing
I've noticed this for a lot of things.
I'm sure there is an actual name for the phenomenon, where you get better by letting your brain "rest" and meld the information you just learned, and how just thinking about something can make you better at it, but I'm no psychologist or whatever.
>>
File: gods greatest programmer.jpg (132KB, 900x900px) Image search: [Google]
gods greatest programmer.jpg
132KB, 900x900px
>>59357955
>but who on earth would pay for pro-C shilling?
It's all part of his masterplan.
>>
>>59357955
Linus spends his off time here jerking off to how shitty c is as his he loves it so much.
>>
>>59357991
Not for me. I take a small break and forget everything.
>>
>>59354884
still haven't gotten it to build... slowly knocking out errors getting a step closer each time.
>>
>>59357991
>tackle a problem for a few days
>wake up one day
>write everything from scratch in 2h like it's nothing
>>
>>59357955
C stands for CIA! And for communism.
CIA is a communist organization.
>>
>>59356957
Integrated circuit (i.e. your CPU, GPU, etc.) design, you fuckwit. You think Kim Keller is mapping transistors out by hand?

Here's a (broken because Oracle is a shit head company) link to the UltraSPARC T2 architecture Verilog code:
http://www.oracle.com/technetwork/systems/opensparc/t2-verilog-source-browser-1565210.html

And an open source implementation of the x86 architecture:
https://github.com/marmolejo/zet
>>
>>59358112
What are you planning to contribute senpai?
>>
>>59357712
>tfw I regularly consume 300-500mg of caffeine within an hour
>>
how do i connect html5 -> java ??

like take the <form> from html5, let java process them, then spit it back out in html5 form.
>>
Anyone know how to draw a tangent line to a function with numpy? Can't believe this shit is this hard to find out
>>
>>59358161
they recommend starting out squashing some easy bugs so I will probably do that.
>>
>>59358209
form's "action" and "method" will help you pass your parameters to the server, and the page listed as "action" can return your data to the user.

Alternatively, you can use javascript XHR's if you're making a single page application
>>
>>59358242

can you share the link onee-san
>>
>>59358234
import pylab as p
import numpy as np
x = p.linspace(-1.0, 1.0, 1000)
y = (p.sin(2 * p.pi * x)) / (p.cos(2 * p.pi * x))
p.plot(x, y, 'g-', lw=1)
p.show()
>>
>>59358301
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction
>>
Huh what is this? I want to draw tangents at certain points for my function which is

y = eval('20*x**3-50*x**2+3*x+20')
>>
>>59358234
>find derivative f'(x0)
>use y(x) = f'(x0)x + b
>impose y(x0) = f(x0)
How dumb are you anon?
>>
>>59358394
not dumb enough to use an anime picture
>>
>>59358394
What's a derivative? Is it like division?
>>
Any professional developers here?

How much could one expect to make straight of university if they are NOT in the bay area or new york?
>>
>>59358388
>eval
>>
>>59358409
Yes. It is a synonym for division. Now excuse me while I go do long differentiation.
>>
>>59358420
At my university, the average graduate salary is £27000 and we have 100% employment.
>>
>>59358445
I find this claim hard to believe, anon.
>>
>>59358409
no
>>
>>59358444
At least integration is easy, since it's just multiplication.
>>
>>59358496
University of Kent Year in Industry. Check it out.
>>
>>59358525
I'm not saying I doubt the university's ability to massage statistics.

I suppose 100% employment technically includes underemployment and part-time employment, so maybe it's true after all.
>>
>>59358547
Apparently it's Full time graduate employment or further study. It's 97% without a year in industry.
>>
>>59358564
>graduate employment
Could be anything, could be working at maccy d's or in starbucks.

>further study
Throwing good money after bad in some cases. If you can't hack it in the real world, academia might take you.
>>
>>59358587
Maccy D's isn't graduate level employment. They mostly go to the bottom end of sys ops or software engineering. Also, with that sort of salary they aren't flipping burgers, officially at least.
>>
>>59358445
I see, thanks

>£27000
Is that about average for the UK? Seems a little low
>>
>>59358610
It's graduate level employment if they claim you need a degree on the job advert, anon!

Remember: if just one graduate walks into a 80k job, four more can get 13.75k jobs and the average will be 27k.

>>59358627
It depends on where you are, you'd really struggle in London but be okay in the north on that kind of money.
>>
>>59358627
That's extremely high in the UK.
>>
>>59358680
u avin a giggle m8?
>>
>>59358669
>>59358680

I'm in the US

27000 pounds is about 30000 USD, right? That's well below the US average household income

Is rent in the UK really cheap or something?
>>
>>59358669
They don't at maccy Ds.

I think it's quite high because it's near tech centres in sandwich and london.

>>59358695
For a 21 year old that's huge.
>>
>>59358711
$40,000.
>>
File: cumslut.png (356KB, 543x559px) Image search: [Google]
cumslut.png
356KB, 543x559px
is codeacademy a good website for a beginner to learn?

No?

What is?
>>
File: 2017-03-11-221208_677x258_scrot.png (21KB, 677x258px) Image search: [Google]
2017-03-11-221208_677x258_scrot.png
21KB, 677x258px
>>59358727
wat
>>
>>59358711
>27000 pounds is about 30000 USD, right?
It's about 32500 USD at the moment, but this time last year it was about 40000 USD.

>Is rent in the UK really cheap or something?
Only if you live in the middle of nowhere. London rents are comparable to NYC.
>>
>>59358761
Started with my makefile generator.

make.lua
local lpeg = require("lpeg")

local REQUIRES = "require('ds')\n"
local G = "setmetatable(_G, {__index = function(self, k) return tostring(k) end})\n"

local function escape(str)
local MARK = lpeg.P("`")
local TEXT = (1-MARK)^0
local ESCAPE = lpeg.Ct(MARK * lpeg.Cg(TEXT, 'escaped') * MARK * lpeg.Cg(TEXT, 'unescaped'))
local start, rest = lpeg.match(lpeg.C(TEXT) * lpeg.Ct(ESCAPE^0), str)
local ret = {start}
for i = 1, #rest do
ret[#ret+1] = ']]..(function() return '
ret[#ret+1] = rest[i].escaped
ret[#ret+1] = ' end)()..[['
ret[#ret+1] = rest[i].unescaped
end
return table.concat(ret)
end

local function generate(str)
local BEGINNING = lpeg.P("[`[")
local END = lpeg.P("]`]")
local TEXT = (1-(BEGINNING + END))^0
local GENERATE = lpeg.Ct(BEGINNING * lpeg.Cg(TEXT, 'generate') * END * lpeg.Cg(TEXT, 'normal'))
local start, rest = lpeg.match(lpeg.C(TEXT) * lpeg.Ct(GENERATE^0), str)
local ret = {start}
for i = 1, #rest do
ret[#ret+1] = "print([["
ret[#ret+1] = escape(rest[i].generate)
ret[#ret+1] = "]])"
ret[#ret+1] = rest[i].normal
end
return table.concat(ret)
end

local function read()
local input = io.read("*a")
local processed = generate(input)
assert(loadstring(REQUIRES..G..processed))()
end

read()


ds.lua
local Set_mt = {
__call = function(self, _, v)
return (next(self, v))
end
}

function Set(a)
local set = {}
for i = 1, #a do
set[a[i]] = true
end
return setmetatable(set, Set_mt)
end

local Map_mt = {
__call = function(self, _, k)
return next(self, k)
end
}

function Map(a)
return setmetatable(a, Map_mt)
end


cont.
>>
>>59358794
I would remind you the UK is a poorer country in terms of pay than the US by quite a lot.
>>
>>59358794
>comparable to NYC
I'm genuinely curious, how the fuck do you guys make rent on that kind of salary?
>>
>>59358758
pick a language you want to learn and pick a book that teaches said language
>>
>>59358811
Why the fuck is there always a random reply in my posts? 4chanX is fucking up?

It turns this.
OBJECTS = Set{a, b, c, d}
LOC = Map{
a='http://wew.com',
b='http://kek.com',
c='http://jej.com',
d='http://qeq.com',
}

for obj in OBJECTS do
[`[`obj`.o: `obj`.c
@echo `obj`
]`]
end

for obj in OBJECTS do
[`[`obj`.c:
wget `LOC[obj]`/`obj`.c
]`]
end


Into this

a.o: a.c
@echo a

b.o: b.c
@echo b

d.o: d.c
@echo d

c.o: c.c
@echo c

a.c:
wget http://wew.com/a.c

b.c:
wget http://kek.com/b.c

d.c:
wget http://qeq.com/d.c

c.c:
wget http://jej.com/c.c
>>
>>59358826
We live in shitty flats outside of london and commute in.
>>
>>59358758
Codecademy is meh, biggest concern I have with it is the same that I have with tons of other tutorials or videos.

They don't actually teach you shit. You'll come out of it feeling like you know stuff, but you don't know much other than how to make toy programs. You won't even know what most of the methods you used do, other than what they did in the context of the course. Like, would you know how you could extend their use beyond the course uses?

>What is?
A good book. Don't download it, buy it. That PDF will sit on your hard drive and you won't ever get around to it. Buying it and having it sit on your desk will give you incentive.

However, some of the books do need you to have some sort of background. You can take any online course in Computer Science, like Harvard's online CS50 or Udacity's CS101 (both free). They'll teach you a language to go along with the course to teach you about fundamentals.

With that background, getting into books and really learning will be easy. Just remember to take notes.
>>
>>59358832
What's a good first language other than html?
>>
>>59358865
C
>>
>>59358865
Lisp. It is the most expressive language.
>>
>>59358865
A strongly typed language. You need to learn how things work before being thrown into a dynamically typed language where you'll be declaring and processing things all willy-nilly.
>>
>>59358712
>For a 21 year old that's huge.
Let's take a look at what you actually get.

https://listentotaxman.com/27000?plan=2

Your take home pay will be about 1750 quid per month, because you have to pay tax, NI, and student loan repayments. Rent and transport will probably take 1200 out of that. Take off another 200 for food. Starting to feel the pinch?

>>59358826
Most people live in shared apartments, with 4 or more people in a property with one bathroom and kitchen. It's a miserable experience.

You can save a bit of money on rent by moving further out, but you just end up spending more on transport. A rail season ticket from the home counties will set you back a few k a year. Don't think about suggesting driving instead, it's not an option: where would you park?

>>59358824
>I would remind you the UK is a poorer country in terms of pay than the US by quite a lot.
Yes, but the rents don't reflect that. First world rents with third world salaries.
>>
File: shy.gif (301KB, 350x464px) Image search: [Google]
shy.gif
301KB, 350x464px
>>59358850
That's how I felt when I had to use it for my highschool code academy class, I passed the exercises, but didn't understand them, and when i asked my teacher how to apply them he wouldn't be able to explain either.

It's one of the main reasons I'm in college for Advertising instead of programming, because nobody could ever explain it to me in a practical way.

It's possible that my brain just doesn't work like a programmers, I need to advance my autism before I can code.
>>
>>59358909
History at the same university is like 17k.
>>
>>59358907
As much as I usually hate /g/ programming advice, yeah, this. If you start with something like Python or Ruby, and then go into something like Java or Go, you're going to go through an extremely frustrating phase of hating the type checker, thinking type checking is stupid, and so on.

Java's not a bad first choice. It's not very expressive as a language, and tends to make you do a lot of bookkeeping (static public void OP = new Faggot()), but this also makes reasoning about your code very easy, and Java's tooling is decent.
>>
>>59358920
Just remember, it is literally never too late to get into computers.
>>
>>59358865
html isn't really a language, but literally anything it doesn't matter, just pick one that can do something you are interested in creating.
>>
>>59358931
Don't study History unless you're independently wealthy, then.
>>
>>59358953
Yeah it is, when you're dead.
>>
File: image (5).jpg (406KB, 662x1146px) Image search: [Google]
image (5).jpg
406KB, 662x1146px
>>59358955
That's why I said other than html sir
>>
>just finished my MIPS assembler

relieved lads
>>
File: 2vht5xw.jpg (37KB, 638x357px) Image search: [Google]
2vht5xw.jpg
37KB, 638x357px
>>59358953
Don't get me wrong, I love computers, I've just never been able to truly understand, or start to understand the programming side of it. I've tried but never knew where to truly began. I went to a STEM school but focused more on the graphic design/web design aspects than actual programming. Which I why I ended up going to school for advertising in the first place.

I have always wanted to learn to ACTUALLY code though so that I can start talking to my autistic programming friends. I'm super jealous of their conversations.
>>
File: PHP-logo.svg.png (80KB, 1280x691px) Image search: [Google]
PHP-logo.svg.png
80KB, 1280x691px
>>59358965
Who said programming in hell isn't possible? After all, one of it's languages have reached our mortal world.
>>
>>59358996
Start here: https://www.youtube.com/playlist?list=PL8FE88AA54363BC46
>>
>>59358996
>learn to code
Are you more interested in learning syntax and creating programs or understanding the theory?

You'll need to learn both, but it's better to start with the one you're interested in most.
>>
File: go-lang-ng.jpg (48KB, 600x572px) Image search: [Google]
go-lang-ng.jpg
48KB, 600x572px
Prove to me Go isn't the best programming language of all time.
>Pro tip: you can't
>>
>>59359096
>GC
>no generics
>uses a product return type when it should use a sum
>insane dependency handling
>>
>>59359096
It's a really cute lang, but too bad it's too inefficient and high maintenance for what I do.
>>
File: SUV.png (880KB, 706x820px) Image search: [Google]
SUV.png
880KB, 706x820px
>>59359060
creating programs!
>>
>>59359132
you're describing my gf
>>
>>59359111
>"Garbage collection is bad" meme
>useless practice in programming that will die out
>an opinon
>wrong
>>59359132
>"too inefficient and high maintenance for what I do"
Didn't know doing absolutely nothing was that hard
>>
>>59359160
But anon, not having to write the same code over and over again is a good thing.
>>
>>59359176
thats what functions are for.
>>
>>59359160
>Calling genetics a useless practice
Everything you have said is invalid now.
>>
>>59359182
Write a function between types (type family) in Go then.
>>
>>59359182
Quick, write traverse_ without generics.
>>
>>59359191
Generics are useless though
>>
>>59359203
Maybe for toy programs
>>
>>59359203
Yes anon, I too love having a separate List class for every element type.
>>
>>59359138
Java is the most popular general-purpose language, you should start there.

Any of Barry Burd's Java books are a great introduction
>>
>>59359219
Java will put him off programming for good. It's a horrid language to inflict on a beginner.
>>
>>59359227
A more experienced programmer is free to choose a better language, but Java is a great starting language

>highly verbose - requires the beginner to type out everything they need
>highly structured and strongly typed
>still easy to use
>>
File: 1486945138365.jpg (352KB, 1920x1080px) Image search: [Google]
1486945138365.jpg
352KB, 1920x1080px
>>59359219

Thanks! You helped me a lot tonight, when I create a genius program and inevitably become the next Bill Gates I'll make sure to donate a billion dollars to 4chan.
>>
>>59359203
Anon, not everybody uses golang.
>>
>>59359160
Excuse me anon I read and write journal articles for my day job.
Oh wait I guess you're right.
>>
>>59359248
It's verbose to the point of unreadability. Most Java code is busywork and boilerplate.

Its type system is inflexible and too constraining and rigid. It's not even sound: https://dev.to/rosstate/java-is-unsound-the-industry-perspective

I'll admit that there's a lot of good tooling available for it. There has to be, it's unusable without it.
>>
>>59359285
So then what would you recommend for me to learn first?
>>
>>59359301
I dunno, all languages are shit.
>>
>>59359301
Lisp.
>>
File: maxresdefault (4).jpg (68KB, 1280x720px) Image search: [Google]
maxresdefault (4).jpg
68KB, 1280x720px
>>59359335
True, I guess I'm learning C then
>>
>>59359301
I like Java, I also like C++ and C#. They are very similar and you can transition pretty easily between them. Python is good too but its pretty special snowflake and weird but its really a productive language for scripting everyday computing tasks. C is also good if you want to deep dive. I don't recommend any functional programming languages (https://en.wikipedia.org/wiki/Functional_programming) or hipster shit that is just a derivative of before mentioned languages.
>>
>>59359301
You could go with Ada and see how most other languages are trash, or you can develop Stockholm syndrome with C or C++.
>>
File: Screenshot_20170311_200946.png (51KB, 1463x157px) Image search: [Google]
Screenshot_20170311_200946.png
51KB, 1463x157px
>>59359414
Working on my own cryptocurrency from scratch. Pic related. I will likely be switching out sha256 for something different later, but the way I'm designing it that will literally be a 1 line code change. I still don't really know wtf I'm doing, but I think I just "mined" my first few coins.
>>
>>59354522
Eww, that looks like C(cancer)
>>
>>59359414
>>59359496

Didn't mean to reply to you. My bad. Just wanted the quick reply box, but forgot to erase the reference to your post.
>>
>>59359203
Go enthusiasts here. You're full of shit. Generics are very useful and one of the few faults of Go.
>>
File: 396.png (1MB, 1280x720px) Image search: [Google]
396.png
1MB, 1280x720px
Best book for learning Lisp?
>>
>>59359642
Practical Common Lisp
On Lisp
Common Lisp the Language 2
>>
Maybe I'm an idiot but can anyone help me out?

http://stackoverflow.com/questions/42743773/difficulty-with-mutation-involving-classes
>>
>>59359203
>>
File: 1471216526275.jpg (50KB, 433x469px) Image search: [Google]
1471216526275.jpg
50KB, 433x469px
Can someone help me by answering a question? Please excuse me being a retard.
when I use pythons urllib.request to download an image, how do I remove the need to enter the image file type manually every time?
I:E
import urllib.request
urllib.request.urlretrieve("12345.jpg", "smugloli")

in the above example I'm trying to save the file "12345.jpg" as smugloli.jpg, but to actually save smugloli as a .jpg file, I have to manually add the ".jpg" to the smugloli string in the urlretrieve method. How do I remove the need to do this so its just saved as a jpg or whatever file type it is automatically?
>>
>>59360039
Just grab the .jpg from the input file / url. You could use a split or whatever python has on the dot.
>>
File: 1432771547106.jpg (197KB, 620x930px) Image search: [Google]
1432771547106.jpg
197KB, 620x930px
I want to write a python script that takes a jpg or png image and downsizes it to 800px long side to reduce file size, then places the resulting image in the clipboard for easy online uploading- rather than saving it.

Actually I don't want to write it at all because programming is boring and super duper gay. Someone do it for me. TIA
>>
File: 39872_422490587586_7018485_n.jpg (133KB, 720x540px) Image search: [Google]
39872_422490587586_7018485_n.jpg
133KB, 720x540px
>>59354649
noob here. i'm in computer programming 2 right now and i've never done it

>mfw i was deducted points on all of my assignments in programming 1 for not including them and i still got an A
>>
>>59354649
Yes, I never remember why/how I did things.
>>
>>59360201
>i was deducted points on all of my assignments in programming 1 for not including them and i still got an A
Well both your teacher and you are morons. Comment your code. Some places will actually fire you if you don't. They may not provide warning either. It's a minimum expectation.
>>
>>59360278
The programming class was probably on easy stuff. You don't have to comment stuff that is obvious.
>>
>>59360278
I likely won't be applying for a CS job

I'm in more of the statistics/analytics area. these two cs classes are required for my major

btw, its fair you call me a moron, butwhy is my professor one too?
>>
>>59360451
whoa, yours seems to be invisible

how'd you do that?
>>
Does anyone know how to show show images of matrices in pyplot? I know the command is

plt.imshow(matrix, cmap='gray')


However Im SVD'ing a 120x100 grayscale image into its components but I'm unable to print them for some reason, especially the 's' component because its one dimension. These are the size of my matrices:

Img:(120, 100) 
u:(120, 120)
s:(100,)
v^T(100, 100)
>>
>>59354282
which produces better binaries (as in, performs better/faster)? msvc or gcc?
>>
>>59360964
gcc. msvc is shit,
>>
why is C++ so dull and souless?
>>
File: 1488508180792.gif (549KB, 216x202px) Image search: [Google]
1488508180792.gif
549KB, 216x202px
>>59360999
cant question these trips, thanks.
>>
I'm going through an array and comparing the current value in the array to the next value like so:
for (int i = 0; i <= array.Length; i++)
{
if (array[i] != array[i+1])
{
something++;
}


and it says "index was outside the bounds of the array", what did I do wrong?
>>
>>59361289
The last two iterations of your loop access array.Length or higher which is not contained by your array.
>>
>>59361289
What the fuck do you think?
>>
>>59361327

Yeah I know this, but how do I compare the values without this happening?
>>
>>59361365
Use this instead
>>for (int i = 0; i < array.Length - 1; i++)
>>
>>59361365
Think about it like this:

If your array has 8 elements, how many comparisons should you be making?

Hint: your current code would loop 9 times.
>>
File: akarin angry.png (1MB, 1920x1080px) Image search: [Google]
akarin angry.png
1MB, 1920x1080px
Dear god please someone tell me how to show more than 1 image in pyplot... every time I try to show another image the next one overwrites, why is this so difficult.
>>
>>59361371
>>59361376

Thank you.
>>
>>59361396
Please respond, Im getting frustrated wasting my time on assignment with trivial nonsense
Thread posts: 327
Thread images: 56


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