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

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 323
Thread images: 40

File: 1437744674246_L-G9KLfHMeI.png (213KB, 400x450px) Image search: [Google]
1437744674246_L-G9KLfHMeI.png
213KB, 400x450px
What are you working on, /g/?

Old thread: >>59770318
>>
>>59775004
SBCL
>>
File: 1490636865171.jpg (46KB, 462x500px) Image search: [Google]
1490636865171.jpg
46KB, 462x500px
>>59775004
Thank you for posting an anime image.
>>
>>59775004

Is it possible to write a driver or use a library to communicate with an embedded computer through SPI or UART or similar out of a VGA port?
>>
>>59775043
Yes
>>
File: udy1nj7i27ae6xzzsa1a.jpg (28KB, 620x470px) Image search: [Google]
udy1nj7i27ae6xzzsa1a.jpg
28KB, 620x470px
How is everyone enjoying their SBCL today?
>>
SBCL is too complex of a language. Like C++ it's too big to be good.
>>
>>59775091
Luckily, SBCL isn't a language.
>>
>>59774984
Oh just kill yourself then.
>>
>>59775091

CL is a significantly smaller language, at heart, than C++ is. The stdlib is big yeah but C++ doesn't have a stdlib, besides Boost, and only autists use Boost
>>
Which is the best language for programming in and why is it Norwegian?
>>
What does CL even have over C-based languages?
>>
File: 1426202408336.png (690KB, 569x802px) Image search: [Google]
1426202408336.png
690KB, 569x802px
>>59775163
>C++ doesn't have a stdlib
>>
>>59775242
Do you really need to ask this?
>>
>>59775075
I prefer Scheme
>>
>>59775258
yes

i only know of CL as that )()()()()()()()() meme language
>>
>>59775061

Can you please write it for me and then walk me through line by line how to do it?
>>
>>59775276
https://www.youtube.com/playlist?list=PL8FE88AA54363BC46
>>
>>59775266
Yah me too, but we shat the last thread up pretty well with SBCL and I want to do it again.
>>
>>59775296
Very well, proceed.
>>
>>59775291
I'm not gonna sit through 30 hours of video, also that's scheme.
>>
The only languages you need to know are statically typed ones and a Lisp.
>>
File: sbcl.jpg (95KB, 400x334px) Image search: [Google]
sbcl.jpg
95KB, 400x334px
>>
>>59775004
Why can no other programming language be as good as java?
>>
Is SBCL the new meme?

what do you guys think of Clozure?
>>
>>59775533
u best be avin a giggle m8 i fookin swair
>>
>>59775562
CLASP is a meme
https://github.com/drmeister/clasp
>>
Uh, what is SBCL?
>>
>>59775586
Stanford-Boston C Linker
>>
why did the clojure team butcher lisp so hard, the syntax is so bad
>>
>>59775586
Steel Bank Common Lisp. It's what Maxima is written in.
>>
I looked at a tutorial for common lisp and what was supposed to be a simple ID3 tag parser that could be handled by creating a struct from a few char * pointers becomes a giant verbose mess.
I didn't even see array indexes or data offsets anywhere in the code examples.
>>
is anyone doing anything interesting.

I really dont get why these threads always focus on language wars. nobody cares about this shit guys
>>
>>59775690
Language matters.
>>
>>59775689
>few char * pointers
>struct
>data offsets
Why would you use that in Common Lisp?
>>
>>59775689
Then create a struct.
>>
>>59775729
A good programmer can learn intermediate features of any language in 4 days max.

The data structures/algorithms/patterns you use in said language is far more important.

The language will almost never be the bottleneck.

So no, it really doesn't matter.
>>
>>59775763
Enjoy your PowerPC assembly project.
>>
>>59775763
Yes, it does. Don't try telling me someone can be as productive in C as they can in CL. They can't.
>>
>>59775815
Find me ONE (1) modern project written in CL
>>
foo[i] = bar;
++i;


ISHYGDDT
>>
>>59775830
NASA uses it in SHINE.
>>
>>59775830
https://github.com/sbcl/sbcl
92.1% CL
>>
>>59775830
Not an argument. A thousand peasants in a field using sickles doesn't make them more efficient than scythes.
>>
>>59775861
Right, you have a good day.

I'm filtering "lisp" and "CL" from now on.
>>
Today I'm working on an interpreter for a domain specific language for game logic in a game I'm working on.
>>
I'm working on a 3d engine that uses WebGL and wanted to implement skyboxes.

A skybox is just a panoramic image of a scene, but it's stored as six textures known as a cubemap. Unfortunately, most panoramas people take (and share on sites like Flickr) are not in this format, but are instead stored as an equirectangular panorama.

So wanting to uses these equirectangular panoramas with my engine, I wrote a simple web tool which converts an equirectangular panorama to a cubemap. Pic related.

Under the hood it uses the Canvas API to manipulate the pixel data, which is kind of cool. Browsers can sometimes be used for things normally implemented as a native app.
>>
>>59775763
Usually a language is an easy matter, there are special requirements that need some time to be migrated from one framework to another,
Some frameworks in the same language work in a very different way
>>
>>59775903
That's pretty sweet
>>
File: 33834765675_7f360afdee_h.jpg (689KB, 1600x800px) Image search: [Google]
33834765675_7f360afdee_h.jpg
689KB, 1600x800px
>>59775903
Here's the original panorama for comparison. I've almost finished implementing the tool, so I'll upload it to Github for anyone else who'll find this useful.
>>
>>59775874
Do you enjoy being willfully ignorant?
>>
>>59775840
What's the problem? if you think foo[i++] is better when building an array, the separate increment can aid in extending the code.

foo[i] = malloc(...);
foo[i]->bar = ...;
foo[i]->quux = ...;
i++;


Instead of finding the last use of i and adding a post increment to it, it can be be clearer to increment after all processing on foo is done.

Especially when you may need to recover from an error in initializing a member, if the calling code(or the function itself) needs to be able to free associated resources when allocating the node fails an increment makes the array 1 member too long. So your "length" field is incorrect.
>>
good thread
>>
File: sunGif.gif (837KB, 500x500px) Image search: [Google]
sunGif.gif
837KB, 500x500px
Doing a basic Java OOP project for college.
I have 3 classes; Basic, Container and MainApp.

