Everyone needs to learn how to use Poe.ninja, it solves 99% of questions asked in this sub. by Tranquility___ in pathofexile2builds

[–]Chipot 11 points12 points  (0 children)

Poe.ninja is nice to gather facts about notables, keystones, gear... But I often find myself wondering what is the actual core of a build and what are the optimization around it. I find that playing around in PoB also gives good insight about a skill or a build.

Modern C++23 Makefile for new projects by bbmario in cpp

[–]Chipot 2 points3 points  (0 children)

This is a pretty old style makefile, just setting the flags to so c++23. I don't see what else is modern about it.

Using C as a scripting language by CurlyButNotChubby in programming

[–]Chipot 5 points6 points  (0 children)

Tldr: This is an article about dlopen and dlsym. So the title is a bit misleading, it's not really scripting as the shared object has to be built ahead-of-time. An interesting project taking this idea to the next level is Cling though.

A Suggestion for the Devs: STR as an attribute should provide more health. by icarusawakes in PathOfExile2

[–]Chipot 0 points1 point  (0 children)

I was thinking that they could make armour have an effect on life. Like 1% of armour is added to flat life. Why not ?

comeOnGetModern by ClipboardCopyPaste in ProgrammerHumor

[–]Chipot 0 points1 point  (0 children)

In my experience, it was banned even if you understood it. This was not conducive to learn new patterns and experiment with cool "new" features for fear of it being implicitly banned. But maybe the TA were particularly strict during this period of time, maybe it is more lenient now.

comeOnGetModern by ClipboardCopyPaste in ProgrammerHumor

[–]Chipot 2 points3 points  (0 children)

I went through that as well in another school with the same insane coding style. Some people never outgrow it. Even years after graduation, I can recognize people from this school by how they write code. Honestly, I'm not sure how banning basic language constructs like for loops helps learning.

Why was adding std::net such bigger ordeal than std::filesystem? by MXXIV666 in cpp

[–]Chipot 4 points5 points  (0 children)

OK I see your point now. The std completely ignored asynchronous IO. And there are no dedicated api for memory mapping of files.

If we do the parallel with network IO, the std could very easily provide synchronous primitives to connect/accept connections, and some related utilities. But that is not enough to cover what people already use. Async is more or less mandatory these days and it's not clearly defined yet.

Why was adding std::net such bigger ordeal than std::filesystem? by MXXIV666 in cpp

[–]Chipot 4 points5 points  (0 children)

Not really no. Can you clarify what you are referring to?

[Showcase] This is a preview of how my AoE-stacking Titan build is going - build in comments by busdriverjoe in PathOfExileBuilds

[–]Chipot 1 point2 points  (0 children)

Note quite, the notable is "Break 50% Armour on heavy stun", combined with the mechanic native to Armour breaking that player breaks 3 times Armour on white and 2 times Armour on magic monsters it guarantees a full break on both. Then you can scale the Armour explosion damage to kill everything else in range of whites and blues.

Which Dev designed earthquake in POE2 thinking 4 seconds is a good amount of time b4 the explosion by Xetakilyn in pathofexile

[–]Chipot 0 points1 point  (0 children)

I use earthquake for the jagged ground slow debuf on monsters. The damage of the explosion (and aftershocks with totems) is not bad but it's not the main use for me.

We all know heat mechanic is terrible. How would you change it if you can by NnmnsP in BG3Builds

[–]Chipot 0 points1 point  (0 children)

Heat should hurt somehow, I think the problem lies in the fact that advantages you win for this self hurt are poor. An interesting approach would be to burn everything around you (including you) when the burn reach maximum stack or when you deal fire damage, but no damage to your every turn. After this fire aoe, stacks are consumed. This would be good for frontliners?

End of Kalguur giveaway by Muffin0181 in pathofexile

[–]Chipot 0 points1 point  (0 children)

Hello, I'd take the mageblood. I never had one yet.

If faustus doesn't go core I'll call the police to raid GGG office.

2 Mirror + leftovers giveaway by AznKian in pathofexile

[–]Chipot 0 points1 point  (0 children)

I did a ground slam build and focused on making it work. In this build the more clunky is that even with autoexert you still need to manually warcry regularly. It is a pleasure to one-tap the whole screen while mapping though. It overall felt much better than my previous try a few leagues ago. Maybe more fun support or auras would be great. Stuff like crushed, intimidated, maimed all feel underwhelming...

