[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: 332
Thread images: 25

File: 1491419079852.png (68KB, 400x400px) Image search: [Google]
1491419079852.png
68KB, 400x400px
What are you working on, /g/?

Old thread: >>59747138
>>
>>59755577
FIRST FOR COBOL
>>
Reposting: How hard would it be to write something that hooks into 4chan X and filters posts using e.g. a neural network?
>>
File: 1490484251913.jpg (32KB, 358x344px) Image search: [Google]
1490484251913.jpg
32KB, 358x344px
Not sure what it is, but something about this thread gives me a warm feeling in my heart
>>
ML was robbed
C ate its icecream
Fortran was the phone
>>
>>59755611
I think it's the Chinese cartoons. Animes as you lot call them.
>>
Evens write game engine in C
Odds write game engine in NASM

{1,2,4,8} - scratch + opengl
{2,3,5,9,0} - allowed to bind to other existing libraries or help.
>>
>>59755609
Specifically the 4chan (X) integration part, by the way.
>>
File: 1476892539569.jpg (26KB, 415x479px) Image search: [Google]
1476892539569.jpg
26KB, 415x479px
>>59755653
Rolling my balls
>>
>>59755653
enjoy making a few blocks of ascii text move around in terminal.
>>
Guy asking about Python XML parsing here.
>>59755544
I sort of have this:
<data>
<cov_summary>
<item name="item1"></item>
<item name="item2"></item>
<item name="item3"></item>
<item name="item4"></item>
</cov_summary>
<cov_detailed>
<item name="item1"></item>
<item name="item2"></item>
<item name="item3"></item>
<item name="item4"></item>
</cov_detailed>
<cov_statements>
<item name="item1"></item>
<item name="item2"></item>
<item name="item3"></item>
<item name="item4"></item>
</cov_statements>
</data>

I want to get the information on the items in cov_detailed
>>
>>59755667
I'm sorry for your loss
>>
v4 = (*(int (__fastcall **)(void *))(*(_DWORD *)a2 + 28))(a2);


What does this mean, I'm lost
>>
>>59755868
It casts
a2 + 28
to a function pointer and calls it.
>>
>>59755868
Interpret a2 as a pointer to DWORD , dereference it and add 28.
Reinterpret this value as a pointer to a function pointer int (void*) (fast call), then dereference that and call it with a2

i might have the order of add 28 and deref wrong
>>
What is man supposed to use when there's no good statically typed and compiled language?
sml
>no good implementation
ocaml
>shittier sml
lisp
>too verbose
c
>decent but memory management slows down prototyping
sepples
>convoluted cluster fuck no sane person would use
rust
>used by nobody, shilled by crazy people, tries too hard to be uglier than sepples
any jvm/clr language
>requires huge vm
d
>can't decide if it wants gc or no
go
>rob pike is faggot, also no macros
>>
>>59755868
>DWORD
what a fucking nightmare of windows programming
>>
I have a problem, I spend all my time on the internet instead of coding.
>>
>>59755946
ATS.
>>
>>59755946
>What is man supposed to use
>>
>>59755946
>slows down prototyping
That's your problem. All of your prototyping should be done with pen and paper instead of burdening the mainframe with programs that might not work. Good programmers complete their analysis before they punch their cards. It's not C's fault if you're too impatient for that.
>>
>>59755946
>posting this same copy pasta

stop.
>>
>>59755868
Looks like a C++ virtual function call (taking no real arguments, first arg is this, i.e a2 behind the scenes) with a2 being a pointer to some class instance.
>>
File: 1460207177038.png (368KB, 636x694px) Image search: [Google]
1460207177038.png
368KB, 636x694px
>>59756017
>All of your prototyping should be done with pen and paper
Truly this.
>>
>>59756017
> burdening the mainframe
>before they punch their cards
>>
>>59756112
>tfw no graphite compiler
>>
>>59755712
dude if you can't figure it out how to solve your problems you shouldn't be programming in the first place
>>
>>59756017
>prototyping should be done with pen and paper
what the hell it's not 1990 anymore
>>
>>59756415
>what the hell it's not 1990 anymore
what are you talking about?
>>
>>59756415
>anymore
There was no 1990.
>>
>>59756415
It's not 1990 yet, anon.
>>
>>59756459
>>59756463
What's this meme?
>>
>>59756528
What are memes?
>>
>>59756528
We're not tools of the government or anyone else!
>>
>>59756528
read this sentence.
>>
>>59755611
wouldn't go that far, but It's like a 24 marketplace; constant coming and going, thread is always renewing so it feels like its never down. Feels familiar somehow
>>
>>59755712
https://docs.python.org/2/library/xml.etree.elementtree.html
https://docs.python.org/3/library/xml.etree.elementtree.html
>>
how do i get into programming? I always wanted to get into programming and sometimes have ideas about but I have no clue. I don't know much about IDE's and compilers etc. I was thinking about starting with k&r c. any tips?
>>
>>59756671
how often do you masturbate? very related trust me
>>
>>59756671
How much anime do you watch per day?
>>
>study mechanical engineering
>go to first programming lecture
>female professor
>starts lecture with "sadly i accidentally deleted all my work from the last 5 years so i had to quickly redo these lecture slides"

>professor
>no backup

also, we are learning to program using C. shouldnt we use C++, even if its a little harder? i dont know anything about this.
>>
>>59756760
go fuck off to kc, this is not the place to be autistic about greentexting
>>
>>59756736
>shouldnt we use C++
There is literally no reason to ever use it aside from some kind of mental deficiency.
>>
>>59756002
>try ATS
>code examples don't compile half the time
Wow, great language
>>
a desktop 4chan client for myself w/ the api in C#
>>
>>59756824
have you just found about this website 2 days ago?
>>
>>59756783
>this is not the place to be autistic
Wrong.
>>
>>59756848
State your purpose.
>>
>>59756790
What should 3D games be written in, then?
>>
>>59756874
C++
>>
>>59756874
Rust
>>
>What are you working on, /g/?
Writing a simple text editor. Just for educational purpose.

>tfw too much of a brainlet to figure out how to implement a blinking caret in a non-retarded manner.
>>
>>59756874
Why would you care about my opinion? I can only tell you the truth, nothing more. And this statement isn't a proposition.
>>
>>59756920
>I can only tell you the truth.
Then tell me what language is more efficient than C++ for gamedev. Or are you saying that having a mental deficiency is a positive trait because it allows games to be produced?
>>
>>59756918 You think you're a brainlet?see >>59756944
>>
I am working on a TypeScript project to make a window manager that will be for an even larger project.

>>59755663
It's actually easy desu just fork the repo and add the hooks.
>>
Writing a pair of cache controllers with coherence to be the L1 cache for my processor
>>
>>59756874
Assembly
>>
>>59756962
>Then tell me what language is more efficient than C++ for gamedev.
This isn't a proposition.
>Or are you saying that having a mental deficiency is a positive trait because it allows games to be produced?
Not necessarily. Using C++ definitely requires a mental deficiency (the bad kind) and the language should be avoided since it is complete trash.
>>
>>59756967
I quoted the text you quoted, then I asked who said it since nobody before you wrote that. I'm assuming it's from some blog or some book?
>>
>>59757010
Ok I'll bite. Mental faculties, or lack thereof, of the programmer aside, Do you know of a language that is more efficient than C++ for gamedev?
>>
>>59757064
>Do you know of a language that is more efficient than C++ for gamedev?
Again. That's not a proposition.
>>
>>59757054
I didn't quote anything, sure you got the right post?
>>
Trying to understand a C program, what does the condition
if (n & 1)
check for? n is an unsigned integer
>>
>>59757079
"Does there exist a language that is more suitable for gamedev than C++ is?"
>>
>>59757079
>>59757010
>>59756920
>>59756790
are you mentally challenged?
>>
>>59757107
Yes.
>>
>>59757079
http://www.dictionary.com/browse/proposition
>>
>>59757097
Read about bitwise operators.
>>
>>59757097
It basically means
if(the lowest-order bit in n is set)
>>
>>59757123
And its name is...?
>>
>
>>
>>59757140
>>59757144
Ohh, so it can check if n is odd
>>
>>59757123
"Does the person to whom this question is posed know by name a particular language that is more suitable for gamedev than C++ is?"
>>
>>59757121
No, I don't use C++.
>>59757145
This question is unanswerable since it assumes there is only one such language.
>>59757164
Yes.
>>
>>59757152
Possibly, though using modulo 2 is more common for that, and is more recognizable as an even/odd check. Bitwise ands are usually used for checking against a "mask" to be used when treating ints as arrays of bits.
>>
>be me
>at interview
>what's the difference between array and linked list

the rest is history
>>
>>59757194
Dude you're retarded.
>>
>>59757175
ok, so then so provide a list of, lets say, 3 languages that are more efficient than C++. If there are less than 3, then just list however many you have.
>>
>>59757184
Gotcha. Given the context, I think it's checking for even/odd, but I see how it could be used to check the status of certain bits.

Thanks anon
>>
>>59757226
read this sentence
>>
>>59757194
Whom've'st're y'all's quoting?
>>
>>59757222
>>59757175
than C++ for gamedev*
>>
>>59757222
>less than 3
>>
>>59757222
Take absolutely any language from the set of programming languages which isn't any of the following : C++, dynamically typed, garbage collected.
>>
>>59757254
Hey, Im just trying to get an answer out of this gimp
>>
>>59757194
Wow that's pretty bad. Let me guess, your experience is with VB or some other quiche-eater language that doesn't ever expose you to the internal representation of data structures? Do you even know what a pointer is?
>>
File: monads_reeeee.jpg (80KB, 300x250px) Image search: [Google]
monads_reeeee.jpg
80KB, 300x250px
Well I have a Java cert book near my desk. Also a Haskell book. I just don't feel like reading them.
>>
>>59757278
Why don't you give me a few examples? I'm interested to see what you'd consider more efficient for gamedev than C++
>>
>>59757280
>countable measure
>less
>>
>>59757299
Not her, but Rust.
>>
>spend 2 hours debugging a memory corruption that seems to happen very randomly and otherwise it everything works just fine
>turns out C++ is pants of heads retarded and that happens when you type something like this
class Base;
struct Derived: public Base;


I'm so fucking done, I'll never trust you again, GCC.
>>
>>59757278
So COBOL is better for gamedev than C++?
>>
>>59757321
Are there any notable games written in Rust?
>>
File: 333333.jpg (21KB, 648x348px) Image search: [Google]
333333.jpg
21KB, 648x348px
>>59757332
>>
>>59757344
No, but the language speaks for itself.
>>
>>59757299
I just gave you something which is potentially uncountably infinite. How is that not a "few examples"?
>what you'd consider
I already told you that this isn't my opinion. And you shouldn't be interested in it anyway.

>>59757337
You can answer that yourself pretty easily by applying the rules I've stated.
>>
>>59757366
>You can answer that yourself pretty easily by applying the rules I've stated.
I'm implying that the rules lead to an implausible conclusion.
>>
>>59757184
modulo is like 1000 processor cycles
bitwise and is 1
>>
>>59757355
So since there are no practical, noteworthy examples of a game written in Rust, its only theoretically better.
>>
>>59757372
It's not my place to comment on this.
>>
>>59757366
I have to say, you're an above average shitposter. Are you afraid to give your opinion for some reason? Everything you're saying can only be treated as opinion until you back it up with something concrete
>>
>>59757389
>practical
How can an example be "practical"?
>its only theoretically better.
What are you even on about? How can something be "theoretically" better? Something is either better or it isn't.
>>
>>59757378
Optimization is the compiler's job. Any modulo by a constant power of 2 can be translated at compile-time into an and.
>>
>>59757416
Are you denying that there is a difference between theory and practice?
>>
>>59757408
>Are you afraid to give your opinion for some reason?
No, I just don't see why it matters.
>Everything you're saying can only be treated as opinion
Indeed. "treated". You are free to ignore reality if you wish, just be aware that it's not the smartest choice.
>>
>>59757416
Its unproven. There are no successful games that have been written in Rust
>>
>>59756671
you just have to jump into it
go full speed
DO IT
NOW
>>
>>59757347
Neither does Clang emit any warning whatsoever with -Wall, although surpsisingly MSVS does.
>>
>>59757442
But that would assume that everything you say is truth. That would mean everyone reading it would have to blindly accept what you are saying as absolute fact without any evidence. Tell me, are you a cult leader during the day?
>>
>>59757452
-Weverything


pleb
>>
>>59757389
Well, it depends what you consider notable. I think Hematite (Minecraft clone) is a good example of what Rust can do but as a game it's not that notable.

It's been proven to be better for high performance applications that aren't games. Rust alternatives to established C and C++ software tend to be faster even though they're immature. Servo demolishes the other browser engines. Leaf leaves Tensorflow in the dust and is still a bit faster than Torch and Caffe. You would imagine that this trend would carry over to games.
>>
>>59757079

>not a proposition
Why does this matter?
>>
>>59757440
How can a body of theorems be the same as "practice"? Are you drunk or something?

>>59757444
You didn't ask about successful games being written in Rust.
>>
>>59757494
Would you not consider a successful game to be notable?
>>
>>59757476
Clang still silent, I'm not even sure what's going on, I'm trying to search for such a bug to find out what's the behind-the-scenes reason for such a fuckup to be happening when really only the default visibility level should change but I cannot find any relevant information.
>>
>>59757494
If it isn't a successful AAA game with >95% positive reviews, over a billion dollars in sales, and a loyal following of fans, then it doesn't count as an example and Rust is a joke and a meme.
>>
>>59757457
>But that would assume that everything you say is truth.
Incorrect. I hope you don't believe that someone stating something true has to be right every single time.
>That would mean everyone reading it would have to blindly accept what you are saying as absolute fact without any evidence.
That's not true either.
>Tell me, are you a cult leader during the day?
No, I don't use C++.

@ 4 posts above me.
Did a subhuman just reply to me?
>>
>>59757299
Unless you're being paid moderately to work on an in-house engine for an AAA company, then you will not be using C++ for game dev.

So tired of seeing C++ even being mentioned in the same sentence as game dev when these same anons don't ever make or do anything.
>>
>>59757536
You're getting prematurely butthurt. Nobody said it had to be a global sensation, but something that, for example, a games site would probably feature somewhere, be it on the front page, indie review, etc.
>>
>>59757508
I would, but I can't be sure about you since you didn't say that.
>>59757536
>Rust is a joke and a meme
A programming language can't be either a joke or a meme. If you want to degrade some language, please use appropriate words.
>>
>>59757569
Ok, so now you are sure. successful games written in Rust, let's hear it
>>
>>59757543
I'm the one who brought up C++ and gamedev in this thread, and I don't claim to be a game developer. C++ isn't even my favorite language, I just chose gamedev (3D realtime games in particular) as an area where the high level of abstraction provided by the OOP features of C++, AND the high performance of C++ native code, are both important.
>>
I just learned that benchmarksgame uses stable Rust. That means no SIMD yet, among other things. This means the Rust results shouldn't be taken too seriously, but despite this Rust is still the fastest for some programs and just behind C or C++ in others. Pretty impressive.
>>
>>59757586
>Ok, so now you are sure.
I'm not, you didn't say it.
>successful games written in Rust,
I'm not aware of there being any.
>>
I know some Rust shill is going to mention SHAR, and I just want to say right now that it doesn't count.
>>
>>59757588
>OOP is good for gamedev
Screeching, screaming, wailing, roaring
>>
>>59757618
do games made in a functional language even exist?
>>
>>59757543
I didn't bring the subject up, im just interested
>>
>>59757588
>OOP
>>>/r/abbit
>>
>>59757610
>I'm not aware of there being any.
So then how do you intend to support your assertion that Rust is better than C++ for gamedev, when there ARE successful games written in C++? This is getting into ``true Communism has never been tried!" territory.
>>
>>59757626
Who said functional language?
>>
>>59757626
Who said anything about functional languages? Are you some kind of retard by any chance?
>>
>>59757610
Ok, so then you can only assume Rust would be more efficient than C++ for gamedev, considering there are no successful examples to demonstrate the increased efficient Rust has over C++ in the game arena
>>
>>59757614
What's SHAR?

>>59757618
>>59757631
What are you even trying to say? Gamedev naturally lends itself to the use of structs/records to represent state, and OOP is a convenient way to manipulate those objects.
>>
>>59757634
>So then how do you intend to support your assertion that Rust is better than C++ for gamedev
Where did I claim this?
>when there ARE successful games written in C++?
Your point being?
>This is getting into ``true Communism has never been tried!" territory.
I think it's getting into d*mocracy territory.
>>
>>59757661
http://gamesfromwithin.com/data-oriented-design
>>
>>59757661
looks like SHAR is a game in development with Rust. Doesn't look like its finished yet
>>
>>59757661
>What are you even trying to say?
I'm trying to say that you need to fuck off back to your subreddit.
>>
>>59757657
Servo is a pretty good approximation of a game engine.
>>
>>59757707
Approximation yes, but I think the point here is there are no notable examples of a game written in Rust, so again we can only assume it would be more efficient than C++ for gamedev, even with Servo considered
>>
>>59757681
>Where did I claim this?
>>59757321
>>59757278
>>
>>59757748
It's a pretty educated assumption. Consider that Rust has many more advantages over C++, including but not limited to:
>better RAII and move semantics
>fearless concurrency
>traits for principled static dispatch (same as the concept proposal)
>modules instead of headers
>good, standard build system slash package manager
>>
>>59757798
Educated yes, but still an assumption. Everything looks great in theory
>>
so
anyone working on anything interesting
maybe share some screenshots?
>>
>>59757816
So what's the problem? I will admit there's no truly convincing evidence for it yet, but there's nothing damning either.
>>
>>59757819
Smoke weed everyday.
>>
File: scrot.png (153KB, 1920x1080px) Image search: [Google]
scrot.png
153KB, 1920x1080px
>>59757819
sure thing
>>
>>59757839
Well the claim was that there are many languages more efficient than C++ for gamedev. The example given was Rust. There's nothing damning, but there is no convincing evidence either. Based on that, you can't say with absolute certainty that its more efficient for gamedev than C++. That's all
>>
>>59757860
why do you need shaders and GL for a terminal music player?
>>
My professor wants us to find a problem that could use parallelism, and that hasn't been done before. How do I find something like that... Where can I start looking?
>>
File: kid.jpg (38KB, 362x346px) Image search: [Google]
kid.jpg
38KB, 362x346px
>>59757860
>check_error
>case GL_NO_ERROR:
>DIE

what
>>
>>59757798
>>good, standard build system slash package manager

I so wish C++ had this that worked well across platforms.
>>
>>59757860
Why the fuck do you keep your music player open next to your code editor? Just toss that shit away to another workspace and use media keys if needed.

>>59757959
Better yet:
>if error_code != GL_NO_ERROR
>case GL_NO_ERROR
>>
>>59757959
>>59758008
>>59757925
no bully pls

post some screenshots too
>>
>>59758075
can you atleast tell me what youre making
>>
File: guE7LX0.png (51KB, 657x527px) Image search: [Google]
guE7LX0.png
51KB, 657x527px
>>59758075
I don't really have anything pretty
>>
>>59758126
>pretty
anon it's a programming thread, all we need to see is code and maybe the output.
>>
>>59758090
https://github.com/EZ3CHI3L/Eternity
>>
>>59757957
1. Find a problem so stupid nobody's done it before
2. Is it embarrassingly parallel? If not go to step 1
>>
>>59758171
>Your window to the good
>"Between the idea
> And the reality
> Between the motion
> And the act
> Falls the Shadow"
sorry im a bit slow i still dont know what the fuck this shit is

i want to say an image viewer, but none of the source has a single comment
>>
>>59755577
Nothing
Severe hangover
>>
>>59758251
if it is hard to write it should hard to understand

sorry
>>
>>59758263
it doesn't even look hard to write.
Almost all of your code is just boilerplate crap.
>>
How do you take an object from 1 arraylist or linkedlist & then inserts it into another arraylist or linkedlist respectively in Java?

Thanks in advance.
>>
>>59758326
have you tried googling this?
>>
>>59758263
Lolno. If it's hard to write, you should do everything possible to make it EASY to understand, so that when the inevitable bugs pop up people will be able to fix it without having to rewrite the whole thing.
>>
I need a vector of vectors of a X in my code. Since that doesn't deserve a class of its own can I just typedef it?
>>
>>59758457
Sure.
>>
>>59758263
I get the feeling you aren't a native English speaker.
>>
>>59758467
I'm from a place where the sun never sets.
>>
File: 1433939493891.gif (2MB, 500x281px) Image search: [Google]
1433939493891.gif
2MB, 500x281px
>>59758263
>>
>>59758481
is it a basement? Technically the sun never rises there either
>>
>>59758499
26º floor, actually
>>
>>59755946
Use Ada. Ada is an actually good C++.
>>
>>59758457
std::vector<std::vector<X>> vvx;
>>
>>59758519
is Ada good for use outside of toy projects?
>>
>>59758546
wrong.
>>
How do I make an if exception in Java?
I want that if a certain word is entered the program will throw the user out.
>>
File: 1427552406531.jpg (17KB, 216x209px) Image search: [Google]
1427552406531.jpg
17KB, 216x209px
>>59758499
>>
>>59758561
you subclass Exception,throw it whenever you detect a word that shouldnt be used. Or catch it and do the "throw the user out" logic in your catch block, depends where you want to handle it. Check existing exception types in case theres one that fits the use case, im thinking illegalArgumentException or something similar in concept
>>
>>59758251
chuuni roleplaying
>>
>>59758559
That's exactly what you asked for a Vector of Vectors of a X
>>
>pick up assembly book
>the art of assembly language
>it teaches HLA asm language that resembles C and is just a retarded C language clone
>pick up fasm
>same thing

where do I learn unadulterated x86 asm?
>>
>>59758547
Ada has fairly good modularization capabilities and good interoperability with C. It also allows for a bunch of low-level hackery.
>>
>>59758607
Thank you my friend.
>>
>>59758632
try it and see if compiles without errors.

come back and tell me the error.
>>
>>59758652
NASM is raw, pure ASM with very little bells and whistle, but it does what you tell it to do and doesn't get in the way.
MASM is comfy as fuck ASM with awesome macros and super powerful features, but still all the low level hardware control there is to have.
>>
>>59758676
I defined X as int and it doesn't gives any compile errors. Perhaps you want to try it yourself.
>>
>>59758657
ah ok, fair enough, might actually look into it
>>
File: faggot.png (40KB, 1346x528px) Image search: [Google]
faggot.png
40KB, 1346x528px
>>59758724
oh yeah?

lets compile the code *_you posted_*
>>
>>59758772

Congratulations, you're retarded
>>
>>59758772
Try using a C++17 compiler.
>>
>>59758792
the retard here is you.

i compiled the code you posted.

you compiled the code you posted and after it you changed it.

get fucked
>>
File: 1487712506995.gif (206KB, 256x256px) Image search: [Google]
1487712506995.gif
206KB, 256x256px
Every programming language is shit, stop programming. the end
>>
>>59758850
>t. PHP Coder
Just because you use a shit language doesn't mean other people do.
>>
>>59758850
>not le argument XD 1!!!111!111
>>
>>59758865
>>59758872
Whomst'd've'ly'yaint'nt'ed'ies's'y'es are you quoting?
>>
File: 1486505289738.jpg (69KB, 637x579px) Image search: [Google]
1486505289738.jpg
69KB, 637x579px
>>59758865
C is the best language, hands down
>>
>>59758901
read this sentence.
>>
Anyone else in /uni/ and have really annoying class mates? They keep trying to stroke their tiny epeens by explaining for the 50th time what a function pointer is to the person next to them.
Fuck off cunt I know what a function pointer is.
>>
>>59758923
My class mates are practically brain dead. I don't know which I'd rather have.
>>
>>59758923
does this look like your blog?
>>
>>59758938
I just want to learn. Friends are out of the question anyways.
>>59758939
t. annoying classmate
Fuck off cunt you already explained what a function pointer is.
>>
>>59758923
the fuck does this have to do with what you're working on? this is /dpt/ not your soundboard for your pathetic life problems, fuck off somewhere else
>>
>>59758923
Many of my classmates aren't good at programming.

Some of my classmates must have cheated on their English requirements and don't have good enough English skills to properly participate in class.
>>
>>59758923
>I know what a function pointer is
Yeah, but can you actually USE them?
>>
>>59758953
this isn't the place for you you fucking whiny scrub bitch
>>
>>59756874
Fortran
>>
>>59759172
Fortran could actually be useful for processing 3d matrix math quickly.
>>
>>59759216
No
>>
>>59759223
why no
>>
>People don't know that vi was written for a world that doesn't exist anymore
t.Bill Joy
>>
The software industry today is a disgrace, it's really bad. Any other profession, they'd be embarrassed to operate like we do. We've actually gotten to a stage where crappy, broken output is accepted as completely normal. You think an engineer designing a bridge would be okay with it collapsing when, say, there's only traffic going in one direction on it? You think he'd say "yeah, that's a bug, but don't worry because it'll be fixed in the next version"?

And what about the tools we use? We know what the cutting edge is, we know what best practices are, we know how to produce reliable software and we just don't do it. Every other job is Python, or JavaScript, or Java, basically some now-obsolete language designed decades ago. Imagine if your anesthetist decided to use ether and a stethoscope because "it's so much simpler, all that monitoring and safety stuff just gets in the way". That'd be malpractice. But when we do the equivalent in our profession, nobody bats an eye.

Maybe you say that it's not the same, when software breaks nobody dies. Well, that's not true if you're writing medical software or air traffic control software, but at least those fields tend to be far more rigorous about testing and verifying their code than your typical hot new app startup. But bugs in popular software can cause billions of dollars of lost productivity, and we don't do anything to try to prevent them! The way we work, it's like a surgeon trying to operate with a table knife because it's familiar and there's lots of libraries for it, or whatever the kitchen utensil equivalent of libraries is, ignoring that many of those libraries may just exist to try to paper over deficiencies in the underlying tool. Look at Node, you have a library for testing whether something is zero because the language contains two different values of zero, and there's no warning if you forget to check for one of them. We're like an accountant using an abacus instead of a computer, or even a calculator.
>>
>>59759606
You know what's really galling about it all? We've had Moore's law helping us for decades, thanks to hardware designers. And we've completely squandered it. We're completely and hopelessly inefficient. I tried out a new app recently, not going to name names, but it felt kinda slow and clunky when I opened it. This was on a recent computer, less than a year old, and the app was less responsive than programs I was using on Windows 95. Why? Well, I don't know for sure, but bundling an entire web browser and using it to render the user interface instead of using the native Windows libraries might have something to do with it! And you don't even get anything for it, it just looks a mess because it has completely different styling to everything else on my screen. My computer is orders of magnitude faster than the one I was using twenty years ago, and all those performance improvements are used up by poor quality software. I'm still stuck waiting for text fields to catch up with me half the time.

And this new app doesn't even work, its user interface has bugs. Bugs that old Windows 95 programs didn't have.
>>
void FileLog::addNewFile(HANDLE file_handle, const char *file_name) {
file_name_map.insert(std::make_pair(file_handle, std::string(file_name)));

std::cout << "Opening file: " << file_name << " (" << file_handle << "). Size is: " << file_name_map.size() << std::endl;
}


std::unordered_map<HANDLE, std::string> file_name_map;

Why does the size stay a constant 1? I'm fucking something up big time here please send help
>>
>>59756671
people don't get it, its so fucking simple
just pick up a textbook for your desired programming lang and start reading + doing the projects in the book
>>
>>59759718
Preferably one like this:

https://sarabander.github.io/sicp/
>>
>>59759669
make sure file_handle is unique
>>
I started learning Java and I often see very long variable names (eg carsWithBlueWheelsArray). Is it some kind of an inner joke for Java developers or do many of them suffer from mental deficiency?
>>
>>59759880
No, it's a common practice.
>>
First for ATS is the ugliest language
>>
>>59759818
Yeah I'm thinking that might be the issue.

I created a hook for CreateFileEx() and inside that hook this function is called. I think the caller (the app I'm injecting into) is deleting these handles.

The HANDLE datatype is one of the most opaque datatypes I've seen on MSDN.
>>
>>59755577
I wrote a shell script for downloading youtube videos and converting a clip from the video to a webm. It's not perfect yet (I literally just wrote it; this is the first version), but it works for me
#!/bin/sh

format=$(youtube-dl -F $1 | grep '(best)' | awk '{ print $1 }')
youtube-dl -f $format $1
video_title="$(youtube-dl -e -f $format $1)"
download_filename="${video_title}-${1}.mp4"

duration=$(expr $3 - $2)
output_filename="${video_title}.webm"
ffmpeg -i "$download_filename" -ss $2 -t $duration -c:v libvpx -b:v 1M -c:a libvorbis "$output_filename"

usage
./youtube-to-webm.sh 'vum1uwoZk6Q' 37 46


requires youtube-dl and ffmpeg to be installed.
>>
>>59759880
Long names aren't a problem, but can sometimes indicate the person is uncreative
>>
>>59759898
Rust is trying though.
>>
>>59760058
How is Rust ugly?
>>
>>59760063
$<::<>>::<<$>><<>::><>>$<::<>>$
>>
>>59760072
Ah yes, valid Rust code.
>>
File: 1486199568600.jpg (39KB, 554x535px) Image search: [Google]
1486199568600.jpg
39KB, 554x535px
>>59755577
>when you get a PATH TOO LONG error so you have to move the project to C:\

Holy shit I hate Windows so much.
>>
>>59760063
Rust's syntax is atrocious. The semantics is one thing but it's like they took the ugly template crap from C++ and fused it with perl.
>>
>>59760092
Can you give an example or are you just going to make vague allusions?
>>
>>59759951
Doesn't youtube already have a lot of their videos as WebMs?
Why don't you just instruct youtube-dl to get that?
>>
>>59760099
Any rust code,

https://github.com/rust-lang/rust/blob/master/src/libstd/io/stdio.rs

This is not good syntax. It's ugly, there's no other way to describe it.
>>
Daily reminder that if the idea of programming without syntax highlighting in a specific language sounds intimidating, it's poorly designed.
>>
>>59755946
>decent but memory management slows down prototyping
What? There's so many libraries you could use for that. And even without external libraries memory management is dead easy. Just do some reference counting. The API you have to deal with is just marginally more difficult than other languages. Instead of a new keyword for your GC like you'd do in Java you call functions. If you do some kind of like-C sepples you could overload the new operator and do GC just like java.

Just so you're aware. I haven't found any reason to not use C or C++ beyond 5-10 minute programs where writing a bash script is what I really wanted. Ignoring situations where i make things for others of course. Some really want you to write libraries for them in specific languages regardless of how bad the tradeoffs seem from your end.
>>
>>59756011
>anonymizing clothes
I wish this was socially acceptable. Some people just don't want to be seen.
>>
>>59760135
Fuck off acme, nobody wants to use you anyway.
>>
>>59760125
The logic for selecting the best webm file available is more complicated than the current method of just grabbing whichever format has the word "(best)". Eventually it will, but this is the first version. It's also assuming (possibly incorrectly in some cases) that the "(best)" file is always going to be mp4.
>>
>>59760130
Other than a couple things like this:
>Arc<ReentrantMutex<RefCell<LineWriter<Maybe<StdoutRaw>>>>>
There's nothing wrong with that. Everything serves a purpose. Rust requires more operators because it mostly prohibits implicit coercion. If it didn't, you wouldn't have good type inference. There's a tradeoff.
>>
>>59760081
shorten it
>>
>>59760081
Nice Java folder structure, pajeet.

>>59760092
<> is OK aesthetically but it's just a bad idea because it makes the parser needlessly complicated. But the algol syntax ends up becoming ugly indent hell
        }
}
}
}
x
}

