Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mxz3000
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mxz3000
2y ago
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 called at
2.
▲
by
mxz3000
2y ago
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) ?
3.
▲
by
mxz3000
2y ago
renders fine on my 4y old android phone
4.
▲
by
mxz3000
2y ago
why didn't you just get Amazon to refund you for the defective product?
5.
▲
by
mxz3000
2y ago
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.
6.
▲
by
mxz3000
3y ago
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 tim
7.
▲
by
mxz3000
3y ago
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 something like GitHub, not ha
8.
▲
by
mxz3000
3y ago
I also believe that an IDE like Rider will complain that the IEnumerable returned by `.Select` is consumed multiple times.
9.
▲
by
mxz3000
3y ago
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.
10.
▲
by
mxz3000
3y ago
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 model checkpoin
11.
▲
by
mxz3000
3y ago
also means no autocomplete with the from bit first
12.
▲
by
mxz3000
3y ago
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 easy
13.
▲
by
mxz3000
3y ago
Yeap, it's used as a case study for us as to the worst case scenario in trading incidents. Definitely humbling.
14.
▲
by
mxz3000
3y ago
spamming the market with orders for one
15.
▲
by
mxz3000
4y ago
well you expect 'input' to be something that you can iterate over, so clearly using any is wrong here.
16.
▲
by
mxz3000
4y ago
bad food is better than no food.
17.
▲
by
mxz3000
4y ago
Such a great show. I was so sad when I realised it stopped at season 2.
18.
▲
by
mxz3000
4y ago
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, whether in the state
19.
▲
by
mxz3000
4y ago
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
20.
▲
by
mxz3000
4y ago
He's 33 and doing internships? what am I missing?
21.
▲
by
mxz3000
4y ago
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...
22.
▲
by
mxz3000
4y ago
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 awesome if you igno
23.
▲
by
mxz3000
4y ago
Doesn't matter. Pick one. Enforce it with a linter. Move on with your life.
24.
▲
by
mxz3000
4y ago
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.
25.
▲
by
mxz3000
4y ago
Yeah some stuff hasn't been migrated yet but it's pretty rare in my limited experience. Regarding your devil's advocate example, it's obvious a power user (i.e. tax pro) will have different needs than a layman like me, a
26.
▲
by
mxz3000
4y ago
I'm consistently really impressed with the UK gov's websites. They're fast, usable and mostly quite intuitive, something that is helped by the fact that they all share a common theme. They support pretty much everything you&#
27.
▲
by
mxz3000
5y ago
You must be trolling. European countries are considered the most free in the world. https://freedomhouse.org/countries/freedom-world/scores?sort...
28.
▲
by
mxz3000
5y ago
The quality of the generated JS is a bit irrelevant as they'll probably want to minify the generated JS to reduce the size of the assets and make cold starts quicker anyways.
29.
▲
by
mxz3000
5y ago
coeheranch is certainly an interesting way of spelling coherence.
30.
▲
by
mxz3000
5y ago
> And generally if you have to scale you have money and money can make any system work That's the thing, this is not always true. It's true that generally you can throw money and hardware at a problem, but at some point you ju
More ›