/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?

Previously

Other urls found in this thread:

doc.rust-lang.org/1.2.0/book/dining-philosophers.html
esr.ibiblio.org/?p=7524
tour.dlang.org/
wiki.dlang.org/Books
dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/
wiki.dlang.org/Libraries_and_Frameworks#Alternative_standard_libraries_.2F_runtimes
github.com/Vild/PowerNex
anyforums.com/
twitter.com/NSFWRedditImage

faggot

Second for (t)Rust.

Threadly reminder not to use Rust.
doc.rust-lang.org/1.2.0/book/dining-philosophers.html
fn main() {
let p1 = Philosopher::new("Judith Butler");
let p2 = Philosopher::new("Gilles Deleuze");
let p3 = Philosopher::new("Karl Marx");
let p4 = Philosopher::new("Emma Goldman");
let p5 = Philosopher::new("Michel Foucault");
}

Fourth for if your can't trivially implement a kernel in your programming language of choice, your language is complete and utter TRASH.

>"""Philosopher"""
What did they mean by this?

I am sad and lonely /dpt/

What should I write to feel better

2dAIgf

A kernel.

It's Antifa propaganda disguised as the dining philosophers problem.

>sample strings in the outdated manual
>the best argument rust-haters could come up with
Feels good.

Lisp interpreter.

all these are commies and anarchists
fucking Mozilla

I'm at that stage in my relationship with Qt Creator where I love it very much, but already know I'll soon start seeing the ugly part of it.

It's designer is so good for quick understanding of UI elements, I literally cum buckets while changing all the options on them.

I created
thisisfun.xyz
An ad free e-hentai archive with usability, free downloads, and almost 18,000 mangas and doujinshi already queued.

Im working on a way to earn more gp on e-hentai so that the archiver can function. Does anyone know an automated way of doing so?

Diversity tickets.

Is this "thing" human?

...

Yes, and she designed the CPU in your smartphone.

>twitter
I don't want reddit stink nearby. Fuck off.

>"""she"""
esr.ibiblio.org/?p=7524
Just because your dress like a girl doesn't mean you're a girl. It only means that you're mentally diseased.

I don't use "smartphones". And it doesn't look like a "she" to me.

...

Why must ATS be so ugly?

fun{}
qlist_make_nil{a:vt0p}(): qlist(a, 0)
//
fun{}
qlist_free_nil{a:vt0p}(qlist(a, 0)): void
//
(* ****** ****** *)
//
fun
{a:vt0p}
qlist_length
{n:int}(q0: !qlist(INV(a), n)): int(n)
//

@60860002
>leftist trash
>twitter
Opinion discarded.

Could you host "ajax.cloudflare.com/cdn-cgi/nexp/dok3v=85b614c0f6/cloudflare.min.js" yourself? CDN-based tracking sucks

You may visit the ip directly if youd like 198.98.50.185

I use cloudflare to cache the images and reduce bandwidth usage. The site has unlimited but if my site grows popularity there will be alot of usage. Do you recommend I get off cloudflare?

I don't like the current UI.
A killer feature for me would be to search by multiple tags. I really miss that on tsumino.

a big ole stim shit :^)

Deleted the compiler, I'll wait for an alternative one. Fuck this language.

ohh that reminds me I have my OS book in the car I'll go get it when I'm off the toilet

you forgot t@ype
xDdD write ur Own combiler

Nice to see most of /dpt/ is still insecure about people who are vastly superior programmers to them

my best friend took up programming and he started crossdressing and it suits him really well I'm literally attracted to him when he's dressed up

h-help

Right now I'm working on a project with some NLP. I have a set of pdf documents and visualize some computed metrics.

How can I convert pdf docs to text? I know it's non trivial, I've used different python libraries but there's always some charcters that are not converted well (trying to convert to utf-8).

ARE YOU KIDDING ME
I got the fucking curry edition

fuck him in the boipucci

>people
What "people"?

ok pajeet

What is an ``kernel" though?

Simone Peyton-Jones
Edwina Brady
Joan Carmack
Lauren Page
Geraldine Sussman

Threadly reminder that dlang-chan has RAII; she's quite fast in execution and compilation; she's becoming fully memory-safe; and she's super duper cute! Say something nice about her, /dpt/!

>Tour
tour.dlang.org/
>Books
wiki.dlang.org/Books
>GC
dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/
wiki.dlang.org/Libraries_and_Frameworks#Alternative_standard_libraries_.2F_runtimes

>3DPD

Playing around with this a little more today.
Also got media-libs/mesa upgraded to 17.0.6 which supports 4.5

Your shit taste in anime girls really isn't helping with making D more popular around here.
D is shit, and a train wreck. It has no redeeming features whatsoever.
It isn't even fast, and can't even write a kernel in it. LMAO.

Okay.
github.com/Vild/PowerNex

>people are still shilling D
let the dead sleep

>people are still shilling Rust
let the dead sleep

...

>Rust
>dead

If Rust is dead, then D is fully decomposed.

abortion is wrong

anyone have a good tutorial site/book for learning OpenGL with GLFW

I don't understand what you meant by that post

What do you think I meant by that post? And what did you mean by your post?

Have you tried googling one and getting it off library genesis?

Amazing. Why do you to have to fight? Both D and Rust are okay.

In fact if I wasn't as comfy with D, I'd probably be using Rust these days.

Haskell!

So THIS is the power of D..

good post

Rustfags, how much restrictive do you feel when you do functional programming in Rust. Do you have to manage memory by yourselves? And what features do you miss most from a functional programming language such as scala

Link to original video?

Please do not mention "Haskell" ITT. Spamming is not encouraged

>Why do you to have to fight?
Because fags love to group themselves in imaginary camps and bicker over stupid shit. It's one thing to shit on a language and its developers for actual reasons, but that rarely happens, and instead we get shitposting. And what's worse is that it's always the same stale "jokes" over and over again--nothing original. Though this is a reoccurring theme across Sup Forums in general.

Have you tried reverse-image searching? Because I found it.

But it's wrong though.

>addr2line
Well this is going to make kernel debugging somewhat easier.

No shit, user. Look a bit deeper in the results google vomits out. Here's a hint: filenames

You're learning OpenGL too, what a coincidence. What king of stuff are you interested in using it for?

I want to fuck that monkey.

Not him, but what are you planning to do with OpenGL after you sufficiently learn enough it?

It does have that feature, just enter two words, ex. Femdom English

>going through elm tutorial
>making a dice roll
>leaves adding an additional die as an exercise
>"Shouldn't be so bad"
>Have been working for hours to no avail

Sucks being a brainlet ;_;

That doesn't mean you're a brainlet, though you still probably are.

I'm not motivated by game programming like most people who learn OpenGL. But I am interested in playing around with different kinds of real time interactive visualization of data, can't you tell from my screencap?

how do i transfer multiple, random values of one list to another in python? i know how to use pop with this kind of thing, but it only works for one element like this:

list = ["1", "2", "3", "4", "5"]
x = list.pop(random.randint(0,len(list)))

Hey, that's pretty cool, user!

>can't you tell from my screencap?
I thought it was a work problem from the textbook you're using.

...

wow I forgot all about livecoding

Oh you where in the earlier thread too?

Haha did I just contribute to the making of a meme?

Give me a data processing problem

Number of dicks your mum takes an hour.

Use numpy and everything will be fine

L = np.array(["1", "2", "3", "4", "5"])
x = L[np.random.choice(5, 3, replace=False)]

shitposts/hour

Im making a simple launcher for WoW private servers using c# forms and Im having trouble figuring out how I can dynamically display if a server is online or not.

I have no problem figuring out how to ping if i know the direct IP address, but its behind a DNS - the DNS of its login server.

what do Sup Forums?

...

what drives people like Terry?

i just realized he unironically wrote a bloody os, jesus

It's not that hard. Not with that much time.
But you're certainly very good when you can do it despite his problems.

>unironically

> leave a carpenter alone with a bunch of wood
> come back in 20 years
> he built a house
> you are suprised

Terry is a cancerous newfag meme of 2015. During election Sup Forums got a lot traction and some of them moved to Sup Forums

They only like terry because he calls people nigger

>meme
>pol

Ok faggot.
I initially got interested in him when he used to post videos talking about his operating system and how it worked. But it all went to shit when he started livestreaming, he didn't talk about his OS anymore. It was just him and his daily life, quite boring.

>

How would you go about helping someone with structured text when your only experience with it was extrusion??

kek I had a weird dream last night.

cool blog

i'm joking

>leave a carpenter alone with a bunch of wood
>come back in 20 years
>he made thousands of sanded wood dildos
>you're aroused

>accusing others of being mentally diseased
>citing esr
top kek

ebin :^)

>Class exists
lmao why the fuck would I ever use (((structs))) if classes are more sophisticated

Hey guys, I really enjoy coding C, and I was wondering if there's other systems langs you like?

Does anyone here enjoy coding ASM? I might try something like z80 or 6502 just for funs.

I've also given Go and rust several cracks, neither of them stuck for me like C did, though. They're just not as fun for me, idk.

Because structs are just classes with members public instead of private by default.