And the compiler literally enforces capitalization and whitespace.
>>
File: 1471123644019.gif (1MB, 260x195px) Image search: [Google]
1471123644019.gif
1MB, 260x195px
Hi /dpt/, I'm writing a C program for university but their specification is fucked.
Basically they say that we can't be sure if the files they give us are Unix-style text files with new lines delineated by "\n" or Windows-style files delineated with "\r\n".

Is there an elegant way in C to account for this? Some stdin library function or something? They recommend using a wrapper for getchar that throws away '\r' characters but that doesn't allow me to use scanf/fscanf on an input file without constructing a new string from each line and then sscanf'ing on that which seems clumsy.

Posting mai waifu for attention
>>
>>59760157
Whatever the fuck you're talking about sounds irrelevant
>>
>>59760179
Haskell manages to be elegant.

And no, these operators are not required or necessary. Even (((((((s-exp)))))) can look cleaner. Making an operator token for everything is literally perl-tier.
>>
>>59760231
>And no, these operators are not required or necessary.
Propose an RFC to get rid of them, then.
>>
>>59760245
Never happen, they finally have a release and if they break it they die.
>>
>>59760202
I actually had to do the same task in C whilst at university. I was in the process of typing you a working example, then realised a) That would be doing your homework, and b) Your waifu is fucking disgusting.

