/dpt/ - Daily Programming Thread

old thread: What are you working on, Jow Forums?

Attached: b37a40ef978bc0daebca545b0f9388ee0892e01av2_00.jpg (512x445, 35K)

Other urls found in this thread:

benchmarksgame-team.pages.debian.net/benchmarksgame/faster/sbcl-gpp.html
twitter.com/SFWRedditGifs

Happy new years, love you all. Lets become the best we can be

>Lets become the best we can be
Yes, by using C!

First for fuck off trapfaggot

>tfw your dwm statusbar message takes as much memory as dwm itself
I'll never suck less...

Attached: 2019-01-01_01:30:05.png (526x76, 10K)

2019 = year of Haskell (?)

I want to FUCK Hideri.

use slstatus. it takes like 5 minutes to port it to xcb and is mega comfy.

JavaScript rocks! Happy New Year!

Attached: js-rocks.png (1000x494, 286K)

i wanna fug hideri

So, you're real... Why do you do this?

Get out, c boomer

slstatus annoyed me, when having network speed and cpu_perc showing it would jump around a lot when they went idle even when formatting it with leading 0s, so now I'm just making writing something myself for fun

Boomer? I'm 26...

Please stop making /dpt/s, thank you.

>even when formatting it with leading 0s
are you using a nonmono font? also just put the changing blocks on the left and it'll be fine

Please fuck off back to lelddit, thank you.

Stop trying to force your dumb trap shit, you don't have to make a new thread at exactly 310 or half an hour early like the last one.

>I'm op
Good one, faggot. The other new thread is kill, fuck off if you don't like it.

faggot.cxx

this, let's just let programming die

Wanted to make a little project from scratch but somehow ended up also reinventing 1) RPC 2) TCP 3) Libevent from scratch also

yea that was my issue, I'm using non-aliased helvetica and the digits are fixed width. but network speed would vary between ki/mi/mb. whatever tho, learning how /proc files works was fun.

Please get AIDS, thank you.

that was me, I just made it on whim and decided against it because it would only start shit.

>he doesn't understand what C is and why it's relevant
Shoo shoo, pajeet

fuck off

no but why not let /dpt/ die?

Will i stop making basic syntax errors and finally git gud if i start wearing cute stockings?

Attached: Screenshot from 2018-12-29 00-03-31.png (1273x713, 1.33M)

Because I'm homeless if it does

Attached: 1545540446693.jpg (821x869, 98K)

Only when they give us a new /prog/, then we can let /dpt/ die.

(no traps or frogposters welcome)

>Will i stop making basic syntax errors and finally git gud
Practice makes perfect. You'll probably be in a better mood if you cd, you know, if you're into doing that.

stupid frogposter

SBCL is one of the slowest garbage I've ever seen. It's so bad it's not even funny. Just sad, like the whole Lisp ecosystem.
benchmarksgame-team.pages.debian.net/benchmarksgame/faster/sbcl-gpp.html

sounds nice but it'll never happen.

I still don't get why /3/ and /gd/ have their own boards but they can't make one for programming.

i want to marry hideri

I wanted to learn lisp for last year, but didn't actually start until months later... Good luck and keep it up!

#include

int main(void){
printf("Happy New Year Jow Forums!\n");

return 2019;
}

>returning a value greater than 255

im working on some GIS shit. is there a good database for storing raw image data (~1 gb per image) or should i just save them as a binary file and just index them in a json file?
im going to roughly have 100 images per user, and i also want to store some other analytics data per image. whats the best way to do this?

The artist is toy box-r.

Attached: eatlem.png (813x351, 270K)

WHY?

>*int* main

Attached: Untitled.png (877x402, 49K)

>wangblows
Leave.

No, you can't ever become a cute 2D girl. Give up now before you chop off your dick like a retard tranny and regret everything.
Stick to appreciating their perfection and cuteness through the screen, because that's all that's possible with our current technology.

Why do you never post the full version?

Attached: 1544417212480.jpg (1000x1412, 819K)

My sisters!

And they're all my wives!

spent much of this year getting to know java as my first language. it is difficult for me with no formal learning path. recently installed swing on eclipse and figure ill see what basic shit i can get working

Fuck off

>can't return any value from his main function
>the absolute state of linturds

