News for hackers. Stuff that matters.

hailpixel

Default HN theme background color.
I LOVE when people geek out about the most simple mathematical things*, especially discovering the animation power of the trigonometric functions... or any of mathematics underlying modern interactive stuff. It's one thing to know what they do, it's another to understand the power of that tool.

* I wrote a similar article around making "blobs" a while back: https://www.hailpixel.com/articles/generative-art-simple-mat...

Always love a fun quiz, but some of the example answers are just incorrect. Eg: `document.example('example')` to select a HTML button element. Others are to rigid to allow the true breadth of correct answers.

Ya'll might want to switch from V0 to claude code.

Re:My approach to running a link blog on Monday January 06, 2025 @05:23AM (#42609318)
Simon's site runs on Django: https://github.com/simonw/simonwillisonblog, which is unsurprising as he is one of Django's co-creators.

But I agree with you, a great use case for a Next.js-esque static site.

I also went for 0% speedrun challenge.
AskUI could be a solution. It's also not just in browser, but the whole desktop: https://github.com/askui/vision-agent
I love this genre, and there is such a plethora of interesting reads. I think one of the most interesting, in terms of presenting technology's role in varied societies, is A Fire Upon the Deep by Vernor Vinge. Great read if you are bored of the classic space opera.
In case you missed it, the current leader is `tRNA`: https://www.cellar-door.co.uk/leaderboard

Which, isn't even a word, but I enjoy the internet doing classic internet things.

Edit: It is now `no`. Amazing.

Re:Show HN: Product Hunt for Music on Wednesday July 17, 2024 @04:46PM (#40990168)
Amazing, history does repeat itself. One of the companies in my batch (S07) was iJigg (https://www.crunchbase.com/organization/ijigg), which had the 2007's version of this interface: single upvote, player, and all. It did well and then petered out as many hyper-niche apps did at that time.

Best of luck with this version!

Re:Gigantic Aluminium Spiders on Thursday March 28, 2024 @11:03AM (#39852486)
You know, I like giant industrial projects and all, but based on the headline I was expecting something a little more exciting.

Anyway, neat crane idea.

Re:My favourite animation trick: exponential smoothing on Friday March 08, 2024 @08:46AM (#39640985)
Love this article. I wrote basically the exact same technique almost 10 years ago. At the time I called it `lazy-easy` and still use it today. Sometimes you just want some nice smooth animation without all the state management: https://www.hailpixel.com/articles/lazy-animation-with-lazy-...
Re:John Locke's recipe for Pancakes (2021) on Tuesday February 13, 2024 @09:51AM (#39358101)
The main reason you prepare crêpe batter long before you want to use it is two fold: 1. Allows a bit of gluten development (like cold ferment in bread) 2. And (i believe) most importantly: it allows all the air that was incorporated during whisking to escape, resulting in an even batter

Always wondering if you could just stick it in a vacuum pump...

Re:Ask HN: Best tools for self-authoring books in 2023? on Tuesday October 10, 2023 @10:52AM (#37832870)
Honestly, whatever suite of tools allows you to organize your research, thoughts, and easily write text. Remove as much friction as possible. When we wrote The Workshop Survival Guide (https://www.workshopsurvival.com/), we used post-it notes on a wall and google docs. It allowed for a fluid collaboration.

On a more meta note, how you approach writing your book is probably more impactful than your toolchain. If you're working on a book that educates (rather than, say, entertains), I'd like to share the writing framework that my longtime collaborator, robfitz, describes in Write Useful Books (https://www.usefulbooks.com/). Basically, treat your book like a product, find your audience, and test your subject matter with them as your craft your prose.

* Disclaimer: Rob and I run Useful Books, a community and toolset for non-fiction authors.

Re:Why Tailwind CSS Won on Wednesday August 16, 2023 @06:43AM (#37145143)
I love tailwind, and I've been writing CSS professionally since CSS2.1. I have often debated with many developer friends why it has performed so well, and this article really missed some big reasons:

1. It's works extremely well with the current component-focused UI frameworks (react, svelte, etc). Subsequently, the verboseness that is often a complaint isn't an issue at all, but a feature.

2. Does everything out of the box, and very easy to customize.

3. And, most importantly, it allows for easy art direction. Does one button need to be a slightly different size or color for this one specific element? Chuck an extra modular class on it. No need to build a complex cascasding or edge cases. (Shout out to `tailwind-merge`)

Point 3 for me speeds up production work immensely. Also, not being in JS has shrunk bundle sizes by a small amount, which is always welcome in this era.

Re:Generating Fashion Using AI on Saturday September 03, 2022 @04:48AM (#32699994)
I love that the author shows the whole workflow. It highlights how much tweaking and work it takes to achieve a polished output. Still amazing how easy it was to chain the networks together.
it's me.
Re:Ask HN: Your admittedly useless side projects? on Friday June 24, 2022 @08:23AM (#31860696)
You can't just share this and then not linked to the project. Bandcamp please!
Re:Happy 15th birthday Hacker News on Friday February 18, 2022 @07:37AM (#30384963)
Oh wow, I've been on here a long time.
Re:Pollinator Pathmaker on Friday November 05, 2021 @05:37AM (#29117102)
This is surprisingly delightful! Something so simple as trying to match what I find aesthetically pleasing and what is a productive, bug friendly garden is a very fun task. Like an organic Factorio.
Re:Back to EU on Wednesday October 13, 2021 @08:49AM (#28851431)
An expected result from a sad, populist ideology shoved through under the guise of "winning". GDPR has plenty of flaws, but overall is a positive force for personal data privacy. Ironically, it's the business-to-business context — where the legal fees and fines are high — where this is being tested. And the UK is definitely losing.
I love this app's approach to responsive design: just show the "safe" area and let people throw elements where ever. So liberating.
Re:Products I Wish Existed on Monday January 06, 2020 @11:06AM (#21970177)
> 1. Trinet for full-time remote/distributed workers.

[Boundless](https://boundlesshq.com/) is a startup that is tackling this exact problem through automating the entire "employe(e/r) of record" process.

Re:How to launch, startup playbook and cost calculator on Wednesday October 18, 2017 @05:37AM (#15497894)
I'm not sure what this site is trying to be. The playbook just contains generic steps of a lean / startup process. The calculator seems to be a deal funnel for a consultancy which again is loose and amorphous.

Who's the audience here?

Older »