The basic approach should be to iterate over characters. You could write a function that takes lines and returns what you are looking for, but that too which need to work on a per-character basis.
>>
>>59760266
Lay out the logic to me, then. Why doesn't Rust need operators for deferencing (*) or reference destructuring (ref)? The rest of the punctuation in that file is just specifying what things are references and whether they are mutable. I'd be even more interested in hearing why you think that shouldn't be explicit.
>>
>>59760275
I'm actually really good at C, I've taken advanced level courses on it. This is an introductory course I can take through a loophole. I know that I can do it, my question is whether there is a better way than doing it character-by-character.

[spoiler]Don't insult Kat she's all I have in this world ;_;[/spoiler]
>>
>>59760202
>that doesn't allow me to use scanf/fscanf
Do you need to use those? I think they're both pretty crappy functions.
>constructing a new string from each line and then sscanf'ing on that which seems clumsy
No, that's usually the better way of doing things. scanf REALLY doesn't handle errors well. It leaves the stream in an indeterminate state, which can be a huge pain in the ass to recover from. fscanf is similar, but you can "rewind" the stream back to the start if it's seekable, but is still a pain in the ass to deal with.
Normally, using a function like fgets, getline (non-standard) or whatever and then using a parsing function like sscanf is better.

However, instead of using a getchar wrapper, you could just use fgets/getline, and just check if the end of the string is '\r\n', and replace it with '\n\0' if it is.
>>
>>59760228
One of the asperger kings of plan9 did some shitposting rant on syntax highlighting a few years ago. Can't remember details, could have Pike himself.
>>
File: tfw.jpg (296KB, 1280x960px) Image search: [Google]
tfw.jpg
296KB, 1280x960px
>>59760294
>>
Anyone have any idea how to prevent X from simply repainting on top of the previous frame? I'm making a screenshot application using a semi transparent window and whenever the frame is repainted, X paints it over the previous frame. Ideas?
>>
>>59760231
>complains about that syntax
>but haskell syntax is fine
>meme-exps are cleaner
yeah no, you are just horribly biased for your meme langs.
>>
>>59760308
is that the same chick?
post more
>>
>>59760335
What is wrong with Haskell syntax?
>>
>>59760347
Whitespace sensitive
>>
>>59760296
The trouble is that I actually do need to parse out values. It's a csv file that I'm reading data from, and I need to read several integers/floats from each line. I guess I could use fgets and replace the final character like you said, anon, and then use sscanf on it to parse out my values. Is there a better way than that?

