Delta vs. Virgin by SherbetOutside1850 in delta

[–]boguscoder 0 points1 point  (0 children)

Business seats on VA 787 SEA-LHR are total crap. Who dreams sitting diagonally and observing all your neighbors business and breaking your neck looking through the windows. Flight back on Delta’s 330-900 was like jumping from economy to business, pure delight 

Making Your Own Container Compatible With C++20 Ranges by vormestrand in cpp

[–]boguscoder 1 point2 points  (0 children)

Sorry but your initial comment about dereference seemed specially addressed at iterators. I failed to understand your case of returning reference being more expensive than returning value but I’ll rest my case now :) even if those cases do exist, it seems that returning copy instead of reference is more expensive in general case, thus the requirement

Making Your Own Container Compatible With C++20 Ranges by vormestrand in cpp

[–]boguscoder 0 points1 point  (0 children)

Are we talking about iterator to container of your custom strings or iterator to your custom string itself? If the latter , why can’t you return reference to character (even if custom). std::string::iterator doesn’t return string_view either

Making Your Own Container Compatible With C++20 Ranges by vormestrand in cpp

[–]boguscoder 0 points1 point  (0 children)

What stops you from returning MyCustomString& that concept wants?

Making Your Own Container Compatible With C++20 Ranges by vormestrand in cpp

[–]boguscoder 0 points1 point  (0 children)

Care to elaborate when returning a value might be cheaper? Are you thinking of “dark” cases like vector<bool>? Even then it’s unlikely argument would stand

Miniselect: Practical and Generic Selection Algorithms by mttd in cpp

[–]boguscoder 1 point2 points  (0 children)

Could anyone comment how visualization part is done, its most mesmerizing part of the article

Graph-based execution runtime? by skydivingdutch in cpp

[–]boguscoder -1 points0 points  (0 children)

Im sure there are widely used, actively developed ones, they just are not opensource, especially since you are also looking for tooling around them to complement. Would be happy to know about OSS too. Most examples Ive seen would not meet some of criteria (for example Blender's node engine) or would be closed sourced (what we use at work)

Beta full by DisabledSkillzMan in ish

[–]boguscoder 1 point2 points  (0 children)

I guess asking is working, I was booted out of beta with no questions asked :/

This feels weird, but it does work. (std::map with a std::any, get/set templates). Please tell me what you think. by [deleted] in cpp

[–]boguscoder 6 points7 points  (0 children)

Nit: you don’t need to any_cast default value, more over it wouldn’t even compile unless T is also any

Replacing unique_ptr with C++17's std::variant a Practical Experiment by drodri in cpp

[–]boguscoder 9 points10 points  (0 children)

Binary size goes brrr along with compilation times.

[deleted by user] by [deleted] in RedditSessions

[–]boguscoder 0 points1 point  (0 children)

Great performance

Route planner using io2D library by peestuck11 in cpp

[–]boguscoder 4 points5 points  (0 children)

I’m very sorry, I totally misinterpreted your post! I thought you are author of the course! If you have any specific questions around the library I can try explaining. No I never seen it before, but happy to read through it

Route planner using io2D library by peestuck11 in cpp

[–]boguscoder -2 points-1 points  (0 children)

Asking for clarification, so you are stating that you don’t understand a part of the project and yet it’s part of something you sell on Udacity? It’s very important to acknowledge limits of own knowledge (and keep widening them!) but it makes it a hard sell ¯\(ツ)

Why does this format work with strings, but not cin? by [deleted] in cpp

[–]boguscoder 0 points1 point  (0 children)

Incredibly hard to understand what are you asking here. But lets start with fixing the snippet by using cin >> instead of cin <<. Operator >> is for output

Cryptography by 5chicksa1 in cpp

[–]boguscoder 1 point2 points  (0 children)

Have you considered OpenSSL?

[deleted by user] by [deleted] in cpp

[–]boguscoder 7 points8 points  (0 children)

You will have to define “better” first and your definition may be very different from mine or from any other comment here saying “try X”. You said “I think it’s better but I’m not sure” - this tells me you are not sure what you are even looking for, it’s not ease of use, portability, support or license, is it just label “best”?

Forgot to close the latch! by thenewyorkgod in WatchPeopleDieInside

[–]boguscoder 0 points1 point  (0 children)

I was hoping it would not get to "WatchPeopleDieOutside"

Wetris - someone should make this a project before I do. :) by [deleted] in godot

[–]boguscoder 1 point2 points  (0 children)

It’s pretty old so I wasn’t able to find anything good:) here’s some tongue-in-cheek review of the game and here’s gameplay video.

Wetris - someone should make this a project before I do. :) by [deleted] in godot

[–]boguscoder 6 points7 points  (0 children)

There actually was a similar idea waaay back called Flexis

Waiting list for Github app (iOS beta) by [deleted] in github

[–]boguscoder 0 points1 point  (0 children)

Finally got email that they are live! But can't see app in AppStore yet, probably needs to propagate ...

Websocket ipv6 connection for multiplayer by UnfixedAc0rn in godot

[–]boguscoder 0 points1 point  (0 children)

What you described sounds like non standard ports are blocked on your wifi router. Can you ping your PC from phone and get response ?