[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: 323
Thread images: 19

File: timetocode.webm (2MB, 1152x648px) Image search: [Google]
timetocode.webm
2MB, 1152x648px
This is /dpt/, the best subreddit of /g/

In this thread:
r/programming
r/compsci
r/ReverseEngineering
r/softwaredevelopment

/!\ ** Read this before asking questions ** /!\

http://mattgemmell.com/what-have-you-tried/
http://www.catb.org/~esr/faqs/smart-questions.html


What are you working on ?
>>
How do I start programming?

I'm a beginner and poorfag.
>>
>>57311312
>www.youtube.com
>Bucky [your language here (Java, C, C++, C#, Python, or anything else)]
>Take it from there
>>
So two questions.


When do i want to declare my variables before my main function

And i sort of get .h header files but whats the actual point of having them?
>>
I'm learning elisp.
>>57311312
What do you want to program?
>>
>>57311312
dont. pick up a drug addiction or something this shit is maddening
>>
>>57311371
Bucky's horrendous though. He programs terribly, uses contrived and pointless examples and promotes bad practices.
>>
>>57311384
>When do i want to declare my variables before my main function
What do you mean? Declare them anywhere before usage. It's a good idea to have a single block at the start of file with all globals. Also, globals should be avoided when possible.
>And i sort of get .h header files but whats the actual point of having them?
Header files store declarations of functions, structures (classes in C++) and constants.
>>
>>57311312
From a Microsoft Windows perspective:
Get Visual Studio 2015 Community Edition (which can pretty much support anything if you can find the plugin).

It is free but you do have to login. I know, it's retarded. On the otherhand, you could also use SharpDevelop (which supports C#, VB.NET, C++, Ruby, Python and some others).

In terms of education: apply for financial aid and go to a local community college that has some amount of CS. Shit is cheap and hasn't costed me anything except money for transport but I could easily just take the bus for a dollar to and from class.
>>
>>57311426

Adding to my post...
Learning online is a fucking pain in the ass. In my personal opinion, learning how to program in a school-like setting is preferable because you can get help from people who are there in person.
>>
Is it bad form to use structs all the time in C++? I'm mostly just using it as C with closures so making fields private by default just trips me up more than it helps when it comes to encapsulating things.
>>
>>57311312
If you're thinking of choosing C# as your first programming language, this is the best place to start:
https://mva.microsoft.com/en-us/training-courses/c-fundamentals-for-absolute-beginners-16169?l=Lvld4EQIC_2706218949
>>
>>57311466
That's probably confusing for other people. In C++ typically structures are used for simple aggregate data containers without any methods.
Have you considered D?
>>
>>57311422
But why declare them way before hand

(as say void variable and later call it as int variable)

Also why not put the header in the cpp? It reduces the amount of calls each file has to make at the beginning?
>>
File: 1393817943679.jpg (167KB, 960x1415px) Image search: [Google]
1393817943679.jpg
167KB, 960x1415px
Is there any practical purpose to anagram and palindrome problems?
>>
>>57311572
No.
>>
>>57311568
>But why declare them way before hand
>(as say void variable and later call it as int variable)
I'm not sure what do you mean, can you give an example?
>Also why not put the header in the cpp? It reduces the amount of calls each file has to make at the beginning?
Huh? Maybe have a read about includes: https://en.wikipedia.org/wiki/Include_directive#C.2FC.2B.2B
>>
>>57311568
>Also why not put the header in the cpp?
because multiple files may need to know the prototypes
>>
File: last.png (68KB, 975x1073px) Image search: [Google]
last.png
68KB, 975x1073px
Working on my terminal emulator, thinking about what to work on next now that rendering and control code handling seems to be complete as far as every program I use goes.

Either gonna work on the vi-like interface for pasting/selecting/URLs or rendering font ligatures.

Picture related, some testing stuff.
>>
>>57311638
Outside of int main something like

#include iostream
Using namespace std

Void a

Int main (){}

Or something along those lines, it was in one of the bucky c++ tutorials (which i actually think are a bit average and slow but ill stick with them till the end because of how far i am)
>>
palindrome = (==) <*> reverse
>>
>>57311698
tabs support would be nice
also being able to configure clickable links with a modifier key so say urls can only be clicked and opened if ctrl key is down
and configurable mouse hover highlitg for links
>>
>>57311698
Looks good, anon. Is this in rust? Do you have your code anywhere?
>>
>>57311727
>tabs support would be nice
Not going to happen, it's useless, use a terminal multiplexer.

>also being able to configure clickable links with a modifier key so say urls can only be clicked and opened if ctrl key is down
Not going to happen, URL opening will be handled like in vimperator.

>and configurable mouse hover highlitg for links
Not going to happen.

>>57311728
Yes, it's written in Rust, and it's on GitHub, just search for "github rust cancer".
>>
>>57311754
>Not going to happen

well it's nothing then
>>
>>57311770
There are a billion terminals with support for tabs, go use them.

I'm making this one because I want it to behave in a certain way, not to appeal to every user.
>>
>>57311785
why would i care about your blog then
let me unsub
>>
>>57311801
Are you new to /dpt/ or something anon?
>>
>>57311705
>Void a
What?

If you want to learn C++, go read a book like the C++ programming language by Bjarne.
>>
I have experience with basic syntax of methods and return statements, but this one kind of baffles me since I don't really know too much C#. What exactly is happening in the return statement? Do you need any more info to explain it?

private static char[] createCharArray(int length, char defaultChar)
{
return (from c in new char[length] select defaultChar).ToArray();
}
>>
>>57311846
It's LINQ.
>>
in c++ should you separate the default and parameterized constructors?
>>
>>57311852
Thanks man, I'll read up on this!
>>
>>57311705
Not the other gut but are you talking about defining a function before main like

Void a();

Int main(){
>>
>>57311754
Does a terminal emulator do background/foreground tasks? Or is that already handled?
>>
>>57311891
That's the job of the shell, a terminal emulator only handles control codes and renders things appropriately, and handles keyboard input and encodes it into control codes the programs running can understand.
>>
Once i met a guy that said his sister abused him so much and forced him to take estrogen and become a trap. he then got surgery and got a D cup now.

He tried to ERP with me but i told him to fuck off.
>>
>>57311846
>>57311852
Just to be clear, am I understanding this correctly? (converted to java)

private static char[] createCharArray(int length, char defaultChar)
{
char[] charArray = new char[length];
for (char c : charArray) {
c = defaultChar;
}
return charArray;
//return (from c in new char[length] select defaultChar).ToArray();
}
>>
>>57311940
Yep, that's right
>>
>>57311877
Yes.
>>
>>57311910
ERP is essentialy "things I wish that happened".
>>
>>57311969
Thanks bruh
>>
>>57310785
No need to sudoku anon. I really respect people who admit their mistakes.
>>
In Android Studio, how do I use the design view for content_main.xml?

It's only letting me drag and drop views in activity_main.xml.
>>
>>57312285

Forgot to add, can't drag and drop views in a TableLayout.
>>
### 4chan board & thread image stripper ###


from urllib.parse import urlparse
import urllib.request
import json
import os


board = ""

#target directory for pictures
target_folder = ""
os.chdir(target_folder)

# breaks 4chan url into parts #
def create_target_link(url):
link_component = urlparse(url)
# checks for valid 4chan link #
if link_component.netloc != "boards.4chan.org":
print("Not a valid link!")
return None

# split path into list: [blank, board_name, thread, thread_id] #
list_params = link_component.path.split("/")
url = "https://a.4cdn.org/%s/thread/%s.json" % (list_params[1], list_params[3])
#set global board for use in create_image_link()
global board
board = list_params[1]
return url


def retrieve_json(url):
response = urllib.request.urlopen(url)
# converts HTTP bytes to string. Readall() to access, decode() to convert #
response = response.read().decode('utf-8')
data = json.loads(response)
return(data)

def find_image_id(json_data):
my_keys = ["tim", "ext"]
thread_pics = {}
for json, json_list in json_data.items():
for posts in json_list:
if "tim" in posts:
thread_pics[posts["tim"]] = posts["ext"]
return(thread_pics)

def create_image_link(board, pictures_dict):
#http://i.4cdn.org/g/1477247131225.gif
image_urls = []
for picture_id, extension in pictures_dict.items():
url = "http://i.4cdn.org/%s/%s%s" % (board, picture_id, extension)
image_urls.append(url)
return(image_urls)

def download_image(link_dict):
for image in link_dict:
urllib.request.urlretrieve(image, (target_folder + "/" + image[20:]))
print("downloading %s" % image)

def image_downloader(target):
step_1 = create_target_link(target)
step_2 = retrieve_json(step_1)
step_3 = find_image_id(step_2)
step_4 = create_image_link(board, step_3)
step_5 = download_image(step_4)

print("please enter your 4chan link:")
input_string = input()
image_downloader(input_string)
>>
>>57312581
my first mini project attempt, feedback/abuse is always welcome
>>
>>57312581
Why ask for input when you can just pass it as argument when calling the script?
>>
>>57311568
The header IS put into the cpp by the preprocessor, the include directive is a shorthand for doing that so you don't have to copypaste the header to all the cpps you're using it in.
>>
>>57312581
>board = ""
Board doesn't have to be a global.
>return None
You can do just return.
>return(data)
What? Why not "return data"?
>step_1 = create_target_link(target)
>step_2 = retrieve_json(step_1)
>...
That's hard to read.
>input_string = input()
How about use sys.argv instead?
>>
>>57311572
Problem solving skills on a simple application that can be applied to less straightforward ones
>>
Alright guys, be COMPLETELY honest, no meming
If I'm primarily programming in higher level languages (C# for example), would I benefit from learning a text editor like VIM or EMACS?
Can they display the same functionality?

If so, which should I learn?
>>
>>57312678
I'm all for problem-solving skills training, but these seem just like problems from puzzle-fetishists.
>>
>>57312697
>Can they display the same functionality?
Same as what?
>If so, which should I learn?
Emacs.
>>
>>57312605
>>57312672
Thanks, never used argv before but i'll get down to it
>>
>>57312706
Well, anagrams have been used in cryptography to encrypt messages, and I'm sure there are other uses out there.
>>
>>57312706
They're very straightforward problems, there aren't many practical application problems that are straightforward that aren't super easy, but giving you an assignment like "make a file sorting system" to someone on the second day of class isn't really reasonable.

>>57312721
The same functionality of IDEs.
>>
Relative newbie here, learning by making a game in python.
Is there any reason I shouldn't make an object for fucking everything it'd be even remotely coherent with? They're really useful.
>>
>>57312623
That changes my view on it, the h is there to access from wherever, and is seperate from a spefic cpp so that it can be called without calling the function, and that cpp is seperate so that the function can easily be called and control c control vd right?
>>
File: kys.jpg (37KB, 600x600px) Image search: [Google]
kys.jpg
37KB, 600x600px
>>57312697

>not using an IDE for every language
>>
>>57312791
This is what I am doing
I was wondering if VIM and EMACS were memes or if they actually could increase productivity
>>
File: seinfeld.jpg (23KB, 587x616px) Image search: [Google]
seinfeld.jpg
23KB, 587x616px
>>57312828

>wasting time on learning ancient, deprecated editors only hipsters use unironically

The only reason you might need to learn cmd editors is when you're editing something directly on a server. Nano is objectively the best option for that because it's easy.
>>
is there a way I can get scroll to top without infinite scrolling on this tumblr theme?
Or just a second corner image? Because whenever I try to add any code that should get the second image on my tumblr theme it just shows the broken image symbol and I can't seem to get around that
I'm new to coding so I may not know a lot about it but I've tried all of the codes that I've googled about this and I still get the same problem

pastebin.com/AZwGT3WV
>>
https://blog.eventsourcing.com/your-functional-programs-are-imperative-pumpkins-d722ec1358b7#.m374znqtw

haskell fags btfo
>>
>>57312892
Forget to read any more than the title?
>>
>>57312947
yes
>>
>>57312828
you don't have to learn VIM/EMACS, you can try Atom which is a normal text editor that supports plugins.

I haven't done C# so I don't know how much it relies on IDE (probably 100% needs VS on windows), but languages Python/C/C++/JS definitely do not need the benefits of an IDE. Java is a maybe, the language seems to have been designed to prefer IDE, especially if you are working with others.
>>
Why does /g/ try to move away from IDEs and go for text editors instead?

Like seriously, what is/are the reason(s)?
>>
>>57313055
Simplicity and productivity.
>>
>>57313055
IDEs are bloated, slow and most of the time very specific.

As soon as you start using more than one programming language using IDEs becomes impossible because you'll have to use more than one of them depending on the languages you have to work with.

With a well designed text editor you get the good stuff you get from IDEs (completion, navigation, go to reference, etc.) without the bloat and without the need to learn a billion different IDEs and different ways to build things with them.
>>
>>57313055
/g/ loves shit languages with no IDES
>>
>>57312892
>people who still don't understand that purity just means refining your effects rather than letting any effect happen at any time
>>
### 4chan thread image stripper ###


from urllib.parse import urlparse
import urllib.request
import json
import os
import sys


def process_link(url):
link_component = urlparse(url)
# checks for valid 4chan link #
if link_component.netloc != "boards.4chan.org":
print("Not a valid link!")
return

# split path into list: [blank, board_name, thread, thread_id] #
list_params = link_component.path.split("/")
url = "https://a.4cdn.org/%s/thread/%s.json" % (list_params[1], list_params[3])

board = list_params[1]
return [url, board]


def retrieve_json(url):
response = urllib.request.urlopen(url)
# converts HTTP bytes to string. Readall() to access, decode() to convert #
response = response.read().decode('utf-8')
data = json.loads(response)
return data

def find_image_id(json_data):
my_keys = ["tim", "ext"]
thread_pics = {}
for json, json_list in json_data.items():
for posts in json_list:
if "tim" in posts:
thread_pics[posts["tim"]] = posts["ext"]
return(thread_pics)

def create_image_link(board, pictures_dict):
image_urls = []
for picture_id, extension in pictures_dict.items():
url = "http://i.4cdn.org/%s/%s%s" % (board, picture_id, extension)
image_urls.append(url)
return(image_urls)

def download_image(link_dict):
for image in link_dict:
urllib.request.urlretrieve(image, (target_folder + "/" + image[20:]))
print("downloading %s" % image)

def image_downloader(target):
target_link = process_link(target)[0]
json_data = retrieve_json(target_link)
dict_img_ids = find_image_id(json_data)
list_img_urls = create_image_link(process_link(target)[1], dict_img_ids)
download_image(list_img_urls)

def main()
user_input = sys.argv[1]
print(user_input)

target_folder = sys.argv[2]
print(target_folder)
os.chdir(target_folder)

image_downloader(user_input)

main()
>>
>>57311298
I need to store RSA public and private keys in arrays in C++. Is an RSA public key and private key the same length, and if they aren't, are there any upper bounds to the public key size given the private key is 4096-bit?
>>
>>57313233
whoops its broken
>>
>>57313101
Well, shit. An actual answer that puts me in my place. Well done and thanks, maybe I'll consider it now.
>>
imperative programming is subsumed by declarative programming
you can declare that one thing happens after the other quite naturally
>>
>>57313270
using imperative keystrokes ;)
>>
I'm pulling my hair here. I need to write a function in python that takes in 2 parameters (width, height) and outputs an asterisk block. so drawBlock(4,2) would draw a 4 by 2 block of asterisks. I tried using a for loop but nothing works. My code is here. Please explain it to me in a way that I can actually learn and do it myself, I don't just want you guys do do it all for me.

def drawBlockOfStars(width, height):

for i in range(height):
print("*" * width)
>>
>>57313270
>you can declare that one thing happens after the other quite naturally
Also known as imperative programming.
>>
>>57313327
yes
but much like a square is a rectangle, not all rectangles are squares
>>
>>57313320
>nothing works
could you give a little more detail?
>>
>>57311384
When they apply in a sort of differentiable manner. So, for instance, when you have a set of variables that will constantly be changing. If your functions never use constant information and rely on a steady header of variables from which to retrieve information then you want to have them available as close to the point of retrieval as possible to keep the machine running well. There are reasons for using variables between functions, probably not to do with performance and a more aesthetic quality of performance like noise induction, but none of them really come to mind. Besides that last one, of course.

You want to keep a 3 dimensional mindset open for these kinds of things so that you understand your data table focus has changed and that your old data table is no longer available, kind of thing. So instead of seeing some physical thing manifest in front of you, expect that a different 2d map is being used, and so it's almost like you're iterating through a 3d object, desu yo?
>>
>>57313358
by nothing works I mean I tried to sent the parameters to the loop so that it can draw and print the block. so typing drawBlockOfStars(4,2) in the shell would put 4 and 2 in my loop and print the asterisk block. I feel like a retard because I can't seem to find what I'm missing.
>>
>>57311384
Btw, the answer I gave in 413 is the same for both your problems, except sort of interpolated. So, rather than doing that whole thing with variables, you go 4d and do it with programs, after you've done it for variables, where programs are collections of functions.
>>
>>57313419
the code looks fine and i can call it just fine on my machine. do you get an error?
>>
>>57311414
Also, learn to avoid people that talk like this. They are worse than any kind of addiction.
>>
>>57313255
Keep in mind IDEs aren't inherently bad, if you're lucky (or unlucky depending on your point of view) enough to be able to work within a bubble, then an IDE can make things easier.

By bubble I mean developing in a single language (or languages that works together well) and a single platform (Windows only, macOS only).

For example if all you do is build programs for iOS and macOS all you need is XCode, then you just use Swift or Obj-C.

If you only build programs for Windows go with Visual Studio and C# or whatever.

But as soon as you leave the bubble, you either move away from IDEs or you find yourself in trouble.
>>
>>57313320
tee hee that's cute

I don't know what language that is but even haskell doesn't let you add more of something by multiplying it. You have to add it by a number that is factored into the equation.

What language is that anyway? I'll take a look at the specification.
>>
>>57311298

How do I implement a quarternion FPS style camera in OpenGL?

I'm using GLFW3 and GLM, which has built in quaternions

I don't really understand quarternions. I get how 2d imaginary vector multiplication works, but I don't understand how it's supposed to happen in 3d.
>>
>>57313520
That's because Haskell doesn't pretend that addition and concatenation are similar.
>>
>>57313337
They both use lines, though! Hooray.
>>
File: Capture.png (1KB, 191x59px) Image search: [Google]
Capture.png
1KB, 191x59px
>>57313462
You've got to be kidding me. I've been stuck for an hour and now it magically started to work. I don't even know what I did to make it work, I am a bit retarded. Thanks for trying to help tho.

>>57313520
python, babbys first language
>>
>>57313270
is OOP and working with APIs, aka code monkeys, declarative programming??
>>
>>57313575
well it is, by that logic, but there's no reason to call it anything but imperative programming
>>
>>57313593
why
>>
>>57313544
But then what is pointer arithmetic if concatenation is strictly for strings? Wait, what am I saying! You've got me confused now!
>>
>>57313524
Make a new curve after momentum is applied. But do not assume a constant trajectory, just add it to the blit.
>>
>>57313442
I sort of get what you mean but its an interesting way of explaining it
>>
>>57313634

why would a camera have momentum
>>
>>57313601
imperative programming encompasses all the declarations you can make (statements that come one after the other in blocks)
calling something declarative instead of imperative implies that there is more to it than just that
>>
>>57313641
It's just methods of dealing with the chaos whereby you don't audit entropy.
>>
>>57313575
pretty much yeah.
>>
>>57313661
Because a swing requires energy too? Oh, wait, you're saying the muscle is behind the eyes?

I fucking hate autists. I'm done with this thread. Am only replying to tripfags.
>>
>>57313469
I like you.
>>
>>57313544
Pretending that things like that are similar is the entire rationale for monoids being part of the Prelude.
>>
>>57313664
Declarative is a more despotist approach, where imperative implies reason for the order. The despot gets to decide catholics are now christian and the world then decides to shit on everything. Kinda like what muslims are doing to the world, even though I'm almost sure Alqueda types are what the unholy feminine are to America right now.
>>
>>57313726
God, that sounds so fucking sexy but I still can't get it to install. JK. I had my son over. I'll see about installing today or tonight. I'm still irritable over some of these posts. Can't have Arch seeing me like that as soon as I start. That's. Not. Me.
>>
>>57313701

I don't know what you are on about
>>
If I plan on working with game engines, will SCIP help me out?
I mean everything will be OOP.
>>
>>57313613
What does pointer arithmetic have to do with this? Addition in pointer arithmetic is fine, anyways.

The problem is that addition is commutative and concatenation is not. Haskell allows + to be overloaded, but the rule is that you have to preserve the properties (or risk undefined behaviour, probably). For concatenation you have ++, anyways.

The reason operator overloading is confusing is because operators often have properties like being commutative associated with them, and most languages can't check that you preserve these properties when you overload them. And yet, these languages that forbid overloading often fuck up anyways and say that concatenation and addition should both use +.

>>57313726
They're similar in the sense that they both can form a monoid but they're not similar enough that using the same operator for both makes sense, and that multiplication means repeated concatenation. Multiplication CORRESPONDS to repeated addition SOMETIMES.
>>
>>57313802
That's great because I don't know who the fuck you are.

Testing something: Pajeet.

Edit: Writing pajeet makes google declarative.
>>
>>57313813
SICP*
>>
>>57313827
Concatenation happens at the pointer level.

Chargin' ma lazer!!!!11
>>
>>57313813
Game engines force you to program in certain ways. These ways are often terrible. If you're okay with programming while also understanding this, then go right ahead.
>>
>>57313846
Wait how do you edit your post?

Edit: Oh nevermind, found out.
>>
>>57313903
there's an idea for hiro
>>
>>57313813
Dude, why don't you try to make a version of Pong with extremely cool graphical effects just to get you started? Would be a ton of fun and would probably sell good for a cheap price. Hell, I'd buy it but I can't model for shit and don't have enough motivation go to through with every step of the way.
>>
>>57313936
try it* lol
>>
File: Lightning2.webm (926KB, 819x459px) Image search: [Google]
Lightning2.webm
926KB, 819x459px
Ayy check out this lightning
obvs not being generated in realtime, it's way faster than this
>>
>>57313868
I guess I am looking for a book similar to SICP but closer to the programming paradigm game engines use or I guess more modern industry friendly practices, something that will explain in great detail how math (in this case stuff like physics and vectors)translates into (OOP?)

as a background my school is Java oriented (while I am focusing on C++ right now), and algorithms logic are thought but they don't teach us how to describe and abstract complicated math
>>
>>57313469
You're making valid points but you missed the whole picture: Apple ecosystem and everything related to it is useless and iOS devs should be gassed.
Basically, most programming languages are unneeded and never should have existed in the first place but too bad the average idiot want to drain the scum out of every memes to feed his primate's social ego.
Fuck you and your belief your intelligence is helpful when you're not actively trying to keep things fucking simple. Fuck the like of you that think education is how you get smarter while in fact, it only gets you knowledgeable. I hope you all die very painfully.

tl;dr: kys faggot
>>
>>57314045
That's all really straightforward, though. Each library/engine will do it a little differently but essentially you just have types/classes for vectors and matrices and functions/methods for operations.
>>
>>57314064
Anon, you should get yourself looked at, you've got some problems.
>>
>>57314064
so what language do you program in
>>
>>57314149
ASM and C.

>>57314136
Kys.
>>
>>57314135
why do I go to school if all there is to programming is reading API docs then ;__;
>>
>>57314177
>ASM and C.
Why so abstracted, aren't you smart? You don't need malloc. Actually, you're not using a computer to post this are you? And what operating system? Are you crafting raw packets in your own kernel without a base OS or did you make that too?
>>
>>57314064
lol

>>57314177
>ASM and C.

double lol
>>
>>57314193
Because there's a lot more to programming than doing arithmetic...
>>
>>57314193
Computer science education, for math and a piece of paper that looks good to your future boss. If you're not doing that, I don't know why you're going to school either.
>>
>>57314223
connections are good too
>>
>>57314207
I meant it as in I am not 100% happy with the answer he gave me

just looking for book recommendations

>>57314223
thats the reason I am looking for books, because my school (public university) is not teaching me how to apply math

they only said "go take 3 calculus classes, a discrete math course and two physics classes" and called it a day, they are not bothering to explain how to incorporate what I learned
on the rare occasions that they do its really basic things, and don't go deep into the subject

maybe its my school, maybe its all schools and we all have to find answers somewhere else through practice
>>
>>57314310
Yes, and you also might possibly learn something about managing giant programs to help prevent you from writing too much spaghetti when faced with data structures.
>>
>>57311298
Checking out the new stuff in Racket 6.7.
>>
>>57314014
Nice. How do you model it?
>>
>>57313568
Not going to look at the specification, btw. That program is already showing that it needs you to depend on it. Bad design for bad mothers.
>>
>>57314198
Guy probably wrote his own compiler and operating system, for all you know.
>>
>>57312828
Emacs: yes
Vim: No
Neovim: Maybe

The most important part to any IDE is plugins
>>
>>57314602
Well he'd have to have written his own motherboard firmware and all his drivers, too. Which at the very least means getting your own custom hardware, though that's still abstracted.
>>
>>57314556
Heavily modded version of a rapidly exploring random tree

It's looking better by the minute, I'll post the results from the new tweaks in a sec
>>
>>57314198
When you aren't trying to simulate the entire thing, a simple abstraction can make due.

Oh wait, this is a mod.
>>
>>57312697
(good) IDEs are best for larger OO languages since they provide lots of debugging tools and easy management of packaging. It's not worth using emacs or vim for that kind of stuff. I use vim for C/C++, web development and any small project in any language personally. Enough plugins and it becomes a mini IDE itself.
>>
>>57314635
I don't think the problem here is anonymity. I guess you're playing second fiddle to some moneygasm. Was it the pajeet ?
>>
>>57314699
what?
>>
#include <iostream>
using namespace std;

int main()
{
int x=0;
cout << x++ << ' ' << x++ << endl;
return 0;
}

Output: 1 0

Why can't c++ do simple math?
>>
I wrote an app for Android (a widget that shows some data from my smarthome system) which sends out a request every 120 seconds to grab the data for all the widgets and updates them.

Unfortunately some OxygenOS fun called bgDetect triggers on my single request, resulting in it killing the process and the widgets not updating. Anyone know how to fix this, except installing a different OS?
>>
>>57314737
Aren't you smart?
>>
>>57314971
no
>>
>>57314939
>x++
>not ++x
>>
>>57314660
Just in case it wasn't. In the case that an abstraction can make due, you still have to abide the structure. Kind of like a dither except not. It's tough to describe because the material on the matter is way limited and, possibly, coming from two competing companies.
>>
>>57314939
Order of evaluation of function arguments is undefined.

Load/store isn't math.
>>
>>57314983
Are you the cow or the sheet?
>>
>>57314939
x++ in that location is ambiguous. Why can't you do simple programming?
>>
>>57314939
It's evaluated right to left, isn't it?
>>
>>57314939
(((cout << x++) << ' ') << x++) << endl;
>>
>>57314939
can someone explain to me this in terms of associativity and operand operator r/l values?
>>
>>57314992
Output: 2 2


>>57315005
>>57315025
>I understand something that's shit and that means it isn't shit
lmao
>>
for all you regulars, today is not a good day to dpt. I just got logic bombed. And if that's not a problem. I'm on win10.
>>
>>57315121
>>I understand something that's shit and that means it isn't shit
Yeah, because once you understand it you'd realise it isn't shit.
>>
I started learning SFML. should I stay with it or learn SDL instead? I'm using C99.
with SFML I have to dynamically link the libraries, but everyone seems to be recommending it over SDL these days.
>>
>>57315108
cout operator overloading is evaluated right to left. That is all.
>>
>>57315205
>with SFML I have to dynamically link the libraries
SFML has static libraries
>>
>>57315200
No, statbuf is a stat variable. stat in turn is a struct, which means it is a collection of data fields. To help the compiler, when you declare a variable of type stat you need to mention that it is a struct.
>>
Wow I fucked that post up let me start over

This is in a program I'm looking at in C

>sruct stat statbuf;

Trying to figure out what struct is and what stat is. Havent seen it before and the manpages aren't helping too much

the information of statbuf goes into stat which only cares about the file status and it's a struct variable?
>>
>>57315205
>C99
But SFML is for the C++ OOP fags.
>>
>>57315232
yes, but I'm using C and the libraries are written in C++ as far as I know

>>57315240
CSFML exists for C bindings
>>
>>57315283
OOP madness is still OOP madness in C.
>>
>>57315235
Thanks. Ok that makes sense. Stats are structs which are collection of data fields. Got it.

stat is used for holding information regarding files?
>>
>>57315200
>what struct is
struct is a keyword in C. It declares a "grouping" of other types into 1 unit.
struct mystruct {
int a;
int b;
};

// Declaring a variable of type "struct mystruct"
struct mystruct variable_name;
variable_name.a = 10;

>what stat is
stat is just the name assigned to that struct. It's the struct used for the stat() family of functions, funnily enough.

if you want to know what members it has, use
man sys_stat.h
>>
>>57311997
It's to improve readability. You put that small definition above main to easily check what everything returns and takes as parameters. Then you put the code for them at the bottom
>>
>>57315316
>stat is used for holding information regarding files?
I don't have access to your code so I don't know, but that assumption seems reasonable. Look for whatever header file stat is declared in to find out for sure.
>>
>>57315292
well, I'm no expert on the subject, but I didn't find any OOP madness in the C version. it seems to be designed for procedural programming.
>>
>>57314939
Why do you write shitty code?
>>
>>57315319
thanks m8
>>
got my first assignment lads.

It's a shitty little program to play a game but I'm nervous.
>>
>>57311997
Don't listen to >>57315321

It's too stop this from happening

int foo()
{
return bar(10); // error
}
int bar(int x)
{
return 2*x;
}

At the time of compiling, as soon as the compiler reaches bar(10), it doesn't realize that the function is defined later in the program. If you put the declaration in, then when it reaches the call, it sees that it's a function, but it's defined later in the program
>>
>>57315212
sorry for the stupid question but whats cout operator overloading?
>>
>>57315954
cout is an instance of iostream. operator overloading is redefining an operator in a class definition so that the overloaded function for the operator happens. So you can do stuff like Vector1 + Vector2, the "+" operator is overloaded to do vector addition.
iostream (and other stream classes) overloads the bitshift operator, << and >> to direct input/output.
>>
Can someone help me understand why making my program multithreading makes it run /so/ much slower?
$ ghc -threaded sieve.hs && time ./sieve # multithreaded version
[1 of 1] Compiling Main ( sieve.hs, sieve.o )
Linking sieve ...
under 5000000 there are 348513 primes
21.375 secs
$ ghc -threaded sieve.hs && time ./sieve # single threaded version
[1 of 1] Compiling Main ( sieve.hs, sieve.o )
Linking sieve ...
under 5000000 there are 348513 primes
6.748 secs

I read this SO and tried using parMap, but the performance is still worse than the single threaded version
$ ghc -threaded sieve.hs && time ./sieve # parMap version
[1 of 1] Compiling Main ( sieve.hs, sieve.o )
Linking sieve ...
under 5000000 there are 348513 primes
14.289 secs

Am I creating too many threads? The relevant part is line 10. In the single threaded version "sequence_ $ parMap rseq" is replaced with just mapM_.
Here's the source code: https://clbin.com/PaF6K
>>
>>57316059
>https://clbin.com/PaF6K
Wtf is this curry language? I swear to God pajeets need to leave. Code in a readable language, brah
>>
>>57316087
Get wrecked Haskell's syntax kicks your favorite language's syntax's ass.
>>
>>57315005
> Order of evaluation of function arguments is undefined.
It's worse than that. It's also undefined as to whether or not the side effects are visible to other instances of the variable in the same expression.

So don't modify a variable twice within a single expression.
>>
>>57316095
> he fell for the Haskell meme
>>
teachers or books?
>>
>>57316136
You're the one falling for a meme by not learning every language possible in your lifetime.
>>
>>57316160
> implying any employer will care about your fizzbuzz in "irrelevant language 427642"
>>
>>57311572
I too hate them. Especially in Project Euler problem. Shit isn't math even in the slightest. It forces me to micro optimize a usually combinatorial approach. Fuck that noise.
>>
>>57316179
>learning a language for a job instead of for personal fulfillment/betterment
I pity you more than anything.
>>
>>57316194
Finally someone realized how retarded is this. The only valid purpose would be to test one's IQ and neural plasticity. It doesn't teach you anything that can be structured as knowledge, thus being just another way of wasting neurons.
>>
>>57316197
> being able to program really well in one language vs being really shit at 200 languages
I'll pick the former
>>
>>57311298
What colleges are /dpt/ anons from?
>>
>>57316237
I'd rather pick being able to program really well in a couple dozen languages.
>>
>>57316237
>Implying you're well programming in your JS bloat and POOP faggotery.
>>
>>57316237
That's not how it works. Learning multiple languages is the best thing you can do to learn one language very well. Without branching out you don't gain proper perspective on your language and your mental toolset is restrained.
>>
>>57316242
I'm from high school dropouts of technology.
>>
>>57316197
you can't fulfill anything in life if you are all over the place and don't have goals

>>57316252
explain why companies are paying for that
>>
>>57316267
>explain why companies are paying for that
Because it's popular. See pic related, subhuman scum.
>>
>>57316267
Because companies also need code monkeys, many of them, and for cheap.
>>
>>57316267
>you can't fulfill anything in life if you are all over the place and don't have goals
You're reaching.
It feels like your definition of "goals" is "jobs."
>>
>>57311384
You need to declare them before you use them. Otherwise the compiler reads them in order of definition from top to bottom. So you put them in a header as declarations and then define them, and any function can use them at any time. It also allows usage of header variables and other fun things like include guards for efficiency.
>>
ITT: NEETs who spend all day writing fizzbuzzes in C while JS programmers are out there in jobs making more money in a week than they will make in a lifetime on welfare
>>
>>57316324
JS devs don't make a lot. Backend work is where it's at. If you can score a job writing C you'll make more than me (Python backend developer), and both of us more than front end developers. JS development is just easier to learn.

I say this as someone who likes writing C and other "not real world" languages (Lisps, Haskell, whatever I can get my hands on).
>>
File: 52683909_p0_master1200.jpg (203KB, 800x600px) Image search: [Google]
52683909_p0_master1200.jpg
203KB, 800x600px
>>57316324
I can't believe some people legitimately think that being a Javascript codemonkey is a good thing.

The real question is: how did they end up being on /g/?
>>
>>57315954
puts going to printf
>>
>>57316324
If you earned money for your development you'd understand how to crunch numbers and do some basic statistics, in which case you'd know you'd in fact NOT earn more in a week than a NEET on a lifetime of welfare.
>>
>>57316353
>C
>not real world
Someone has never dealt with embedded systems, for which 98% of all CPUs are manufactured.
>>
>>57316441
>>57316324 implied that programming C wasn't "real world". In all fairness, it's a hell of a lot easier getting a job with many languages than with C. These days you're more likely to see an embedded system running Java than C (eg my parents' Blu-ray player).
>>
>>57316421
It's easy, and I make enough money to not ever worry about money. How is this not a good thing?

>>57316441
Good luck finding such a job, especially if you're young.
>>
tell me something nig/g/ers

should I keep files like a .pdf in a database or should I just keep them in the file system? Those files are the only thing I need to save
Should I use a database at all for something like saving the name of the file and its checksum or should I just write it in a txt and from time to time do a backup of said txt?
>>
>>57311298
>>57310527
fucking hell
>>
>>57316684
Don't put PDFs in the database, store their filenames (and yeah MD5s if you think verifying it is important). Store filenames and checksums in the DB and do backups of the DB and your PDFs. Putting files that can be very large like PDFs in the DB will slow transactions way down.
>>
>>57316734
>Putting files that can be very large like PDFs in the DB will slow transactions way down.
there won't be many, I'll probably be the only user and won't try to get more than a couple of pdfs at a time.
>>
>>57316771
It's probably fine but just realize that it looks bad and is considered to be bad form.
>>
File: wise magical negro shig.jpg (38KB, 200x200px) Image search: [Google]
wise magical negro shig.jpg
38KB, 200x200px
>>57316734
>MD5
>>
>>57316785
ok, thank you
>>
in C, how do I go about reading multiple lines from a file? I know I can use fgets to read a line (and in this case I expressly want to read each line one at a time), but then how do I get to the next line?
>>
>>57316795
This isn't for security it's cool homie

>>57316812
Glad I could help. With stuff like this it's sometimes better to just go with what works.
>>
>>57316795
> he things a sha2048 hash + bit sum is important for verifying a file
>>
In c++ do you use this->property or just name them _property? which do you find has more clarity?
>>
What is the best Map API that is free AND has satellite imagery?
>>
File: language-tan.png (1MB, 1200x1800px) Image search: [Google]
language-tan.png
1MB, 1200x1800px
Choose your destiny.
>>
>>57316987
C++ w/ thong tans
>>
>>57316987
if (post.image.isAnime() ==true)
reply("fuck you for watching anime you fucking weeaboo\n>>>/a/");
>>
>>57317059
what is the algorithm used to check if is anime
>>
>>57316823
Make sure you have C installed on your computer and then make sure you make it to the party later because Karen's sister is going to show and you don't want to be late.
>>
>>57317077
Autism.
>>
In C++, I want to store a config file in the users home directory. It's gonna be done with Glib keyfiles but it needs a file location, what's a solid practise of checking it, should it change based on a bootstrap file before compile time?

>>57316987
Scala's a qt
>>
>>57317077
waifu2x
>>
>>57317096
Nevermind this, there's a Glib function for it!
>>
>>57317097
thank you math gods
>>
>>57317097
does finding this funny make me autistic
>>
http://www.strawpoll.me/11541785
>>
>>57316987
this makes me feel bad for picking java as my primary language
>>
>>57317240
Why? She is the least likely to be a slut amongst them.
>>
Are there any C++ oriented colleges?
90% of it is java, and the rest is python
>>
>>57317320
not my type on a visual level
>>
>>57317320
>sluts and indecent lewd wear aren't his fetish
>>
>>57317320
Look at her. She's so conservative in her dress and look I bet she's a massive slut when you get in bed with her.
>>
Any mobile developers here ?
>>
>>57317359
what do you want kid
>>
>>57317059
>==true
`,:^)
>>
>>57317320
She us fat. She is wearing "conservative" clothing to hid it. I wonder if its a metaphor for the bloat.
>>
Just asking ...
>>
>>57311298
So I found one of my old highschool books and it had a shitty encryption algorithm I made based on ones that already exist, I'm learning python and think for my first program I could make something to encrypt and decrypt using this algorithm, is this a good idea?
>>
>>57317211
if you wanna make money, then yeah, learn Java and all the specific stuff you need for the area you want to work in

if not.. learn bits of lots of langs... or, you could do this after learning Java well
>>
>>57317392
Let me guess. You also use bitwise operators to test for falseness instead of "== false"
>>
>>57312581
what does this do?
>>
>>57317240
Out of all the reasons in the world against Java, what dissuaded you was a tan someone else made. Well pooed.
>>
>>57317411
if (post.image.isAnime())

there nigger
>>
Anyone here from hackthis.co?
>>
>>57317411
Why not just use logical negation?
>>
>>57317436
>>57317497
> implying the compiler doesn't optimize it for you
>>
Show me your forbidden C secrets
>>
>>57317517
I'm not implying anything other than why you'd bother typing out == false or using bitwise operations over just using logical negation operators or implicit bool checks. Because yes, the compiler will usually optimize it for you.

Bitwise not =/= ! operator
>>
does anyone use asp.net?
>>
Who /maccas&code/ here?
>>
>>57317609
>the glass of wine
oh no, stop that
>>
>>57317556
only with c#
>>
>>57317534
I'm with this guy. Checking for true and false is pretty stupid.
>>
>>57317609
fuck off karlie
>>
>>57317609
nice nails faggoy
>>
>>57317609
Holy fuck please kill yourself immediately.
>>
>>57317534
>>57317634
Because it improves readability?
>>
girls can code!
>>
EEEEUUAAAGGHHH
>>
>>57317650
revolution 60 is the epitome of girls coding
>>
>>57317655
*scratches your back*
>>
>>57317648
if (!transmutable);
if (!isAnime());


No that looks perfectly readable. If you have trouble with that I think you've not been programming very long. However, more to the point, what the fuck were you on about with "bitwise not"? I'm still confused behind your confusion over implicit booleans and what a bitwise NOT actually is.
>>
>>57317609
>Glass of wine
>Doritos
>Macbook
>DSLR
>Three fucking trashcans in the background
>Box of wine on the counter
>Misc shit off to the left with "I'm barely not on welfare and live in newly built section 8 housing" chairs and stools
Disgusting.
>>
>>57316236
>>57316194
>>57311572
The point is entirely to make you create a hyper-optimized solution.
If you can't recognize the value in optimization exercises you're literally pajeet tier.
>>
>>57317648
x == true is fucking unreadable. You need (x == true) == true. Which also sucks. ((x == true) == true) == true? Not good enough. And so on.
>>
Guys I need help can a helpful anon give me that object orientation kite image?
>>
>>57317757
>>57317671
> when this function returns true, do this
vs
> when this function do this
Or even
> when this function is true is true is true do this
Out of the three, pick which one is readable
>>
Does anyone have the exe/code of the webm-encoder some anons made a while back that would take in data and spit out a webm made up of black and whites pixels/chunks?
>>
i respond to it every timmeeee xdddddddd
>>
>>57318094
In general, you have "if this expression is true then do this". If the expression is a function call evaluating to a boolean isAnime(), you have "if isAnime() returns true then do this". If the expression is (isAnime() == true), i.e. "if isAnime() is true is true then do this".
>>
Noob question here. Am I a peasant if I use multiple libraries? I was following the advice of "not trying to reinvent the wheel", but I feel dirty by using other libraries other than
 #include <stdio.h> 
.
>>
>>57318150
>If the expression is (isAnime() == true), i.e. "if isAnime() is true is true then do this".

There's no two "is true"s in there, there's one is true, and you're just reading into it that there's a second "is true"

If you're worried that "if" is calling another "is true", don't be because compiler can optimize for that.

2/10 unreadable garbage
>>
>>57318222
Check any project you know and love and tell me how many libraries they use. It's quite a bit more than you said you were comfortable with.
>>
>>57317757
>>57318150
You are being ridiculous. The point is to have that keyword "true" or "false" so there is no chance for anyone to ever misinterpret it. Misreading a line of code when you are skimming through can be disastrous.
>>
http://lucumr.pocoo.org/2016/10/30/i-dont-understand-asyncio/

is this as fucked as he says?
>>
>>57316987
>no haskell or lisp
dropped
>>
>>57318094
>> when this function do this
If you're reading it like this, that's a you problem. No non-shit programmer will read if(function()) and misinterpret it like that. If the function returns a value then you're clearly testing that value in the if statement.
>>
>>57318246
You should be using custom enumerations if readability is so paramount, not using the default true and false.
>>
>>57318265
>Misreading a line of code when you are skimming through can be disastrous.
What are you going to misread it as? What other thing could you possibly see? You're not gonna be reading a function and see an if statement like if(thing()) and read that accidently as if(thing > 1) or if(thing.something else != something)
>>
>>57318289
Reminds me of the hell that was the early days of Boost.Asio
Glad to see Python continues to implement the mistakes of every other language
>>
>senior year UNIX/OS class
>first project is on memory management
>professor wants am ADT written in C, but with his own purposefully obtuse variations
>class of 60
>average grade was 52/100

What grade did I get?
>>
>>57318246
(isAnime() == true) returns a boolean value (the value that isAnime() returns because _==true on booleans is the identity). An if statement checks if the expression in question is true, and if so does what's in the next block. So yes, you are checking if isAnime() is true is true.
>>
>>57318482
hunned?
>>
>>57318482
>What grade did I get?

52.
>>
>>57318482
what was the median grade?
>>
File: le sicp reader.jpg (152KB, 1031x882px) Image search: [Google]
le sicp reader.jpg
152KB, 1031x882px
>mfw suu paa koo daa
>>
File: score.png (8KB, 951x115px) Image search: [Google]
score.png
8KB, 951x115px
>>57318572
>>57318610
>>57318613
95!
though the 5 points he took off were bullshit because my datatype had no leaks, rather valgrind raised errors because I forgot to add a null character to the end of my a few strings
>>
>>57318613
also, I don't know. Hopefully he brings it up in class
>>
in python how do I pass a class as an argument into a function?

class Coords:
def __init__(self, x, y):
self.x = x
self.y = y

def length(Coords c1, Coords c2):
return math.sqrt((c1.x - c2.x)**2 + (c1.y - c2.y)**2)

if __name__ == "__main__":
coords1 = Coords(2, 3)
coords2 = Coords(4, 5)

dist = length(coords1, coords2)

print(dist)



I would do something similar to this in C++ but don't know how python does it
>>
File: hyoeungf.jpg (158KB, 1080x1240px) Image search: [Google]
hyoeungf.jpg
158KB, 1080x1240px
anyone have that book tier image? most of it was pretty standard but there were a few i didn't recognize

>>57318634
have to watch the lectures too
https://youtu.be/2Op3QLzMgSY
>>
>>57318660
>inb4 no bump because you got a 95
>>
>>57318698
>coord
>no tuples
>>
File: 1472963188275.jpg (91KB, 638x732px) Image search: [Google]
1472963188275.jpg
91KB, 638x732px
>>57318704
>mfw
>>
>>57318647
mind posting the project? Not your answer
>>
>>57318698
>Coords c1
who told you to do this
>>
>>57318647
Post your answer.

>forgot a null character
Where I'm from this makes your project worth 0.
>>
>>57318647

What was the data structure?
>>
>>57318739
sure
>>57318758
I actually remembered the null character for initializing strings, but the strcpy implementation I wrote didn't always add a null character
>>
>>57318700
wait should I read it the book (2nd ed) or see the videos?
doing both are not time effective
>>
>>57318634
why did MIT drop SICP? do their students still read it even if its not required?
>>
>>57318822
MIT here, theres a better book now, sicp is good (not that i really read it all, no point) but its very outdated
>>
>>57318822
python ruins everything
>>
>>57318844
what book is the introduction now? I saw their site, and it seems like an EE python project >>57318851
>>
File: gproject-page-001.jpg (484KB, 1275x1650px) Image search: [Google]
gproject-page-001.jpg
484KB, 1275x1650px
>>57318789
a hash table
>>
import os
import shutil

def move(src, dest):
shutil.move(src, dest)

SCAN_DIR = "/Users/max/Desktop/dispatch/"

IMG_EXT = ('.png', '.jpg', '.gif')
IMG_PATH = "/Users/max/Pictures/"

VID_EXT = ('.webm', '.mp4', '.mkv')
VID_PATH = "/Users/max/Movies"

DOC_EXT = ('.pdf', '.html')
DOC_PATH = "/Users/max/Documents/"

PROG_EXT = ('.c')
PROG_PATH = "/Users/max/Etc/"

ETC_PATH = "/Users/max/Etc/"

for file in os.listdir(SCAN_DIR):
if file.endswith(IMG_EXT):
move(SCAN_DIR+file, IMG_PATH+file)
print("Moved " + file + " to " + IMG_PATH + file)
elif file.endswith(VID_EXT):
move(SCAN_DIR + file, VID_PATH + file)
print("Moved " + file + " to " + VID_PATH + file)
elif file.endswith(PROG_EXT):
move(SCAN_DIR + file, PROG_PATH + file)
print("Moved " + file + " to " + PROG_PATH + file)
elif file.endswith(DOC_EXT):
move(SCAN_DIR + file, DOC_PATH + file)
print("Moved " + file + " to " + DOC_PATH + file)
elif file.endswith('.DS_Store'):
print("FUCK YOU MOTHERFUCKER DIEEE")
else:
move(SCAN_DIR + file, ETC_PATH + file)
print("Unknown file type moved to" + ETC_PATH + file)

how can i clean this up? key value pairs? I want to scan a folder on my desktop and move the files to appropriate directories using crontab.
>>
>>57318870
https://mitpress.mit.edu/books/introduction-computation-and-programming-using-python

its wierd to think about, not many people that knew about 6.001 like it, and those that dont think its alright
>>
probably a retarded question

How do I get stuff to import as
module.Class
, with Class being a separate file in python? I know I need a folder with __init__.py and all that, but I only get to import stuff as
import module.submodule.Class
>>
>>57318909
I see now, does the successor book draw interesting parallels and metaphors like SICP did?
>>
>>57318739
here you go
https://mega.nz/#!oNAA2KhR!eGawM4-3D78z99UQ_oc64luAC86MGfMjGTZVJBOSVGM
>>
>>57318712
what do you mean tuples? I'm ultimately just going to perform a bunch of trigonometry and arithmetic on an array of points in form of x, y and load results into a matrix of size [n][n].

Should I not use a class in python for these points? Sorry I should have named them point instead of coords, that was my bad.
>>
>>57317618

Hey, nothing goes great with McDonalds like a glass of wine.

https://www.youtube.com/watch?v=RP83kn5aYxo
>>
NEW THREAD
>>57319094
NEW THREAD
>>57319094
NEW THREAD
>>57319094
NEW THREAD
>>57319094
NEW THREAD
>>57319094
>>
>>57319013
>that comic sans

How did people only get 52% on this, seems relatively straight foward.
>>
>>57319117
Honestly, no idea.
Probably a combination of things
>>
>>57311466
No, classes, or rather, private/public, are a concept that shouldn't even exist. If you need to access something directly, do so.
Thread posts: 323
Thread images: 19


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