HNHacker News
TopNewBestAskShowJobs

pea

724 karma · joined January 16, 2013

Kivo (YC S13), datapane.com
submissionscomments
pea··on Reddit is removing moderators that protest by taking their communities private
There was the old adage for Excel that:

- 100% of people view spreadsheets

- 10% of people use something like SUM() or similar

- 1% of people write VB macros

You can create a product which works well for the _average_ viewer, but if it sucks for the 1% of 10% (maybe mods or contributors in this analogy), you're going to create a bad user experience for everyone.

pea··on JupyterLab 4.0
If you're interested in an easier way to create reports using Python and Plotly/Pandas, you should check out our open-source library, Datapane: https://github.com/datapane/datapane - you can create a standalone, redistributable HTML file in a few lines of Python.
pea··on Did Reddit just destroy mobile browser access?
Lots of sites a/b things, but it seems that when PMs start aggressively a/bing the core experience to the point of breaking the user journey and against just general common sense it points to a bigger product issue... i.e. "this is data driven and if we can uptick this KPI by x%", but isolated from any kind of coherent wider product vision.

It's surprisingly easy to kill a product through a series small isolated 'improvements'.

For instance, FB a/b a lot but I can't remember the last time it broke the ability to go to someone's profile entirely.

pea··on 27 years later and the Psion 3a is still wonderful (2020)
This reminds me of when I was in primary school in 1996 or so, and the "thing" to have as a kid was a personal organiser; irrespective of the fact none of us had anything to organize.
pea··on Evidence.dev – Business Intelligence as Code
Thanks for sharing, that looks great! That Datapane example is more a hello world web app that runs Python code in the backend (so requires a backend server - Fly.io in this example).

An example of a standalone report would be something like this, from one of our users: https://cloud.datapane.com/reports/dkjbvwk/literature-in-blo... (code: https://github.com/ryancahildebrandt/hanakotoba) or https://cloud.datapane.com/reports/aAMaqoA/when-fact-is-fals...

pea··on Evidence.dev – Business Intelligence as Code
You might be interested in what we're hacking on at Datapane (I'm one of the founders): https://github.com/datapane/datapane.

You can create standalone HTML data reports from Python/Jupyter in ~3 lines of code: https://docs.datapane.com/reports/overview/

pea··on Apollo dev explains how third-party Reddit apps are affected by API changes
Relay is good too!
pea··on Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
You can build web apps from Jupyter using Datapane [0]. I'm one of the founders, so let me know if I can help at all.

You can either export a static site [1] (and host on GH pages or S3), or, if you need backend logic, you can add Python functions [2] and serve on your favourite host (we use Fly).

We have specific Jupyter integration to automatically convert your notebook into an app [3].

[0] https://github.com/datapane/datapane

[1] https://docs.datapane.com/reference/reports/#datapane.proces...

[2] https://docs.datapane.com/apps/overview/

[3] https://docs.datapane.com/reports/jupyter-integration/#conve...

pea··on Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Thanks for the feedback. Regarding creating plots from SQL, we were just talking about that internally. It's a really interesting idea and something we have used ourselves in django-sql-explorer (https://django-sql-explorer.readthedocs.io/en/latest/feature...)

We have a set of components (https://github.com/datapane/components) and can look at something for autoplotting from a query. Similarly, we recently built a component to automatically create vega-lite plots from datasets using ChatGPT, which is another approach that works well (if interested, I can write up as a blogpost).

pea··on Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Thanks! If you are doing basic drag-and-drop BI queries on data you already have in a centralised warehouse, Metabase may be the best option for you.

From what I can see from GitStart, Datapane will be useful if:

1) You want to go beyond BI and build applications that can actually run code. For instance, an internal tool that pulls down data from a new Developer's GitHub repo and rates them on some heuristics.

2) You want to create custom reports or dashboards for each client. For instance, for each customer you have, programmatically generate a custom report with data and plots which demonstrate ROI, and share it with them / embed in your product. You could even create a Slack bot where they could generate these on-demand.

In terms of effort, it would be pretty trivial to port SQL queries to Python and use them to generate reports. Would love to help out if we can; I'm leo@{ourwebsite}.com

pea··on Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Thanks for the feedback! We love htmx but don't actually use it under the hood, although we were inspired by their model when designing Datapane.

Most frameworks in the space are great for building small apps and demos, but struggle to progress beyond an MVP, and for any moderately complex case quickly get messy. Datapane is for people who are building data products vs. small demos, which often include static sites/reports, externally triggered updates, background processing, or integration with other frameworks (like running inside of Flask). As an example, one of our users is a large gaming company who pre-render Datapane dashboards from inside of Spark pipelines in order to build internal apps for a/b testing.

That said, we also wanted to create a model which is dead simple to use and doesn't fall into callback hell or require the user to write HTML or CSS. I would love any feedback on this!

pea··on Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Thanks! We are big users of TailwindCSS across the product and those colours are from their palette: https://tailwindcss.com/docs/customizing-colors
pea··on Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Thanks so much for sharing this, I hadn't seen that before. We'll get on implementing it.
pea··on From Go on EC2 to Fly.io
Same, then my coworker signed up and had to enter a credit card. No idea on the discrepancy!
pea··on Gmail spam is out of control
This is generally what my primary Gmail inbox looks like on a daily basis. It beggars belief -- the inability to identify cold emails from recruiters is bad enough, but half of those are just... junk with random characters (I guess to test if my email is active?) - https://i.imgur.com/I8LG3wh.png

Does anyone know how it's quite that bad?

pea··on Is AM radio dead?
5 live is actually AM-only (outside of DAB) and is really the only time I listen to AM (in the car when football is on etc.)
pea··on What to do when you’ve ruined your life
Exactly same experience here when I was about 14, from a single time taking mushrooms.

