/dpt/ - Daily Programming Thread

EXPERT PROGRAMMER edition

Old thread: What are you working on?

Other urls found in this thread:

learnyousomeerlang.com/content
chimera.labs.oreilly.com/books/1234000001642/index.html
elixir-lang.org/learning.html
fsharp.org/learn
en.wikibooks.org/wiki/Haskell
0x0.st/pbp.pdf
gigamonkeys.com/book
cs.cmu.edu/~dst/LispBook/book.pdf
braveclojure.com/foreword/
realworldocaml.org/
ocaml.org/learn/tutorials/
guide.elm-lang.org/
purescript.org/learn/
cs.cmu.edu/~rwh/pfpl.html
ccs.neu.edu/home/matthias/HtDP2e/
karczmarczuk.users.greyc.fr/TEACH/Doc/EssProgLan.pdf
web.mit.edu/~axch/www/art.pdf
stallman.org/
gen.lib.rus.ec/
youtube.com/watch?v=aHk42kDwesM
youtube.com/watch?v=bWSLhMLVas4
github.com/mattjj/svae
arxiv.org/pdf/1603.06277v3.pdf
matijasi.github.io/Procedural-Project-Generator/
strawpoll.me/12023125
github.com/libSDL2pp/libSDL2pp
twitter.com/NSFWRedditImage

Functional programming.
Last /fpt/: Resources:
>Erlang
learnyousomeerlang.com/content
>>Elixir
chimera.labs.oreilly.com/books/1234000001642/index.html
elixir-lang.org/learning.html
>F#
fsharp.org/learn
>Haskell
en.wikibooks.org/wiki/Haskell
0x0.st/pbp.pdf
>Lisps
>>Common Lisp
gigamonkeys.com/book
cs.cmu.edu/~dst/LispBook/book.pdf
Paul Graham's ANSI Common Lisp
On Lisp
Common Lisp Recipes
Land of Lisp
>>Clojure
braveclojure.com/foreword/
The joy of Clojure
>>Scheme
Little Schemer
The Seasoned Schemer
The Scheme Programming Language by Kent Dybvig
Realm of Racket
Lisp in Small Pieces
>OCaml
realworldocaml.org/
ocaml.org/learn/tutorials/
>Scala
Functional Programming in Scala (Chiusano and Bjarnason)
Atomic Scala (Eckel and Marsh)
Programming Scala (Wampler and Payne)
Programming in Scala (Odersky, Spoon and Venners)
>Web languages
>>Elm
guide.elm-lang.org/
>>PureScript
purescript.org/learn/

>Theory
SICP
Essentials of Programming Languages
Practical Foundations for Programming Languages: cs.cmu.edu/~rwh/pfpl.html
How to Design Programs: ccs.neu.edu/home/matthias/HtDP2e/
Art of the Propagator
An Introduction to Functional Programming Through Lambda Calculus

This is a link to Essentials of Programming Languages:
karczmarczuk.users.greyc.fr/TEACH/Doc/EssProgLan.pdf

Thanks.

I built random project generator.

I know it's filthy web dev, but I think that we are bored enough to need it.

I am a lisper otherwise, javascript just feels so creaky. Better than clojure though.

>COBOL
>using functional programming
Doesn't compute

And THIS is a link to 'Art of the Propagator'.

web.mit.edu/~axch/www/art.pdf

Considering how much of a turboautist you are about this /fpt/ thing, you really haven't done a very good job.
If I get bored later I'll find more links, but I know for a fact that several of the LISP ones are readily available online. Maybe have a go yourself?

Well I guess writing an interpreter for functional lang is implied.

What would be the best word to describe the aesthetics of Sup Forums? Web 1.0?

Web 1.7

You were never on Web 1.0 I see.

Nah, I was like 3 then

How do I do something like Ada's protected types (mutex guarded resource(s)) in C++?

If you haven't seen web 1.0 before, check out stallman.org/

Underrated post.

Thank you for using anime images!

Fuck, I feel old now.

3year olds during web 1.0 are old enough for Sup Forums already?

Also, this project is the best one generated yet.

web 1.0 was better than what we have now dbh

My favourite part is that it can't spell 'algorithm'.

