/dpt/ - Daily Programming Thread

Old thread: What are you working on, Jow Forums?

Attached: 1543958236205.jpg (1280x1480, 527K)

Other urls found in this thread:

news.ycombinator.com/item?id=18606127
dlang.org/spec/function.html#safe-functions
dlang.org/spec/function.html#trusted-functions
en.wikipedia.org/wiki/Hacker_News
livescience.com/62059-schizophrenia-lsd-sense-self.html
s000.tinyupload.com/index.php?file_id=02565829613557520773
twitter.com/NSFWRedditVideo

I want to die

Please do not use an anime image next time. Thank you.

sachiko a shit

>tfw learning COBOL

Attached: 1530857178701.png (607x543, 404K)

I'll be sure to use her next time.

Attached: 1542923104480.jpg (650x576, 60K)

BASED

Attached: dpt in a nutshell.jpg (499x249, 16K)

Why is /agdg/ so ill tempered?

nth for nim!

Haskell is the most powerful programming language.

Not everyone is mentally ill in these threads.

programming talk in /agdg/ is like FP talk here.
Triggers the brainlets

Performance anxiety. They know that the market for shovelware indie games was diminished to nothing round about 3 years ago, but they're still all-in and hoping to become the next Papers, Please.

Yeah I don't use C.

>le ebin response XD
kys fucking faggot

What should I make this do next user?

# animegirl.py
# by Jonno, Dec 2018
# talk with Mika, the cute anime girl

# save messages as variables
intro = "Hi! I'm Mika, a cute anime girl!"
ask = "How can I help?"


# begin interactions
print(intro)
print(ask)

Attached: Anime-Girls-HD-Backgrounds.jpg (1920x1200, 1.03M)

Crabs in a bucket

Solve the decidability problem.

write it in C, add an x86 boot sequence and calls to the VGA buffer, and make a waifu operating system. Also, make it pass the turing test.

No.

Attached: 1512356698758.jpg (744x1052, 381K)

but like all of your projects you never go through with it

I'm going to go make a snack with that fire.

Attached: 1541900093146.jpg (496x1122, 150K)

Fuck C and heil C++

Attached: 686923.jpg (889x853, 256K)

Both great ideas.

I made it tell a joke.

joke = "My dog has no nose. It smells terrible!"

Mate, where do you think you are?
Sepplescucks belong in .

Attached: 1452471092796.png (1280x720, 372K)

C++ is still unstable after 35 years, why would I trust a language that can't seem to implement a single feature without being rife with bugs?

Attached: kill_la_kill-04-ryuuko-bunny_pajamas-smile-happy-friendship-red_streak-short_spiky_hair-tomboy-cute_ (1280x720, 86K)

I made this for you, /dpt/!

Attached: 1544043227681.png (868x1228, 988K)

>Le oh-so-funny trap forced-meme
It's shit.

I don't understand this.

currently 2/3 here
the pink plastic is a bit too gaudy for me. is it available in other colors?

I love Sachiko!

Attached: 1533685644788.jpg (596x978, 305K)

I fell for the Nim meme and it is actually pretty fun.

So do you have a total of 3 users now?

nim is a great language. Hoping it gains popularity.

>the pink plastic is a bit too gaudy for me.
It's not like anyone is going to see it.

good lad.

1 2 3 Checks out.

slow and steady.

You've probably plateaued at this point. At least you beat D's record of 2 users globally.

There's atleast two others here that use D. So we're tied. dedlang takeover soon.

No, the other guy was arrested for breaking into a mortuary.

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
get new jokes m8

A language power's mesurable by the speed of his compiled application.
ALL HAIL ASSEMBLY.

Lisp is the most powerful programming language.

It's a total mystery why Rust got all the hype that D deserved. D has every feature Rust has, and then some. And it compiles and runs so much faster.

>asm
>1:1 correspondence with machine code assuming no virtual opcodes

>Garbage collected
>Aping C++, the worst language is existence
D deserves absolutely nothing.

Rust has mozilla, and a certain political group. plus D didn't shove buzzwords down everyone's throats constantly, and also didin't guerrilla/zerg market like Rust did with sending reps out to every conference to shill. And Yes as the other user said, The GC turns people away instantly. But unlike Rust, D is actually a very good language, that's very nice to write and maintain, so in the long-run it has a much better chance than Rust. Plus @nogc work is ongoing.

D's syntax is more inline with C# ,than Sepples.
I do agree that Walter is wasting time with c++ interop though, but what can you do.

you guys are doing the advent of code problem in 10 minutes, right?
you can actually program... right?

desde

Attached: desde.png (1000x1000, 395K)

>advent of code
What would be the point of that?

Who the fuck cares about that? I don't need to prove myself to anybody.
Go back to your containment thread.

>asm
>compiled

Attached: confusedgirl.jpg (360x360, 26K)

>sending reps out to every conference to shill
You've hit the nail on the head, D should do this

hey the macro preprocessor counts for something at least, doesn't it?

