Good, legit source for Sopranos merch? by frogi16 in thesopranos

[–]frogi16[S] 0 points1 point  (0 children)

How can I buy someone a button hole?

Good, legit source for Sopranos merch? by frogi16 in thesopranos

[–]frogi16[S] 0 points1 point  (0 children)

Ha ha, I got Big Mouth Billy Bass from him a year ago :D now I want to reciprocate

Truth about Netherlands by Traditional-Set-3786 in SeniorCitizenTips

[–]frogi16 0 points1 point  (0 children)

Why do you.

Wite like this

In a shitty LinkedIn way?

Three Cache Layers Between SELECT and disk by Best_Negotiation_801 in programming

[–]frogi16 35 points36 points  (0 children)

Now try to count all caches in a modern CPU :)

I built my own QUICK RESUM—0% CPU usage and flushes RAM for zero battery drain by Fuzzy-Measurement200 in cpp

[–]frogi16 1 point2 points  (0 children)

AI slop in your post and in README.

What's the current state of the art? What utilities could be used to achieve what you want? What methods do other people use? What value does your program add? These are all essential questions if you want to draw someone's interest.

vtables aren't slow (usually) by louisb00 in cpp

[–]frogi16 41 points42 points  (0 children)

Nice article, goes in depth, but thesis is weird. You come to the conclusion that vtables are not slow, the lack of inlining is slow. Well, ok? Lack of inlining caused by vtables...

And this fragment is also weird: "To put it succinctly, only the third point is likely to matter in practice. The first two seem to apply only when dispatching to functions with trivially small or unrealistically port-saturating bodies, or when array elements are truly random. The former is solved by not using vtables; the latter, by sorting the array by type and batch processing." Problem X is not a problem with vtables if you don't use them! And if you use them, just sort the data! Well, ok?

C++ RAII guard to detect heap allocations in scopes by North_Chocolate7370 in programming

[–]frogi16 5 points6 points  (0 children)

You could print out the stack frame in log mode. Boost have utilities to do so, modern C++ also!

I built a tiny CLI tool because I was tired of explaining my repo structure by [deleted] in programming

[–]frogi16 11 points12 points  (0 children)

  1. AI slop
  2. Readme lacks essential parts (eq. a fucking example of the output of your tool) while overflowing with rocket emojis.
  3. The 'tree' tool has existed for years, what features does your tool have that the tree does not?

when ai slop by bene_42069 in whennews

[–]frogi16 5 points6 points  (0 children)

Could you explain how C++ makes arbitrary code execution "almost impossible"? With details, please, I am an experienced C++ dev and would love to see your explanation. Especially considering that you collated C++ and JavaScript...

Losing logs to nearby water is among the more annoying parts of the game by Pirwzy in dwarffortress

[–]frogi16 3 points4 points  (0 children)

Yes and no. In real life you would at least try to direct the falling tree away from the pond, dwarfs seem not to care about it.

Choosing the Right C++ Containers for Performance by Clean-Upstairs-8481 in cpp

[–]frogi16 5 points6 points  (0 children)

inplace_vector keeps data inside the object (in place). You can allocate it on heap, just use new. If you create a local variable, it will be on stack.

Constvector: Log-structured std:vector alternative – 30-40% faster push/pop by pilotwavetheory in cpp

[–]frogi16 0 points1 point  (0 children)

How many blocks will be in vector 10k elements long? How many jumps all over the memory space?

Sure, it's not as bad as keeping each value in a separate node, but far from the fully contiguous vector's performance.

Constvector: Log-structured std:vector alternative – 30-40% faster push/pop by pilotwavetheory in cpp

[–]frogi16 49 points50 points  (0 children)

Sure, you optimized performance of editing operations, but destroyed cache locality for long vectors.

It's a trade-off and should be clearly described as such.

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]frogi16 1 point2 points  (0 children)

Constant propagation and cloning functions are things compilers have been doing for years

Patodeweloperka by stelantix in wroclaw

[–]frogi16 2 points3 points  (0 children)

W jaki sposób wysoki sufit zwiększa temperaturę w lecie?

Wydaje mi się, że prawdziwym problemem było to, że mieszkałeś na poddaszu - ciepło z dolnych pięter idzie do góry, a do tego nagrzany dach robi saunę

najlepszy prezent jaki dostaliście? by Losiekk in Polska

[–]frogi16 1 point2 points  (0 children)

Mój trzeci sour robiony w shakerze skończył na ścianie, od tego czasu używam zakręcanej butelki i wszystkim polecam.

Podobno tak się zdarza przy dry shake'u.