Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. F-Droid 2.0 (f-droid.org)
    301comments
  2. Show HN: Make cursed fonts like Times New Bastard (mitpit.com)
    86comments
  3. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    109comments
  4. Why is the liver so weirdly regenerative? (dynomight.substack.com)
    186comments
  5. 2DWillNeverDie (2dwillneverdie.com)
    31comments
  6. Fearless SIMD v1.0 (linebender.org)
    34comments
  7. Rails World 2026 Opening Keynote [video] (youtube.com)
    336comments
  8. Toyota is taking the Corolla electric (electrek.co)
    495comments
  9. My weird new hobby: Wandering around Tokyo on Google Maps (ahmedhossamdev.com)
    127comments
  10. Using LLMs to trace alchemical knowledge and decode 17th century letters (resobscura.substack.com)
    20comments
  11. Google’s Project Suncatcher to put ML infrastructure in space (blog.google)
    302comments
  12. Goodbye Google (ocallahan.org)
    142comments
  13. Two-tier encryption in the UK (macanorak.com)
    387comments
  14. Writing Parquet files using Haskell (datahaskell.org)
    5comments
  15. Opus 5.5 is good at explainer videos (launchvideo.io)
    115comments
  16. Book review: Is parallel programming hard, and, if so, what can you do about it? (ahelwer.ca)
    36comments
  17. The Board Game of the Alpha Nerds (2014) (grantland.com)
    27comments
  18. California is chasing wealth that has feet (landeconomics.org)
    584comments
  19. Security auditing in the age of (good enough) AI (trailofbits.com)
    12comments
  20. Show HN: Air-gapped file encryption as self-decrypting HTML page (apeleg.com)
    18comments
  21. Sourcehut account takeover via build logs (XSS in ansi2html) (blog.arusekk.pl)
    19comments
  22. The forgotten battle of East Lansing (eastlansinginfo.news)
    16comments
  23. WaveDigger: Dig into wireless signals to discover their physical locations (github.com/christianrowlands)
    20comments
  24. Nokia Design Archive (2025) (aalto.fi)
    121comments
  25. The Bayeux Tapestry: Woven by the Victors (historytoday.com)
    5comments
  26. Geothermal heat map of US hot springs (soakingsprings.com)
    39comments
  27. Show HN: Koi.rest – watch some fish and regain your balance (koi.rest)
    42comments
  28. Stable (YC W20) Is Hiring Product Engineers (usestable.com)
    —discuss
  29. Forging 1024-bit RSA signatures in nearly SNFS time [pdf] (iacr.org)
    11comments
  30. Motor Characterization for Small Running Robots (2016) (robot-daycare.com)
    3comments

Ask HN: Data analysis workflow?

1 pointsby 7y ago
1 comments
What kind of workflow do you employ when designing a data-flow or analyzing data?

Let me give a concrete example. For the past year, I have been selling stuff on the interwebs through two payment processors one of them being PayPal.

The selling process was put together with a bunch of SaaS hooking everything together through webhooks and notifications.

Now I need to step it that control and produce a proper flow to handle sign up, subscription and payment.

Before doing that I'm analyzing and trying to conciliate all transactions to make sure the books are OK and nothing went unseen. There lies the problem. I have data coming from different sources such as databases, excel files, CSV exports and some JSON files.

At first, I started dealing with it by having all the data in CSV files and trying to make sense of them using code and running queries within the code.

As I found holes in the data I had to dig up more data from different sources and it became a pain to continue with code. I now imported everything into Postgres and have been "debugging" with SQL.

As I advanced through the process I had to generate a lot of routines to collect and match data. I also have to keep all the data files around and organized which is very hard to do because I'm all over the place trying to find where the problem is.

How do you handle with it? What kind of workflow? Any best practices or recommendations from people who do this for a living?

7y agoHN ↗

Pachyderm may be basically what you're looking for. It does data version control with/for language-agnostic pipelines that don't need to always redo the ETL phase. https://www.pachyderm.io

Dask-ML works with {scikit-learn, xgboost, tensorflow, TPOT,}. ETL is your responsibility. Loading things into parquet format affords a lot of flexibility in terms of (non-SQL) datastores or just efficiently packed files on disk that need to be paged into/over in RAM. http://ml.dask.org/examples/scale-scikit-learn.html

Sklearn.pipeline.Pipeline API: {fit(), transform(), predict(), score(),} https://scikit-learn.org/stable/modules/generated/sklearn.pi...

https://docs.featuretools.com can also minimize ad-hoc boilerplate ETL / feature engineering :

Featuretools is a framework to perform automated feature engineering. It excels at transforming temporal and relational datasets into feature matrices for machine learning.

The PLoS 10 Simple Rules papers distill a number of best practices:

"Ten Simple Rules for Reproducible Computational Research" http://www.ploscompbiol.org/article/info%3Adoi%2F10.1371%2Fj...

“Ten Simple Rules for Creating a Good Data Management Plan” http://journals.plos.org/ploscompbiol/article?id=10.1371/jou...

In terms of the scientific method, a null hypothesis like "there is no significant relation between the [independent and dependent] variables" may be dangerously unprofessional p-hacking and data dredging; and may result in an overfit model that seems to predict or classify the training and test data (when split with e.g. sklearn.model_selection.train_test_split and a given random seed).

One of these days (in the happy new year!) I'll get around to updating these notes with the aforementioned tools and docs: https://wrdrd.github.io/docs/consulting/data-science#scienti...

IDK what https://kaggle.com/learn has specifically in terms of analysis workflow? Their docker containers have very many tools configured in a reproducible way: https://github.com/Kaggle/docker-python/blob/master/Dockerfi...