HNHacker News
TopNewBestAskShowJobs

shubhamjain

10,569 karma · joined December 28, 2012

Web geek. Love tinkering, building, and learning.

Currently working on: https://textquery.app/

-------------------------------------------

Blog: https://shubhamjain.co

Email: hi [at] shubhamjain.co

Twitter: @shubhamjainco

submissionscomments
shubhamjain··on A wonderful coincidence or an expected connection: why π² ≈ g
What an amazing post! Such an interesting investigation. These kinds of write-ups make me realize how truly far we are from AGI. Sure, it can write amazing code, poems, songs, but can it draw interesting conclusions from first principles? I asked both ChatGPT and Claude, the same question, and both failed at pointing out the connection the author states.

This is not to deride feats of AI today, and I am sure it will transform the world. But until it can show signs of human ingenuity in making unexpected and far-off connections like these, I won't be convinced we are nearing AGI.

shubhamjain··on CrowdStrike Update: Windows Bluescreen and Boot Loops
Naive question, if it’s a blue screen of death with a boot loop, how are they going to restore things? Don’t tell me the answer is going to every system manually.
shubhamjain··on Ask HN: Do dead YC companies sell their brands/IP?
I have no inside knowledge, but I'd guess that if those are valuable, they probably acquired. If not, those things won't amount to much. Sure, you could sell your brand and domain and fetch a couple of thousand dollars, but would that be worth the effort and risk of someone using your (even if dead) brand to do illegal stuff? I guess not! It's better to just write the whole thing off.
shubhamjain··on DuckDB Community Extensions
Honest question, how feasible it would be for DuckDB to release a non-columnar version of their DB (or at least make DuckDB a decent choice for a typical web app)? I don't know any other DB that makes installing extensions this easy. The rate at which they're shipping awesome features makes me wonder if they could eventually become a great generic database.

I know, I know, this could just as easily be a double-edged sword. A database should prioritize stability above everything else, but there is no reason why we shouldn't expect them to reach there.

shubhamjain··on Humane AI – Pico Laser Projection – AI Twist on an Old Scam (2023)
I take issue with the word "scam", but other than, a very well-done rebuttal. It's not just v1 issue, Humane is a product of the most brainless assumptions you can make:

a) That a palm-size laser projector could work as a display.

b) That awkward hand gestures are a great way to navigate UI

c) That voice could work as a primary input.

d) That people would be willing to pay $700 and a monthly subscription for a device that barely works.

It's at par or even worse than Juicero. The team and its supporters should stop hiding behind "it's v1", and "we were trying to invent a new paradigm." The device has to be promising now, not in some imaginary future. And trying to invent shouldn't mean you're going to forgo questioning the basic foundational ideas.

shubhamjain··on Show HN: I created a nicer-looking alternative to Excel's charts
I think there's some confusion. I am selling a Mac app, that's $39. This tool I posted is completely free and will remain so.
shubhamjain··on The Reddits
> There needed to be something like del.icio.us/popular, but designed for sharing links instead of being a byproduct of saving them.

I am kind of surprised that the idea was Paul Graham's. I always assumed that it was Steve and Alex who came up with it. Considering HN was also started by PG, which has survived and grown with just a few changes every year, I think he has a unique talent for creating lasting online communities. It's not an easy task, btw.

shubhamjain··on Goto Is Not a Horror
Linus Torvalds on Gotos[1]:

> I think goto's are fine, and they are often more readable than large amounts of indentation. That's _especially_ true if the code flow isn't actually naturally indented (in this case it is, so I don't think using goto is in any way _clearer_ than not, but in general goto's can be quite good for readability).

[1]: https://koblents.com/Ches/Links/Month-Mar-2013/20-Using-Goto...

shubhamjain··on Google fined €250M in France for breaching intellectual property deal
Because most of those comments are unoriginal, one lined, and low on substance. Realize that “boooooo! mega corp” is not a valuable opinion in any discussion.
shubhamjain··on Google fined €250M in France for breaching intellectual property deal
> The competition authority said Google’s AI-powered chatbot Bard – since rebranded as Gemini – was trained on content from publishers and news agencies without notifying them.

An important reason—amongst others—why projects like ChatGPT cannot be conceived inside Google anymore. Yeah, it's sad how legal, privacy, and compliance teams have expanded to obstruct any significant engineering project, but there are genuine reasons why.