>>59760308
Me on the right desu senpai
>>
>>59760339
>is that the same chick?
dunno
>post more
i have no more pics anon
>>
>>59760202
Imo you always read entire files and then do processing on them.
Realistically in the situations where you could expect more than you can store you're aware of those cases. If you wish to be safe you just exit when you find out the file is too big.

But I don't tend to use the C standard library for reading anymore. I use OS functions. Portability i C is not realistic. You're gonna have behavior that isn't portable, so stop pretending and write more proper code instead.
>>
>>59760308
Nice glasses.
>>
>>59760359
It's overridable.
>>
>>59760359
How is that a bad thing?
>>
>>59760370
Thanks, my mom bought them for my birthday.

She said it could help me with the female humanoids and man was she right!
>>
Having a little trouble in java
In my main method I'm calling a static method Count.word(text); and in the return statement in the method I return a new object Data w = new Data(size, length); from a different class.
How do I actually manipulate that object though in my main method? How can I use its getter methods?
I'm probably missing something before or after the initial call but I'm not sure what.
>>
>>59760369
>you always read entire files and then do processing on them
>every time I read a csv, I use a unique variable for every value in the file, I don't read it line by line, and then I sort all those variables out at the end
I'd use Python for this if I had the choice of language. The task requires it be done in C.
>>
>>59760409
>every time I read a csv
Practically never happens to me. Just my usecase.
I don't see why you're making these assumptions about variables though. This is not how parsing is done by anyone.
>>
>>59760369
>But I don't tend to use the C standard library for reading anymore. I use OS functions. Portability i C is not realistic. You're gonna have behavior that isn't portable, so stop pretending and write more proper code instead.
What the fuck are you going on about? How the hell would using OS functions be more portable than the fucking standard library? That makes no fucking sense.
If you're really concerned about that text transformations, reopen stdin in binary mode.
>>
>>59760450
>How the hell would using OS functions be more portable than the fucking standard library?
The thing is that you have to jump through many hoops to be portable using the standard library.
I'm not saying you should be portable without it I'm saying it's a waste of time for any non-trivial application. You're gonna have preprocessor definitions for different platforms all over the place anyway.

