HNHacker News
TopNewBestAskShowJobs

bengotow

1,228 karma · joined December 24, 2012

[ my public key: https://keybase.io/bengotow; my proof: https://keybase.io/bengotow/sigs/jqshHYRogDU7morbFrScpmEYgdW4Nkp4_pyv0ToKYis ]
submissionscomments
bengotow··on Nylas N1 – extensible open-source mail client
Hey kstenerud,

Thanks for checking out N1! I work on the client. Unfortunately `keytar` is a bit of a nasty module. Try using `nvm` to run script/bootstrap with Node 10.x. I think this might be the issue you're seeing: https://github.com/atom/apm/issues/195.

If you run into anything else, feel free to ping us on the Nylas Community slack channel (http://slack-invite.nylas.com/)

bengotow··on Nylas N1 – extensible open-source mail client
Hey! I'm an engineer on N1 and I can talk about (1) and (3):

1. Snoozing emails would be great. You could totally do this client-side in a plugin using our current developer APIs, by moving snoozed threads to a label/folder, and then moving them back after a prescribed time. Might be a fun project! Feel free to ping us on our community slack channel if you want to try.

3. N1 uses the exact same package structure as Atom, but we're using the CommandRegistry less, and introducing our own UI layer concepts like the ComponentRegistry (for dynamically injecting React elements.) There are probably a handful of Atom packages you could load into N1, but probably only well-contained ones with very minimal UI. Our composer unfortunately doesn't share any code with Atom's text view - we needed to do rich HTML editing, so we wrote our own composer based on `contenteditable`.

Vim keybindings for the composer are also a great idea. There's actually an API for creating `DraftStoreExtensions` (https://nylas.com/N1/docs/DraftStoreExtensions.html), and if you implement `onInput` in your extension you can probably re-create vim keyboard handling. Unfortunately, that's a bit low-level: right now, the composer is not as easy to extend as Atom's editor. We've put a lot more effort into extensibility of the thread / message panels and views.

Enjoy! Feel free to reach out on the community slack channel if you have any other questions.

bengotow··on An open source JMAP proxy, JavaScript library and webmail demo
Got sidetracked reading through the Overture.js documentation and source, which I hadn't seen before. It seems like a really impressive Javascript framework. Live queries ie. data views, lots of great animation support, nice set of stock components... It's a real shame they put all this work into a monolithic framework rather than contributing packages / ideas / insight to something like React or the broader ecosystem. I feel like these kitchen-sink frameworks are more or less on the way out -- this is probably a fantastic body of work that few people (myself included!) will learn well enough to appreciate.
bengotow··on Building Plugins for React Apps
Hey folks! Ben from Nylas here—happy to answer any questions. React and Flux have worked out really well for us over the last eight months, and we're excited to share more of our approach with the HN community!
bengotow··on Cities with High Salary to Cost of Living Ratios for Software Developers
Haha me too! I think that it's rapidly converging on Austin though. Getting more expensive every year, more condos going up, etc.
bengotow··on Atom now using Io.js
On the mac BBEdit is incredible. A several hundred MB log file will bring Sublime Text to it's knees, and BBEdit has no problems at all. +1
bengotow··on What the Flux?
AFAIK, Netflix actually wrote a React "Virtual DOM" => OpenGL renderer. You don't necessarily have to map the Virtual DOM to a real DOM.

http://conf.reactjs.com/schedule.html#beyond-the-dom-how-net...

bengotow··on Google Fiber Austin
Man—was really hoping they'd go for Nashville next!
bengotow··on McFly – Flux Architecture Made Easy
I wish someone would create a large Flux/Reflux demo app. I love the "one-way data flow" model and the patterns established by Flux/Reflux, but I feel like I would really benefit from seeing a large, complex application where stores depend on stores (or keep state independently?) etc. The example ToDo apps everyone publishes are too trivial to really gain an understanding of how to apply the patterns.
bengotow··on Building a Mail App with Swift
I'm a huge fan of Objective-C - it's been around for ages (it actually predates Java) and it's design makes it enormously flexible. That said, it has it's problems: many people dislike the "brackets everywhere" syntax and it's compatibility with C constrains the compiler (you can actually write C in the middle of your Objective-C, move pointers around, etc.) In Objective-C, you can write code that looks fine at compile-time but still crashes the app, which is bad for us developers and bad for iOS as a platform.

Swift can be used to write first-class, native apps just like Objective-C and even used alongside Objective-C in the same project. It includes features borrowed from other modern languages (Rust, Go etc.), like generics, tuples and explicit optionals. Many of the features of Swift are designed to ensure that the compiler can catch issues at compile-time. It's much more difficult to write code that will crash a Swift app.

As a seasoned Objective-C developer I'll probably reminisce about the good old days when I swizzled methods and did all sorts of bad things, but it's a good move for the platform :-)

bengotow··on Building a Mail App with Swift
Hi HN—author of the post here! Feel free to check out the source to our Swift example on Github and explore the iOS SDK. Happy to answer questions - https://github.com/inboxapp/inbox-ios/tree/master/InboxExamp...
bengotow··on GoTenna – Send and receive messages even when you don’t have service
Would it be possible to build a software-level mesh on top of these devices even though they don't officially support meshing? In other words, could someone build an iPhone app that implements some sort of decentralized DNS and routes messages, even though the hardware can't do that on it's own?
bengotow··on Ethereum
What lost me were the code examples for things like "name registration." Take this line for example:

contract.storage[tx.data[0]] = tx.data[1]

They could have at least used a named local variable for "tx.data[0]" to give some context. What the hell is this doing?

bengotow··on The Brutal Ageism of Tech
Yeah - they've actually got many people using NodeJS. http://venturebeat.com/2012/01/24/why-walmart-is-using-node-...
bengotow··on The Brutal Ageism of Tech
Nashville represent! I build mobile apps for a living and I love that the environment here is diverse and creative. Walk into a coffee shop and you see people talking, writing, and socializing - not bent over their identically sticker-covered Macbook Pros.

As an iOS dev here, you can expect to make 85-100k and spend < $1000 / mo on rent. There's also no state income tax, so you get a 9.6% bonus right off the bat. Not too bad if you ask me!

bengotow··on CoffeeScript's Time is Waning For Me
I totally agree with you about the spacing between methods. I've actually found myself putting a double-space between methods, but I do that in most languages so it hasn't bugged me as much. Thanks for posting the image!
bengotow··on CoffeeScript's Time is Waning For Me
I'm curious about this statement as well. It sounds like the author might be:

- Creating big complex methods instead of breaking code into smaller (testable) ones?

- Nesting callbacks multiple levels deep, instead of using something like Node Async to flatten out code flow?

- Choosing a Coffeescript code style that leads him to put callbacks on their own line, or something like that?

- Something else?

Not implying the author is wrong by any means - there are probably some scenarios where coffeescript isn't the best whitespace-wise. The thing is, readability is one of the huge reasons I use coffeescript, and I feel like it's largely compatible with the whitespace patterns I used in javascript. Even for large NodeJS or Angular projects, I've found that it is consistently easier to read and edit than Javascript.

bengotow··on Pebble Steel
Haha I came here to say just that. Are all 42 of those words above the fold really important enough to be upper case? Literally this entire page is UPPERCASE COPY of different sizes. I'm imagining their designer looks like this: http://4.bp.blogspot.com/_yodqvnVBUBM/TUs3JCu2glI/AAAAAAAAAq...
bengotow··on Hire this guy for love
Hey! I live in Nashville and there's plenty of work out here. With a week or two you could probably find a gig here and turn it into a business trip. Boom 30% discount come tax time!

Hell - while you're in Chattanooga stop in at http://colab.co/. Their office is close to downtown. Find a project based out of Chattanooga and see if they'll pay for you to fly out every couple months!

bengotow··on JavaScript becoming the lingua franca for mobile development
Hah - what a joke. Stopped reading when I got to the second line: “[Javascript's] ability to render rich results from lightweight, simple-to-learn languages has made it a natural fit for mobile’s speed of development,” according to Appcelerator." I take it the developers polled for this article are the ones on Appcelerator's mailing list...
bengotow··on Telegram - secure, free messaging
They're actually correct about the notification use case - the server has to generate the message text that is displayed, and no application code can be run unless the user taps the notification and launches your app.
bengotow··on Dogecoin.org - P2P Cryptocurrency for doges
I literally laughed out loud reading this line. Bravo dogecoin, bravo.
bengotow··on 23andme has suspended health-related genetic tests
Ahh interesting. At first I'd read that to mean that they weren't taking data down, and existing customers would still be able to access their reports. I figured that only applied to people who had already had a report generated.
bengotow··on 23andme has suspended health-related genetic tests
Hmm - thanks for the link! Good stuff. I think the complaint I have is that in their advertising (https://www.youtube.com/watch?v=JTIY310FGBU&list=TLdNSueMINq...), they feature:

- An individual for whom 23andMe correctly identified a heart issue that he later had.

- An individual who caught his prostate cancer early because 23andMe told him he was likely to have it.

In both cases, 23andMe successfully identified the condition before it occurred. That's about as close to marketing yourself as a predictor of disease as you can get. Granted, the word for word text in the video references "elevated risk", but the overall story they're selling to the public is that 23andMe predicts diseases you'll have. At least, that's my impression. Really interested to see how all this pans out.

bengotow··on 23andme has suspended health-related genetic tests
I agree - Here's a company that built a complex software system, loaded it with "if" statements pulled from research papers, and started marketing itself as a predictor of cancer and disease. How did they do their research? What is their threshold for determining if scientific evidence is conclusive enough to merit telling the world they could have a major disease? The FDA wants to know, and so do I.
bengotow··on 23andme has suspended health-related genetic tests
I don't think you'll get your results - at least not soon. The FDA said they needed to back up their claims that their assessment methodologies are accurate, and since they failed to respond to those requests they've been prohibited from performing the genetic tests and giving you the insights that you paid for. Don't think it matters when you bought the kit :-(
bengotow··on Meet the BRCK
Yep - was curious about how it connected to the internet and had to drill down through the dots (which at first I didn't realize were clickable) to find out. Would be good to point that out at the very top!
bengotow··on Building an Open, Drop-in Replacement for UITableView
Overall this is a great article. It does a good job outlining what UITableView does and why it's built the way it is. If you're new to iOS and wondering why UITableView's delegate and dataSource protocols are structured the way they are, it's a good idea to take a deep dive and understand them better. As others have mentioned, data sources and delegates aren't unusual in Objective-C. They're everywhere, and they enforce a separation of view logic and data that is at the heart of MVC.

This is a great exercise, but please, please don't use your hand-rolled UITableView in your apps.

If UITableView doesn't do what you need, create a UICollectionView. If you find the data source protocol frustrating to use, create a provider object that maps your (array/dictionary/weird-ass data structure) onto the dataSource protocol. (In desktop Mac programming, NSArrayControllers serve this purpose.) Don't re-implement UITableView. The things you could potentially screw up are many, and when some other developer inherits your code and tries to add editing, multiple selection, re-ordering, etc..., they're going to be pissed.

bengotow··on Ferro: A keyboard interface to Chrome
This looks cool, but I have a really hard time reading Frutiger at that font size. Don't want to be snarky, just sayin! Looks awesome.
bengotow··on The Spark Inspector is now available in Xcode, just like Instruments
Hey! Author of the app here—sorry you've had trouble reaching me. I agree that Bonjour is a poor solution for corporate networks. I've always hoped that time would resolve those sort of issues (routers not supporting Bonjour's DNS packets, etc...) but it's been years and it's still a problem.

At the moment I'm not sure what other technology the Spark Inspector could use. I'd like to make it talk through LLDB entirely, and the latest update is a step in that direction, but there are many steps left to go.

Thanks for your post—feel free to reach out to me at my primary email bengotow@gmail.com if you need anything.

← PreviousPage 5 of 7Next →