Skip to main content
Ccm's user avatar
Ccm's user avatar
Ccm's user avatar
Ccm
  • Member for 6 years, 6 months
  • Last seen more than a month ago
awarded
comment
Synchronized Web Audio Playback on Multiple Smartphones Using Timestamped Chunks and Manual Time Shifting
This is almost impossible. There's always going to be latency keeping the devices in sync, and audio is very sensitive even to the lowest amount of latency.
comment
In Java, why is there no instance method like bigDecimal.isGreaterThan(otherBigDecimal)?
I know this is an old answer, but it is essentially a non-answer. The first point with isSuperiorThan rather than isGreaterThan is moot, it will take less than 5 seconds for people to figure it out. The second point is also moot, the compareTo method can stay, there's no issue there.
comment
What to say in a code review when I don't know how it could be improved?
If you can't articulate what's wrong with the code then there's nothing wrong with the code.
comment
revised
Loading…
revised
Loading…
revised
Loading…
Loading…
comment
Why did IHVs have never extended Direct3D through the facilities of COM on which it is based?
@cher-nov it is quite simple to deduce why hardware devs won't do it, they simply don't have a market for this, so they won't do it. They already covered the bits of the market that exists (CUDA and co) and that's fine. OpenGL works on a much smaller scale and it has to be extensible due to the nature of open source software and the lack of proper manufacturer support. There really is no comparison of the economics involved in openGL and those of DirectX.
revised
Loading…
Loading…
Loading…
Loading…
comment
How to deal with high level requirements that contain implementation details?
You are overthinking this. What you are dealing with here are known as constraints. These constraints should be integrated in your architecture decisions and should also be visible at low level. Don't try to engineer something that's supposed to be straightforward and simple to understand for anyone. Simply reference these constraints wherever necessary.
comment
Populating Cache in microservices
Why not immediately cache a new object after it has been created by the DB?
comment
How is Agile model more flexible than the Waterfall model?
Agile is essentially a series of small waterfalls.
comment
C++: Good approach to handle libxml2 resource management in a wrapper
Unless you have a specific use case in mind, simply wrap the C structs into C++ classes and then add the C functions which take one such struct as parameter and make them methods inside the class. Functions that alloc memory become ctors, functions that free memory become destructors
comment
Separate unidirectional streams vs single bidirectional stream
Do note that the underlying connection usually has 2 unidirectional streams, the unified interface is just an abstraction.
comment
C++ and memory safety
If safety is so important for OP, UB and crash are probably equally bad
1
2 3 4 5
11