shubhamjain··on How to Start Google
Do you have any sources for this? If he knew it was going to be this huge, why were they looking for an acquisition for north of a million dollars? On AGI: are you referencing this clip? [1] To me, it seems like an ordinary vision when you stretch your imagination. He didn't have any realistic idea how Google might achieve AGI, just something that could happen in the future. And this was in 2000. Google, I imagine, was pretty successful by then.

Larry Page's original ambition was to digitize books and knowledge in the world [2].

> Page had always wanted to digitize books. Way back in 1996, the student project that eventually became Google—a “crawler” that would ingest documents and rank them for relevance against a user’s query—was actually conceived as part of an effort “to develop the enabling technologies for a single, integrated and universal digital library.”

[1]: https://twitter.com/jam3scampbell/status/1608270969763729415

[2]: https://www.theatlantic.com/technology/archive/2017/04/the-t...

shubhamjain··on Ask HN: Do you also marvel at the complexity of everyday objects?
You might be interested in the article: Reality has a surprising amount of detail[1].

> It’s tempting to think ‘So what?’ and dismiss these details as incidental or specific to stair carpentry. And they are specific to stair carpentry; that’s what makes them details. But the existence of a surprising number of meaningful details is not specific to stairs. Surprising detail is a near universal property of getting up close and personal with reality.

Yes, it's a marvel how the world functions at all. I speculate even a simple toothbrush is a result of coordination between dozens of supply chains. Even a safety pin is a marvel of engineering. Of course, it can easily be explained by humans' ability to specialize and coordinate in really large numbers. Yet, it doesn't take away the fact that how far we have come.

[1]: http://johnsalvatier.org/blog/2017/reality-has-a-surprising-...

shubhamjain··on Estimating Software Projects: So you messed up. Now what? (2021)
There is a difference in a "project" in your example and a "project" within a company (usually of a smaller scope and up for modifications). My opinion is that estimates are bound to be missed when there is so much scope for unknown variables creeping in.
shubhamjain··on Estimating Software Projects: So you messed up. Now what? (2021)
> That estimate turned out to be wildly incorrect. The project ended up taking a year longer than I’d originally projected. The reasons are complex; the short version is that I made some major technical assumptions that turned out to be wildly incorrect. Several large architectural changes I’d thought we could avoid turned out to be unavoidable, adding all sorts of dependencies and additional work to the project.

Honestly, I can't help but judge either the company or the author. What kind of project ends up taking more than a year to complete? Wait... it's "a year longer than I’d originally projected." So what was the original estimate? Six months? It doesn't matter how complex it was. If it is taking that long, the project should have been a smaller piece of what was planned.

The author talks about re-estimating, communicating early, and owning up to your mistakes, which is all fine advice, but what if the project itself was too ambitious, and too broad to have a reasonable estimate?

