HNHacker News
TopNewBestAskShowJobs

joshlk

446 karma · joined May 1, 2017

Views are my own.
submissionscomments
joshlk··on Show HN: A Python container for dataclasses with multi-indexing and vector opps
This is what this package aims to prevent. Providing rigidity to the data structure while giving the performance and API benefits of Pandas
joshlk··on Show HN: A Python container for dataclasses with multi-indexing and vector opps
I came to the idea as I wanted to use the ergonomics and efficiency of Pandas DataFrames but realised it makes messy production code thats hard to maintain. This package provides the best of both worlds.

Description: A Python dataclass container with multi-indexing and bulk operations. Provides the typed benefits and ergonomics of dataclasses while having the efficiency of Pandas dataframes.

The container is based on data-oriented design by optimising the memory layout of the stored data, providing fast bulk operations and a smaller memory footprint for large collections. Bulk operations are enabled using Pandas which has a rich set of vectorised methods for both numerical and string data types.

joshlk··on DataFrame use Anti-Pattern (2018)
I have frequently fallen into this pattern before. I generally saw DataClasses and NamedTuples akin to Structs and thats why C++/Java programmers used them. However, I know see their advantages
joshlk··on An exploration of why Python doesn't require a 'main' function
Yes the argument is trivial. But it illuminates design choices of each language which is interesting
joshlk··on Brython – A Python 3 implementation for client-side web programming
Could you compile Python to Web Webassembly instead of JavaScript? Presumably that would have better performance.
joshlk··on Teaching physics to neural networks removes 'chaos blindness'
For some systems even with the Lagrangian/Hamiltonian setup your solving differential equations with numerical techniques that has error. It might be that the neural networks has less error than the standard techniques. This is a guess.
joshlk··on Dexplot: Python library for data visualization
I personally find the Python plotting landscape a mess and confusing. It always seems to be a lot harder than is necessary to do anything and make it look good.
joshlk··on macOS in QEMU in Docker
Does this break the user agreement for macOS?
joshlk··on Five Years of Rust
Is there a roadmap for the next 1/2/5 years?
joshlk··on So you want to write your own CSV code (2014)
The Pandas CSV reader (Python) is one of the best and most versatile implementations out there. Also very fast.

https://pandas.pydata.org/pandas-docs/stable/reference/api/p...

joshlk··on SSH hacks – a little sanity for remote workers
It’s a bit annoying that the word hack is used to mean tips and tricks here. As hacking ssh is big area
joshlk··on Ask HN: How will the world change post pandemic?
I think this could be a turing point in tackling climate change. People will be more aware of how impending existential crises are real and can have an effect on our daily lives.
joshlk··on Apple and Google Covid-19 Contact Tracing
This is a blessing and a curse.

It will create a president and soften public opinion on tracking people.

BUT the current positives are immense. If implemented well the most of the economy could be up and running again while keeping corona under controle like South Korea.

So overall I think it’s a positive.

joshlk··on Living without a SIM card
What the point? It’s so much hassle for no reason. If you want to be not dependent on something then don’t use a smart phone. But having a smart phone without a SIM seems the worse of both worlds.
joshlk··on Why did moving the mouse cursor cause Windows 95 to run more quickly?
I can't stop laughing!
joshlk··on WhatsApp voice calls were used to inject spyware on phones
The article is behind a paywall. Here is a BBC link: https://www.bbc.co.uk/news/technology-48262681
joshlk··on Disinformation and ‘fake news’: Interim Report
+1
← PreviousPage 4 of 4