[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: 326
Thread images: 40

File: 1479103524911.webm (3MB, 854x480px) Image search: [Google]
1479103524911.webm
3MB, 854x480px
Previous thread: >>57499525

What are you working on, /g/?
>>
>>57508333
Please use a (non-fag) anime image next time.
>>
>>57508201
I don't suppose you'd be alright with posting your github for me to look at would you?
>>
I have my first programming interview today. I'm studying everything, have no idea what I am doing and terrified.
>>
Working on something that's taken 3-4 weeks when I could've gotten it done in 1 week if I had known the ideal design and not the fake BS of "Feel free to do what you want, I'll just add a tidbit ;)"
>>
>>57508367
Had a similar experience--it WILL suck and you will freak out but you will learn a lot.

Just try to be as calm as possible and be confident. Assuming this is an internship interview, just chill and realize that by studying you are already ahead of the pack. Your interviewers should be forgiving and if they aren't you don't want to work there.
>>
>>57508343
>implying le current year man blowing up the current year because he's been so thoroughly BTFO throughout the year with brexit and trump isn't funny af
>>
>>57508360
I would, but it's tied to my identity and it's not good, to be honest.
>>
>>57508386
ah no problem, I know exactly how you feel - well anyway I'm going to be but thanks for all your help
>>
Reposting from previous thread. What should I do if I can't pick between C and C++?
>>
>>57508402
Pick C.
>>
>>57508402
What do you want to do? If you're not interested in high-performance, embedded systems programming, or working close to the machine level I would avoid C.

C++ has more applications and you'll be able to find more jobs with it as well.

It's ultimately depends on what you want to do.

also >learn both
>>
>>57508402
C++

Otherwise master the language you already know. You should be able to pick up either fairly quick if needbe
>>
>>57508406
Is this a confirmed post though?
>>57508413
>also >learn both
That's also a possibility. Which one should I start learning first?
I don't think I'm that interested in a programming job tb h but that might change.
>>57508438
I don't know anything but a little bit of C.
>>
>>57508452
what do you do now? what are you interested in doing with programming if not getting a job?

I think python is a much better hobby language.
>>
I love physical copies of books but goddamn why are they so fucking expensive. I understand that digital is better and free but physical really gets my dick hard. Is there anywhere selling classic good books for cheap?
>>
>>57508470
I want to make an anime file sorter.
>>
>>57508470
I do something not related to programming. Just for fun
>I think python is a much better hobby language.
In what way?
>>
>>57508484
Just use python, it's way easier. You don't need to use C or C++ for shit like that.

Being able to abstract away garbage collection and other C/C++ difficulties is better if you just wanna do normal stuff.

Or just use whatever terminal language you have (bash if you're on *nix, batch on windows) if it's not complicated.

>>57508495
Oh, that post was a trole.

I like python because you can abstract away the parts of C++ and similar languages that prime those for performance. One of the people on the C++ standards committee once said (paraphrased) "we built this language for power grids etc."
Here's an interesting panel on systems programming languages you might be interested in for more information on these concepts: https://www.youtube.com/watch?v=BBbv1ej0fFo

Python is a scripting language with a large standard library, easy and natural syntax, and is really fun to use. The main drawback is that it's slow.
>>
>>57508378
It's not unfortunately, but it's thankfully just focusing on regression testing and QA. I looked up my interviewers and every one of them is a PhD with a million publications and I am just some NEET who has made a few scripts.
If I can't answer the white boarding questions what should I do? Just walk through my thought process and hope they forgive me?
>>
>>57508517
The experience I referenced was only a month ago. I have only one interview. There are people wiser than me on the internet who have discussed these issues at length. You should consider googling this or posting on /r/cscareerquestions or similar.

What I will say is this: keep in mind that you got through the resume screen so you must have something they are looking for. Be confident and don't be intimidated by their education.
>>
>>57508514
But that's not an issue for me. I'm somewhat of a genius when it comes to learning things I'm interested in pretty fast.
>>
>>57508333
Try a better OP next time.
>>
>>57508538
that's kind of pretentious, to be quite honest.

learn what you want, ultimately. I just think that the intricacies of learning pointers, memory allocation and polymorphism will bore you if you're not interested in solving problems that need those concepts.
>>
>>57508333
I'm only good with javascript but currently learning node, python, ruby, bootstrap, hoping to master mvc and build web apps.. I've been looking at coding bootcamps. anyone has any experience with them?
>>
>>57508555
>pretentious
You just lost any degree of authority you had by using such meaningless words.
>learn what you want, ultimately.
That's obvious, but I wanted to ask about choosing C or C++
>I just think that the intricacies of learning pointers, memory allocation and polymorphism will bore you
I don't think that will happen since this is something I'm interested in.
>>
>>57508624
I mean I explained to you which was a better choice for different stuff.

Why come on here if you're going to act like an asshole? If you're so goddamn smart just learn both anyways.
>>
>>57508631
Why come on here if you're going to be so sensitive?
I didn't say I was smart. I just said I learn stuff pretty fast if I care about it, which is true and not "pretentious" as you put it.
>just learn both anyways.
Which one should someone learn first if that's what they are planning to do in your opinion?
>>
>>57508644
learn C because it's the foundation of all modern computing
>>
Wtf does "Write a program in java using a text stream from standard input..."

text stream from standard input??
>>
>>57509032
Probably using the standard text stream interface (whatever that is in Java) using the stdio rather than a file or whatever.
>>
so in python if I had
def a():
a = "b"
def c():
print (a)

c()

would that output "b"?
>>
Yeah so wrote a base64 encoder/decoder just for the hell of it. (Posted it before, but there was a small bug).

http://paste.debian.net/895474/
>>
>>57509079
>would that output "b"?
No, because you have a syntax error.
>>
>>57509079
isn't that gonna throw an exception because of improper indentation?
>>
>>57509107
>>57509111
ok let me rephrase, assuming I fixed it to have correct indentation and no syntax errors would it work?
>>
>>57509032
>how do i google
>>
>>57509120
well run it.
I did and it didn't work.
>>
>>57509122
but can standard input just be like input from the console using Scanner?
>>
>>57509120
>correct indentation
A Python program is meaningless without indentation.
It's literally the same as posting some C-like code without curly brackets.

There are many ways you can indent your code to create different "correct" programs.
>>
>>57509120
Assuming you indent
def a():
a = 'b'

def c():
print(a)



it will print "<function a at someaddress>"
because thats how it is within the scope of c

if you code c as an embedded function
def a():
a = 'b'
def c():
print(a)


then it will print 'b' as c is embedded in a and thus has access to its scope.
>>
>>57509079
Try this
def a():
global a
a = "b"

def c():
print(a)

c()
a()
c()
>>
What's a book on python3 for experienced programmers?
>>
r8
>>
>>57509267
That looks like Kode with Karlie
>>
>>57509313
probably. /g/ couldn't write that much code.
>>
>>57509267
Why not ORM?
>>
Any interesting project ideas?
>>
I feel like my other more mathy courses are taking too much of my programming time away. Maybe I'm just shitty at managing my time. Anyone have experience with that?
>>
>>57509409
10 years from now you'll realize the mathy courses were the only ones with value
>>
>>57509267
Try to enter the following gratitude:
'); DROP TABLE daily_gratitude;
The first character might have to be " instead of '.
>>
>>57509399
>he fell for the ORM meme.
>>
>>57509581
Why not fall for it?
We have a meme president now.
Plus, you know that in a few years you're gonna have a full uni course dedicated to memes.
>>
>>57508333
is there an easier way of doing this

def goagain():
yesno = input('Want to go again? y/n ')
if yesno == 'y':
letsgo()
elif yesno != 'n':
print('Don\'t be a smartass.')
goagain()

def letsgo():
words = input('What do you wanna type? ')
words = str(words)
result = ''
for x in words:
if x.isalpha() == True or x.isnumeric() == True or x == '+' or x == '-' or x == '!' or x == '?' or x == ' ':
result += ':'
if x.isalpha() == True:
result += 'regional_indicator_'
result += x
elif x == '!' or x == '?' or x == '+' or x == '-':
if x == '!':
result += 'exclamation'
elif x == '?':
result += 'question'
elif x == '+':
result += 'heavy_plus_sign'
else:
result += 'heavy_minus_sign'
elif x.isnumeric() == True:
if x == '1':
result += 'one'
elif x == '2':
result += 'two'
elif x == '3':
result += 'three'
elif x == '4':
result += 'four'
elif x == '5':
result += 'five'
elif x == '6':
result += 'six'
elif x == '7':
result += 'seven'
elif x == '8':
result += 'eight'
elif x == '9':
result += 'nine'
else:
result += 'zero'
elif x == ' ':
result += 'black_large_square'
if x.isalpha() == True or x.isnumeric() == True or x == '+' or x == '-' or x == '!' or x == '?' or x == ' ':
result += ': '
if len(result) >=2000:
print('That\'s too long.')
else:
print(result)
goagain()

letsgo()
>>
>>57509622
>Plus, you know that in a few years you're gonna have a full uni course dedicated to memes.
So social "sciences" don't exist in your timeline yet? Interesting
>>
>>57509669
I was talking about CS-related degrees
>>
>>57509662
>== True
>>
>>57509581
>he fell for the falling for the meme meme
>>
>>57509747
whats wrong with == True
>>
What would be the best way to store a large amount of strings to be retrieved at any point? Could I just use a text file with some sort of numbering for retrieval?
>>
>>57509798
Guess what the values of these expressions are.
True == True
False == True
>>
>>57509818
what about if the value is 1? that's not equal to True.
>>
File: data mining at university.jpg (38KB, 500x253px) Image search: [Google]
data mining at university.jpg
38KB, 500x253px
help
>>
>>57509896
you fell for the data science meme? LOLZ.
>>
>>57509896
pivot tables wew
>>
>>57509902
it looked good on the surface of it, now im rushing to meet a deadline on a fucking spreadsheet report because i couldnt be fucked to attend labs
>>
>>57509896
>prolog
>2016
kek
>>
>>57509942
prolog is comfy tho
>>
>>57509959
You know what else is comfy, babe?
>>
Does anyone know if github has a policy regarding uploading of binary files to a repository?
Also, is that generally viewed as bad practice, when working with version control?
>>
>>57509965
go on, fgt
>>
>>57509959
no, it's painful to program with.
>>
>>57509966
https://github.com/blog/1986-announcing-git-large-file-storage-lfs
and yes it is
>>
>>57509980
how so? i find being able to backtrack to find alternative means of doing things incredibly useful for certain tasks, and desu i should probably spend some time trying to figure out how to use it for non-AI programs.
>>
>>57508452
>Is this a confirmed post though?
Not really sure what this means, but coming from another anon who picked up C -> C++ -> Java: go with C first. It teaches you the fundamentals that you should be familiar with, so you know how the higher-level abstractions from other languages work.
>>
>>57510022
It's not even good for cutting edge AI. Logic-based AI is cool and all but it's a dead meme desu, all about stats these days
>>
>>57509966
>Also, is that generally viewed as bad practice, when working with version control?
Of course it is - a human readable binary diff is worth fuckall, because the binary code isn't a useful representation. Binary diffs are useful for deploying as patches, not for maintaining as a versioned changelog.
>>
>>57510057
eh, AI sounded interesting, so i enrolled for the module on it, and prolog is what we were taught
>>
so i have this:
#include <iostream>
using namespace std;
int main() {
string input;
cin >> input;
cout << input << endl;
}

when i write "Hello World" with cin, cout writes
Hello
World

but i want it to be
Hello World
>>
>>57510046
Thanks. What's the best C guide for beginners? And does this thread not have a FAQ type of page for different languages?
>>
>>57510152
no operator ">>" matches these operands
>>
>>57510152
C++ iostreams were a fucking mistake.
>>
>>57509828
Actually it is.
>>
>>57509501
The truth is right here.
>>
>>57510152
Use getline, maybe.
>>
>>57510152
std::cin interprets a space as a seperator. Try using std::getline to get it until the return. Also, don't put
using namespace std;
>>
>>57510619
why not?
>>
>>57510300
Only std::cin and spaces. std::cout, std::stringstream and file streams are all very useful
>>
>>57510633
No, they're just as shit.
iostreams are the prime example for why operator overloading is just a fucking bad idea.
>>
>>57510642
Please explain.
>>
File: .png (60KB, 1247x357px) Image search: [Google]
.png
60KB, 1247x357px
Not sure what I'm doing wrong.
First time trying to use timeit
>>
File: Nov-15-2016 00-00-32.gif (1007KB, 320x160px) Image search: [Google]
Nov-15-2016 00-00-32.gif
1007KB, 320x160px
A Tinderbot that autoswipes every girl and messages them from a pool of witty pickup lines if they're a match.

Automating my life, yo
>>
>>57510739
I like it.
>>
>>57510739
post source
>>
>>57510739
Nice job anon.
Also, /thread/
>>
>>57510768
>/thread/
What?
>>
>>57510789
The thread should now be about Anon's scripts.
Post your scripts anons !
>>
File: code.png (61KB, 617x698px) Image search: [Google]
code.png
61KB, 617x698px
>>57510800
this python script downloads all pictures from headp.at
>>
>>57510854
Thanks anon
>>
File: anal beads.png (14KB, 157x501px) Image search: [Google]
anal beads.png
14KB, 157x501px
Tuples + Inline functions + LINQ = my loins moistened

Chan.GetBoard().Boards
.Select(x => x.BoardName)
.Select(x =>
{
(string board, int postNumber) latestPost() =>
(x, Chan.GetThreadPage(x, 1).Threads.First(y => !y.Posts.First().IsStickied).Posts.First().PostNumber);

return latestPost();
})
.OrderByDescending(x => x.postNumber)
.Select(x => $"{x.board.PadRight(5)}: {x.postNumber}")
.ForEach(WriteLine);
>>
File: anal beads.png (50KB, 935x491px) Image search: [Google]
anal beads.png
50KB, 935x491px
>/fit/
>/soc/
>/x/
>/sp/
>/r9k/

Like fucking poetry.

I'm doing this for the most triggering/offensive post application that I'm toying with.

Also, fixed it to actual show the most recent post, and not just the OP post with:
(string board, Post post) latestPost() => 
(x, Chan.GetThreadPage(x, 1).Threads.First(y => !y.Posts.First().IsStickied).Posts.OrderByDescending(post => post.UnixTimestamp).First());
>>
>>57511203
whats this chan class youre using?
>>
>>57511222
With NuGet:
Install-Package FChan.Library


I've rolled my own before and it worked alright, but this library seems pretty solid so far.

I'm thinking about taking it and making some changes so it makes more sense to me.

Source here: https://github.com/gabrielgio/FChan.Library
>>
Who else N O D E J S here?
>>
what are some recommended books/reads on how to write clean code
>>
>>57511450
>clean code
What do you think this means?

Your priority should be writing human-readable code, however "clean" this makes it.
>>
>>57509800
Bump
>>
>>57510854
my version :)
curl -s 'http://headp.at/js/pats.json' | tr -d '\n' | grep -o '\"[^\"]*\",' | sed 's/^.\([^\"]*\).*$/\"http:\/\/headp.at\/pats\/\1\"/g' | xargs -P8 wget -q -nc
>>
>>57509828
every nonzero value is true i think
>>
What the fuck Python? I'm trying to find the index of the last / character in a file path, but:

>>> path = "/home/anon/example/folder/file"
>>> print path.find("/")
0
>>> print path.find("/", len(path) - 1, 0)
-1
>>> print path.find("/", 0, -len(path)
-1
>>> print path.find("/", len(path) - 1, -len(path)
-1


First one was obviously going to be 0 as find with no additional parameters just searches the entire string from left to right.
Second one I would have hoped would maybe recognize that beginning > end and search the string right-to-left. It didn't.
Third one, similar. Indexing from 0 to -len(path) probably results in a string of len < 0 = "".
Fourth one, same.

TL;DR:
How do I make Python's string.find-function search right-to-left? Should I just flip the string backwards (expensive operation) and search left-to-right?
>>
http://chapel.cray.com/
Is chapel the c++ killer?
>>
>>57510642
it's much better than printf
>>
>>57511785
Just iterate backwards over the string.
>>
>>57511785
path.rfind('/')
>>
>>57511785
https://docs.python.org/2/library/string.html#string.rfind
>>
>>57511836
C++ is abusing the "legacy" item which is far too op for any language designer to beat
>>
>>57511836
https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=chapel&lang2=gpp

... no.
>>
>>57511848
Yeah, I'm doing that now.

print path[::-1][path[::-1].find("/"):][::-1]


>>57511875
>>57511861
Hurp. Probably neater, but then again unreadable code is a good way to secure your job -- nobody else can fix it.
>>
>>57510060
Then what am i supposed to do with my binary assets and builds?
>>
>>57511905
You'll definitely be needing that security considering a "python find right to left" Google search would have given you this answer immediately.
>>
>>57511905
That's reversing the string, not iterating backwards. But just use str.rfind.
>>
>>57511883
Chapel
0.11 ? 501 0.08 92% 0% 0% 0%
C++ g++
Timed Out
>>
>>57511932
Yeah, I dropped the ball there.

>>57511941
Will do. God, it's time for a break.
>>
>>57508333
quicksort :: (Ord a) => [a] -> [a]  
quicksort [] = []
quicksort (x:xs) =
let smallerSorted = quicksort [a | a <- xs, a <= x]
biggerSorted = quicksort [a | a <- xs, a > x]
in smallerSorted ++ [x] ++ biggerSorted


is this really quicksort? doesn't quicksort get its efficiency from swapping array values? i don't see where this does that
>>
>>57510739
It's been done.

https://medium.com/the-mission/looking-for-the-one-how-i-went-on-150-dates-in-4-months-bf43a095516c#.mvtskwdx4

Guy used a CRM and calendar system to manage conversations and dates too.

Too bad he seems to be some kind of cuck weirdo
>>
anyone mind helping me with my shitty code? c++


void Person::setName(string n) {
something here
}

void Node::setData(Person* p) {
something here;
}

int i;
cin >> i;

Person* people = new Person[i-1];
Node* node = new Node[i-1];

for(int z=0; z<i;z++) {
person[z].setName("jim");

node[z].setData(person[z]); //this line gives me an error. It wants a *Person and I'm passing it a Person
}



i tried making an array of pointers but that just made the console shit itself

many thanks
>>
File: ku.png (17KB, 900x900px) Image search: [Google]
ku.png
17KB, 900x900px
Why is forEach better than a traditional for loop, /dpt/?
>>
>>57512148
dumb frogposter
>>
File: df.png (51KB, 657x527px) Image search: [Google]
df.png
51KB, 657x527px
How do you like your nipple brackets, /dpt/?

Like this:

function example(n) {
return n;
}


Or:

function example(n)
{
return n;
}
>>
>>57512198
dumb frogposter
>>
>>57512198
neither.
def example(n):
return n
>>
>>57512222
Not a fan of the python meme desu.
>>
File: frogpost.jpg (88KB, 500x500px) Image search: [Google]
frogpost.jpg
88KB, 500x500px
>>57512198
second
>>
>>57512237
then
(define (f n) n)
>>
>>57508333
Is that current year meme?
>>
>>57512245
kys
>>
>>57512198
Partial to the first.
>>
>>57512148
If you mean from a safety context, they eliminate accessing an element outside of the range of an array, but that doesn't mean they are 100% better in every context.
>>
>>57512255
Better.
>>
>>57512198
The first is the proper one in Javascript (which this appears to be)
>>
File: fedora_dog.jpg (11KB, 219x230px) Image search: [Google]
fedora_dog.jpg
11KB, 219x230px
How do i reverse a list of objects in Java?
>>
Daily retarded question do we have an irc? or would you recommend one ?
>>
>>57512319
The same way you reverse a list of anything else, with AbstractFactoryReverser
>>
https://discord.gg/6nyyS
>>
>>57512319
you stop using a meme "language"
>>
>>57512198
let example n = 
n

is best
>>
>>57512371
>t. unemployed haskell fizzbuzz expert
>>
>>57512398
>haskell
>not a meme language
>>
>>57512398
>implying I need a job in this shitty field
>implying I don't use my own language
>not using the t. meme properly
kek
also see >>57512416
>>
>>57512328
What
>>
>>57512419
>t. meme
I want plebbit to leave
>>
What's the best build tool for C?
Is it scons?
>>
>>57512459
>meme
>plebbit
https://www.reddit.com/
>>
>>57512478
tup
>>
>>57512319
Pls respond
>>
>>57512525
Collections.reverse(list);
>>
>>57512536
k, thanks
>>
You guys got any tips on using backtracking?
I'm trying to find all the valid topological sorts of a graph to store in a HashSet using backtracking.
>>
File: 1479138167559.png (520KB, 1280x720px) Image search: [Google]
1479138167559.png
520KB, 1280x720px
Let's settle this once for all.
Everyone not programming in C on BSD with vim, leave. Now.
>>
File: 1476888374959.jpg (37KB, 250x276px) Image search: [Google]
1476888374959.jpg
37KB, 250x276px
>>57512584
Why /dpt/ has turned into complete shit?
>>
>>57512584
Um, no?
>>
>>57512614
4chan is getting popular thus quality is becoming average.
>>
>>57512584
Programming in C on Linux with vim, I'll stay anyway
>>
>>57512660
>t. Javascrypt web "developer"
>>
>>57512584
>vim
>using anti-freedom software
>>
>>57512663
>becoming
Might want to try past tense at this point and adding that the slide to mediocrity is continuously ongoing
>>
>>57512584
>bad editor with bad OS and bad environment for productive C programming
Unless you're doing embedded. Then it literally doesn't matter.
>>
>>57512584
I program in C# on Windows 10 with Visual Studio.

Why can't we be friends?

The world needs unity right now, not hate.
>>
>>57512328
But first he has to check all objects for the reversible-argument, then he needs to use AbstractReverserFactory.
>>
Currently working in Xamarin Forms. You know to make a cross platform app? Although some FREAKING GENIUS decided that we should only release the iOS version.

Question, what should we be using instead of Xamarin forms? I want something that I could learn in a couple of weeks.
>>
File: baka_big.png (2MB, 2000x2000px) Image search: [Google]
baka_big.png
2MB, 2000x2000px
>>57512787
>Although some FREAKING GENIUS decided that we should only release the iOS version.

What?

I had a Xamarin.Forms app working on Android and iOS in like 20 minutes last week.

Both authenticated to a domain and showed some results from a database with offline caching.

What makes you think that it only works on iOS?
>>
>>57512750
>windows
>c#
faggot
>>
>>57512787
Nothing, Xamarin is hands down the best for cross platform mobile apps.

If you want a better quality UX, then don't use forms and just use raw Xamarin.
>>
File: vomit.jpg (34KB, 312x312px) Image search: [Google]
vomit.jpg
34KB, 312x312px
>>57512750
>being a microcuck
>>
>>57512887
>>57512910
Do you feel better now?

I think this is where I call you a NEET, and then we get in an inane shitflinging competition.

Bonus points for making wild accusations on sexual orientation, propensity to watch men fuck one's partner, quality of life, and status of employment.

We could even throw in some pajeets and rajeshes if it makes you comfortable.

Either way, looks like we're in for another quality thread!
>>
>>57512121
Person or people?
>>
File: :^).gif (206KB, 256x256px) Image search: [Google]
:^).gif
206KB, 256x256px
>>57512957
>Using Microsoft Windows 10©, create applications that with Microsoft Visual Studio© using Microsoft .NET Framework© and deploy them to Microsoft Azure© where they run on Microsoft Windows Server©, and using Microsoft Team Foundation Server© for source control
>>
>>57508538
>>57508624
asshole, dont ask questions this basic if you're such a genious. The trip went out of his way to help your ungrateful ass.
>>
Is riced Vim a viable Java IDE?
>>
>>57512584
>C
Go is objectively better.
>vim
Emacs
>BSD
Linux

im gay
>>
>>57513069
>Go
>objectively better than C
>they don't even fall in the same niche

Nice apples to oranges comparison.
>>
>>57513069
>Go is objectively better because it has OOP and garbage collection :^)
mm
>>
File: very good meme.png (130KB, 500x761px) Image search: [Google]
very good meme.png
130KB, 500x761px
>>57513101
>My asinine squiggles don't even compare to your asinine squiggles
>>
>>57513121
the garbage collection must be bugged, Go still exists
>>
>>57513069
>Go
Why not just use Java like normal productive members of our society do?
>>
>>57513177
>Java programmers
>Productive
You misunderstand what it is Java programmers do
>>
>>57513177
>normal productive members of our society
>Java
I see this must be sarcastic
>>
>>57513177
>Java
>produ...
>>57513186
>>57513193
oh, nevermind
>>
>>57513193
>>57513186
Care to elaborate?
>>
I want to do some programming, but i have programmers block. Any noobs want some simple help with c++?
>>
>>57513217
Java is a highly unproductive language. And Java programmers are mostly shit. And most Java jobs is just writing insanely long a complicated scripts for accessing a database or some shit for an enterprise.
>>
>>57513217
Abstraction restricts logical thinking.
>>
>>57513243
/r/dailyprogrammer