shubhamjain··on I'm excited about Darklang
I happen to know when exactly this project was launched. And it was quite surprising to hear about it again, since it fell completely off the radar. Darklang came about the time when the backend was being seen as the bottleneck. The writing endpoints, server administration, deployments—"too many things to do commit simple operations on a database." Many products were launched to solve the issue, like Graph.cool (backends using GraphQL). Few other startups were about creating backends using drag-and-drop components (don't recall the names).

Things have changed now. People have started realizing the problems with such approaches. As soon as you grow beyond the experimental stage, you start running into more issues than what these solutions claim to solve. It's cool to create a simple backend without writing code/less-code, but what if you want to incorporate an integration? caching? mail-server? background jobs?

I am old enough to remember Meteor.js, too. A JS framework that raises millions and it was about writing real-time applications with a single codebase. It met the same fate. Felt into oblivion in a few years after the initial hype.

Pardon my pessimistic take, but I see no future for a different language taking off, no matter how high-level primitives it offers. The network effects are too hard to overcome. And honestly, a language, even if mediocre, can implement the same thing via libraries.

shubhamjain··on Show HN: Query Your Sheets with SheetSQL
The problem is you need to create a table with the correct data types first, which can be time-consuming. Additionally, using CLI can be a bit cumbersome to use, especially if it involves quering multiple tables, or using joins. I don't want to point to the infamous "dropbox" comment [1], but it's important to understand that many folks just want a friendly interface where they can put in a URL/file, and start querying.

This is the exact reason I built TextQuery [2], which solves a similar problem as OP's. I just wanted a simple app where I could drop a CSV and start SQL querying it, without creating schemas or writing code/commands.

[1]: https://news.ycombinator.com/item?id=8863

[2]: https://textquery.app/

shubhamjain··on Ask HN: How do you optimize your focus?
I believe it's fruitless to try to reach that state. Because the harder you try, more difficult it is to reach. I have been in the zone working on a messy desk, with tons of distractions around. And I have failed to be in the zone with all my website-blocking apps and having my phone away.

You get into the zone because you're obsessed with a problem or an idea. It's the key to being in the flow. Too many people try to optimize the environment, when it helps only a little.

Unfortunately, I only have a little clue how to trigger it. But I do know that what you're working on is the most important part. In addition to that journaling, reading, and meditation help. Other than that, it's okay to leave these things to chance and not try too hard.

shubhamjain··on Show HN: I made a free animator. Think Adobe Illustrator but for animation
This is awesome. Great job! I love the simplicity of the whole thing. I was able to figure out the tool in a minute. Compare that to professional software, which can have a scary complexity. I think it'd be a great educational tool. Kids would love to experiment with it.
shubhamjain··on Read it never
I disagree with the premise. Sure, you don't need to cross-off each and everything in your bookmarks, but they are an excellent way when you want to read something mildly interesting.

> Knowledge is an expiring asset, you might remember a few things now, but, slowly gradually, you’ll be at a point where you remember nothing of it and it’s just like you never read it. In which case, when you need that information you will go and read it and you will then, read more documents around the subject, you will be in the context that’s why you’ll remember it(for a long time).

This is a really bad assumption. Sure, you won't remember most of it, but a few ideas here and there are enough to store a hook in your memory which will be useful when you need the knowledge. Like, I have only a very superficial idea about color theory, but I do recall a long, well-written article on the subject that I read here on HN. If I do regain an interest in the subject, I will search and read it again, and the knowledge will come back to me more efficiently vs if I had not read it at all.

shubhamjain··on Where I'm at on the whole CSS-Tricks thing
I think CSS-Tricks was a big blunder on DigitalOcean's side. That explains why they pulled the plug on all their resources. They believed they could get sizeable traffic towards DigitalOcean and their products, but soon they realized (or some marketing/strategy person in the company proved it) that the audience that cares about CSS and front-end won't likely be buying their products. Because if it was giving them the ROI, I see no reason why they would cut off all the resources. Their tutorials work because most of them are related to server administration that directly brings programmers who might be interested in DO's products.

Chris's proposal was a wild shot, but I do think the best way to move forward is to write-off the acquisition and either give it away or sell it. Otherwise, the site risks dying out slowly.

shubhamjain··on The "End of Programming" will look a lot like programming (2023)
The article gave me a deja-vu about the no-code wave a few years back and an excellent article I read on the subject [1]

> The logic doesn’t go away. Just because a decision is embedded into the wiring of a Zapier rule doesn’t remove any of the burden of maintenance / correctness.

Of course, AI is a lot more powerful than no-code, but the "End of Programming" suffers from the same delusion. If AI can reliably make every decision around engineering, design, and product, it would be capable of doing every task in the world. It's surprising that so many engineers believe writing things in plain text would obviate the need to learn programming.

[1]: https://www.alexhudson.com/2020/01/13/the-no-code-delusion/

shubhamjain··on Learn CSS layout the pedantic way (2015)
I find articles like this daunting, even when it predates CSS Grid which has made CSS Layouting even more complex. I have been a web developer for 10 years, and I still feel out of depth about CSS. How it all works, obscure edge cases, internals, and the sheer number of features in there. I wrote about it recently [1]

> I hadn’t even completely caught up with the intricacies of Grid Layouting, when subgrid and container queries were shipped. Several of the newly added properties handle cases so specific that I hardly believe I would ever use them (hanging-punctuation and font-palette, for example).

> Here’s more: there are at least three properties related to hyphenating paragraphs. You might have used the filter property, but did you know that it supports an entirely different class of filters using SVG? Or that you can tweak the image scaling algorithm? Or border-radius support elliptical corners?

Of course, you can say that about any technology, but CSS is different. It handles too many things, in too many ways, and changes too much, too fast.

[1]: https://shubhamjain.co/2024/02/19/css-impossible-thats-okay/

shubhamjain··on Ask HN: I don't use AI. What exactly am I missing out on?
I am a bit of a greybeard around new tools, and even today my usage of ChatGPT is limited, so I will give my 2c. You're right, in most cases, Google + Github search is faster to achieve a certain task vs typing out your problem and waiting for ChatGPT to generate results (personal opinion). Nonetheless, here are a few things where ChatGPT saves a lot of time:

1. Generating config files: Eg, Webpack, Docker-compose. Describe your use-case and it will generate the config file you need. This is usually faster than perusing docs and looking for specific flags/options.

2. Generating CLI syntax: jq, cat, tar, find. The flags/syntax are so hard to remember when you want to do something specific. ChatGPT does a great job here in quickly generating the command you want.

3. Solving problems when you're stuck: When I feel stuck with a problem or an error message, ChatGPT has proven to be an invaluable resource. Even when the answer it gave was wrong, a little hint in there was enough for me to find the solution I needed.

4. Generating functions you're too lazy to write: Often, you know how to write a function but you're too damn lazy to write it. Eg, use axios, go to this URL, get the contents and write it to CSV. Writing a function to do this feels like a chore. ChatGPT is a helpful assistant in this case.

Overall, I think there are plenty of ways the tool can save you time, even if you're skeptical about changing your whole workflow.

shubhamjain··on Serverless Horrors
Everyone in this thread is talking about how this is not a Serverless problem, but a cloud problem. That's correct, but the point stands. Bandwidth is pure margin and to me, it's a bit scummy to a) charge this much for bandwidth and b) offer no tools to combat attacks that aren't in the customer's control. According to this thread[1], Netlify doesn't even have an option to take a site down for a while if it's under DDoS attack.

