Better HN
topnewbestaskshowjobs
Log inSign up

mesadb

36 karma · joined Mar 1, 2015 (11y ago) · 63 submissions

Submissions

comment 1y ago · link · parent

Some implementation details, since getting this to work well was not trivial.

My goal was “press hotkey, start talking, see text within ~1–2 seconds” on an M2 MacBook Pro, and support multiple languages.

First attempts (cloud) – I tried Hugging Face real-time transcription. It worked but latency was all over the place and costs would not scale. – I tried OpenAI real-time transcription. Latency was better, but when there was background noise, it'd transcribe wrong things. Saw 200ms responses. I can bring that back if I can make it stable. – I briefly experimented with Gemini for transcribing and formatting multi-language text. Quality was not consistent enough compared to Whisper for Multi language.

Local experiments – I used FFmpeg + Whisper CLI in a bunch of ways: batching, buffering, trying to “stream” partial results out of Whisper to make it feel live. – I also tried a local Llama model to format the raw transcript into an email. On an M2 Pro this took ~2 seconds for short emails and got much slower for long text. It looked nice but the latency was not acceptable for everyday use.

Where I ended up (for now) – Current version sticks to FFmpeg + Whisper CLI locally, optimized for short chunks so you usually see text within about 1–2 seconds. – I dropped the heavy on-device LLM formatting and keep the formatting logic much simpler so it stays predictable and fast.

Next step is to re-introduce “smart” formatting and meeting notes, but only when I can do it without blowing up latency. Happy to dig deeper into any of these if people are curious.

2.

Show HN: Slave – local dictation and TTS for macOS (3k words free)(slave.bot ↗)

2 points · by mesadb · 1y ago · 1 comment

3.

Show HN: Effortlessly Record and Export API Calls to Postman – Free(dev.tools ↗)

4 points · by mesadb · 2y ago · discuss

comment 4y ago · link · parent

What do you think about this pricing? Is it fair?

5.

Ask HN: Requesting Pricing Feedback for a Developer Tool

1 points · by mesadb · 4y ago · discuss

comment 4y ago · link · parent

I think windicss might be better than tailwind. I'm using tailwind but I think the structure on windi is pretty good

comment 4y ago · link · parent

I second this. I think playwright and cypress are the main ones you should use. We already implemented something for Cypress and looking to do the same thing for Playwright. It'll be pretty similar to this: cypress.preflight.com

Would love to get your feedback so we can add it :)

comment 4y ago · link · parent

I have heard of this actually. It's a nice open source tool. But it doesn't have AI selectors no?

comment 4y ago · link · parent

Can I get your feedback on preflight.com vs Datadog?

comment 4y ago · link · parent

That sounds awful I'm sorry :D

I'll drop you an email when we are able to launch it. Would love to get your feedback

comment 4y ago · link · parent

100% agree but I still think there are still people using Selenium. I think we could help people navigate to Cypress or Playwright or no-code solutions

comment 4y ago · link · parent

I really like playwright's locators as well. It looks pretty cool. We actually have a Cypress POM generator tool which uses AI and let's you test emails etc: https://cypress.preflight.com/

comment 4y ago · link · parent

Hi, we actually have done this for Cypress. I'd love to get your feedback on it: https://cypress.preflight.com/

comment 4y ago · link · parent

We actually do observe the DOM and we should expect new objects on the page.

We do this on a different side of our product which we try to come up with test coverage from how your users use your app.

comment 4y ago · link · parent

Sorry, I didn't want to make the title too long.

I think there still too many companies using Java and Selenium. No?

comment 4y ago · link · parent

This is actually very interesting. I like how it's done. Very great job.

We also do the same thing but we also understand the box (context) then we can say. We should be on Sign in box and a button called Sign in should be present. If we are on a different page and we cannot find something similar to it, we will give better error messages. Like: we should have been on Sign in page but we are on sign up. etc.

17.

Ask HN: Would you be interested in POM generator for Selenium?

20 points · by mesadb · 4y ago · 34 comments

comment 4y ago · link · parent

Hi all,

Here is a quick demo: https://www.loom.com/share/c6bf2a7af02e4b0a86a242ff043ec110

19.

Show HN: Generate Cypress POM from a web page your are on(cypress.preflight.com ↗)

2 points · by mesadb · 4y ago · 1 comment

comment 4y ago · link · parent

Hi HN,

Flaky tests are pretty annoying. So, we have developed this to help all QA engineers.

This recorder creates a plain script. But we will release generating POM models from a web page you are on.

It's also super easy to test Emails. Visual testing is coming soon.

Let me know what you think

21.

Show HN: Cypress Recorder that adapts to UI changes with Email testing(cypress.preflight.com ↗)

5 points · by mesadb · 4y ago · 1 comment

comment 4y ago · link · parent

We have bird slots like: Canary, Eagle, Owl etc. When there is a PR according to its order it gets deployed to one of them.

Then we have preflight.com UI tests that run on those environments. Would love to tell you my experience.

comment 4y ago · link · parent

You are right every testing solutions out there push UIEvents to the page rather than clicking with an actual mouse. That's why puppeteer, selenium etc are scraping tools not testing tools

comment 4y ago · link · parent

We are also in the space. Manual testing is definitely time consuming. You can automate your manual testing with https://preflight.com

Would love to help any of your testing needs

comment 4y ago · link · parent

You can now generate puppeteer code from Google Chrome Recorder. You should check it out. But still it might be flaky.

No-code is the best in my opinion :D https://preflight.com

We have done all the ground work. Like: - Concurrency - Adapt to the changes. Our selectors are like this: "Click on 'Login' button in the 'Sign in' form" - Update the tests with an HTML/Video player etc

comment 4y ago · link · parent

I think the issue here is Selenium or Playwright they depend on Selectors which depends on UI. And when there is a change it breaks the tests. We are working on something to generate you an adapting code (Cypress first) and let you know when there needs to be a change in your test script.

We have an AI model that understands the page structure as humans do. So we can do this "Click on 'Sign in' on the 'Login' page".

We have a no-code tool as well which adapts to the changes. But we want to generate the code for people who want to keep things internally.

Would love to discuss it more: m@preflight.com Our website: https://preflight.com

comment 4y ago · link · parent

Here is a quick overview of Computer Vision click if it's canvas. We automatically understand that for you. https://www.loom.com/share/efc779da15654f098b67c57772cec477

Here is the visual checkpoint (regression): https://www.loom.com/share/b9448ba5e76e410089be6840053a8596

123