[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/dpt/ - Daily Programming Thread
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 35
File: 1435447811590.jpg (687 KB, 1920x1080) Image search: [Google]
1435447811590.jpg
687 KB, 1920x1080
Previous thread: >>53669844

What are you working on, /g/?
>>
>>53679663
Requesting Hime's tickling punishment.
>>
>>53679773
kill yourself
>>
A few weeks ago I signed up to a free C programming evening class at my uni, it's going well but all we're doing is writing little programs to run calculations. When does it start to get interesting?
>>
>>53679812
>When does it start to get interesting?
When you join a class that doesn't cater to the lowest common denominator.
>>
>>53679780
mean
>>
>>53679837
requests outside of /r/ or /wsr/ are literally against the rules
>>
>>53679852
That only applies to specific boards, and only really applies to those creating a new thread for the request.
>>
>>53680004
not sure if i agree but it's not technology-related either

just because /g/ isn't heavily moderated and you rarely get banned/deleted doesn't make it ok
>>
>>53680024
I'm not disagreeing with your sentiment, but you claimed it was 'literally against the rules', which is incorrect.
>>
>>53680024
stfu carposter
>>
>>53680090
no u, closeted car fetishist
>>
>>53679663
my abstract data structures professor is such a QT. she's a 50 something year old tiny asian woman. when she says "if" she says "iffu". how do i tell her i want to cuddle with her?
>>
>>53680223
Ask her if she watches anime.
>>
>>53680223
you can probably be direct with her if she's a smart east asian with high neanderthal DNA
>>
>>53680223
>how do i tell her i want to cuddle with her?

"I think you're attractive, and I'd like to cuddle with you at my house. Here is my number, call me when you're done with classes today."

Worst case scenario, she doesn't call you.
>>
>>53680675
No, worst case scenario she gets worried about her job and puts in a sexual harassment complaint into the university so there's no way she can be liable if some autist claimed she was flirting with him.
>>
>>53680732
>>53680675
>>53680434
>>53680273
>>53680223
wait til last week of semester. that way if it goes wrong, you and she don't have uncomfortableness for endless weeks.
maybe have a great fucking summer with her.
>>
>>53680767
>>53680675
i feel like i must clarify that i have no lewd feelings
>>
>>53680961
Good luck explaining that to her.
>>
>>53680961
teacher, i think ur pretty i have small dikk, but it should feel big for ur ayschin poocci. but i just want cuddle.
>>
>>53680961
i would advise against approaching her about cuddling unless she has made it pretty obvious that she's interested in you
>>
There is a repository currently trending on sjwhub that is a js project that checks if a number is 13

https://github.com/jezen/is-thirteen
>>
>>53681121
>https://github.com/jezen/is-thirteen
LOLOLOLOLOLOL SO RANDUM
>>
File: indians4.jpg (246 KB, 1017x873) Image search: [Google]
indians4.jpg
246 KB, 1017x873
>>53681121
1. set up hundreds of these inane libraries
2. wait 2 years
2a. thousands of amature projects depend on building with these
2b. change them all at once to deploy Bitcoin miners on the deployed systems
3. ?????
4. PROFIT
>>
>>53681121
*tentatively raises spork*
>>53680968
>>53681006
>>53681057
she's not hot is what i'm saying. she's old as fuck, how do you think i'm going to want to bang a 50 year old woman? she's just cute and sounds like the girls in my subbed animes
>>
>>53681173
Ask to record her voice saying "oniichan" and stuff like that.
>>
>>53681173
well, fuck me, Anon!
you are just too fucking weird. i don't know how to help you then.
>next time put all that shit before the question, then we can tl;dr and tell you to fuck off.
>>
     /**
* Retrieves information about the cities and adjacencies from the two
* files provided and stores the information in the FlightMap object.
* @param cityFileName The name of a file containing a list of city names;
* one city name per line.
* @param flightFileName The name of a file showing city adjacencies.
* There will be two city names listed per line, separated by a tab
* character; the first city on the line is adjacent to the
* second city on the same line.
* @throws FileNotFoundException if either the city file or the flight
* file are not able to be opened.
*/
public void loadFlightMap(String cityFileName, String flightFileName)
throws FileNotFoundException;


this is really confusing me. i've read the instructions and in some parts it's literally saying just to copy some of the stuff from the book, but the book's a couple hundred dollars and i don't have it. am i storing the list of cities and the list of adjacent cities in 2 separate data structures? i don't understand why it isn't just 1 file with the name of adjacent cities.

when i look at a problem like this it seems to me like i would want to make a bunch of city nodes with a string and MAX_POINTER_COUNT number of pointers pointing to connected cities. Then to have an array that saves the location of all the cities for easy scanning, and then just make the city node connect to whatever city the input file says it should point to. but it doesn't look like that's at all what we're doing. at all
>>
>>53681290
pastebin the whole file
>>
>>53681316
http://pastebin.com/eLyj9ffA
this is the flightmapinterface. the file i was given also included a couple other skeleton files. i was given a city class, a determinepaths class, and a stack interface to implement. i already implemented the stack using an array. i was also given a node class, but the instructions said that if you implemented the stack with an array you could just delete it which i did
>>
File: 1458889292696.png (395 KB, 1040x700) Image search: [Google]
1458889292696.png
395 KB, 1040x700
Working on my file server with torrent support. I'm finally able to download files through the web interface. Now I have to fix the sorting and write a proper readme before tagging it with version 0.1. I've also published the code: https://gitgud.io/0xBA5/matcha
Let's all have a loli and share the joy of life!
>>
seen an absolutely beautiful example of multiple inheritance today, blew my load instantly
>>
>>53681225
that's very rude of you to say anon. i would appreciate an apology.
>>
Why is the CS field so mysoginist? There are narely any women in this industry.
I think recruiters should specifically look for women and hire them because of their gender and how they can help the work place
>>
>>53681488
>a loli
A what?
>>
Is there a generalized XML reader?
i'm working with XML for an assignment. (supposed to convert to csv). It seems like for 90% of the XML i could just read each attribute for each element and have that be the fields for the csv. then I'd take each bottom level and create a csv line for each.
but the problem is at the bottom level two of the fields I want aren't attributes but bottom level elements..

This probably doesn't make any sense but is there a better way? Right now I'm just thinking of recreating the class structure in the program then manually creating loops to get all the info. It doesn't seem very elegant but the data structure isn't totally consistent.
>>
>>53681642
try this:
hold out both hands, palms up
want/wish for apology in one hand
have someone shit in the other
see which one will fill up faster

>jk. i'm sorry... but that is pretty fucking weird desu
>>
>>53681555
kill yourself, degenerate racemixer
>>
Man I fucking hate Java sometimes.

What the easiest way to get around the whole "generic object creation" thing? I've been using ArrayLists, but that's a lot more than I need. I just need a goddamn generic array.
>>
>>53681643
>and how they can help the work place
Please elaborate on "help". Because in my experience working with women, they catfight, gossip and find every excuse to take a break every 20 minutes, while the men break their asses off doing 80% of the job, only to be treated like shit if they dare to speak the truth about it.

Mixed work environments are SHIT.
>>
>>53681756
Stop arguing with yourself faggot. No one cares.
>>
>>53681555
>MI
>beautiful
For five minutes maybe. Post it.
>>
>>53681746
T[] opIsAFag = new T[10];

Something like this.
>>
>>53681775
>Stop arguing with yourself faggot.
Isn't that what you are doing? Faggot.
>>
>>53681802
And down the rabbit hole we go.

>>53681795
Yeah, that doesn't work m80, hence the question.
>>
>>53681746
maybe Object[]

why the fuck do you need a generic array anyway, sounds like an XY problem, you must be doing something wrong
>>
>>53681829
Instantiate an array of type Object and store everything you want in it.
l2stackoverflow pajeet
>>
>>53681829
are you the dunning-kruger android "dev" from yesterday

you're fucking delusional, it's not java that's shit, it's you
>>
>>53681555
Care to share?
>>
>>53681839
Implementing a generic hash map for a school assignment. I was thinking Pair<K, V>[].

>>53681863
Why the fuck does that work, but generic creation doesn't? It ends up being the same damn thing because of type erasure, no?
>>
>>53681839
>why would anyone want the convenience of generics instead of writing an algorithm for each type you want it to operate on
>>
>>53681890
Generics are compile time, reflection is run time. Protip: an array holding different types is really bad practice. See what happened to Belgium.
>>
>>53681933
the java standard library already has a HashMap

if your "objects" can be used generically they're either not very interesting objects or you're not doing something interesting with them
>>
go doesn't even have generics, should tell you something about how useful generics are

use an interface or something if you have different objects that you want to operate on with the same algorithm. there's no way you can do something interesting with ALL objects outside of very basic things like storing them in an array or hashmap
>>
>>53682035
This is the boiler plate required for sorting a struct by name:
func (f fileSlice) Len() int {
return len(f)
}

func (f fileSlice) Swap(i, j int) {
f[i], f[j] = f[j], f[i]
}

func (f fileSlice) Less(i, j int) bool {
return f[i].Name < f[j].Name
}

>genericfags: 0
>go: 1
>>
File: 15 - 1.jpg (34 KB, 426x533) Image search: [Google]
15 - 1.jpg
34 KB, 426x533
what are some good homework assignments for a total beginner programmer?

>inb4: hello world
>inb4 temple OS
>inb4: install gentoo
>>
>>53682182
IRC bot?
>>
>>53682185
that seems intermediate level
>>
>>53682182
fizzbuzz
>>
>>53682035
static IEnumerable<IEnumerable<T>> GetPermutations<T>(IEnumerable<T> list, int length)
{
if (length == 1) return list.Select(t => new T[] { t });

return GetPermutations(list, length - 1)
.SelectMany(t => list.Where(e => !t.Contains(e)), (t1, t2) => t1.Concat(new T[] { t2 }));
}
>>
I'm working on a webpage using HTML/CSS :)
>>
>>53682256
kill yourself
>>
>sending data to hardware
>hardware sends 1s back if it's writing data to memory succesfully
>hardware also sends 1s back if something went wrong
>both of these behaviors are documented so it's intended
Who designs this shit?
>>
File: question.jpg (7 KB, 299x299) Image search: [Google]
question.jpg
7 KB, 299x299
Why does PHP get shit on so much? I've developed numerous useful applications for it. It's also the only practical way to integrate things like payment processors into a website. Am I missing something? I know some people like to hate languages where all vars are a string, but the overall functionality of it is pretty damn good.

Thoughts?
>>
>>53682276
good

HTML/CSS is enough for most things

don't use fucking javascript
>>
Any know what the program that is written in a very strange version of C with tons of macros replacing everything?

Like braces with open and close?
>>
>>53682291
>>>/g/wdg
>>
IEnumerable is a fucking retarded name

systems hungarian is SHIT

the "-able" suffix already tells you that it's an interface
>>
>>53682291
It's a badly designed language with a lot of caveats and lack of consistency created by someone who proudly claimed to "have no idea how to write programming languages" and "have no idea how to program". It started as a toy language for one person to ease a few tasks that hasn't had any thought put into the design whatsoever and accidentally ended up being widespread.

This doesn't necessarily address all of the bad things about PHP but should give you an idea:
http://eev[dot]ee/blog/2012/04/09/php-a-fractal-of-bad-design/
>>
>>53682341
Could be an abstract class just as well.
>>
>>53681746
Just found this after googling some more. Millions of faggots all over stack overflow told the guy not to do it, that it was impossible, and how type erasure is 'good'. Then there was one response that mentioned it. Man Java is full of cucks.

public class HashMap<K, V> {
private static final int START_NUM_BUCKETS = 256;

private Pair[] buckets;

public HashMap() {
buckets = (Pair[])Array.newInstance(Pair.class, START_NUM_BUCKETS);
}

public HashMap(int start_buckets) {
buckets = (Pair[])Array.newInstance(Pair.class, start_buckets);
}

public class Pair {
K key;
V value;
}

}
>>
best books for AI ?
>>
>>53682295
Why don't you like Javascript?
>>
>>53682422
your'e mom
>>
>>53682453
it's mostly that webshitters completely overuse it, i'm not even a noscript neckbeard but HTML/CSS is much more versatile and useful than js shitters could even imagine
>>
File: flightmap.png (107 KB, 1176x852) Image search: [Google]
flightmap.png
107 KB, 1176x852
so do i make flightmap extend linked list or what?
>>
>>53682510
>that has been discussed in class
Better pay attention next time kiddo.
>>
>>53682539
she may sound like an anime girl but i can't really understand her half the time
>>
>>53682576
Post pics of her and I'll help you.
>>
>>53682510
what, as far as i can tell it's just telling you to use a ready-made FlightMap class, not extending required

>>53682576
>the problem is also discussed in your book, at the end of the stack chapter
>as a recap, the program should perform the following steps:
>>
>>53682357
>le ebin eevee may may
>he suggests python and shitty frameworks
>uses rust
kek
>>
>>53682357
>[dot]ee
is the .ee top level domain so cancerous that 4chan has to filter it? or is the website itself?
>>
>>53682636
Considering how many times this shitty reddit-infested article of this SJW cuckold (yes, an actual cuckold) has been spammed, I wouldn't be surprised if it was the second.
>>
>>53682499
Noted :D
>>
In python, I want to open a .txt, write something on it and then close it. But it rewrites the whole file, which isn't what i want so, how do I fix this ?

# -*- coding: utf-8 -*-
import sys

unicode = "text.txt".decode('utf-8')
f = open( unicode, 'w+')
f.write("Hello" + '\n')
f.close()
>>
>>53682727
>But it rewrites the whole file
elaborate
>>
>>53682727
f = open( unicode, 'a+')
>>
>Tfw you are all plebs at programming

I bet you can't even average two ints and swap two ints in Java

SmugPepe.jpg
>>
why
x = "ass"

dictionary = {'lel' : x}

x = "anus"

lel is still "ass"




?
>>
>>53682853
Because it's not a reference, and even if it was, you're redeclaring the variable.
>>
>>53682727
Let say the text.txt file is empty and I run this script. When its over, it should have the "hello" and a new line, and which happens and I want that.
But if I run it again, it still be "hello" and a new line, instead of a "hello" and a new line followed by another "hello" and a new line.
>>
ops
>>53682878
is meant for
>>53682796

>>53682831
It worked, thanks!
>>
>>53682598
i don't have the book because it's hundreds of dollars and it's never been used (until now i guess). the flightmap class isn't ready made, it's just an interface. http://pastebin.com/eLyj9ffA

public void loadFlightMap(String cityFileName, String flightFileName) throws FileNotFoundException {
File cityFile = new File(cityFileName);
if(!cityFile.exists()){
throw new FileNotFoundException("City file not found");
}
Scanner inputStream = new Scanner(new File(cityFileName));
String current;
while(inputStream.hasNextLine()){
current = inputStream.nextLine();
City newCity = new City(current);
insertAdjacent(newCity, null);
}
inputStream.close();

// then repeat for flightFileName

}


public void insertAdjacent(City aCity, City adjCity) {
}


how do i write insertAdjacent?
>>
>>53682284
Uses generics to give permutations of a list of any type.

What's not to like?
>>
>>53682289
Fuck you want it to send you, carrots?
>>
>>53682960
Perhaps it would be nice if he could get different values on success and errors?
>>
>>53682291
>It's also the only practical way to integrate things like payment processors into a website.
what?
>>
>>53682942
i'm going with using an array of linked lists
private LinkedList<City>[] map;

variable inside of flightmap
>>
File: programming chanllenge.png (302 KB, 1920x1080) Image search: [Google]
programming chanllenge.png
302 KB, 1920x1080
>>53682182
Here are projects
>>
>>53683319
Dungeons and Dragons with AI would just be more time consuming than difficult or intellectually stimulating. the dungeons and dragons rulebook is like 10,000 pages long. that one seems like a massive waste of time
>>
>>53682422
Russell & norvig, Sutton & barto
>>
>>53683319
very nice. THANK YOU!
/g/ does deliver on occasion :D
>>
>>53683364
>bigger than the C and C++ standards combined.

How can people play this thing?
>>
>>53683437
actual autism
>>
>>53683415
In return can you show my what kinds of git repositories I would need for sometihng like a flappy bird or a name generator? :3
>>
>>53683458
sry m8, i am more beginner than you
>>
File: lowpolystone.png (699 KB, 1345x635) Image search: [Google]
lowpolystone.png
699 KB, 1345x635
Generating lowpoly stones using TetGen + Unreal
>>
File: camusical.gif (3 MB, 533x602) Image search: [Google]
camusical.gif
3 MB, 533x602
Working on visualizations for MPD (and later more generic PCM data) in OCaml with Termbox.

Not much so far, but I'm not a wizard of math and thus designing pretty graphics takes me longer.
>>
private LinkedList<City>[] map;
...
public FlightMap() {
LinkedList<City>[] map = new LinkedList[MAX_CITIES];
}
...

// in the read in function
...
String current;
while(inputStream.hasNextLine()){
current = inputStream.nextLine();
City newCity = new City(current);
LinkedList<City> newList = new LinkedList<City>();
newList.add(newCity);
map[counter] = newList;
counter++;
}
is this correct in java? will creating the new linked list set it equal to null, and then adding newCity to it set the head of newList to newCity, which then points to null? i'm trying to make an array of linked lists
>>
>>53683746
do your own homework and pay attention in clay you shitter
>>
>>53683774
er, class
>>
File: NEVER EVER.png (335 KB, 1280x720) Image search: [Google]
NEVER EVER.png
335 KB, 1280x720
>>53682291
>>
File: smug anime girl234.jpg (10 KB, 225x225) Image search: [Google]
smug anime girl234.jpg
10 KB, 225x225
>>53683774
at least i can spell
>>
>>53683853
"i don't know how to stop it" made me laugh irl
>>
>>53683922
I know right XD
>>
File: php masterrace.png (405 KB, 738x732) Image search: [Google]
php masterrace.png
405 KB, 738x732
>>53683960
>>
Progress on my chess engine is going slowly but I'm almost done the legal move generators for non-sliding pieces.
>>
>>53683319
Roll
>>
>>53684049
make one with nothing but nested if/else chains
>>
>>53683853
>the function hashing method was strlen

Had the senior sysadmin where I was working tell me this once, and I barely believed it. Apparently it's responsible for a lot of the inconsistency in php function names etc.
>>
>>53684049
looks painful
>>
>>53684049
good job m8, proud of you. keep it up.
>>
>>53682510
>so do i [...] extend linked list

No.
>>
>>53684049
Is clion any good?
Did you buy a license, use a trial version or have cracked it?
>>
>>53684390
The only over C++ IDE that I've used is Eclipse, and I think that CLion is significantly better if you can make due with CMake.

I've been using the trial version. To "crack" it, just download CLion again, making sure to delete any configuration files in your home directory.
>>
>>53684390
It's nice but fairly resource intensive, which can be a bother when working on older laptops.
If you're a student you can get all their products for free.
>>
>>53684490
>If you're a student you can get all their products for free.
I wasn't even aware of this, will look into it.

And yes, CLion can be sluggish at times. Depends on the hardware I guess.
>>
>>53683319
Let the die be cast.
>>
>>53684475
How is the makefile support? Did they implement it yet or i'll be stuck with cmake?

>>53684490
I'm not a student but hove some friends that are! Maybe I can acquire it that way! Does a phd "student" count?
>>
File: wtf.jpg (433 KB, 1000x1166) Image search: [Google]
wtf.jpg
433 KB, 1000x1166
Holy shit /dpt/ i'm addicted to metaprogramming and i just can't stop

>reflection
>generic types
>aspects
>templates

i feel like i discovered black magic or some shit, the possibilities are literally endless
at the same time, it feels like i'm cheating, but not at a game, but at programming

i hope none of you miss out on this feeling
>>
>>53684562
>Does a phd "student" count?
You need an email account @ some university
>>
File: Untitled0743.png (56 KB, 1920x996) Image search: [Google]
Untitled0743.png
56 KB, 1920x996
Working on an Active Directory replacement (or Windows domain in general) that runs on Linux.
The whole user and group management part is finished, using any generic LDAP server.
I'm now working on a "password reset" function, which uses both LDAP and an RDBMS for tokens.
Everything is managed through a web interface, where users can also do basic tasks like changing passwords.
It's already in production for a ~30 user network, that uses it for WLAN authentication with RADIUS.
I might build an orchestration tool like Server Manager too, that can automate role-based installation and configuration.
>>
>>53684562
>How is the makefile support? Did they implement it yet or i'll be stuck with cmake?
There is no Makefile support yet, which really blows. Jetbrains says that Makefile support is "a priority" so hopefully it'll be fixed soon.
>>
>>53684475
>CMake
Trash

>>53684562
Why would you use a non-free IDE for a language that doesn't need an IDE and a non-free one specifically?
There are tons of high quality editors and IDEs for C.
>>
>>53684563
What lang?
It's strange how template metaprogramming in C++ bring out such a strange, cruel sense of satisfaction
>>
>>53684621
>Trash
What's a better build system?
>>
rebuilding tay
>>
File: 1331949219025.gif (831 KB, 350x197) Image search: [Google]
1331949219025.gif
831 KB, 350x197
>>53684600
>Working on an Active Directory replacement
>It's already in production
>>
>>53684632
C++ yeah

been fucking around with AspectC++ as well
it's all so amazing
>>
>>53684531
What language should I do it in?
>>
>>53684621
because I use c++ and smart code completion and method/variable/function suggestion, intellisence or whatever is a thing that can be very helpful especially when you deal with new librariew

Vim has most of those things but in the end it becomes a franken-editor with many plugins that don't cooperate well!
>>
>>53684600
looks great, whats that bootstrapped theme you're using? ive seen it in other projects, namely snipeit.
>>
>>53684660
Make, sh, autohell, etc...
>>
>>53684698
There are tons of IDEs and editors that do this. I can think of Netbeans and Emacs right away.
>>
>>53684692
>AspectC++
This is the first I've heard of it. What the hell is "aspect-oriented programming"?
>>
>>53684724
>There are tons of IDEs and editors that do this.
Including CLion. And Emacs is a poor man's version of an IDE, suitable only for small projects.
>>
>>53684728
It's libraries you tack onto your program that add a dependency and make it slower.
>>
Live shader coding competition going on here:
>>
>>53684701
>Make
Here's the rule to autodetect source code dependencies in Make:
$(OBJ_DIR)/%.d: $(SRC_DIR)/%.cpp
@mkdir -p $(OBJ_DIR)
@$(COMPILER) $(FLAGS) -MM -MT $(@:.d=.o) $< > $@
-include $(DEPENDENCIES)


Good luck remembering that.

CMake does it automatically.
>>
>>53684769
I mean here
https://2016.revision-party.net/live#stream_lq
>>
>>53684724
>netbeans
do you really want to work with an ide written in java?
Have you ever used it? because i have and i really didn't like it at all

>Emacs
the ide must help you. I don't want to learn over 9000 chords to do my daily tasks
>>
>>53684728
>What the hell is "aspect-oriented programming"?
fucking magic

for example, you can bind every method that matches (or doesn't match) some criteria X in some class Y (or classes extending Y, classes that Y extends, etc...) to invoke an additional, written by you, method before or after (and even during) its own invocation

and that's just one small thing
there is a million ways to describe the precise conditions in which something like that takes place

without AOP, if you wanted something like this, you'd have to write quite a fucking bit of boilerplate code
>>
Just wondering if anyone has experience with cmake and might have some suggestions.

I want to avoid having two add_executable blocks. Their only difference is one compiles zlib, the other links to system libraries if applicable. add_executable doesn't like the use of variables, but this current if / else way of solving it feels excessive and sloppy.
>>
I have 3 hours and want to program something fun in C. Give me something to do /dpt/
>>
>>53684691
The user and group features exist and work completely, which is the only thing needed for that to work.
They won't need stuff like a PKI or samba profiles, and the RADIUS server could already authenticate against LDAP.

>>53684700
It's AdminLTE 2 with the yellow theme and Open Sans as the font. It's a pretty nice theme.
>>
>>53684828
Pseudo Random Number Generator.
>>
>>53681166
you forgot the
>closed as not constructive
>>
>>53684843
Why wouldn't i just use rand()?
>>
>>53684752
>Including CLion
Non-free

>Emacs is a poor man's version of an IDE, suitable only for small projects.
Truly words of an ignorant.

>>53684808
>Have you ever used it
Yes, it was better than kate.
>>
>>53684828
Encrypt text using a modified trifid cipher that has 5 dimensions instead of 3 - see section 'Dimensions' here: https://en.wikipedia.org/wiki/Trifid_cipher
>>
>>53684861
1) It's fun to make your own.

2) rand() is a shitty random number generator because it uses a linear congruential generator. See https://en.wikipedia.org/wiki/Linear_congruential_generator.
>>
>>53684563
I'm discovering this right now on a project. My almonds are fucking ACCELERATED.
>>
>>53684826
I'm not a CMake expert by any means, but couldn't you use an if / else block to add a linking option to your flags instead?

