/dpt/ - Daily Programming Thread

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

Attached: 1541283524897.jpg (933x1200, 159K)

Other urls found in this thread:

krebsonsecurity.com/
blog.rust-lang.org/2015/04/10/Fearless-Concurrency.html
make.girls.moe
lists.freedesktop.org/archives/wayland-devel/2018-June/038446.html
twitter.com/NSFWRedditGif

nothing atm

Lisp is the most powerful programming language.

and who cares

>sachiko
can she say niggy?

Attached: 1467996343753.jpg (326x273, 19K)

I do!
Are you planning any projects, user? It's good to keep yourself busy!

nah I'm not mentally disabled

I'm thinking of creating an alarm clock/reminder/timer app.

Attached: 1536410196291.png (264x274, 30K)

artificial general intelligence

nobody cares?

Learn You a Haskell for Great Good plus haskell's documentation is what I should read?

Then why did you respond?

Attached: 1536432080312s.jpg (250x208, 5K)

no

Besides Jow Forums where do you gets your news?

I only read krebsonsecurity.com/ and the weekly hackernewsletter.

>Besides Jow Forums where do you gets your news?

Nice try CIA

Oops, didn't read your post.

How to list all wireless networks around me with python?

Attached: 1542578965408.jpg (989x1024, 114K)

Implementing my own websocket server and there seems to be a buffer of one message. I can only read the previous one whenever I send it a new message. Is this a TCP issue or am I just missing something?

>send 1, server receives nothing
>send 2, server receives 1
etc

do I look like someone whose capable of giving a fuck?

Use wpa_supplicant's API, or better yet, iwd's API.

thx user

Are you sure the connection buffers are actually being flushed when you send a message?

Thanks, that's it.

It's that time of the day where you lads tell me what to do. I thought machine learning could be cool but I don't care a whole lot. General AI also seems cool but is also really hard and I have no background in it at all. Please respond.

Attached: 1396571416586.jpg (278x278, 34K)

netsec

print(os.popen("nmcli device wifi list").read())

Attached: 1392011828135.png (502x463, 178K)

>bu-but muh systemd!

LYAH is a bit out of date.
If you can find a pdf online there's the Haskell book, o.w. you can try the wikibook

How do I make sense of async programming?

Attached: 1541989402981.jpg (247x250, 8K)

Those have literally nothing to do with systemd.

blog.rust-lang.org/2015/04/10/Fearless-Concurrency.html

Just get good.

Attached: 1374577599111.png (664x602, 318K)

How about you read Category Theory for the Working Mathematician instead of trying to pretend you understand mathematics?

Attached: smug_ran2.png (1000x1000, 495K)

Friendly Reminder to use AppImages to pack your software. It works on every distro, no need to worry about packing any other way.

Attached: AppImages rock.jpg (868x6656, 682K)

why is she so smug?

I'm tempted to use Appimage. Is it possible to pack a project that uses recent libraries like gtk3.22 ?

also sauce?

AFAIK you can put anything there even gtk3 libs.

this

Make bot to call Cirno an idiot in as many languages as possible. Bonus for pluggable interface to post on any site.

What about netsec should I do?

I'm using slackware and networkmanager or wpa_supplicant works just fine

idk sounds cool tho

I need a project to work on.. not like a big business application I just want to implement something more interesting than a binary heap.

k

Haskell from First Principles. I've read the first 10 chapters and I like it so far

i wish this worked
struct {int x;int y;int z;} origin(){
struct {int x;int y;int z;} tuple = {0,0,0};
return tuple;
}

c is so close to having tuples. all you have to do is let tag less struct convert between each other.
incompatible types when returning type ‘struct ’ but ‘struct ’ was expected

if this worked you could imitate type templates with macros
#define array(T) struct { size_t length; T* pointer; }

hope it doesn't

Com over to Python master race nerd

>Python
>master race

a simple 1-5 line change in a c compiler and c gets tuples, type templates, and monads for free, is that to much to ask for?

Without pattern matching or some kind of easy unboxing, tuples are useless compared to structs.

You forgot your anime reaction image friend
Yes it is 5 lines too much. Enjoy your bugs

Attached: download-3.jpg (259x194, 5K)

