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

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

Thread replies: 255
Thread images: 28
File: himegoto considered harmful.png (1 MB, 1000x1400) Image search: [Google]
himegoto considered harmful.png
1 MB, 1000x1400
Daily Programming Thread - Anime Edition

Web fags need not apply
Java fags need not apply
Snek fags need not apply
Literal fags need not apply

Do you hate anime?
Why not fuck off?

What are you working on, _/g\_?

Previous thread: >>55402595
>>
File: 1431432030106.jpg (13 KB, 228x238) Image search: [Google]
1431432030106.jpg
13 KB, 228x238
>>55407923
>Literal fags need not apply
>Posts himegoto
What the hell? Why don't you take your own advice and delete your forced meme image?
>>
File: 1467570941060.jpg (517 KB, 1521x1076) Image search: [Google]
1467570941060.jpg
517 KB, 1521x1076
>1.31MB
You're a big file
>>
 
while(1) {
printf("Please don't use an anime iamage next time!\nThank you!");
}
>>
>Mental Illness Edition
>>
>>55407965
>3 posters, 4 posts, as of me typing this post
> >>55407945 is me
>Must be >>55407950 or OP, both of which posted animu images
I get the feeling that you're trying to start some stupid shit.
>>
>>55407965
Thanks asshole my computer crashed
>>
>>55407989
I'm neither. That means the third post was OP samefagging.
>>
File: FizzBuzz.png (13 KB, 578x461) Image search: [Google]
FizzBuzz.png
13 KB, 578x461
What's the best programming language and why is it MSWLogo?

>>55407989
>>55408012
OP is a post but it isn't a reply
>>
>>55408018
I know. It was 3 replies and 3 posters. I added 1 to it, to include OP, but I realise now that I should have been clearer.
>>
>>55407945
>>55407965
Why are you always so mad about anime on an anime imageboard?
Why don't you use another website instead?
We don't need every /dpt/ to start with 50 posts of shitposting about how you think anime is trash despite frequenting an anime imageboard
>>
>>55408049
>Why are you always so mad about anime on an anime imageboard?
I'm not mad about anime. You may have noticed the imaged I used, which is from a fucking anime.
I'm against stupid forced memes.
>>
File: 1467398868589.jpg (475 KB, 852x973) Image search: [Google]
1467398868589.jpg
475 KB, 852x973
>>55408071
>forced memes
Literally nobody is making you complain about the OP
Make your own programming related anime image
I figure there are at least 4 or 5 different people that use this one
>>
>>55408049
>le 4chan is /a/ shitpost

you and your weeabo loser friends are the ones shitposting bub
>>
File: required reading for (You).png (381 KB, 528x528) Image search: [Google]
required reading for (You).png
381 KB, 528x528
>>55408094
>it's another eternal summerfag episode
>>
>>55408110
I've been here for years and never fucking liked anime. I'm sorry if I'm not that much of a loser, prick.
>>
>>55408087
>programming related anime
>mental illness off the charts
>>
>>55408087
The content of the OP post has a direct effect on the amount of shitposting in the thread, and that's not including people complaining about the OP itself.
This fucking stupid trap forced-meme is just that, a stupid forced meme, and you shouldn't allow it to shit up threads.
OPs should contain appropriate images, and the post body should ONLY contain a link to the old thread, and "what are you working on /g/?".
>>
>>55408110
suigin?! Is that you?
You are my favorite poster!
>>
I fucking hate this forced "forced meme" meme
>>
Anybody care to explain to n00B why javascript is so hated? I read something in the sticky and it didn't make a ton of sense.
>>
File: 1464823306282.png (5 KB, 270x175) Image search: [Google]
1464823306282.png
5 KB, 270x175
>>55408179
>>
>>55408188
is that code for "this is hard as fuck to read" ?
>>
File: javacript.png (36 KB, 473x328) Image search: [Google]
javacript.png
36 KB, 473x328
>>55408188
>>55408179
>>55408198
>>
first for Go and its lightweight runtime
>>
>>55408188
>>55408210
ok i get it. and i'm crying laughing so hard. why is it so widely used then? i know C# and the basics of Python but haven't done any web dev. do those aspects not really apply when it comes to web dev?
>>
>>55408230
>why is it so widely used then?
Because browsers support it (and only it - this is the only place where javascript is actually used, nobody uses nodejs unironically)
>>
>>55408247
>unironically
you don't even know what the fuck you're saying, do you?
>>
>>55408230
C is also weakly typed yet all major OSes are written in it.
Only academics care about typing while the industry gets the job done, types or not.
>>
>>55408260
...what?
>>
>>55408270
>Only autistic CS students trolling /g/ care about typing
FTFY
>>
>>55408270
>C is also weakly typed yet all major OSes are written in it.
C is not dynamically typed though.
>>
File: dos.jpg (55 KB, 625x430) Image search: [Google]
dos.jpg
55 KB, 625x430
>>55408270
>>
>>55408293
Because the type system is really not the defining feature. How convenient it is to use, is.
>>
>>55408270
so would you say javascript is convenient and typing doesn't matter in what it's used for?
>>
>>55408325
Yes.
>>
Does anybody use PyInstaller here?
Whenever I try to run a binary which I compiled with PyInstaller, it fails to include my custom packages in the script for some reason.