>>53684825
Seems interesting, might check it out.
>>
>>53684862
>Yes, it was better than kate
My point exactly! I want something usable that helps me and doesn't keep be back just because i haven't learnt yet the really specific way to do a task.

I always return to vim with clang integration but it is limited in many ways.

The last few days I am trying codelite and looks promising but it also has its problems

My biggest problem with most free IDEs is that the integration of features is almost nonexistent. They can do the job but it feels like a bunch o things thown together without much thought for the user experience!
>>
File: 7phuJaq6.jpg (42 KB, 512x512) Image search: [Google]
7phuJaq6.jpg
42 KB, 512x512
Is D worth learning?

The garbage collection and lack of widespread adoption are turning me off, but having a better C++ is just so tempting. Also, just looking at this man's face makes me want to learn it.
>>
>>53684900
Sounds interesting.

>>53684926
It may actually be useful to do this if rand() is that shit
>>
>>53685026
>but it is limited in many ways.
I would be interested to see how is that so.

I used codelite a few years back, it was cute but didn't really care about it.
>>
>>53684974
if(USE_SYSTEM_ZLIB)
find_package(zlib)
if(ZLIB_FOUND)
add_executable(pngwolf
pngwolf.cxx
galib/ga/GA1DArrayGenome.C
galib/ga/GAAllele.C
galib/ga/GABaseGA.C
galib/ga/gabincvt.C
galib/ga/GAGenome.C
galib/ga/GAIncGA.C
galib/ga/GAParameter.C
galib/ga/GAPopulation.C
galib/ga/garandom.C
galib/ga/gaerror.C
galib/ga/GAScaling.C
galib/ga/GASelector.C
galib/ga/GAStatistics.C
zopfli/src/zopfli/blocksplitter.c
zopfli/src/zopfli/cache.c
zopfli/src/zopfli/deflate.c
zopfli/src/zopfli/gzip_container.c
zopfli/src/zopfli/hash.c
zopfli/src/zopfli/katajainen.c
zopfli/src/zopfli/lz77.c
zopfli/src/zopfli/squeeze.c
zopfli/src/zopfli/tree.c
zopfli/src/zopfli/util.c
zopfli/src/zopfli/zlib_container.c
zopfli/src/zopfli/zopfli_lib.c)
target_link_libraries(pngwolf "${ZLIB_LIBRARIES}")
include_directories(galib "${ZLIB_INCLUDE_DIRS}" zopfli/src/zopfli)
else()
unset(USE_SYSTEM_ZLIB)
endif()
endif()
if (NOT USE_SYSTEM_ZLIB)
add_executable(pngwolf
pngwolf.cxx
galib/ga/GA1DArrayGenome.C
galib/ga/GAAllele.C
galib/ga/GABaseGA.C
galib/ga/gabincvt.C
galib/ga/GAGenome.C
galib/ga/GAIncGA.C
galib/ga/GAParameter.C
galib/ga/GAPopulation.C
galib/ga/garandom.C
galib/ga/gaerror.C
galib/ga/GAScaling.C
galib/ga/GASelector.C
galib/ga/GAStatistics.C
zlib/adler32.c
zlib/compress.c
zlib/crc32.c
zlib/deflate.c
zlib/infback.c
zlib/inffast.c
zlib/inflate.c
zlib/inftrees.c
zlib/trees.c
zlib/uncompr.c
zlib/zutil.c
zopfli/src/zopfli/blocksplitter.c
zopfli/src/zopfli/cache.c
zopfli/src/zopfli/deflate.c
zopfli/src/zopfli/gzip_container.c
zopfli/src/zopfli/hash.c
zopfli/src/zopfli/katajainen.c
zopfli/src/zopfli/lz77.c
zopfli/src/zopfli/squeeze.c
zopfli/src/zopfli/tree.c
zopfli/src/zopfli/util.c
zopfli/src/zopfli/zlib_container.c
zopfli/src/zopfli/zopfli_lib.c)
include_directories(galib zlib zopfli/src/zopfli)
endif()
>>
>>53685089
Right now I've just done thi.