I have several Methods in the MainApp and
I'm wondering is it better practice to move as many as I can (Methods) out of the MainApp and into the Container Class?


Example of a Method I have in the MainApp, that I'm considering moving.
>inb4 I know my code is bad :^)

    public static void createCarSpace() {

System.out.println("*** ADD CAR SPACE ***");
boolean validLZ = false;
boolean validL = false;
boolean validZ = false;
String location = null;
String zone = null;
char zoneChar = '\0';

while (!validLZ) {
while (!validL) {
System.out.println("Enter a Location (For single digits add '0'; e.g 02,07)");
System.out.print("-> ");
location = keyboard.nextLine();
if (location.matches("[0-9]+") && location.length() == 2) {
validL = true;
} else {
System.out.println("OUT OF BOUNDS ");
}
}
while (!validZ) {
System.out.println("Enter a Zone (a-z Lowercase)");
System.out.print("-> ");
zone = keyboard.nextLine();
if (zone.matches("[a-z]+")) {
validZ = true;
} else {
System.out.println("OUT OF BOUNDS ");
}

}
zoneChar = zone.charAt(0);
boolean doesExist = c.doesThisExist(location, zoneChar);
if (doesExist) {
System.out.println(" (" + location + "/" + zoneChar + ") Location/Zone combination already exists. ");
validL = false;
validZ = false;
} else {
validLZ = true;
}

c.addCarSpace(location, zoneChar, type, false, cost, width, length);
}
>>
>>59776141
good post
>>
>>59776171
classes represent data, not functionality. Move functions to the data they belong to.
>>
>>59776264
Unnecessary coupling. Make functions as generic and reusable as possible.
>>
Hey so I'm a beginner to programming, but I've always heard C++ was the best to learn because of its usefulness.

But I'm learning from YouTube videos that C++ is obsolete and no one uses it anymore.

Is this true? Should I just learn Java and C# instead?
>>
>>59776279
Learn python you piece of shit
>>
>>59776279
C++ is deprecated
>>
>>59776279
> C++ is obsolete and no one uses it anymore
c++ wont be obsolete until something replaces it.

I don't like nor use c++, but I know people definitely still use it
>>
>>59776171
You should probably drop out while you can. Where do they teach you to code like that, holy shit.
>>
>>59776279
2/10
>>
>>59776279
Learn Lisp.
>>
File: 1491490074292.jpg (56KB, 559x469px) Image search: [Google]
1491490074292.jpg
56KB, 559x469px
>>59776264
I kind of understand.
My question is should I aim to have less methods in the Main Class ( My menu ).
And more in the my Container Class; which holds the ArrayList?
>>
>>59776289
>>59776299
>>59776302
>>59776308
So no to C++?

>>59776305
Thanks, anon. Do you feel better now?
>>
>>59776321
It depends on what you're doing.

Is the thing you're making computationally expensive? Does it need to be done in a reasonable time frame?
>>
>>59776314
You should usually have 33% in your container class and 66% in the main (so called menu) class.
>>
>>59776304
This is rough code I put together quickly.
Its not final. I've only begun but I'd still appreciate the criticism if you could elaborate on what you see as wrong as perhaps I could learn something :^) (Not joking)
>>
>>59776346
Really? Even in my basic program;
where most of the Methods are centered around the ArrayList and using it?

Or are you stating this as 'programming in general'?
Besides thanks for the feedback.
>>
How do you build C or C++ for an LPC810?
>>
>>59776342
I'd like to get into either video game development or software development.
>>
>>59776171
what year is this?
>>
>>59775004
im not working on anything atm but i really like the cirno pics on the /dpt/
>>
>>59776363
It's both a general thing and applies to your program. In fact, it applies to every program. It's basic knowledge like "don't use gotos"
>>
>>59775004
Anyone point me in the right direction as to why this doesn't return anything when I run it?
friends = ["Joe", "Zoe", "Brad", "Angelina", "Zuki", "Thandi", "Paris"]
def linearSearch(xs,target):
"""Find and return index of target in sequence xs"""
for (i,v) in enumerate(xs):
if v == target:
return i
return -1
>>
>>59776420
Don't listen to this guy, the ratio should be 40:60 not 33:66
>>
>>59776386
Most people use C# for video games.
However, the underlying engines are C++.

This means the expensive parts such as input/graphics rendering/component system are all connected with C++, then C# is interface with the engine and design the actual game.
>>
>>59776435
>Joe, Zoe, Brad, Angelina, Zuki, Thandi, Paris
>not Joey, Rachel, Ross, Monica, Phoebe, Chandler
>>
>>59776448
>t. mainlet
>>
>>59776435
I just put this code into my IDE and it runs no problem.
>>
>Java
>using .get from hashtable
>want to verify that the key exists in the hash table before using its data

Right now what I am doing is essentially checking if the table contains the key, then reading the value from the key. Is there a way to do this only accessing the table once per transaction?
>>
>>59776466
The majority are in C++.


Indie dev trash doesn't count.
>>
I have an array of chars and I want to choose one of these strings at random. What's the best way to do this?

