/dpt/ - Daily Programming Thread

What are you working on, Jow Forums?

Old thread:

Attached: 1540526626064-g.gif (480x270, 502K)

Other urls found in this thread:

pastebin.com/361g3G6f
github.com/redox-os/relibc
twitter.com/SFWRedditGifs

First for anime and C.

Attached: 1564984522153.jpg (600x849, 101K)

>What are you working on, Jow Forums?
suicide note

rust sucks and will never replace anything

keep it up

>combative
Zero reflection and self-awareness: check
>Can you not?
Passive aggressive overflow

Attached: pure_rage.png (606x847, 100K)

Are you using LaTeX?

org mode and then I'll export it to latex
thanks, only a few days left

Already more relevant than D

How is this programming related?

Attached: 1554183438771.jpg (712x712, 42K)

based retard anime poster

Currently learning OOP, am at inheritance atm.
What's the general java progression?

Attached: c17.png (900x623, 40K)

Probably becoming Pajeet over time.

learn java -> learn OOP -> become retard

So here's a question for all the Rust shills on this board
>Redox OS is Unix-like
>POSIX specification is in large-part C function calls
How do you reconcile this?

He's a frogposter, so he's already extremely retarded.

I don't see a problem.

WORKING ON GETTING A JOB, GODDAMN IT!

Attached: jobapplication.png (655x599, 20K)

reddit

>What's the general java progression?
You go from being a white person, to addressing everyone as "sir", to speaking broken English to finally start shitting in the streets.

So Redox will provide all the C function calls? Based

>Do you play any sports?
Asking that shit in the application is a clear indicator that this is not a place you want to work.

>>So you're applying to be a software developer here... do you play any sports?
>Why yes I do. How could you tell?

Attached: lr5kdzqr0ve31.jpg (1080x1246, 100K)

You should clarify what in the fuck do you even mean by "C function calls".

POSIX

>Please give your SAT scores.
Im pretty proud of my SAT, but why is this a requirement?

I'm only applying because the money is really good. Looked at their Linkedins and it's clear they like hiring alpha males - they host an annual "fight night" where they box with rival firms. Wish I was kidding...

Attached: fight nite.png (317x212, 163K)

Yes. It has a C standard library written in Rust now (relibc), replacing the earlier used newlib.

Are you being retarded on purpose? Do you mean a libc implementation or what?

hey I fell asleep :)
pastebin.com/361g3G6f
Now comes the part of testing and optimizing it :)

t. newbie Rust chad

Sure

>sports
>SAT scores
nope the HELL out of this shit company

>newbie
>Rust
>chad
Paradoxical.

Then there's no issue, it's not part of the kernel.

I guess :) I love writing Rust and modern C++ ;)

But will Redox provide it so that it is Unix-like or will they just have the command-line and be "Unix-like" aka not Unix like

github.com/redox-os/relibc

tfw wanna take the rust pill for a spin but also don't wanna be associated with klabnik, trannies, shitzilla and /dpt/ shills

So what's the point when the entire thins is as unsafe as C?

(Remember, a SINGLE buggy unsafe blocks invalidates the entire code base, one rouge pointer can touch any part of memory)

Attached: lol.png (860x362, 24K)

What maths should I need for game development?
I'm alright with general vectors and a bit of trig but not much else and most mechanics I implement feel like hard coded hacks and not "natural" properties of maths.

It's going to be alright, bro. You can talk to me :)
Or talk to someone irl. Suicide is not worth it :)

biggest achievement
>got accepted into a very top notch grad program

give an example when you failed
>not getting into HYP/MIT at undergrad because my application wasn't spotless. Ended up going to an average school. I learned that through perseverance you can achieve anything

elaborate on programming and quantitative skills
>good experience (internship, projects) with C++, Java, Python, very quantitative - participated in USAMO and Putnam - did not get Fellowship though

do you play sports
>I am an competitive esports player - I have my own amateur Dota2 team

where did you get your bachelors/masters from?
>mediocre school - math undergrad; top school - applied math PhD

are you currently employed
>i did a research internship at a tech company in the summer

do you have any hobbies
>esports, quantitative trading, making algos for strategic marketing

what is your major
>above

GPA
>above 3.0, below 3.8

SAT scores
>below top school range that's why i didn't get into one for undergrad

Who knows?

golpost.move().unwrap();
klabanik left though.
It doesn't matter how many SJWs there are. If you write something useful, the SJWs will bend over to use it anyways.

easier to audit than EVERY SINGLE line of a C project

>above a 3.0
bet you were fun in college nerd lmao

Attached: 600_1407711408_bobby_shmurda_681-590x380.jpg (590x380, 30K)

>biggest achievement
I once took a 20-30cm long shit.

>sports: esports

living is not worth it

Pics or it didn't happen

These applications are really easy if you have something to talk about. What if my resume is just a blank slate? How do I get these jobs?

Attached: 596416_img650x420_img650x420.jpg (275x183, 5K)

mostly probability and linear algebra, maybe some calculus if you start writing your own physics.

they cancelled the whole conference

Attached: _.jpg (193x262, 11K)

you don't

Where are now my pascal bros?

Attached: [!] AGDG Embassy S01-E42.webm (640x360, 932K)

Alright, /dpt/. For a slightly less trivial project than just a one-file program, not meant to run on embedded devices or support retarded old compilers or anything, written in the year of our lord two thousand and nineteen:
C or C++?

C++17 or better

Go or Rust

why not find something more interesting to do?
if you don't fear death, that opens doors.
you could pursue all manner of interesting hijinks.

depends

I've no money
I'm doomed to slave away for some more time at current company
I'm terribly out of shape
Think I strained my back or some shit yesterday, really uncomfortable
I honestly can't imagine a single thing you
>that opens doors
I can't think of a single thing you could mean by that
/blog

PROFUNCTOR IN BASE
PROFUNCTOR IN BASE
PROFUNCTOR IN BASE
PROFUNCTOR IN BASE
PROFUNCTOR IN BASE
PROFUNCTOR IN BASE
PROFUNCTOR IN BASE

Attached: 1542173727510.jpg (1200x900, 104K)

C++11 at the bare minimum, C++17 would be ideal. If you can't then C++14

What's a profunctor?

you shouldn't let the obsessions of some 4channel trolls control your actions

that still leaves me with dealing with rust's dogshit community

A profunctor is just a generalization of a functor similar to how a bimodule generalizes an algebra homomorphism. What's the problem?

Attached: 1544942502119.png (550x663, 232K)

>functor
>contravariant
>bifunctor
>bicontravariant
>profunctor
>coprofunctor
>trifunctor
>bifoldable
>bitraversable
>semifoldable/foldable1
>semitraversable/traversable1
>apply, alt

>haskellfags see no problems with this

Here's a tame example.
You could walk around saying outlandish things to people for laughs on camera then upload it.
That would help get you in shape and if it's funny enough, it could get you some money.

that just sounds autistic tbqh user

>abstactions are harmful

Attached: 1551383331356.png (1024x768, 1.19M)

in that case, and assuming you want to learn a rarely used but high-performance language, maybe you would prefer D

rest in peace, uriel

You can write dogshit procedural code too if you like.

I used to write some D but that was in early stages of the language and it was such a clusterfuck that it left a sour taste in my mouth and I never wanted to return to it again

you're obviously too stupid to understand the problem here, but i'll point out that the haskell people apparently have much more important things to discuss

Attached: haskell libraries mailing list.png (251x758, 29K)

boysoygoy

interacting with lots of people is usually considered the opposite of autistic

but not every interaction is good

What is the problem?

no, I just couldn't care less about insignificant drama.
That's all you people are interested in: gossip.
If you want to complain about muh singleton, reddit and twitter are better suited

we wouldn't see a problem with it either if we knew what it all meant

it's fucking obvious retard, why should i tell you

Being dead isn't good
Find any alternative

Blame the alg*braists, they will burn in hell for their sins.

>Being dead isn't good
that's what you think

user is being autistic about devs discussing new features instead of renaming old things to please user's autism while breaking backwards compat

>thing is bad
>I won't tell you why just take my word for it
lmao faggot

Hobby bros where you at?
I havent touched anything programing related in 2 months :( help

that just adds excitement.
but if you don't fear death then why would you fear having a negative interaction with someone anyway?

mathematize me

Attached: 0474e0c8a77b86e6fa740bd737d82c79.jpg (517x900, 54K)

rustc touched my penis

homomorphism are pretty gay desu

I care too much about what others think of me

come on, don't keep it a secret!

Beware of alg*braists, you never know what these sick fucks could do with you.

>rustc cut off my penis

Attached: 1544397969261.jpg (224x224, 7K)

emmy noether fingered my asshole

how can you be this fucking retarded
you need a special type class for every fucking type parameter for every one of these hkt abstractions because no type level lambdas or even restricted ones
(and something like a type parameterised by a pair or record of types is out of the question for re-use)
then how many for combinations? which are dumb anyway, all you need even in haskell shit is a functor1 and a contravariant1, not profunctor or bifunctor
etc for others
then you get into foldable/traversable and semifoldable/semitraversable or foldable1/traversable1 (the latter two are just different names for the same thing), where using implication constraints you can unify the classes and also have e.g. polynomially foldable things using num
then you have apply, alt etc 1 million classes for "X with y removed"

>the alg*braist spergs out
surprise surprise