I don't see how you can possibly think I was claiming that using OS functions is more portable. I was explicitly saying you should stop pretending you're portable without hassle. Read for goodness sake.
>>
>>59760489
What exactly is so unportable about stdio, according to you?
>>
>>59760527
I'm not gonna explain to you all the holes the standard library has. Go read some actual 'portable' C code. Newlines is one example.
>>
In Lua, if I store some string 'text' in metatable A, can I access 'text''s length by
A.text:len
instruction?
>>
>>59760527
Not him, but why don't you write a simple C program that does nothing but open a window without using any platform dependent code whilst staying within the standard library.
>>
>>59760544
Have you tried?
>>
>>59760552
Do you know?
>>
>>59760547
Window functions are not part of the standard library and for good reason.
>>
>>59760539
I know about the standard library. I'm consider myself to be quite experienced with C.
>Newlines is one example.
So? A lot of programs don't really give a shit about the text transformations that the implementation might do.
If you DO care, open your files in binary mode.

>>59760547
That has nothing to do with what we're talking about. C is portable in a different sense than what you're thinking.
It's not that that it can do everything a programmer wants to do on every platform, but it can do basically everything that C does on any platform.
>>
>>59760569
but the implementations on each different platform still use the standard library. It's just that a different implementation is required for each platform. Hence it is non-portable.
>>
>>59760593
No. You're fucking stupid and have no idea what you're talking about.
>>
>>59760575
>I'm consider myself to be quite experienced with C.
And I'm telling you you're not experienced enough to see these issues yet. That's fine. Not everyone have to care about this stuff. But portable C is a bit of a myth so don't bother with it.
>>
>>59760559
>>59760559
$ luajit
LuaJIT 2.0.4 -- Copyright (C) 2005-2016 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> A = {}
> setmetatable(A, { __index = { text = "hello" } })
> = A
table: 0x001922b8
> = A.text
hello
> = A.text:len()
5