char Pokemon_Database[] = {        //Pokemon Array Strings, [0] = Bulb; [150] = Mew
"Bulbasaur"
"Ivysaur"
"Venusaur"
"Charmander"
"Charmeleon"
"Charizard"
"Squirtle"
"Wartortle"
"Blastoise"
"Caterpie"
"Metapod"
"Butterfree"
>>
File: 1463149717107.jpg (102KB, 540x540px) Image search: [Google]
1463149717107.jpg
102KB, 540x540px
>>59776448
>>59776420
By looking at other replies I should be concerned more about my coding than what Method to Class ratio I use.
Its a shame because I'd really appreciate some feed back more so than just:

>>59776304
>>59776400

Seriously though. What is it Structure, Variable Names? Number of tab's?
>>
>>59776496
Using a random number generator, obviously.
>>
>>59776496
srand?
>>
>>59776480
Really? I don't get any return, no -1 or 0
>>
>>59775075
who'se the dude who looks like joseph gordon levitt?
this movie is too old to be him
>>
File: 1473385483259.jpg (37KB, 348x342px) Image search: [Google]
1473385483259.jpg
37KB, 348x342px
>>59776466
>>59776492

I'm still very confused.

From what I've googled, it seems Java and C# are the best to learn, along with Python and Javascript.
>>
>>59776496
Randomly generate an int within the size of your Array -1. Then use that to call the index.
>>
>>59776492
Did you even read what I wrote?
Not even AAA companies with in-house engines use C++ for their actual game logic. That's stupid.

Then again you probably don't have a clue what you're talking about.
>>
>>59776480
>>59776512
nvm, using a print() returns the value. Is there any better way to see the result?
print(linearSearch(friends,"Zoe"))
seems kind of awkard.

I guess I could add a print(i) inside the function right before the return?
>>
File: Untitled.png (14KB, 607x295px) Image search: [Google]
Untitled.png
14KB, 607x295px
>>59776512
Yup. How are you checking for the return?
>>
>>59776500
I think the other problems stem from your ratio problem. Things like declaring booleans inside functions and while loops after while loops should not happen in 2017.
>>
>>59776517
>game dead
>Python
>JS

anon...

>>59776529
That's flat out wrong. Most AAA devs still use C++ for the vast majority of everything. Any AAA dev using UE4 is C++/blueprints, Any AAA dev using Frostbite, Cryengine are C++. Bethsoft is C++, and it goes on.
>>
>>59776531
What do you mean when you say "see the results". What is the purpose of this function in the first place? Printing the "result" is just a easy way of debugging and making sure the function is working and it is.
>>
File: 1491048577290.png (67KB, 385x367px) Image search: [Google]
1491048577290.png
67KB, 385x367px
>>59776546
>anon...
It's like you think I understand what's wrong with this.
>>
Aspiring backend web developer working on a project for my portfolio. I'm making a library that gets all the data on a youtube video given a url (including the information needed to download them) that I'm going to stick on github, then make a basic web app that utilizes the library to provide a download of the video/audio. In order to figure out how to do this (which urls give what data and how to parse them for the data) I dissected a library of somebody who already did it on github. Now that I'm writing my own library I feel as though it is too similar to the library I gathered info from; I don't want to just copy and rehash their code but that's what it's feeling like at this point. Problem is that there isn't really any other way of doing it. What should I do?
>>
Common Lisp is the goto language for video games now. You have unlimited expressitivity with macros and can make DSLs for anything specific like UI, etc.
>>
>>59776566
May I offer you a std::endl
>>
>>59776575
Other languages can do that thing without macros, though.
>>
>>59776581
have fun writing a compiler for your DSL i n other languages that aren't intended for it.
>>
>>59776580
Dumb sepplesfag.
>>
>>59776586
>what is an EDSL
>>
>>59776546
>That's flat out wrong
Nope.

UE4 is Blueprints.
Nobody uses CryEngine anymore.
I haven't seen dev commentary from Bethsoft on their game logic so no comment there.

>Most AAA devs still use C++ for the vast majority of everything
>Using C++ even for dialogue
>Not just using Lua or another language to parse it
Guess that explains why most AAA's are garbage.
>>
>>59776575
I like this meme a lot better than the ones y'all had before. Keep it up
>>
>>59776545
Thanks;

>Boolean
Where would it be better to declare booleans? In the Main?

>While Loops
What would be a better alternative to validating that the user entered data is correct in format for two separate variables?
>>
>>59776506
>>59776507
>>59776522

something like this?


srand(time(NULL)); //Random now dynamic, tied to system clock

int Random_Pokemon = rand() % 151;

for (int i = 0; i < 151; i++)
{
if (Random_Pokemon==Pokemon_Database[i])
{
cout << Pokemon_Database[i] << endl;
}
}

I don't need to loop 151 times do I? But how else would I compare index to random value?
>>
>>59776593
Go ahead, tell me how you're going to write them in X language when CL has it built in.
>>
>>59776613
Do notation
>>
>>59776619
Enjoy your very limited syntax while I have the entire language at my disposal.
>>
>>59776612
Break out of the for loop once the if condition has been met? Why are you still looping if your random pokemon already has been found?
>>
>>59776628
Enjoy having to implement your own type system.
>>
>>59776635
Are you retarded? You don't need a strong type system when the compiler can handle it for you.
>>
>>59776555
Nvm, you're right, I for some reason expected return to just always print whatever it's returning to the console, which would be retarded.

It's used here
def unknownWord(vocab,wds):
result = []
for w in wds:
if linearSearch(vocab,w) < 0:
result.append(w)
return result
to find unknown words. It's from here:http://openbookproject.net/thinkcs/python/english3e/list_algorithms.html
>>
>>59776649
The fuck are you talking about?
>>
>>59776652
Do you even know what Common Lisp is?
>>
File: 1436028324059.png (31KB, 213x214px) Image search: [Google]
1436028324059.png
31KB, 213x214px
>>59776546
>>game dead
>>Python
>>JS

What the fuck are you even trying to say anon? Seriously... are you autistic?
>>
>>59776635
>>59776652
CL has types, bud.
>>
>>59776657
A dynamically typed abomination with the complexity of C++ and none of the benefits.
>>
>>59776657
Yes, it's dynamically typed.

A great type system at runtime is useless.
>>
>>59776612
You shouldn't have to loop.

You generate the int
Then call that int
Pokemon_Database[Random_Pokemon]


You shouldn't have to loop to check the index exists as the range of the random number generated
shouldn't generate an int outside of the size of the Array.

Also I'd change the '151' to [code[Pokemon_Database.size -1 As this makes it dynamic id you change the Array size at a later stage.
>>
>>59776610
All data types in java have a wrapper class. You should use them for your declarations.
As for harmful while loops as input validation read this article. It discusses how you can do it without external APIs or frameworks.
http://www.javaworld.com/article/2076272/java-se/validation-with-pure-java.html
>>
>>59776651
That can be implemented better using if in and lambda but that works alright.
>>
>>59776634
how can I break when if is met? Is it literally just.


for(int i =0; i<150; i++)
{
if(Random_Pokemon == Pokemon_Database[i]){
break;
}

}


Or would it literally just be


for(int i =0; i== Random_Pokemon; i++)
{
if(Random_Pokemon == Pokemon_Database[i]){
}
cout << Pokemon_Database[i] << endl
}


Something like that?
>>
>>59776669
Are you retarded? Do you understand how Common Lisp works? It doesn't need a type system even at runtime.
>>
>>59776687
Ignore my post I am retarded and I thought you were searching with possibility of it not being in the array. Do this instead >>59776673
>>
>>59776660
Only autistic person here is you for having hard time trying to figure out the meaning of a typo based on the context. A common trait of autistic people.
>>
>>59776691
CL uses a type system.
>>
>>59776702
optional
>>
>>59776684
Thanks Anon.
I wasn't aware of the wrapper class before.
>>
>>59776712
Lisp objects have types. The programmer can declare types if they wish, however.
>>
Yo. I have to write a CRUD application in C# using MVVM. It's not bad.
What I'm having trouble with is the concept of opening a window and transferring data to it.
So, your view isn't supposed to mess with View Models, and your view models aren't supposed to create views.
So what the fuck do you do?

One solution is dependency injection, which is to create an instance of a window object using a Button Click event and pass an object into the window's constructor, which will dump it into the view model, which I think is bad because it violates MVVM principles.

I can write a command which sends the object using IoC and messaging, but then how the fuck do I create a window while following MVVM principles? You're not supposed to create a window in a view model.
>>
>>59776702
>>59776722
How expressive are its types?
>>
>>59776722
...And compiler takes those declarations and builds efficient code when asking for speed, or safe code when asking for safety.
>>
</>
is this the worldwide symbol for programming/programmers?
is it {}
?
[]
?
>>
>>59776740
You can have the types depend on values if you want.

>>59776741
Yep. Doesn't change the fact the underlying system uses types though.
>>
>>59776749
>implying structured representation of data is ``programming"
>>
>>59776749
> </>
Please keep that trash outta here.
Web developer are not programmer
>>
>>59776749
You are confunding Fortran based programmers that don't even know they are Fortran based with """""programmers""""".
>>
>>59776749
> </>
Do people not realize this isn't webdev gen?
>>
>>59776777
Can't argue with those trips.
>>
>>59776758
When are they checked and enforced?
>>
>>59776797
Compile time.
>>
>>59776804
Then how is it that no other mainstream language has yet gotten dependent types?
>>
>>59776797
runtime
>>
>>59776819
CL isn't what I'd consider mainstream nowadays.
>>
File: misty-and-togepi.jpg (344KB, 705x606px) Image search: [Google]
misty-and-togepi.jpg
344KB, 705x606px
>>59776698
>>59776673

It worked, thanks guys. :)
>>
>>59776832
It's certainly more mainstream than, say, Idris.

