HNHacker News
TopNewBestAskShowJobs

LinguaBrowse

864 karma · joined June 18, 2017

https://www.birchlabs.co.uk/linguabrowse https://twitter.com/LinguaBrowse http://www.reddit.com/r/LinguaBrowse https://linguabrowse.tumblr.com
submissionscomments
LinguaBrowse··on New React DevTools
komali2 is referring to the long-standing issue in the React Native repo (#10027); see my comment for an explanation: https://news.ycombinator.com/item?id=20713612

Maybe the Chrome/Firefox DevTools don't, but the standalone React DevTools most definitely depend on WebSockets. My custom React renderer can't connect to them without shimming in a WebSockets implementation, for example.

LinguaBrowse··on New React DevTools
I'm surprised that everyone's looking confused here. Yes: since 2016 (React Native v0.32), at least on iOS, React Native apps in development mode try to open WebSocket connections to standalone React DevTools at startup and indeed flood your console with cryptic messages.

https://github.com/facebook/react-native/issues/10027

The issue has been locked and is still open.

LinguaBrowse··on Show HN: Calling native APIs, such as text-to-speech, at run-time via JavaScript
This uses my open-source NativeScript IDE, NS:IDE:

https://github.com/shirakaba/nside

NativeScript is a project to provide bindings for all native APIs (in the case of iOS: UIKit, AVFoundation, etc.) to a JavaScript context.

I have many more cool examples to share in time! Really surprised that NativeScript hasn't taken off in the same way that React Native has.

LinguaBrowse··on Show HN: Improving accessibility of websites by providing image OCR in-browser
This is an upcoming feature for my personal project, LinguaBrowse: an app for browsing the foreign-language web. It principally applies transcriptions (such as pīnyīn to Chinese, and furigana to Japanese) to text, but also provides dictionary lookup for words with a single click. This demo is for the [macOS version](https://itunes.apple.com/gb/app/linguabrowse/id1422884180?mt...), although an [iOS version](https://itunes.apple.com/gb/app/linguabrowse/id1281350165?mt...) also exists.

The macOS version is built in React Native, using the react-native-macos community project. I write the code in Swift (for native) and TypeScript (for the React Native JSContext). Ideally I'd have liked to have delivered a click-to-OCR feature, but saving a copy of the file (hence the drag-and-drop) was the only way I could find to overcome both:

* CORS issues, with loading the image data into Tesseract; and * the App Transport Security policy, which prevents mixed content in-browser and HTTP downloads by NSURLSession.

As a bonus, though, this methodology supports OCR of files dragged in from the file system.

Happy to talk about any part of it. Always striving to make foreign-language websites more readable.

LinguaBrowse··on Microsoft is quietly merging Office code into their react-native-macos repo
See my actual narrative in the original thread (this one is a repost two hours after): https://news.ycombinator.com/item?id=17728515

Not Electron involved at all. The point of RN is that it is native; no overhead of running headless Chromium. The fact that Microsoft are putting their weight behind it means great things for RN, desktop, and macOS. They say they've finished rewriting most of their core apps with RN; this is the first indication of the codebase they likely used to target macOS. It's come out of nowhere, too: there's a same-named repo with 14k+ stars, for comparison.

LinguaBrowse··on Microsoft is quietly merging Office code into their react-native-macos repo
There wasn't enough title length available for me to give context. Yes, I'm not this thread's OP; he reposted mine two hours later.

See my full narrative, explaining why 'quietly' in the original thread: https://news.ycombinator.com/item?id=17728515

LinguaBrowse··on Microsoft is quietly merging Office code into their react-native-macos repo
See my full narrative in the original thread (this one is just a shameless repost): https://news.ycombinator.com/item?id=17728515

They've revealed that they're using RN for all their main products now, but never explained how they were targeting macOS. This is the repo they must have been using; and surprisingly, it's unrelated to the repo of the same name that has 14k+ GitHub stars.

What's brilliant too is that they are indeed open-sourcing it.

LinguaBrowse··on Microsoft is quietly merging Office code into their react-native-macos repo
I gave some narrative regarding the 'big deal' in the original thread, and OP shamelessly reposted it just two hours after, so you're missing that ¯\_(ツ)_/¯

https://news.ycombinator.com/item?id=17728515

Check the 0.51-macos branch if you missed it; it's got ~350 changed files specifically to support macOS.

HN title lengths are very restrictive, so perhaps it was unclear, but what I was trying to say was that this repo is likely receiving merges of the very same codebase that Microsoft is using to build their RN Mac apps. This is the first indication of which fork they're using for it (and it's surprisingly not derived from the fork that has 14k+ stars!).

LinguaBrowse··on Microsoft is quietly merging Office code into their react-native-macos repo
Did you really just repost my thread, with exactly the same title, only two hours after I posted it?

https://news.ycombinator.com/item?id=17728515

Pretty shameless.

LinguaBrowse··on Microsoft are quietly merging Office code into their react-native-macos repo
The commit in question, made on 16th July, uses the term "OfficeISS". I can find no mention of this online. Is this a straightforward code-name for their project to re-write their major apps in React, mentioned in the following tweet? https://twitter.com/TheLarkInn/status/1006746626617008128

I asked for clarification on how they were approaching macOS support in React Native, both:

1) in that Twitter thread (to no answer): https://twitter.com/LinguaBrowse/status/1006834843416657920

2) and in the subsequent Reddit discussion: https://www.reddit.com/r/programming/comments/8qqhlz/office_... (to an answer ignoring the macOS part of my question).

Microsoft are clearly going all-in on React Native:

1) TypeScript 3 has plenty of oddly React-specific features (e.g. defaultProps and PropTypes support): https://blogs.msdn.microsoft.com/typescript/2018/07/30/annou...

2) react-native-windows is thriving: https://github.com/Microsoft/react-native-windows

3) WinObjC is looking formidable: https://github.com/Microsoft/WinObjC

I think the future is bright for Microsoft, cross-platform development, and the React universe..!

LinguaBrowse··on Show HN: My opensource React-Native-TypeScript 2D game – welcoming critique
If you just want to try out the game without interacting with the repository, you can download it in the Expo Client via the URL: https://exp.host/@bottledlogic/the-box
← PreviousPage 4 of 4