Better HN
topnewbestaskshowjobs
Log inSign up

jastr

561 karma · joined Nov 21, 2011 (15y ago) · 202 submissions

CSV Explorer - Open CSVs with millions of rows <https://www.CSVExplorer.com>

The Simple Postcard - Text a photo to send it as a postcard <https://www.TheSimplePostcard.com>

Pretty Print Please - Pretty Print Invalid JSON <https://PrettyPrintPlease.com>

jason (an @ sign) csvexplorer.com

Submissions

comment 5mo ago · link · parent

Back in college, I thought I could compress my phone number by telling people its index in pi, but my 7 digit phone number is at an 8 digit index.

I didn’t have the compute to find my 10 digit number with the area code.

comment 9mo ago · link · parent

I had this too until I lowered it's memory limit. In ~/.duckdbrc `set max_memory='1GB';` or even less

comment 9mo ago · link · parent

By default, it tries to take 80% of your memory. I've found that you need to set it to something much smaller in ~/.duckdbrc `set max_memory='1GB';`

comment 4y ago · link · parent

You can be my first user!

https://postgraphs.com/ - it’s an old weekend project of mine that I’d like to finish up soon

5.

Gomp – A small CLI to compare Git branches, for rebase based workflows(github.com ↗)

3 points · by jastr · 4y ago · discuss

comment 4y ago · link · parent

Similarly, watch a random walk solving a maze https://stripenight.com/random_walk.html

comment 4y ago · link · parent

The best way to get software engineers to solve your issue with X is to phrase your question “Why is X so horrible? It can’t even do Y.”

The engineers will inevitably reply “That’s so simple. You just need to …”

The ecosystem for managing python dependencies has improved a lot: pyenv, virtualenv, poetry.

PATH isn’t innate to Python. Understanding PATH will definitely help with other issues in the future.

comment 4y ago · link · parent

I hadn't heard of Opera Unite. It's similar and 10+ years older!

Thanks for the kind words - friends have been mostly confused by this project.

9.

Show HN: WindowHandler – Serverless functions that run in your browser(windowhandler.com ↗)

4 points · by jastr · 4y ago · 2 comments

comment 4y ago · link · parent

Heroku's github integration has been down for 2 weeks

11.

Rethinking Mobile App Monitoring(blog.logrocket.com ↗)

18 points · by jastr · 4y ago · 5 comments

comment 4y ago · link · parent

> there's actually proportionally less failures in Product Hunts busiest period

This is a really interesting post! I think there's a little survivorship bias. As Product Hunt grew 2015-2017, users posted old projects of theirs which were already popular and successful.

comment 4y ago · link · parent

This is advice that seems reasonable but is actually pretty harmful.

Take a startup with a few users. The senior engineer decides they need pub/sub to ship a new feature. With Kafka, the team goes to learn about Kafka best practices, choose client libraries, and learn the Kafka quirks. They also need to spin up Kafka instances. They ship it in a month.

With postgres, they’ve got an MVP in a day, and shipped within a week.

comment 4y ago · link · parent

This is a neat idea, but I think the site is a bit too barebones for people to want to trust with their data.

comment 4y ago · link · parent

The article does a good job of explaining the difference between WHERE and HAVING. The simplest resource I've found for this is Julia Evans' "SQL queries run in this order" [0], which points out for example that SELECTs are one of the last things to run in a query.

I've managed software teams and data engineering teams, and both teams get tripped up with even moderate SQL queries. To simplify, we encouraged teams to use a clearer subset of SQL. Most HAVING can be replaced with a WHERE inside a more readable and explicit subquery. Similarly, we got rid of most RIGHT JOINS.

[0] https://jvns.ca/blog/2019/10/03/sql-queries-don-t-start-with...

comment 4y ago · link · parent