Maybe I could have it compile a library, then add that as a link target. Might also just write a configure script, though I sort of like cmake for this aside from this one aspect. I don't understand why it can't handle variables.
>>
>>53685089
Why don't you make a variable called SOURCE_FILES, and if (NOT USE-SYSTEM_ZLIB), add the zlib source files to it, else add ZLIB_LIBRARIES to include_directories and add a linking option?
>>
>>53682308
ArnoldC
>>
>>53685036
100% worth learning

The garbage collection only really changes whether it's worth USING imo

It's worth it just for how smoothly and easily it teaches C-type people about functional programming
The pros can do some fucking next-level spoopy shit with the templates too. It really makes it difficult to distinguish sometimes between things that are builtin and things that aren't - whereas in C++ it sticks out like a sore thumb that 90% of it is just tacked onto the standard library
>>
>>53679663
What's the name of those mountains? Is it in Banff?
>>
Never really done python before, but decided to help a m8 out, yet im stumped why this literally does nothing:
import random 
import os

def body():

Num1 = random.randint(0,10)
Num2 = random.randint(0,Number1)
symbls = {'+':operator.add,
'-':operator.sub,
'x':operator.mul}
RandOp = random.choice(list(symbls.keys()))
#Sum = Num1, RandOp, Num2
ans = symbls.get(RandOp)(Num1,Num2)

