Hacker News

Top stories

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

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...