HNHacker News
TopNewBestAskShowJobs

joshjhargreaves

27 karma · joined June 3, 2019

submissionscomments
joshjhargreaves··on Accents in Latent Spaces: How AI Hears Accent Strength in English
Damn, this is really cool.
joshjhargreaves··on A protein that disrupts cells’ energy centers may be a culprit in CFS/ME
All I can say is that having significant gut dysbiosis is enough to have significant fatigue - think for sure, you can end up having fatigue from cell energy production issues, but it's clear to me that there are definitely different causes of CFS.
joshjhargreaves··on Why 4 Bloomberg engineers wrote another C++ book
(Former employee of quite a few years). The C++ usage is high due to a lot of legacy systems written in C++, however most new development (unless performance critical is not written in C++. I would estimate that Bloomberg actually has more JavaScript than it has C++.

When referring to the Terminal itself it's important to note that as a 'system' itself, it's incredibly broad and complex. You can do so many things via the system, it's equivalent to the broadness of a web-browser. In fact the Terminal application is powered by chromium these days. But the systems it connects to can be anything from trading systems, to Chat applications.

joshjhargreaves··on Launch HN: Porter (YC S20) – Open-source Heroku in your own cloud
I've self-hosted Dokku on Digital Ocean before with decent success: https://github.com/dokku/dokku. It's pretty nice for the scale of pet projects.
joshjhargreaves··on US says Saudi prince approved Khashoggi killing
How is this possibly the 'saddest' part? A man was brutally murdered. Get some perspective, jeez.
joshjhargreaves··on WebAssembly Studio
It's almost as if some people get off on the feeling of self-importance they get for 'calling people out' in this manner- the neckbeards of accessibility. In an ideal world, accessibility would come for free - but unfortunately it does not.

Yes I would argue that morally projects should do their best to support it - but even at well established companies it takes significant resources to maintain accessibility. Yes in this case it may be as simple as using native Buttons, as the above comment said, 'that's as far as I got'. Just pretending that accessibility isn't a significant time an resources doesn't make it any less so. If this wasn't true then there wouldn't be legislation to essentially address this market-failure.

joshjhargreaves··on Daniel Stenberg (curl) has been denied entry to the US for 870 days
spoiler: it won't.
joshjhargreaves··on Show HN: SponsorBlock – Skip sponsorship segments of YouTube videos
Hmm, I don't know how I feel about this. I tend to find that with most content creators I watch, the sponsors they pick for their videos tend to be more relevant to their audience than standard pre/midroll ads might be. I'm okay with supporting their channel typically with a sponsorship.
joshjhargreaves··on SwiftUI
Applications written in React Native typically are cross-platform; saying that they are not is a pretty large misrepresentation of the framework.

At its base React Native provides a common set of native components with the same API on both iOS and Android such as View, Image & Text which can all be styled and laid out through common APIs. These APIs pretty much give you most of what you need to make an entire APP. Sometimes you may want to have different behavior per platfrom and for that you can use the Platform API (provided by React Native) to switch for each platform. This would allow you to do things like change the styling on each platform or the native components you use.

React Native makes it pretty easy to expose native components to JavaScript. It is also up to the native component author if they want to create a common API for all platforms that they support. In the case of Views & styling it makes a lot of sense to have the same API on iOS and Android, but sometimes they are some platform features that are only available on one platform.

Wile Swift Layout is not cross-platform, it may soon be and I think it does a lot for promoting declarative UI & maybe they did take some inspiration from React!

View docs: https://facebook.github.io/react-native/docs/view.html Styling: https://facebook.github.io/react-native/docs/style Layout: https://facebook.github.io/react-native/docs/flexbox