/dpt/ - Daily Programming Thread

prev :: Thread
prev =

Attached: >λ=.png (15x12, 517)

Other urls found in this thread:

leetcode.com/problems/first-missing-positive/discuss
twitter.com/SFWRedditVideos

first for >λ=

you made the thread, you're not first for anything

rewriting c++ game engine in c

leetcode.com/problems/first-missing-positive/discuss

check them yourself then the code is right there and you can just run the test cases yourself
basically you use a[v-1] to denote that v was found
if v is encountered more than once then you already just marked it as found

nice memorization check question

I have to wait 1 minute after I link this thread to the previous thread
in that 1 minute timespan, there could have been anyone stealing the first post
so there's actually struggle, here
I actually achieved something

I guess that's still a better use of your time than writing hasklel.

Attached: heh.jpg (1416x2048, 179.59K)

not sure about that, but what I'm sure of is that it's still better than your time spent on replying to my haskell posts

>have to go to visit client tomorrow but I'm still drinking

Attached: hate.jpg (302x225, 8.69K)

drinking is actually bad user, try something less potent and also legal like kratom or kava or something

making a thing in sepples
I know the size and position of purple rectangle, position of red point and position of each green point.
How to calculate position of orange point for each pair of red and green point?

Attached: Unsaved Image 1.png (800x600, 28.64K)

Start by reviewing high school algebra

So when I simplified a boolean expression, I got 1 as the answer. How do I represent this in a logic circuit?
Like what should the input and output be? How should I draw it. Pls and ty

Triangles, son.

Check them yourself yourself, they're based on an old version of the test suite that didn't include duplicates. All the solutions in the discussion are now wrong (and beside, 99% are O(N) space or O(N^2) or O(NlogN) complexity or both).

raycast using the vector.

i was going to shitpost about the haskell poster doesn't make anything useful until i realized that nobody in /dpt/ makes useful things in other languages either

wagies and NEETs are equal in that regard

i do useful things in rust constantly, i just don't talk about it often =)

Asked this 4 times in Any Forums and /sci/ sqt. Please help

do your own homework

Why is Rust's ecosystem so bad? Its features compose so badly that you basically end up with a combinatorial explosion for every major feature for (potentially) every crate, all duplicated tenfold and smeared over the ecosystem like liquid shit.

>Why is Rust's ecosystem so bad?
Compared to what?

>occasionally want to watch twitch stream
>don't want to visit botnet site
>look for alternative clients on github
>they all require login to browse streams (???)
>look for twitch API
>they just deprecated an entire version
>new version doesn't allow browsing, searching, listing, basic read-only functions without botnet authentication (???)
didn't want to spend a day reverse engineering graphQL requests.. i just wanted to watch streams anonymously

Attached: output.webm (700x253, 2.39M)

It's bad on its own, doesn't have to compare to anything.

I don't know the answer either, how would you represent a specific value (either true or false) on a logic gate diagram? It's trivial on an electrical diagram, just tie it to high or low.

>>new version doesn't allow browsing, searching, listing, basic read-only functions without botnet authentication (???)
Those are all expensive, so they want an account to limit the number of requests you make.