Not baiting, it's simple enough to write the programs in whatever language you like and it might give you a jumping off point for an idea.

And of course: https://better-dpt-roll.github.io/ is always available
>>
>>57513247
Java is made for huge enterprises, and is does what it is supposed to do. If it would be bad and unproductive then it wouldn't be a top language.
>>57513270
Abstraction makes it easier, thus better.
>>
>>57513318
Oh, i have ideas. I know what i SHOULD be doing. I just can't bring myself to actually do it, for some reason.
>>
>>57513325
>If it would be bad and unproductive then it wouldn't be a top language.
That's why it's not a top langugae.

It's just used by idiots, like massive enterprises who want to hire cheap as fuck IT staff.
>>
>>57513325
>Abstraction makes it easier
Not the way java does it. Java makes everything needlessly complicated, and working with java actually feels like the language and standard lib is actively working against you.
>>
>>57513343
>projecting this hard
Java is used by enterprises thanks to it's scalability and huge amount of FOSS tools for it.
Also it is a top language, check Tiobe or look at job market.
>>
File: 1473733140953.png (241KB, 322x455px) Image search: [Google]
1473733140953.png
241KB, 322x455px
>>57508333
>professor gave us a new project
>Write a hdd driver
>Put off studying pthreads
>>
>>57513390
Sounds interesting. What course is that?
>>
>>57513405
Senior year operating systems class
>>
>>57513411
I wanna learn how to write drivers. But i don't have the time. I've too much already on my project heap.
>>
>>57508483
Sorry bud. Digital books are actually shit but you'll have to learn to live with it if you value your wallet and brain. I still haven't quite got the hang of it but we will, mein freund.
>>
>>57512825
So we have done 90% of it using XAML and Forms, besides for the other custom renderers required for things like the camera and custom controls, but we haven't touched android. The solution doesn't even contain an android project. Wasn't my idea, im just a code monkey
>>
>>57513325
Abstraction makes it easier to express a lot in little typing. (when you've written your abstraction stuff in languages, as they provide very poor facilities for you to actually write anything efficiently it's often a waste of time)

