[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: 314
Thread images: 37

File: 1480708521249.jpg (675KB, 940x822px) Image search: [Google]
1480708521249.jpg
675KB, 940x822px
Old thread: >>57846534

What are you working on, /g/?
>>
>>57851952
Thank you for using an anime image
>>
>>57851952
First for java master race

Working on an xml to object reader required for work
>>
>>57851966
>java poster is slow
poetry
>>
>>57851966
>java master race
>xml to object reader
>for work
I can't tell if this is a good troll or naive pajeet who genuinely doesn't know he's nailing a brutal stereotype, and that's pretty terrifying.
>>
>>57852014
I don't get it?
>>
>>57852025
xml to object is the most retarded cancer ever created by humans

so it must be bait
>>
>>57851966
same, bro, but in python.
also, trying to use only the standard library and, god, Tkinter does suck.
>>
>>57852125
Functional shit brings it's own problems though. C#'s main goal was to make programming easier, so it was basically just improved Java. If they heaped on loads of functional shit it would have become more of a meme langugaes.

Of course there's always F#. Which any serious programmer should be using over C# anyways. C# is for employment, F# is for productivity and fun.
>>
How do you actually engineer solutions on building software. Let's say I have a p2p network Should peers be placed just into a simple list and looped through to get say 'status update' then refine a new list based off status update.

Or should peers be ina dictionary, can i update keys on each peer for their 'status'? Or should I somehow make a class that makes things more layered.

connected to 210.54.33.17

connected to 188.118.158.34

connected to 45.72.234.244

connected to 84.106.111.243

connected to 186.241.39.126

connected to 125.33.16.11

connected to 104.244.74.139


we have a connection wit heach one of these. Now let me say I want it to where I get the status of each one?
>>
File: anal beads.png (80KB, 431x685px) Image search: [Google]
anal beads.png
80KB, 431x685px
>>57852234
You probably shouldn't post your IP addresses on 4chan.
>>
>>57852333
Yes tehy're not mine they're peers on a torrent.

When you run torrent software your ip is visible to everyone regardless.
>>
>>57852333
o shit. bad ass hacker detected
>>
File: 1453637888828.png (18KB, 318x285px) Image search: [Google]
1453637888828.png
18KB, 318x285px
>>57851952
Please use an XKCD image next time.
>>
>>57852333
>ip geolocation
>accurate ever
pick 1

google thinks I live in a different city every time I restart my router, the information you get is about as useful in tracking someone down as their flag on /sp/ is.
>>
>>57852390
Randall pls...
>>
>>57852147
>C#'s main goal was to make programming easier
>make programming easier

I feel like I've already heard it somewhere
>>
File: 31.png (542KB, 813x1000px) Image search: [Google]
31.png
542KB, 813x1000px
Rate my haskell fizzbuzzer

fizzbuzz n = concat (map (\n -> " " ++ if n `mod` 15 == 0 then "FizzBuzz" else if n `mod` 5 == 0 then "Buzz" else if n `mod` 3 == 0 then "Fizz" else show n) [1..n])


Am I allowed to post in /dpt/ now?
>>
Just bought a prehistoric word processor and noticed it supports external applications.

It's an LW-810ic.

I want to see if I can make an application for it and have no God damn idea where to start.
>>
>>57852437
>Scroll bar
Fuck off, indent it properly or go die.
>>
File: :::.png (39KB, 1371x241px) Image search: [Google]
:::.png
39KB, 1371x241px
>>57852450
>having a scroll bar
>>
>>57852437
" ".join("fizzbuzz" if i%15==0 else "fizz" if i%3==0 else "buzz" if i%5==0 else str(i) for i in range(1,101))

Join the python one liners club.
>>
>>57852433
>I feel like I've already heard it somewhere
where?
>>
>>57852437
> conditional logic
> Haskell fizzbuzz
Keep studying.
>>
>>57852014
Not a troll nor pajeet,its just part of a bigger project. But yeah its pretty boring

>>57852025
Its one of those generic programming things you do at work, xmls and schemas and shit
>>
File: killself.webm (2MB, 1280x720px) Image search: [Google]
killself.webm
2MB, 1280x720px
/dpt/-chan, daisuki~

Ask your much beloved programming literate anything (r/IAMA)

>tfw no question

>>57851952
Thank you for using an anime image.
>>
>>57852437
You've failed.
>>
>>57852437
>>57852466
Why put it on one line when you can make it more readable on many?

Range(1, 100)
.Select(x =>
x % 15 == 0 ? "FizzBuzz" :
x % 5 == 0 ? "Buzz" :
x % 3 == 0 ? "Fizz" :
x.ToString())
.ForEach(WriteLine);
>>
>>57852546
>he needs code to be readable
I feel bad for you.
>>
>>57852546
F#ified:
[1 .. 100]
|> Seq.map (fun i ->
match i % 3, i % 5 with
| 0,0 -> "FizzBuzz"
| _,0 -> "Buzz"
| 0,_ -> "Fizz"
| _,_ -> string i)
|> Seq.iter (printfn "%s")
>>
>>57852618
>he doesn't write readable code
I feel bad for you.
>>
>>57852618
It's the burden of being a good programmer :(
>>
Who's got that rolling chart
>>
>>57852660
http://better-dpt-roll.github.io/
>>
>>57852626
Elixir'd.

0..100
|> Enum.map(fn(n) ->
case {rem(n, 3), rem(n, 5)} do
{0, 0} -> "FizzBuzz"
{0, _} -> "Fizz"
{_, 0} -> "Buzz"
{_, _} -> n
end
end)
|> Enum.each(&IO.puts/1)
>>
>>57852537
senpai how can I free myself from the boundaries of finite intelligence?
>>
>>57852546
>readable
Its like you want to be replaceable at your job
>>
>>57852537
What anime?
Is it good?
Does it have lewds?
>>
>>57852686
Rusted.
fn main() {
for i in 1..102 {
match (i%3, i%5) {
(0, 0) => println!("FizzBuzz"),
(0, _) => println!("Fizz"),
(_, 0) => println!("Buzz"),
(_, _) => println!("{}", i)
}
}
}
>>
>>57852546
nothing you can do can make haskell """"readable""""
>>
>>57852686
Based Elixir. I should pick it back up. But Clojure is just too nice.
>>
>>57852733
now post the brainfuck version
>>
>>57852537
Why didn't the 2nd animuu catch the first animuu before she fell off the bridge? She had plenty of time..

Also, why did the first animuu explode when she hit the train tracks like a bean bag filled with blood?

These are important questions.
>>
What are the best practices the order of functions in a C program?
>>
What's the best C++ IDE on Linux?
>>
>>57852848
Notepad++.
>>
>>57852848
CLion
>>
>>57852848
Vim + terminal.
>>
>>57852466
int main(){ for(int i = 0; i <= 100; i++){ if(i%3 == 0) printf("%s\n", "fizz"); if(i%5 == 0) printf("%s\n", "buzz"); else printf("%d\n", i); } }

easy
>>
>>57852892
Doesn't produce the expected output, try again.
>>
>>57851966
>not using json
>not just doing json.deserialize

I fed up with this worl
>>
>>57852892
Technically, one line. But it's multiple statements.

Also
>printf("%s\n"
You could have saved a lot of trouble by using
>puts("fizz")
>>
>>57852892
That's not a "one-liner", in that it is more than one statement.
>>
>>57852878
What plugins should I use?
>>
File: kill_yourself.jpg (13KB, 224x216px) Image search: [Google]
kill_yourself.jpg
13KB, 224x216px
>>57852014
>pajeet == someone employed
>>
>>57852848
any text editor, terminal, make and optional cmake.
>>
>>57852964
> plugins
For what purpose?
>>
File: trash.gif (3MB, 390x293px) Image search: [Google]
trash.gif
3MB, 390x293px
>>57851966
>xml
>not json
>>
>>57851966
Please tell me you're not a pajeet
>>
>>57852972
>pajeet == someone employed
Welcome to /dpt/, where you're ridiculed if you make money in any way other than sending thirsty arabs pictures of your hairy legs covered in thigh-highs, and the points don't matter.
>>
>>57852980
Getting actual work done efficiently, I'd assume.
>>
>>57852999
>trips
The point is most jobs require you to be useless
>>
>>57853015
Based on what?

Why would you have a job where you're useless?

Why would you want that, and why would any employer want that?

Are you assuming that the vast majority of software development shops are managed by bumbling retards who don't have to worry about costs, profits, and getting projects done on time?

Government shops, maybe, but not private sector.
>>
>>57853006
I've yet to see a genuinely useful Vim plugin.
>>
>>57852999
Newfags not knowing what the pajeet and code monkey memes mean. It's OK, since 4chan will shutdown soon.
>>
Do you recommend using linters?
>>
F# is so cool.
>>
>>57853109
Haskell is better.
>>
>>57853109
Elixir is cooler.
>>
>>57853124
Haskell has literally never been used for anything useful

At least ML has a ton of industry used interactive theorem provers
>>
File: PLchart.png (2MB, 1600x987px) Image search: [Google]
PLchart.png
2MB, 1600x987px
>>57852480
Every HLL release
>>
>>57853109
>>57852626
C# is going to devour it soon.

I can see it now; you'll just use a
functional
keyword and then you can use F# within a code block or something.

public void FizzBuzz(int max)
{
functional
{
[1 .. max]
|> Seq.map (fun i ->
match i % 3, i % 5 with
| 0,0 -> "FizzBuzz"
| _,0 -> "Buzz"
| 0,_ -> "Fizz"
| _,_ -> string i)
|> Seq.iter (printfn "%s")
}
WriteLine("FizzBuzz is done!");

"izzBuzz is done!".ForEach(WriteLine);
}
>>
>>57853139
>Haskell has literally never been used for anything useful
F# has literally never been used or anything useful.
>>
>>57853098
Depends how much work the compiler does. Some compilers do what linters do as well as compile. If it doesn't, you should use a linter too.
>>
>>57852745
Once you learn Haskell syntax you realize it couldn't be more simpler.
>>
Is it weird I pre-plan all my hobby projects for the year, finished all my projects for this year so no programming till next year anyone else do this?
>>
>>57853174
Wrong.
F# programmers get paid.
>>
>>57853218
Haskell programmers get paid to write Java

F# programmers get paid to write C#
>>
I'm helping out a friend with his code. I stumbled upon this piece of work
cout<<setw(15)<<instance.item<<setw(10)<<instance.sold[0]<<setw(10)<<instance.sold[1]<<setw(10)<<instance.sold[2]<<setw(10)<<instance.sold[3]<<setw(10)<<setprecision(0)<<fixed<<instance.total<<setw(10)<<setprecision(1)<<fixed<<instance.average<<endl;

How do I kindly tell him to use printf?
>>
>>57853174
>>57853218
>>57853252
Someone said Jet.com's backend was written in F#. I thought that was neat.
>>
>>57853252
This is hilariously true.
>>
>>57852520
ObjectMapper.

Never roll your own shit when you can avoid it.
>>
>>57852956
>>57852936
>>57852892
Nothin personnel, kid. Come back when you've passed CS101.

main(){for(int i = 0; i < 100; ++i % 15 ? (i % 3 ? (i % 5 ? printf("%d\n", i) : puts("Buzz")) : puts("Fizz")) : puts("FizzBuzz"));}
>>
>>57853252
What do Erlang programmers get paid for?
>>
>>57853189
I'm trying out splint for C. So far, it's getting on my case for ignoring return values of functions like fgets and not checking for null values. I might try out sparse, too.
>>
>>57853285
Demonstrate to him why streams are worse than printf for your given use case or project.
>>
>>57853305
Staring into the abyss.
>>
>>57853311
Those are important things to check if you want robust software.
>>
>>57853305
Writing C++
>>
>>57852921
json is fucking ass and its syntax is even dumber than xmml.
>>
File: explooooosion.webm (325KB, 176x275px) Image search: [Google]
explooooosion.webm
325KB, 176x275px
>>57851952
Made an exploooosion sweeper as a light breather from my big harvest moon ncurses clone project.

Source (A tad bit messier this time): http://pastebin.com/gBYZCij7
>>
File: oh noes.jpg (99KB, 784x810px) Image search: [Google]
oh noes.jpg
99KB, 784x810px
Can someone tell me what I'm doing wrong with my AoC day 1 solution?
It wants me to get the coordinate of the first location I visited twice, but does it want the distance from the origin or from the final point?

It already blocked me for getting the answer wrong too many times, but I just want to finish this shit.

http://pastebin.com/7pyVbsqB
>>
>>57853357
Oops, forgot about the curses warpper: http://pastebin.com/cPZYFhUi
Same one as usual.
>>
>>57853357
nice
>>
>>57853301
>>57853172
>>57852892
>>57852733
>>57852686
>>57852626
>>57852546
are you guys even trying?

python 2.7
for i in range(1,101):print"FizzBuzz"[i*i%3*4:8--i**4%5] or i
>>
>>57852546
That's slick.
>>
>>57852437
>concat (map f [1..n])
think, how can you reduce the code here?
>>
File: countrysort.png (73KB, 636x676px) Image search: [Google]
countrysort.png
73KB, 636x676px
how do
>>
>>57853387
unreadable/10
>>
File: insurmountable intellect.png (26KB, 293x389px) Image search: [Google]
insurmountable intellect.png
26KB, 293x389px
>>57853387
>Uses baby scripting language
>Insults others
LMAO'ing at your life right now rn desu
>>
>>57852728
>Does it have lewds?
It's a usual harem.
>>
>>57853252
Who gets paid to write VB?
>>
>>57853454
>baby scripting language
>not writing fizzbuzz in python

kill yourself retard
>>
File: IMG_1898.jpg (97KB, 680x680px) Image search: [Google]
IMG_1898.jpg
97KB, 680x680px
>>57853353
>XMML
>>
>>57853387
Not pythonic enough
"\n".join(map(lambda i: "fizzbuzz"[i*i%3*4:8--i**4%5] or str(i),range(1,101)))
>>
>>57853494
too big

try again
>>
File: <<wojack>>.jpg (57KB, 724x611px) Image search: [Google]
<<wojack>>.jpg
57KB, 724x611px
>>57853468
>isn't capable enough to write something as simple as fizzbuzz in any language but python
>calls others retards
>>
>>57853174
jet.com is entirely built with F#
>>
>>57853508
https://wiki.haskell.org/Haskell_in_industry
>>
>>57853502
>tfw embedded systems programmer (C/Assembly/FASM)
>tfw a pleb on /g/ is throwing a fit because i'm using python
>implying i care

lmao
>>
File: CXCi0e_UoAAwnkk.jpg (26KB, 476x640px) Image search: [Google]
CXCi0e_UoAAwnkk.jpg
26KB, 476x640px
>>57853530
>when you're a haskell user and you go 5 minutes without posting https://wiki.haskell.org/Haskell_in_industry
>>
In Python, if I have a string that looks like '110.47\n' what's the most efficient way to get it to just be a float equal to 110.47?
>>
File: POO.png (47KB, 175x191px) Image search: [Google]
POO.png
47KB, 175x191px
>>57853491
>Can't provide a counter point
>H-HAHA, YOU MADE A MINOR TYPO SO YOU ARE CLEARLY WRONG
>>
>>57853353
>apply for entry level position at Amazon
>They send me to do a hackkerrank challenge
>it's a question about writing all the different combinations of a string, discarding combinations of repeat characters
>spend 50 minutes writing it, satisfied with my answer
>hit submit with 10 minutes to spare
>realize that was just the first coding problem had 2 more coding problems to do in 10 minutes
>2nd one was solving a maze made out of a string of integers and it timed out before I could finish
Well, shit.
>>
File: 1479605643910.gif (3MB, 445x247px) Image search: [Google]
1479605643910.gif
3MB, 445x247px
>>57853575
>can't spell
>>
I want project ideas .I'm ~ 11 months away from getting a C.S. degree. I am older than the average graduate and will not have too much on my resume (Network+ and Security+ certs, ~6 months as jr. network engineer). I want at least a couple Github projects I can show to interviewers before I start applying for serious jobs.

Interests:
- network/system administration
- security, cryptography
- C, Python, Java

Any ideas?
>>
File: 1477409005999.jpg (192KB, 864x860px) Image search: [Google]
1477409005999.jpg
192KB, 864x860px
>>57853594
XML, check mate.
>>
File: argument-typo.jpg (32KB, 735x541px) Image search: [Google]
argument-typo.jpg
32KB, 735x541px
>>57853594
>>
File: 1479764856744.png (2MB, 3840x2160px) Image search: [Google]
1479764856744.png
2MB, 3840x2160px
>>57853600
>>
>>57853606
Back to your containment subreddit
>>
>>57853617
Rooool
>>
>>57853630
>...so then I said that he goes to reddit! Fucking pwned, right?
>>
>>57853499
>>> def foo1():
return print("\n".join(map(lambda i: "fizzbuzz"[i*i%3*4:8--i**4%5] or str(i),range(1,101))))
>>> t = timeit.Timer(foo1)
>>> t.repeat(number=100)
[0.512998932893007, 0.4435681522144357, 0.41742931359512414]

>>> def foo2():
for i in range(1,101):print("FizzBuzz"[i*i%3*4:8--i**4%5] or i)
>>> t = timeit.Timer(foo2)
>>> t.repeat(number=100)
[12.982660945242458, 13.029478717479265, 13.005073210784587]

Mines faster because it was more pythonic. Yours isn't
>>
working on an authentication system for work with Vue.js and Go.

It's my first big project, and I'd be lying if I wasn't a little bit intimidated. Just 2 months ago I didn't know anything about development.
>>
>>57853650
Buffering output before you write it to a console is not more "pythonic", it's just writing better code.
>>
>>57853680
90% + 99% =/= 100% idiot
learn to cound kitty
>>
>>57853680
What about his posts were /pol/? You seem pretty desperate json san.
>>
>>57853680
>has never seen the term "pwned"

I'm honestly curious, how old are you? I'd be very surprised if you're older than 19.
>>
>>57853703
I'm not "json san", the /pol/ image he used was the comic.
>>
Does rust have any industry value?
>>
>>57853755
Sure, you can use it to make thermite.
>>
>>57853755
Yeah, pretty sure they use it as a colorant in some paints.
>>
>>57853668
I'm using two separate generators and a lambda function to achieve the same goal as your for loop.

It's more pythonic.

To be fair, your method can be equivalent to using yield to make a generator.
>>> def foo2():
for i in range(1,101):yield "FizzBuzz"[i*i%3*4:8--i**4%5] or str(i)
>>> def foo2_helper():
print("\n".join(foo2()))
>>> t=timeit.Timer(foo2_helper)
>>> t.repeat(number=100)
[0.5009724710545242, 0.42884117010464706, 0.43030402738554585]

But it'll take two functions instead of one
>>
>>57853770
>i'm more pythonic
You mean you're a worse programmer?
>>
>>57853761
Wow you seem pretty knowledgeable about /pol/ goings on for somebody that isn't /pol/. Maybe you should go back there instead of lying to yourself.
>>
>>57853770
>your
>your
I'm not the anon who posted that unreadable clusterfuck, I'm just commenting on your usage of buffer-then-output is simply more efficient, and has nothing to do with being "pythonic".
>>
File: dpt_op_pictures.png (237KB, 673x553px) Image search: [Google]
dpt_op_pictures.png
237KB, 673x553px
>>57852390
I prefer to use anime images on Japanese-inspired site.

>>57851960
>>57852537
You're welcome!
Do you have some more dpt-related pictures for OP posts? Feel free to share any, but no Himemoto please.
>>
>>57853779
I am pretty knowledgable about /pol/ things, as well as many other things, just makes my disgust of /pol/ even more justified.
That board doesn't belong on this website and should be deleted or moved to another website.
>>
>>57853777
>using inbuilt mechanisms to achieve faster code is somehow bad
>>
>>57853806
Fuck off back to /pol/ already. You aren't fooling anyone.
>>
>>57853813
No, Python is bad
>>
>>57853825
You're bad
>>
>>57853813
>fasssster code
>python
Anon I'm ssssorry
>>
>>57853813
>not using inbuilt mechanisms to achieve faster code is somehow bad
>>
File: 1480850005681.jpg (9KB, 208x206px) Image search: [Google]
1480850005681.jpg
9KB, 208x206px
How does one know that he's not too retarded for programming computer code?
>>
>>57853849
>programming computer code
Well, that's one way to tell.
>>
>>57853849
Can you count to 10 without using your fingers?
>>
>>57853849
He doesn't post frogs or wojak, and certainly not that stupid ">tfw too intelligent" meme
>>
>>57853849
>Vargposting in /dpt/
I'll see myself out
>>
>>57853756
>>57853760
I mean rustlang. Is it only Mozilla that's using it?
>>
>>57853866
>tfw to intelligent to care if it's a meme or not
>>
Hi, guys. Programming in C, and trying to make the computer to give me 1 if a a pair of numbers are divisible or a 0 if not. This is the code.

 
#include<stdio.h>
void main()
{
int a,b,r;
printf("Introduzca primer valor ");
scanf("%d",&a);
printf("\nIntroduzca segundo valor ");
scanf("%d",&b);

r=a%b;

if(r==0)
{
printf("0");
}
else
{
printf("1");
}
}


It always gives a 1, what im doing wrong?
>>
>>57853892
float a, b, r;
r=a/b;
if((int)r>r)
{
//values are not divisible
}
>>
>>57853892
4 % 5 = 1
4 is not divisible by 5
>>
>>57853928
>float operations
>using precious system time for that shit
fuck off
>>
File: 1457032047629.png (71KB, 251x251px) Image search: [Google]
1457032047629.png
71KB, 251x251px
>>57853940
Fucking fight me.
>>
>>57853934
Im a fucking asshole, thanks
>>
>>57853928
> He thinks this won't ever be wrong
>>
>>57853572
In Ruby, this is just
"110.47\n".chomp.to_f

Hope this helps.
>>
Any C++ developers using Atom here?
I want to give the editor a try.
What are some essential plugins?
>>
File: Global Rule #3.jpg (183KB, 900x900px) Image search: [Google]
Global Rule #3.jpg
183KB, 900x900px
>>57854070
>>
>>57854076
lint-gcc
>>
>>57854076
No but I use it for Haskell
I can check
>>
>>57854076
INSTALL GENTOO
>>
>>57854076
presumably you want "language-C" and if you use clang, "autocomplete-clang"
>>
Hello, here again. This time, to tell if a number is even or nah.

#include<stdio.h>
void main ()
{
int a,b;
printf("Introduzca valor ");
scanf("%d",&a);

b=a%2;

if(b=0)
{
printf("1");
}
else
{
printf("0");
}
}

It says that 2 isn't even
>>
>>57854175
>drumpf
Hasn't current year man killed himself by now?
>>
>>57854175
That's President Drumpf to you
>>
>>57854164
b=a%2;

This is not doing what you think it's doing.
>>
>>57854164
In javascript, it's just
eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('0.1(3("4=")%2)',5,5,'console|log||prompt|n'.split('|'),0,{}))
>>
>>57854175
You'd think that after Trump won the left would have completely changed their election strategy.
>>
>>57854164
b=0

This statement is always true.
>>
>>57853813
creating unreadable code is bad.

there are tons of things which could be faster, but ultimately impenetrable because they're so cryptically written that no one but the creator can understand it.

good code is readable code.
>>
>>57854164
>b=a%2;
Jesus Christ. It's just
if(a%2==0)
>>
>>57854237
Pls explain
>>
>>57854265
Oh, and use
0 == b

next time, compiler will alert if you'll write
0 = b
>>
>>57854265
false
>>
>>57854270
Thanks, worked
>>
>>57853172
Is this nemerle?
>>
>>57854248
>the left
>strategy
kek
>>
>>57854271
if (a % 2 == 0)
return 1
else
return 0
>>
>>57852437
>concat (map
>if then instead of glorious case
ayyy
>>
>>57854345
return a%2
>>
>>57851952
dynamic programming in haskell

i don't like it but i refuse to use java
>>
>>57854371
Indeed, but if he doesn't understand what % does, then he ain't going to understand that either.
>>
>>57854377
>dynamic programming in haskell
Any clever functional embedding or are you just using boring old arrays?
>>
>>57852626
main = mapM_ (putStrLn.fizzBuzz) [1..100]
where fizzBuzz n =
case (n `mod` 3, n `mod` 5) of
(0,0) -> "FizzBuzz"
(0,_) -> "Fizz"
(_,0) -> "Buzz"
(_,_) -> show n
>>
>>57854248
Their new hybrid strategy is now sucking commie cock.

liberals are probably gonna go full commie in this timeline and le fight le goverment xDXXDXD
>>
>>57854386
BOA
>>
>>57854290
Oh, it is.
But the thing is, other ondition won't run ever.
>>
>he says a % 2 instead of a & 1
>>
>>57854396
(map #({0 "fizzbuzz"} (mod % 15)
({0 "fizz"} (mod % 3)
({0 "buzz"} (mod % 5) %)))
(range 1 100))
>>
>>57854504
>side effects
>>
>>57854514
No side-effects there, son.
>>
File: anal beads.png (5KB, 381x99px) Image search: [Google]
anal beads.png
5KB, 381x99px
>>57854164
>>57854245
>tell if number is even or nah
In C# this is easy, it's just:
WriteLine(Range(1, int.Parse(ReadLine()))
.Select((x, index) => new { x, index })
.GroupBy(x => x.index / 2, i => i.x)
.Where(x => x.Count() != 2)
.Count() == 0);
>>
>>57854538
whoops, misread
>>
>>57854568
print.even =<< readLn
>>
>>57854568
In assembly, this is easy. It's just
andl    $1, %eax
>>
File: boner ritchie.png (468KB, 936x550px) Image search: [Google]
boner ritchie.png
468KB, 936x550px
>>57854493
>implying the compiler doesn't optimize it
>>
>>57854504
(defun shiggylicious (n)
(dotimes (i n)
(format t "~%~:[~d~:;~:*~{~c~^~}~]"
(append (and (zerop (rem i 3)) (coerce "fizz" 'list))
(and (zerop (rem i 5)) (coerce "buzz" 'list)))
i)))
>>
>>57854270
Uhhhhh...
How about just
if (a%2)
>>
The wednesday before last I was told I would hear back from a company by last wednesday. Last friday I sent them a message after getting no response and they said that the second round of interviews was taking longer than expected and would get back to me by today at the latest. I have yet to get a response.

what do /dpt/?
>>
File: unknown.png (11KB, 645x75px) Image search: [Google]
unknown.png
11KB, 645x75px
>>
>>57854682
OMG, using complicated math like the modulo operator is sexual oppression / gender discrimination
>>
>>57854699
Wait to get a response for a day or two, follow up again.
>>
>not coding in wires
module fizzbuzz();
logic fizz, buzz;
logic [6:0] cnt;

initial begin
fizz <= 0;
buzz <= 0;
cnt <= 1;
#500; $finish;
end

always begin
#5; #5;
fizz <= 1; $print("Fizz"); #5;
end

always begin
#5; #5; #5; #5;
buzz <= 1; #1; $print("Buzz"); #4;
end

always_comb begin
cnt <= cnt + 1;
if (fizz) fizz <= 0;
if (buzz) buzz <= 0;
if (!fizz && !buzz)
$print("%d", cnt);
$print("\n");
end
endmodule
>>
>>57854703
Pajeet/10
>>
>>57854164
it should be b==0 not b=0. = is assignment, == is comparison
>>
>>57854703
What kind of madman would do such a descriptor?
>>
If I use macroassembler, am I use still using assembler?
>>
>>57854681
Lisp is magic.
>>
>>57854659
int foo(int i)
{
return i&1;
}

int foo2(int i)
{
return i%2;
}

foo(int):
mov eax, edi
and eax, 1
ret
foo2(int):
mov edx, edi
shr edx, 31
lea eax, [rdi+rdx]
and eax, 1
sub eax, edx
ret
>>
>>57854245
>
function(m,e,m,e)


why do javascripters do this?
>>
File: IMG_1900.jpg (24KB, 456x320px) Image search: [Google]
IMG_1900.jpg
24KB, 456x320px
>worked at last company for a year before mass layoffs, got laid off
>worked at company before that for 8 months before office closed down
>can't get past hr now at companies because "flight risk"
>>
>>57854792
that sucks my man. Can always look for small companies without HR depts..
>>
>>57854792
Well, anon, it appears you're literally so shitty that you've managed to cause a massive reduction in revenue in one company, and you singlehandedly destroyed another.

In fact, it's not that you're a flight risk; we're worried if you're here for too long you'll destroy us too! Ha ha, try again down the street, will ya? No hard feelings!
>>
>>57854852
If that HR was so smart why not recommending him to a rival company using a proxy company?
>>
>>57854852
FUCK OFF commie, that's how the world works, sorry not sorry
>>
File: 1457.gif (174KB, 500x375px) Image search: [Google]
1457.gif
174KB, 500x375px
>>57854891
>that's how the world works
>>
>>57854891
stop ruininig capitalism, karl
>>
>>57854852
It was actually the opposite at the last place, profits were so high they sold the company and the new owners fired everyone xD
>>
>>57854980
>implying capitalism isn't inherently flawed
>>
>>57854703
#define IGNORE_EXCEPT(code) try { code } catch (...) {}
>>
>>57855058
it is but you don't need to make it worse
at least it isn't communism
>>
File: last.png (212KB, 1900x830px) Image search: [Google]
last.png
212KB, 1900x830px
Working on my terminal emulator, trying to port it to native Wayland, had some trouble but finally managed to actually show a window.

So close, yet so far.
>>
>>57854778
foo2 still uses an and, in the 3rd from last row, but just does more type checking. It can still be optimized if you tell the compiler to.
>>
>>57855102
Is wayland ever going to be standard in linux? for fucks sakes. They've been working on it for a fucking decade now. Windows and OS X both had properly supported desktop compositors since 2006. Christ.
>>
>>57855121
That was -O3 optimization.
>>
File: 1480664267597.jpg (18KB, 500x500px) Image search: [Google]
1480664267597.jpg
18KB, 500x500px
Hey /g/

I'm taking my first java course at uni, have already learned all the basic stuff in the language like the syntax for conditions, the loops, variables, constructors, objects and whatnot, the real basics...and some GUI-building(with String, AWT).

I now need to find new sources to further my knowledge in Java. I know pretty much nothing about the thread-stuff and there's obviously a lot left for me to learn.

If you were to recommend 3 books for me to buy and learn more about Java, which would they be?
>>
should I delete everything I new in c++?
>>
File: bigYes.jpg (49KB, 300x417px) Image search: [Google]
bigYes.jpg
49KB, 300x417px
>>57855450
YES.

But the better answer is to use smart pointers.
>>
>>57855463
I'm still at the beginning of bjarne's book, anon, I don't even know dumb pointers.
>>
>>57855463
>go to a 'modern' c++ presentation
>lol use auto for everything!
I want to kms
>>
>>57855488
That's good! You should avoid dumb pointers, they're easy to misuse.
Use the stack instead, and once you've learned them smart pointers.

The most powerful feature in C++, the feature that makes C deprecated all by itself, it the closing bracket }
Because it will automatically call all your destructors and clean up your shit for you, no mistakes possible

>>57855491
People always overreact when they see shiny new features.
auto is awesome, but obviously don't turn your C++ into python.
>>
>>57855491
>>57855491
What, you didn't realize you'd be forced to learn things in school that were outdated 15 years ago?
>>
>>57855551
>school
>learning

If you aren't already ahead of the cursus, it's time to read a book.
>>
>>57854792
Why don't, y'know, mention something in the cover letter. Either you aren't doing your best to solve this problem, or your misinterpreting the problem as something that it's not ("flight risk" vs. perceived aptitude). Try your best or quit complaining.
>>
File: IMG_20161101_203326.jpg (403KB, 1080x1600px) Image search: [Google]
IMG_20161101_203326.jpg
403KB, 1080x1600px
Hello, I know this probably doesnt belong here, but idk where else should I ask.

I want to get into robotics, what would be the best first language to learn and what are some fundamentals I should know/learn? Thanks if you answer, this means a lot to me.
>>
>>57855593
>what would be the best first language to learn
Probably C or C++ tbqh
>>
>>57855254
I seriously hope not, it's utter shit, I'd take X11 any day over Wayland.
>>
>>57855593
>I want to get into robotics because i saw westworld


kys
>>
>>57855593
What kind of robotics you want to get into?
Universal response is C.
>>
>>57855567
>implying you're still wasting your time in a normie brainwashing camp
>>
>>57855593
Get a raspberry pi and dick around with the GPIO libraries, some nice C/Python bindings and plenty of tutorials. Many people recommend arduino but you really will be limited on learning since it's such a limited platform. RPi is typically linux so you'll get a nice gentle introduction to coding and the BASH command line. If you decide to buy one you'll probably want Raspian as the OS, and probably the Pi 3 since it has built-in WiFi + bluetooth. Then look into 'maker' robotic projects/tutorials. luck friend
>>
>>57855638
It's probably a good move to enroll and wait for the date you're allowed to take your diploma.
HR people like diplomas.
>>
>>57855620
Thanks, could you please recommend me some online courses?
Im still in high school(18yo) and our IT teacher is absolute shit, so my best bet is to learn it on my own.
>>
Alright, after screaming and [spoiler]copying other people's code[/spoiler] I have a working quicksort program.

I've commented it retardedly, could someone help me work out what the fuck is going on? I get that it's split into a "left" array and a "right" array which are both recursively put through the quicksort() function until the whole thing is sorted, but I don't really understand parts like this:

t = arr[p];
arr[p] = arr[j];
arr[j] = t;


#include <stdio.h>

void quicksort(int arr[], int low, int high);
void print_int_array(int arr[], int len);

int main(void){
int a[] = {6, 8, 3, 5, 9, 1, 2, 7, 4};
int len = sizeof(a) / sizeof(a[0]);

print_int_array(a, len);

quicksort(a, 0, len - 1);

print_int_array(a, len);

}

void quicksort(int arr[], int low, int high){
// temp, i (left), j (right), pivot
int t, i, j, p;
if(low < high){
// set pivot to first element of the main array
p = low;

// set "left" array's start to first element of the main array
i = low;

// set "right" array's start to last element of the main array
j = high;

// while the lowest index (which will increment) remains below the
// highest (which will decrement)
while(i < j){
// if the element in index i is smaller than the pivot,
// increase the lowest index
while(arr[i] <= arr[p] && i < high){
i++;
}

// if the element in index i is higher than the pivot, decrease
// the highest index
while(arr[j] > arr[p]){
j--;
}

// if lowest index remains lower than highest index, swap them around
if(i < j){
t = arr[i];
arr[i] = arr[j];
arr[j] = t;
}
}

// swap the pivot and the highest index???
t = arr[p];
arr[p] = arr[j];
arr[j] = t;

quicksort(arr, low, j - 1); // sort left array
quicksort(arr, j + 1, high); // sort right array
}


}

void print_int_array(int arr[], int len){
for(int i = 0; i < len; i++){
printf(" %d ", arr[i]);
}
printf("\n");
}


Any help much appreciated!
>>
>>57855667
>Thanks, could you please recommend me some online courses?
Not really, I learned C++ online when I was a teen, but I'm a Yurofag (France), so I couldn't give you a good english tutorial.

You can always pick up a dusty ol' book, start a project, and read the book when you get stuck.

>Im still in high school(18yo) and our IT teacher is absolute shit, so my best bet is to learn it on my own.
That's the spirit!
>>
>>57855667
C Programming: A Modern Approach (2nd ed. ) is an 800+ page C book, but there's basically 0 chance of you finishing it without a really solid knowledge on C fundamentals. It might be easier if you mess about with a language with a simpler syntax like Python first, just so you can get a grasp on basic programming concepts and shit first.
>>
>>57855635
Well probably automation - electrical engineering in uni to get a job and then I want to, atleast as a hobby, work on robots. They fascinate me and I think that they are our future.
>>
>>57855254
It's already shipped with Fedora so I guess it's good enough for casual use.
>>
there are so many different books about the same things that I never know what I should read
>>
>>57855254
Wayland is done already, it's the million lines of window managers, desktop environments and X applications that need to be rewritten
>>
>>57855753
Only keep the books that have a good review (by actual programmers, not random Amazon grandmas), and then read the newest.
>>
>>57855254
no. ubuntu uses its own protocol. android uses its own protocols. others will keep using X for years. wayland is a mistake.
>>
>>57855775
>by actual programmers
and how do I know who is an actual programmer? amazon's reviews are my only source right now.
>>
Rate my Day 3 AoC!

int valid_triangle(int *arr)
{
if (arr[0] + arr[1] > arr[2] &&
arr[0] + arr[2] > arr[1] &&
arr[1] + arr[2] > arr[0])
return 1;
else
return 0;
}

int main(void)
{
char *ins = get_filebuffer(DAY(03));
int sides[3][3] = { { 0 } };
unsigned col = 0, row = 0;
unsigned valid = 0;
char *tok = strtok(ins, " \n");
while (tok != NULL)
{
sscanf(tok, "%d", &sides[row++ % 3][col % 3]); /* vertical */
if ((row % 3) == 2)
col++;
if (!(row % 3) && !(col % 3))
{
unsigned i; /* flatten array */
for (i = 0; i < 3; i++)
{
int arr[3] = { sides[i][0], sides[i][1], sides[i][2] };
if (valid_triangle(arr))
valid++;
}
}
tok = strtok(NULL, " \n");
}
printf("Valid triangles: %d\n", valid);
free(ins);
return 0;
}
>>
>>57855667
in that case you should probably start with python, which is easier to get on the ground running with. You can tackle C after that. python still finds some application in robotics.
>>
>>57855765
also drivers
>>
File: Untitled.png (30KB, 1129x613px) Image search: [Google]
Untitled.png
30KB, 1129x613px
WTF am I doing wrong, literally my last hurdle & I hit a roadblock.

pls help.
>>
got my bit torrents handshake message programmed or at least i think.


sent b'\x13BitTorrent protocol\x94z\xb0\x12\xbd\x1b\xf1\x1fO\x1d)\xf8\xfa\x1e\xabs\xa8_\xe7\x93autobahn012345678bit' to this ip is anonymized now
>>
>>57855450
Nah man. I mean just compile
#define ever (;;)

int main()
{
int *i;
for ever
{
i = new int[1000];
}
}

Runs without a hitch on my machine.
>>
>>57855888
wow that's offensive
>>
that was it /dpt/, that was the last prospect I had left and I got rejected.

I've been unemployed almost 4 months now, and I'm probably going to be unemployed the rest of my life, but the worst part of all is I can't even kill myself, because if I did my mom would kill herself too.
>>
Say, if I want to make a SNES game,
(pet project, crappy homebrew, nothing fancy) how competent is snes-sdk?
https://github.com/optixx/snes-sdk
I don't know anything about asm, but I would probably only do the game's logic in C - I would do drawing in ASM or whatever.
>>
>>57855910
is 4 months a lot
>>
>>57855672
I'd suggest you executing this program by hand, if you want a quick answer.
>>
>>57855925
it's a third of a year, and I only just graduated
>>
>>57855910
kill your autistic mom then kill yourself.
>>
>>57855949
come to norway, we are lacking IT specialists and CS people

read it in the newspaper
>>
>>57853788
I always felt like there should be one of those images with [ ] brackets
>>
>>57855816
Check out stackoverflow and other internet forums, they have lists of recommended books
>>
>>57855910
How many jobs have you been applying to? You should be at least applying to one job a day. It should be your full time job. Spend 2 hours on a new job application. Spend 2-4 hours following up other job applications.
>>
>>57855856
interesting, I just read them in a block of 9
#include <stdio.h>

int main(void)
{
int a1, a2, a3, b1, b2, b3, c1, c2, c3;
int n = 0;

while (scanf("%d %d %d\n%d %d %d\n%d %d %d", &a1, &a2, &a3, &b1, &b2, &b3, &c1, &c2, &c3) == 9) {
if (a1 + b1 > c1 && a1 + c1 > b1 && b1 + c1 > a1) {
++n;
}
if (a2 + b2 > c2 && a2 + c2 > b2 && b2 + c2 > a2) {
++n;
}
if (a3 + b3 > c3 && a3 + c3 > b3 && b3 + c3 > a3) {
++n;
}
}

printf("%d\n", n);

return 0;
}
>>
>>57855997
I send out about a dozen every weekday. Job applications are online and most are short.

Maybe I should suck up my goddamn pride and apply to one of those agencies that try to find jobs for the autisitc
>>
>>57855997
>You should be at least applying to one job a day
Ugh, no. Please don't do that.

If you fail so much that you get rejected every day, you need to stop and figure out what you're doing wrong, not double down.

I find one company I like that corresponds to my profile, tweak my resume for them, and I have a very high success rate so far.
>>
>>57855909
I shall apologize for coming of as offensive.

Sorry.
>>
>>57856044
Faggot.
>>
>>57855930
Not a bad idea. Thanks!
>>
>>57856064
wow that's offensive
>>
>>57856030
2 hours a day tweaking a resume/submitting is quite a enough time to make a quality application and not too long to be overwhelming, in my opinion.
>>
>>57856088
Who are you quoting?
>>
NEET here. Why are you guys tweaking your resume instead of yourself?
>>
>>57856096
If you don't start by finding out why you're getting rejected and you immediately spam all the interesting companies, by the time you figure it out you'll be left with the leftovers.
>>
>>57856098
define who
>>
>>57856129
Did you just assume my gender?
>>
File: 1477029817366.jpg (19KB, 366x399px) Image search: [Google]
1477029817366.jpg
19KB, 366x399px
>working on JFrame for school assignment
>change shit around, don't fuck with main method
>Eclipse stops showing the frame when it's run
>>
>>57855888
Infinite loop mate
>>
>>57856135
>>>/pol/
>>
>>57856125
Interviewing is just a game.
It has nothing to do with who you are and little to do with how good you are at the job.
>>
>>57856150
I wasn't going to say anything, but I feel genuinely uncomfortable in the environment these commentators are creating. Like it or not, 4chan has a very large youth population and it upsets me to know those individuals are being exposed to such lewd and disrespectful means of conversing. They're at a very impressionable point in their life and it takes very little to lead their minds astray. I hope the commentators will take some time to read this and acknowledge what is becoming a deeply concerning issue.
>>
>>57856135
This'll never be a meme, faggot
>>
>>57856125
Faking your way to success is the american way. Why actually learn to program and easily get hired based on your merit when you could just learn to lie about your skills and fake your way through the workday?
>>
I'm a beginner writing a python code for an assignment. I want to make something that generates random jojo stands by taking album names/ band names/ song names (any of those will do) from wikipedia for the stand name and then generates random stats for it.

The random stats part is easy, but I need a bit of help with the names. Does anyone know how I can do this? The random function here ( https://github.com/goldsmith/Wikipedia/blob/master/wikipedia/wikipedia.py ) seems like a good start but I'm not sure how to make it pull from specific categories.
>>
File: dpt.png (518KB, 974x974px) Image search: [Google]
dpt.png
518KB, 974x974px
>>57855979
>>57853788
Here ya go.
>>
>>57855888
Your check sounds inverted
>>
>>57856010
>while (scanf("%d %d %d\n%d %d %d\n%d %d %d", &a1, &a2, &a3, &b1, &b2, &b3, &c1, &c2, &c3) == 9) {

Written like a true CS graduate.
>>
>>57856184
Your opinion is a waste of internet space. The internet is going to crash one day because people like you put IMMEASURABLE garbage on it all day long. People have been coming to this thread posting their INANE opinions, adding to the amount of garbage on the internet, and servers have a finite amount of space. One day the internet is going to crash and I’m going to laugh but you’re going to cry because you don’t have anywhere to post your GARBAGE and no friends at home to talk to about it and no friends on the internet because it crashed because people like you posted too much garbage on it. All the cat pictures, dog videos, emojis, memers, redditors, 4’s chan, you gotta wonder at some point why all this information is being kept on our servers? Because people like you love to read this kind of GARBAGE on a daily basis and tell other people how to live their lives. Well guess what? This time I’m going to call you out on it. This time I’m not going to let you keep crowding the servers of the internet because you refuse to let go of your OPINION and just log off your computer. This time I’m going to take a stand for all the true MEMERS out there who don’t stand for this kind of WHIMSY FLIMSY talk. This time I’m not going to let you win. The internet is going to be full and crash one day because we keep our GARBAGE content on hand for people to copy and paste too often, and they multiply the GARBAGE exponentially. There is finite space on the internet, and quite frankly, I don’t think your opinions and contributions are good enough to bother saving on the servers. I think you need to step back and think about what you’ve done, because your posts aren’t worth the memory it takes to save this GARBAGE.
>>
>>57856188
Is it bad that I spend a large part of my workday shitposting on 4chan?
>>
>>57856239
wow that's offensive
>>
>>57856216
Well, why not, still it's dpt.
>>
NEW THREAD!

>>57856284
>>57856284
>>
>>57856266
I don’t give a fuck how much damage you control or where you live. You can count on me to be there to bring your damage control to a hellish end. I’ll put you in so much damage control that it’ll make Jesus being nailed to a cross in the desert look like damage control. I don’t give a fuck how mow much damage you can control or how tough you are IRL, how well you can fight, or how many fucking guns you own to control damage. I’ll fucking show up at your house when you aren’t home. I’ll turn all the lights on in your house, leave the damage uncontrolled, open your fridge door and not control the damage, and turn your damage control burners on and let them waste gas. You’re going to start stressing the fuck out, your blood pressure will triple, and you’ll try to control the damage. You’ll go to the hospital for a damage control operation, and the last thing you’ll see when you’re being put under in the damage control room is me hovering above you, dressed like a damage controller. When you wake up after being damage controlled, wondering what damage control is in your chest waiting to go off. You’ll recover fully from your damage control. And when you walk out the front door of the hospital to go control damage I’ll run you over with my fucking damage control of no where and kill you. I just want you to know how easily I could fucking control your pathetic excuse of damage, but how I’d rather go to a great fucking length to make sure your last remaining damage controls are spent in a living, breathing fucking hell. It’s too late to save yourself, but don’t bother controlling damage either… I’ll fucking uncontrol your damage and kill you again myself you bitch-faced phaggot. Welcome to hell, population: damage control
>>
>>57856311
i hope that's pasta
>>
>>57856329
Only I am allowed to post that, since I am the author and original creator

I hold multiple patents and copyrights on my secret pasta recipe and am the sole proprietor of all sales of sauce for the above mentioned pasta.

You have hereby been served with a legally binding cease and desist order.

My legal team is currently discussing a DMCA takedown order with 4chan legal staff.

You have been warned.

Remove this pasta from this image sharing forum immediately or face punitive and compensatory damages in excess of your personal net worth. My team of high powered attorneys are going to fuck you sideways with a wooden spoon.

You won't be able to walk straight for decades after we get through with you
>>
After 4 months of failure is it time to suck up my pride and apply to one of those disability recruitment agencies?

I have a hard time applying for jobs because of a speech impediment that makes me sound retarded. Of course, I quickly confirm that suspicion by immediately forgetting all the programming terminology I need to know
>>
>>57856362
Give it a shot.
>>
>>57856362
>speech impediment that makes me sound retarded

No, you're retarded by definition.
>>
>>57855672
Ok I'm still stumped as fuck on this. Any help?
>>
>>57856284
new
>>
>>57853421
if you can't do your homework on your own why are you even doing the course? serious question
>>
>>57856394
how does a speech impediment make me retarded by definition?
>>
>>57855630
why?
>>
>>57855796
Why is wayland a mistake? ubunto are retards, and android isn't gnu/linux.
Thread posts: 314
Thread images: 37


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