Like the OP, I was convinced at the time I had some irreparable damage, as I was so seeing after-images and static on walls and felt extremely disassociated/anxious, but it was probably more garden variety anxiety than I admitted at the time. Constantly fixating on your thoughts because you think you're losing it is enough to make life pretty stressful. I got therapy and slowly forgot about it.

I still have some HPPD symptoms, but interestingly those (and the anxiety) only started after I began looking for them after reading about them online a week or two after the incident, so I've always been curious if anyone can turn off their brain's filter enough to notice them if they tried.

pea··on Saying “sup” with `net send`
Oh man I remember doing the exact same thing in high school, didn't think the wildcard would actually work. Overheard concerned teachers talking about it and never fessed up until now!
pea··on Stable Diffusion 2 Depth Guided model: architecture photos from dollhouse
On a similar note, has anyone had any luck using these models to try different paint colourings in their house (from uploading photos of their rooms)? I've struggled to do this with SD, and the non-AI apps aren't great at it either.
pea··on Ask HN: How do you protect your children from internet addiction?
One of the nice things about going to southern Europe (Greece, Spain, Italy, etc.), is the lack of expectations of kids to sit quietly at all. From my experience over the last few years, you go to a restaurant at 10pm and everyone's kids are running around, playing together with strangers, or asleep on their parents.

As a parent of a 3 year old in the UK, with friends and restaurants we'd just talk to them or they'd colour, read, etc. Maybe cultural, but it would be seen it as pretty unusual/rude to have a kid with an iPad at a table in a restaurant; although I agree it's a lot to ask of 3 year old to sit there for hours.

pea··on Riffusion – Stable Diffusion fine-tuned to generate music
This is amazing! Would it be possible to use it to modify this interpolate between two existing songs (i.e. generate spectrograms from audio and transition between them)?
pea··on The father of all secrets: John le Carré’s daddy issues
What I liked about the 1979 TTSS and Smiley's People was that the riddles, characters, and relationships had ample space to be explored properly with unashamedly long, drawn out scenes and side stories. The atmosphere of it is just terrific. I think it's the best piece of television I've watched.

Thing is, that was 10 hours per season. It was a futile task to try and cram that into a film; more so than most series/books because it has a fucking confusing plot. It'd have lent itself better to 2/3 parts - and then onto Smiley's people, which IMHO is even better!

pea··on Beyond Meat is struggling, and the plant-based meat industry worries
Thanks for sharing, that's a good point!
pea··on Beyond Meat is struggling, and the plant-based meat industry worries
I'm not a vegetarian and I have a taste preference for meat on many dishes.
pea··on Beyond Meat is struggling, and the plant-based meat industry worries
I was wondering this the other day when eating a saag paneer curry instead of my normal meat-based order: why would anyone go through the motions to have fake chicken when you have multitudes of vegetarian options which can be treated similarly to how we treat meat in cooking. Paneer is not 'trying to be chicken', but it can be put in a curry or fried, so can serve a similar purpose -- but is distinctly delicious in its own right!
pea··on Is wine fake?
I blind-tasted wine competitively at an international level and it is pretty commonplace to identify region/sub-region/year/grape across 10 wines blind with ~80% accuracy. In fact, many tastings go further than this and you identify chateau/year from 10 wines from the same region - i.e. the Oxbridge teams mentioned there also do a blind tasting competition specifically on left bank Bordeaux. It's relatively straightforward to train yourself to do this. Note that the physical properties of the wine play heavily into this too (colour, reflection in light, viscosity are proxies for alcohol, age, grape, treatment). Additionally, having the requisite knowledge of "this wine would never be served this old, this wasn't a good year in this region because of x weather, this region only grows x,y,z" means you can deduce a lot from quite little information.

I do think people overfit on the colour piece though; you could definitely find some reds and whites which, if tasted without seeing the colour and at the same temperature, would be challenging to tell apart, more-so than differentiating between country/grape/region. I'm not sure what this really proves, apart from being counterintuitive.

That said, there is a lot of bullshit in market of people who buy and sell expensive wine (more so than the professional tasters and vineyards, who are usually genuine enthusiasts). Lots of cheaper wines may be more enjoyable, and wine flavour profiles are often full of weird signalling about what constitutes quality, i.e. "tasting note x is considered desirable/refined/distinguished, ergo it tastes better", which is nonsense and snobbery. Without any bias you might think expensive and old bordeaux tastes like an old boot, but if you've been trained that those specific flavour profiles are distinguished and desirable ('hints of leather and earth').

pea··on Launch HN: Kalshi (YC W19) – A regulated exchange for trading on events
Very cool. Asides from geography, how does this differ in implementation to something like Betfair (or Betfair Exchange) and the UK-based bookies who allow you to bet on things like political outcomes, who wins a reality TV show, etc?
pea··on Hollow City: Edward Hopper’s portraits of urban alienation
Thanks for sharing. While we are on the subject, how would you see someone like Rothko in this measure?
pea··on Meta Earning Results Q3 2022 [pdf]
The most baffling part of this is eating broccoli for breakfast. WTF?
pea··on I Fell 15,000 Feet and Lived (2009)
There was also a lady who fell 15,000 ft after two parachute malfunctions, only to land on a colony of fire ants who preceded to sting her back to life (apparently).

> Paramedics brought a barely conscious Joan to Carolinas Medical Center for emergency treatment. Doctors determined that repeated fire ant stings luckily shocked her heartbeat and stimulated her nerves. The insect assault kept her heart beating and her organs functioning long enough to keep her alive during transport, where she fell into a comatose state.

https://web.archive.org/web/20180313145230/skydiving.com/new...

← PreviousPage 3 of 9Next →