Honestly, I'm not even sure D has the people.
There's plenty of "senior" members who contribute to the compiler and are considered quasi-core members. But ultimately they have their own lives and are just volunteers. Walter and Andrei are the only real "core", but Andrei's still at Facebook. But a lot of Rust talks I've watched, the reps don't all seem like programmers, or atleast core-quality ones. They seem more like PR who've been extensively trained on the basics and how to answer all the usual questions. And I don't want D to make that mistake.

correct me if i'm wrong but literally the whole point of rust and the only real reason you'd use it over c/c++ is the compile-time memory safety without GC aspect
what's that got to do with D?

Yeah, probably. I was just being smart.

Attached: smartgirl.jpg (500x318, 66K)

D is every bit as safe as Rust, just use @safe
And it does fine without a GC, just use @nogc

Facebook is running millions of lines of D and it could easily spare a few documentation writers to show off at conferences

Read
news.ycombinator.com/item?id=18606127
Autor D is on it

D has @safe and @trusted function attributes
Each basically enforce Rules you can't break inside the function to assert guarantees.
dlang.org/spec/function.html#safe-functions
dlang.org/spec/function.html#trusted-functions
They also wrote their sepples preprocessor in D. But D's not their main lang, nor are they trying to be a main force behind it. Andrei just has a lot of clout so he is allowed / trusted to incorporate it.

I always see that news.ycombinator site. What the fuck is it?

It's a minimized fork of the Slashdot codebase run by the creator of C++

Employed Jow Forums plus drugs and startups shills

reddit clone like voat for cs incels

D is fucking RISING. YAS BITCH.

>working
Good one. I want to be the Lance Armstrong of programming. What drugs do I take?

Attached: 140813162311-01-lance-armstrong-restricted-horizontal-large-gallery.jpg (980x552, 67K)

en.wikipedia.org/wiki/Hacker_News

Vitamin D

Attached: AN329-Vitamin-D-Gels-732x549-thumb.jpg (732x549, 37K)

Adderall

Attached: pills.gif (500x378, 987K)

Microdose LSD. It literally made me a superhero.

Before LSD
>racist
>wasted time on Jow Forums
>programmed for like 1 hour a day

After LSD:
>not racist anymore
>Jow Forums disgusts me
>program for at least 8 hours a day.
>creative

Heroin, or krokodil if you're on a budget.

>A thread full of weebo posting circle jerk.
Show me you code /dpt/, now!

Attached: quote-talk-is-cheap-show-me-the-code-linus-torvalds-45-66-13.jpg (850x400, 36K)

that's not very nice language user.
*kicks you out of your own project*

>Cure schizophrenia
livescience.com/62059-schizophrenia-lsd-sense-self.html

I'm doing stuff for my job, and while it's open source, I don't really want to post it here.

Attached: 1542830119975.png (139x129, 23K)

Meritocracy in open source was to expels "ideas guy" now ideas persons can infest open source as "mananger"

What are some good books for c++? I only know the basics like loops, functions, arrays, pointers, classes/objects etc. Want to at least learn enough to start a project like a game of snake. I have this one infograph. Is it any good?

Attached: 1530467742003.jpg (663x1408, 309K)

no programmers in here
they're all in the advent of code thread

Let me tell you a secret brainlet... Don't read books to learn a language. Once you know the basics, just CODE.

Attached: 1543807486337.png (1201x825, 97K)

can someone explain this meme?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

its not a meme, not everything is a meme, its just java

How to change font on vscode?

attempt 1 (One) search in the settings and see what happens.

Yes sir! Learn by doing, thanks

Attached: 1480030061252.jpg (2560x1440, 476K)

>not everything is a meme
Or is it?

Attached: selfreflection.jpg (960x519, 364K)

>weebtards
>programming anything
lul

Attached: 4ancd7gdlwty.jpg (612x727, 42K)

>all those books dedicated to a shitlang
the human race has failed

Attached: 1492539634213.jpg (800x640, 148K)

>he needs a language to make sure his types are safe

Attached: 1466735540705.jpg (460x676, 64K)

where is the settings?

s000.tinyupload.com/index.php?file_id=02565829613557520773

# animegirl.py
# by Jonno, Dec 2018
# talk with Mika, the cute anime girl

# save messages as variables
intro = "Hi! I'm Mika, a cute anime girl!"
ask = "How can I help?\n"
confused = "I don't understand"
joke = "My dog has no nose. It smells terribly!"

# begin interactions
print(intro)

while 1:
userInput = input(ask)

if userInput == "exit":
exit()

elif userInput == "joke":
print(joke)

else:
print(confused, userInput, ".")

Attached: programming.jpg (2560x1440, 522K)

>she needs an assembler to generate machine code for her

Attached: 1521076494404.jpg (246x239, 22K)

>they need a computer to perform calculations for them

Attached: smug_anime_girl.gif (1280x720, 386K)

>she wasn't the first to instantiate a Turing machine

Attached: dumb.jpg (192x299, 34K)