Wow, you could have done this yourself, you're welcome
>>
>>59760607
You're not addressing my point at all. What exactly about using stdio is so fucking unportable that it's completely hopeless for any programmer to try and deal with it?
I'm fully aware that writing truly portable C is extremely limiting and requires you to we very wary of your assumptions, and most programs don't need that level of portability anyway. C allows you to write portable code, but it allows you to write unportable code too.
>>
>>59760593
No the platform parts hook into a WM, display server, graphics drivet or even a fucking terminal emulator. None of this shit is in the standard because the C standard can't suddenly tell you your system requires any of these.

Any window implementation is not platform independent.
>>
>>59760625
Thanks for the answer.
>>
A018900 gives the sequence of integers with two '1's in their binary expansion.
unsigned hakmem175(unsigned x) {
unsigned s, o, r;
s = x & -x;
r = x + s;
o = x ^ r;
o = (o >> 2) / s;
return r | o;
}

unsigned A018900(int n) {
if (n == 1) return 3;
return hakmem175(A018900(n - 1));
}


A014311 does the same but three '1's.
unsigned hakmem175(unsigned x) {
unsigned s, o, r;
s = x & -x;
r = x + s;
o = r ^ x;
o = (o >> 2) / s;
return r | o;
}

unsigned A014311(int n) {
if (n == 1) return 7;
return hakmem175(A014311(n - 1));
}


