/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?
Old thread:

...

Anime OP is always true OP in my heart.

Sup Forums cool kids club checklist

[x] hate OOP
[x] hate IDEs
[x] use only Haskell
[x] never produce actually useful software (this is important)
[x] wear knee socks
[x] tiling window manager
[x] dark-like-my-soul customized colors
[x] tiny mechanical keyboard with artisan caps
[x] hate popular Linux distributions (far too intelligent for them)

>[x] hate OOP
>[] hate IDEs
>[] use only Haskell
>[] never produce actually useful software (this is important)
>[x] wear knee socks
>[] tiling window manager
>[x] dark-like-my-soul customized colors
>[] tiny mechanical keyboard with artisan caps
>[] hate popular Linux distributions (far too intelligent for them)
Looks like I'm not cool.

Sorry mate, you need 2 or 3 more points

[ ] hate OOP
meh

[ ] hate IDEs
I haven't messed with them much. I use super comfy Spacemacs but when I first started fucking with code I used Eclipse, and though I think emacs is much better, I cant bring myself to hate it, and especially not its users.

Speaking of IDEs, I'm actually in the process of trying to get Visual Studio 2012 to work in a W8.1 vbox (so I can write a couple little utils for my Lumia 640) but the installer keeps failing. ms just works lelelelel

[ ] use only Haskell
Looks like Jimmy Neutron scribbles, no thanks. I'll stick with Common Lisp, Emacs Lisp, and Python tyvm

[x] never produce actually useful software (this is important)
Working on a Sup Forums emacs browser, previously diddled with a CLI telegram client, telegram bot, some shit to rake porno pics down, 10/10 nerd trash :^)

[ ] wear knee socks

[x] tiling window manager
EXWM master race

[x] dark-like-my-soul customized colors

[ ] tiny mechanical keyboard with artisan caps
logitech rubberducky trash

[ ] hate popular Linux distributions (far too intelligent for them)
I use Void but Ubuntu, Arch, etc all have their place and they're not bad. I dual boot KDE Neon, an Ubuntu, for better package support when I need it. I honestly didn't even try to get Virtualbox set up on Void, I knew I would rather just apt-get that shit like a normie.

j u s t w e r k s

A file descriptor is just an integer right? Can the descriptor of a pipe be passed as the command line argument to a program?

Getting my life in order. And this begins with quitting masturbation and pornography once and for all.

>posts zero-chan again
stop this

Who is that?

Stop bumping your pathetic threaf faggot

What if I won't,stop? :^)

Saren from Railgun, who has zero esper power, earning her the name of zero-chan by f/a/ggots

I'm trying out Visual Studio Code and damn... it is comfy as fuck. Free, Open Source and runs all on all platforms. WTF this isn't the Microsoft I know.

thats how it works basically yes

i don't understand lot of these words

microsoft is the legit premier IDE developer there is

read the manga

lurk moar

>[] hate OOP
>[] hate IDEs
>[] use only Haskell
>[x] never produce actually useful software (this is important)
>[x] wear knee socks
>[] tiling window manager
>[] dark-like-my-soul customized colors
>[] tiny mechanical keyboard with artisan caps
>[] hate popular Linux distributions (far too intelligent for them)

Would use it if it had better integration with c++

How should I go about learning c++ for game dev? Book? What book? YouTube? What series? Website? Which? Taking only 8 credits this upcoming semester and have a lot of time to dedicate

Start by reading the tutorials provided by the library you intend to you.

you intend to use...

Okay. Ill check that out.

>the pipe is being closed
Have you tried consulting a plumber?

First rule of game development. Never reinvent the wheel. Choose a C++ game engine or library (.i.e. avoid low level things like SDL) that treats you like a babby otherwise you will waste most of your time doing things that have already been done and are relatively trivial and unimportant to the goal of making a game.

I have taken this path. Here are my results after two weeks.

>tfw still no animations, sound, gui
>tfw crappy AI and path finding
>tfw I've reimplemented path finding for the third time
>tfw my procedural dungeon generation is broken (wasted two entire days on it and still no good results)
>relatively good ECS
>combat system is still half assed
>presentation is due next wednesday
If I had just hand designed the damn dungeon I would be done today.

Basically try to make your life easier. It's always the same shit over and over again. You don't learn anything essential and you don't lose out on anything by using libraries.

Alright thanks for this

>babby
baby

Another user here, are there any libraries you would recommend? I've been thinking about making a very simple 2D game in C/C++ and was gonna check out SDL after doing admittedly very little research, but I didn't realize it was that low level.

>[x] hate OOP
>[x] hate IDEs
>[ ] use only Haskell
>[x] never produce actually useful software (this is important)
>[ ] wear knee socks
>[x] tiling window manager
>[x] dark-like-my-soul customized colors
>[x] tiny mechanical keyboard with artisan caps
>[x] hate popular Linux distributions (far too intelligent for them)

SFML is pretty good

>[x] hate OOP
I kinda do
>[x] hate IDEs
Code::blocks is okay. VS was okay too until they put a fucking botnet module onto the compiler
>[x] use only Haskell
Never
>[x] never produce actually useful software (this is important)
I have 3 projects. One of which (unfinished) is a productivity suite. Stay tuned.
>[x] wear knee socks
No
>[x] tiling window manager
Never. Although I would not mind automatic tiling.
>[x] dark-like-my-soul customized colors
Only if the surrounding environment is dark (at night)
>[x] tiny mechanical keyboard with artisan caps
Fuck mechanical keyboards
>[x] hate popular Linux distributions (far too intelligent for them)
*buntu is pretty okay

Trying to learn python to be able to step away from excel.

Im having trouble finding a reliable way to standardize all parts of a datatable to numeric. For some of the large excel files working with there is NaN & it also keep thinking there is timedelta objects and NaT.

To remove the NaN I use
for column in df:
pd.to_numeric(df[column], errors='coerce')

df.fillna(1)

I dont know how to remove the NaT and timedelta objects. Is there a way to apply notnull? Or what Im really looking for is some sort of concise line of code to sort by column removing/converting any non numeric value.

Any help?

for column in df:
df[column] = pd.to_numeric(df[column], errors='coerce')

df.fillna(method="pad")

What's wrong with Excel?

I want to make a bot the fetches and downloads T H I C C girls from across the web. I want a massive folder full of them. How can I do this?

Working on a 2D story driven game.

[] hate OOP
Alot of popular frameworks want you to procedurally jam their methods

[] hate IDEs
When your codebase hits tens of thousands of lines, it is moronic not to be using one

[]use only Haskell

[] never produce actually useful software (this is important)
Oh it is useful. Just bloated and full of legacy crap

[]wear knee socks

[] tiling window manager
I stopped doing this when I discovered the wonders of a second and third screen

[x] dark-like-my-soul customized colors
My old-man eyes are sensitive

[x] tiny mechanical keyboard with artisan caps
Macbook Pro, baby

[x] hate popular Linux distributions (far too intelligent for them)
Debian, baby

What's with the other thread?