print('what is {} {} {}?\n'.format(num1, symbls, num2))
return ans


def func():
ans = body()
usrAns = float(input())
return usrAns == ans

def Quiz():
print('testing')
score = 0
for i in range(0,10):
corAns = func()
if corAns:
score += 1
print('yeeee nig')
else:
print('na dawg')
return 'ur score = {}/10'.format(score)

pls help m80s
>>
>>53685269
You need to actually call a function...
>>
>>53683566
Graphics is cool. anon.
>>
First of all, I'd like to categorically deny that I'm a moron for overloading ==.
>>
>>53685162
cmake, for whatever reason, wouldn't expand variables in add_executable blocks. Maybe I did, or did not, put the variable in quotes, and that somehow makes a difference.

Cmake seems to be very particular. Like it kept suffixing library targets with .lib (so it'd be .lib.lib, .obj.lib) until I put it in quotes. Really don't like programs that attempt to correct user error or make assumptions, their heuristics almost always get in the way.

Seems like I'm missing something fundamental. Have to read the documentation more thoroughly instead of trying to piece it together.
>>
>>53685316
>cmake, for whatever reason, wouldn't expand variables in add_executable blocks.
I'm not sure what you're doing wrong but this is simply untrue. I use variable expansion in add_executable in my own CMakeLists.txt:
# cmake settings.
cmake_minimum_required(VERSION 2.8)
set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_VERBOSE_MAKEFILE OFF)