Anyone understand how this shit works and if it can be generalized to an arbitrary number of '1's?
>>
>>59760801
>unsigned x

what the fuck is this
>>
how do I change line height without changing the height of the <br>eak?

I've currently got it where I need a <br>eak to have the line completely underneath it, but I have to add a lot more <br>eaks than are necessary, but if I change the line height to 10px I don't need the <br>eaks, but then all my <br>eaks look like this...

Bla Bla Bla <br></br>

Bla Bla Bla

whereas I want this.

Bla Bla Bla<br></br>
BAL BLA BOA

Help, I'm stupid
>>
>>59760848
Looks like ASM to me. I might be wrong.
>>
Are you retarded that's plain C.
>>
>>59760852
You are looking for the web dev general not /dpt/
>>
>>59760801
>unsigned x
>-x
Is this ever allowed?
>>
>>59760855
you're very wrong.
>>
>>59760870
Did you try compiling it you mong.

Lotta freshmen in these threads...
>>
>>59760801
Looks like the only difference is the base case,

unsigned withPopCount(int n, unsigned pop) {
if (n == 1)
return (1 << pop) - 1;
else
return hakmem175(withPopCount(n - 1, pop));
}
>>
>>59760907
Thanks.
>>
File: wut.jpg (49KB, 500x333px) Image search: [Google]
wut.jpg
49KB, 500x333px
>>59760855
>Looks like ASM to me
what even are you doing here
>>
>>59760898
How can we use sign inversion with unsigned int, Mr. Know-it-all?
>>
File: screaming_externally.jpg (59KB, 640x480px) Image search: [Google]
screaming_externally.jpg
59KB, 640x480px
>>59755577
A gigantic boost-ified codebase that is growing by thousands of lines per week.