I'm asking because I suspect there's a catch, because it seems very unlikely that research languages are only just catching up to CL's type system.
>>
>>59776829
Compile time as long as the type specifier's expansion is fully defined. I guess you could write an ill-defined type specifier. A compiler is free to ignore or bitch at you for it though.
>>
>>59776851
Ah, you see that's not actually dependent types. If all the values depended on have to be constant, it means you can encode them as types, and you have something more along the lines of System F in power.
>>
>>59776700
>Only autistic person here is you
Wrong.
>>
>>59776861
They don't need to be constant.
>>
>>59776874
Then what do you mean by fully defined?
>>
>>59776881
One example is if your type specifier expands into another type specifier that does not exist.
>>
>>59775004
 
let x = filter (isPrime) [2..2000000] in foldl (*) 0 x
>>
>>59776896
Or rather, this is an example of when it is ill-defined.
>>
>>59776896
>>59776905
I'm not convinced, can I see an example?
>>
Why doesn't make include the -j flag by default?
It literally sped up my build times 8 fold.
>>
>>59776918
Because computers normally don't have more than one processor.
>>
>>59776897
declarative languages are NOT programming
>>
>>59776924
Are you living in the 90s?
>>
>>59776918
>minimal rebuild isnt enabled by default in msvc
>instant compiles
>>
>>59776938
Are you living in the future?
>>
>>59776935
imperative is just declarative with continuation passing
declarative is just imperative with single static assignment
>>
>>59776938
90s were the second best decade
80s were the best decade
>>
Is there a method for C++ vectors that work like Java's ArrayList.set(index, element) method? I figured it would be the assign method but it does not do what I expected.
>>
>>59776984
vec[i] = element;
>>
>>59777008
Tried that after posting, didn't work either which is stupid
>>
>>59776984
assign() seems to be for initializing or totally overwriting an existing vector, to set individual elements you can just use array notation. And that's more readable than a function call anyways.
>>
>What are you working on, /g/?
A tool that aggregates and categorizes bank transactions.

>Why?
Banks make automated access to information inconvenient or expensive. For example:
* Citizens Bank requires you to request and pay for Quickbooks support
* Venmo: Used to offer an API then were bought by Paypal who shut the free API down and required users to pay for the same functionality.

I also like budget management software like YNAB, but I don't care for the monthly fee or a third party hanging on to my transactions. Additionally, YNAB doesn't work properly for my bank since it produces duplicate transactions.

I am addressing both of these issues by aggregating transactions from the services that I use (Citizens Bank, Fidelity, Venmo) then classifying them based on user defined rules. The rules are defined in a text file, similar to linux's udev rules, which allow you to do things like say if the transaction description matches the regular expression '*DUNKIN DONUTS*', place it in the food category. Or you could define a rule that treats a transaction as an instantaneous transfer between accounts instead of as a debit on one side then credit on another (since the banks might take a couple days to process such transactions). Finally, there is a visualization view that lets you see your balance over time, spending breakdown, and other stats.

>How?
Python 3 + Selenium (web scraping) + Qt (gui toolkit) + rencryptor (used to encrypt bank credentials under a master password).

If I release this under GPLv3 on github and make it simple to add support for your own banks, would any of you be interested in using this? Trying to gauge interest since if people really want it I should focus on modularity and making it easy to add support for banks.
>>
>>59777018
What exactly do you mean by "didn't work"? Were there any compile-time or run-time errors? Warnings? Are you sure the index isn't out of bounds?
>>
>>59777040
>trusting some random anon with your bank account
>>
>>59777040
No you may not scan my bank account.
>>
>>59777026
>>59777041

binary '=': no operator found which takes a right-hand operand of type

