News for hackers. Stuff that matters.

alexkoeh

Re:Show HN: Strich – Barcode scanning for web apps on Thursday August 17, 2023 @10:22AM (#37162063)
Congrats on the launch! We looked into barcode scanning with webassembly about 2 years ago, and the open source libraries weren't great. Really glad to see that webassembly can work well for this.
Not OP but glad you mentioned this. We're starting to look at internal tooling libraries and this looks really interesting.
Re:Apple unveils contactless payments via Tap to Pay on iPhone on Tuesday February 08, 2022 @11:13AM (#30260200)
This is art
Re:Firecode: A collection traversal library for Firestore on Tuesday June 22, 2021 @11:20AM (#27592774)
This is awesome. As our userbase grows I've been wondering how to best address this problem.

When we have a migration that requires more than 500 batch writes, we first got around that by building an array of batches with 500 writes per entry, then committing all of it at the end. Then we discovered the bulkWriter API in the node.js library which gets around the 500 batch limit. It looks like `createBatchMigrator` only supports up to 500 writes due to the firestore batch limit. Is that correct?

Re:The Firefox UI Is Now Built with Web Components on Thursday November 21, 2019 @11:51AM (#21596138)
Is it possible for Cmd+P to work when you don't have the Debugger tab in focus? That one of the few things I miss from Chrome dev tools.

Performance-wise it's been running great for me. The hard work you've put into this definitely shows.

Re:React-copy-write: immutable React state management library on Thursday September 13, 2018 @11:10AM (#17979213)
Redux the library is not "state management for react". It's more of a concept that gives you a predictable structure around how state changes over time.

I think what you're thinking of is specifically the `react-redux` library which gave a nice abstraction to the old & clunky React context API. The new context API was released with React 16.3 (which came out March of this year).

Re:Finding a CPU Design Bug in the Xbox 360 on Tuesday January 09, 2018 @09:27AM (#16106348)
Reading about the architecture of that chip (3 core, PowerPC) I am amazed at how smooth GTA V could run on it.
Re:The State of JavaScript 2017 on Wednesday December 13, 2017 @11:35AM (#15915283)
I've heard more and more about prettier, but I can't figure out how it's much different from eslint. What are the advantages?
Re:Async/Await will make code simpler on Monday August 21, 2017 @02:57PM (#15066785)
Along with that, generators (redux-saga) are amazingly simple to test.
Re:Vue.js vs. React on Monday August 21, 2017 @11:49AM (#15065409)
Our team had the same thoughts on react-router. I'd suggest checking out https://github.com/kriasoft/universal-router. It uses the HTML5 History Library (https://github.com/ReactTraining/history) for navigation.