[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: 331
Thread images: 32

File: baka.png (510KB, 782x1238px) Image search: [Google]
baka.png
510KB, 782x1238px
What are you working on, /g/?


Previous thread: >>60162346
>>
File: dlang_chan.jpg (139KB, 470x545px) Image search: [Google]
dlang_chan.jpg
139KB, 470x545px
Threadly reminder that dlang-chan is not dead, and she's super duper cute and fast! Say something nice about her, /dpt/!
>>
>>60167324
learning bash. the syntax is ass but it's fun to be able to run little scripts without having to leave the shell. seems useful to know
>>
Give me a random project to do in a scripting language
>>
>>60167349
Write a bash script to prove that P != NP.
>>
>>60167349
sum of all prime numbers under 2000000
>>
>>60167349
make cron change your text editor's theme from light to dark when it's dusk, and back to light when it's dawn
>>
File: 3fDn5vBh.jpg (87KB, 800x800px) Image search: [Google]
3fDn5vBh.jpg
87KB, 800x800px
Daily reminder that if you use sublime or atom you are a faggot.
>>
>>60167381
>Frogposter
Take a look in the mirror.
>>
File: 78osBDIh.jpg (32KB, 785x757px) Image search: [Google]
78osBDIh.jpg
32KB, 785x757px
>>60167393

t. assblasted JS fag

also, not an argument. Go back to your meme editor.
>>
Is the mouse the worst invention in the history of computers?
>>
>>60167432
not government surveillance?
>>
>>60167432
no, the keyboard is
>>
>>60167432
i imagine the recent patent for manipulating peoples nervous systems through monitors will be worse
>>
>>60167456
https://www.google.com/patents/US6506148
>>
Trying to understand Binary Decision Diagrams.I haven't been able to figure out how they are different from just sparse binary search trees.
>>
any androidfags here
is it possible to make two LinearLayouts scroll together
i.e, scroll one and the other one scrolls along with it as if they were the same thing
>>
File: 1402790418933.png (571KB, 670x720px) Image search: [Google]
1402790418933.png
571KB, 670x720px
>tfw too brainlet to understand cache memory
>>
>>60167562
i know nothing about them but the name seems to imply decision diagrams are able to apply to arbitrary decisions, not just comparing it to the node by ordinal position
>>
File: 1374577328217.png (224KB, 554x439px) Image search: [Google]
1374577328217.png
224KB, 554x439px
>>60167324
>What are you working on, /g/?
>Actually working on something for once
>Don't really feel like talking about it
>>
>>60167664
tell us :(
>>
Java has faster performance than C#.
Have a nice day.
>>
>>60167672
If I go into specifics I imagine it would be pretty easy to identify who I was, but that's not really the end of the world.
Anyway, it's some Wayland compositor related shit.

Now I just look like an attention whore.
>>
how bad is cobol? first day at my new job and they program in cobol. what should I expect?
>>
>>60167562
They're just a representation of Boolean functions with canonicity to make it easy to test for equivalence and satisfiability.
>>
>>60167701
i think i know who you are
>>
>>60167639
just put the two linear layout inside one scroll layout,
>>
>>60167726
What purpose would there be to use that over a sparse binary tree with some other traversal function? I might be over thinking it, but it seems like the BDD acts like a sparse tree with a different function to determine how to traverse the nodes.
>>
>>60167789
I don't see how a binary decision diagram is similar to a binary tree at all.
>>
File: 1479233564449.png (748KB, 664x813px) Image search: [Google]
1479233564449.png
748KB, 664x813px
>>60167622
>>60167506
Well done!

Now find the 10th perfect number.

6 is a perfect number. 1+2+3+6 (the sum of multipliers) = 12 (double of 6)
8128 is a perfect number.
8128's multipliers add up to 2*8128
>>
>>60167643
a cache is just storage you can refer to so you don't have to redo a computation.

do you need an example?
>>
All /dpt/ posters are women pretending to be men, some of whom pretend to be women
>>
>>60167813
>1+2+3+6 (the sum of multipliers) = 12 (double of 6)
1+ 1 + 2 = 4. 2 is a perfect number, 1 * 1 * 2 = 2, 4 = 2*2

stupid problem
>>
>>60167846
I ironically want to become a cute loli
>>
>>60167846
[citation needed]
>>
>>60167858
>2 is a perfect number
1+2 = 3 != 2*2
>>
>>60167643
Cache is memory on the CPU that mirrors a small fraction of main memory. It's fast to access a memory location mirrored in the cache, so you want to do that as much as possible. The interesting part is how the CPU decides which locations to mirror and how to write programs with memory access patterns that use cache as efficiently as possible.

>>60167837
Wrong cache.
>>
>>60167381
Atom, I agree. Sublime, no.
>>
Is it true that Lua has version incompatibility issues?
>>
>>60167915
t. sublime user
>>
File: 1418964540264.png (197KB, 534x534px) Image search: [Google]
1418964540264.png
197KB, 534x534px
>>60167807
That's because I'm not very smart and don't get the concept. To me it seems like they are similar in the sense that you apply some function to an input until you reach some leaf state. Once you hit that leaf state then you get your value. It might just be the way the implementation is in my head, but again I'm not that bright.
>>
In a loop like
for(int i = 0; i < strlen(s); i++) putchar(s[i]);

can I safely assume that the compiler will store strlen(s) somewhere so it doesn't recalculate it every time through the loop? Or should I explicitly store the result of the strlen call in a variable so it doesn't have to recalculate it every time?
>>
>>60167940
>can I safely assume that the compiler will store strlen(s) somewhere so it doesn't recalculate it every time through the loop?
Assuming you're not changing s at all in the loop, yes, this is the type of optimisation you can expect a compiler to do.
>>
>>60167940
You can assume the compiler will optimize that for you, or you can stop being a little shit and put that outside of the loop.
>>
>>60167939
Most trees (and directed acyclic graphs in general) are used that way.
>>
>>60167888
1+1+2 = 4 = 2 * 2

you're stupid if you don't understand why every number is "perfect". put some effort into creating your problem and i'll put effort into solving it
>>
>>60167927
Yep. Sublime is lightweight. Atom is bloated, from what I remember. I use Sublime for most things, and Vim for small edits.
>>
>>60167970
You are repeating 1 twice. 2 is not a perfect number.
Educate yourself
https://en.wikipedia.org/wiki/Perfect_number

Also read http://www.phrases.org.uk/meanings/a-little-knowledge-is-a-dangerous-thing.html
>>
>>60167344
shell scripting is incredily useful and a productivity booster. i prefer zsh to bash, but either one is much better than tcsh
>>
>>60167379
>when it's dusk
where can you find this information? is there a rest service or something that takes a day and a location and returns sunrise, sunset, etc.?
>>
>>60167324
>eval e =
Unsafe code.
>>
>>60168159
the clock
>>
>>60168030
piss off and formulate your little riddles better then
>>
>>60168196
So edgy
>>
>>60167813
I've been getting overflows, must be something going wrong
import std.stdio;

void main(string[] args)
{
int current_perfect_number = 0;
const int limit = 2;
for (int i = 0; i < limit; i++)
{
int sum_of_multipliers = 0;
for (int j = 0; j <= i / 2; j++)
{
if (i % j == 0)
{
sum_of_multipliers += i;
}
}
if (sum_of_multipliers == 2 * i)
{
current_perfect_number = i;
i += 1;
}
}
writeln(current_perfect_number);
}
>>
>>60168245
Oh I see what's wrong
>>
how to Django?
how much time will it take to learn it?
>>
>>60168235
>"the multipliers have to add up double the number and then its perfect uguu" anime.jpg
>point out that your question's shit
>edgy
hmm

inb4 who are you quoting autistic shitposting
>>
File: 1470477320407.png (127KB, 601x508px) Image search: [Google]
1470477320407.png
127KB, 601x508px
>>60168296
>>60168196
>>60167970
>>
>what do i say?
>i can't think of anything!
>better post a meme
>>
>>60168290
Web dev gen is down the road punk
>>
>>60167813
import Data.Numbers.Primes (isPrime)

perfs = perfs' 1
where perfs' k | m <- 2^k - 1 =
if isPrime m then
2^(k-1) * m : perfs' (succ k)
else
perfs' (succ k)


> take 10 perfs
[6,28,496,8128,33550336,8589869056,137438691328,2305843008139952128, ...

might take a very long time for 9 and 10
>>
>>60168373
It's okay, anon. All newbies get bullied at least once.
>>
>>60168447
i imagine you'd have PTSD by now then
>>
>>60168452
At least my butt doesn't hurts
>>
File: 1490416660997.gif (415KB, 500x500px) Image search: [Google]
1490416660997.gif
415KB, 500x500px
>>60168447
It's okay to be noob, it's not okay to be a brainlet though
>>
>>60168496
you've yet to defend your question as being well-posed
>>
about to learn java, any tips?
>>
>>60168595
Don't.
>>
>>60168595
Don't shit in the streets
>>
>>60168601

why? (serious)
>>
>>60168642
it's a shit language
>>
>>60168642
it's the most verbose language in use today
>>
>>60168183
if you don't know, don't answer
>>
>>60168652
wrong
>>
>>60168595
the main advantages to java are ubiquity and availability of libraries, frameworks, and services. if you're learning to program, it's a poor choice. if you already know how to program and you want to know java to increase your chances of getting a job that pays the bills, it's not such a bad choice.
>>
>>60167813
10th number is pretty big, here's one that prints the 5th
import std.stdio;

void main(string[] args)
{
int result;
for (int i, current_match, number_current_matches = 0; number_current_matches <= 5 && i < int
.max; i++)
{
writefln("Matching %s", i);
int sum_multipliers;
for (int j = 1; j <= i; j++)
{
if (i % j == 0)
{
sum_multipliers += j;
}
}
if (sum_multipliers == 2 * i)
{
writefln("\tSUCCESS! %s is perfect", i);
result = current_match;
number_current_matches++;
}
}
writeln(result);
}
>>
>>60168681
counterexample?
>>
>>60167324
>public static private implementation
>public static private class
god damn pajeets
>>
>>60168650
>>60168642
>>
>>60168177
how
>>
>>60167897
I guess if he's trying to understand specifics of memory caching hardware thats one thing but its more important to understand what a cache in general is. Let's you figure out other cache systems quickly.
>>
Allocation part:
int ** mMemRes(int R,int C)
{
int it,** matrix;
matrix = malloc(R*sizeof(int *));
for(it=0;it<C;it++) matrix[it] = malloc(C*sizeof(int));
return matrix;
}

Assignation part:
void mFill(int rows,int cols,int ** mtx)
{
int it, it_;
for(it=0;it<rows;it++)
for(it_=0;it_<cols;it_++)
mtx[it][it_]=rand()%9;
}


If cols is smaller than rows it flunks. Why?
>>
Learning python currently. This is pretty comfy desu
>>
>>60168896
Get out
>>
>>60168904
No
>>
File: qpu alignment.gif (2MB, 300x262px) Image search: [Google]
qpu alignment.gif
2MB, 300x262px
I just finished the second version of the Python recursive directory traversal program I posted on here a couple days back.

It now uses instances in a list to store the data for each Python file as opposed to the shitty list-value total system I was using before.

Is there anything I can improve?

Keep in mind that the class I'm doing this for basically has us treat Python as a lower-level language so I can't use much in the way of built-in functions beyond the bare minimum.

The improved traversal program:
https://pastebin.com/WWeQuj6Z

The class I made for the Python files:
https://pastebin.com/kbz8TjQE
>>
I need a simple html webpage that plays a random video from a folder

Tried looking online and i couldnt find anything that doesnt require me manually inputting every filename
>>
>>60168595
Don't forget that the loo is where you must poo. Other than that, just make sure to write clean, efficient code that doesn't use a gorillion gigabytes of memory.
>>
How do I post code?
>>
>>60168957
>>>51971506
>>
>>60168710
your mom
>>
>>60168981
>begging for cryptocurrency is against the rules
is it saying you can beg for regular currency?
>>
>>60168932
You need to use PHP or some server-side language to get all the files in the path; from there you can make a script inside the html to do it all for you rather than trying to make a javascript function to try and iterate through all the files in the folder and randomly pick one and reassign it to a video element or something.
>>
>>60169008
No
>>
>>60168943

Again, I fail to see the joke here. 'haha poo in the loo, all indians are bad programmers!'. Is there any serious criticism or just memespeak?
>>
>>60169043
It's pretty much just a meme although there is some truth to it.
>>
File: 1471444989703.jpg (79KB, 600x720px) Image search: [Google]
1471444989703.jpg
79KB, 600x720px
>>60169041
i was joking
>>
>>60169058
Oh, hehehe
>>
>>60168710
Pascal.
>>
>>60169049

To what? Java requiring a lot of memory?
>>
>>60167432
https://jeffandcaseyshow.com
Current episode:
Cloud enabled keyboard that's meant to send flashing notifications to you about irrelevant bullshit like weather, stocks, Facebook, Twitter, you name it.

This might be the worst invention ever.
>>
>>60169078
Learn Scala if you're a man, kotlin if you're a babby.
>>
>>60167995
Sublime has degraded heavily in plugins. Atom is much more alive on that front. I'll agree that it's certainly unnecessarily heavy, as is virtually anything today, but it at least has the good features. Also the interface to customization is much better.
>>
How do I do this with only one loop? I've tried to write an algorithm but every time it doesn't work out right:

/*
** Exercise: 3-1
** Page: 58
**
** Description: Our binary search makes two tests inside the loop, when one would suffice
** (at the price of more tests outside). Write a version with only one test
** inside the loop and measure the difference in run-time.
*/

int binsearch(int x, int v[], int n)
{
int low, high, mid;

low = 0;
high = (n - 1);

while (low <= high)
{
mid = (low + high) / 2;

if (x < v[mid]) {
high = (mid - 1); }
else if (x > v[mid]) {
low = (mid + 1); }
else {
return mid; }
}

return -1;
}
>>
so i'm a useless computer science student and the semester just ended. somebody throw a random project at me so i'm not bored out of my mind
would learning how to make a website be a good use of my time?
>>
>>60169020
I actually just found this https://www.reddit.com/r/webdev/comments/4t390f

everything looks like it should work but im getting the file length is null error

it's getting the data from the folder fine but the for loop wont run
this is what console.log(data) outputs https://pastebin.com/Q0qsf0wd
>>
>>60169145

learn how to make and maintain a file server
>>
>>60169143
OP here, the code in that is the one from the book
>>
>>60169145
Write a network packet processor that determines weak encryption and saves it for later analysis.
>>
Can this idiot get some help, /dpt? I need to implement user-entered variable and I can't even begin to figure out how.
So like if they enter "testVar = 12", next time they enter testVar it will silently replace their variable with its value.
In typing this I had the thought of a vector of a custom struct type, but I'm not sure if that's possible, and I'm not really sure how I would replace the variables in a way that isn't horribly inefficient.
>>
>>60169143
God. What a retarded exercise only CS professors could have come up with this pseudo-performance oriented programming.
Also you do three tests in the loop. The if, if else and the loop conditional.
I can't help you with this though, it'd be immoral.
>>
>>60169145
Write a C compiler in brainfuck
>>
Who else /20k lines of C and counting/?
>>
>>60169185
That's their code bro, I have to moddidy it
>>
>>60169149
>https://pastebin.com/Q0qsf0wd

If you're doing this on a server, I'd still use PHP as I said so you don't manually have to put in each file name. Are you sure you have the files in the correct folder path and set up correctly in the html? And why use <a> for a webm instead of <video>?
>>
>>60169214
>hello world in C++
>>
>>60167463
>>The image displayed on a computer monitor may be pulsed effectively by a simple computer program. >>For certain monitors, pulsed electromagnetic fields capable of exciting sensory resonances in nearby >>subjects may be generated even as the displayed images are pulsed with subliminal intensity.

holy shit where do I find what frequencies elicit what responses?
>>
>>60169270
Whom are you quoting?
>>
>>60169267
i literally just copy and pasted the guy posted in the thread
https://pastebin.com/vT5uRd8r

is there anything publicly available that just works?
>>
>>60169301
No one
>>
>>60169143
The idea is probably to combine the x<v[mid] and x>v[mid] by omitting one and a setting the other to x<=v[mid] (for instance) then have the while loop conditional be low<high (exit on low==high). This way you didn't need the else case to return mid and it can instead just be the other case (x>v[mid] if you cancel x<v[mid] like I do). Outside the loop you can add the check for if mid==x. If not return -1.

Sorry if the explanation is messy. I'm not that good at explaining. But I hope it helps a little.
>>60169258
I agree with anon. This is not what they should be telling students.
>>
>>60169310
That javascript code should work, but you have the videos inside of a tags, change them to video tags and so it can properly set the source to each webm
>>
>>60169301
Ask not whom he quotes, he quotes thee!
>>
>>60169333
>if mid==x
I mean if v[mid] ==x
Sorry.
>>
>>60169143
I don't get this. Just do linear search. There, one test and worse performance.
>>
>>60169370
They were implying that you need to do a binary search I think.
>>
why bother learning to program when your job will just be stolen by an AI in a few years anyways
>>
>>60169357
all the webms are in a single folder and that script is literally all there is to it
>>
Where exactly did things go so wrong?
int main()
{
int result[4];
for (int number_current_matches = 0, i = 1; number_current_matches < 4;
i++)
{
//printf("Matching %d\n", i);
int sum_multipliers = 0;
for (int j = 1; j <= i; j++)
{
if (i % j == 0)
{
sum_multipliers += j;
}
}
if (sum_multipliers == 2 * i)
{
//printf("\tSUCCESS! %d is perfect\n", i);
result[number_current_matches] = i;
number_current_matches++;
}
}
printf("%d", result);
return 0;
}
>>
>>60169379
I know, I just think it's retarded thought exercise. There's no sense in bastardizing the perfectly fine binary search algorithm.
>>
goddamn getting YouCompleteMe set up for vim is a fucking pain in the ass
>>
>>60169425
welcome to K&R
>>
>>60169436
wew lad
>git clone ycm
>set default ycm path and snippet
>./install.py --clang-format
>>
>>60169500
>install.py
I refuse to use software written in Python.
>>
>>60169508
xD
>>
>>60169500
apparently it's a little more complicated than that if you want semantic completion
>>
>>60169516
I'm being serious. Python is harmful software. Consider a less harmful alternative such as Guile.
>>
>>60169528
Install VS code
>>
>>60169508
Me too. I refuse to use software written in OOP.
>>
>>60169546
I refuse to use software.
>>
>>60169541
I use VS code, intellij, code-lite, and Atom all the time. I've been wanting to use vim more, hence why I'm trying to configure ycm to work :)
>>
>>60169143
while (low <= high && x != v[mid]) {
mid = (low + high) / 2;

if (x < v[mid])
high = (mid - 1);
else
low = (mid + 1);
}

if (x == v[mid])
return mid;
else
return -1;
>>
Should I charge for Windows binaries?
>>
>>60169604
Free OS --> Free software
Paid OS --> Paid software
Makes sense to me.
>>
Why are for loops in Python so retarded
>>
>>60169604
Distribution of software in binary form considered harmful
>>
>>60169646
Free Software != Gratis.
>>
what's the point of distributing software with source available if someone can just steal it and take credit for it?
>>
>>60169655
The license might require you attribute the original creator?
>>
 Given n, x1, x2, x3, x4, determine is there is an a,b,c,d that satisfies:

n = a(x1) + b(x2) + c(x3) + d(x4)



can someone point in the right direction for an efficient way to solve this? it sounds so simple (basic linear transformation) but I don't know why I'm having so much trouble
>>
>>60169654
Gratis OS --> Gratis software
>>
>>60169655
Public domain software doesn't have this problem.
>>
>>60169672
You can use Alt Gr + i to insert a →.
y ←
u↓
U↑
>>
>>60169650
Users are welcome to compile the source themselves. It's not my fault if Windows babbies can't manage to do that.
>>
>>60169683
Bro→Thanks
>>
>>60169670
Do all coefficients need to be integers? I suppose so, or there would always be a combination.
I'd check trivial solutions first (all but a are 0, all but b are 0, etc.) and develop it from there.
>>
>>60169591
This is just as bad. Arguably even 1 step worse since you test for x==v[mid] twice. (I think the optimizer handles that though)
>>
File: 1492528404178.jpg (255KB, 720x1007px) Image search: [Google]
1492528404178.jpg
255KB, 720x1007px
>>60169153
>>60169158
Damn, shit like this is why I dropped my networking class
>>
>>60169683
Unnecessary use of Unicode.
>>
>>60169723
hhhhhh
moar
>>
>>60169723
Was that your FIRST networking class?
>>
>>60169397
bump
>>
>>60167324
I'm working on a decentralized Internet TV system (BasicTV). Right now i'm adding support for streaming numbers (with and without units) and big data out to the network, allowing individual viewers to generate real time visualizations, regressions, and analysis of whatever is being streamed.

On a somewhat related note, i'm programming a weather balloon probe that has a ton of sensors on it, and I'm going to order the parts soon, and i'm going to stream the sensor and camera live on the basictv network (if it is ready by then).
>>
when somebody or something says "native <something>" in the context of programming what do they mean?
>>
>>60169785
it typically refers to something that runs directly on the hardware, and not through some interpreter or vm
>>
File: 1492517656370.jpg (142KB, 920x1120px) Image search: [Google]
1492517656370.jpg
142KB, 920x1120px
>>60169730
Only if you give me another project

>>60169735
Yes. It was a semester where I tried taking hard math classes and I got overwhelmed. I told you, I'm useless
>>
>>60169785
Generally they mean its not running as a virtualized feature on the platform. For instance if you have a java application it's never native to the platform. The program is designed for the virtual machine. You can't execute it without the virtual machine. Same applies to most interpreted languages.
If you have a C/C++ application its a native application usually.

Usually the aim is better performance or better platform feature integration.
>>
>>60167324
hey there, i want to learn new programming skills, which way should I take it? i only use c / c ++ language for marathon problems training and college. Obrigado! (sorry for my english)
>>
>>60169802
program me a Maki
>>
>>60169842
>Obrigado!
Arigatou!
>>
>>60169714
>>60169714
>Do all coefficients need to be integers?

for this problem, it doesn't specifically say so, so I'm going to assume no. which yes, makes it trivial - as long as all the x's aren't 0, there's some combination.

the second part of the question asks to provide the a,b,c,d if they exist i can't cheap my way out of it anyway. there has to be some clever trick for this since it has to be O(n), i think your solution of trying all trivial solutions would be too bruteforcy and would get out of hand really quickly
>>
>>60169842
What areas interest you?
>>
>>60169877
I like Berlin, and Copenhagen, visited last summer
>>
>>60169882
...
>>
>>60169882
Those are cities I would like to visit.
>>
>>60169397
i use gdb in the terminal, its very easy to find an error
>>
>>60169425
i think you don't know the answer, so you harbor more ill will to the question than it deserves. it's imposing a constraint for the purpose of making you think about how to deal with it, not to make the algorithm more efficient. dumb butt
>>
>>60169397
>number_current_matches
why not matchCount, or matches
>>
>> 60169877
im searching that kkkk
any suggestion is accepted
>>
File: 8c94e07b62b2886e892f93c99a39df2f.jpg (220KB, 1280x956px) Image search: [Google]
8c94e07b62b2886e892f93c99a39df2f.jpg
220KB, 1280x956px
How the fuck does this work?

curl -L git.io/v94ea
>>
Why does it say invalid syntax for the if statement in python

#Number guessing game, enter the number, then try and get it 
number = int(input('Enter a number!: '))
numberGuess = 0
guesses = 1

while numberGuess != number:
numberGuess = int(input('Enter a guess: ')
if numberGuess < number:
print('Too low!')
else:
print('Too high!')
guesses = guesses + 1

print('Correct! You took',guesses,'tries.')
a = input()
>>
>>60169955
I like networking and OSs.
Some books:
IBM Redbooks TCP/IP
Unix Network Programming(3 volumes)
Operating Systems: Design and Implementation
Computer Systems: A Programmer's Perspective
>>
>>60170001
else indentation
>>
>>60170001
You forgot to close the parenthesis in the line before ans the else identation is wrong.
>>
>>60170001
Your print for else: is not indented
>>
>>60169802
>give me a project
dress up as maki and give me a bj
>>
Which is faster to learn for a very basic gui. QT or wxwidgets. QT has a lot of licensing bullshit.
>>
>>60170027
>>60170033
>>60170046
Thanks, forgot the parenthesis on line 7
>>
>>60170061
Why not tk?
>>
>>60170065
You can do guesses += 1 as well
>>
>>60170024
i have not seen nets yet in the college, but it seems to be a nice area
>>
>>60170061
ncurses.
I'm not even joking.
>>
>>60170090
Gotcha
>>
>>60170093
IBM Redbook is great. I read it when I was ~14. What uni?
>>
>>60170061
This: >>60170081
give tcl some love
>>
>>60170128
tk is for simple GUI if you are making a more complex one Qt designer really helps.
>>
>>60170090

If this is homework, which I think it is because I had to do the same program when I took Intro to CS, some teachers get hella spergy about incrementing with shorthand like that even though it's proper syntax.
>>
>>60170148
>Intro to CS
>Python
There is no God.
>>
File: 2017-04-30-smol-wendys.jpg (696KB, 1200x1158px) Image search: [Google]
2017-04-30-smol-wendys.jpg
696KB, 1200x1158px
http://shadbase.com/comic_folder/

I wanted to download all the images from this directory. So I saved the html, then made this python script.

#!/usr/bin/env python3

import bs4, requests

da_html = open("index.htm")

soup = bs4.BeautifulSoup(da_html, "html.parser")

for link in soup.find_all("a"):
print(link.get("href"))


Got a list of links running it

$ python script.py > linklist


Manually took out the 3 or 4 non-image links in there. Then downloaded all the images with wget like this

while read link; do wget "$link"; done < linklist


Probably could have just used a single wget command in the first place but whatever.
>>
>>60170188
>Shadbase
Come on anon...
>>
File: 1490896717840.png (114KB, 320x320px) Image search: [Google]
1490896717840.png
114KB, 320x320px
>>60170188
>shad
Fucking why
>>
>>60170188
wget -r --no-parent http://shadbase.com/comic_folder/
>>
>>60170148
It's not homework. I knew of the little game and decided to program it quickly
>>
>>60170117
ufpel, south of south of brazil kkkk
the hardware area is good in here, specific video decoding
>>
>>60170261
Consider your life choices anon
>>
>>60170128
>>60170081
very little documentation on it last time I looked at it.
>>
>>60170166

Oh, indeed.

What really grinds my gears is when they try to use it as an easier to learn stand-in for a lower-level language like C++ or Java and don't let you use any of Python's built in convenience functions, making the whole exercise pointless.
>>
>>60170243
If you like hardware read the last book I recommended and:
Computer Organization And Design
Computer Organization and Architecture

uff aqui btw anão

>>60170261
You are welcome.
It was the first result on ixquick.
Enjoy your ban btw.
>>
File: 1438656068852.jpg (60KB, 600x600px) Image search: [Google]
1438656068852.jpg
60KB, 600x600px
>>60170268
N C U R S E S

>>60170261
bruh
>>
File: chungo.jpg (33KB, 500x500px) Image search: [Google]
chungo.jpg
33KB, 500x500px
>>60170230
>--no-parent
>>
File: serveimage.jpg (54KB, 620x321px) Image search: [Google]
serveimage.jpg
54KB, 620x321px
>>60170289
triggered wite boi?
>>
>>60169864
yeah im an idiot you can just do basic algebra with an array to find one value and then use trivial solutions for the others
>>
>>60170304
it's a joke about how Shad drew porn of his own mother

now fuck off back to the_donald you retarded walnut
>>
>>60169725

No such thing.
>>
>>60170312
>it's a joke about how Shad drew porn of his own mother
Not everyone has autism you know.

>now fuck off back to the_donald you retarded walnut
Not everyone has autism you know.


I imagined it was a hoke, but I didn't get it, so I replied with another joke.
>>
>>60170188

Why am I seeing a lot of art of the Wendy's mascot being posted recently, particularly on Discord?
>>
>>60170283
why is madotsuki always so madotpukey
>>
>>60170335
You are no a real woman and will never be.
How is the phd going? Where are you taking it(besides the ass)? I forgot.
>>
>>60170355

>You are no a real woman and will never be.
Which is good, because I am, and have always claimed to be, a man.

>How is the phd going?
I am currently finishing up my master's degree. I will start my PhD studies in the fall at Washington State University.
>>
>>60170344
because corporate twitter feeds are the new hip and trendy meta-meme

they're winning ruby-senpai, they're taking away our last strongholds of genuine free thought

what do we do

i don't want my brain to turn into a tasty blt
>>
>>60170381
>Which is good, because I am, and have always claimed to be, a man.
Good. Good. Trying to forget your degenerate past is the first step to recovery.
>>
File: 1466931910025.png (64KB, 300x300px) Image search: [Google]
1466931910025.png
64KB, 300x300px
>>60170344
Wendy's is shilling here, just like Monster did on /fit/ with the "sip" meme.

>>60170346
Too many drugs.
>>
>>60170402
hey i'm secretly gender dysphoric if you need someone to transphobicly bitch at without being wrong about the premise of your bitching
>>
>>60170420
Why would I do that, that's rude. Why you don't transition? Fear of acceptance? I'm here if you want to talk.
I hope you have a happy life.
>>
>>60170420
Not them, but you have to give yourself a cute name first.
>>
>>60170444
>Why you don't transition?
Don't listen to this retard. Mutilating your genitals is NEVER a solution. Just as we look back on lobotomy now, we will one day look back at "transitioning" and go how the fuck was civilization so fucking retarded.
>>
>>60170553
Transition doesn't just mean SRS. And I don't hear you offering a better solution.
>>
i wanna make a program that can predict the future. What language should i do itin
>>
>>60170561
Javascript.
>>
>>60170560
>And I don't hear you offering a better solution.
I am pretty sure the doctors in 1940s also said the same thing when people said "I don't think the best cure to a headache is putting a fucking drill in the skull"
>>
>>60170561
I used lisp, C, and ASM.
>>
>>60170561
C, or R with computationally intensive functions written in C
>>
If I have a object oriented program how do I turn it into a library for other projects. The main file is just a shitty driver for demonstration.
>>
redpill me on SIMD vector operations
>>
How do I print this:

/////


as a string in java, through System.out.println.
>>
>>60170653
raw string?
>>
>>60170662

Of course this doesn't work

System.out.println("/////");

But I don't understand the escape sequencing
>>
>>60170653
put a backslash before each forward slash to escape the character
>>
>>60170687
http://ideone.com/OAgZxH
hmm
>>
>>60169067
he said "in use today" -- nobody uses pascal
>>
>>60170690

thanks, works now.
>>
File: 1350594293765.jpg (111KB, 500x500px) Image search: [Google]
1350594293765.jpg
111KB, 500x500px
Using SDL, is it better to process keyboard input via events, or via keyboard state?
>>
>>60170690

wait, this doesn't work for the + symbol though, how do you fix this.
>>
Is this suitable for vimrc?
set expandtab
set autoindent
set shiftwidth=4
set softtabstop=4
set tabstop=4

set number
>>
>>60170889
Shouldn't need to escape a plus sign
>>
>>60170935

man, i'm dumb as fuck, thanks.
>>
>>60170907
>tfw my init.el just passed 1000 lines today
pretty comfy desu
>>
>>60170402

>your degenerate past
The past you are claiming for me to have once had never existed.
>>
>>60170996
I would sooner admit to being gay than admitting to namefagging it up to RP on fucking /vp/ of all places.
>>
I know Java and Python. I want to learn C++. How good is Bjarne Stroustrup-Programming Principles and Practice Using C++? I am planning to use this as a guide.
>>
File: 1241039866295.jpg (11KB, 280x302px) Image search: [Google]
1241039866295.jpg
11KB, 280x302px
are there really job opportunities in programming or is it all just a meme
>>
>>60171091

all a meme breh, one white boy code monkey is replaced by 10 indian men code masters, you're useless lmao
>>
File: sieve.jpg (73KB, 732x150px) Image search: [Google]
sieve.jpg
73KB, 732x150px
R8 my AS3 sieve
function eratosthenes(limit:int):Array
{
var primes:Array = new Array();
if (limit >= 2) {
var sqrtlmt:int = int(Math.sqrt(limit) - 2);
var nums:Array = new Array(); // start with an empty Array...
for (var i:int = 2; i <= limit; i++) // and
nums.push(i); // only initialize the Array once...
for (var j:int = 0; j <= sqrtlmt; j++) {
var p:int = nums[j]
if (p)
for (var t:int = p * p - 2; t < nums.length; t += p)
nums[t] = 0;
}
for (var m:int = 0; m < nums.length; m++) {
var r:int = nums[m];
if (r)
primes.push(r);
}
}
return primes;
}
var e:Array = eratosthenes(1000);
trace(e);
>>
File: prettyDecent.jpg (5KB, 377x18px) Image search: [Google]
prettyDecent.jpg
5KB, 377x18px
>>60171279
Time taken for those interested (keep in mind that AS3 is slow af)
>>
>>60171003

I have no shame about this, Anon.

>>60171019

If you want to learn C++, anything from Bjarne himself is probably best.
>>
>>60171279

0/10 for using AS3.
>>
I'm newbie in programming (I'm learning Python 3), mine chan images downloader:
import urllib.request, re

def url_open(url):
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
content = urllib.request.urlopen(req).read()
return content.decode('utf-8')

def find_img(url):
cont = url_open(url)
txt = re.compile(r'href=".[^\"]+jpg"')
lista = txt.findall(cont)
lista = list(set(lista))
for i in range(len(lista)):
lista[i] = str(lista[i])[6:-1:]
if lista[i][0:4] != 'http':
#print(lista[i][0:3])
lista[i] = 'http:' + lista[i]
return lista

def download(lista):
for i in range(len(lista)):
url = lista[i]
name = re.findall(r'.[^\/]+jpg', str(url))
urllib.request.urlretrieve(url, 'zdj/' + name[0])
print('Downloaded: '+str(i+1)+'/'+str(len(lista))+' '+url)

adres = input('URL: ')
lista = find_img(adres)
download(lista)

Any protips?
>>
>>60171447
Only works on jpg files?
Try making it work for all files.
>>
>>60171439
But AS3 is best language ;_;
Whatabout C++ then?
template<class UnaryFunction>
void primesupto(int n, UnaryFunction yield)
{
std::vector<bool> isPrime(limit, true);
const int sqrtn = static_cast<int>(std::sqrt(n));
for (int i = 2; i <= sqrtn; ++i)
if (isPrime[i]) {
yield(n);
for (unsigned k = i*i, un = static_cast<unsigned>(n); k < un; k += i) isPrime[k] = false;
}
for (int j = sqrtn + 1; j < n; ++j) if (isPrime[j]) yield(n);
}
>>
Anyone interested in taking a look at my final project in Java?

It's an Implementation of Dijkstra's Algorithm on a Map of the USA.
>>
>>60171447
Stop using index manipulation, learn iterators. Ray Hettinger has a talk on this here: https://www.youtube.com/watch?v=OSGv2VnC0go

So for example, instead of..
for i in range(len(lista)):
url = lista[i]

for url in lista:
somecode
>>
>function1(arg1, arg2, function2(function4(arg3)))
>instead of (function1 arg1 arg2 (function2 (function3 arg3)))
[/code]
>>
>>60171485
Append: think of for loops in python like 'for each'. Instead of iterating x, they iterate through each item in a list. When you use, for example, for i in range(8), what you're really doing is creating a list of items that is 8 long, and i is assigned to the value of that position in each iteration. There is more to this, so I really recommend watching the video I linked above
>>
>>60168245
        for (int j = 0; j <= i / 2; j++)
{
if (i % j == 0)

stop doing a division by zero! my brother died that way :(
>>
>>60171485
>>60171508
I had a huge problem grasping this when I first started learning python as well. Too much C++
>>
>>60171091
>>60171214
214 is retard. The amount of work out there for developers is astounding, but it's not all 'good' work. Pretty much everyone needs a developer, and most of it gets outsourced - fill that need, mango!

Source: I live in the middle of butt-fuck nowhere, pop: 200,000 and even here there are some 200 open development positions, while the people who get good move on to bigger companies, small fish still need to swim.
>>
create_post
delete_post
edit_post

or
post_create
post_delete
post_edit

for function names?
>>
>>60171485
lisp doesn't have this problem
(loop for x in lst
do somecode)
; even better
(dolist (x lst)
somecode)
>>
>>60171531
Duuude for real, I was just talking about this with a friend of mine. The question is, is it better to teach python and show people why what they are doing is wrong, or to teach C++ and other low level languages before trying to teach a high level language like python?

I propose, start from the bottom and work up, she thinks otherwise. Thoughts, /g/?
>>
>>60171546
Whatever the fuck floats your boat.
>>
>>60171552
So pathetic, you have to show your meme code to showcase your shit language that nobody uses.
Are lispfags the most pathetic programmers out there, just accept that Lisp is dead lmao, learn a a real programming language.
>>
>>60171546
first for function names, second could be used for structs or class names
>>
>>60171546
typedef struct post {
void create(string);
void delete(post);
void edit(string, post);
} post;

post.create("fizz");
post.edit("buzz", "fizz");
post.delete("buzz");
>>
>>60171556
Everyone has their own opinion on this but MIT thinks the top down method is superior which is why they are using Python for their CS101. They might be wrong but I have no idea. I learnt programming from bottom up.
>>
>>60171552
Arent they the same thing? What's different?
>>
>>60171577
dolist is simpler and more straightforward
loop is for more complicated matters
>>
>>60171585
Oh, sorry no, I mean what's different in LISP's dolist, compared to python's for. Consider, python's for does both what loop and dolist do, without needing two separate names?
>>
>>60171562
>>60171564
forgot to mention, this is for python unless they have something similar to struct
then i guess its up to personal preference?
>>
>>60171599
It is just like list comprehension. You can make a list using a for loop or you can use list comprehension. It just makes you code neater and without unnecessary lines.
>>
>>60171607
classes. Actually you can probably use a dictionary to the same effect. But, only use a class if you have some chunk of data that needs to be shared between the functions. Otherwise, like you said it's really personal preference. Opt for readability, opt for ease-of-implimentation, easy to type and read makes a happy programmer.
>>
>>60171607
class post:
def create(string):
# create a post
def delete(post):
# delete a post
def edit(post, string):
# edit a post
post.create("fizz")
post.edit("fizz", "buzz")
post.delete("buzz")
>>
>>60171599
I really doubt "for" can do what the loop facility does.
dolist is just a macro for iterating through a list.
the point is that constructs like splicing and indexing are too barbaric in lisp, and these are the introductory forms in any book
>>
>>60171624
>>60171627
thanks, will do that
>>
>>60171627
Is this really the right time to use classes?
>>
>>60171666
Don't fall for the POO memes
>>
>>60171646
I guess I should look into LISP and learn what loop is, I operated on an assumption, apologies.
>>
>>60171651
>>60171666
That's what I'm saying... >>60171624
Don't use a class unless it's absolutely necessary. There's usually a better way.
>>
>>60171666
If i was in the codebase i'd prefer the clarity and readability
>>
File: sTukPNw.jpg (117KB, 1080x1080px) Image search: [Google]
sTukPNw.jpg
117KB, 1080x1080px
I'm creating a simple alarm clock using c++.The goal is to check the system clock and play an alarm when the system clock is past some arbitrary time. I feel like sticking that check inside a while loop would be... inefficient? I don't need to be checking the time that frequently. How can I spin and wait a little more patiently?
>>
>>60171681
the loop facility is really powerful
can't get enough of it, but it's too imperative so even lisp fags avoid it to be more functional
>>
>>60171457

Not bad, but limit is gonna name error.
>>
Give me a meme assignment that forces me to use classes.
Something that will take 300LOC
>>
>>60171692
Clarity which can be achieved through comments instead of creating a more complex hierarchy. Implimentation difference would boil down to the difference between
post.create('somestuff')
post.delete('some')

and...
post_create('somestuff')
post_delete(some)


So as far as 'justifying' the extra lines of code, doesn't sound very pythonian.
>>
>>60171718
Sometimes you don't need to create an object, you just want to reuse functions. If you are creating lots of post, sure the former will be better but if you create post returned a string with some tweaks done to it then the latter is better.
>>
>>60171701
pause for x where x gets shorter the closer you get to the alarm time.
>>
>>60171710
whoops, its supposed to be n, im tired and just thought limit i guess
>>
>>60171718
Still, if you suddenly need more post functions, you can just add em quickly to the post object

Not very pythonian is not immediately a negative thing
>>
>>60171627
>>60171718
Do you have an object that have a state, and there can me many instances of it? Then you should use classes, otherwise you need a function
>>
>>60171762
Again though, if you need more post functions you can just add them quickly without a post object, you don't need an object to create a new function that handles post related operations. The only reasons to make post into a class would either be if there is some large amount of data that needs to be shared between the functions, or if you need a whole bunch of different post objects. Otherwise, yes, it is immediately a negative thing because you are adding a layer of complexity to something that could be simpler. See: Occam's Razor, "Zen of Python" by Tim Peters, https://www.python.org/dev/peps/pep-0020/
>>
>>60171791
>>60171762
In other words, if you want a big complex hierarchy, and to use classes for everything you do, then you probably shouldn't be using python. Python is, by definition, pythonian. To use it in a non-pythonian way is effectively defeating the purpose, and you're ultimately going to wind up with slower functioning code than if you were to just do that same thing in some other language that is better suited to handling the complexity that you're throwing at it. Python is already complex at the back end, so that for the user it can be simple - why reverse that process?
>>
>>60171791
Python IS a layer of complexity tho, in that its abstracted and so far away from the metal as you can get.

I still prefer to have an object for that though, as it makes alot of logical and intuitive sense.

Sure, you can just add alot of functions to the top, but when you deal with posts you usually wanna deal with ID's and post-data and shit like that, and you kinda wanna keep stuff grouped up.
>>
>>60171851
I agree completely, for intuition, objects are definitely superior. The thing is we don't know what this guy is trying to do with these functions, so just saying that a class structure is the way to go (because it makes intuitive sense) is just wrong. Classes are great, and have their place, but used outside of that context, they can create some very real complications down the line. Just for conversation sake, there are a lot of things you CAN do with classes, that you can also do in 1/4 or fewer LOC through purely functional methods. For the end-user, it's going to be easier (faster) to read through the functional code, as long as it is written in a reasonable fashion. Especially if we start to consider large scale tools where there might be 10-20-30 classes, 600+ LOC, that you can take and reduce to 70 LOC and 0 classes, the 70 LOC are going to be a quicker read for the end user, and easier to understand the relationships within the code because there is no longer the abstraction of OOC. This is largely a theological debate, mind, so maybe I am wrong.
>>
Why does this shit itself immediately?
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include <ctime>
#include <windows.h>

int main(int argv, char **argc)
{
int hour = atoi(argc[1]);
int min = atoi(argc[2]);
int sec = atoi(argc[3]);
struct {int h; int m; int s;} *tm_alarm;
tm_alarm->h = hour; tm_alarm->m = min; tm_alarm->s = sec;

int sleepTime = 5;
bool alarm = false;
do {
::Sleep(sleepTime*1000);
time_t time = std::time(0);
struct tm *tm_now = localtime(&time);
if((tm_alarm->h) == (tm_now->tm_hour) &&
(tm_alarm->m) == (tm_now->tm_min) &&
(tm_alarm->s) == (tm_now->tm_min)) {
printf("ALARM");
alarm = true;
}
}while(!alarm);
}
>>
>>60172087
Improved:
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include <ctime>
#include <windows.h>

int main(int argv, char **argc)
{
if(!argc[1] || !argc[2] || !argc[3]) throw "CLI Argument error: invoke with 'alarm h m s' ";
int hour = atoi(argc[1]);
int min = atoi(argc[2]);
int sec = atoi(argc[3]);
struct {int h; int m; int s;} *tm_alarm;
tm_alarm->h = hour; tm_alarm->m = min; tm_alarm->s = sec;

int sleepTime = 5;
bool alarm = false;
do {
::Sleep(sleepTime*1000);
time_t time = std::time(0);
struct tm *tm_now = localtime(&time);
if((tm_alarm->h) <= (tm_now->tm_hour) &&
(tm_alarm->m) <= (tm_now->tm_min) &&
(tm_alarm->s) <= (tm_now->tm_min)) {
printf("ALARM");
alarm = true;
}
}while(!alarm);
}
>>
File: asdasdasdasdasdasd.png (31KB, 1754x500px) Image search: [Google]
asdasdasdasdasdasd.png
31KB, 1754x500px
>>60167324
how the fuck doi subtract 2 hours from a datetime?
>>
>>60172113
Nvm, nullptr >_>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include <ctime>
#include <windows.h>

int main(int argv, char **argc)
{
if(!argc[1] || !argc[2] || !argc[3]) throw "CLI Argument error: invoke with 'alarm h m s' ";
int hour = atoi(argc[1]);
int min = atoi(argc[2]);
int sec = atoi(argc[3]);
struct {int h; int m; int s;} tm_alarm;
tm_alarm.h = hour; tm_alarm.m = min; tm_alarm.s = sec;

int sleepTime = 5;
bool alarm = false;
do {
::Sleep(sleepTime*1000);
time_t time = std::time(0);
struct tm *tm_now = localtime(&time);
if((tm_alarm.h) <= (tm_now->tm_hour) &&
(tm_alarm.m) <= (tm_now->tm_min) &&
(tm_alarm.s) <= (tm_now->tm_min)) {
printf("ALARM");
alarm = true;
}
}while(!alarm);
}
>>
File: vomit.jpg (90KB, 650x650px) Image search: [Google]
vomit.jpg
90KB, 650x650px
>>60172087
>>60172113
>>60172201
>>
File: wayland-screenshot.png (2MB, 3840x2160px) Image search: [Google]
wayland-screenshot.png
2MB, 3840x2160px
I need to clean up shit in my bloated shitty dash script, where to start?
https://github.com/DmitryHetman/gentoofetch
>>
>>60172117
>datetime
http://stackoverflow.com/questions/5177002/how-to-subtract-a-datetime-from-another-datetime
>>
File: 1493506250110.gif (2MB, 500x281px) Image search: [Google]
1493506250110.gif
2MB, 500x281px
>>60169977
the contents of that page are ANSI escape sequences which can show colors (and other stuff) in the terminal and which in this case show an image. curl just outputs the contents of that page to the terminal
>>
@60172399
Prime example of sub-par quality shitposting, the likes of which you only get from dumb anime posters.

Reminder that off-topic avatarfagging is no better than frogposting, and if you argue otherwise you are a NEET manbaby brainlet.
>inb4 actually it's worse
You're right, avatarfagging IS worse, which is why it's directly against the rules, unlike frogposting which is just low quality shitposting.
>>
@60173176
>""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
avatarfagging""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Your kind simply doesn't belong here.
>>
>>60173200
Nice retort. Have a (You)
>>
Where do I start if I know nothing? what's a good book?
>>
===@@@>> 60173220
The definition of the word itself is a retort. Fuck off, retard.
>>
New thread:
>>60173239
>>60173239
>>60173239
>>
>>60173235
There's no need to be upset, anon.

Just post another image from your shitposting folder, it'll make you feel better.
>>
>>60171531
What? Youi'd do the same in C++:
for (const auto &url: lista) {
//
}
>>
File: 1459101855127.jpg (26KB, 635x356px) Image search: [Google]
1459101855127.jpg
26KB, 635x356px
>>60173282
>There's no need to be upset, anon.
Indeed...
>Just post another image from your shitposting folder, it'll make you feel better.
Okay. Let's try it.
>>
>>60173414
Yes. I can confirm that posting this made me feel better.
>>
>>60173414
Not sure if you're just being ironic or actually a special snowflake.

Either way 8/10 made me reply.
>>
File: 1491750698237.png (441KB, 575x575px) Image search: [Google]
1491750698237.png
441KB, 575x575px
>C# extensions
pretty cool desu
>>
>>60173580
I'm interested in what first hand or internet culture made you this way. Or is it just straight up genetic?
>>
>>60173691
How new are you?
>>
>>60173709
Less new than I would like to admit. Also you didn't answer my question.
>>
>>60173725
You could have just said "pretty new, really". That's what you meant to say.
I get it, the oldest meme you've seen is pepe, and you don't get some of the jokes, it's okay.

The more someone shouts "you don't belong here", the newer they are. Nobody fucking "belongs" here, 4chan is a collection of misfits.
In fact, anti-anime shitposting is older than leddit itself, so telling an oldfag to "go back" who's probably been around since before the invention of most social media is pretty fucking hilarious.
>>
>>60173808
>the oldest meme you've seen is pepe
Yeah, "Pepe" is a pretty fun Meme Image... I really love making Memes and Meme Macros myself actually.
>4chan is a collection of misfits
True, true... Us dark outcasts of society...
>oldfag
Oh... Wait... So are you one of them "Old Fags"? My bad. I'm sorry for whatever disrespect I may have shown.
Please disregard everything I said, Sir.
>>
>>60173857
Ah, you've moved onto the next stage: projection.

Have another (You).
>>
>>60173896
I made the Pedobear, lul! We should do a meetup of Meme Makers.
>>
>>60171750
Think about why that makes no sense.
>>60171701
You should calculate the time difference between now and the set time, and then sleep(seconds),
or sleep_until(time_point) if you need finer control over the clock
Thread posts: 331
Thread images: 32


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