/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?

Old thread:

Other urls found in this thread:

dlang.org/comparison.html
dlang.org/phobos/index.html
dlang.org/spec/garbage.html
dlang.org/blog/2017/03/20/dont-fear-the-reaper/
dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/
wiki.dlang.org/Books
twitter.com/SFWRedditGifs

shit I made this thread because the previous one got deleted but then I noticed the one before that hadn't reached the bump limit

QUICK, EVERYONE DON'T POST HERE

just delete it you sperg

>Making threads before reaching bump limit

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

Congrats, that covers over 99% of all programming discussion.

How does it feel being an unwanted idealogue?

fuck off faggot, lgbt shit is not programming

I haven't seen you make a single programming related post since you started kicking and screaming last night

Fuck off, you two (one?) cunts.

yeah fuck off

In all honesty, the only true pic of /dpt/ is Yuki Nagato pic, so you'd better be posting that picture but not others.

Who are you quoting?

why are you putting off working, Sup Forums?

Because I can't find a job ;_;

Nobody wants to reply to my resume submissions.
I'm starting to think the self-taught meme was a mistake.

I might hate programming :(

How long will it take to learn C++?

I'm very depressed

What programming language would anime be?

thats what you get. Ppl with degrees cant even find a job, you think your gonna get a job without one?

>meme
>ribbit the reddit frog

So I shouldn't bother with school, is what you're saying?
I'm not sure what point you're trying to make.

Not that guy, but if education is free in your country go for it.

He's saying people more qualified than you are having trouble finding jobs, so you'll be homeless.

>diagnosed type 2 bipolar
Is it time for me to start writing an OS which will serve as Kek''s temple?

Someone should make the logo though.

Just finished a Python web scraping tool for reddit. Honestly, it was an introduction to UI building. Really, I was just goofing off with Tkinter.

Also, I've been digging into C a bit, trying to become a better programmer through better understanding of low-level stuff.

I'm also looking for some beginner-intermediate project ideas. What are some good programs to start building to increase my skill level?

You will never in your life make an OS. Don't ever repeat those words again.

>I'm also looking for some beginner-intermediate project ideas. What are some good programs to start building to increase my skill level?
Simple parsers/lexers are widely useful and will also teach you some finite automata theory. Then you can expand on them and build a scripting language.

now make a bot for reddit, that replies to a specific phrase

>r*ddit
I don't want reddit stink nearby. Fuck off.

I already have a kernel but no file system. I was thinking about starting with a userspace text editor to edit memory

Meant for

Jesus christ weeb fuck off

Embrace the anime era, it will come soon.

KILL YOURSELF WEEB MANCHILD

How do I teach myself how to program efficiently?
I have a book, but I'm not sure how to use it

Go to hell

You open the book and start at chapter one.
To program effectively, you must first outline what your problem is and design a solution before writing any code.

Can you use std::cout and std::cin in a same line?

Disparaging the anime must be a punishable offence.

Fuck off to Don't post ITT if you want to discuss weeb shit
Get out

...

Are we enabling weaboos now?

iv never programmed efficiently in any of my projects. Ill tell you what my problem is. I never plan shit, I just start programming. Guess what, in about a week Ill realize that their is a flaw with my previous classes. But its too late to go back and fix it, so everything becomes a mess. I never go back to any of my projects ever. All because I never plan efficiently

I really don't understand your motivation. Why are you on anime site yet you despise anime fans? Why are you wasting your life away arguing with anime fans?

Go to hell, weeb

going to make a morse code flasher with my arduino. gonna make it where i can sent it a message through the serial connection with my computer and it'll flash out the morse code equivalent. not gonna look at the way the book i have does it. the book i got was so highly rated on amazon because it's for people with 0 programming experience, should've realized it

so I watched mr god's gift to programming himself jonathan blowjobs latest """demo""" wherein he showcases his fantastic re-invention of the switch statement in his unreleased proprietary vaporware """programming language""" which is about as convenient as chained else if's this morning

and it got me to thinking about how the actual best language 2017, Go's switch statements work, seeing as they evaluate expressions I wondered if there's a limit to that complexity and

package main

import (
"fmt"
)

func main() {
type arbitrary struct {
foo, bar, baz int
}
switch func() arbitrary {
return arbitrary{1, 2, 3}
}() {
// comment out one of these cases and you'll see that they both work
case arbitrary{1, 2, 3}:
fmt.Println("helloooooooOOOooo")
case struct{ foo, bar, baz int }{1, 2, 3}:
fmt.Println("mr jackpots")
}

// comparing by pointer instead of by value requires the same object being passed around, obviously
// and isn't that impressive since it's really just a number (the address) at that point

}

>mfw
I think I should go to sleep meow

weebs*

Why not go on any myriad of other sites that better suit your interests?

/prog/ wish list
>Flags
>10000 character limit
>Specify syntax highlighting scheme
>Text board

do you have personal projects? do you have a personal website? do you use git / have code in github? do you post stuff in reddit/HN/whatever?

WHY NOT FUCK OFF TO BECAUSE IT SUITS YOUR ONLY INTEREST WEEB CANCER?

>reddit
Seriously: piss off. Your kind is not welcome here.

yes, no, yes, no, nobody looks at my github even when i put it on my resume

Go to hell

I'm tired.

No

>that first paragraph
I snorted.

Embrace the era of anime, it will come soon.

Go to hell, weeb

Can't wait

I am so fucking sick of obese """people""" complaining about employment discrimination. Of course they're not gonna hire you you greedy fuck. What the fuck do you think you need a job for? Look at yourself, you don't NEED money, you're SET. Literally go chill in the woods, you're fucking good to go for a handful of years. Christ.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

Anime is the fundamental part of imageboard culture and being disgraceful to the anime must be a punishable offence.

Nobody said they were fat.
Are you experiencing a fair amount of self-hatred, maybe?

Scream and moan all you want, weebshits and furries have their own containment board.
You belong to

>Reminder weebs are killing /dpt/
wrong
>>Language wars
>weeb
wrong
>>gatekeeper
>weeb
wrong
>>No I/O
>weeb
wrong
>>what language would anime be
>weeb
right
>>writing linux in haskell
>weeb
wrong
>>cross-dressing and other SJW/LGBT propaganda
>weeb
right
>>Game development isn't programming
>weeb
wrong
>>"who are you quoting"
>weeb
right
>>"she"
>weeb
wrong
>>turing completeness was a mistake
>weeb
wrong
>>faggot programming socks
>weeb
right
>Ban and purge all weebs and this thread becomes infinitely better
wrong

>t. weeb

Just stop posting and embrace the anime era, it will come soon.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

>>t. weeb
wrong
>Just stop posting and embrace the anime era, it will come soon.
right

>t. weeb

wrong

>no anime.
... on an anime site.
You have a very low IQ, user.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

>embrace the anime era, it will come soon.
>right
>not a weeb
I wonder

Just embrace the anime era, it will come soon.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

How fucking autistic do you have to be to have a comp sci Bs and no job. I have recruiter ready to suck me off to get me in the damn door with a two year community college degree, they don't even read till the end of the resume to see it, not even a related field.

Gratz you got your wish only neets depression posting.

Threadly reminder that dlang-chan is not dead; she's going to have her GC tumor removed (eventually); she's super duper cute; and she's a blast to write in! Say something nice about her, /dpt/!
>Features
dlang.org/comparison.html
>Standard library
dlang.org/phobos/index.html
>GC
dlang.org/spec/garbage.html
dlang.org/blog/2017/03/20/dont-fear-the-reaper/
dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/
>Books
wiki.dlang.org/Books

Do you have a job?
Have you actually followed through with any of those recruiter fucks

/dpt/ what horrible thing should I make it do next?
window w("Hello World!", 640, 480, 60);
image spag =
w.get_image("img/lol/ripinspaghettineverforgetti.png");
image i = w.get_image("img/lol/ball1.png");
image j = w.get_image("img/lol/ball2.png");
music m = w.get_music("snd/lol/bgs.wav");
w.play_music(m, true);
sound s = w.get_sound("snd/lol/grease.wav");
spag.pinhole_x = 16;
spag.pinhole_y = 16;
i.pinhole_x = 16;
i.pinhole_y = 16;
j.pinhole_x = 16;
j.pinhole_y = 16;
animation q;
q.add_frame(i, 10);
q.add_frame(j, 10);
graphic g(q);
g.options.blend_green = 0;
g.options.blend_blue = 0;
graphic h = g;
int a = 0;
int av = 1;
double r = 128;
int rv = 0;
::soge::text::dialog ms(w);
ms.msg("Hello world! "
"Hello world! "
"Hello world! "
"Hello world! "
"Hello world! "
"Hello world! "
"HBWRSNETIAFNEIT GHBNERADKEWRDKL:A EIOPLDFKGNSDLMFKNA "
"$%#@^*%$#&^&@^ stegasaurus!!!");
while (w.update()) {
g.update();
image i = g.get_image(), j = h.get_image();
if (w.is_key_down("Left")) av--;
if (w.is_key_down("Right")) av++;
if (rv) {
r += rv;
if (rv < 0) {
rv++;
if (rv == 0) rv = 15;
} else rv--;
} else {
if (w.is_key_down("Up")) r++;
if (w.is_key_down("Down")) r--;
}
if (w.was_mouse_left_clicked()) {
rv = -15;
w.play_sound(s);
g.transition_to(spag);
}
a = (a + av)%360;
i.scale_x = std::sin(a*pi/90) + 196/r;
i.scale_y = i.scale_x;
j.scale_x = -std::sin(a*pi/90) + 196/r;
j.scale_y = j.scale_x;
int x1 = w.get_mouse_x() + r*std::cos(a*pi/180);
int y1 = w.get_mouse_y() + r*std::sin(a*pi/180);
int x2 = w.get_mouse_x() - r*std::cos(a*pi/180);
int y2 = w.get_mouse_y() - r*std::sin(a*pi/180);
g.options.angle = a;
h.options.angle = a;
w.draw_line(x1, y1, x2, y2, 0, 0x80, 0);
w.draw_image(i, x1, y1);
w.draw_image(j, x2, y2);
if (ms.empty()) ms.msg("buttconfetti");
ms.update();
}

I wish people actually got banned for posting low quality posts.

>Do you have a job?
No

Here's a Japanese image of a smug girl to piss someone off.

Jannies banned the gatekeeper a while ago, and he evaded bans to shill weebshit

I wanna cuddle with Dlang-chan.

uguu ~~~ :D

If you can't refactor it in under a few hours, their's two things happening. You're shit, and your language is shit.

I'm sick of /dpt/ never getting a break honestly. There isn't a single week without someone else starting a shitposting spree.

Embrace the anime era, it will come soon.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

Built for cuddling and productivity!

why is her hair so short? does D stand for dyke?

...

Just stop posting and embrace the anime era, it will come soon.

Reminder weebs are killing /dpt/

>Language wars
weeb
>gatekeeper
weeb
>No I/O
weeb
>what language would anime be
weeb
>writing linux in haskell
weeb
>cross-dressing and other SJW/LGBT propaganda
weeb
>Game development isn't programming
weeb
>"who are you quoting"
weeb
>"she"
weeb
>turing completeness was a mistake
weeb
>faggot programming socks
weeb

Ban and purge all weebs and this thread becomes infinitely better

It helps her with being aerodynamic. She's as fast as she is genki!

see:

Embrace the anime era, it will come soon.