If the compiler can prove there isn't action-at-a-distance between those lines (this might be non-trivial), then can't the destructor be called before running bar ? Does the C++ spec necessarily say that destructors are…
For the experts in this thread: is there any benefit to using these so called array languages compared to using something like numpy (or even pandas/polars) ?
renders fine on my 4y old android phone
[dead]
why didn't you just get Amazon to refund you for the defective product?
mostly yes, at $work we're trying to move away from pandas entirely in favour of polars. Polars is mostly faster, with an API that's actually sane and makes sense. No reason to use pandas nowadays.
hindsight is 20/20. Don't criticise people for making certain decisions years ago when those don't match what you'd choose to do now. Often you'll find that they were very reasonable given the constraints at the time.…
I would expect most people to read code in their IDEs, where small amounts of type inference like this is fine because the IDE tells you what the type is. I agree that if you spend a lot of time reading code in…
I also believe that an IDE like Rider will complain that the IEnumerable returned by `.Select` is consumed multiple times.
if you have a reasonably good IDE you don't really need to explicitly compile the whole program outside of when you want to run it.
at work we use the ONNX serialisation format for all of our prod models. Those get loaded by the ONNX runtime for inference. works great. perhaps it's be viable to add support for the ONNX format even for use cases like…
also means no autocomplete with the from bit first
we have a massive mixed c# and f# codebase at work. F# is not magical. Yes it's an ML, but frankly, C# is better in every way, to the point we're slowly moving away from F# entirely. The main reason is perf, it's really…
Yeap, it's used as a case study for us as to the worst case scenario in trading incidents. Definitely humbling.
spamming the market with orders for one
well you expect 'input' to be something that you can iterate over, so clearly using any is wrong here.
bad food is better than no food.
Such a great show. I was so sad when I realised it stopped at season 2.
Surely these were never enforceable, but I guess people don't know better. Reducing the asymmetry of knowledge is also key here. To be fair, pay is irrelevant in this context. Abusive non-competes should be banned,…
I obviously don't support Brexit. but it's hard to believe your wild claims without some concrete sources. As per usual: Never ascribe to malice that which is adequately explained by incompetence
He's 33 and doing internships? what am I missing?
or just units of measure a more general solution than what you're suggesting, implemented by languages like F# https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
C# is great, if you ignore the lack of algebraic data types and the generally weak type system. Value types in C# are awesome and really make it easy to write super high performance code that doesn't allocate! F# is…
Doesn't matter. Pick one. Enforce it with a linter. Move on with your life.
In production code, you'd generally avoid recursion to avoid stack overflows. Given in most languages you can't enforce tail call optimisation, it's risky to use unbounded recursion.
If the compiler can prove there isn't action-at-a-distance between those lines (this might be non-trivial), then can't the destructor be called before running bar ? Does the C++ spec necessarily say that destructors are…
For the experts in this thread: is there any benefit to using these so called array languages compared to using something like numpy (or even pandas/polars) ?
renders fine on my 4y old android phone
[dead]
why didn't you just get Amazon to refund you for the defective product?
mostly yes, at $work we're trying to move away from pandas entirely in favour of polars. Polars is mostly faster, with an API that's actually sane and makes sense. No reason to use pandas nowadays.
hindsight is 20/20. Don't criticise people for making certain decisions years ago when those don't match what you'd choose to do now. Often you'll find that they were very reasonable given the constraints at the time.…
I would expect most people to read code in their IDEs, where small amounts of type inference like this is fine because the IDE tells you what the type is. I agree that if you spend a lot of time reading code in…
I also believe that an IDE like Rider will complain that the IEnumerable returned by `.Select` is consumed multiple times.
if you have a reasonably good IDE you don't really need to explicitly compile the whole program outside of when you want to run it.
at work we use the ONNX serialisation format for all of our prod models. Those get loaded by the ONNX runtime for inference. works great. perhaps it's be viable to add support for the ONNX format even for use cases like…
also means no autocomplete with the from bit first
we have a massive mixed c# and f# codebase at work. F# is not magical. Yes it's an ML, but frankly, C# is better in every way, to the point we're slowly moving away from F# entirely. The main reason is perf, it's really…
Yeap, it's used as a case study for us as to the worst case scenario in trading incidents. Definitely humbling.
spamming the market with orders for one
well you expect 'input' to be something that you can iterate over, so clearly using any is wrong here.
bad food is better than no food.
Such a great show. I was so sad when I realised it stopped at season 2.
Surely these were never enforceable, but I guess people don't know better. Reducing the asymmetry of knowledge is also key here. To be fair, pay is irrelevant in this context. Abusive non-competes should be banned,…
I obviously don't support Brexit. but it's hard to believe your wild claims without some concrete sources. As per usual: Never ascribe to malice that which is adequately explained by incompetence
He's 33 and doing internships? what am I missing?
or just units of measure a more general solution than what you're suggesting, implemented by languages like F# https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
C# is great, if you ignore the lack of algebraic data types and the generally weak type system. Value types in C# are awesome and really make it easy to write super high performance code that doesn't allocate! F# is…
Doesn't matter. Pick one. Enforce it with a linter. Move on with your life.
In production code, you'd generally avoid recursion to avoid stack overflows. Given in most languages you can't enforce tail call optimisation, it's risky to use unbounded recursion.