Netlify has multiple options to solve the problem: billing controls, request throttling, setting bandwidth limit, and waving of overages if it was a genuine DDoS, but it doesn't seem they are interested because that'd be like killing the golden goose. Just look at all the things bunny.net CDN offers [2].

It's disappointing how we acquiesce to explanations of cloud providers that are motivated by nothing other than greed.

[1]: https://answers.netlify.com/t/limiting-bandwidth-traffic-to-...

[2]: https://support.bunny.net/hc/en-us/articles/360014190440-Und...

shubhamjain··on Attention deficits linked with proclivity to explore while foraging
I dislike theories like this; how ADHD, and depression could be mechanisms that evolved because of some evolutionary advantage they give us. I am not denying that could be the case, but living in a world full of stimulation everywhere is vastly different from living in a hunter-gatherer commune. ADHD could just be a neurological defect that never manifested itself in a quiet communal lifestyle, and become pronounced with modern technology.

I don't think there's much point in theorizing how it could've offered an evolutionary advantage, because even if ADHD existed at that time, it would be very, very different from what it is today.

shubhamjain··on It's OK to abandon your side-project
Some projects are purely experimental, while some carry the hope that they can be monetized. My point is that I have a habit of abandoning hobbies, books, writing draft, and side-projects altogether thinking my motivation for them has been lost. I don't believe one should force themselves to finish things, but lost motivation is sometimes temporary or a sign of picking up not-so-good ideas. Realizing that and figuring out ways to sustain motivation is an important meta-skill.
shubhamjain··on It's OK to abandon your side-project
It's a fair point, but I often see all the ideas I abandoned and realize how some of them could have become profitable had I persisted and not lost motivation. Even a tiny setback (say, no response on Hacker News) was enough for me to stop working on the idea, and start working on something new. Of course, you learn a lot along the way, but to have a successful side-hustle you need to learn to sustain and channel the motivation.

As a creative person, motivation is a wild beast for me. Once I lose it for a project, reviving it feels impossible. But the mindset is a bit troubling. I don't think I would ever work on a project long-term working this way. So, while it's okay to abandon your side-project, it's important to make a mental note of why you're abandoning your project and if you can work on something better next time.

shubhamjain··on UI is a function of your organization
My bad! I raced through the article, skipping the important bit.
shubhamjain··on UI is a function of your organization
The whole post is based on a questionable assumption that Domino Pizza Tracker accurately reflects the status of the Pizza, when it could just be a dumb timer based on a statistical average. Sure, the Pizza Delivery person in the last step has to be accurate, but that's simpler than tracking if the Pizza is in the oven. As for the point itself, I think the real-time status tracking is a very, very small subset of UIs. Yes, it's difficult to deliver if the organization isn't designed around this, but most sucky UIs aren't limited by not having the data.
shubhamjain··on Pulsar, the best code editor since Atom
I don't understand what the author bases his claim on. Pulsar is based on Electron, so it isn't going to be faster than VS Code. And taking a quick look, it's way behind VS Code in terms of features. It doesn't even have a built-in terminal.

If you want to use anything other than VS Code as an editor, why not pick something based on native technologies? What's the point of picking an editor that takes 6-8 seconds to start and still is way behind VS Code in terms of development?

← PreviousPage 5 of 30Next →