HackerTrans
TopNewTrendsCommentsPastAskShowJobs

elanning

no profile record

comments

elanning
·tahun lalu·discuss
I wrote a minimal implementation of this feedback loop here:

https://github.com/Ichigo-Labs/p90-cli

But if you’re looking for something robust and production ready, I think installing Claude Code with npm is your best bet. It’s one line to install it and then you plug in your login creds.
elanning
·tahun lalu·discuss
It looks great, nice work. I’m impressed at the quick development too.
elanning
·2 tahun yang lalu·discuss
I know the feeling. I like to picture it as a kitchen, and those “bat-whatever” gadgets are like those silly infomercial cooking tools that are only good for one specific thing. Meanwhile the good abstractions are like a nice knife, that can be used in so many different contexts.
elanning
·2 tahun yang lalu·discuss
Big mistake on my part; I should clarify I fine-tuned both PaddleOCR and TrOCR on large amounts of data specific to my domain. I cannot speak on the best out of the box “ready to go” solutions (besides cloud ones, which were quite good with the right pre and post processing).
elanning
·2 tahun yang lalu·discuss
I’ve done a lot of OCR work and tesseract is nearly a decade out of date at this point. It is not a serious technology for anything requiring good accuracy or minor complexity. From what I’ve seen, GPT-4V completely smokes tesseract, but then again, most modern OCR systems do. If you want fast and pretty powerful OCR, check out paddle. If you want slower but higher accuracy, check out transformer based models such as TrOCR.
elanning
·3 tahun yang lalu·discuss
I’ve been having a good time using REST level 0.5

https://faithlife.codes/blog/2023/09/rest-level-zero-dot-fiv...
elanning
·3 tahun yang lalu·discuss
Also plugging my related project: https://github.com/Ichigo-Labs/cgrep From the comments in this thread, it seems a lot of people have built or needed an easy way to quickly create static analysis checks, without a bunch of hassle. I think extended regex is a great way to do this.
elanning
·4 tahun yang lalu·discuss
Rest in peace to one of the greats.

You might want to consider reading The Design of Design if you liked The Mythical Man-Month.
elanning
·4 tahun yang lalu·discuss
Wow this could be incredibly useful for a lot of applications. I’m excited to see the new wave of tools this could spawn.
elanning
·4 tahun yang lalu·discuss
This looks like a nice piece of work. I hope the author continues on it, or other fun hobby projects.
elanning
·4 tahun yang lalu·discuss
This looks like a nice piece of work. This area and adjacent tooling areas are ripe for improvement.
elanning
·4 tahun yang lalu·discuss
I review Posthog PRs occasionally. In addition to this, they’re also open source. Seems like a cool place.
elanning
·4 tahun yang lalu·discuss
This is typically a good way to organize React projects, in my experience. A few top-level components which hold state with a useReducer and have a few functions to make backend calls, as needed. You could consider the reducer the model and the top-level component the controller. All components that sit below the top-level are pure view components. Props in, view out. They at most hold a minor amount of UI state. They don’t make API calls or update state themselves, that must be done with a callback to the top-level component.

This makes testing simple as you can test the reducer without rendering any UI. The pure view components are also easy to test. Then a few end to end tests to tie everything together.

https://www.reactguide.dev/#mc-v-trees Has more info on how to scale the pattern for larger apps.
elanning
·4 tahun yang lalu·discuss
This reminds of a principle I use. Always use the weakest type for the problem at hand. I don’t use a struct/record where a simple dictionary or tuple would do. I don’t use a class when it could be a plain record. I don’t use an interface when it could simply be a lambda.

When the time comes, I promote the types as necessary.
elanning
·4 tahun yang lalu·discuss
Great idea. I think UI/UX designers would love a tool like this. Especially if they could import React components made by the development department.
elanning
·4 tahun yang lalu·discuss
This chapter encapsulates much of data oriented design: https://www.dataorienteddesign.com/dodbook/node5.html
elanning
·5 tahun yang lalu·discuss
I wrote a VS code extension and pre-commit hook for this kind of thing:

https://github.com/elanning/checkr

It's a nice inbetween solution for quick stuff not worth writing a full static analysis plugin for.
elanning
·5 tahun yang lalu·discuss
Greetings Greg, really great work. Thanks for sharing this.

Now my greedy request: if you could take all this technology and make a blogging platform for developers, I would be greatly appreciative! And happy to pay a monthly fee!

I really need a coding blog platform where I can write interactive blogs for my readers.
elanning
·5 tahun yang lalu·discuss
This is a good example of why understanding the principles of statistics can come in handy.
elanning
·5 tahun yang lalu·discuss
Awesome hackathon project. The font scroll is great 90s website nostalgia.