rexxars

Joined 12 years ago

Karma
74
Submissions
15
Member since
Aug 13
meet.hn/city/us-Berkeley Socials: - x.com/rexxars ---
View on Hacker News

Recent submissions

Comment · 1 month ago
Note that while the underlying birdnet-go project started as BirdNET only, it can now use Google Perch v2, BattyBirdNET (for bats!) and other models in the future. It's a really cool project!
Comment · 1 year ago
Comment · 1 year ago
No blog posts published yet, but React 19 is now `latest` on npm!
Comment · 2 years ago
The EventSource API (the browser "client API" for Server-Sent Events) leaves a lot to be desired. While I am a maintainer of the most used EventSource polyfill[1], I've recently started a new project that aims to be a modern take on what an EventSource client could be: https://github.com/rexxars/eventsource-client.

Beyond handling the custom headers aspect, it also supports any request method (POST, PATCH..), allows you to include a request body, allows subscribing to any named event (the EventSource `onmessage` vs `on('named event')` is very confusing), as well as setting an initial last event ID (which can be helpful when restoring state after a reload or similar). And you can use it as an async iterator.

I love the simplicity of Server-Sent Events, but the `EventSource` API seem to me like a rushed implementation that just kinda stuck around.

[1]: https://github.com/eventsource/eventsource

Comment · 3 years ago
I own the C1, and while I’m no big fan of the software - the quality is significantly better and makes it worth it in my opinion. I have occasional connection issues when I plug it in, but it usually settles after a few seconds.

Most importantly, the new camera does not need any software - it’s just a high quality webcam.

Comment · 3 years ago
Seems to be hugged to death - every request I run ends in a 500/504 - and there is no error handling to display an error when it happens.

What is the backing AI/data source? I tried using ChatGPT for this, but given it's cutoff is September 2021 it doesn't really give you the most relevant hardware.

Comment · 4 years ago
Hmm, this was proposed 10 years ago by David Keith: https://mashable.com/archive/arctic-global-warming

I wonder what has changed, apart from going from $8 billion to $11 billion.

Comment · 4 years ago
While your memory might be great now, it won't be so forever. Serendipity might not happen as often as you would like, and "important things" may not be all you want to remember.

I'm sure your parents or someone from their generation have actual, physical photo albums from their past - and that the experience of browsing through these photos brings back things that they haven't necessarily _forgotten_ about, but that they wouldn't have brought into active memory unless they were browsing through them.

Over the years I have experienced and built many things that I do not deem "important" to me, yet when I see them mentioned (even in writings by myself), it takes me back to that point in time - all the feelings, learning and discoveries that it brought to life.

An example is scrolling through a list of my repositories on GitHub. Some of the projects on there I have "forgotten" about, but with the mention of it I am instantly brought back and remember a whole lot more details - motivations, feelings, the ecosystem...

Comment · 12 years ago
It doesn't need it, but I don't see how it is possibly a bad thing? Do you want a textarea that adjusts size based on the content? Sure, you could write that yourself, or you could just `npm install react-textarea-autosize`.

Want to render a sparkline of some data? Sure, you could mess around with existing libs and see if you can get them to work nice with React, or you could just pull in something you can expect actually works, like react-sparkline.

Comment · 12 years ago
Comment · 12 years ago
Most popular should be easy to make (based on downloads/github stars) - most useful is a bit trickier. How would that work?
Comment · 12 years ago
Good suggestion - will see if we can integrate something similar for desktop clients soon
Comment · 12 years ago
Not possible at the moment, but will be the next feature out the door (I'm the lead developer)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton