/dpt/ - Daily Programming Thread

What are you working on, Jow Forums?

Last thread:

Attached: 1557687876427.jpg (768x576, 83K)

Other urls found in this thread:

snoyman.com/
github.com/enfiskutensykkel/ssd-gpu-dma/blob/sisci-5.11/fio/fio_plugin.c
github.com/godotengine/godot/issues/29083
godotengine.org/asset-library/asset/240
bitbucket.org/arlez80/godot-midi-player/src/master/
twitter.com/ca3studio/status/1129891735201624074
archive.computerhistory.org/resources/text/Fortran/102649787.05.01.acc.pdf
twitter.com/NSFWRedditImage

first for animemes

Attached: 1462043419348.jpg (1280x720, 188K)

COM shit plz send help

What do I do after making hello world in C? Is there something fun but difficult that would allow me to pick certain things up, like a project?

Attached: 00b6d7439cb3b56fa7050ff347ec3877828ae54f.gif (709x625, 1.82M)

Yea, make an operating system.

>tfw your boss told you to do something and you know it's gonna mess things up down the line, but you are too beta to speak up

Attached: 1551685538527.jpg (942x848, 103K)

I'm not an artistic person
Anyone wanna do the logo?

Attached: 1362529670150.gif (589x288, 541K)

user, can you please get me that book about JavaScript?

Attached: cd315acc57107cb10076b99d0e82c863.jpg (900x1200, 167K)

Trying to hire some haskell + rust devs and all I get are java shitters

I don't know anything about programming and computers so is it something that can be a hobby like playing guitar or gardening? Or is it more of an actual job and trying to take it up as a hobby is retarded?

getting a programming job usually takes the fun out of it, it's best done as a hobby.

definitely a retarded hobby
t. neet

hire based snoyboy: snoyman.com/
might be expensive tho

>gross plain girl OP
Bleh!

>What are you working on, Jow Forums?
Comparing my remote NVMe implementation to NVMeoF with SPDK. Pic related.

github.com/enfiskutensykkel/ssd-gpu-dma/blob/sisci-5.11/fio/fio_plugin.c

Attached: figure_7.png (900x600, 66K)

>getting a programming job usually takes the fun out of it, it's best done as a hobby.
this

github.com/godotengine/godot/issues/29083

why are you posting this

>setting up xrdp on my vm so I can connect and do my own projects at work
am I based or am I based

Yeah, having food and a roof really kills the joy of coding

will pay money to some faggot here to solve that issue.

i wouldn't program in go even if i was paid to

That's theft user

Haven't been coding for some while, Maybe I am depressed or something, I have zero motivation.

As a hobby though what can you actually do?

you can also make money digging holes or flipping burgers, it doesn't make it fun.

just use a midi library or smth

anything that is turnip complete

If you code your own stuff for a living, it could be fun.

Attached: a1661c0ed34cd89bae157767360dccb6.png (945x1334, 403K)

why dont you just use a library

I'm a programmer by profession, but I actually enjoy digging ditches. Used to do that as a summer job in my teens. It was hard as fuck on the body, but felt pretty good afterwards and I got to spend time outside in the sun.

>let's add every possible feature making this engine bloated

anything short of averaging 2 ints in C

godot doesn't have a MIDI parser.

WTF
DO YOU EVEN KNOW HOW TO READ?
NIGGER

why would it

imagine a game engine being able to have procedural audio.

godotengine.org/asset-library/asset/240
>Godot MIDI Player

bitbucket.org/arlez80/godot-midi-player/src/master/

Empires Dawn of the modern world had dynamically generated music afaik

>2 weeks since we were supposed to start coding our c++ project assignment
>still didn't decide on a topic
Save me.

that's a crappy reader, doesn't read properly a MIDI file and has bugs as fuck.

then write your own or change strategy

faggot

You don't have any right to complain unless you have made concrete suggestions for the topic. What have you suggested, user?

so improve it and contribute, faggot

Writing a turing machine but need some brainlet help.
Does a turing machine read from and write to the same tape?
e.g.
(a, b, R) meaning it reads an a, writes a b and moves right
Does that mean if it moves left from here it will read a b?

might be fun

Attached: hole digging club.png (1158x3028, 644K)

I'm not a library developer, faggot.

twitter.com/ca3studio/status/1129891735201624074

I already got a shitty midi player on libgdx.

I'm author of a MIDI parsing library.
It's the one on github which is actually decent and not complete shit, this information should make it easy to find it.

This is an individual project.

based chiya-chan

I can't imagine anything more cucked than trying to improve some shitty code some idiot has made.

The first one

based

You need to get your eyes checked, this is not the normal girl, it's the fujoshi.

Attached: 1211650495069.jpg (586x788, 63K)

literally me

How is that monitor displaying anything when it's not even plugged in

Finally I compiled my first GUI program for linux, it hasn't been an easy task for a brainlet like myself, even with glade it took me a while to get how anchoring and proper resizing of widgets work in gtk, but I'm content toolkit.

Attached: pgrm.png (744x518, 21K)

Is it possible to make GUI as a part of linux kernel ?

Lin32 api when?

Depends on what you mean "as a part of Linux kernel". You won't get it accepted upstream, but you could probably implement a crude kernel API for drawing to a frame buffer.

wtf do either of those things even mean?

>turnip complete
thanks for the chuckle

Quit your job
Make video games

Attached: don mol.jpg (600x600, 54K)

is there a place on Jow Forums to talk about software developer interviews and the kind of questions you might get asked in them like algorithms and system design?

here aka /prog/

but then no money

Jow Forumscscarreerquestions

help me prep

i like anonymity

don't speak too fast, bro.

Attached: notch_superior_mind.jpg (1367x2048, 235K)

Give me an idea for a program that uses lots of classes but not much code in general...

ORM

I went through Flutter's first app tutorial and liked it. Why does Jow Forums hate flutter?

trying to implement pipes to my shell, but since I am a brainlet I can't parse the command in en efficient way, I do know how dup/pipe thing works, but the problem is parsing

rest client that calls an api with lots of different shaped objects, you can make a class for each one

Markup like QML is better and doesn't bloat your codebase plus you don't have to deal with fart-lang

Be me.
Learning myself some oopsies design patterns.
Reading about factory method pattern.
Thinking, wait a second, can't we just pass a class as an argument?
4 pages later:
>Another way to get around this in C++ is to provide a template ...

I mean, really? No, I mean, REALLY? The fuck you need to "invent" a pattern, if 25 years ago, sepples already had a solution to pass a class as an argument. My first thought was that, maybe, C++ didn't have templates until C++98 or whatever.

No, everything is right there, you just invented idiotic construction with multiple subclasses for nothing. Value composition over inheritance, btw, amirite.

Uber... but for Docker.

What do you mean "pass a class as an argument"? You mean an object, a class instance?

I mean class as a first-class (NO PUN INTENDED HAHA) citizen.

>amirite.
no

what if the class argument is not known at compile time

what lang

Is anyone willing to help me figure out what in the world could cause this bug?

Attached: JavaNQueen.gif (772x600, 1.03M)

>what is debugging
>what is logging

you have a long way to go

There was a time when compilers were written in Assembly.

Attached: 7005CA0B-47F8-4FC5-BA71-56C3C5FC87D5.png (2524x1992, 338K)

What is the problem? It doesn't update right away? Some multithreading problem maybe?

deep down, still are

what model is your iPhone?

there was a time when programs where written on punch cards

archive.computerhistory.org/resources/text/Fortran/102649787.05.01.acc.pdf

Attached: 1543955244348.jpg (1796x1279, 725K)

I'm not some apple fanboy, pal. I'm using Arch.

there was a time when computer games were distributed in print in magazines

Attached: cliffhanger.jpg (1170x1600, 577K)

why does your filenames look like that though

I was wondering if it has something to do with Revalidating/Repainting, or anything regarding this piece of code right here

Attached: JRevalidate.png (530x317, 21K)

OOP patterns are basically all designed around Java

this sounds like bait, but being OOP it might actually be true

Looks ok I think. Do you use any kind of multithreading? Do you have a worker thread to compute the positions of the queens?

It's really not. in C++ OOP is optional. In Java you're supposed to use all these verbose "design patterns" to get anything done

Java. First appeared May 23, 1995
GoT DP. Originally published: October 21, 1994
))

this is definitely bait or actually retarded

The C book goes beyond "Hello, World!", continue following whatever book you study from. Word count (wc) is a nice next step...

like singletons
they exist purely because languages like Java don't have globals