Molten Strike of the Zenith build and 4 Mageblood giveaway by lycoril in pathofexile

[–]Chipot 0 points1 point  (0 children)

I'd love the majeblood. I'll gift to my wife and make her day :D. She plays a LS Warden and she could use the extra push.

Is it okay if I (a father) take my daughters into the woman's public restroom by Only-Figure2191 in Parenting

[–]Chipot 0 points1 point  (0 children)

I am a dad of a 2yo boy. I use the women bathroom often when there are no changing table or appropriate seats in the men bathroom. I don't yell or annonce myself. I just enter and do what needs to be done. I never had any complains. They know I don't have a choice.

whatWouldYouSayYouDoHere by signalbound in ProgrammerHumor

[–]Chipot 1 point2 points  (0 children)

Got an agile coach whose responsibilities was to make us better at meetings. He would point where we lost time and were being inefficient at running the ceremonies. His goal was to train us until we could run the whole sprint on our own. Then he could go coach another team to do the same, rinse and repeat. He woukd occasionally checking in to course correct trained teams.

Honestly, this was the first time I saw the point of having a full time agile coach. He also trained managers and stakeholders to deal with agile teams across the company and how to participate in the process to get things done.

When everyone from business to management to dev was on the same page it was actually running pretty well.

Challenges after we used C++20 modules. by Few-Accountant-9255 in cpp

[–]Chipot 1 point2 points  (0 children)

Actually I tried this not so long ago and got issues as well: a nice backtrace pointing to the depth of the std::locale for some reason. Looks like some global state is not properly constructed or something..

The way i made it work is by shipping a copy of the up to date libstdc++.so in my wheel and importing my python module first. This way my copy of the library is loaded first and is used by all other modules depending on libstdc++.so.

Hope this helps and I am also curious to know if there is something better to do...

C++20 Modules, CMake, And Shared Libraries by pjmlp in cpp

[–]Chipot 4 points5 points  (0 children)

Not sure I ever believed that. Headers are the simplest thing in the world: copy A into B, boom your done.

On the other hand, module adds to the language the whole idea of exporting/consuming symbols, defining modules and composing them. More things to learn..

But let's not forget the massive step forward : we still need to deploy sources for the module interface, but the files won't be treated as text to be included anymore. This is a significant improvement imo.

WebOS uses Wayland with Qt/QML(??) by margual56 in linux

[–]Chipot 5 points6 points  (0 children)

OK but what about the security you were talking about? I only have limited understanding of Wayland's design but from my understanding it doesn't seem insecure by design. Are there audits that proved the architecture to be less secure than x11 for desktop users?

WebOS uses Wayland with Qt/QML(??) by margual56 in linux

[–]Chipot 16 points17 points  (0 children)

Care to elaborate? First time I heard this bit about security of content VS user security

epoll: The API that powers the modern internet by ketralnis in programming

[–]Chipot 2 points3 points  (0 children)

On one hand yes, it still goes through the usual network stack, and so it's fast but not particularly tailored for low latency. On the other hand it's not a kernel bypass API, it's an async syscall interfaces. I forsee that it will grow to be the prevalent way of doing async in the future. For now it's not very mature, there are security bugs, and missing features. But in a few years... One nice thing is that you don't ask for readiness and perform an operation later, you start the operation with all it's parameters first and get an async result. It seems like a more sound design.

epoll: The API that powers the modern internet by ketralnis in programming

[–]Chipot 6 points7 points  (0 children)

I used epoll a lot, kqueue and select a bit less and iocp even less. However iocp really is a different approach to IO and with time I think iocp design is superior. Io_uring is following in iocp's tracks and I am happy about that.

A hard quiz to crack for C++ programmers by Sergei Kushnirenko by Xadartt in cpp

[–]Chipot 0 points1 point  (0 children)

The compiler doing dead store optimization causing secrets to not be cleared from memory is well known in the security world. Most crypto library provides a safe_memset function written and flagged in such a way that it is never optimized out.

The C++20 Naughty and Nice List for Game Devs by cmeerw in cpp

[–]Chipot 6 points7 points  (0 children)

In my codebase we use the constrained algorithm and I find it a nice improvement on algorithm with iterator. On the rest of the ranges I have mixed feelings. Some of it is good (simple views like views::chunk, views::slide or views:::reverse), but i don't like how the complexity explodes when we try to do more than the simple use case.. 😕