But it rarely lets you solve the problems in good ways because writing good API is hard. Knowing the project in detail from the start is hard etc etc. Basically you're hanging your work on a very loose guess when you do abstract programming.
So you tend to try and mash your square program into a differently shaped hole.
And you may get it through to the other end with a lot of work but the person who tried the different pieces/measured the hole and then wrote the program will have much more success.
>>
>>57512987
I unironically do all of this, and get paid quite a bit to do so.

Azure is fucking magical compared to the alternatives, and VSTS has unlimited storage right now because they haven't bothered to add a limit.

The Kanban boards for VSTS are pretty cool, because you can associate tasks with a code push, all integrated in Visual Studio.

You can call me shill all you want, but Microsoft DevDiv is the one department that really has their shit together. They make my life easier, and being able to deliver a working product quickly without much fuss makes me happy.

>>57513456
When you begin a Xamarin Forms project properly, you should have multiple projects in a VS solution. One project is your shared code, and there's one for each platform (XBone, Android, iOS, WP).

I'm not sure how your project was initiated, but it's stupid easy to get the same thing working on multiplat if you start it right.
>>
File: knuth-taocp-dsc_4868.jpg (169KB, 896x600px) Image search: [Google]
knuth-taocp-dsc_4868.jpg
169KB, 896x600px
>>57513390
I don't understand why CS curriculums find drive geometry algorithms so fascinating. It's a dead horse at this point. The time would be better spent studying stream algorithms that one might actually get a chance to write.