Entry<K, V> *temp = new Entry<K, V>(key, value);
myVector[i] = temp;
>>
>>59777051
Nope, the code would be open source and run entirely locally on your machine. There are no web services involved. The code for each particular bank determines how to fetch and persist its data.
>>
>>59777051
I mean if he releases the code on git you can check the code yourself. I would start worrying if he starts running data off to some server tho.
>>
>>59777064
How is myVector declared?
>>
File: C5S95ikWIAAS_zg.jpg (36KB, 809x390px) Image search: [Google]
C5S95ikWIAAS_zg.jpg
36KB, 809x390px
            Console.WriteLine("What year did you graduate?");
//1998
string var = Console.ReadLine();

int x = new int();
x = 0;

//for each pass, go to the next digit in var and add that to x

x = x + Int32.Parse(var.Substring(0, 1));
x = x + Int32.Parse(var.Substring(1, 1));
x = x + Int32.Parse(var.Substring(2, 1));
x = x + Int32.Parse(var.Substring(3, 1));

Console.WriteLine("the sum of the digits of the year you graduated is " + x);
//should be 27 (1+9+9+8)
Console.ReadLine();



maybe the var is asking for a phone number (10 digits)

how do i get this to loop through the index locations within the string, despite the # of digits so i don't have to rewrite "x = x + Int32.Parse(var.Substring(0, 1));" in it's various forms?
>>
>>59777092
>>
>>59777091

std::vector<Entry<K, V>*> myVector = new std::vector<Entry<K, V>*>();
>>
>>59777092
>>59777097
For loop?
>>
File: 1490824857991.gif (932KB, 258x258px) Image search: [Google]
1490824857991.gif
932KB, 258x258px
for programming to be so straight forward there always seems to be a problem that no one's identified yet. Is computer science a phenomenon in and of itself?
>>
HOLY SHIT I JUST FIGURED OUT A WAY TO FORMALIZE BORROWING WITH DEPENDENT TYPES
>>
>>59777105
having trouble with the for loop right now, it seems when it gets to the end and i need to reassign the var it breaks
got a good example?
>>
>>59777109
writing software could be considered a mature field, except webdev faggots keep fucking it up by inventing new and exciting ways to squander your system resources.
>>
>>59777104
What's the purpose of the asterisks? Are you trying to create a vector of POINTERS TO ENTRIES rather than a vector of entries?

Also, you should put an asterisk immediately before the first occurrence of "myVector" since new returns a pointer.

Finally, how are K and V defined? I'm assuming Entry is a template class taking two typename/class parameters, in which case the code obviously wont work unless K and V are already declared as classes or typedefs.
>>
>>59777126
And other devs insist on using garbage like Java and Python.
>>
>>59777120
Why would it break? I don't use C# so i can't write code off hand for you but there is no reason why using a for loop and incrementing by 1 for each loop would break the loop.
>>
>>59777152
my bad, i didn't include the bottom piece of code.
            //for each pass, go to the next digit in var and add that to x

x = x + Int32.Parse(var.Substring(0, 1));
x = x + Int32.Parse(var.Substring(1, 1));
x = x + Int32.Parse(var.Substring(2, 1));
x = x + Int32.Parse(var.Substring(3, 1));

Console.WriteLine("the sum of the digits of the year you graduated is " + x);
//should be 27 (1+9+9+8)
Console.ReadLine();

Console.WriteLine("and the dum of those digits is " + x);
//take x and shove it back into var within the 'for loop'
// should output 9 (2+7)

i'm not sure how to shove the result back into the var to be reused in the next level loop
>>
>>59777148
That's because they're library languages and they're not really interested in implementing anything themselves.
They're either lazy or they don't know how, and it's almost always the latter.
Today, you're expected to google when it gets hard, and people shit their pants in those whiteboard interviews because you can't use google on the spot.
>>
>>59777145
I thought you had to assign it to be a vector of pointers rather than just objects because the entries are being instantiated with new? And yeah my editor froze so I had to type it out, I do have the vector itself declared as a pointer.

Yes, Entry is a template class with K and V parameters
>>
>>59777119
Literally who cares?
>>
>>59777167
Why not just split the string into their individual elements instead of parsing the substring. I am sure there C# has a split right?

That is what I would do.
>>
>>59777189
non-brainlets
>>
>>59777176
You do realize C has a shit ton of libraries as well that could make any retard do fine in it.
>>
>>59777195
ah, something new for me to look up... thanks!
gonna go read up on "split"
>>
>>59777198
Dunno about him but I'm certainly not advocating using C instead.
>>
>>59777187
>I thought you had to assign it to be a vector of pointers rather than just objects because the entries are being instantiated with new?
If you're using new, then yeah you have to use pointers. However, keep in mind that you don't HAVE to use new to instantiate classes, you can do Object object("foo") to create a stack-allocated object and call its constructor. And okay, so K and V are the parameters, but in your code, when declaring myVector, do you actually write the typenames instead of K and V, for example if you have a template class defined as

template<typename T>
class Object {
//blah blah blah
};

you can't later do
Object<T> object = new Object<T>();

Because "T" is just a placeholder, you have to give it an actual typename when declaring objects of template classes.
>>
File: meme.jpg (6KB, 284x177px) Image search: [Google]
meme.jpg
6KB, 284x177px
>>59777176
Tfw your 70k line python code base for distributed storage doesn't count as implementing anything because some guy on 4chan thinks he's better at programming than you but you still make 100k a year
>>
>>59777244
The class I'm working inside also has K and V defined; I'm basically making a simple Map class to test some things, and this was the only issue I ran into so far. By making the vector contain entries instead of pointers it lets me assign, but my null checks are broken but that's not unfixable.
>>
I have a function that uses realloc in it. How am I supposed to error handle
if(!varThatWasUsedForRealloc)
?

If I return or exit from the function then I won't be able to free the memory and close the file I'm reading, unless I duplicate those statements but that just seems ugly.
>>
>>59776490
Use .get and check for null a bull value after the fact.
>>
fizz :: Int -> String
fizz n | n `mod` 15 == 0 = "FizzBuzz"
| n `mod` 3 == 0 = "Fizz"
| n `mod` 5 == 0 = "Buzz"
| otherwise = show n

main :: IO()
main = mapM_ putStrLn $ map fiz
>>
>>59777377
average functional poster
>>
>>59777377
Nice, but how big is the binary?
>>
>>59777279

You can do like as follows:

#include <cstdint>
#include <vector>

template<typename K, typename V>
struct Entry
{
};

using EntryT = Entry<int8_t, uint32_t>;

void fn (void)
{

std::vector<EntryT*>* vv = new std::vector<EntryT*>();
// SEE THE * RIGHT ^--here

(*vv)[0] = new EntryT();
}


The problem in your original code was you were doing `std::vector<T> vec = new std::vector<T>();` where the RHS of that is giving you a pointer via operator new.

Also to remember keep in mind C++ will not destruct objects created via new, you must delete them yourself.

Once you understand better C++ memory semantics I suggest avoiding using operator new much of the time -- know whether you need the object's lifetime to exist once your current stack frame is done or not!
>>
File: LainDressSlow.gif (21KB, 305x354px) Image search: [Google]
LainDressSlow.gif
21KB, 305x354px
I tried learning C# and Java, but they're so very depressing to use compared to programming in, for example, C. I don't know why; perhaps it's because I associate them with enterprise software. It's not hard--just soul crushing.
Has anybody else experienced this?
>>
>>59777377
mapM_ (putStrLn . fiz) [1..100]
>>
>>59777417
Not programming in C makes you a braindead loser.
>>
Stupid question for assembly (NASM)

section .data
hello: db 'Hello World!' ,10
hello: equ $-hello


how does the third line give the length of the 'Hello world!' string, what does $ - do. Does it just find the number of bits it takes and stores it as a constant? I don't what the $- are.
>>
>>59775004
Visual basic is objectively the best programming language, ever.
>>
C#
if (x = 0) || (x > 9)

CS1525 Invalid exprsseion term "||"
CS0029 Cannot implicitly convert 'int' to 'bool'

AAAAAARRRRGGGHHH!!!!

wtf am i doing wrong?
>>
>>59777417
They are awful languages designed to solve boring problems. Learn Erlang or Rust or Kotlin or something if you're looking to expand beyond C.
>>
>>59777436
I think $ basically means "the current position in the assembled code" (which right now is just at the end of the string) and then has the beginning of the string subtracted from it, giving the length.
>>
>>59777417
No, you're being dumb. There's slightly more boilerplate in OO oriented languages but you can achieve the same thing in basically the same way.
>>
>>59777451
Use a double equals sign, and try surrounding the whole conditional in parentheses.
>>
>>59777455
that makes perfect sense, thanks.
>>
>>59777417
>It's not hard--just soul crushing
What? C is widely used everywhere too.
I don't get what you mean by soul crushing.

>>59777454
>Use languages that nobody else uses.

Oh, so you're just being contrarian.
Not surprising.
Stick to C or x obscure language then.
>>
>>59777451
if((x == 0 || x > 9)
>>
>>59777470
>>59777451
whoops
if(x == 0 || x > 0)
>>
>>59777464
>>59777470
<3
thanks!
>>
>>59777415
This worked, thanks a ton! I really appreciate the advice as well, thank you anon
>>
>>59777479
see
>>59777480
>>
>>59775376
>statically typed
Such a thing doesn't exist.
>>
with: n

: num? \ n f -- )
if drop else . then ;

\ is m mod n 0? leave the result twice on the stack
: div? \ m n -- f f
mod 0 = dup ;

: fizz? \ n -- n f
dup 3
div? if "Fizz" . then ;

: buzz? \ n f -- n f
over 5
div? if "Buzz" . then or ;

\ print a message as appropriate for the given number:
: fizzbuzz \ n --
fizz? buzz? num?
space ;

\ iterate from 1 to 100:
' fizzbuzz 1 100 loop
cr bye
>>
File: 1488159995163.jpg (193KB, 1300x1244px) Image search: [Google]
1488159995163.jpg
193KB, 1300x1244px
>>59777458
>>59777469
What I'm trying to say is that they don't feel "fun" to me. I simply can't figure out why this is. As an example, if I start a project in C, I'm filled with excitement and motivation. I don't feel this when I do similar projects in C# and Java.

>>59777454
I plan on trying to learn functional languages.

>>59777480
I'm not trying to be rude, but you shouldn't be asking for help with such trivial problems like these. It will be detrimental to your future learning and ability to problem-solve.
>>
>>59777556
>What I'm trying to say is that they don't feel "fun" to me
It most likely has something to do with them being complete garbage.
>>
>>59777469
Well, that was not the intent. I suppose I should have given a bit more context. I assumed there was some amount of desire to learn new things or new ways of thinking about solving problems.

Erlang -- provides a really neat concurrency model. Learning Erlang can give insights into how you might structure concurrent programs in other languages.

Rust -- Memory autism can help you think more about how to consider object lifetimes in your program.

Kotlin -- idfk I just tossed this out because I see people talk about it on occasion.

Other languages that have value for thinking:

Lisp -- Self-modifying programs are really neat.

FORTH -- Using computation to solve problems rather than programming to solve problems can expose alternative ways of thinking about the stuff you're doing and help you understand the machine a little better.

There are educational reasons to learn so-called obscure languages even if you will never use them on the job or for a major personal project.

Alternative to a new language, there are reasons to try to do new and different things with languages you already know, like building your own interpreter and other stuff in C or w/e.
>>
>>59777556
>it takes me days to write shitty languages
>finished in seconds with good ones
>>
>>59777556
>As an example, if I start a project in C, I'm filled with excitement and motivation
Well, I can't explain why you feel that way. I don't have a bias for which language I use. In fact language choice doesn't mean a damn thing to me. I use whatever accomplishes my goals the best.
>>
@59777620
Why the hell do you space your posts like that, plebbitor?
>>
>>59775004
What's a good C# project to keep me busy and interested?

I just finished reading and taking notes on syntax and I can write okay I just didn't have a project planned and now I'm stuck.

thanks
>>
>>59777652
>good C# project
Such a thing is quite literally impossible.
>>
>>59777652
something that involves linked lists and databases, maybe some type of video organizer.
>>
>>59777620
I really wish Erland wasn't functional only
>>
File: iterative_sicp.png (51KB, 721x236px) Image search: [Google]
iterative_sicp.png
51KB, 721x236px
I can't understand this paragraph in sicp. I mean I can write iterative procedures on C, right? And their growth of memory should be constant, right? Just like this small Python procedure:
def add (a,b):
if b==0:
return a
else:
return add(a+1,b-1)
>>
File: 1452365789104.png (105KB, 485x500px) Image search: [Google]
1452365789104.png
105KB, 485x500px
>>59777596
>>59777621
Shitposting isn't helping, anons.