Everybody in the company just wants to have random cringe-inducing conversations about the overhead of unique_ptr<> and doing whatever Herb said.

pic fucking related
>>
>>59756874
C#
>>
#define BAR "%s ", foo

void assign_foo(char** foo);

int main(void)
{
char* foo = NULL;
assign_foo(&foo)
fprintf(stderr, BAR);
return 0;
}

void assign_foo(char** foo)
{
char* token = "poo poo pee pee";
*foo = (char*)malloc(strlen(token)+1);
strcpy(*foo, token);
}


Why, when I run valgrind, does this spit out

Conditional jump or move depends on uninitialized value(s)
at (vfprintf who cares)
by (buffered who cares)
by (more print commands)
by (fprintf in blah blah lib call)
by main (the line that calls fprintf)


I init the pointer as null, sure, but I assign it before use. How do I make valgrind shut up about this?
>>
>>59761039
why in the world would you write something like this?
>>
>>59761053
It's pseudocode you dipshit
>>
>>59761065
Looks a lot like C to me
>>
>>59757194
Lol fucking retard
>>
File: 1491108368213.jpg (47KB, 558x564px) Image search: [Google]
1491108368213.jpg
47KB, 558x564px
>>59761075
>Pseudocode can't be syntactically correct
>>
>>59761039
>#define BAR "%s ", foo
Jesus christ.

Is that really the code you compiled. It has a syntax error (missing ;) and you are missing headers.
After fixing that, I got no valgrind errors.
>>
File: single-list.png (13KB, 527x222px) Image search: [Google]
single-list.png
13KB, 527x222px
Studying Linked Lists and was wondering if I have a head and tail pointer, would the time complexity of adding a node at the end of the list be constant? We'd basically have to switch the pointers of the last node to the next one and set tail to that new node right? Wouldn't that just be a bunch of assignments, so constant?

I read in other websites that are saying that it's required to traverse the linked list, but I think that's because there's no tail pointer, right?
>>
>>59761090
That code sure isn't.
>>
>>59761065
Why in the world would you design something like that?
>>
>>59761094
Correct.
>>
>>59755577
Work stuff. Janitor work, really. Updating MongoDB with some new data collected from Google APIs. Practical but slightly boring.

Node.js is pretty comfy...
>>
>>59761091
There's a good reason for that macro, trust me.
And I didn't include libraries because I figured people would be able to figure it out.

It's not the literal code being used, I just stripped everything out and replaced it with foo/bar. I'm assigning a char* to NULL, sending it by reference to a function that then mallocs it and copies a string into it. Then I print it in the main.
The why is irrelevant.

>>59761098
Minus a semi-colon and implied libraries, yes, it is.

>>59761107
I can't handle this level of autism, jesus christ.
>>
New thread:

>>59761113
>>59761113
>>59761113
>>
>>59761121
>Node.js is pretty comfy...
No.
>>
>>59761094
>but I think that's because there's no tail pointer, right?
Right. Generally linked lists are O(1) to insert at either ends. You will learn about "doubly linked lists" which take advantage of this.
>>
>>59761110
>>59761149

thanks you sirs. :)
>>
>>59761136
.NET was a nightmare. PHP was suicide. Ruby is gay. Python is Marxism.
>>
>>59755946
>>59755946
>rust
>>used by nobody, shilled by crazy people, tries too hard to be uglier than sepples

It has a decent type system and gets the job done. What more do you want?
>>
>>59761285
>decent type system
>no HKTs
Pick one.
>>
File: 1490456982544.png (68KB, 159x280px) Image search: [Google]
1490456982544.png
68KB, 159x280px
>>59756682
Code is the postcum of masturbation.
>>
>>59761296
> Supports basing types on others
> Doesn't get in the way when it shouldn't
> Gets in the way when it should

I'm not a type nazi, anon. It get's the job done.
>>
>>59761362
HKTs let me get the job done. A language without them forces me to write the same code multiple times.
>>
>>59761386
Fair enough.
>>
>>59761285
>It has a decent type system
I think you mean "decent for an imperative language".
>>
>>59761898
My experience is primarily with imperative languages. I admit I don't have much experience with functional languages to appreciate the niceties that functional type-system features bring.

But for what it is and what it's supposed to do, rust's type system is really nice to work with.
>>
>>59762055
>functional type-system
That's not really a thing. It's just that functional languages usually tend to have better type systems.
>rust's type system is really nice to work with.
Which doesn't imply that it's decent.
>>
>>59762106

I'm curious: How do you define decent?

To me, a type system is a way to let the compiler validate the semantics of the code I write, and to check that what I write is consistent and makes sense.

To that end, I think the rust type system is head over shoulders above other typed-language systems that I worked with (namely C). That's not to say that no other system is better of course, but that - of they systems I had the pleasure and displeasure to work with, rust's system does its job the best.
>>
>>59755653
rollin
>>
>>59762289
>How do you define decent?
I don't think I have a precise definition, but at least having HKTs would certainly be on that list.
>To me, a type system is a way to let the compiler validate the semantics of the code I write, and to check that what I write is consistent and makes sense.
One more important property is allowing you to specify the desired behavior of your program and making the undesired behavior unrepresentable.
>C
It's barely typed at all, of course anything with even a mediocre type system would be better in that regard.
>>
>>59762500
>It's barely typed at all, of course anything with even a mediocre type system would be better in that regard.

I completely agree. I'll amend my previous statement:

> it has a decent type system that gets the job done.
>>
File: 1490226694197.png (754KB, 736x715px) Image search: [Google]
1490226694197.png
754KB, 736x715px
What assembler should I be using to learn x86 assembly?
Thread posts: 332
Thread images: 25


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