>unboxing
#define unbox_vector(vector,prefix)\
int prefix ## x = (vector).x;\
int prefix ## y = (vector).y;\
int prefix ## z = (vector).z;

That's dumb.

>You forgot your anime reaction image friend
>posts reality.jpg
Being an avatarfag is bad enough, don't encourage others.

Now everyone knows you not only hate anime, but don't even know what avatarfagging is

I'm okay with that.

y-yeah well also you're a nerd

Attached: 1526911161799.png (538x538, 492K)

see how vector implementations are using unions

no u

Attached: 1470671602288.gif (250x249, 607K)

Stop shitposting and give me project ideas to do that are related to cute 2D girls, please.

Attached: 1447021850758.jpg (638x680, 143K)

waifu10x with machine learning

Help the deepcreampy guy out

C# or C++ for csgo cheats?

Attached: 8e0fa1804486f0c06d9d030cedff8068.png (752x1062, 640K)

make.girls.moe

I want to get into machine learning but my internet is shit so trying to download terabytes of learning material is fucking bullshit.

Machine learning is a meme.
Wayland development is where it's at.

Attached: 1439648511159.jpg (469x469, 116K)

a toy gui library that just spits out shit over VNC
the protocol is simple, but I kinda need to log some communication between an actual server/client to see how it goes, the docs seem a bit lacking on how the client responds to shit

>In my mind.

>shitpost too hard on the work slack channel
>boss asks me to stop

Attached: kumiko.png (909x748, 440K)

Are you in school? University libraries usually have high bandwidth.

>Wayland development is where it's at.
Based

get back to workposting, wageslave

Attached: Dp8kOrwXQAAP9OD.jpg (941x812, 83K)

Stop posting about your shitty open source project nobody has ever heard of

>nobody has ever heard of
We have 70 contributors.

>uses xorg instead
>*tear* *tear* *tear*
>hacked by the chinese

*dabs on u*

Attached: 1539025473354.jpg (540x545, 51K)

Develop Wayland using machine learning.

Attached: 1423520938212.jpg (1200x1200, 356K)

>Wayland development is where it's at.
Yeah sure...
lists.freedesktop.org/archives/wayland-devel/2018-June/038446.html

I don't give a shit, I know it's you, ONE GUY who constantlys posts over and over again about his incredibly boring piece of middleware as if we all should have heard of it, get a fucking a life, nobody cares, maybe if you were working on an interesting project we would

redpill me on machine learning, is it the future of computing or just another dead end that leads to the next AI winter?

>constantlys posts over and over
I've posted about it directly maybe 3 times.

THIS

I have seen you post about it at least ten times

>we
I like seeing user's post about what they're working on, that's the whole point of the thread. Just because they didn't drop their project like the rest of Jow Forums does after finalising the logo doesn't mean they aren't allowed to post about it.

What are you working on, user?

That's an extension protocol, and there is no reason to implement that on the desktop.
Also, the compositor is completely free to just lie to the client. If some dumbass actually tried to use that for DRM on desktops, it would be great, because you could "break" it with literally no effort.

It's not even his project, and I don't self-aggrandize on anonymous forums because it's cancerous

Don't strain yourself backpedaling that hard.

just generate your own training data with genetic algorithms

>backpedaling
what?

>be told you're being an overly aggressive autist
>b-but it's not his project, that doesn't mean it he's working on it.

how deep does this rabbit hole go?

Can you do that for illustrations? I'd honestly love to try some image classification or manipulation but not having a bunch of training stuff always held me back. What materials are good for doing this stuff then? I hate python but I should be able to apply what it's doing into another language.

He's working on a project, he didn't start the project, I'm just saying I don't want to hear about it in every single Jow Forums thread
You sound like you have autism honestly

>I'm just saying I don't want to hear about it in every single Jow Forums thread
>If external things aren't exactly how I like it, I get annoyed!
>Other people are autistic
Right.

how do I find projects looking for help on github?

>It's not even his project
I've been working on it since the beginning.
>I don't self-aggrandize on anonymous
I don't normally do this either, but I felt like posting what I'm working on. It's too high-profile of a project for some people to not notice it.

Also, I didn't even mention the project, I just said "wayland".

Attached: 1374577391171.png (500x318, 186K)