I mean, even the tape drive section in TAOCP (pic) seems more useful than drive geometry, considering RAM can still be treated like a tape.
>>
>>57510730
""" denotes a docstring in Python. Try just ".
>>
>>57513469
Saving typing is about the least relevant property of abstraction.

The main reason to abstract is to reduce coupling, so that you don't need to understand the entire system in detail before you can work on any part of it, so that you don't have to re-write half the system whenever one detail changes, so that you don't have to wait for every detail to be decided before implementing anything, etc.
>>
>>57513522
It's less about the disk and more about pthread practice
Last year I believe it was a network driver instead
>>
>>57513456
>uses Xamarin Forms
>doesn't plan the project from day 1 to be multiplat
>doesn't use iOS native GUI elements even though only targeting iOS

????
>>
File: ein.jpg (26KB, 640x480px) Image search: [Google]
ein.jpg
26KB, 640x480px
Is Python worth learning? Is it a good language for someone who already knows how to program?
>>
 teq p0 100
+ mov 100 p1
+ slp 1
+ mov 0 p1
- slp 1
>>
File: output.webm (2MB, 538x310px) Image search: [Google]
output.webm
2MB, 538x310px
Working on my terminal emulator, just finished implementing visual selection.

Now gonna fix an issue where the selection isn't updated on scroll, and then onto visual block selection.
>>
>>57513620
It's okay for tiny nibbles.

I quickly start to hate it when I do anything in Python longer than 50 SLoC.
>>
>>57513411
>>57513390
i kind of wish i didn't go to a party school. i actually make money every semester bc of how much aid and scholarships i get, but the courses are piss easy and everyone's retarded. junior level class i'm in and i'm pretty sure the majority of the class still doesn't understand recursion
>>
>>57513634
remove the last slp and remove the + in front of the first slp
>>
File: puddi eugen.jpg (288KB, 1715x2131px) Image search: [Google]
puddi eugen.jpg
288KB, 1715x2131px
I'm trying to generate a Quake 3 player config file via a Python script (for now); they're essentially text files. How do I handle such a large volume of input on the command line if I'm not jumping straight into a GUI? For instance, this is just one chunk and it deals specifically with pure player information:

// Player

seta name "name"
seta nick "nick"
seta ch_file "hud1"
seta sex "male"
seta headmodel "bones"


Right now I just have a barrage of input statements for each block which strikes me as definitely wrong/probably stupid.
>>
>>57513672
Even a lot of nice schools are like that, it's all about what you do. Just because you go to a party school doesn't mean you can't learn a lot and actually might mean it's easier for you to get an internship or research project that your classmates.

Don't worry too much, most undergrad programs are similar and employers are looking for people not schools
>>
File: 1466544326223.jpg (32KB, 557x612px) Image search: [Google]
1466544326223.jpg
32KB, 557x612px
>GPL is bad because you might accidentally link to a GPL library and get sued for not releasing your source code
So this is the intelligence of AGDG...
>>
Unpacking JS virtualized code to write a bruteforcer for a site
>>
>>57513511
>>57513570

I know, stupid, not my idea.
>>
>>57513735
do you read from stdin or passed as parameters?
>>
>>57513735
Who is the entity deciding what the values are, I'm confused
>>
File: racket.png (67KB, 744x1052px) Image search: [Google]
racket.png
67KB, 744x1052px
How come it's so enlightening to program in Racket?
>>
>>57513547
You can't reduce coupling unless it didn't have to be there in the first place.
Which is what you end up with if you write what you need and ignore what you don't need.
>>
>>57509662
do something better in an python.
http://pastebin.com/LqBwd0ag
look at that for inspiration
>>
Where can I learn COBOL?
>>
>>57510739
What language was it done in.
>>
>>57513783
For now, stdin. My second half to this would be to allow the user to pass a cfg as a parameter, no matter how much easier it would be to navigate to the dang folder itself and drag/drop, copy/paste, etc.

>>57513788
The user should be deciding what the values should be, i.e.
playerModel = input("seta headmodel: ")


if that's what you're confused by.
>>
What's in your opinion the best C++ library for making games?
>>
File: image-9-800x550.png (245KB, 800x550px) Image search: [Google]
image-9-800x550.png
245KB, 800x550px
VISUAL STUDIO IS NOW CROSS PLATFORM

http://arstechnica.com/information-technology/2016/11/microsoft-is-going-to-pretend-to-release-visual-studio-for-mac/

Literally no reason not to use it now lads.
>>
>>57513908
That looks nothing like Visual Studio on Windows.
>>
https://news.ycombinator.com/item?id=12949510

>Machine Learning explained to my girlfriend
>every single comment is about the title
>>
Playing with machine learning.
>>
>>57513954
It looks a little like it.
>>
>>57513954
That's because it's not.
>>
>>57513869
You could just do options eg
$ myprgm --name="name" --nick="nick"
>>
>>57513968
>a fucking computer can play Flappy Bird better than you can
Pulling the plug.
>>
>>57513968
>modifying parameters on other people's software

How about writing a perceptron from scratch anon?
>>
>>57514008
>a fucking computer can play Flappy Bird better than you can
No fucking shit, computers are better at a lot of things like this
>>
>>57514018
I could rewrite that software, or I could just fiddle with it. I will probably rewrite it with a true language.
>>
>>57514023
I am going to be out of a job when computers get better at playing Call of Duty than me.
>>
>>57508514
any more panels like dis?
>>
>>57514047
formal...
>>
>>57514086
what did he mean by this
>>
Is Elixer any good?
>>
>>57514089
it's a bot
>>
I'm working on a Java program to find all the possible topological paths of a graph, and storing them as strings into a HashSet using backtracking.
I'm still working on it, but I want to see if you guys can find any glaring errors or issues I need to be sure to fix.

public static HashSet<String> solve(int cnt, int [] incoming, boolean [][] matrix)
{
Queue<Integer> q = new ArrayDeque<Integer>();

// Base case
if(cnt == matrix.length - 1)
{
System.out.println(hashString);
hashTopo.add(hashString);
}

// Check validity of move
for(int i = 0; i < matrix.length; i++)
{
// Pull a vertex out of the queue and add it to the topological sort.
int node = q.remove();
hashString = hashString + node;

// All vertices we can reach via an edge from the current vertex should have
// their incoming edge counts decremented. If one of these hits zero, add
// it to the queue, as it's ready to be included in our topological sort.
for(int i = 0; i < matrix.length; i++)
if(matrix[node][i] && --incoming[i] == 0)
q.add(i);

// Change state
--cnt;

// Perform recursive descent
solve(cnt, incoming, matrix);

// Undo state change
++cnt;
}
}
>>
>>57514136
>Java
didn't read after this
>>
redpill me on lambdas
>>
>>57514105
Elixir is very good; like a more verbose Haskell that actually allows IO.
>>
>computers are already better at coding [themselves] than I am
>>
>>57514183
You have to like functional programming or you're not autistic enough and will be hanged on day of lazy evaluation
>>
>>57514179
Anon pls, I even added comments.
>>
>>57514179
What's wrong with Java?
>>
>>57514089
he's just the only professional cod player i know, only because he started in halo and i played a lot of that for the year i lived in a dorm
>>
>>57514001
I've never used options/argparse before, but I guess it could work. I'd have to learn options, though; doesn't look hard but I don't want to talk before I try. It is a decent amount of options, though:

>Player
>Move
>Shoot
>Teamwork (chat binds)
>Talk (user chat)
>Mouse
That's at least 36 different options and that's not counting more fine-grain things like graphics, display, and opponent/teammate options. I guess options could cover it?
>>
>>57514224
i have trouble seeing how that's relevant
>>57514253
It's off-topic. This thread is about programming languages
>>
>>57514278
Otherwise you just have them enter it in the right order
 
$ myprgm opt1 opt2 opt3

I don't really see a way of getting around it
>>
File: nicememe.gif (3MB, 420x300px) Image search: [Google]
nicememe.gif
3MB, 420x300px
>>57514297
(You)
>>
>>57514319
>java
your image name back at you
>>
>>57514297
>another java hate memester with his special snowflake language
here's your (you)
>>
>>57508333
https://medium.com/the-mission/looking-for-the-one-how-i-went-on-150-dates-in-4-months-bf43a095516c#.wqyueu2g7
>>
>>57514222
What are the advantages of functional programming other than you can squish more code onto one line?
>>
>>57514316
Understood, thanks a bunch.
>>
>>57514349
It's easier to reason about sets.

I remember the first time I saw a lambda, my eyes glazed over. I was learning LINQ at the time.

Now, I much prefer set-based syntax over iteration syntax from a readability perspective.
>>
@57514334
Thanks for just giving me two yous, retard
>>
>>57514349
less development time, easier to debug are advantages of
>you can squish more code onto one line?
>>
>>57514047
>when computers get better at playing Call of Duty than me.
They already are, though.

A computer playing any shooter can immediately identify a target and get a headshot quicker than any human would be able to react.

The only advantage a human may have is the ability to stay out of the line of sight of a machine, but with positional audio cues, a player would have to stay crouched the entire game and if they fire, it must be a one shot kill every time.
>>
>>57514349
It's easier to map math to functional programming. Also the side effect free meme which isn't always the case depending on the implementation
>>
>>57513968
heh...nothin personell...kid
>>
>>57514408
How do computers react to changing situations and ploys?
For example, I throw a grenade in one direction to distract the computer, and then sprint out under the cover of the detonation's noise and quickly fire upon the target. Do they possess the intelligence to recognize tactics like that or would they get caught out?
>>
>>57514445
Yes, that's trivial.

Why would a computer be "distracted" by a grenade? It's not a valid target.

There is a very specific set of possible pixel maps that represent a player character, and a grenade would not match.

The only action AI would take to a grenade is simply to avoid it, but this would not hinder its aim, outside of runwalk spread.
>>
>>57514471
The grenade is to drown out the audio cues from the footsteps so as to leave it unaware of my current position (that is, about to round the corner and enter line of sight)
Although I worry that computers are already at the point they can pick out the individual noise of footsteps from the cacophony of explosions and gunfire.

inb4 the computer just does constant 360s in the span of a second or less to scan the entire area and no amount of audio masking will save me from rape.
>>
do people who meme hate c++ also hate c#?
>>
>>57514527
Just because they share the same letter, doesn't mean they're the same language.
>>
>>57513908
>using microshit products
wew
>>
>>57514527
Depends on what you mean by "meme hate".

I like C#.

I don't like C++.

That being said, I haven't used C++ in quite a while. Last time I used it, it silently stuffed a float into an integer (destroying data in the process), and cin/cout worked in a way that left me dumbfounded.

I don't mind managing memory, but I prefer my memory to be managed by default, with the option to take over manually when I see a need.

Maybe I'm just too stupid for C++. Either way, I've managed to get by just fine with C#.
>>
>>57514546
No shit. But if they hate the convenience that c++ provides over c, then they should super hate the super convenience that c# provides.
>>
>>57513908
Looks like shit.

I use VS every day for C# dev, and I'm pretty sure this is just a reskinned Xamarin Studio.

However, if it has all the main things I use in VS, then I suppose it isn't that bad.
>>
>>57514588
That's the dumbest analogy I've ever read.
C provides convenience over ASM. Does that mean it's the same as C#?
>>
>>57514588
I don't care for C++, but clearly you've never read Goldilocks and The Three Bears
>>
Anyone got any good resources for learning C++? (C#, .NET background already)
>>
>>57514588
>Tom needed to move some dirt.
>Tom was happy when I brought him a dump truck.
>Tomorrow, I will bring Tom 19 dump trucks.
>Surely, he will be happy when I bring him more dump trucks.
>>
>>57509177
yes
>>
int main() {
cout << "How many values to take for average? ";
int avgSize;
cin >> avgSize;
int * iArray = new int[avgSize];

averageFunct(, valSize);

cout << "The average is " << setprecision(1) << fixed << averageFunct << endl;


delete[] iArray;
return 0;
}


I created a function that calculates the average and returns it to main. The size of the array is created by the user. However, I am stuck on how to actually format the function to make it work.
>>
>>57514774
Start by putting scopes around your functions and returns what you say you're going to
>>
>>57512198
Best of course is
(define (example n)
n)

also passable
(defun (example n)
n)

(define example
(lambda (n) n))
>>
I have somewhat of a moral dilemma

I'm working like freelance for this guy I know that has a webdesign company. Now he asked me to make a script that connects Wordpress to a specific API and loads the data as custom post types in wordpress. He first asked me how much time it would require and I half-guessed 10-12 hours but now much more, also because I made it into a real nice plugin instead of a simple script. But there's potential this shit can sell to other parties as well and I don't want this guy to sell this behind my back. Should I just give him a license and try to sell it on or am I too greedy and should I honour the original agreement?
>>
>>57510739
how are you doing this since tinder obfuscated their api? can you post end points please
>>
>>57514348
>I’m a fat, bald, short guy whose only quality is that he isn’t an ax murderer.
Actually, that's inspiring.
>>
File: what.png (19KB, 406x176px) Image search: [Google]
what.png
19KB, 406x176px
I don't get it
>>
File: fupm.png (35KB, 447x73px) Image search: [Google]
fupm.png
35KB, 447x73px
>>57514859
It's pretty simple.

Either you cancel the project and attempt to make money on your script as is, or you deliver him the script with a reasonable hour amount.

You don't have to adhere to the quote, but you don't want to gut the guy for 40 hours on a projected 10 hour project.

If he has issue paying for at least 18, then follow the "Fuck You, Pay Me" rule.

You do have a contract, right?

https://youtu.be/6h3RJhoqgK8?t=55
>>
>>57514831

I put my functions in another file. Those are my prototypes.
>>
>>57514774
here you go, little noob. note that we dont check for valid input so the program cashes if the user inputs something other than a whole number. also due to the way we are using cin, the program can take multiple values if input correctly, so for example "2 50 100" will work and go straight to the end of the program.

double IntegerArrayAverage(int * array, int size)
{
double average = 0;

for (int i = 0; i < size; i++)
{
average += array[i];
}

average = (average / size);

return average;
}


int main()
{
int size = 0;

cout << "How many values to take for average? ";

cin >> size;
int * iArray = new int[size];

for (int i = 0; i < size; i++)
{
cout << "Input value for element number " << (i + 1) << "." << endl;
cin >> iArray[i];
}

cout << "The average is " << setprecision(1) << fixed << IntegerArrayAverage(iArray, size) << endl;

delete[] iArray;

cin >> size; //pause the console
return 0;
}
>>
>>57508343

>non-fag
>anime

Pick one.
>>
>>57508333
Learning phyton,c, and c++.
C seems pretty easy, c++ seems a little bit more tedious but its not so bad. Phython...eh...
>>
>>57514047
why? if you're a professional competitive gamer then it's all about the human "sport", no cheating/computer-assists allowed
>>
File: 1452051370152.png (1MB, 1280x720px) Image search: [Google]
1452051370152.png
1MB, 1280x720px
>>57515059
>int for sizes
>>
>>57515059
C++ is truly awful

static void Main(string[] args)
{
while(true)
{
Write("Enter space seperated whole numbers to average: ");
try
{
WriteLine($"Average: {Array.ConvertAll(ReadLine().Split(' '), int.Parse).Average()}");
}
catch
{
WriteLine("Invalid Input.");
}
}
}
>>
>>57515257
kys
>>
>>57515247
What did you mean by this?

unsigned short instead?
>>
>>57515282
What's the problem, friend?
>>
>>57515327
size_t
>>
File: Untitled.png (15KB, 1065x122px) Image search: [Google]
Untitled.png
15KB, 1065x122px
>>57515327
If only there were a datatype JUST for that purpose...

Nah, lets continue writing exploitable code like the fucking pajeet you are.
>>
Working on my android rat, been putting it off and on, and just got the gps tracker working last night.
>>
>>57515362
>>57515376
okay nerds. lets make our sample code harder to learn just so we can feel better about our pathetic lives
>>
>>57515447
code shit, get hit
>>
File: testing-hashtags-count.png (201KB, 958x1492px) Image search: [Google]
testing-hashtags-count.png
201KB, 958x1492px
Working on a shitty android app to put on my resume.

Its a note taking app (what a surprise) that allows you to take notes and add #hashtags and @mentions to organize things better.

This is not the final design, i just used those views to test the hashtags and mentions
>>
>>57514904
Functions in lisps are closures over values. What you call a local variable in given function is basically variable in that closure (closure is basically envirovment).

You can use lambdas to preserve closures and thus implement lists using them. It's totally inefficient approach, but purest.
>>
File: doyouevenlambda.png (29KB, 811x805px) Image search: [Google]
doyouevenlambda.png
29KB, 811x805px
>>57514904
cons return a closure that takes a procedure as argument to apply x y to it.

(cons 1 2) -> (lambda (m) (m 1 2))


if you then apply to that closure the following procedure
(lambda (x y) x)
, you get 1.
if you apply
(lambda (x y) y)
, you get 2
>>
NEW THREAD!!

>>57515556
>>
>>57515376
C standard never said size_t is for array indexing. especially that there no such thing as "array indexing" in C but only pointer arithmetic. reminder, the [] operator is syntax sugar for *((a)+(b))
>>
>>57515646
That's the same thing anon.
>>
File: YX6ZTJ2.gif (678KB, 480x320px) Image search: [Google]
YX6ZTJ2.gif
678KB, 480x320px
I need help, when someone says
>flushing the input stream
what exactly do they mean?
Before I put
cin.ignore();
it wouldn't work. I just want to understand why. What does
cin.ignore();
ignore specifically? Here's the code
{
string user_Firstname;

cout << "Now Please enter your first name: ";
cin >> user_Firstname;
cout << "You entered: " << user_Firstname << "\n\n";

cin.ignore(); //FlUSHES THE INPUT STREAM (whatever that means)

cout << "Now please type your full name: ";
string user_Fullname;
getline (cin,user_Fullname);
cout << "You entered: " << user_Fullname << "\n\n";

cout << "You should give me a name as well: ";
string narrator_Nameinput;
getline (cin,narrator_Nameinput);
cout << "You entered: " << narrator_Nameinput << "\n";

return 0;
}
>>
>>57515893
>what exactly do they mean?
Um, can you not question the language please?

It's been around for a long time and doesn't need to be justified to people like you.
>>
File: Capture.png (23KB, 805x201px) Image search: [Google]
Capture.png
23KB, 805x201px
>>57515646
Uhhh
>>
>>57515957
I understand nothing.
>>
>>57515909
Well it's no fun to take something as what it is without understanding why. I'll just keep searching.
>>
>>57515893
when you use cin >> user_firstname, the program takes the first word from the input stream and puts it in the variable, so what ever is left in the input buffer stays in there until you clear it or use cin again.

So if I had
cin >> string1;
cin>> string2;

the user could input "two words" and the program would instantly put "two" into string1and "words" into string2.
>>
uhh what? that's just a procedure argument. read the semantics of the [] operator if you are able to (which i doubt), dumbtard.
>>
>>57516017
That's the best explanation i've gotten. Gonna throw that in to my notes, thanks a lot.
>>
double func1(x, y){
double sum = 0.0;
sum = x/ y;

return sum;

}
double func2 (a, b){
//sum from the first function

double total = 0.0;

total = sum + a + b;

return total;

}

how do I get the result from the first function so that I could use it in the second function?
>>
>>
>>57516640
Thread posts: 326
Thread images: 40


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.