HNHacker News
TopNewBestAskShowJobs

Androider

4,272 karma · joined November 3, 2013

submissionscomments
Androider··on Node v9.8.0
How is this going to work with the gazillion existing NPM packages and projects using Babel?

Right now you just require a Babel runtime first, then use import for everything else not caring what type of modules they are. The acceptance test for proper module support in Node.js should simply have been that you can remove the Babel wrapper in an existing project that uses imports instead of requires :(

Androider··on Launch HN: Pagedraw (YC W18) – Compile UI Mockups to React Code
Safari doesn't support fancy pants features like telling which mouse button is held down (event.buttons on MouseMove, works everywhere else since IE9), which makes it a total pain in the behind for any kind of drawing app.

If I could drop support for it completely I would open up a bottle of champagne. It truly is the new IE of the web.

Androider··on Propel – Machine learning for Javascript
If you're happy with Python, great. But the market for something like this can be so much bigger.

Let's say you already have a NodeJS service. This reducers the friction to add some ML into the mix to basically zero. Install the optional propel_linux_gpu package, throw it on a GPU instance on AWS and call it a day.

ML right now is still mostly the domain of the tech giants and researchers, efforts like these will serve to make it an everyday component of software stacks everywhere.

Androider··on Why has CPU frequency ceased to grow? (2014)
With just Chrome and IntelliJ running on Ubuntu, I have 281 processes and kernel workers running (as reported by ps). Just stitching the apps together for display on your screen requires 3-4 different processes (and a GPU). That's why 4 logical cores is a bare minimum these days for a desktop, even if no individual application takes advantage of more than a single core.

On the server side, when we deploy a Node.js web service on AWS we start one instance per logical core, for 4-64 processes all independently serving connections.

It seems the process has become the new thread, the smallest unit you should design for. So today's workloads actually make pretty good use of all those cores. Unless you're doing high performance computing and need to squeeze every last drop of performance, processes are a straightforward way to parallelize.

Androider··on The Business of SaaS
How is it not absolutely obvious on the Classpass pricing page that it's a monthly subscription?

Chargebacks are a real dick move, and should be used as a last resort if the company gives you any trouble when cancelling. Otherwise you're literally stealing from the service, for example your patronage cost the company 15*6=$90 in just chargeback fees (Stripe) because you couldn't be bothered to cancel your plan online in a minute. I think most SaaS companies would be happy to not have you as a customer.

Androider··on Instacart has raised another $200M at a $4.2B valuation
Exact same experience. Instacart shopper cannot find extremely common items and tries to replace them with 2-3x more expensive options.

The whole model of the shopper walking the isles to pick the products is wrong. It's inefficient and a recipe for disappointment, because what you see on their web page is just a guess at what the store has and the shopper can find.

I too have used Instacart probably 10 times, but never will again. It is also all but guaranteed that Whole Foods will drop Instancart like a hot potato for their own in-house service, so the valuation is completely wrong in my opinion.

Androider··on How did Google Talk change from a dream to a nightmare?
I constantly have obvious spam accounts trying to send me Hangouts messages. That there isn't simply an option to never allow anyone not already in my contacts to message me is crazy.
Androider··on 'Space graffiti': astronomers angry over launch of fake star into sky
Do you want space colonies, commercial stations and activity? Cause I don't think you'll get one without the other.
Androider··on 'Space graffiti': astronomers angry over launch of fake star into sky
Great, NIMBYs now want to stop space development. And it's just for 9 months, take a chill pill.

Personally I think it's awesome, I'm going to try to track it and show it to my daughter. I hope one day we'll have structures on the moon that are visible to the naked eye! Can you imagine how motivating and achievable that would make space exploration seem to a new generation.

Androider··on Dear SaaS vendors
That's because invoices and receipts are different things (at least in the US). You typically get a receipt for a monthly credit card payment. An invoice may be an extra that is only offered for example with an annual contract, and may even have to be manually generated, and typically implies payment made separately (NET-30 etc.).
Androider··on Mothers who regret having children are speaking out
Robots. Lots and lots of robots is the answer, like 10:1 robots to humans to work 24/7 fixing infrastructure and cleaning every home and street.
Androider··on Basecamp doesn’t employ anyone in SF, but now we pay everyone as though all did
DHH has the coolest desk and home office I've ever seen: https://www.instagram.com/p/BcnPtAwlAKe/?hl=en&taken-by=dhh7... Check out the rest of the house too, amazing.

I think some people have this image that Basecamp and DHH is some scrappy bootstrapper fighting the establishment. But really he is living the life that even most successful "exited" venture fueled founders wouldn't be able to attain, and he's just saying there's another (perhaps even easier) way.

As I build my company, DHH + Basecamp, Jan Koum + WhatsApp, are my role models. Maximize the revenue per employee, not the number of employees (cough Twitter).

Androider··on Magic Leap One
"The viewing space is about the size of a VHS tape held in front of you with your arms half extended. It’s much larger than the HoloLens, but it’s still there.

“I can say that our future gen hardware tech significantly expands the field of view,” Miller says. “So the field of view that you are looking at on these devices is the field of view this will ship with.

From https://www.rollingstone.com/glixel/features/lightwear-intro...

Androider··on Casualties of the Cashless Society: Those Who Get Seasonal Tips
New Yorker here, I can't really think of any place that doesn't take cards. Some bodegas have minimums, e.g. $5 or $10, but even those are rare and I typically pay for everything by card and carry no cash.
Androider··on Pixel Buds review: OK Google, go back to the earbud drawing board
I have them, and they're OK, but Bluetooth buds are a dime a dozen so it's really hard to see why they are worth $159. They're slightly smaller than my Anker buds, and they have a charging case, but in day to day use there's realistically no difference for me. My Anker's were $27 on Amazon (https://www.amazon.com/gp/product/B071GNH9MT).
Androider··on Ask HN: Flexible, lightweight build automation/CI tool?
Jenkins setups invariably accrue a bouillabaisse of plugins and stews in a "just so" environmental soup, that simply moves the "works on my machine" syndrome to "works on our Jenkins (please, please don't break or we'll be down for a week reverse engineering this Ubuntu/RHEL snowflake from 2012)".
Androider··on Ask HN: Flexible, lightweight build automation/CI tool?
CircleCI 2.0 has full support for macOS, sounds like a perfect fit for you. It's also inexpensive (if you don't consider your time worthless, since it's $39/mo, which is ridiculously cheap compared to time we spent babysitting Jenkins previously), and just one of the best CI systems there exists in my experience.

Just a happy customer.

Androider··on The State of JavaScript 2017
Two steps to better code reviews and happiness that everyone working with JS should implement:

1. Setup prettier, using the defaults, with the recommended pre-commit git hook

2. Never talk about code formatting again

(Don't like the prettier defaults? Please refer to bullet point #2)

Androider··on The State of JavaScript 2017
Scripts + NPM are better together, for example because scripts executed under NPM have the local packages binaries in the path. This makes it very easy to have a fully locally installed build environment with no system dependencies. And if you do use webpack, it also helps in providing a uniform interface (Is "test" a Webpack target or a script? Who cares, just use "npm test", it'll work either way, also if we change it in the future).

And it's not an either-or case in the real world. Our company has a big Webpack config that does a lot, and still we have 15+ scripts as well (static analysis, inserting copyright headers, sourcemap uploads, 3rd party vendoring, release scripts...). Some things are better in WP (building), while some things are just simpler with a shell script.

Androider··on AWS Fargate – Run Containers Without Managing Infrastructure
A T2 will give even better real-world performance than an M3, at 2x vCPU and 4GB of RAM at ~$34/mo. Unless you're compute bound the bursting performance of T2s is perfect for web services. Add an instance reservation, with no upfront cost, and you're looking at ~$20/mo for a t2.medium. Using Fargate will reduce your instance management overhead, but not worth it at over 2x the price, at least for me.

I'd rather have two T2's than one M4 for most web services, or 8 T2's over 4 M4's etc. for both better performance, reliability and price. T2's are the best bang for your buck by far, as long as your service scales horizontally.

Androider··on Impact of the Amazon-Whole Foods Deal on Instacart
My experience with Instacart for Whole Foods delivery has been pretty bad overall. Too many items were consistently being marked as not available / not found by the shopper. Once, up to a third of my cart or almost 10 items. When you assembly your list and click "buy", you expect to get what you ordered, not for a third of your order to be missing come dinner time. I'm afraid Instacart won't ever be able to deliver a great experience as long as they have shoppers walking the aisles instead of direct back-of-store integrations and real time inventory.

The substitutions offered are also frequently terrible, and always without fail for more expensive items. Sometimes ridiculously so. And I'm pretty sure the shopper sometimes just doesn't want to buy some of the stuff I've ordered, like watermelons or water, that I know is available in the store.

Overall, I've found FreshDirect to offer a much more reliable service with good pricing and selection as well. They seem more professional in all regards. I also look forward to seeing what Amazon / Whole Foods come up with together, but I don't think the Instacart shopper model is something I'm interested in using again, it just seems like a fundamentally inefficient model.

Androider··on TransferWise announces $280M investment
Hopefully they can use some of that dough to improve their support.

I've been trying to do a business (US) to business (EU) transfer using TransferWise for the last few days and it's been a nightmare. First they can't accept an ACH payment, then they cannot match the wire transfer to my business account, support doesn't answer, their automated "Action Required" emails have links to help topics that don't exist and their phone support can't do anything and asks you to email them instead, with the emails never receiving any kind of acknowledgement.

Maybe it works fine for sending your friend a fiver, for business use it's a total fail so far.

Androider··on Selling My Bootstrapped SaaS Business
If it saves more time than it costs, it's a good deal for everyone involved.

At $19/mo, even if it only took me day as a developer to create my own, I'd rather just buy the service for a year. I'll get a more polished version, I don't have to maintain it, and I can go do something more productive instead since I'm not actually in the business of creating store maps, I just needed the one. If you don't have in-house developers, like a retail operation might not have, the value proposition becomes even clearer.

Androider··on Ansible open-sources Ansible Tower with AWX
Maybe someone will finally offer a managed Ansible Tower service. I'm always surprised that Red Hat hasn't to date. Between managed git and CI with deployment to AWS, I have no desire to babysit, backup and patch a snowflake Tower instance.
Androider··on iOS Privacy: Easily get a user's Apple ID password, just by asking
I constantly have to verify my iCloud password, despite having 2FA and Touch ID enabled. At least once a week on at least one of my three iOS devices. It's such a constant chore I would probably fall for this phishing attack.

I believe it is because my email address is a relatively common firstname@gmail.com, and people are trying to recover or guess the password. Perhaps there's some misguided attempt on Apple's side to increase the security if there's lots of failed attempts. I also get constant Facebook recovery attempts (at least they have a "Didn't request this change?" link), mortgage emails, bills, appointments, intra-family email threads, etc. I don't think they're malicious, tons of people are just fundamentally unable to type their email address correctly into a field.

Androider··on Solar power grew faster than any other fuel in 2016
It's not just a small number increasing quickly, it already represents the majority of all new plants coming online: "165 gigawatts of renewables were completed last year, which was two-thirds of the net expansion in electricity supply". Especially in China the solar growth is massive, at the expense of coal.
Androider··on SpaceX: Making Life Multiplanetary [video]
Let's optimize it a bit:

- Get everybody on a boat in NYC harbor with ferry level security (i.e. not much)

- As the boat is travelling to the platform, perform the more thorough check in, any security scans, etc. Everyone simultaneously straps down in their seats, last minute toilet runs etc.

- Slot the passenger capsule into the rocket like a cartridge and take-off immediately at arrival. Plot twist: the capsule was on the boat. Passengers might not even get to see the rocket.

Androider··on React 16
5 minute real-world performance test: I just upgraded a relatively large (200K+ LOC) app that performs server side rendering of charts from React 15.6 to 16.0. Render time dropped from ~50ms to ~15ms. The previous version was already optimized and precompiled (e.g. none of the process.env performance penalties were applicable).

Very impressive improvement for a drop-in upgrade! Especially considering the previous version was not considered slow at all given the complexity.

Androider··on Folding Promises in JavaScript
The trick is to break that (on the dots) into three const assignments with descriptive names. Practically self-documenting, easily debuggable.

If you don't use the builtin transformations, you'll just end up re-implementing them, poorly. And adding to the cognitive overhead with new concepts. And I have to read your code with a fine-toothed comb to ensure it's really side-effect free. I don't advocate turning everything into a named function as in your example though, short one-off functions should all be inline IMO.

Androider··on Golang Proposal: Just Use GitHub
Swift doesn't seem to be using GitHub's issue tracker, wikis or anything except the code hosting really.
← PreviousPage 11 of 14Next →