/dpt/ - Daily Programming Thread

What are you wanking on, Any Forums?

Previous thread:

Attached: 1620889637022.png (773x1056, 397.89K)

Other urls found in this thread:

github.com/friendlyanon/cmake-init
pypi.org/project/glfw/
files.catbox.moe/gfswtc.png
twitter.com/SFWRedditVideos

Refining a script I had to generate chord progressions to include different scales, chords, showing the scale itself and generate the MIDI for it + sound for it, so I can listen to it.

Attached: fucking mikey.png (1426x1600, 1.29M)

My company has few apps in appstore and in google play. They want me to build a solution which will show them the downloads data live on the company's dashboard instead of having to connect to analytics.appstore or google play connect.
Is there a way or a data API that i can connect to to get the downloads data? Because the only way to extract it from the apple or google is to download a sales report in form of CSV or to use a third party tool that has its own data API.
plz help!

Attached: 1646155141600.jpg (686x695, 136.93K)

That's neat, I wanted to make pretty much the exact same thing but I forgot about it

Is there a standard library to find things that returns an optional type? It would be nice to just do this instead of using "std::end()" bullshit.
if (auto Val = std::find(List, Key))
thing(*Val);

Started doing flutter dev for fun. strictly android though, fuck itoddlers.

Doing UI in flutter and android services, background work, etc... in native kotlin is so comfy bros

You could've written it yourself faster than this post.

Reminding anons to use github.com/friendlyanon/cmake-init when creating new C++ and C projects!
Conan and vcpkg templates are also available in preview on the preview/package-manager branch! See issue #42 for details.

Why is resigning so hard bros
I feel really bad although I'm being offered 2.5x at another company so I'd be dumb not to take it

Too lazy to Google, is AutoHotkey capable of renaming all files to their MD5 in the currently opened directory in Explorer?

Attached: 44f9.jpg (318x394, 29.17K)

Don't be, if your boss could replace you with someone who costs 2.5x less he would without even thinking about it.

probably

Stepping outside your comfort zone with a leap of faith is always hard, user. But three months from now you'll be so happy you did it. Ganbatte!

What the fuck lol, are you retarded? Your company and coworkers don't give a shit about you. Unless you run your own company, nothing *really* depends on you and you alone. Stop being a faggot and go get more money.

I ran the example code on pypi.org/project/glfw/ and the window was full of what looked like old screen buffer stuff. Resizing the window changed the contents and I saw pieces of screen stuff from a variety of applications like vscode and Firefox (including some porn lol).

Isn't this a crazy security vulnerability? I'm on macOS.

Attached: Screen Shot 2022-03-02 at 12.45.49 PM.png (858x699, 180.85K)

Maybe if you're a FAANG cuck

Ok ngl the only reason I feel bad is because my senior is a very hot milf blonde
She is super friendly and nice too might have a crush on her since im a virgin nerd shut in

she said she would feel very bad if I left and that I do very good work :(

Go on.

Here's another shot with stuff from a Firefox session yesterday files.catbox.moe/gfswtc.png (includes NSFW stuff).

ask her out for coffee retard

Why doesn't this compile with g++?

#include
using std::istream; using std::ostream; using std::cout; using std::cin; using std::endl;

istream& funMy(istream& is){
char c = 0;
while (!is.eof()){
cin >> c;
cout

Attached: cmd_g02YAPAxsF.png (1605x219, 19.46K)

Leave amicably and professionally and work your notice. It's the best thing to do if you actually like your senior

, faggot.

>/dpt/
>it's actually just career blogging

auto & t = funMy(cin);

Post your code user.

wagie thread > syntax thread

That goes for the rest of the board, since you only ever get banned for posting porn

You're trying to make a copy of a class with a deleted copy constructor. You need to assign by reference instead of copy at the call site.

the auto keyword doesn't handle references implicitly
so t is just an basic_istream and basic_istreams have deleted copy constructors

using Pair = std::pair;

std::vector v;
v.emplace_back({ {...}, {...}};


why can't this compile?
it mistakes the parenthesis as initializer lists instead of the constructors of Foo and Bar, any solution?

Learning assembly.

Attached: 1644847311785.jpg (400x524, 50.98K)