The error I get is:
AttributeError: 'module' object has no attribute 'mymodule'


The file structure is as follows:
project/
script.py
mycustompackage
__init__.py
mymodule.py


The __init__.py file contains an array specifying the __all__ variable as containing all the file names in the folder (so in this case, it's: __all__ = ["mymodule"]).

I compiled the project using: pyinstaller -p /path/tomy/project script.py.


I tried using py2exe, and I get the same error. However, when I run my script without compiling them, they work fine and don't error. What went wrong?
Thanks in advance.
>>
>>55408331
ty can you hire me now?
>>
I passed my exams, just got the results!
Just one year and a half of engineering before I can officially go and be a code monkey
>>
>>55408339
Not until you learn modern web technology, or at least some semi-modern ones like angular and react.
>>
>>55408352
is html modern? :')
>>
>>55408304
>Because the type system is really not the defining feature
It is
>>
>>55408404
Found the Haskell programmer

How's the NEET life going?
>>
> type systems

just a crutch for bad programmers tbqh
>>
>>55408418
yeah well at least I have a great ass you nerd
>>
>>55408418
>programming

just a crutch for bad electrical engineers tbqh
>>
what are /dpt/'s favorite text editor themes?
>>
>>55408461
>engineering

Just a crutch for bad theoretical physicists tbqh
>>
>>55408473
>physics

just a crutch for bad mathematicians tbqh
>>
>>55408484
>mathematics

just a crutch for real smart people. when am i ever going to use it in real life tbqh?
>>
>>55408418
This, when I see "Haskell" on a resume it goes straight into the trash, don't want some fag who's afraid of a little undefined behavior joining the team.
>>
>>55408490
>real smart

just a crutch for unattractive and dumb people, dumb people are more likely to have more children, making them the winners of evolution tbqh
>>
>>55408484
>mathematics

just a crutch for bad logicians tbqh
>>
>>55408336
Anyone ;-;?
>>
>Programming without the use of assignments is known as functional programming.
what did they mean by this?
>>
>>55408625
>He doesn't even understand the very core of imperative programming
Get good.
>>
Sauce on the aniem??
>>
Kant invented ocaml with his book on the categorical imperative in 1785, thus unifying Category theory and Imperative programming
>>
>>55408706
op is himegoto
>>
>>55408706
It's fucking trash.
>>
>>55408094
Yes , 4chan is /a/'s playground, now fuck off to another one if you dont like it
>>
Writing a 3D cheese pizza MMORPG in WebGL
Also where's my /dpt/ waifu that keeps telling me this is spam and keeps trying to get my attention?
>>
>>55408625
Whoever told you this is a tard.
>>
File: 1445426304617.png (1 MB, 1280x720) Image search: [Google]
1445426304617.png
1 MB, 1280x720
>>55408754
>3D cheese pizza
>>
>>55408754
Post result fgt
>>
>>55408763
page 230 paragraph 1, SICP
>>
File: 91i328.jpg (142 KB, 740x740) Image search: [Google]
91i328.jpg
142 KB, 740x740
>>55408754
>3d
>>
>>55408770
>>55408782
>>55408777
check'd
and by 3d I mean 3DCG lel, i'd do an anime one but that's too gay
>>
>You will never have an homosexual experience with Donald Knuth

I have yet to find someone who shares this feel
>>
>>55408801
Are you suggesting you don't know anyone who HASN'T had a homosexual experience with Donald Knuth?
>>
File: 1443432699146.png (63 KB, 482x780) Image search: [Google]
1443432699146.png
63 KB, 482x780
>>55408801
For you
>>
>>55408801
y-yy-y-yea-ahah-h s-s-s-u-c-c-c-c-k m-mmm-mmm-y l-little m-m-m-member
>>
>>55407923
>Web fags need not apply
>Java fags need not apply
>Snek fags need not apply
>Literal fags need not apply

>Do you hate anime?
>Why not fuck off?

Boy I can't wait for the Web and Java fags to show up, after all we've already had some anti anime fags, a python fag and a literal fag
>>
>>55408807
no, I'm suggesting that I don't know anyone who would want to have sex with him :(

What's more interesting is that literally no one I know wants to have sex with Alfred Aho. Granted that he's not as well known to most people, but he's so good looking and smart. I would legitimately let him kill me by asphyxiating me with his cock.
>>
>>55408778
rekt
>>
File: averaging two integers.png (1001 B, 247x40) Image search: [Google]
averaging two integers.png
1001 B, 247x40
>>55408874
they have camps in america where you can go and they'll cure you
>>
>>55408816
mm this should go in my cheese pizza game
>>
>>55408491
What if it's listed along with dynamic languages like Perl and Python?
>>
>>55408874
Aho's a qt 4 sure. I met N. J. Sloane at my Uni. He still uses Fortran.
>>
whats so bad about Java??

It makes minecraft mods so thats pretty cool
>>
>>55409001
not as hot though

Aho is literally husbando tier. I'm not into daddies, but I'll admit I've cum to the thought of him fucking my boypussy while he castrates me eith his teeth more than once.
>>
File: Bait Stamp.jpg (54 KB, 400x400) Image search: [Google]
Bait Stamp.jpg
54 KB, 400x400
>>55409037
This is some of the worst bait I've ever seen

Never post here again
>>
>>55409052
If you respond to it you've still been baited, moron.
>>
>>55409065
That's not how it works
>>
>>55409065
no, you've been baited if you respond to it as if it was a legitimate post
>>
>>55409071
You responded angrily, that's all he's looking for.
>>
>>55409085
>angrily
and why are you talking about yourself in the third person?
>>
>In general, we can determine that two apparently identical objects are indeed "the same one" only by modifying one object and then observing whether the other object has changed in the same way.
>But how can we tell if an object has "changed" other than by observing the "same" object twice and seeing whether some property of the object differs from one observation to the next?
>Thus, we cannot determine "change" without some a priori notion of "sameness", and we cannot determine sameness without observing the effects of change.
what did they meme by this?
>>
>>55409097
You shouldn't let yourself get so worked up over posts on an anonymous imageboard, just swallow your pride and keep posting. Noone will know it was you who made a fool out of himself earlier.
>>
>>55409133
this is bait as well
>>
>>55409154
>replying to other people for me
Thank you for defending my honour
>>
>>55409116
Aliasing is really really dumb. And mutability makes programs difficult to reason about.
>>
>>55408270
kys faggot
>>
>>55408715
kek'd
>>
File: 1448811794373.jpg (102 KB, 1024x684) Image search: [Google]
1448811794373.jpg
102 KB, 1024x684
Someone wrote his Bachelor Thesis on Q_rsqrt(): https://cs.uwaterloo.ca/~m32rober/rsqrt.pdf
>>
>>55408469
zenburn
>>
>>55409231
Are they both girls??
>>
>>55409317
anon...
>>
>>55409317
No matter how often I see it, its still jarring as fuck to see 13 year olds her.
>>
>>55408874
disgusting
>>
>>55408625
There are no job "assignments" or homework "assignments" for functional programming.
>>
Is there any way to get Wininet working on Windows 7? Or where I can get old .dll
>Google
I've already searched...
>>
>>55409464
How about you use non-deprecated software?
>>
>>55409376
>13 year olds her
what?
>>
>>55409464
not programming
>>
I'm new to C

so am I suppose to free any buffer that's used?
>>
>>55409611
Example.. Is this right?

      static char lon_buffer[20];
persist_read_string(KEY_LON, lon_buffer, sizeof(lon_buffer));
dict_write_cstring(out_iter, KEY_LON, lon_buffer);
free(lon_buffer);
>>
>>55409628
You didn't allocate memory on the heap for this one, so nope. Use free() on anything that was created with malloc()/calloc() and the likes.
>>
>>55409661
Oh sweet..

Sorry for newbish questions, I haven't read a proper C book but I'm diving into a C SDK atm
>>
>>55409628
No. The allocation you have there is static. It's allocated in the bss of the binary. Any time you allocate an array without malloc and friends you don't need to free. Depending on your platform that may or may not break shit.
>>
>>55409680
Read some book, before you dive deep into it, it'll be way easier.
>>
>>55409703
I'm planning to read a C book soon.

I'm planning to read this since its material related, but do you have another good resource's for learning C?
https://www.gitbook.com/book/pebble/learning-c-with-pebble
>>
>>55409739
"C Programming: A Modern Approach" & "Pointers on C" are a must read.
>>
File: 1355032431892.png (38 KB, 400x231) Image search: [Google]
1355032431892.png
38 KB, 400x231
>>55408491
5/10 made me reply
>>
>>55409628
>
sizeof(lon_buffer)

You don't need the parens.
>>
GUYS I NEED HELP WITH MY HOMEWORK you have to make a function that returns whether a number is even PLEASE HELP
>>
>>55408954
>non-symmetric name for a commutative operator

triggered
>>
>>55409951
Looks better with them t b h.
>>
>>55409985
return((((((((((((((((func(((((X)))))))... looks much better as well xdd
>>
>>55409952
 
bool isEven(int n){
for(int i = -2,147,483,648; i<=2,147,483,647; i= i + 2){
if (n == i) return true;
}
return false;
}
>>
>>55409999
kys
>>
>>55407965
>while(1)
>he will complain about anime regardless of if it's there or not
Yeah. So lets not care about these people alright?
Optionally he's not a programmer and is just pushing is agenda.
>>
File: why_this.jpg (66 KB, 300x287) Image search: [Google]
why_this.jpg
66 KB, 300x287
>>55408260
What are you even trying to say
>>
>>55410042
nice meme faglord, I hope you get anal cancer and aids while getting raped by fat old dirty men.
>>
Anyone else suffering from perfectionistic over-engineering? Everytime i want to add a little feature i overthink it by making it way too modular n shit, thinking too far ahead. This prevents me from making progress.

I guess hardcode -> refactor is the way?
>>
File: hume.png (764 KB, 615x980) Image search: [Google]
hume.png
764 KB, 615x980
>>55408715
10/10 post
>>
>>55410181
Hope that made your day a little bit more bearable.
>>
Hi guys programming guy who says programming is too hard here

So I ended up watching first two videos of handmade hero and it still seems like it will not help to explain how to actually program
>>
>>55410181
B A I T E D
>>
>>55409952
not sure if this is some new meme

return i % 2 == 0
>>
>>55410254
you're supposed to reply with funny meme ways of completing the function, either correctly or incorrectly
>>
>>55410394
>>55409952

auto func(int number) {
return "whether a number is even";
}
>>
I'm toying around with LLVM and I'm having some issues.

I compile multiples files in a virtual file system into a single module, but when the code on the VFS calls function from the host program (compiled with -rdynamic), it works, but when a file calls a function from another file (which is in the same module), I get:

LLVM ERROR: Program used external function '_Z1fv' which could not be resolved!


After a bit of fucking around, I've noticed that only one of the files actually gets compiled and the rest of the symbols are just definitions.

I think that I don't understand how to properly use the VFS, then.
>>
>>55410236
what's your question?
>>
>>55410008
Doesn't work for unsigned
>>
>>55410236
programming isn't hard
>>
>>55409952
bool is_even(long long num)
{
while (num-- > 2);
if (num == 2) return true; else return false;
}
>>
>>55410394
>>55409952
inline constexpr auto isEven(const int n)
{
return (n & 1) == 0;
}


Can't think of a funnier way. :c
>>
>>55410467
Why the extra space in your slide down operator?
>>
>>55408469
> Oblivion.
Comfy as fuck.
>>
>>55409345
you made me kol. Take responsibility.
>>
>>55408469
default (peachpuff?) of vim
>>
Write a program that gets you a gf
>>
Why do people say Learn Python the Hard Way is shit?
>>
>>55410658
#include <cstdlib>

int main()
{
return EXIT_FAILURE;
}
>>
>>55409562
They obviously meant HERE, dipfuck
>>
>>55410775
Anything involving Python is shit
>>
>>55410828
These girls are not 13, duh.
Also, nothing is obvious, fag.
>>
>>55410658
paypal::transfer(GBP(1500), "/dev/null");
>>
>>55410845
Reread the chain of comments. He wasn't saying the girls in the picture are 13, he's replying to someone and calling them a 13 year old girl.

you fucking idiot
>>
>>55410884
He can't reply to someone and say them (plural). Moreover he called nobody a 13 year old girl.
Baka faggot
>>
>>55410775
Just read the tutorial and docs at python.org and look up stackoverflow when you get stuck.
>>
>>55410853
That's an extremely expensive pay girl. I hope she was pretty and you got her for a whole night.
>>
>>55410884
Why would there be girls in a programming thread?
>>
>>55410473
inline constexpr auto isEven(const int n)
{
return !(n & 1);
}
>>
>>55410922
Didn't like it this way, and forgot noexcept.

inline constexpr auto isEven(const int n) noexcept
{
return (n & 1) == 0;
}
>>
>>55410922
that's some unmaintainable shit right there
>>
>>55410955
>that's some unmaintainable shit right there

spotted the web dev
>>
>>55410955
I've heard bitwise operations are fun in javascript.
>>
>>55410961
>bit twiddling magic
that won't pass code review in any serious company
>>
>>55410961
game dev > web dev > programming dev
>>
>>55410978
>& 1 is bit twiddling magic
>>
>>55410978
But this isn't interview code, Anon.
and >>55410988
>>
>>55410985
os dev > game dev > programming dev > web dev
>>
>>55411037
>programming dev
how can you be this meta?
>>
>>55411058
fuck off beta
>>
Do you program sockets differently in an ARM board compared to a PC?
On Java.
>>
>>55410953
>magic numbers
What the fuck, son. Refactor your code.
>>
>>55411111
>quint 1s
I guess 1 is a magic number
>>
>>55411111
1 and 0 are not magic numbers
>>
>>55411111
constexpr size_t ONE = 1;
constexpr size_t ZERO = 0;

inline constexpr auto isEven(const int n) noexcept
{
return (n & ONE) == ZERO;
}


:/
>>
>>55411151
Very good.
>>
>>55411151
Wow, I would like to use your code, but I don't know what your license is.
>>
>>55411151
>curly bracket in a new line
delet
>>
>>55411208
GPL 4
It's like GPL 3 except you've got to make your soul GPL as well
>>
>>55408270
Typing is HUGELY important so I assume you're just trolling. If you plan on writing anything more than a hundred lines of code, the advantages of dynamic typing are heavily outweighed by the disadvantages.

There's a reason there are hundreds of languages built on top of javascript that make it statically typed. It's completely unmaintainable otherwise in any serious application.
>>
>>55410775
ive read this a while ago

https://www.reddit.com/r/learnprogramming/comments/3so66i/what_are_your_thoughts_on_learn_python_the_hard/

>inb4 leddit
>>
>>55411208
>>55411219

Here you go, m8s.

/*
* is_even.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
constexpr size_t ONE = 1;
constexpr size_t ZERO = 0;

inline constexpr auto isEven(const int n) noexcept {
return (n & ONE) == ZERO;
}
>>
>>55411249
>what is documentation
>>
>>55411249
>not AGPLv3
wtf u make stallman crie
>>
>>55411249
>GPL
no thanks
>>
>>55407923
Sauce please.
>>
>>55411249
Use AGPLv3+ next time
no joke
>>
>>55411225
Static/dynamic typing is not the same as strong/weak typing anon.
>>
>>55411324
yea I'm a retard. I mean strong/weak, I always get the two confused
>>
File: hacker.png (255 KB, 600x561) Image search: [Google]
hacker.png
255 KB, 600x561
>>55407945
>>55408071
>jokes used in /dpt/ consistently for over a year
>don't like it
>officially a forced meme because me
>>
>>55411151
Can we take it further?

static constexpr std::size_t BIT_ONE = 1;
static constexpr std::size_t RES_ZERO = 0;

template <typename T, typename std::enable_if<std::is_integral<T>::value>::type>
inline constexpr auto isEven(const T n) noexcept
{
return (n & BIT_ONE) == RES_ZERO;
}
>>
>>55411416
MODS
>>
keep your eyes out for a picture or drawing of 2 spellcasters using magic tomes to cast books, preferable one being "light" magic and one being "dark" magic. i'm going to edit in SICP to be the dark magic book and K&R to be the light magic one
>>
>>55411324
Oops, meant that for
>>55408270
>>
File: baby love.jpg (107 KB, 543x769) Image search: [Google]
baby love.jpg
107 KB, 543x769
>>55411438
>>
>>55411435
Beautiful, but can be a little shorter:
static constexpr std::size_t BIT_ONE = 1;
static constexpr std::size_t RES_ZERO = 0;

template <typename T, std::enable_if_t<(std::is_integral<T>())>>
inline constexpr auto isEven(const T n) noexcept
{
return (n & BIT_ONE) == RES_ZERO;
}
>>
File: !draper.jpg (32 KB, 500x500) Image search: [Google]
!draper.jpg
32 KB, 500x500
>>55411466
literally took me a whole minute to get that image
>>
>>55408528
>winners of evolution
someone didn't see idiocracy
>>
>>55411273
FUCK YOU.
>>
>>55411498
This code looks really robust and futureproof. Would you like to come and work for Facebook, kid?

--Zuck
>>
File: TJSZM1i.jpg (162 KB, 1173x660) Image search: [Google]
TJSZM1i.jpg
162 KB, 1173x660
Should I invest time into Javascript?
>>
>>55411666
no
>>
>>55411666
What are your goals?
>>
>>55408286
Typical /dpt/ shitters, everyone
>>
>>55411666
Webdev? Yeah, start with something like MeteorJS.
>>
>>55411749
What the hell? Are you claiming that C is dynamically typed? You should try better if you want to troll.
>>
>>55411666

I mean, it's pretty popular now. Probably wouldn't be a bad idea.
>>
>>55411766
>Says /pol/ shit poster
>>
What does dpt recommend for doing decent looking GUIs?
>>
>>55411666
No, find something that compiles into JavaScript so you never have to touch it.

Soon WebAssembly will replace it.
>>
>>55411720
mo money

React Native / Electron looks cool. Being decent at web dev javascript wouldn't hurt. It seems like you could easily apply JS skills to web, desktop, and mobile app development simultaneously.
>>
>>55411806
Qt
>>
>>55411764
No, I'm claiming that you're a retard and proof the people here don't actually know shit about programming
>>
Lets all collab on programming a single application together we can have 50 plus people all contributing at one time and make a medium sized application fairly quickly
>>
>>55411847
OK ILL MAKE THE LOGO HOUEHUEHEUHEUHEUHEUHEUEHUEH
HEUEHUEHUEHUEHUEHEU
EHUHEUHEUEHUEHUE
HEUHEUHEUEH
>>
>>55411847
I'll make the logo.
>>
>>55411837
Nice argument there bro, kys
>>
>>55408715
I know this is a joke but Kant actually (kind of) invented Skolem functions in the critique of practical reason.
>>
>>55411857
>>55411864
Serious guys this is why /dpt/ is shit no one ever wants to produce anything useful at least /agdg/ and /wdg/ work together to produce cool projects
>>
>>55411865
I shouldn't need to argue anything, your first post that I replied to was just downright retarded.
>>
namespace Test {
double f();
}

namespace TestImpl {
using namespace Test;

double f()
{
return 3.14;
}
}

int main()
{
Test::f();
return 0;
}


Why the fuck does this give me an undefinied reference to Test::f()?
>>
>>55411865
>dumb kysposter
>>
>>55411899
Still better than yours, lel
>>
>>55410211
YAGNI
>>
>>55411903
because test::f is undefined
all you did was declare it
>>
>>55411891
Because /dpt/ isn't where you go if you want to be with level headed people who know what they're doing. It's a bunch of insecure, unmotivated shitters. Maybe it's the vague focus of the general that attracts these kinds of people, your guess is as good as mine.
>>
>>55411936
But can't I define it in TestImpl?
>>
>>55407923
I started reading Sam's teach yourself c++ in 24 hours. What should I read after that? I plan on following the remaking cavestory in c++ tutorial
>>
>>55411961
Where do those people go then to collab?
>>
>>55411891
Welp, read up on the good ol' stone soup story.
You're essentially asking us to blindly trust you, or just come up with our own ideas for you.
If ya really want us to help, give us a working prototype or something, and at least some of us will chime in to help.
>>
good job fucking up search you weeb
>>
File: >c++ in X (hours|days).png (152 KB, 744x638) Image search: [Google]
>c++ in X (hours|days).png
152 KB, 744x638
>>55411973
>>
>>55411964
No
>>
>>55412014
Well, that's a bit shitty.
>>
Why would one use make/cmake/etc when you can literally just make a shellscript that's easier to read and edit?
>>
>>55411994
learning a programming language is different from a spoken language. if you already know C and java for example you could probably learn c++ in a couple weeks easy. and it depends on how you define "learn"
>>
>>55412050
just go ahead and do that buddy, see how that turns out for you
>>
>>55408230
>i'm crying laughing so hard
no you're not.
>>
>>55411792
fuck off commie
>>
anyone here uses stackless python?

can i replace my python with it without having to reinstall packages
>>
>>55412073
eat dick
>>
>>55412056
You would "learn C++" but you wouldn't really know it. C++ is especially tricky to really learn because of the bloated standard library.
>>
>>55412073
I'm not everything should just be free
>>
>>55412086
imo, you don't have to know everything in the standard library from memory to be able to say you know C++. that's like saying you need to know every word in the language to be able to say you can speak spanish
>>
>>55412024
Why would you be able to? Test and TestImpl are completely different
>>
>>55412064
That's what I'm doing, care to explain your point besides getting to be passive-aggressive?
>>
>>55412086
that's why he put it in quotes, you nitpicking homosexual autist
>>
>>55411994
>>55412056
>>55412086
I have been giving myself a wide, but shallow, base of knowledge. I have studied other languages in minor detail, but I have picked up several concepts. Yet, it seems like Sam's book is the first book that I have read that goes a bit more in detail in regards to OOP.

I think I have been making a good pace, but I am lacking the know-how for a personal project.
>>
>>55412129
No you little cunt why don't you google shit before asking it here?

http://lmgtfy.com/?q=makefile+vs+shell+script
>>
File: image.jpg (26 KB, 220x360) Image search: [Google]
image.jpg
26 KB, 220x360
>>55409231
>"Some unknown master bit hacker has released an amazing function into the public domain"
>People are allowed to write like this for their Bachelor degree
>>
>>55412184
dude it's obviously tongue-in-cheek, and it's just a fucking bachelors thesis.
>>
>>55412240
My supervisor would have roasted me alive if I wrote that.
>Tfw supervisor loved academese more than anything else
>>
>>55409820
Much thanks kind anon
>>
>>55412184
That would be valid if you were talking about a scientific discipline, but CS is not a science.
>>
>>55412394
this post is bait
>>
>>55412394
>computer science
>not a science
nice meme
>>
>>55411807
>WebAssembly
>This is how delusional webfags are about the importance of their software
>>
>>55412409
But it's not. And it's not really about computers too.
>>
>>55412449
SHALOM!
>>
>>55412409
>baldmancrossingoutthewordscomputerandscienceonablackboard.gif
Thread replies: 255
Thread images: 28

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

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.