>>59777624
>I use whatever accomplishes my goals the best.
I agree 100% which is why I set out to learn C# and Java because I know their OOP design is useful for programming GUIs, and that I don't have to worry about memory nearly as much. Sadly, it seems I just don't enjoy working with them; so I'm going to learn C++ I guess.
>>
>>59777712
Python doesn't have TCO.
>>
after this semester should I buy the C book and learn C(did a bit of assembly did semester and now I want to learn C) or is it a useless thing to learn (like am I better off spending time learning something employers want)
>>
>>59777725
>POO design is useful for programming GUIs
This is blatantly false. You don't "know" it, you just heard it from some retards and believed it since you are probably one of their kind.
>>
>tfw no idea how make files work
>tfw can't do C because of this

Why can't there just be a easy way to compile C that doesn't require going through these hoops.
>>
>>59777735
>>>/g/wdg
>>
>>59777747
>tfw no idea how make files work
>tfw can't do C because of this
Who wrote that?
>>
>>59777737
You don't "know" your claims about OOP as well, you just heard it from some retards and believed it since you are probably one of their kind.
>>
>>59777747
Make is actually really powerful and convenient once the implicit and explicit rules make sense.
You set dependencies for your rules and then you create rules to build those dependencies
>>
>>59777765
I haven't made a single claim about POO in my post.
>>
>>59777747
# Declaration of variables
CC = clang
CC_FLAGS = -w

# File names
EXEC = out
SOURCES = $(wildcard *.c)
OBJECTS = $(SOURCES:.c=.o)

# Main target
$(EXEC): $(OBJECTS)
$(CC) $(OBJECTS) -o $(EXEC)

# To obtain object files
%.o: %.c
$(CC) -c $(CC_FLAGS) $< -o $@

# To remove generated files
clean:
rm -f $(EXEC) $(OBJECTS)



There you go, now you can compile just about every toy program you can imagine.
>>
>>59777747
>Install gprbuild
>
project Whatever is
for languages use ("C");
for main use "main.c";
end Whatever;
>>
>>59777812
who said that?
>>
/u/59777818
>>
>>59777737
How is it false? I've seen the source code of GUIs built with these languages, and it looks intuitive. I'm no fan of OOP, but it has its uses.
I also really, really don't want to use GTK.
>>
>>59777805
you should probably point out that OBJECTS = $(SOURCES:.c=.o) is a shortcut for
OBJECTS = $(patsubst %.c,%.o, $(SOURCES))
>>
>>59777805
>>59777834
Does order in which my source files compile matter?
>>
What's a quick, good rule of thumb for deciding what should go in a *.h rather than *.c/cpp/etc. Nothing I've read seems too conclusive.
>>
>>59777844
In C, each .c file is a separate compilation unit, linkage is resolved by copy pasting the entire header, that's what the #include directive does.
Anything that doesn't exist in the current .c file is assumed to exist elsewhere and this is resolved at linkage time, where you take all your separate object files and form the final executable.
>>
>>59777828
>How is it false?
Something which denies something which is true under any possible interpretation is obviously false.
>I'm no fan of POO
You don't have to be a fan of POO to be delusional. Which is a thing you've already demonstrated multiple times.
>but it has its uses
I think you mean "use" here. It has only one use, and that is to make anything written in it into complete garbage.
>>
Im writing a game with my brother and friend and they both want to write the engine. How can I convince these lads that it's a significant waste of time
>>
>>59777875
Use Godot.
>>
>>59777875
obviously show them the programming behind it.
>>
This is a stupid question, probably, but how do web crawlers not slow down to a crawl when the number of URLs to follow balloons exponentially and the links found near the start of the program are never reached?
>>
File: 1470341172739.jpg (45KB, 333x333px) Image search: [Google]
1470341172739.jpg
45KB, 333x333px
>>59777812
>>
>>59777884
>C++
>>
File: 1480483609814.jpg (44KB, 640x480px) Image search: [Google]
1480483609814.jpg
44KB, 640x480px
>>59777861
Are you okay, anon? Shitposting this much is not good for one's health.

>>59777812
Better than cmake?
>>
>>59777917
>Shitposting
Fuck off back to /b/ or wherever you came from.
>>
>>59777894
Who are you quoting?
>>
File: 14578901649.jpg (84KB, 1280x720px) Image search: [Google]
14578901649.jpg
84KB, 1280x720px
>>59777924
But shitting on something without anything to back up your hatred is a form of shitposting as it doesn't contribute to the thread other than bumping it, anon-kun.
>>
In Java, is it bad practice to mix floats and integers in math operations rather than specifying their type? e.g.

static final double DBL = 5.5;
...
double result = DBL * 11; // this
double result2 = DBL * 11.0; // or this


I know this is pretty minor in the grand scheme of things. Am I right in assuming the second one is preferred because the first one has a needless int->double conversion performed at runtime? I've always been doing it the first way without thinking about it because it worked the same anyway.
>>
File: 1460154349168.png (164KB, 319x354px) Image search: [Google]
1460154349168.png
164KB, 319x354px
>>59777950
Let's not tell lies. I see reading comprehension isn't your strong game.
>>
File: 1456117005164.png (116KB, 404x323px) Image search: [Google]
1456117005164.png
116KB, 404x323px
>>59777974
Whatever you say, anon.
>>
File: 1476318606361.jpg (272KB, 800x600px) Image search: [Google]
1476318606361.jpg
272KB, 800x600px
>>59778011
Who claims otherwise?
>>
File: random.webm (2MB, 700x560px) Image search: [Google]
random.webm
2MB, 700x560px
>>
>>59777917
That's personal preference
>>
File: 1472349296687.jpg (216KB, 700x700px) Image search: [Google]
1472349296687.jpg
216KB, 700x700px
>>59778032
The cutest girl in the 2D world.
>>
>>59775533
>>59775563
As verbose as it is, it's probably the most versatile and polished language with the largest library/documentation/community.
>>
File: 1490540156394.jpg (66KB, 546x618px) Image search: [Google]
1490540156394.jpg
66KB, 546x618px
>>59775533
>>59778066
This retarded pidgin-English shitposting happens with such frequency on this board I'm beginning to suspect it's steganography for the purposes of CP.
>>
I realized today that you can make earlier parameters' types depend on later arguments.
swap : ((a : A) -> F a -> B) -> F a -> (a' : A | a = a') -> B
>>
>>59778144
Second link meant for >>59778124
>>
   