This is quite a bit of infrastructure for an app that hasn't launched yet. If it's not too late, consider simplifying by removing RabbitMQ or Redis. Perhaps even getting rid of both, and only using MySQL. Maybe your workers could become cron-jobs or threads.

For hosting, consider Heroku and Heroku add-ons for MySQL, Redis, and RabbitMQ. You could run workers in Heroku as well.

It would be possible to run this entirely in a VPS as well and fairly straightforward. I've also had success running the web app (with postgres and redis) in Heroku but the workers on a VPS.

comment 4y ago · link · parent

When you first hear Tailwind's concepts, they seem to contradict everything you know about good software design. When you try it out and begin to remember some of the class names, you get into a great state of flow - it's the high developers are always chasing.

I can't help but feel that Tailwind detractors have never actually tried Tailwind or are too square to give it a chance.

comment 5y ago · link · parent

Hi HN! This was a python script I used on the command line for a while, before spending a weekend converting it to a microsite.

Pretty print json with single quotes or None or anything that looks like json, like python dictionaries/arrays or anything that PHP can spit out.

19.

Show HN: Pretty print invalid JSON (or anything that looks sort of like JSON)(prettyprintplease.com ↗)

9 points · by jastr · 5y ago · 4 comments

comment 5y ago · link · parent

Lots of developers believe that if they think hard enough and choose the right side project, it will succeed.

I think the takeaway here is that chance plays a big role. So increase your chances by shippings lots of projects. And a tip to ship several projects is to stay emotionally, physically, and financially healthy.

21.

Invoke Lambda functions directly from Postgres(docs.aws.amazon.com ↗)

10 points · by jastr · 5y ago · 2 comments

comment 5y ago · link · parent

Browser extensions will redirect HTTP to HTTPS as the request is made, so CoffeeShopWifi can't help you there.

Most sites will send a redirect to HTTPS, which CoffeeShopWifi does not.

So I decided it's safe to make a cert and support HTTPS.

comment 5y ago · link · parent

Neat to see all the alternatives. I'm not sure what non-technical folks do when faced with this problem, so I picked a friendly domain name.

Ironically, if CoffeeShopWifi.com works successfully, the users won't see it.

24.

CoffeeShopWifi.com – An HTTP website for connecting to guest WiFi(coffeeshopwifi.com ↗)

133 points · by jastr · 5y ago · 83 comments

comment 5y ago · link · parent

Hi HN, PrettyPrintPlease is a small weekend project that I’m excited to share.

I work at a hardware company and spent a few months with our logistics team integrating a lot of outdated APIs to automate moving hardware around the world. APIs to check shipping rates, taxes/duties, international banned entity lists, etc!

You wouldn’t imagine the horrendous software these logistics companies use. Pretty printing invalid json has been tremendously helpful for debugging issues!

26.

PrettyPrintPlease – Pretty Print Invalid JSON(prettyprintplease.com ↗)

3 points · by jastr · 5y ago · 1 comment

comment 6y ago · link · parent

https://PopcornNotify.com - API for sending email and text messages. About 3 weeks of work, making a little money.

https://CSVExplorer.com - Web app for opening big CSV files. Months of work to build, but now just a few hours of support a week.

https://TheSimplePostcard.com - Send Postcards via text message. A few weeks of work, now mostly passive.

28.

A quick tip for working with a large codebase at a new job(twitter.com ↗)

1 points · by jastr · 6y ago · discuss

comment 6y ago · link · parent

I have a saas for non-devs to open big CSVs, so code I've written has parsed thousands of garbage CSVs (and failed to parse thousands others).

Lots of pitfalls are easy to avoid if you already know them, which it sounds like you do. The author is saying that most engineers aren't aware of these issues, and the author is correct.

Writing a for loop is easy, but so is using a language's built in CSV writer.

30.

The Centers for Medicare and Medicaid's CSS Is Stuck in Kathy's Downloads Folder(download.cms.gov ↗)

2 points · by jastr · 6y ago · discuss

1234567