jonathanleane
It's just one hook - useReward() - that gives you 11 different particle effects: confetti, fireworks, sparkles, hearts, stars, bubbles, snow, emoji, coins, lightning, and flower petals. The whole thing is under 10KB gzipped with zero dependencies.
Demo: https://jonathanleane.github.io/partycles
The library is MIT licensed and on GitHub. Would love contributions - especially new animation types or performance improvements. The codebase is pretty straightforward, each animation is its own module.
I'm using it in production for success notifications and user achievements. Works great on mobile too.
Tech: TypeScript, React 16.8+, rollup for bundling. No canvas - just DOM elements with CSS transforms, which keeps it simple and performant.
Happy to answer any questions!
Show HN: I know it aint much, but I built what I think is a pretty fun word game
Show HN: I built Gridagram, a daily word puzzle, for my word-game-nerd wife
Hi HN - I'm excited (and a bit nervous!) to share a game I built called Gridagram.My wife is a huge word game nerd (Wordle, Spelling Bee, you name it!), and I wanted to create something fun for us to play daily that combined a couple of mechanics we enjoy: finding words in a grid and solving anagrams. It started as a personal project but evolved into something I thought others might enjoy...
Show HN: Kodo – Temporary, real-time translation chat app for my upcoming trip
Hey HN,My wife and I are heading to Thailand soon, and while we're learning some basics, I was thinking about those quick, everyday interactions where a language barrier can be awkward – asking for directions, ordering street food, chatting with a vendor, etc.I didn't want the friction of firing up a dedicated translation app each time or dealing with account signups for something temporary.So,...
Show HN: I also built a word game. My mom is indifferent, but I think its ccool
"In 1895, Bly married millionaire manufacturer Robert Seaman. Bly was 31 and Seaman was 73 when they married. Due to her husband's failing health, she left journalism and succeeded her husband as head of the Iron Clad Manufacturing Co., which made steel containers such as milk cans and boilers. Seaman died in 1904."
You can see more about her asylum expose here: https://blogs.loc.gov/headlinesandheroes/2022/11/nellie-bly-...
EDIT: Even better, the full book: https://digital.library.upenn.edu/women/bly/madhouse/madhous...
The prompt if anyone wants to try it:
• ENDEAVOR • CURB • NATIONAL • BOARDWALK • HERTZ • TWIN • MOLE • ENTERPRISE • SILICON • PROJECT • TIGER • VOLT • GAME • RAY • SECOND • VENTURE
Its a game of NY Times connections. You need to make 4 groups of 4 words. Can you do it?
"Dementia occurred among 96 of 730 participants (13.2%) with adult ADHD and 7630 of 108 488 participants (7.0%) without adult ADHD."
Ask HN: A free open-source 'kickstarter-esque' platform for citizen scientists
Imagine you're a curious citizen scientist and you want to test a hypothesis or examine the relationship between things... For example, you've read a million times that exercise is good for mood, but you'd like to know whether different types of exercises impact mood improvements differently. Maybe standard cardio vs HIIT vs weight training.You could do the standard n=1 thing where you conduct...
Have had numerous experiences where hosts have had to 'sneak' me in because their building banned short term rentals. None of this was disclosed in advance, and no doubt it's in Airbnb's best interests to look the other way.
As others have mentioned, there's often not much of a price differential anymore, and hotels typically have their shit together way more than the average Airbnb host.
But I think the jury's out on that. Check out https://pubmed.ncbi.nlm.nih.gov/24282867/
No idea how legit this research is though - I think one of the authors works for WaterPik, so take it with a grain of salt :)
Either way, I know I'm too lazy for string flossing, so for me it's either the WaterPik or nothing.
I know the obvious answer is debt, but that only holds if you can lock in an interest rate.
I could basically never be bothered to floss the conventional way, but water flossing has become part of my nightly routine.
The amount of gunk that comes out from between your teeth even after brushing is pretty staggering.
Anyone in Sydney want to go for a beer?
I think my biggest since issue was - and probably continues to be - very poor work/life balance (no hobbies, basically no social life outside of work, etc). Obviously it's hard to disentangle cause and effect, but I suspect a prerequisite for getting burnout is having a mania or hyper-fixation on work.
And yeah - very powerful piece of writing. She's a published fantasy author and I'm going to try one of her novels (https://www.goodreads.com/book/show/77197.Assassin_s_Apprent...)
I'm in a somewhat similar situation to you, but replace the 3 years with 10 years. I had many periods of 'minor' burnout along the way that I ignored or ploughed through, which in hindsight was a pretty big mistake.
Around August last year I just couldn't continue. I wasn't sleeping, I was frequently run down, and I was self-medicating more and more with drugs and alcohol. It eventually got to the point where simply opening my laptop would elicit a fight or flight response.
I was lucky enough to be in a secure enough financial situation to largely take 6 months off. If you're in a position to do this, I highly recommend it.
I uninstalled gmail, slack, etc. from my phone. I considered getting a dumb phone, but settled for turning off push notifications for everything instead. I went away with my girlfriend for a week and left all my tech at home except for my kindle (literally the first time I've been disconnected for more than a couple of days in probably 20 years). I exercised as much as possible and spent time in nature going for walks, etc.
I've been back at it part time for the last few months. Gradually I felt the feelings of burnout being replaced with feelings of boredom, which is hopefully my brain's way of saying that it's starting to repair itself and ready to slowly return to work.
I'm still nowhere near back to peak productivity, but I'm starting to come to terms with the fact that I may never get back there. I'm 36 and probably would have dropped dead of overwork by 50 if I kept up the tempo of the last 10 years anyway.
I'm not 'cured' by any means, but I believe things are slowly getting better.
My advice to you is to be kind and patient with yourself. Try not to stress about not having a side-project, and instead just focus on self-care for a while. Someone posted this on HN a few weeks back and it really hit close to home for me: http://www.robinhobb.com/blog/posts/38429
I haven't watched the movie in 25 years, but from memory the premise is that corporations use human brains as organic/wetware hard drives to transfer information because hardware-only storage has largely maxed out or would be too cumbersome for information smuggling.
In the movie, the base storage capacity of the human brain is said to be 80gb, though the protagonist is able to increase his storage capacity to 320gb by using a cybernetic implant and agreeing to dump a bunch of his childhood memories to make extra room.
This seemed like a ludicrous amount of data to 10 year old me. Our recently purchased top of the line 486 had a 400MB hard drive, so the amount of data stored in Keanu's head was nearly 3 orders of magnitude more.
Exponential growth is a hell of thing.
One of the problems with the concept of antifragility that I didn't see addressed in the book is that things are only ever antifragile up to a point. Enough volatility will overwhelm even the most antifragile system eventually, and probably without warning.
For example, exercise is antifragile right up until the point that you overdo it and blow your back out. Evolution is antifragile right up until the sun goes supernova.
If there's no way to know in advance how much volatility an antifragile system can endure before it reverts to being merely fragile, the idea has a lot less practical value.