int main(void)
{
char** var = foobar();
}



Let's say in this example that inside
    foobar();

I dynamically allocate memory and return that pointer* and assign it to
    var


Can I do free(var) to free the memory I dynamically allocated inside the function?
>>
>>59778151
Where does that happen in this example?
>>
>>59778182
3rd and 2nd last types. a is defined implicitly and can be used before a', which has a constraint to make it equal to a. So it's like depending on a later value.
>>
>>59777970
Use double if number is unknown, use float if number is known.
>>
File: 1489974235074.jpg (93KB, 577x575px) Image search: [Google]
1489974235074.jpg
93KB, 577x575px
>>59778144
My god you might be right. It's certainly less conspicuous than sink threads.
>>
>>59777875
Tell them anything they want to do has already been done and done better than whatever you guys can shit out.
>>
>>59778052
Just did a little test
A simple cmake file made 212kB worth of shit. Whereas, gpr made 14kB. Equivalent speed, and the gpr file is easier to read in my opinion.
>>
>>59777652
Make an excell clone and kill yourself
>>
>>59775763
Spoken like a programming newbie.
>>
>>59778207
Can you post the samples you used?
>>
>>59778222
Please answer the question.
>>
>>59775004
/* copyright pls no steal */
int size = 2000000;
long sum = 0;
boolean[] isPrime = new boolean[size];
Arrays.fill(isPrime, true);

isPrime[0] = false;
isPrime[1] = false;
for(int i = 2; i <= size/2; i++){
if(isPrime[i]){
for(int j = i*2; j < size; j+=i){
isPrime[j] = false;
}
}
}
for(int k = 2; k < size; k++){
if(isPrime[k] == true){
sum += k;
}
}
>>
>>59778151
>>59778191
That looks interesting. Can you show a simpler example in Idris?
>>
File: test.png (156KB, 1685x932px) Image search: [Google]
test.png
156KB, 1685x932px
>>59778234
I used https://tuannguyen68.gitbooks.io/learning-cmake-a-beginner-s-guide/content/chap1/chap1.html so don't blame me if the cmake script is shit. I wouldn't know.
>>
>>59778275
That's very interesting. I'll have to look into it tomorrow.
>>
File: AAAAAAAAAAAAAAAAAA.jpg (36KB, 482x436px) Image search: [Google]
AAAAAAAAAAAAAAAAAA.jpg
36KB, 482x436px
>be at job interview
>asked to write fizzbuzz
>except you can only print if the sum of all primes up to the fibonacci iteration of that number divided by 2 also a prime number
>>
File: 1488002792997.png (224KB, 447x489px) Image search: [Google]
1488002792997.png
224KB, 447x489px
>>59778437
the fuck kinda shit? is this for-fucking-real?
>>
File: mspaint_2017-04-06_18-58-15[1].png (300KB, 327x556px) Image search: [Google]
mspaint_2017-04-06_18-58-15[1].png
300KB, 327x556px
>>
>>59778437
Who are you quoting? I want to read the full list.
>>
>>59778533
O (n hyper-n n)
>>
File: chrome_2017-04-06_23-40-45[1].png (274KB, 354x373px) Image search: [Google]
chrome_2017-04-06_23-40-45[1].png
274KB, 354x373px
>>59778558
>>
File: 1491440884210.png (145KB, 570x558px) Image search: [Google]
1491440884210.png
145KB, 570x558px
>>59778437
>sieve
>matrix algebra
>>
>>59778590
He didn't say that.
>>
>>59775163
> #include <cstdlib>
Guess he doesn't use the STL
>>
>>59775091
Swap to GHC/Haskell
>>
File: 1457235559387.jpg (495KB, 1000x903px) Image search: [Google]
1457235559387.jpg
495KB, 1000x903px
Those kind of people don’t understand, no matter what you say. I finally realized there’s nothing you can do.
>>
>>59778748
Haskell is a pleb filter.
>>
>>59778748
Even worse.
>>
>>59778784
Not worse, it's also a pleb filter just like SBCL.
>>
Noob question here in javascript..
I have a string that I need to cut in separate variables and they need to be separated by the spaces.
So if the string is: I'm a stupid anon. I'll end with
var1 = I'm
var 2= a
var3= stupid
var4= anon
>>
>>59778810
Wrong thread.
>>
>>59778810
>>>/wdg/
I'll give you a hint though: substrings.
>>
>>59778810
Wrong thread but here you go since it is a simple question

https://www.w3schools.com/jsref/jsref_split.asp

Next time go ask in webdev gen
>>
>>59775315
>not knowing about lisp dialects
You don't belong here
>>
NEW THREAD!!

>>59778843
>>59778843
>>
>>59778833
substrings aren't individual variables. You are supposed to split them.
>>
>>59778784
Not really
>>
>>59778835
You clearly don't belong here either since you can't seem to quote properly.
>>
>>59778879
You specifically said GHC/Haskell, by which I assume you mean Haskell2010 + GHC. It's truly the C++ of procedural FP languages.
>>
>>59776924
Have you been living under a fucking rock?
>>
>>59777268
Open source? Link? Is it minio?
>>
>>59777040
Bank accounts are free in Bongland. Never understood why you guys get charged for someone to look after (and profit from) your money.
>>
I remember once when my college teacher wanted us to make, as quickly as possible for a morning exercise, a quick way to print five of the same string of asterisks in Java as so:

*****
*****
*****
*****
*****

Unusual exercise but had a guy next to me code it like this, honestly painful to my eyes:

public static void main(String[] args) {

System.out.println("*****");
System.out.println("*****");
System.out.println("*****");
System.out.println("*****");
System.out.println("*****");
}
>>
>>59780298

>kek af


String pepe = "*****";

for (int i = 0; i < 6; i++) {

System.out.println(pepe);
}
Thread posts: 323
Thread images: 40


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