# Project details.
project(mycelium)
set(TARGET mycelium)

# Source files.
file(GLOB_RECURSE SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")

# Compiler flags
set(OPTIMIZATION -O3)
set(STANDARD -std=c++14)
set(WARNINGS "-Wall -Wextra -pedantic")
set(FLAGS "${OPTIMIZATION} ${STANDARD} ${WARNINGS}")

# Create executable.
add_executable(${TARGET} ${SOURCE_FILES})
set_target_properties(${TARGET} PROPERTIES
COMPILE_FLAGS "${FLAGS}"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin")
>>
>>53685289
What?
>>
>>53685376
You've defined several functions but you don't actually use them. Try adding body() to the end of your script.
>>
>>53685376
>>53685289
nvm I forgot to; then found other errors from code I changed.
Only have to fix this now
>>
File: 1456260944071.png (307 KB, 690x460) Image search: [Google]
1456260944071.png
307 KB, 690x460
>cmake
>lua
>>
>>53685420
Fixed that; now just need to keep it looping till' it's meant to actually finish
>>
>>53685457
Enjoy your leaky memory as you manually manage multiple build configs per platform.
>>
>>53685457
>le Lua is bad meme
Lua is a neat little language. It does a fine job of being a lightweight and simple language to extend other applications.
>>
>>53685420
You trying to print a dictionary, which Python is doing successfully. Maybe you want
print('what is {} {} {}?\n'.format(num1, symbls[RandOp], num2)

instead?
>>
>>53685373
It's seeming likely I put it in quotes. Thanks.
>>
File: .0_A52.jpgresized.png (427 KB, 501x640) Image search: [Google]
.0_A52.jpgresized.png
427 KB, 501x640
Did a little not-so-exciting side project today. Ever since gookmoot ruined /s/ and /hc/ with the 500x500px minimum image size limit, it's been impossible to have threads. Most older scans don't meet the limit. People have taken to actually scaling the images, but that ruins them. In order to do something non-destructive, I figured I'd make a program that just automatically adds borders to all images in a directory that aren't at least 500x500.

It jest werks.

>inb4 3dpd
>>
File: 1450129174081.jpg (80 KB, 576x972) Image search: [Google]
1450129174081.jpg
80 KB, 576x972
>>53685491
>making the building procedure intentionally so complex that "leaking memory" is a problem.

>>53685494
Just as fine as PHP, huh?
>>
>>53685502
Hmm, should still work with quotes though...
>>
>>53685582
I don't know much about lua itself as a language, but luajit is pretty fucking neat-o
>>
>>53685581
that sounds like a 1 liner of imagemagick

if only people had enough years to read the manual
>>
File: 1385077398214.jpg (58 KB, 261x287) Image search: [Google]
1385077398214.jpg
58 KB, 261x287
/dpt/ I've never done anything with networking before and I'm making a client-server program for the first time.

I've opened up a tcp socket and now can send data back and forth between 2 or more computers over the internet. The thing is I just made the connection and wrote something around it without having any clue what I was doing design wise, I'm not familiar with practices for this type of thing. Everything I wrote works but I have no idea if it's the right way to handle it. What I mean is, I made some datatypes that I'm calling "messages" and I'm passing them back and forth, when either the server or the client receives them it switches on it and handles it accordingly, is it appropriate to call this a protocol?

I want to know what I'm doing so I can look up some books or something to do it better, I'm unsure if I'm handling this right at all despite the fact that it works.

I essentially just connect the client and server then spin up a thread per client on the server, once established I just block forever on a read of the socket until data comes through, I thought about polling instead but I have no idea what I'm doing with networked stuff, I need to learn how to do it right and maybe rewrite all this.

Another thing bothering me is assuring something was received, do I just constantly send a message and expect a response every time with a timeout or is that something I should avoid with TCP? Can someone point me at some documentation to read on this kind of thing?
>>
>>53685629
>that sounds like a 1 liner of imagemagick

Probably, considering it's about 40 lines of C#. That said, I've never taken the time to actually figure out imagemagick.
>>
File: 1450127487929.jpg (20 KB, 165x312) Image search: [Google]
1450127487929.jpg
20 KB, 165x312
>>53685613
>#ifndef _LUAJIT_H
>#define _LUAJIT_H
>neat-o
>>
in c#, what's the difference between an expression body without parenthesis

e.g.
public XElement SettingsRoot() => SettingsDocument?.Root;
// or
public XElement SettingsRoot => SettingsDocument?.Root;


when i use the bottom syntax i can call SettingRoot like a property (without parenthesis) but is there a difference at all?
>>
I finally got gitlab ci working after 62 builds. Apparently it fucks up the go import path for some reason.
before_script:
- apt-get update -qq
- apt-get install -y sqlite3 libsqlite3-dev

build:go1.6:
image: golang:1.6.0
script:
- go version
- go env
- sqlite3 -version
- uname -a
- mkdir -p /go/src/gitgud.io/0xBA5
- cp -R /builds/0xBA5/matcha /go/src/gitgud.io/0xBA5/matcha
- cd /go/src/gitgud.io/0xBA5/matcha
- go build
>>
>attempt to get into haskell
>every fucking ide forces me to make my own cabal package

fuck this, I'm out. I'm not going to write a cabal package so that I can execute a hello world script.
>>
>>53685582
How's that full app in C leaking for you?
>>
>>53685612
Is it because I've kept the rest as separate lines? Is it processing the whole line as one contiguous argument and ignoring spaces?

CMake Error at CMakeLists.txt:21 (add_executable):
Cannot find source file:

zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c zlib/uncompr.c zlib/zutil.c

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

CMake Error: CMake can not determine linker language for target: pngwolf
CMake Error: Cannot determine link language for target "pngwolf".

add_executable(pngwolf
pngwolf.cxx
galib/ga/GA1DArrayGenome.C
galib/ga/GAAllele.C
galib/ga/GABaseGA.C
galib/ga/gabincvt.C
galib/ga/GAGenome.C
galib/ga/GAIncGA.C
galib/ga/GAParameter.C
galib/ga/GAPopulation.C
galib/ga/garandom.C
galib/ga/gaerror.C
galib/ga/GAScaling.C
galib/ga/GASelector.C
galib/ga/GAStatistics.C
${ZLIB_SOURCE}
zopfli/src/zopfli/blocksplitter.c
zopfli/src/zopfli/cache.c
zopfli/src/zopfli/deflate.c
zopfli/src/zopfli/gzip_container.c
zopfli/src/zopfli/hash.c
zopfli/src/zopfli/katajainen.c
zopfli/src/zopfli/lz77.c
zopfli/src/zopfli/squeeze.c
zopfli/src/zopfli/tree.c
zopfli/src/zopfli/util.c
zopfli/src/zopfli/zlib_container.c
zopfli/src/zopfli/zopfli_lib.c)


I always seem to generate, and then desire to solve problems when I feel like shit in general and lack the competence to do so.
>>
>>53685581
You should scale with nearest neighbor by multiples of 2, then resave losslessly. Someone else can then losslessly reverse this.
>>
>>53684563
come to the lisp side
>>
>>53685631
>is it appropriate to call this a protocol?
Yes.
>spin up a thread per client on the server
That works alright for small things, but doesn't scale too well.
>do I just constantly send a message and expect a response every time with a timeout
TCP guarantees (unless the network connection is lost) that all of the packets will arrive in-order, reliably. Application programmers can pretty much ignore whatever is going on below them in the networking stack and just expect it to just be a reliable data stream. This doesn't hold true for UDP though.
If the connection breaks or anything, just clean-up and quit the thread.
Maybe close the connection yourself if a client is taking too long to respond, to prevent denial-of-service attacks on your server.
>Can someone point me at some documentation to read on this kind of thing?
I learned most of the shit I know about networking at university, so I don't really know of any online resources besides Wikipedia articles.
>>
>>53684825
or you could use a language that supports before and after methods without hacking on shit like a retard
>>
>>53685744
What do you mean?
>>
>>53685756
My best guess is that CMake doesn't like the fact that you are mixing newlines and spaces to separate source files. Did you use spaces when defining ZLIB_SOURCE? If so, try switching to newlines.
>>
>>53685825
Managed memory languages have fewer instances of memory leaks because it's handled automagically.
>>
>>53685786

That's considerably more work for the same effect.
>>
>>53685859
Most people that add borders don't do so losslessly. It could be done if they use the same quantization tables and the borders are exactly on block boundaries, but that, to me, sounds like more work.

I can't remember if jpegtran has a means of lossless resizing.
>>
File: 1449366238088.png (202 KB, 800x650) Image search: [Google]
1449366238088.png
202 KB, 800x650
>>53685856
What makes you think that the implementation of C I use does not have managed memory?
Not to mention that this has nothing to do with build systems.
>>
>>53685631
You should look into thread pool and message queues

Also look a bit into UDP, it can be very helpful at times.

The thing here is that the way to handle networking is heavily dependent to the thing you try to accomplish. For simple networking you are fine.

Another thing to consider is how should your program handle network failures. For example if the connection initiates a session what happens on a disconnect? Do you deallocate a session? do you have a cooldown timer? What happens for many connections? What about network delays?
All those things are application specific. You can have many general discussions about networking but having something specific in mind is the way to go.

Just look around for other protocols to get a general idea.

also what the other annon said
>>
>>53685850
I had an assumption that cmake wouldn't know how a variable was set when it was expanded, so I'd set ZLIB_SOURCE's files in quotes. It parsed it all as one argument on expansion.

Works now though. I'm used to working with scripting languages where you need to be careful with whitespace, tab characters, spaces, etc. Habits carried over.
>>
One of these days I ought to actually learn CMake, but it's confusing as fuck compared to just building a Makefile.
>>
>>53685631
tl;dr

Here's a good guide on network programming: http://beej.us/guide/bgnet/output/html/multipage/index.html
>>
>>53685184
No, that's not it.
This is a program used fairly commonly, and very old.

I think it was to make C more fortrany?
>>
PG_ID = re.findall(r'(pg\s\d+\.[a-fA-F\d]{7,8})', output)
for pi in PG_ID:
rpid = pi.upper()
rpi = re.sub('[\w+\s\.]' + rpn, '', rpid)

rpn = 0 btw
Hi, I'm trying to delete a predictable string pattern which I have captured from a regex. Unfortunately the 'pg 0.xxxxxxxx', is required in order to safely capture the xxxxxxxx values without capturing anything else within the var, output.

What I'm trying to do is remove these predictable characters but I'm having difficulty.

Please refer to the attached photo for an idea of the raw text I am dealing with.

The current method outputs:

PG.DFB2D74


So PG still exist, I've tried putting PG in btw and the dot still exists even though it was intentionally escaped.

The space and the 0 (rpn) has been removed though, any ideas?
>>
>>53685809
Thanks for the input Anon.

>If the connection breaks or anything, just clean-up and quit the thread.
That's what I was assuming but I wasn't sure. I intend to have some kind of timer per connection that gets increased every time a full procedure finishes, if anything hangs for more than this timeout I'll just close the connection and cleanup. Same on the clientside but it will just reconnect and start over.

Do you have any advice on how I should handle multiple clients in the future besides 1 thread per connection? I toyed around with the idea of using some kind of state struct with a peerlist and going synchonously but it seemed like threads would be the better option while learning. I'd like to get it right though if I intend to write a non-trivial program.

>>53686021
>All those things are application specific. You can have many general discussions about networking but having something specific in mind is the way to go.
Thanks, that's the impression I was getting when I looked around but it felt odd to me, most people encourage being general or using standard practices so having all this freedom made me question my implementations. It's very cool but a little scary when you don't know what you're doing, everything else I've done had big lists of opinions and practices so it was easy to look up a list of "don't do this ever" and compare it to my programs.

>>53686040
I'll give it a read, thanks.
>>
File: RegEx.png (75 KB, 599x510) Image search: [Google]
RegEx.png
75 KB, 599x510
>>53686092
>>
I'm learning C++. Why is it bad to use namespace std? Is it fine for little toy programs?
>>
>>53685899

It's not perfectly lossless, but the quality loss isn't noticeable. Certainly better than when people open up an image in MS Paint and resize it.
>>
>>53686021
>You should look into thread pool and message queues
I meant to say I'll read up on this too. I'm a little tired and the character limit is making me form weird sentences on top of that. The fatigue is making me blog, please excuse it.
>>
>>53686116
It's fine for toy programs, but it's not a good habit.

The whole point on namespaces is to avoid name collisions. If you use namespace std, you've just polluted your namespace with god know what names, defeating the purpose of the std namespace.
>>
>>53686105
>Do you have any advice on how I should handle multiple clients in the future besides 1 thread per connection?
Create a job queue, with one thread listening for connections and adding them to the queue, and many other threads taking jobs from the queue and handling them.
Threads aren't cheap to create and destroy, so this way, you can create all of your threads up front and use them over and over again.
>>
>>53686116
yes, basically because it pollutes the namespace, a halfway point would be "using std::(whatYouNeed); instead for each class in the STL, but for toy programs or if you are in a rush, just using namespace std is fine. Also, if you get tired of typing that you could throw it in a header file and include that with your custom defined classes.
>>
>>53685856
https://en.wikipedia.org/wiki/Tracing_garbage_collection#Precise_vs._conservative_and_internal_pointers
>>
>>53679663
diving into sockets for the first time, I already know about the OSI model and the TCP/IP stack, just never programmed with sockets, so going to check it out. Yea on Windows...
>>
>>53686144
Thanks anon, I guess i should just get used to typing std::.
>>53686198
Yeah, but then I'll have to add onto it when I need to use another std function, that or I have some std functions with std:: and some without, which is just inconsistent
>>
>>53686116
>>53686144
>>53686198
>>53686239
It's just a remnant of when languages had separate header files.
>>
>>53686239
You miss the point, if you have a header file with using std::vector or std::string and include this header file where ever you need to use the STL, then you only update it in one place, you don't pollute the namespace, and you no longer have to qualify your statements with std::
>>
>>53686168
That makes sense, thanks Anon. It's reassuring to know I wasn't too far off when conceptualizing this stuff.
>>
how do i change this to be a vector?

private LinkedList<City>[] map;

in java
>>
>>53686207
?
>>
>>53686299
private LinkedList<City>[] vector;
>>
>>53686274

Not really. Using a namespace doesn't really make too much sense in other languages either. In Ruby, it would be rather silly to do something like

require 'mymodule'
include 'mymodule'


Because that pollutes the global namespace as well.

In Python, I see this used more commonly:
import numpy as np


than this:
import numpy
>>
File: mfw funny.png (100 KB, 227x207) Image search: [Google]
mfw funny.png
100 KB, 227x207
>>53686348
>>
>>53686365
Shut the fuck up faggot we're talking about C++.
>>
>>53685902
Lua has everything to do with managed memory. C has everything to do with unmanaged memory.
>>
>>53686443
Ah, so you weren't talking about build-systems.
In that case, what does C has to do with unmanaged memory and who said anything about C?
>>
>>53686409

All I'm doing is pointing out that avoiding "using" with namespaces isn't limited to C++ as Anon is suggesting.
>>
>>53686529
Shut the fuck up faggot nobody is suggesting that.
>>
>>53686343
garbage collection isn't perfect anon
>>
>There will be two city names listed per line, separated by a tab character; the first city on the line is adjacent to the second city on the same line.
how do i do this in java?

startCity = stream.next();
stream.next();
endCity = stream.next();
stream.nextline();

seems a little hacky
>>
>>53686570
The Scanner will automatically filter whitespace for you. What kind of whitespace is filtered can be manually set at the stream variable. By default it's spaces, tabs, newlines, etc. The next() method will treat the entire input as a single sentence and parse it word for word.
>>
>>53686550

Did you even read the post I quoted?

>It's just a remnant of when languages had separate header files.

Ruby and Python don't use headers like C and C++, and yet "using" a namespace like that is discouraged in them just as it is in C++. That is what I am pointing out.
>>
>>53686670
Shut the fuck up faggot that doesn't even make sense.
>>
why wont this line work?

says the method in the type WordDef is not applicable for the argument String
>>
>>53686720
forgot pic
>>
>>53686739
Post the setDefinition method.
>>
>>53686784
>>
File: my-brain-is-full-of-fuck.jpg (13 KB, 268x268) Image search: [Google]
my-brain-is-full-of-fuck.jpg
13 KB, 268x268
>>53686798
>>
File: maxresdefault.jpg (39 KB, 1280x720) Image search: [Google]
maxresdefault.jpg
39 KB, 1280x720
Looking for a project to practice Rust in. Any recommendations?
>>
File: 1434335000916.png (1 MB, 1280x720) Image search: [Google]
1434335000916.png
1 MB, 1280x720
>>53686813
s-sorry

getDefinition didnt work so idk why I thought making the same method with a different name would work

im just desperate
>>
>>53686798
Well, your setDefinition doesn't take in any parameters...

Replace it bt
public void setDefinition(String newDefinition) {
definition = newDefinition;
}
>>
>>53686850
it works!

thanks a lot my friend, sorry for the bother
Thread replies: 255
Thread images: 35

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.