Attached: satania lmao.jpg (1024x576, 43K)

Windows can't either.

are you retarded?
>wincuck
>weeb
oh I see.

please do not insult weeaboos

Weebs are in everything, not just windows.
t. archfag

Attached: 1535912240529.jpg (1920x1080, 588K)

>Guarantee that your software is free from run time errors.
How can languages make claims like this? Can't IO fail at any time and result in run-time errors?

Attached: animu.png (149x148, 58K)

post your desktop

Ok but why?

Attached: 1545666120108.png (1920x1080, 299K)

just curious about your desktop, that's all

Because IO failures are expected and handled appropriately rather than producing a segfault or something

I'm trying to figure out why I should use C++ over C. Anyone have any reason? I want to work on learning it

How do you handle them?

he cute

With a monad

What if I don't use Haskell?

he cute is for based pepe
learn2meme fag

Enjoy your exceptions

Isn't that bad design? Shouldn't I just #LetItCrash?

How can linturds even compete?

Attached: Untitled.png (877x402, 57K)

That's nice now return 2^64 - 1

> get-content
cat
> gcc
Was on linux before windows
> regex support
Have you used linux?

Powershell is just a pOOP ripoff of sh, which has existed for almost 50 years

FUCK UNDERGRAD PROJECTS

ALL OF YOU FUCKING UNDERGRADS SUCK MASSIVE BALLS, YOU COULDN'T PROGRAM A FUCKING FIZZBUZZ PROPERLY EVEN IF WE GAVE YOU A GUIDE ON HOW TO DO IT

FUCKKKKKKKKKKKKKK STUDENTSSSSSSSSSSSSSSSSSSSSS

What was the project?

>gcc
HAHAHAHAHAHAHAHAHAHAHAHAHAHAH

>TA for intro to CS classes
>upset when he gets junk from brainlet students
Dumb grad student.

Is firecode.io any good?

Also happy new year!

Attached: nwahsbeware.png (720x715, 472K)

It's still 2018

Attached: 1540169134014.jpg (504x416, 61K)

It was for a computer graphics module.

Never EVER call me dumb again you undergrad apologist, I could take a SHIT smarter than you and your entire class if I wanted to, you dumb cockroach. No one said it was an intro to CS class either, cockroach.

I have a graduate degree. Don't ever bother @ing me again you worthless piece of shit TA trash. Don't bother replying, you're already filtered for being inane.

No one with a graduate degree would ever defend an undergrad. They do not deserve our time, our compassion, our love, or our attention. Undergrads are useless and should be gagged while in class, and kept away in cages when not in class.

Have you ever joined a team and downloaded the codebase only to start puking upon seeing it?

no you should probably see a doctor

He didn't defend undergrads, he attacked TAs

>Have you ever joined a team
No.

Why do people hate C++? Is it an inelegant language?

there is no shortage of sepples rants on the internet, go read some.

I don't have a degree at all. I'm a normal person who didn't waste his life away at an institution. I guarentee I have and make more money than all of you (inherited and family business).

>sepples rants
what is sepples?

it means: lurk more newfag.

As a hardcore C-Nile, I just have trouble finding a reason to use it

C++ is the greatest language of all time.

you misspelled prolog

What's the best competitive programming website? I want to hone my skills other than working on side projects.

HackerRank? Leetcode?

Attached: 1519980650156.jpg (556x356, 54K)

The problems in hackerrank competitions are pretty good imo
At least they were last time I did one 1-2 years ago

What are your new year's resolutions /dpt/? I've been doing a commit every day for almost 6 months now. I really can't get a whole lot more dedicated than I already am. I just deleted most of my old social media stuff, but I want something bigger and better than that.

Yes, and incredibly so. It's extrenely awkward to write in because all of its features are laden with gotchas, and none of the features fit together in any meaningful way.

>he was born into wealth
>he thinks he earned his position in the world
HAHAHAHAHAHAHAHAAAA tell me another one user

mcfucking kill yourself faggot

Why are non-Windows users mad at this? Legitimately confused.

They aren't.
The windows user is just showing off something he thinks only windows can do and making himself look like a total retard in the process.
They're laughing at him.

Reading the reply chain it looks like they're just disproving the claim that it can't be done on Windows.
Are there operating systems that clamp the return value to 1 byte?