[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 41
Thread images: 7

File: 1483317361570.jpg (72KB, 440x406px) Image search: [Google]
1483317361570.jpg
72KB, 440x406px
What are you working on, /g/?
Old thread: >>58345243
>>
File: dpt.png (233KB, 1127x542px) Image search: [Google]
dpt.png
233KB, 1127x542px
>>58354287
>>
>>58354335
Anime OP is always true OP in my heart.
>>
/g/ 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)
>>
File: tomoko_kuroki_36282.jpg (35KB, 400x554px) Image search: [Google]
tomoko_kuroki_36282.jpg
35KB, 400x554px
>>58355941
>[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.
>>
>>58355981
Sorry mate, you need 2 or 3 more points
>>
>>58355981

[ ] 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 4chan 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.
>>
File: Screenshot_20170106_104104.png (190KB, 1277x990px) Image search: [Google]
Screenshot_20170106_104104.png
190KB, 1277x990px
j u s t w e r k s
>>
File: fragezeichen yui.png (94KB, 396x395px) Image search: [Google]
fragezeichen yui.png
94KB, 396x395px
A file descriptor is just an integer right? Can the descriptor of a pipe be passed as the command line argument to a program?
>>
>>58354287
Getting my life in order. And this begins with quitting masturbation and pornography once and for all.
>>
>>58354287
>posts zero-chan again
stop this
>>
>>58356640
Who is that?
>>
Stop bumping your pathetic threaf faggot
>>
>>58358689
What if I won't,stop? :^)
>>
>>58357726
Saren from Railgun, who has zero esper power, earning her the name of zero-chan by f/a/ggots
>>
>>58354287
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.
>>
>>58356344
thats how it works basically yes
>>
>>58358771
i don't understand lot of these words
>>
>>58358843
microsoft is the legit premier IDE developer there is
>>
>>58359636
read the manga

lurk moar
>>
>>58355941
>[] 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)
>>
>>58358843
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
>>
>>58360232
Start by reading the tutorials provided by the library you intend to you.
>>
>>58360257
you intend to use...
>>
>>58360257
Okay. Ill check that out.
>>
>>58356289
>the pipe is being closed
Have you tried consulting a plumber?
>>
>>58360232
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.
>>
>>58360753
Alright thanks for this
>>
>>58360753
>babby
baby
>>
>>58360753
Another anon 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.
>>
>>58355941
>[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)
>>
>>58362237
SFML is pretty good
>>
>>58355941
>[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?
>>
>>58365724
for column in df:
df[column] = pd.to_numeric(df[column], errors='coerce')

df.fillna(method="pad")
>>
>>58365724
What's wrong with Excel?
>>
>>58354287
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?
>>
File: Untitled.png (58KB, 1351x705px) Image search: [Google]
Untitled.png
58KB, 1351x705px
Working on a 2D story driven game.
>>
>>58355941
[] 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?
Thread posts: 41
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.