News for hackers. Stuff that matters.

faheel

Show HN: Monkey see, monkey do – reproduce text via native OCR on macOS

https://github.com/faheel/msmd

"Monkey see, monkey do" (msmd) lets you draw a rectangle over text on a macOS screen, recognizes that region with Apple's built-in Vision framework, and emits the recognized characters as keyboard events. An amber border remains around the capture region while OCR and typing are active.It's a simple utility script to explore native vision and OCR functionality on macOS, and will soon expand...

( Read More... | no comments | on HN )
Re:Tell HN: GitHub is partially blocked in India on Tuesday January 03, 2023 @11:56AM (#34234062)
For me, and many others on Twitter, updating the DNS worked (I used 1.1.1.1). Though I'm not sure why.
It says at the bottom:

> When multiple moves have the top score, they are all top moves, even if visual markers (like move arrows) suggest the engine prefers one over the other.

Since all moves that checkmate the opponent will have the same score (M1 or -M1) they'll all be illegal.

Yes, that's a way to describe it.

One use case could be that a complete beginner to programming can enter some natural commands (e.g. "X is a list of numbers", "read 10 values in X") without worrying about the syntax and convert them to a working program in one of the target languages.

Also, the input doesn't have to be in English as it can be easily trained with samples from other languages. So people can write/speak in their native language and get it translated to working code.

At the moment it can recognise the type of statements in the training data set [1] and transpile them to Python, Java or C++ using the mappings defined here [2].

This is very different from how Codex/Autopilot work as it is trained using an NLU framework [3] which is usually used for training chatbots.

[1]: https://github.com/Flex-lang/transpiler/tree/master/transpil...

[2]: https://github.com/Flex-lang/transpiler/tree/master/transpil...

[3]: https://github.com/RasaHQ/rasa

Show HN: Flex – transpile natural language to a programming language

https://github.com/Flex-lang/transpiler

Flex [1] is a transpiler that converts a series of statements in natural language to either Python, Java or C++, and is trained using Rasa NLU [2], an open-source framework usually used for training chatbots and voice assistants.Flex is a project I made in college in 2018 along with two of my classmates, Gourav and Sanjay. The initial idea was to create a voice assistant you could speak to that...

( Read More... | 6 comments | 3 points | on HN )
In case you're looking for a VS Code extension to quickly preview, filter and plot data from various file formats you can check out vscode-data-preview [0]

[0]: https://marketplace.visualstudio.com/items?itemName=RandomFr...

Maybe letting the coin fall on a hard surface, so that it has a chance to bounce/spin randomly before falling flat (or staying on its side!)
Re:Indian cows and buffaloes are going online on Tuesday April 26, 2022 @11:40AM (#31168875)
It will also save the time and effort currently required for cattle trading by both sellers and buyers.

For instance, Animall (one of the companies mentioned in the article) is working towards building an online marketplace for cattle (like Amazon) rather than just a discovery platform (like eBay or OLX) and will be handling verification and logistics (think "Amazon Fulfilled"). This would solve fraud and also reduce the cost and effort for sellers/buyers in trading cattle.

P.S. I work at Animall

For seeding Big Buck Bunny of course. And Linux distros too. That's all :)
I'm going to build a repl.it clone too this weekend. Seems like a fun project!
Re:Louvre makes its entire collection available online on Saturday March 27, 2021 @05:02AM (#26601006)
Or an "Awesome list" on GitHub.

https://github.com/topics/awesome

"The Short"
Re:Ruby 3.0 Preview 1 on Friday September 25, 2020 @11:52PM (#24596273)
You're right. Maybe hyphenation would help here: "End-less methods"
I agree. DynamoDB is like a serverless child of Redis and MongoDB.
Just use Netlify.