>you really haven't done a very good job
I don't do any job.
I only post links and books provided by other anons.

Thank you for using an anime image as well!

Yeah, correct would be algorism, which was greek derivative from arabic title of some math book. But then Euclid happened.

>you really haven't done a very good job
>I don't do any job.
>I only post links and books provided by other anons.
Exactly.

Friendly tip: most of the books are in a giant torrent on installgentoo wiki, and the ones which aren't you can find with this search engine for pirated tech books: gen.lib.rus.ec/

I always hear how great open source is, but every time I try to use someone else's code, I either get tons of errors or I cannot even figure out how to open it.

How do I get this to open in Visual Studio?

do you listen to anything while programming?

it's an attempt to write down the name of al khwarizmi
i think i learned this from that algorithms book by vazirani et al

>3year olds during web 1.0 are old enough for Sup Forums already?

I'm turning 19 this year.

I don't want this. I just want a word or a phrase to articulate the look and feel of Sup Forums, to me it looks like the 90's which I assumed was Web 1.0.

youtube.com/watch?v=aHk42kDwesM

originally posted and here is my code in response to
#include
#include

int main(void)
{
int height;
printf("What is the height of the pyramid?\n");
height = get_int();

do {
printf("The pyramid cannot be higher than 23 feet!\n");
printf("Try again!\n");
printf("What is the height of the pyramid?\n");
height = get_int(); }
while (height > 23);

if (height "What is the height of the pyramid?"
23
>"The height of the pyramid is 23 feet high!"
>"The pyramid cannot be higher than 23 feet!"
>"Try again!"
>"What is the height of the pyramid?"
*input here*

then it ends the program.

How can I have not done a job, if I don't do any job?

This is a really good impression of a clueless Winbaby Pajeet, good job.

>I don't want this
Too bad, you got it.
>I just want...
It's not web 1.0.

youtube.com/watch?v=bWSLhMLVas4

If you haven't done any job, you definitely haven't done a good job.

Doesn't advocating functional programming require at least simple logical thought?

is this the fabled black magic techno?

It's for EXPERT PROGRAMMERs only.

In Rust, blocks are just expressions.

I'm being serious. ;_; Is there no way to load it into VS?

How can I have or have not done any job, if there's no job?

what is Python's color?

brown

RIP PRAGUE

Ha! I've asserted there IS a job, and that you haven't done a good job. You've only asserted that you didn't do ANY job, which together agree with my point.

Now you're trying to claim that there isn't a job in the first place, which is:
1) Moving the goalposts
2) Pretty fucking stupid: if you're going to spam every one these threads with your shite, the idea that you don't care about the quality of said shite is laughable.

As well as being a full-on turboautist, I do regularly find you to be rather dumb on direct questioning.
I remember that time I got you to keep deleting and re-posting the /fpt/, too. That was entertaining.

pls respond

I've always thought of it as various shades of blue.

What seems to be the problem?

here's your (You) faggot

github.com/mattjj/svae
arxiv.org/pdf/1603.06277v3.pdf

How do I understand this.

codeacademy courses are really a joke

why do people recommend them?

You add literal mutex boilerplate to your functions

Sup Forums I dare you to try finishing any project from here:

matijasi.github.io/Procedural-Project-Generator/

see

Stop posting your homework.

>undocumented exception goes uncaught
>program immediately terminates
>plane crashes

exceptions are a bad idea

>Make a roguelike with advanced z80 emulation in Scheme using turing machine programming.
no thank you

>undocumented exception
>exceptions
Hmmm.

>Make a database with curses frontend in Brainfuck using functional programming.

uhh

>homework
just trying to learn, gayboy.

the source code of the website
var bases = ['a shopping list', 'a database', 'an irc client',
'a chatbot', 'an irc bot', 'an operating system',
'a bootloader', 'an asteroids remake',
'a tetris remake', 'a roguelike',
'an audio player', 'a terminal emulator'];

var features = ['machine learning', 'neural networks',
'human like ai', 'interpreter',
'domain specific language', 'web frontend',
'curses frontend', 'advanced z80 emulation',
'bead sort algorithm',
'human machine interaction',
'network of turing machines'];

var languages = ['C', 'FORTH', 'COBOL', 'Common Lisp',
'Scheme', 'Clojure', 'Racket', 'Assembly',
'C++', 'D', 'Rust', 'Go', 'Verilog', 'VHDL',
'SpinalHDL', 'Lisp 1.5', 'Java', 'Javascript',
'WebAssembly', 'Haskell', 'Brainfuck'];

var paradigms = ['genetic', 'functional', 'object-oriented',
'imperative', 'aspect-oriented',
'Hewitt\'s actor model', 'meta',
'multiparadigm', 'turing machine'];

Love it.

That's essentially two jobs: write a roguelike for GameBoy, and write a GameBoy emulator in Scheme.

>"human like ai"
...do you mean 'strong AI'?

Text editor poll continues
strawpoll.me/12023125

>if you're going to spam every one these threads with your shite, the idea that you don't care about the quality of said shite is laughable
I'm going to and I don't care.
And I will continue until the idea of /fpt/ will be picked on its own.

>I remember that time I got you to keep deleting and re-posting the /fpt/, too. That was entertaining.
>if you don't care much about your /fpt/ pasta, that's laughable
>if you do care much about your /fpt/ pasta, that's laughable
I've got that you are going to mock me independently from my efforts, right?

Do you have any other resources to add?

Did XKCD user die?
good

>Make a roguelike with domain specific language in Lisp 1.5 using imperative programming.

Doesn't sound half-bad

that thing just told me to make an os in javascript

Yeah it's trivial, I consider it a hello world.

>look problem up
>find solution
>solution is posted by someone with an anime avatar
god bless anime

>I'm going to and I don't care.
Oh, don't get me wrong; I want you to keep spamming, that's why I keep feeding you advice.
I see you've (predictably) missed the salient point about pretending not to care about the quality of said spam. If there 'was no job', you wouldn't listen to my advice.

>I've got that you are going to mock me independently from my efforts, right?
Hooray :)

>Do you have any other resources to add?
Christ, you really are dumb. Remember where this all started? Here: >you really haven't done a very good job. If I get bored later I'll find more links [...] Maybe have a go yourself?

>What is the height of the pyramid?
>-5
>OKAY!

>negative mass does not exist
Just because the boson is scalar, doesn't mean it's natural!

Your dad's so bony he has negative mass

Something something negative IQ?

>>>reverse world

Does Cython make Python acceptable?

No

Maargh

what's some fun things to make for distributed computing?

I want to use this sdl wrapper:
github.com/libSDL2pp/libSDL2pp
But I cannot into makefile generators. What do?

Why not just use SFML at this point?

All the instructions are right there m8.
make is easier than you think

Just roll friend

If you have not figured this out yet - nope. Install msys2 or plain mingw64 and do the standard autogen->configure->make thing.

Thanks for giving me an answer. That all sounds too complicated for me, so I'm going to give up on it.

>I want you to keep spamming
>>I've got that you are going to mock me independently from my efforts, right?
>Hooray :)
Christ, for what purpose?
I'd better be dropping that shit altogether then. If people want that shit, let people write that shit on their own.
I'm fed enough of laugh, mockery and insults.

sfml is superior anyway, stop using sdl

Typical Windows duckling.

If that's too complicated for you, you're probably not ready for something like SDL anyway.

>I'm fed enough of laugh, mockery and insults.

How to open program in Windows: Double click solution file
How to open program in Linux: Read an entire manual, run 600 different programs, download 1000 dependencies, still doesn't work

The project is written in C++ and I don't even know C++ so it was a failed endeavor from the beginning.

I don't know what SDL is. It is MKVToolNix for muxing and demuxing MKV files.

Are you joking or seriously fucking retarded?

The Linux part was kind of joking, the rest was serious.

I've just about perfected the image text and its background gradient for browser. feels good.

I asked in the last thread but I don't think you answered: how do you get code in three different languages to work together like that?

that wasn't me. you were talking to a prankster. it's only one lang.

What programming language should I learn if I dont want to work with other people?

Scheme.

Haskell

Not NEET enough. It's about to break into the top 20 on TIOBE.